User:ThePokegeek5000/AppJS/67

webpackJsonp([1],{0:function(e,t){},"0354ead9":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("45f86a38")),o={assets:{audio:[{name:"vault_change_02",channel:"sfx"},{name:"footstep_08",channel:"sfx"},{name:"footstep_09",channel:"sfx"},{name:"helmet03_forest_pickup_01",channel:"ui"},{name:"ability_stim_01",channel:"sfx"},{name:"leader_dead_01",channel:"ui"},{name:"snowball_01",channel:"sfx"},{name:"snowball_02",channel:"sfx"},{name:"snowball_pickup_01",channel:"ui"}],atlases:["gradient","loadout","shared","woods","snow"]},biome:{colors:{background:603705,water:806225,waterRipple:11792639,beach:13480795,riverbank:9461284,grass:12434877,underground:1772803,playerSubmerge:2854052},particles:{camera:"falling_snow_slow"},tracerColors:{"762mm":{regular:9871846,saturated:11257087,alphaRate:.96,alphaMin:.4}}}};e.exports=r.mergeDeep({},i,o)},"035f2ecb":function(e,t,a){"use strict";var r={frag:{name:"Frag Grenade",type:"throwable",quality:0,explosionType:"explosion_frag",inventoryOrder:1,cookable:!0,explodeOnImpact:!1,playerCollision:!1,fuseTime:4,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:5,speed:20,spinVel:10*Math.PI,spinDrag:1},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-frag.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-frag-nopin-nolever-01.img",scale:.12,tint:16777215},handImg:{equip:{right:{sprite:"proj-frag-pin-01.img",pos:{x:4.2,y:4.2},scale:.14},left:{sprite:"none"}},cook:{right:{sprite:"proj-frag-nopin-01.img",pos:{x:4.2,y:4.2},scale:.14},left:{sprite:"proj-frag-pin-part.img",pos:{x:4.2,y:4.2},scale:.14}},throwing:{right:{sprite:"none"},left:{sprite:"none"}}},useThrowParticles:!0,sound:{pullPin:"frag_pin_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},mirv:{name:"MIRV Grenade",type:"throwable",quality:1,explosionType:"explosion_mirv",inventoryOrder:2,cookable:!0,explodeOnImpact:!1,playerCollision:!1,fuseTime:4,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:5,speed:20,spinVel:10*Math.PI,spinDrag:1},numSplit:6,splitType:"mirv_mini",speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-mirv.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-mirv-nopin-nolever.img",scale:.13,tint:16777215},handImg:{equip:{right:{sprite:"proj-mirv-pin.img",pos:{x:4.2,y:4.2},scale:.15},left:{sprite:"none"}},cook:{right:{sprite:"proj-mirv-nopin.img",pos:{x:4.2,y:4.2},scale:.15},left:{sprite:"proj-frag-pin-part.img",pos:{x:4.2,y:4.2},scale:.15}},throwing:{right:{sprite:"none"},left:{sprite:"none"}}},useThrowParticles:!0,sound:{pullPin:"frag_pin_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},mirv_mini:{name:"MIRV Grenade",type:"throwable",quality:0,explosionType:"explosion_mirv_mini",inventoryOrder:99,cookable:!0,noPotatoSwap:!0,explodeOnImpact:!1,playerCollision:!1,fuseTime:1.8,fuseVariance:.3,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:5,speed:20,spinVel:10*Math.PI,spinDrag:1},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-frag.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-mirv-mini-01.img",scale:.12,tint:16777215},useThrowParticles:!0,sound:{pullPin:"frag_pin_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},martyr_nade:{name:"Martyrdom",type:"throwable",quality:0,explosionType:"explosion_martyr_nade",inventoryOrder:99,cookable:!0,noPotatoSwap:!0,explodeOnImpact:!1,playerCollision:!1,fuseTime:3,fuseVariance:.3,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:5,speed:20,spinVel:10*Math.PI,spinDrag:1},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-frag.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-martyrdom-01.img",scale:.12,tint:16777215},useThrowParticles:!0,sound:{pullPin:"frag_pin_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},smoke:{name:"Smoke Grenade",type:"throwable",quality:0,explosionType:"explosion_smoke",inventoryOrder:3,cookable:!1,explodeOnImpact:!1,playerCollision:!1,fuseTime:2.5,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:5,speed:15,spinVel:10*Math.PI,spinDrag:1},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-smoke.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-smoke-nopin-nolever.img",scale:.12,tint:16777215},handImg:{equip:{right:{sprite:"proj-smoke-pin.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"none"}},cook:{right:{sprite:"proj-smoke-nopin.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"proj-frag-pin-part.img",pos:{x:3,y:4.2},scale:.14}},throwing:{right:{sprite:"none"},left:{sprite:"none"}}},useThrowParticles:!0,sound:{pullPin:"frag_pin_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},strobe:{name:"IR Strobe",type:"throwable",quality:1,explosionType:"explosion_strobe",inventoryOrder:3,cookable:!1,explodeOnImpact:!1,playerCollision:!1,fuseTime:13.5,strikeDelay:2.5,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:5,speed:25,spinVel:6*Math.PI,spinDrag:1},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-strobe.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-strobe-armed.img",scale:.12,tint:16777215},handImg:{equip:{right:{sprite:"proj-strobe-unarmed.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"none"}},cook:{right:{sprite:"proj-strobe-arming.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"",pos:{x:3,y:4.2},scale:.14}},throwing:{right:{sprite:"none"},left:{sprite:"none"}}},useThrowParticles:!1,sound:{pullPin:"strobe_click_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},snowball:{name:"Snowball",type:"throwable",quality:0,explosionType:"explosion_snowball",inventoryOrder:0,cookable:!0,noPotatoSwap:!0,forceMaxThrowDistance:!0,explodeOnImpact:!0,playerCollision:!0,fuseTime:9999,aimDistance:32,rad:1,throwPhysics:{playerVelMult:0,velZ:3.35,speed:40,spinVel:10*Math.PI,spinDrag:1,fixedCollisionHeight:.25},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-snowball.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-snowball-01.img",scale:.12,tint:16777215},handImg:{equip:{right:{sprite:"proj-snowball-01.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"none"}},cook:{right:{sprite:"proj-snowball-01.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"none"}},throwing:{right:{sprite:"none"},left:{sprite:"none"}}},useThrowParticles:!1,sound:{pullPin:"",throwing:"frag_throw_01",pickup:"snowball_pickup_01",deploy:"frag_deploy_01"}},snowball_heavy:{name:"Snowball",type:"throwable",quality:0,explosionType:"explosion_snowball_heavy",inventoryOrder:0,cookable:!0,noPotatoSwap:!0,forceMaxThrowDistance:!0,explodeOnImpact:!0,playerCollision:!0,fuseTime:5,aimDistance:32,rad:1.25,throwPhysics:{playerVelMult:0,velZ:3.35,speed:45,spinVel:10*Math.PI,spinDrag:1,fixedCollisionHeight:.25},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-snowball.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-snowball-02.img",scale:.2,tint:16777215},handImg:{},useThrowParticles:!1,sound:{pullPin:"",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},potato:{name:"Potato",type:"throwable",quality:0,explosionType:"explosion_potato",freezeOnImpact:!0,heavyType:"potato_heavy",inventoryOrder:0,cookable:!0,forceMaxThrowDistance:!0,explodeOnImpact:!0,playerCollision:!0,fuseTime:9999,aimDistance:32,rad:1,throwPhysics:{playerVelMult:0,velZ:3.35,speed:40,spinVel:10*Math.PI,spinDrag:1,fixedCollisionHeight:.25},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-potato.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-potato-01.img",scale:.12,tint:16777215},handImg:{equip:{right:{sprite:"proj-potato-01.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"none"}},cook:{right:{sprite:"proj-potato-01.img",pos:{x:3,y:4.2},scale:.14},left:{sprite:"none"}},throwing:{right:{sprite:"none"},left:{sprite:"none"}}},useThrowParticles:!1,sound:{pullPin:"",throwing:"frag_throw_01",pickup:"potato_pickup_01",deploy:"frag_deploy_01"},emoteId:210},potato_heavy:{name:"Potato",type:"throwable",quality:0,explosionType:"explosion_potato_heavy",inventoryOrder:0,noPotatoSwap:!0,cookable:!0,forceMaxThrowDistance:!0,explodeOnImpact:!0,playerCollision:!0,fuseTime:5,aimDistance:32,rad:1.25,throwPhysics:{playerVelMult:0,velZ:3.35,speed:45,spinVel:10*Math.PI,spinDrag:1,fixedCollisionHeight:.25},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-potato.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-potato-02.img",scale:.2,tint:16777215},handImg:{},useThrowParticles:!1,sound:{pullPin:"",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}},potato_cannonball:{name:"Potato Cannon",type:"throwable",quality:0,explosionType:"explosion_potato_cannonball",inventoryOrder:0,noPotatoSwap:!0,cookable:!0,forceMaxThrowDistance:!0,explodeOnImpact:!0,destroyNonCollidables:!0,playerCollision:!0,fuseTime:999,aimDistance:32,rad:1,throwPhysics:{playerVelMult:0,velZ:3,speed:65,spinVel:5*Math.PI,spinDrag:1,fixedCollisionHeight:.25},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-potato.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-potato-02.img",scale:.2,tint:16777215},handImg:{},useThrowParticles:!1,sound:{pullPin:"",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"},trail:{maxLength:25,width:2.8,alpha:1,tint:5916214}},bomb_iron:{name:"Iron Bomb",type:"throwable",quality:0,explosionType:"explosion_bomb_iron",inventoryOrder:1,cookable:!0,noPotatoSwap:!0,explodeOnImpact:!0,playerCollision:!1,fuseTime:4,aimDistance:0,rad:1,throwPhysics:{playerVelMult:.6,velZ:0,speed:20,spinVel:1*Math.PI,spinDrag:1,randomizeSpinDir:!0},speed:{equip:0,attack:0},lootImg:{sprite:"loot-throwable-frag.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},worldImg:{sprite:"proj-bomb-iron-01.img",scale:.12,tint:16777215},handImg:{},useThrowParticles:!0,sound:{pullPin:"frag_pin_01",throwing:"frag_throw_01",pickup:"frag_pickup_01",deploy:"frag_deploy_01"}}};e.exports=r},"03f4982a":function(e,t,a){"use strict";function r(e,t,a){return{tier:e,min:t,max:a}}function i(e,t){return{type:e,count:t}}function o(e){var t=[];for(var a in e)e.hasOwnProperty(a)&&t.push({type:a,weight:e[a]});if(0==t.length)throw new Error("Invalid obstacle types");for(var r=0,i=0;it[a].weight;)e-=t[a].weight,a++;return t[a].type}}function s(e,t,a,r){return{sprite:e,scale:.5,alpha:a||1,tint:t||16777215,zIdx:r||10}}function n(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.6},collision:xe.createCircle(ve.create(0,0),1.75),height:.5,collidable:!0,destructible:!0,explosion:"explosion_barrel",health:150,hitParticle:"barrelChip",explodeParticle:"barrelBreak",reflectBullets:!0,loot:[],map:{display:!0,color:6447714,scale:1},terrain:{grass:!0,beach:!0},img:{sprite:"map-barrel-01.img",scale:.4,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"barrel_bullet",punch:"barrel_bullet",explode:"barrel_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function l(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,0),1.75),height:.5,collidable:!0,destructible:!0,health:20,hitParticle:"outhouseChip",explodeParticle:"barrelPlank",reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!0,color:11235106,scale:1},terrain:{grass:!0,beach:!0},img:{sprite:"map-barrel-02.img",residue:"map-barrel-res-02.img",scale:.4,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_crate_bullet",punch:"wood_crate_bullet",explode:"barrel_break_02",enter:"none"}};return Se.mergeDeep(t,e||{})}function c(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.9},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.8,3.4)),height:.5,collidable:!0,destructible:!0,health:100,hitParticle:"clothHit",explodeParticle:["woodPlank","clothBreak"],reflectBullets:!1,loot:[],map:{display:!0,color:6697728,scale:.875},terrain:{grass:!0,beach:!0},img:{sprite:"map-bed-02.img",residue:"map-bed-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"cloth_bullet",punch:"cloth_punch",explode:"cloth_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function m(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,0),ve.create(3.5,1)),height:.5,collidable:!0,destructible:!0,health:75,hitParticle:"woodChip",explodeParticle:["woodPlank","book"],reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-bookshelf-01.img",residue:"map-drawers-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"drawers_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function p(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,1),ve.create(2,3.25)),color:3815994}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,1),ve.create(2,3.25))]}],imgs:[{sprite:"map-bunker-generic-floor-02.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,.75),ve.create(2,3.25))}],imgs:[{sprite:"map-bunker-generic-ceiling-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215,rot:0}]},mapObjects:[{type:"metal_wall_ext_6",pos:ve.create(0,-2.2),scale:1,ori:1},{type:"metal_wall_ext_7",pos:ve.create(-2.5,1),scale:1,ori:0},{type:"metal_wall_ext_7",pos:ve.create(2.5,1),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function h(e){var t={type:"building",ori:0,terrain:{},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(-.5,0),ve.create(3.25,2))]}],imgs:[{sprite:"map-bunker-generic-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215,rot:3}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"metal_wall_ext_short_6",pos:ve.create(2.2,0),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(-1,2.5),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(-1,-2.5),scale:1,ori:1},{type:e.statue,pos:ve.create(-1,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function d(e){var t={type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(6.5,0),ve.create(4,3))]}],imgs:[{sprite:"map-bunker-statue-chamber-floor-01.img",pos:ve.create(3.5,0),scale:.5,alpha:1,tint:16777215,rot:3}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(6.5,0),ve.create(4,3))}],imgs:[{sprite:"",scale:1,alpha:1,tint:16777215}],vision:{dist:5,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(-4,0),scale:1,ori:0},{type:"metal_wall_ext_thicker_15",pos:ve.create(3,3.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_15",pos:ve.create(3,-3.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_10",pos:ve.create(12,0),scale:1,ori:0},{type:e.crate,pos:ve.create(8.5,0),scale:.75,ori:0,inheritOri:!1}]};return Se.mergeDeep(t,e||{})}function u(e){var t={type:"obstacle",scale:{createMin:1.05,createMax:1.2,destroy:1},collision:xe.createCircle(ve.create(0,0),1.4),height:10,collidable:!1,destructible:!0,health:100,hitParticle:"leaf",explodeParticle:"leaf",reflectBullets:!1,isBush:!0,loot:[],map:{display:!0,color:24320,scale:1.5},terrain:{grass:!0,beach:!1},img:{sprite:"map-bush-01.img",residue:"map-bush-res-01.img",scale:.5,alpha:.97,tint:16777215,zIdx:60},sound:{bullet:"bush_bullet",punch:"bush_bullet",explode:"bush_break_01",enter:"bush_enter_01"}};return Se.mergeDeep(t,e||{})}function g(e){var t={type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},ori:0,floor:{surfaces:[],imgs:[{sprite:"",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"stone_02",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_initiative_01",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1}]};return Se.mergeDeep(t,e||{})}function y(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.6)),height:.5,collidable:!0,destructible:!0,health:75,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-case-deagle-01.img",residue:"map-crate-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_crate_bullet",punch:"wood_crate_bullet",explode:"crate_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function w(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.6)),height:.5,collidable:!0,destructible:!0,health:140,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[r("tier_chest",3,4)],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-chest-01.img",residue:"map-crate-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_crate_bullet",punch:"wood_crate_bullet",explode:"crate_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function f(e){var t=w({collision:xe.createAabbExtents(ve.create(0,.8),ve.create(2.25,.8)),mapObstacleBounds:[xe.createAabbExtents(ve.create(0,.8),ve.create(2.25,1.6))],terrain:{river:{centerWeight:1}}});return Se.mergeDeep(t,e||{})}function b(e){var t=[{type:"container_wall_top",pos:ve.create(0,7.95),scale:1,ori:0},{type:"container_wall_side",pos:ve.create(2.35,2.1),scale:1,ori:0},{type:"container_wall_side",pos:ve.create(-2.35,2.1),scale:1,ori:0},{type:e.loot_spawner_01||"loot_tier_2",pos:ve.create(0,3.25),scale:1,ori:0},{type:e.loot_spawner_02||o({loot_tier_1:2,"":1}),pos:ve.create(0,.05),scale:1,ori:0}],a=[{type:"container_wall_side_open",pos:ve.create(2.35,0),scale:1,ori:0},{type:"container_wall_side_open",pos:ve.create(-2.35,0),scale:1,ori:0},{type:"loot_tier_2",pos:ve.create(0,-.05),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(0,.05),scale:1,ori:0}];return{type:"building",map:{display:!0,color:e.mapTint||2703694,scale:1},terrain:{grass:!0,beach:!0,riverShore:!0},zIdx:1,floor:{surfaces:[{type:"container",collision:[e.open?xe.createAabbExtents(ve.create(0,0),ve.create(2.5,11)):xe.createAabbExtents(ve.create(0,0),ve.create(2.5,8))]}],imgs:[{sprite:e.open?"map-building-container-open-floor.img":"map-building-container-floor-01.img",scale:.5,alpha:1,tint:e.tint}]},ceiling:{zoomRegions:[{zoomIn:e.open?xe.createAabbExtents(ve.create(0,0),ve.create(2.5,5.75)):xe.createAabbExtents(ve.create(0,2.25),ve.create(2.5,5.5)),zoomOut:e.open?xe.createAabbExtents(ve.create(0,0),ve.create(2.5,11)):xe.createAabbExtents(ve.create(0,-.5),ve.create(2.5,8.75))}],imgs:e.ceilingImgs||[{sprite:e.ceilingSprite,scale:.5,alpha:1,tint:e.tint}]},mapObjects:e.open?a:t}}function _(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.85},collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.5,1.5)),height:.5,collidable:!0,destructible:!0,health:125,hitParticle:"clothHit",explodeParticle:["woodPlank","clothBreak"],reflectBullets:!1,loot:[],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-couch-01.img",residue:"map-couch-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"cloth_bullet",punch:"cloth_punch",explode:"cloth_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function x(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.5},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,2.25)),height:.5,collidable:!0,destructible:!0,health:75,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!0,color:6697728,scale:.875},terrain:{grass:!0,beach:!0,riverShore:!0},img:{sprite:"map-crate-01.img",residue:"map-crate-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_crate_bullet",punch:"wood_crate_bullet",explode:"crate_break_02",enter:"none"}};return Se.mergeDeep(t,e||{})}function S(e){var t={collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2.5)),airdropCrate:!0,scale:{destroy:1},destructible:!1,health:200,hitParticle:"barrelChip",explodeParticle:"airdropCrate02",reflectBullets:!0,loot:[],map:{display:!1},button:{interactionRad:1,interactionText:"game-unlock",useOnce:!0,destroyOnUse:!0,useDelay:2.5,useDir:ve.create(-1,0),useImg:"map-airdrop-04.img",useParticle:"airdropCrate03",sound:{on:"airdrop_open_01",off:""}},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"airdrop_open_02"}};return Se.mergeDeep(x(t),e||{})}function v(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(2.5,1)),height:10,collidable:!0,destructible:!0,health:20,hitParticle:"barrelChip",explodeParticle:"depositBoxGreyBreak",reflectBullets:!0,loot:[r("tier_world",1,1)],lootSpawn:{offset:ve.create(0,-1),speedMult:0},map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-deposit-box-01.img",residue:"none",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"deposit_box_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function z(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(e.hinge,e.extents),height:10,collidable:!0,destructible:!0,health:150,hitParticle:"whiteChip",explodeParticle:"whitePlank",reflectBullets:!1,door:{interactionRad:.75,canUse:!0,openSpeed:2,openOneWay:0,openDelay:0,openOnce:!1,autoOpen:!1,autoClose:!1,autoCloseDelay:1,slideToOpen:!1,slideOffset:3.5,spriteAnchor:ve.create(.5,1),sound:{open:e.soundOpen||"door_open_01",close:e.soundClose||"door_close_01",change:"",error:""}},loot:[],img:{sprite:"map-door-01.img",residue:"none",scale:.5,alpha:1,tint:14671839,zIdx:15},sound:{bullet:"wall_wood_bullet",punch:"wall_wood_bullet",explode:"wall_break_01",enter:"none"}};if(!ze[e.material])throw new Error("Invalid material "+e.material);return Se.mergeDeep(t,ze[e.material],e||{})}function k(e){var t=z({material:"concrete",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{interactionRad:2,openOneWay:!1,openSpeed:7,autoOpen:!0,autoClose:!0,autoCloseDelay:1,slideToOpen:!0,slideOffset:3.75,sound:{open:"door_open_03",close:"door_close_03",error:"door_error_01"},casingImg:{sprite:"map-door-slot-01.img",pos:ve.create(-2,0),scale:.5,alpha:1,tint:1316379}},img:{tint:5373952}});return Se.mergeDeep(t,e||{})}function I(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(2.5,1.25)),height:.5,collidable:!0,destructible:!0,health:75,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[r("tier_container",1,1)],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-drawers-01.img",residue:"map-drawers-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"drawers_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function T(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.9},collision:xe.createAabbExtents(ve.create(0,.2),ve.create(2.25,.7)),height:.5,collidable:!0,destructible:!0,health:50,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[r("tier_world",1,1)],lootSpawn:{offset:ve.create(0,-1),speedMult:0},map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-gun-mount-01.img",residue:"map-drawers-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"barrel_break_02",enter:"none"}};return Se.mergeDeep(t,e||{})}function M(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(1.5,.6)),height:10,collidable:!0,destructible:!0,health:20,hitParticle:"barrelChip",explodeParticle:"lockerBreak",reflectBullets:!0,loot:[r("tier_world",1,1)],lootSpawn:{offset:ve.create(0,-1),speedMult:0},map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-locker-01.img",residue:"",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"deposit_box_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function C(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createAabbExtents(ve.create(0,0),ve.create(1,1)),height:.5,collidable:!0,destructible:!0,explosion:"explosion_barrel",health:250,hitParticle:"barrelChip",explodeParticle:"depositBoxGreyBreak",reflectBullets:!0,loot:[],map:{display:!1},terrain:{grass:!1,beach:!0},img:{sprite:"map-power-box-01.img",residue:"",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"deposit_box_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function P(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(1.7,1.3)),height:.5,collidable:!0,destructible:!0,explosion:"explosion_barrel",health:200,hitParticle:"barrelChip",explodeParticle:"barrelBreak",reflectBullets:!0,loot:[],map:{display:!1,color:14935011,scale:.875},terrain:{grass:!0,beach:!0},img:{sprite:"map-oven-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"barrel_bullet",punch:"barrel_bullet",explode:"oven_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function A(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,4.25)),height:.5,collidable:!0,destructible:!0,health:100,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!0,color:6697728,scale:.875},terrain:{grass:!0,beach:!0,riverShore:!0},img:{sprite:"map-planter-01.img",residue:"map-planter-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"toilet_porc_bullet",punch:"toilet_porc_bullet",explode:"ceramic_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function O(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,0),1.5),height:.5,collidable:!0,destructible:!0,health:50,hitParticle:"potChip",explodeParticle:"potBreak",reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!0,color:6697728,scale:1},terrain:{grass:!0,beach:!0},img:{sprite:"map-pot-01.img",residue:"map-pot-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"toilet_porc_bullet",punch:"toilet_porc_bullet",explode:"toilet_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function E(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.5,.5)),height:.3,collidable:!0,destructible:!1,health:50,hitParticle:"bottleBlueChip",explodeParticle:"bottleBlueBreak",reflectBullets:!1,loot:[],map:{display:!0,color:6697728,scale:1},terrain:{grass:!0,beach:!0},img:{sprite:"map-bottle-02.img",residue:"none",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"},button:{interactionRad:1.25,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(-1,0),useImg:"map-bottle-03.img",sound:{on:"button_press_01",off:"button_press_01"}}};return Se.mergeDeep(t,e||{})}function D(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,0),1.1),height:.5,collidable:!0,destructible:!0,health:100,hitParticle:"potatoChip",explodeParticle:"potatoBreak",reflectBullets:!1,swapWeaponOnDestroy:!0,regrow:!0,regrowTimer:60,loot:[r("tier_potato_perks",1,1)],map:{display:!1,color:9466197,scale:1},terrain:{grass:!0,beach:!0,riverShore:!0},img:{sprite:"map-potato-01.img",residue:"map-potato-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"organic_hit",punch:"organic_hit",explode:"pumpkin_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function B(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,0),1.9),height:.5,collidable:!0,destructible:!0,health:100,reflectBullets:!1,hitParticle:"pumpkinChip",explodeParticle:"pumpkinBreak",loot:[r("tier_outfits",1,1)],map:{display:!0,color:15889667,scale:1},terrain:{grass:!0,beach:!1,riverShore:!0},img:{sprite:"map-pumpkin-01.img",residue:"map-pumpkin-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"organic_hit",punch:"organic_hit",explode:"pumpkin_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function R(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.9,1.5)),height:.5,collidable:!0,destructible:!1,explosion:"explosion_barrel",health:250,hitParticle:"barrelChip",explodeParticle:"depositBoxGreyBreak",reflectBullets:!0,loot:[],map:{display:!1},terrain:{grass:!1,beach:!0},img:{sprite:"map-recorder-01.img",residue:"",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"deposit_box_break_01",enter:"none"},button:{interactionRad:.2,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(-1,0),useImg:"map-recorder-02.img",sound:{on:"",off:""}}};return Se.mergeDeep(t,e||{})}function L(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(1.7,1.25)),height:.5,collidable:!0,destructible:!1,health:100,hitParticle:"redChip",explodeParticle:"woodPlank",reflectBullets:!0,loot:[],map:{display:!1,color:7733259,scale:.875},terrain:{grass:!0,beach:!0},img:{sprite:"map-refrigerator-01.img",residue:"map-crate-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"barrel_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function F(e){var t={type:"obstacle",map:{display:!0,color:13278307,scale:1},scale:{createMin:1,createMax:1,destroy:.5},collision:xe.createAabbExtents(ve.create(0,0),ve.create(3.1,1.4)),height:.5,collidable:!0,destructible:!1,health:150,hitParticle:"goldChip",explodeParticle:"barrelBreak",reflectBullets:!1,loot:[],img:{sprite:"map-sandbags-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_brick_bullet",punch:"wall_brick_bullet",explode:"crate_break_02",enter:"none"}};return Se.mergeDeep(t,e||{})}function q(e){var t={type:"obstacle",scale:{createMin:1,createMax:1.2,destroy:.5},collision:xe.createCircle(ve.create(0,0),1.6),height:.5,collidable:!0,destructible:!0,health:250,reflectBullets:!1,hitParticle:"rockChip",explodeParticle:"rockBreak",loot:[],map:{display:!0,color:11776947,scale:1},terrain:{grass:!0,beach:!1,riverShore:!0},img:{sprite:"map-stone-01.img",residue:"map-stone-res-01.img",scale:.4,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"stone_bullet",punch:"stone_bullet",explode:"stone_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function j(e){var t={type:"obstacle",scale:{createMin:.8,createMax:1.2,destroy:.5},collision:xe.createCircle(ve.create(0,0),2.9),height:.5,collidable:!0,destructible:!0,health:500,reflectBullets:!1,hitParticle:"rockChip",explodeParticle:"rockBreak",loot:[],map:{display:!0,color:5197647,scale:1},terrain:{grass:!1,beach:!1,river:{centerWeight:.5},riverShore:!1},img:{sprite:"map-stone-03.img",residue:"map-stone-res-02.img",scale:.4,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"stone_bullet",punch:"stone_bullet",explode:"stone_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function N(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2)),height:.5,collidable:!1,destructible:!0,health:100,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!0,beach:!0},img:{sprite:"map-table-01.img",residue:"map-table-res.img",scale:.5,alpha:1,tint:16777215,zIdx:60},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"crate_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function H(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,.25),1.18),height:.5,collidable:!0,destructible:!0,health:100,reflectBullets:!1,hitParticle:"whiteChip",explodeParticle:"toiletBreak",loot:[r("tier_toilet",2,3)],map:{display:!1,color:11776947,scale:1},img:{sprite:"map-toilet-01.img",residue:"map-toilet-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"toilet_porc_bullet",punch:"toilet_porc_bullet",explode:"toilet_break_01",enter:"none"},terrain:{grass:!0,beach:!1}};return Se.mergeDeep(t,e||{})}function V(e){var t={type:"obstacle",scale:{createMin:.8,createMax:1,destroy:.5},collision:xe.createCircle(ve.create(0,0),1.55),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(5.75,5.75)),height:10,collidable:!0,destructible:!0,health:175,hitParticle:"woodChip",explodeParticle:"woodLog",reflectBullets:!1,isTree:!0,loot:[],map:{display:!0,color:4083758,scale:2.5},terrain:{grass:!0,beach:!1},img:{sprite:"map-tree-03.img",residue:"map-tree-res-01.img",scale:.7,alpha:1,tint:16777215,zIdx:800},sound:{bullet:"tree_bullet",punch:"tree_bullet",explode:"tree_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function U(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createCircle(ve.create(0,0),1.6),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(5.75,5.75)),button:{interactionRad:.2,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(-1,0),useImg:"map-tree-switch-04.img",sound:{on:"button_press_01",off:"button_press_01"}},height:.5,collidable:!0,destructible:!1,health:175,hitParticle:"woodChip",explodeParticle:"woodLog",reflectBullets:!1,loot:[],map:{display:!1,color:8602624,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-tree-switch-01.img",residue:"map-tree-res-01.img",scale:.5,alpha:1,zIdx:10,tint:16777215},sound:{bullet:"tree_bullet",punch:"tree_bullet",explode:"tree_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function W(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,0),ve.copy(e.extents)),height:10,isWall:!0,collidable:!0,destructible:!0,health:e.health||150,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[],map:{display:!1},img:{},sound:{bullet:"wall_bullet",punch:"wall_bullet",explode:"barrel_break_01",enter:"none"}};if(!ze[e.material])throw new Error("Invalid material "+e.material);return Se.mergeDeep(t,ze[e.material],e||{})}function G(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createCircle(ve.create(0,2.3),4.6),height:10,collidable:!0,destructible:!1,health:300,hitParticle:"barrelChip",explodeParticle:"barrelBreak",reflectBullets:!0,loot:[],map:{display:!1,color:6310464,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-wheel-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"silo_bullet",punch:"silo_bullet",explode:"barrel_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function K(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),height:.5,collidable:!0,destructible:!0,health:150,hitParticle:"woodChip",explodeParticle:"woodLog",reflectBullets:!1,loot:[],map:{display:!1,color:9455616,scale:.875},terrain:{},img:{sprite:"map-woodpile-01.img",residue:"map-woodpile-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"tree_bullet",punch:"tree_bullet",explode:"tree_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function X(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(-16,7),ve.create(10.75,11)),color:7820585},{collider:xe.createAabbExtents(ve.create(6,0),ve.create(11.5,18.25)),color:9989427},{collider:xe.createAabbExtents(ve.create(22,4),ve.create(4.5,7.5)),color:7820585}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(6,-1),ve.create(11.25,18.25)),xe.createAabbExtents(ve.create(21.5,4),ve.create(4.75,7.25))]}],imgs:[{sprite:"map-building-bank-floor-01.img",pos:ve.create(0,6.96),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-bank-floor-02.img",pos:ve.create(9.5,-12.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(6,-1),ve.create(11.25,18.25))},{zoomIn:xe.createAabbExtents(ve.create(21.5,4),ve.create(4.75,7.25))},{zoomIn:xe.createAabbExtents(ve.create(-15,6),ve.create(10.75,11)),zoomOut:xe.createAabbExtents(ve.create(6,1.25),ve.create(15.25,20))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-bank-ceiling-01.img",pos:ve.create(-16,7),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-bank-ceiling-02.img",pos:ve.create(6,0),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-bank-ceiling-03.img",pos:ve.create(22,8),scale:.667,alpha:1,tint:16777215}]},mapObjects:[{type:"brick_wall_ext_23",pos:ve.create(-14,17),scale:1,ori:1},{type:"brick_wall_ext_23",pos:ve.create(-25.9,6),scale:1,ori:0},{type:"brick_wall_ext_20",pos:ve.create(-15.5,-5),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(-5,-7),scale:1,ori:0},{type:"brick_wall_ext_6",pos:ve.create(-5,-16.5),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(-2.5,-19),scale:1,ori:1},{type:"brick_wall_ext_7",pos:ve.create(6,-19),scale:1,ori:1},{type:"brick_wall_ext_4",pos:ve.create(14.5,-19),scale:1,ori:1},{type:"brick_wall_ext_6",pos:ve.create(17,-16.5),scale:1,ori:0},{type:"brick_wall_ext_7",pos:ve.create(17,-6),scale:1,ori:0},{type:"house_window_01",pos:ve.create(1,-19.25),scale:1,ori:1},{type:"house_window_01",pos:ve.create(11,-19.25),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-5.25,-13.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(17.25,-13.5),scale:1,ori:0},{type:"brick_wall_ext_9",pos:ve.create(22,-3),scale:1,ori:1},{type:"brick_wall_ext_15",pos:ve.create(26,4),scale:1,ori:0},{type:"brick_wall_ext_9",pos:ve.create(22,11),scale:1,ori:1},{type:"brick_wall_ext_7",pos:ve.create(17,14),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(14.5,17),scale:1,ori:1},{type:"brick_wall_ext_8",pos:ve.create(4.5,17),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-1,17.25),scale:1,ori:1},{type:e.vault||"vault_01",pos:ve.create(-12,6),scale:1,ori:0},{type:"bank_wall_int_4",pos:ve.create(-2.5,-5),scale:1,ori:1},{type:"bank_window_01",pos:ve.create(1,-5),scale:1,ori:1},{type:"bank_wall_int_3",pos:ve.create(4,-5),scale:1,ori:1},{type:"bank_wall_int_4",pos:ve.create(6,-3.5),scale:1,ori:0},{type:"bank_window_01",pos:ve.create(6,0),scale:1,ori:0},{type:"bank_wall_int_4",pos:ve.create(6,3.5),scale:1,ori:0},{type:"bank_wall_int_4",pos:ve.create(8.5,5),scale:1,ori:1},{type:"bank_window_01",pos:ve.create(12,5),scale:1,ori:1},{type:"bank_wall_int_3",pos:ve.create(15,5),scale:1,ori:1},{type:"bank_wall_int_5",pos:ve.create(17,4),scale:1,ori:0},{type:"bank_wall_int_8",pos:ve.create(21.5,4),scale:1,ori:1},{type:"house_door_01",pos:ve.create(17,-2.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(17,10.5),scale:1,ori:2},{type:"house_door_01",pos:ve.create(12.5,17.25),scale:1,ori:1},{type:"vending_01",pos:ve.create(4.5,-16.9),scale:1,ori:2},{type:"stand_01",pos:ve.create(7.65,-17),scale:1,ori:2},{type:o({toilet_01:5,toilet_02:1}),pos:ve.create(23.5,.5),scale:1,ori:3},{type:o({toilet_01:5,toilet_02:1}),pos:ve.create(23.5,7.5),scale:1,ori:3},{type:"stand_01",pos:ve.create(15,15),scale:1,ori:3},{type:"fire_ext_01",pos:ve.create(4.5,16.15),scale:1,ori:3},{type:"bush_02",pos:ve.create(-2.5,-16.25),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"bush_02",pos:ve.create(14.5,-16.25),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(19.75,13.75),scale:.9,ori:0,inheritOri:!1},{type:o({loot_tier_1:1}),pos:ve.create(12,0),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(1,0),scale:1,ori:0},{type:"tree_01",pos:ve.create(-16.5,-12.5),scale:1.1,ori:0},{type:"barrel_01",pos:ve.create(-7.5,-7.25),scale:.85,ori:0},{type:"tree_01",pos:ve.create(21,-7),scale:.55,ori:0},{type:"tree_01",pos:ve.create(21,-16.25),scale:.55,ori:0}]};return Se.mergeDeep(t,e||{})}function Z(e){var t={type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(-3.5,0),ve.create(10,10.5))]}],imgs:[{sprite:"",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-3.5,0),ve.create(9.25,10.5)),zoomOut:xe.createAabbExtents(ve.create(-3.5,0),ve.create(10,10.5))}],vision:{dist:7.25,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-vault-ceiling.img",scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thick_20",pos:ve.create(-12.5,0),scale:1,ori:0},{type:"metal_wall_ext_thick_20",pos:ve.create(-3.5,-9.5),scale:1,ori:1},{type:"metal_wall_ext_thick_20",pos:ve.create(-3.5,9.5),scale:1,ori:1},{type:"metal_wall_ext_thick_6",pos:ve.create(5.5,-6.45),scale:1,ori:0},{type:"metal_wall_ext_thick_6",pos:ve.create(5.5,6.45),scale:1,ori:0},{type:"vault_door_main",pos:ve.create(6.5,3.5),scale:1,ori:2},{type:o({deposit_box_01:3,deposit_box_02:e.gold_box||1}),pos:ve.create(-12.3,5),scale:1,ori:1},{type:o({deposit_box_01:3,deposit_box_02:e.gold_box||1}),pos:ve.create(-12.3,-5),scale:1,ori:1},{type:o({deposit_box_01:3,deposit_box_02:e.gold_box||1}),pos:ve.create(-8,9.3),scale:1,ori:0},{type:o({deposit_box_01:3,deposit_box_02:e.gold_box||1}),pos:ve.create(-8,-9.3),scale:1,ori:2},{type:o({deposit_box_01:3,deposit_box_02:e.gold_box||1}),pos:ve.create(1,9.3),scale:1,ori:0},{type:o({deposit_box_01:3,deposit_box_02:e.gold_box||1}),pos:ve.create(1,-9.3),scale:1,ori:2},{type:"crate_05",pos:ve.create(-3.5,6.5),scale:1,ori:0},{type:"crate_05",pos:ve.create(-3.5,-6.5),scale:1,ori:2},{type:e.floor_loot||o({loot_tier_vault_floor:1}),pos:ve.create(-3.5,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function Y(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,12),ve.create(5,2)),color:12300935},{collider:xe.createAabbExtents(ve.create(0,-2),ve.create(24.5,12.8)),color:3816739}]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,-2),ve.create(28,16.5)),xe.createAabbExtents(ve.create(0,14),ve.create(7,5))],zIdx:1,floor:{surfaces:[{type:"house",collision:[xe.createAabbExtents(ve.create(0,-2),ve.create(25,13.2)),xe.createAabbExtents(ve.create(0,12),ve.create(5.5,2.5))]}],imgs:[{sprite:"map-building-barn-floor-01.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,-2),ve.create(24.5,12.8))},{zoomIn:xe.createAabbExtents(ve.create(0,12),ve.create(5.5,2.5)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(5.5,18.5))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-barn-ceiling-01.img",pos:ve.create(0,-2),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-barn-ceiling-02.img",pos:ve.create(0,13.2),scale:.5,alpha:1,tint:16777215}]},mapObjects:[{type:"brick_wall_ext_4",pos:ve.create(-24.5,9),scale:1,ori:0},{type:"brick_wall_ext_3",pos:ve.create(-22.5,10.5),scale:1,ori:1},{type:"brick_wall_ext_12",pos:ve.create(-24.5,-2),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(-24.5,-13),scale:1,ori:0},{type:"brick_wall_ext_3",pos:ve.create(-22.5,-14.5),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-24.75,5.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-24.75,-9.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-19.5,10.75),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-19.5,-14.75),scale:1,ori:1},{type:"brick_wall_ext_16",pos:ve.create(-10,10.5),scale:1,ori:1},{type:"brick_wall_ext_16",pos:ve.create(10,10.5),scale:1,ori:1},{type:"brick_wall_ext_16",pos:ve.create(-10,-14.5),scale:1,ori:1},{type:"brick_wall_ext_6",pos:ve.create(5,-14.5),scale:1,ori:1},{type:"brick_wall_ext_4",pos:ve.create(-5.5,13),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(5.5,13),scale:1,ori:0},{type:"brick_wall_ext_3",pos:ve.create(-3.5,14.5),scale:1,ori:1},{type:"brick_wall_ext_3",pos:ve.create(3.5,14.5),scale:1,ori:1},{type:"house_window_01",pos:ve.create(9.5,-14.75),scale:1,ori:1},{type:"house_door_01",pos:ve.create(2,14.75),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-2,-14.75),scale:1,ori:3},{type:"brick_wall_ext_4",pos:ve.create(24.5,9),scale:1,ori:0},{type:"brick_wall_ext_3",pos:ve.create(22.5,10.5),scale:1,ori:1},{type:"brick_wall_ext_13",pos:ve.create(17.5,-14.5),scale:1,ori:1},{type:"brick_wall_ext_19",pos:ve.create(24.5,-5.5),scale:1,ori:0},{type:"brick_wall_ext_1",pos:ve.create(23.5,-1.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(24.75,5.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(19.5,10.75),scale:1,ori:1},{type:e.bonus_room||"panicroom_01",pos:ve.create(19.5,-8),scale:1,ori:0},{type:"barn_wall_int_6",pos:ve.create(-21,.5),scale:1,ori:1},{type:"barn_wall_int_6",pos:ve.create(-21,-4.5),scale:1,ori:1},{type:"barn_wall_int_5",pos:ve.create(-11.5,.5),scale:1,ori:1},{type:"barn_wall_int_2",pos:ve.create(-13,-4.5),scale:1,ori:1},{type:"barn_wall_int_7",pos:ve.create(-6.5,-4.5),scale:1,ori:1},{type:"barn_wall_int_8",pos:ve.create(-11.5,-10),scale:1,ori:0},{type:"barn_wall_int_8",pos:ve.create(-7.5,6),scale:1,ori:0},{type:"barn_wall_int_5",pos:ve.create(-3.5,-11.5),scale:1,ori:0},{type:"barn_wall_int_7",pos:ve.create(10.5,.5),scale:1,ori:1},{type:"barn_wall_int_5",pos:ve.create(14.5,7.5),scale:1,ori:0},{type:"barn_wall_int_13",pos:ve.create(14.5,-7.5),scale:1,ori:0},{type:"barn_wall_int_4",pos:ve.create(17,-1.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-18,-4.5),scale:1,ori:3},{type:"house_door_01",pos:ve.create(-18,.5),scale:1,ori:3},{type:"house_door_01",pos:ve.create(-3.5,-5),scale:1,ori:2},{type:"house_door_01",pos:ve.create(14.5,1),scale:1,ori:0},{type:e.bonus_door,pos:ve.create(23,-1.5),scale:1,ori:1},{type:"barn_column_1",pos:ve.create(-8,1),scale:1,ori:0},{type:"barn_column_1",pos:ve.create(-11,-5),scale:1,ori:0},{type:"barn_column_1",pos:ve.create(15,0),scale:1,ori:0},{type:o({toilet_01:5,toilet_02:1}),pos:ve.create(-7.5,-12),scale:1,ori:2},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(-12.5,8.5),scale:1,ori:0},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(-5.5,7.25),scale:1,ori:1},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(-13.5,-9.5),scale:1,ori:3},{type:"stand_01",pos:ve.create(16.5,8.5),scale:1,ori:0},{type:"stand_01",pos:ve.create(3.5,12.5),scale:1,ori:3},{type:"table_01",pos:ve.create(8,-8),scale:1,ori:0},{type:"oven_01",pos:ve.create(12.25,-1.5),scale:1,ori:0},{type:"refrigerator_01",pos:ve.create(8.75,-1.5),scale:1,ori:0},{type:"bush_02",pos:ve.create(-22,-2),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"bush_02",pos:ve.create(12,8),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(-19,-9.5),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(-19,5.5),scale:1,ori:0},{type:"loot_tier_1",pos:ve.create(0,5.5),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function J(e){var t={type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(-3,0),ve.create(12,7)),xe.createAabbExtents(ve.create(12,-3.5),ve.create(3,2))]}],imgs:[{sprite:"map-building-barn-basement-floor-01.img",pos:ve.create(5.5,-.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(2,0),ve.create(6,7))},{zoomIn:xe.createAabbExtents(ve.create(11,-3.5),ve.create(3.5,2))}],imgs:[{sprite:"map-building-barn-basement-ceiling-01.img",pos:ve.create(5,0),scale:1,alpha:1,tint:6182731}]},mapObjects:[{type:"house_door_02",pos:ve.create(13.5,7),scale:1,ori:1},{type:"concrete_wall_ext_6",pos:ve.create(12.5,6),scale:1,ori:1},{type:"concrete_wall_ext_thicker_11",pos:ve.create(15,0),scale:1,ori:0},{type:"concrete_wall_column_5x10",pos:ve.create(7,2.5),scale:1,ori:0},{type:"concrete_wall_ext_thicker_21",pos:ve.create(-6,6),scale:1,ori:1},{type:"concrete_wall_ext_thicker_13",pos:ve.create(-15,-2),scale:1,ori:0},{type:"concrete_wall_ext_thicker_30",pos:ve.create(1.5,-7),scale:1,ori:1},{type:"concrete_wall_ext_3",pos:ve.create(-4,3),scale:1,ori:0},{type:"stone_wall_int_4",pos:ve.create(-4,-.5),scale:1,ori:2},{type:"concrete_wall_ext_3",pos:ve.create(-4,-4),scale:1,ori:0},{type:"loot_tier_sledgehammer",pos:ve.create(.5,-.5),scale:1,ori:0},{type:"bookshelf_01",pos:ve.create(1,3.5),scale:1,ori:0},{type:e.basement||"barn_basement_floor_02",pos:ve.create(-8,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function Q(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(31.5,8)),color:5197647},{collider:xe.createAabbExtents(ve.create(-14,-9.5),ve.create(2.5,1.5)),color:3618615},{collider:xe.createAabbExtents(ve.create(14,-9.5),ve.create(2.5,1.5)),color:3618615},{collider:xe.createAabbExtents(ve.create(-14,9.5),ve.create(2.5,1.5)),color:3618615},{collider:xe.createAabbExtents(ve.create(14,9.5),ve.create(2.5,1.5)),color:3618615}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(31.5,8))]}],imgs:[{sprite:"map-building-bridge-lg-floor.img",pos:ve.create(-15.75,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-bridge-lg-floor.img",pos:ve.create(15.75,0),scale:.5,alpha:1,tint:16777215,rot:2,mirrorY:!0}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(16.5,7))}],vision:{dist:10},imgs:[{sprite:"map-building-bridge-lg-ceiling.img",scale:.5,alpha:1,tint:16777215}]},mapObjects:[{type:"bridge_rail_12",pos:ve.create(-22.5,7.5),scale:1,ori:1},{type:"bridge_rail_12",pos:ve.create(-22.5,-7.5),scale:1,ori:1},{type:"bridge_rail_12",pos:ve.create(22.5,7.5),scale:1,ori:1},{type:"bridge_rail_12",pos:ve.create(22.5,-7.5),scale:1,ori:1},{type:"concrete_wall_column_5x4",pos:ve.create(-14,-9),scale:1,ori:0},{type:"concrete_wall_column_5x4",pos:ve.create(-14,9),scale:1,ori:0},{type:"concrete_wall_column_5x4",pos:ve.create(14,-9),scale:1,ori:0},{type:"concrete_wall_column_5x4",pos:ve.create(14,9),scale:1,ori:0},{type:"concrete_wall_ext_5",pos:ve.create(-9,7.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(-9,-7.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(9,7.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(9,-7.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(-5,7.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(-5,-7.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(5,7.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(5,-7.5),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(0,7.5),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(0,-7.5),scale:1,ori:1},{type:o({loot_tier_1:2,"":1}),pos:ve.create(-22,0),scale:1,ori:0},{type:o({loot_tier_1:2,"":1}),pos:ve.create(22,0),scale:1,ori:0},{type:"sandbags_01",pos:ve.create(-14,2.75),scale:1,ori:1},{type:"barrel_01",pos:ve.create(-10,5),scale:.9,ori:0},{type:"crate_01",pos:ve.create(0,4.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(0,-4.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(10,-5),scale:.9,ori:0},{type:"sandbags_01",pos:ve.create(14,-2.75),scale:1,ori:1}]};return Se.mergeDeep(t,e||{})}function $(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,.5),ve.create(18,12)),color:3823128},{collider:xe.createAabbExtents(ve.create(0,-13),ve.create(17,2)),color:6368528}]},terrain:{grass:!0,beach:!1,riverShore:!0,nearbyRiver:{radMin:.75,radMax:1.5,facingOri:1}},zIdx:1,floor:{surfaces:[{type:"house",collision:[xe.createAabbExtents(ve.create(0,-1.5),ve.create(18,14))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(4,-14),ve.create(3,2.5)),xe.createAabbExtents(ve.create(-4,13.5),ve.create(2,1))]}],imgs:[{sprite:"map-building-cabin-floor.img",pos:ve.create(0,-1),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,.5),ve.create(19,12)),zoomOut:xe.createAabbExtents(ve.create(0,.5),ve.create(21,14))},{zoomIn:xe.createAabbExtents(ve.create(4,-13),ve.create(3,2))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},damage:{obstacleCount:1},imgs:[{sprite:"map-building-cabin-ceiling-01a.img",pos:ve.create(0,.5),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-cabin-ceiling-01b.img",pos:ve.create(4,-13),scale:.667,alpha:1,tint:16777215},{sprite:"map-chimney-01.img",pos:ve.create(13,2),scale:.5,alpha:1,tint:16777215,removeOnDamaged:!0}]},occupiedEmitters:[{type:"cabin_smoke_parent",pos:ve.create(0,0),rot:0,scale:1,layer:0,parentToCeiling:!0}],mapObjects:[{type:"brick_wall_ext_12",pos:ve.create(-12,12),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-2,12.25),scale:1,ori:1},{type:"brick_wall_ext_12",pos:ve.create(4,12),scale:1,ori:1},{type:"house_window_01",pos:ve.create(11.5,12.25),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(15.5,12),scale:1,ori:1},{type:"brick_wall_ext_6",pos:ve.create(-18.5,9.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-18.75,5),scale:1,ori:0},{type:"brick_wall_ext_6",pos:ve.create(-18.5,.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-18.75,-4),scale:1,ori:0},{type:"brick_wall_ext_6",pos:ve.create(-18.5,-8.5),scale:1,ori:0},{type:"brick_wall_ext_5",pos:ve.create(-15.5,-11),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-11.5,-11.25),scale:1,ori:1},{type:"brick_wall_ext_12",pos:ve.create(-4,-11),scale:1,ori:1},{type:"house_door_01",pos:ve.create(2,-11.25),scale:1,ori:3},{type:"brick_wall_ext_12",pos:ve.create(12,-11),scale:1,ori:1},{type:"brick_wall_ext_15",pos:ve.create(18.5,5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(18.75,-4),scale:1,ori:0},{type:"brick_wall_ext_6",pos:ve.create(18.5,-8.5),scale:1,ori:0},{type:e.cabin_wall_int_5||"cabin_wall_int_5",pos:ve.create(-10.5,9),scale:1,ori:0},{type:e.cabin_wall_int_10||"cabin_wall_int_10",pos:ve.create(-13,2),scale:1,ori:1},{type:e.cabin_wall_int_13||"cabin_wall_int_13",pos:ve.create(-3.5,-4),scale:1,ori:0},{type:"house_door_01",pos:ve.create(-10.5,2.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(-4,2),scale:1,ori:1},{type:o({toilet_01:5,toilet_02:1}),pos:ve.create(-16,9),scale:1,ori:0},{type:"stand_01",pos:ve.create(-12.5,9.5),scale:1,ori:0},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(-15,0),scale:1,ori:0},{type:"pot_01",pos:ve.create(-16,-8.5),scale:1,ori:0},{type:"bed_lg_01",pos:ve.create(-7,-6.75),scale:1,ori:2},{type:e.cabin_mount||o({gun_mount_01:50,gun_mount_05:50,gun_mount_04:10,gun_mount_02:10,gun_mount_03:1}),pos:ve.create(4,10.65),scale:1,ori:0},{type:"table_01",pos:ve.create(4,6.5),scale:1,ori:0},{type:"stove_01",pos:ve.create(13,2),scale:1,ori:3},{type:"woodpile_01",pos:ve.create(13,-3),scale:1,ori:0},{type:"pot_01",pos:ve.create(16,9.5),scale:1,ori:0},{type:"pot_01",pos:ve.create(16,-8.5),scale:1,ori:0},{type:e.porch_01||"",pos:ve.create(-1,-13.5),scale:.9,ori:0}]};return Se.mergeDeep(t,e||{})}function ee(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(7,7)),color:15181895},{collider:xe.createAabbExtents(ve.create(0,-18.9),ve.create(2,12)),color:6171907}]},terrain:{waterEdge:{dir:ve.create(0,1),distMin:-8.5,distMax:0}},floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(7,7)),xe.createAabbExtents(ve.create(0,-18.9),ve.create(2,12))]}],imgs:[{sprite:"map-building-hut-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-hut-floor-02.img",pos:ve.create(0,-18.9),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(6,6))}],vision:{width:4},imgs:[{sprite:e.ceilingImg||"map-building-hut-ceiling-01.img",scale:.667,alpha:1,tint:16777215}],destroy:{wallCount:2,particle:"hutBreak",particleCount:25,residue:"map-hut-res-01.img"}},mapObjects:[{type:"hut_wall_int_4",pos:ve.create(-4,-6.5),scale:1,ori:1},{type:"hut_wall_int_4",pos:ve.create(4,-6.5),scale:1,ori:1},{type:"hut_wall_int_5",pos:ve.create(-6.5,4.5),scale:1,ori:0},{type:"hut_window_open_01",pos:ve.create(-6.75,.5),scale:1,ori:0},{type:"hut_wall_int_6",pos:ve.create(-6.5,-4),scale:1,ori:0},{type:"hut_wall_int_12",pos:ve.create(0,6.5),scale:1,ori:1},{type:"hut_wall_int_14",pos:ve.create(6.5,0),scale:1,ori:0},{type:o({pot_01:2,"":1}),pos:ve.create(4.5,4.5),scale:1,ori:0},{type:o({pot_01:2,"":1}),pos:ve.create(4.5,-4.5),scale:1,ori:0},{type:o({pot_01:2,"":1}),pos:ve.create(-4.5,4.5),scale:1,ori:0},{type:o({pot_01:2,"":1}),pos:ve.create(-4.5,-4.5),scale:1,ori:0},{type:e.specialLoot||"pot_01",pos:ve.create(0,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function te(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(-7.75,3),ve.create(1,2)),color:6171907},{collider:xe.createAabbExtents(ve.create(5,-4.75),ve.create(2,1)),color:6171907},{collider:xe.createAabbExtents(ve.create(1,1.5),ve.create(8,5.5)),color:3754050},{collider:xe.createAabbExtents(ve.create(-10.65,7),ve.create(2,12)),color:6171907}]},terrain:{},zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(1,1.5),ve.create(8,5.5)),xe.createAabbExtents(ve.create(-10.65,7),ve.create(2,12)),xe.createAabbExtents(ve.create(-7.75,3),ve.create(1,2)),xe.createAabbExtents(ve.create(5,-4.75),ve.create(2,1))]}],imgs:[{sprite:"map-building-shack-floor-03.img",scale:.5,alpha:1,tint:16777215},{sprite:"map-building-hut-floor-02.img",pos:ve.create(-10.65,7),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(1,1.5),ve.create(7.75,5.25))}],vision:{width:4},imgs:[{sprite:"map-building-shack-ceiling-03.img",pos:ve.create(.5,.5),scale:.667,alpha:1,tint:10461087}],destroy:{wallCount:3,particle:"shackGreenBreak",particleCount:30,residue:"map-shack-res-03.img"}},bridgeLandBounds:[xe.createAabbExtents(ve.create(-1.75,-4.25),ve.create(11.25,4.75))],bridgeWaterBounds:[xe.createAabbExtents(ve.create(-10.5,15.5),ve.create(3.5,6))],mapObjects:[{type:"shack_wall_ext_2",pos:ve.create(-6.5,6),scale:1,ori:0},{type:"shack_wall_ext_14",pos:ve.create(1,6.5),scale:1,ori:1},{type:"shack_wall_ext_10",pos:ve.create(8.5,2),scale:1,ori:0},{type:"shack_wall_ext_2",pos:ve.create(8,-3.5),scale:1,ori:1},{type:"shack_wall_ext_9",pos:ve.create(-1.5,-3.5),scale:1,ori:1},{type:"shack_wall_ext_5",pos:ve.create(-6.5,-1.5),scale:1,ori:0},{type:"pot_01",pos:ve.create(-4.25,-1.25),scale:1,ori:0},{type:"pot_01",pos:ve.create(-1.25,-1.25),scale:1,ori:0},{type:"table_01",pos:ve.create(5.5,4),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-4.75,-5.75),scale:.9,ori:0},{type:"crate_20",pos:ve.create(-1,-5.75),scale:1,ori:0},{type:"loot_tier_leaf_pile",pos:ve.create(-10.65,16),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function ae(e){var t={type:"building",map:{display:!0,color:1995644,scale:1},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(15,25)),xe.createAabbExtents(ve.create(-15,9),ve.create(2.5,4.5)),xe.createAabbExtents(ve.create(17.5,-7),ve.create(4.5,2.5))],zIdx:1,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(13,20))]},{type:"house",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(2,20))]}],imgs:e.floor_images||[{sprite:"map-building-greenhouse-floor-01.img",pos:ve.create(0,10),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-greenhouse-floor-01.img",pos:ve.create(0,-10),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-porch-01.img",pos:ve.create(0,21),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-building-porch-01.img",pos:ve.create(0,-21),scale:.5,alpha:1,tint:16777215,rot:2}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(12.5,19.5)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(14,22))}],vision:{dist:7.5,width:2.75,linger:.5,fadeRate:6},imgs:e.ceiling_images||[{sprite:"map-building-greenhouse-ceiling-01.img",pos:ve.create(0,-9.85),scale:1,alpha:1,tint:16777215},{sprite:"map-building-greenhouse-ceiling-01.img",pos:ve.create(0,9.85),scale:1,alpha:1,tint:16777215,mirrorY:!0}],destroy:{wallCount:7,particle:"greenhouseBreak",particleCount:60,residue:"",sound:"ceiling_break_02"}},mapObjects:[{type:"glass_wall_10",pos:ve.create(-7,19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(-7,-19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(-12.5,15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-12.5,5),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-12.5,-15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-12.5,-5),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(7,19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(7,-19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(12.5,15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(12.5,5),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(12.5,-15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(12.5,-5),scale:1,ori:0},{type:"house_door_05",pos:ve.create(2,19.75),scale:1,ori:1},{type:"house_door_05",pos:ve.create(-2,-19.75),scale:1,ori:3},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(-4.5,14.5),scale:1,ori:0},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(-7,2.5),scale:1,ori:1},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(-7,-2.5),scale:1,ori:1},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(-4.5,-14.5),scale:1,ori:0},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(4.5,14.5),scale:1,ori:0},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(7,2.5),scale:1,ori:1},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(7,-2.5),scale:1,ori:1},{type:o({planter_01:1,planter_02:1,planter_03:1}),pos:ve.create(4.5,-14.5),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-15,11),scale:.9,ori:0},{type:"sandbags_02",pos:ve.create(-15,7),scale:1,ori:0},{type:"sandbags_02",pos:ve.create(15.5,-7),scale:1,ori:1},{type:"barrel_01",pos:ve.create(19.5,-7),scale:.9,ori:0},{type:"bunker_structure_08",pos:ve.create(-9.5,-15.5),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function re(e){var t={type:"structure",terrain:{grass:!0,beach:!1},ori:0,mapObstacleBounds:[xe.createAabbExtents(ve.create(5,5),ve.create(15,15))],layers:[{type:"bunker_chrys_01",pos:ve.create(0,0),ori:0},{type:e.bunkerType||"bunker_chrys_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(10.5,-12.25),ve.create(15,9.5)),xe.createAabbExtents(ve.create(40,20),ve.create(14.45,35))]};return Se.mergeDeep(t,e||{})}function ie(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1,spawnPriority:10},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,-4),ve.create(55,50))],bridgeLandBounds:[xe.createAabbExtents(ve.create(0,-4),ve.create(55,50))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(55,55)),color:e.groundTintLt||5195792,roughness:.05,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(-28.5,7),ve.create(7,5)),color:e.groundTintDk||5986827,roughness:.05,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(-24.5,-35),ve.create(5.5,4.5)),color:e.groundTintDk||5986827,roughness:.05,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(20,10),ve.create(20,30)),color:e.groundTintDk||5986827,roughness:.05,offsetDist:.5}],floor:{surfaces:[{type:"grass",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(55,55))]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"container_04",pos:ve.create(3.75,14),scale:1,ori:0},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-1.35,10.25),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-6,12.25),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-2,14.5),scale:.9,ori:0},{type:"warehouse_02",pos:ve.create(20,10),scale:1,ori:1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(35,24.25),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(35,29),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(39.75,27),scale:1,ori:0,inheritOri:!1},{type:"tree_07",pos:ve.create(47,13),scale:1,ori:0},{type:"tree_02",pos:ve.create(50.5,9.5),scale:1,ori:0,inheritOri:!1},{type:"bunker_structure_06",pos:ve.create(38,-12.5),scale:1,ori:0},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(21,-32),scale:1,ori:3},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(21,-37.5),scale:1,ori:3},{type:"tree_07",pos:ve.create(45.5,-31.5),scale:1,ori:0},{type:"tree_07",pos:ve.create(40.5,-36.5),scale:1.1,ori:0},{type:o({crate_01:4,crate_19:1}),pos:ve.create(21.75,-50),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(26.75,-49),scale:1,ori:0,inheritOri:!1},{type:"tree_02",pos:ve.create(44.5,-50.5),scale:1,ori:0,inheritOri:!1},{type:"tree_09",pos:ve.create(-9,34),scale:1,ori:0},{type:"tree_02",pos:ve.create(-13.5,35.5),scale:1,ori:0,inheritOri:!1},{type:"tree_09",pos:ve.create(-16.5,32),scale:1,ori:3},{type:"tree_09",pos:ve.create(-20,36),scale:1,ori:2},{type:"tree_09",pos:ve.create(-24.5,33),scale:1,ori:3},{type:"tree_09",pos:ve.create(-31.5,37),scale:1,ori:2},{type:"tree_09",pos:ve.create(-32.5,32),scale:1,ori:1},{type:"tree_09",pos:ve.create(-40,35.5),scale:1,ori:1},{type:"tree_09",pos:ve.create(-44.5,32.5),scale:1,ori:3},{type:"woodpile_02",pos:ve.create(-33.5,23.5),scale:1,ori:0},{type:"woodpile_02",pos:ve.create(-42.75,21.5),scale:1,ori:1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-30.5,9),scale:1,ori:0,inheritOri:!1},{type:o({chest_02:1,case_04:1}),pos:ve.create(-30.5,4.75),scale:1,ori:0},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-25.75,7),scale:1,ori:0,inheritOri:!1},{type:"woodpile_02",pos:ve.create(-14.5,.5),scale:1,ori:1},{type:"woodpile_02",pos:ve.create(-21,-8.75),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-36.5,-9),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(-34,-11.5),scale:.9,ori:0},{type:"outhouse_01",pos:ve.create(-48.5,-5),scale:1,ori:1},{type:o({outhouse_01:5,outhouse_02:1}),pos:ve.create(-48.5,-14.5),scale:1,ori:1},{type:"woodpile_01",pos:ve.create(-51,-20.5),scale:1,ori:0},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-26.75,-36),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-22,-34),scale:1,ori:0,inheritOri:!1},{type:"tree_09",pos:ve.create(-14.5,-20),scale:1,ori:1},{type:"tree_09",pos:ve.create(-11.5,-23),scale:1,ori:2},{type:"tree_09",pos:ve.create(-15.5,-24),scale:1,ori:0},{type:"woodpile_02",pos:ve.create(-37,-34),scale:1,ori:1},{type:"woodpile_02",pos:ve.create(-31,-47),scale:1,ori:0},{type:"woodpile_02",pos:ve.create(-18.75,-45.5),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-2.5,-35.75),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(.75,-37.5),scale:.9,ori:0},{type:"tree_07",pos:ve.create(1,-33),scale:1.2,ori:0}]};return Se.mergeDeep(t,e||{})}function oe(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1,spawnPriority:10},mapObstacleBounds:[xe.createCircle(ve.create(0,0),40)],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(5,21.5),ve.create(5.5,6)),color:e.groundTintDk||7563810,roughness:.05,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(-17.75,-14),ve.create(6,4.5)),color:e.groundTintDk||7563810,roughness:.05,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(21.5,-10),ve.create(4.75,3.5)),color:e.groundTintDk||7563810,roughness:.05,offsetDist:.5}],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:e.tree_08c||"tree_08c",pos:ve.create(0,0),scale:2,ori:0},{type:o({crate_01:4,crate_19:1}),pos:ve.create(2.5,19.5),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(7.5,19),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(3.5,24.5),scale:1,ori:0,inheritOri:!1},{type:"crate_04",pos:ve.create(-20.5,-13.25),scale:1,ori:0},{type:"crate_04",pos:ve.create(-15,-14.5),scale:1,ori:0},{type:"barrel_01",pos:ve.create(23.5,-9.25),scale:1,ori:0},{type:"barrel_01",pos:ve.create(20,-11),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function se(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(-1.5,20.5),ve.create(12.5,4.5)),color:8671554},{collider:xe.createAabbExtents(ve.create(-2,-23),ve.create(3,2.5)),color:8671554},{collider:xe.createAabbExtents(ve.create(-20.5,-22.5),ve.create(10,2)),color:7750457},{collider:xe.createAabbExtents(ve.create(28,1.5),ve.create(3.75,3)),color:7237230},{collider:xe.createAabbExtents(ve.create(-3.5,-2),ve.create(28,18.5)),color:6175023}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(-3.5,-2),ve.create(28,18.5)),xe.createAabbExtents(ve.create(-1.5,20.5),ve.create(12.5,4.5)),xe.createAabbExtents(ve.create(0,0),ve.create(20,20))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(-21,-17),ve.create(11,8)),xe.createAabbExtents(ve.create(-23,-6),ve.create(8,3)),xe.createAabbExtents(ve.create(-2,-24),ve.create(2,3)),xe.createAabbExtents(ve.create(28,1.5),ve.create(3,3))]},{type:"grass",collision:[xe.createAabbExtents(ve.create(-2,4),ve.create(5,5))]},{type:"house",collision:[xe.createAabbExtents(ve.create(1,13),ve.create(2,3.25))]}],imgs:[{sprite:"map-building-mansion-floor-01a.img",pos:ve.create(-1.5,22),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-mansion-floor-01b.img",pos:ve.create(-3.5,-2),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-mansion-floor-01c.img",pos:ve.create(28.5,1.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-mansion-floor-01d.img",pos:ve.create(-15,-24),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-15,-22.4),ve.create(17,2.2)),zoomOut:xe.createAabbExtents(ve.create(-15,-24.4),ve.create(21,4.2))},{zoomIn:xe.createAabbExtents(ve.create(-3.5,-2),ve.create(28,18.5)),zoomOut:xe.createAabbExtents(ve.create(-3.5,-2),ve.create(28,18.5))},{zoomIn:xe.createAabbExtents(ve.create(-1.5,20.6),ve.create(12,4.2)),zoomOut:xe.createAabbExtents(ve.create(-9,23.1),ve.create(5,6.7))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-mansion-ceiling.img",scale:1,alpha:1,tint:16777215}]},mapObjects:[{type:"brick_wall_ext_9",pos:ve.create(-31.5,-16.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-31.75,-10.5),scale:1,ori:0},{type:"brick_wall_ext_19",pos:ve.create(-31.5,.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-31.75,11.5),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(-31.5,15),scale:1,ori:0},{type:"brick_wall_ext_17",pos:ve.create(-22.5,16.5),scale:1,ori:1},{type:"brick_wall_ext_9",pos:ve.create(-13.5,20.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(-13,24.9),scale:1,ori:3},{type:"brick_wall_ext_19",pos:ve.create(.5,24.5),scale:1,ori:1},{type:"brick_wall_ext_9",pos:ve.create(10.5,20.5),scale:1,ori:0},{type:"brick_wall_ext_13",pos:ve.create(17.5,16.5),scale:1,ori:1},{type:"brick_wall_ext_6",pos:ve.create(24.5,14),scale:1,ori:0},{type:"house_window_01",pos:ve.create(24.75,9.5),scale:1,ori:0},{type:"brick_wall_ext_18",pos:ve.create(24.5,-1),scale:1,ori:0},{type:"house_window_01",pos:ve.create(24.75,-11.5),scale:1,ori:0},{type:"brick_wall_ext_8",pos:ve.create(24.5,-17),scale:1,ori:0},{type:"brick_wall_ext_7",pos:ve.create(20.5,-20.5),scale:1,ori:1},{type:"house_window_01",pos:ve.create(15.5,-20.75),scale:1,ori:1},{type:"brick_wall_ext_14",pos:ve.create(7,-20.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-4,-21),scale:1,ori:3},{type:"brick_wall_ext_6",pos:ve.create(-7,-20.5),scale:1,ori:1},{type:"brick_wall_ext_short_7",pos:ve.create(28.5,4.5),scale:1,ori:1},{type:"brick_wall_ext_short_7",pos:ve.create(28.5,-1.5),scale:1,ori:1},{type:"brick_wall_ext_6",pos:ve.create(-7,-20.5),scale:1,ori:1},{type:e.mansion_column_1||"mansion_column_1",pos:ve.create(-5,-24),scale:1,ori:1},{type:e.mansion_column_1||"mansion_column_1",pos:ve.create(1,-24),scale:1,ori:1},{type:"saferoom_01",pos:ve.create(-25.5,1.5),scale:1,ori:0},{type:e.mansion_wall_int_12||"mansion_wall_int_12",pos:ve.create(-25,-2.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-19,-2.5),scale:1,ori:3},{type:e.mansion_wall_int_1||"mansion_wall_int_1",pos:ve.create(-30.5,5.5),scale:1,ori:1},{type:"house_door_03",pos:ve.create(-30.25,5.5),scale:1,ori:3},{type:e.mansion_wall_int_13||"mansion_wall_int_13",pos:ve.create(-20.5,5.5),scale:1,ori:1},{type:e.mansion_wall_int_7||"mansion_wall_int_7",pos:ve.create(-19.5,1.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(-14.5,6),scale:1,ori:0},{type:e.mansion_wall_int_6||"mansion_wall_int_6",pos:ve.create(-14.5,13),scale:1,ori:0},{type:e.mansion_wall_int_6||"mansion_wall_int_6",pos:ve.create(-14.5,-5),scale:1,ori:0},{type:e.mansion_wall_int_10||"mansion_wall_int_10",pos:ve.create(-10,-8.5),scale:1,ori:1},{type:e.mansion_wall_int_11||"mansion_wall_int_11",pos:ve.create(-9.5,-14.5),scale:1,ori:0},{type:"brick_wall_ext_8",pos:ve.create(-7.5,14),scale:1,ori:0},{type:"brick_wall_ext_8",pos:ve.create(-1.5,14),scale:1,ori:0},{type:"brick_wall_ext_8",pos:ve.create(3.5,14),scale:1,ori:0},{type:"brick_wall_ext_12",pos:ve.create(-2,9.5),scale:1,ori:1},{type:"stairs_01",pos:ve.create(-4.5,12),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-7.5,4),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(3.5,4),scale:1,ori:0},{type:"glass_wall_12",pos:ve.create(-2,-1.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(10.5,16),scale:1,ori:2},{type:e.mansion_wall_int_9||"mansion_wall_int_9",pos:ve.create(10.5,7.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(10.5,-1),scale:1,ori:0},{type:e.mansion_wall_int_8||"mansion_wall_int_8",pos:ve.create(10.5,-5),scale:1,ori:0},{type:e.mansion_wall_int_9||"mansion_wall_int_9",pos:ve.create(15.5,4.5),scale:1,ori:1},{type:e.mansion_wall_int_9||"mansion_wall_int_9",pos:ve.create(15.5,-1.5),scale:1,ori:1},{type:e.mansion_wall_int_5||"mansion_wall_int_5",pos:ve.create(19.5,1.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(24,1.5),scale:1,ori:1},{type:e.mansion_wall_int_5||"mansion_wall_int_5",pos:ve.create(3.5,-8.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(6,-8.5),scale:1,ori:3},{type:e.mansion_wall_int_11||"mansion_wall_int_11",pos:ve.create(5.5,-14.5),scale:1,ori:0},{type:o({bookshelf_01:6,bookshelf_02:1}),pos:ve.create(-27.25,7.15),scale:1,ori:2},{type:o({bookshelf_01:6,bookshelf_02:1}),pos:ve.create(-27.25,14.85),scale:1,ori:0},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(-11.5,-11.75),scale:1,ori:3},{type:"stand_01",pos:ve.create(-7.5,-10.5),scale:1,ori:0},{type:"stand_01",pos:ve.create(3.5,-10.5),scale:1,ori:0},{type:o({bookshelf_01:6,bookshelf_02:1}),pos:ve.create(7.25,-16.25),scale:1,ori:1},{type:"piano_01",pos:ve.create(14.9,-3.25),scale:1,ori:0},{type:"toilet_01",pos:ve.create(17,1.5),scale:1,ori:3},{type:"refrigerator_01",pos:ve.create(22.15,14.4),scale:1,ori:0},{type:"oven_01",pos:ve.create(12.75,6.75),scale:1,ori:1},{type:"oven_01",pos:ve.create(12.75,10.25),scale:1,ori:1},{type:"table_02",pos:ve.create(15.75,-14.25),scale:1,ori:0},{type:e.entry_loot||"",pos:ve.create(-2,-8.5),scale:1,ori:0},{type:e.decoration_02||"loot_tier_mansion_floor",pos:ve.create(-2,-8.5),scale:1,ori:0},{type:e.decoration_02||"",pos:ve.create(-21,9.5),scale:1,ori:0},{type:e.decoration_02||"",pos:ve.create(18,-8.5),scale:1,ori:0},{type:e.decoration_02||"",pos:ve.create(6,20.5),scale:1,ori:0},{type:e.decoration_01||"",pos:ve.create(-30.15,15),scale:.8,ori:0},{type:e.decoration_01||"",pos:ve.create(1.5,11.5),scale:1,ori:2},{type:e.decoration_01||"",pos:ve.create(8.5,22.5),scale:1,ori:3},{type:e.decoration_01||"",pos:ve.create(22.5,14.5),scale:1,ori:3},{type:e.decoration_01||"",pos:ve.create(22.5,-18.5),scale:1,ori:2},{type:e.tree||"tree_interior_01",pos:ve.create(-2,4),scale:e.tree_scale||.6,ori:0,ignoreMapSpawnReplacement:!0},{type:e.tree_loot||"",pos:ve.create(-2.25,4),scale:1,ori:0},{type:e.tree_loot||"",pos:ve.create(-1.75,4),scale:1,ori:0},{type:e.tree_loot||"",pos:ve.create(-2,4.25),scale:1,ori:0},{type:e.tree_loot||"",pos:ve.create(-2,3.75),scale:1,ori:0},{type:o({bush_01:25,bush_03:1,"":e.bush_chance||0}),pos:ve.create(-4.75,1.25),scale:.9,ori:0,ignoreMapSpawnReplacement:!0},{type:o({bush_01:25,bush_03:1,"":e.bush_chance||0}),pos:ve.create(.75,1.25),scale:.9,ori:0,ignoreMapSpawnReplacement:!0},{type:o({bush_01:25,bush_03:1,"":e.bush_chance||0}),pos:ve.create(-4.75,6.75),scale:.9,ori:0,ignoreMapSpawnReplacement:!0},{type:o({bush_01:25,bush_03:1,"":e.bush_chance||0}),pos:ve.create(.75,6.75),scale:.9,ori:0,ignoreMapSpawnReplacement:!0},{type:e.porch_01||"bush_01",pos:ve.create(-8,-23),scale:.95,ori:0},{type:e.porch_01||"bush_01",pos:ve.create(4,-23),scale:.95,ori:0},{type:"shack_01",pos:ve.create(-20.75,22.5),scale:1,ori:2},{type:"crate_01",pos:ve.create(13.25,19.25),scale:.9,ori:0,inheritOri:!1},{type:"tree_01",pos:ve.create(24,24),scale:1,ori:0},{type:"barrel_02",pos:ve.create(27,-4),scale:1,ori:0},{type:"tree_01",pos:ve.create(29,-17.25),scale:.7,ori:0}]};return Se.mergeDeep(t,e||{})}function ne(e){var t={type:"building",map:{display:!1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"brick",collision:[xe.createAabbExtents(ve.create(18,3),ve.create(7,13)),xe.createAabbExtents(ve.create(5,0),ve.create(6,10))]}],imgs:[{sprite:"map-building-mansion-gradient-01.img",pos:ve.create(-3.75,.25),scale:4,alpha:1,tint:16777215},{sprite:"map-building-mansion-cellar-01a.img",pos:ve.create(11.5,5.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-mansion-cellar-01b.img",pos:ve.create(28.5,1.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-mansion-cellar-01c.img",pos:ve.create(11.5,-9),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(18,3),ve.create(7,13))},{zoomIn:xe.createAabbExtents(ve.create(5,1.5),ve.create(6,12))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[]},mapObjects:[{type:"brick_wall_ext_thicker_24",pos:ve.create(-2.5,6),scale:1,ori:0},{type:"brick_wall_ext_thicker_8",pos:ve.create(0,-7.5),scale:1,ori:1},{type:"brick_wall_ext_thicker_7",pos:ve.create(5.5,-9.5),scale:1,ori:0},{type:"brick_wall_ext_thicker_9",pos:ve.create(11.5,-11.5),scale:1,ori:1},{type:"brick_wall_ext_thicker_7",pos:ve.create(17.5,-9.5),scale:1,ori:0},{type:"brick_wall_ext_thicker_5",pos:ve.create(21.5,-7.5),scale:1,ori:1},{type:"brick_wall_ext_thicker_8",pos:ve.create(25.5,-5),scale:1,ori:0},{type:"brick_wall_ext_thicker_15",pos:ve.create(25.5,11.5),scale:1,ori:0},{type:"brick_wall_ext_thicker_16",pos:ve.create(16,17.5),scale:1,ori:1},{type:"brick_wall_ext_thicker_7",pos:ve.create(9.5,12.5),scale:1,ori:0},{type:"brick_wall_ext_thicker_5",pos:ve.create(5.5,10.5),scale:1,ori:1},{type:"brick_wall_ext_thicker_5",pos:ve.create(29.5,5.5),scale:1,ori:1},{type:"brick_wall_ext_thicker_5",pos:ve.create(29.5,-2.5),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(31.5,1.5),scale:1,ori:0},{type:"brick_wall_ext_thicker_6",pos:ve.create(4.5,15),scale:1,ori:0},{type:"brick_wall_ext_6",pos:ve.create(1,17.6),scale:1,ori:1},{type:o({barrel_03:9,barrel_04:1}),pos:ve.create(8.5,-9.53),scale:1,ori:2},{type:o({barrel_03:9,barrel_04:1}),pos:ve.create(11.5,-9.53),scale:1,ori:2},{type:o({barrel_03:9,barrel_04:1}),pos:ve.create(14.5,-9.53),scale:1,ori:2},{type:o({barrel_03:9,barrel_04:1}),pos:ve.create(12.75,15.5),scale:1,ori:0},{type:o({barrel_03:9,barrel_04:1}),pos:ve.create(15.75,15.5),scale:1,ori:0},{type:o({barrel_03:9,barrel_04:1}),pos:ve.create(18.75,15.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(22.25,14.25),scale:.75,ori:0,ignoreMapSpawnReplacement:!0},{type:o({bookshelf_01:7,bookshelf_02:1}),pos:ve.create(22.75,8),scale:1,ori:3},{type:e.mansion_column_1||"mansion_column_1",pos:ve.create(5.5,1.5),scale:1,ori:1},{type:e.mansion_column_1||"mansion_column_1",pos:ve.create(17.5,1.5),scale:1,ori:1},{type:e.mid_obs_01||"barrel_02",pos:ve.create(8.5,1.5),scale:.8,ori:0},{type:"barrel_01",pos:ve.create(11.5,1.5),scale:.8,ori:0},{type:e.mid_obs_01||"barrel_02",pos:ve.create(14.5,1.5),scale:.8,ori:0},{type:e.decoration_02||"",pos:ve.create(16.5,7.5),scale:1,ori:0},{type:e.decoration_02||"",pos:ve.create(11.5,-5.5),scale:1,ori:0},{type:e.decoration_01||"",pos:ve.create(.5,-4.5),scale:1,ori:1},{type:e.decoration_01||"",pos:ve.create(22.5,14.5),scale:1,ori:3}]};return Se.mergeDeep(t,e||{})}function le(e){var t={type:"building",map:{display:!0,color:8145976,scale:1},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,1.4),ve.create(5.5,6.5))],zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,.15),ve.create(3.75,4.75))]}],imgs:[{sprite:"map-building-outhouse-floor.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,1.45),ve.create(3.6,3.2)),zoomOut:xe.createAabbExtents(ve.create(0,1.4),ve.create(3.8,3.4))}],imgs:[{sprite:"map-building-outhouse-ceiling.img",scale:.5,alpha:1,tint:16777215}],destroy:{wallCount:2,particleCount:15,particle:"outhouseBreak",residue:"map-outhouse-res.img"}},mapObjects:[{type:"outhouse_wall_top",pos:ve.create(0,4.46),scale:1,ori:0},{type:"outhouse_wall_side",pos:ve.create(3.4,1.73),scale:1,ori:0},{type:"outhouse_wall_side",pos:ve.create(-3.4,1.73),scale:1,ori:0},{type:"outhouse_wall_bot",pos:ve.create(-2.65,-1.52),scale:1,ori:0},{type:"outhouse_wall_bot",pos:ve.create(2.65,-1.52),scale:1,ori:0},{type:e.obs||o({toilet_01:5,toilet_02:1}),pos:ve.create(0,2),scale:.95,ori:0}]};return Se.mergeDeep(t,e||{})}function ce(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(9,9)),color:10555920},{collider:xe.createAabbExtents(ve.create(0,0),ve.create(3.5,3.5)),color:16727611},{collider:xe.createAabbExtents(ve.create(0,-10.15),ve.create(2,1.5)),color:7354635}]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(11,11)),xe.createAabbExtents(ve.create(0,-20),ve.create(4,12))],ori:0,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(9,9)),xe.createAabbExtents(ve.create(0,-10.15),ve.create(2,1.5))]}],imgs:[{sprite:"map-building-pavilion-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-teahouse-floor-02.img",pos:ve.create(0,-10.25),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(7,7)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(9,9))}],vision:{width:4},imgs:[{sprite:"map-building-pavilion-ceiling-01.img",scale:.5,alpha:1,tint:16777215}],destroy:{wallCount:3,particle:"teapavilionBreak",particleCount:15,residue:"map-building-pavilion-res-01.img"}},mapObjects:[{type:"teahouse_wall_int_12",pos:ve.create(0,6.5),scale:1,ori:1},{type:"teahouse_wall_int_13",pos:ve.create(6.5,.5),scale:1,ori:0},{type:"teahouse_wall_int_13",pos:ve.create(-6.5,.5),scale:1,ori:0},{type:"teahouse_wall_int_5",pos:ve.create(-4.5,-6.5),scale:1,ori:1},{type:"teahouse_wall_int_5",pos:ve.create(4.5,-6.5),scale:1,ori:1},{type:"teahouse_door_01",pos:ve.create(-2,-6.5),scale:1,ori:3},{type:e.left_loot||"pot_03",pos:ve.create(4.5,4.5),scale:1,ori:0},{type:e.right_loot||"pot_03",pos:ve.create(-4.5,4.5),scale:1,ori:0},{type:e.center_loot||"loot_tier_airdrop_armor",pos:ve.create(0,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function me(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(24,18))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(21,15)),color:e.grass_color||6066442,roughness:.05,offsetDist:.25}],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"teahouse_01",pos:ve.create(0,0),scale:1,ori:0},{type:"barrel_02",pos:ve.create(12,11),scale:1,ori:0},{type:"barrel_02",pos:ve.create(-16,-6),scale:1,ori:0},{type:e.tree_small||"tree_07sp",pos:ve.create(-3,12),scale:.9,ori:0},{type:e.tree_small||"tree_07sp",pos:ve.create(-15,12),scale:.9,ori:0},{type:e.tree_large||o({tree_08sp:2,"":1}),pos:ve.create(-10,-13),scale:1,ori:0},{type:e.tree_large||o({tree_08sp:2,"":1}),pos:ve.create(-17.5,2.5),scale:1.2,ori:0},{type:e.tree_large||o({tree_08sp:2,"":1}),pos:ve.create(18,-6.5),scale:1,ori:0},{type:e.tree_large||o({tree_08sp:2,"":1}),pos:ve.create(17.5,5),scale:1.2,ori:0},{type:e.tree_small||"tree_07sp",pos:ve.create(3,-12),scale:.9,ori:0},{type:e.tree_small||"tree_07sp",pos:ve.create(15,-12),scale:.9,ori:0}]};return Se.mergeDeep(t,e||{})}function pe(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(10,10))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(8,8)),color:7696926,roughness:.1,offsetDist:.2}],floor:{surfaces:[],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[]};return Se.mergeDeep(t,e||{})}function he(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(-21,-8),ve.create(21.25,14)),color:5855577},{collider:xe.createAabbExtents(ve.create(-24.5,8.5),ve.create(17.75,9.75)),color:3355970},{collider:xe.createAabbExtents(ve.create(-3.5,12),ve.create(3.5,6.25)),color:4278620},{collider:xe.createAabbExtents(ve.create(10.35,0),ve.create(10.5,22)),color:3355970},{collider:xe.createAabbExtents(ve.create(31.25,12.5),ve.create(10.75,9.5)),color:3355970},{collider:xe.createAabbExtents(ve.create(-3.5,2.5),ve.create(2.25,2.25)),color:6310464},{collider:xe.createCircle(ve.create(-30.5,-18),1.5),color:8026746},{collider:xe.createCircle(ve.create(-20.5,-10.5),1.5),color:8026746},{collider:xe.createAabbExtents(ve.create(-38.5,-7),ve.create(1.4,3.1)),color:13278307},{collider:xe.createAabbExtents(ve.create(-7.5,-19.5),ve.create(3.1,1.4)),color:13278307}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(-24.5,8.5),ve.create(17.75,9.75)),xe.createAabbExtents(ve.create(-3.5,12),ve.create(3.5,6.25)),xe.createAabbExtents(ve.create(10.35,0),ve.create(10.5,22)),xe.createAabbExtents(ve.create(31.25,12.5),ve.create(10.75,9.5))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(-21.5,-13),ve.create(21,11.5)),xe.createAabbExtents(ve.create(-3.5,2),ve.create(3,3.5))]}],imgs:[{sprite:"map-building-police-floor-01.img",pos:ve.create(-9.5,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-police-floor-02.img",pos:ve.create(33,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-24.5,8.5),ve.create(17.75,9.75))},{zoomIn:xe.createAabbExtents(ve.create(-3.5,12),ve.create(3.5,6.25))},{zoomIn:xe.createAabbExtents(ve.create(10.35,0),ve.create(10.5,22))},{zoomIn:xe.createAabbExtents(ve.create(31.25,12.5),ve.create(10.75,9.5)),zoomOut:xe.createAabbExtents(ve.create(12,0),ve.create(12.75,26))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-police-ceiling-01.img",pos:ve.create(-21.5,8.5),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-police-ceiling-02.img",pos:ve.create(10.5,0),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-police-ceiling-03.img",pos:ve.create(31.96,12.5),scale:.667,alpha:1,tint:16777215}]},mapObjects:[{type:"brick_wall_ext_20",pos:ve.create(-42,8.5),scale:1,ori:0},{type:"brick_wall_ext_41",pos:ve.create(-21,18),scale:1,ori:1},{type:"brick_wall_ext_7",pos:ve.create(-38,-1),scale:1,ori:1},{type:"brick_wall_ext_21",pos:ve.create(-18,-1),scale:1,ori:1},{type:"brick_wall_ext_7",pos:ve.create(-7,2),scale:1,ori:0},{type:"brick_wall_ext_7",pos:ve.create(-4,6),scale:1,ori:1},{type:"brick_wall_ext_16",pos:ve.create(0,-1.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-.5,-11),scale:1,ori:0},{type:"brick_wall_ext_10",pos:ve.create(0,-17.5),scale:1,ori:0},{type:"brick_wall_ext_6",pos:ve.create(3.5,-22),scale:1,ori:1},{type:"house_door_01",pos:ve.create(6.5,-22.5),scale:1,ori:3},{type:"house_door_01",pos:ve.create(14.5,-22.5),scale:1,ori:1},{type:"brick_wall_ext_6",pos:ve.create(17.5,-22),scale:1,ori:1},{type:"brick_wall_ext_11",pos:ve.create(21,-17),scale:1,ori:0},{type:"house_door_01",pos:ve.create(21.5,-11.5),scale:1,ori:0},{type:"brick_wall_ext_11",pos:ve.create(21,-2),scale:1,ori:0},{type:"brick_wall_ext_20",pos:ve.create(31.5,3),scale:1,ori:1},{type:"brick_wall_ext_20",pos:ve.create(42,12.5),scale:1,ori:0},{type:"brick_wall_ext_33",pos:ve.create(25,22),scale:1,ori:1},{type:"house_door_01",pos:ve.create(4.5,22.5),scale:1,ori:3},{type:"brick_wall_ext_4",pos:ve.create(2.5,22),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(0,20),scale:1,ori:0},{type:"police_wall_int_2",pos:ve.create(-40.5,8),scale:1,ori:1},{type:"police_wall_int_3",pos:ve.create(-34,8),scale:1,ori:1},{type:"cell_door_01",pos:ve.create(-35.5,8),scale:1,ori:1},{type:"police_wall_int_8",pos:ve.create(-35,3.5),scale:1,ori:0},{type:"police_wall_int_3",pos:ve.create(-27,8),scale:1,ori:1},{type:"police_wall_int_8",pos:ve.create(-28,3.5),scale:1,ori:0},{type:"cell_door_01",pos:ve.create(-21.5,8),scale:1,ori:1},{type:"police_wall_int_3",pos:ve.create(-20,8),scale:1,ori:1},{type:"police_wall_int_8",pos:ve.create(-21,3.5),scale:1,ori:0},{type:"cell_door_01",pos:ve.create(-14.5,8),scale:1,ori:1},{type:"police_wall_int_3",pos:ve.create(-13,8),scale:1,ori:1},{type:"police_wall_int_8",pos:ve.create(-14,3.5),scale:1,ori:0},{type:"cell_door_01",pos:ve.create(-7.5,8),scale:1,ori:1},{type:"police_wall_int_6",pos:ve.create(-7,9.5),scale:1,ori:0},{type:"police_wall_int_7",pos:ve.create(-4,13),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-7,17.5),scale:1,ori:2},{type:"police_wall_int_4",pos:ve.create(2.5,-1),scale:1,ori:1},{type:"bank_window_01",pos:ve.create(6,-1),scale:1,ori:1},{type:"police_wall_int_6",pos:ve.create(10.5,-1),scale:1,ori:1},{type:"bank_window_01",pos:ve.create(15,-1),scale:1,ori:1},{type:"police_wall_int_4",pos:ve.create(18.5,-1),scale:1,ori:1},{type:"house_door_01",pos:ve.create(21,3.5),scale:1,ori:0},{type:"police_wall_int_10",pos:ve.create(21,12.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(21,21.5),scale:1,ori:2},{type:"metal_wall_ext_10",pos:ve.create(35.5,4),scale:1,ori:1},{type:o({locker_01:8,locker_02:1}),pos:ve.create(33,4.15),scale:1,ori:2},{type:"metal_wall_ext_10",pos:ve.create(35.5,21),scale:1,ori:1},{type:o({locker_01:8,locker_02:1}),pos:ve.create(33,20.85),scale:1,ori:0},{type:o({locker_01:8,locker_02:1}),pos:ve.create(38,20.85),scale:1,ori:0},{type:"metal_wall_ext_18",pos:ve.create(41,12.5),scale:1,ori:0},{type:o({locker_01:8,locker_02:1}),pos:ve.create(40.85,7.5),scale:1,ori:3},{type:o({locker_01:8,locker_02:1}),pos:ve.create(40.85,17.5),scale:1,ori:3},{type:"metal_wall_ext_thicker_10",pos:ve.create(35.5,12.5),scale:1,ori:1},{type:o({locker_01:8,locker_02:1}),pos:ve.create(38,11.35),scale:1,ori:0},{type:o({locker_01:8,locker_02:1}),pos:ve.create(33,13.65),scale:1,ori:2},{type:o({toilet_03:5,toilet_04:1}),pos:ve.create(-37,1),scale:1,ori:2},{type:o({toilet_03:5,toilet_04:1}),pos:ve.create(-23,1),scale:1,ori:2},{type:o({toilet_03:5,toilet_04:1}),pos:ve.create(-16,1),scale:1,ori:2},{type:o({toilet_03:5,toilet_04:1}),pos:ve.create(-9,1),scale:1,ori:2},{type:"control_panel_01",pos:ve.create(-4.5,9.5),scale:1,ori:1},{type:"crate_06",pos:ve.create(-24.5,20.25),scale:1,ori:0},{type:"crate_06",pos:ve.create(14.5,12.5),scale:1,ori:0},{type:"crate_06",pos:ve.create(18.75,12.5),scale:1,ori:1},{type:"fire_ext_01",pos:ve.create(21.85,12.5),scale:1,ori:0},{type:"crate_06",pos:ve.create(10.5,1.25),scale:1,ori:0},{type:"vending_01",pos:ve.create(2,-6.75),scale:1,ori:1},{type:"stand_01",pos:ve.create(2,-14.5),scale:1,ori:1},{type:"bush_01",pos:ve.create(2.5,-19.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"bush_01",pos:ve.create(18.5,-19.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:o({loot_tier_police_floor:1}),pos:ve.create(-38.5,4),scale:1,ori:0},{type:o({loot_tier_1:1}),pos:ve.create(-31.5,4),scale:1,ori:0},{type:o({loot_tier_1:1}),pos:ve.create(-24.5,4),scale:1,ori:0},{type:o({loot_tier_1:1}),pos:ve.create(-17.5,4),scale:1,ori:0},{type:o({loot_tier_1:1}),pos:ve.create(-10.5,4),scale:1,ori:0},{type:"crate_01",pos:ve.create(-3.5,2.5),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:!0},{type:"sandbags_01",pos:ve.create(-38.5,-7),scale:1,ori:3},{type:"sandbags_01",pos:ve.create(-7.5,-19.5),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-30.5,-18),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(-20.5,-10.5),scale:.9,ori:0},{type:"tree_01",pos:ve.create(39,-6),scale:.8,ori:0},{type:"tree_01",pos:ve.create(28,-17.5),scale:.8,ori:0},{type:"hedgehog_01",pos:ve.create(39,-17.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(24.5,-.5),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:!0}]};return Se.mergeDeep(t,e||{})}function de(e){var t={type:"building",map:{display:!0,color:6429724,scale:1},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(19,17.5))],zIdx:1,floor:{surfaces:[{type:"house",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(14.5,13))]}],imgs:[{sprite:"map-building-house-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-porch-01.img",pos:ve.create(-1,14.5),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-building-porch-01.img",pos:ve.create(0,-14.5),scale:.5,alpha:1,tint:16777215,rot:2}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(14.5,13)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(16.5,15))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-house-ceiling.img",scale:.667,alpha:1,tint:16777215}]},mapObjects:[{type:"brick_wall_ext_12",pos:ve.create(-9,13),scale:1,ori:1},{type:"brick_wall_ext_14",pos:ve.create(8,13),scale:1,ori:1},{type:"house_door_01",pos:ve.create(1,13.25),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(-14.5,10),scale:1,ori:0},{type:"brick_wall_ext_10",pos:ve.create(-14.5,-.5),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(-14.5,-10.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-14.75,6),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-14.75,-7),scale:1,ori:0},{type:"brick_wall_ext_5",pos:ve.create(-12.5,-13),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(-4.5,-13),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(4.5,-13),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(12.5,-13),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-8.5,-13.25),scale:1,ori:3},{type:"house_window_01",pos:ve.create(8.5,-13.25),scale:1,ori:3},{type:"house_door_01",pos:ve.create(-2,-13.25),scale:1,ori:3},{type:"brick_wall_ext_8",pos:ve.create(14.5,8.5),scale:1,ori:0},{type:"brick_wall_ext_9",pos:ve.create(14.5,-3),scale:1,ori:0},{type:"brick_wall_ext_2",pos:ve.create(14.5,-11.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(14.75,-9),scale:1,ori:2},{type:"house_window_01",pos:ve.create(14.75,3),scale:1,ori:2},{type:e.house_wall_int_9||"house_wall_int_9",pos:ve.create(-9.5,-1),scale:1,ori:1},{type:e.house_wall_int_5||"house_wall_int_5",pos:ve.create(4.5,-6),scale:1,ori:0},{type:e.house_wall_int_9||"house_wall_int_9",pos:ve.create(9.5,-4),scale:1,ori:1},{type:e.house_wall_int_8||"house_wall_int_8",pos:ve.create(5.5,8.5),scale:1,ori:0},{type:e.house_wall_int_4||"house_wall_int_4",pos:ve.create(8,7),scale:1,ori:1},{type:"house_door_01",pos:ve.create(4.5,-12.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(6,2.5),scale:1,ori:2},{type:"house_door_01",pos:ve.create(14,7),scale:1,ori:1},{type:e.house_column_1||"house_column_1",pos:ve.create(6,3.5),scale:1,ori:0},{type:e.house_column_1||"house_column_1",pos:ve.create(6,-2.5),scale:1,ori:0},{type:o({toilet_01:5,toilet_02:1}),pos:ve.create(8,10),scale:1,ori:1},{type:"stand_01",pos:ve.create(12.25,-2),scale:1,ori:3},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(7.75,-6),scale:1,ori:0},{type:e.stand||"",pos:ve.create(-12.25,-3),scale:1,ori:1},{type:"table_01",pos:ve.create(-11.25,1.75),scale:1,ori:0},{type:"oven_01",pos:ve.create(-7,11),scale:1,ori:0},{type:"refrigerator_01",pos:ve.create(-7,1),scale:1,ori:2},{type:e.plant||"bush_02",pos:e.plant_pos||ve.create(-12,-10.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:e.porch_01||"",pos:ve.create(4.5,-15.5),scale:.9,ori:0},{type:e.porch_01||"",pos:ve.create(-5.25,15.5),scale:.9,ori:2},{type:"loot_tier_1",pos:ve.create(0,4.5),scale:1,ori:0},{type:e.plant_loot||"",pos:ve.create(-10.25,-8.5),scale:1,ori:0},{type:e.plant_loot||"",pos:ve.create(-10,-8.75),scale:1,ori:0},{type:e.plant_loot||"",pos:ve.create(-9.75,-8.25),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function ue(e){var t={type:"building",map:{display:!0,color:4656911,scale:1},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,-1),ve.create(19,18.5))],zIdx:1,floor:{surfaces:[{type:"house",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(14.5,13))]}],imgs:[{sprite:"map-building-house-floor-02.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-porch-01.img",pos:ve.create(10,14.5),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-building-porch-01.img",pos:ve.create(0,-14.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(2.6,-14.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(5.2,-14.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(7.8,-14.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(0,-16.25),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(2.6,-16.25),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(5.2,-16.25),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-porch-01.img",pos:ve.create(7.8,-16.25),scale:.5,alpha:1,tint:16777215,rot:2}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(14.5,13)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(16.5,15))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-house-ceiling.img",scale:.667,alpha:1,tint:13619151,rot:2}]},mapObjects:[{type:"brick_wall_ext_5",pos:ve.create(-12.5,13),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-8.5,13.25),scale:1,ori:1},{type:"brick_wall_ext_15",pos:ve.create(.5,13),scale:1,ori:1},{type:"brick_wall_ext_3",pos:ve.create(13.5,13),scale:1,ori:1},{type:"house_door_01",pos:ve.create(12,13.25),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(-14.5,10),scale:1,ori:0},{type:"brick_wall_ext_10",pos:ve.create(-14.5,-.5),scale:1,ori:0},{type:"brick_wall_ext_4",pos:ve.create(-14.5,-10.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-14.75,6),scale:1,ori:0},{type:"house_window_01",pos:ve.create(-14.75,-7),scale:1,ori:0},{type:"brick_wall_ext_5",pos:ve.create(-12.5,-13),scale:1,ori:1},{type:"brick_wall_ext_5",pos:ve.create(-4.5,-13),scale:1,ori:1},{type:"brick_wall_ext_13",pos:ve.create(8.5,-13),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-8.5,-13.25),scale:1,ori:3},{type:"house_door_01",pos:ve.create(-2,-13.25),scale:1,ori:3},{type:"brick_wall_ext_8",pos:ve.create(14.5,8.5),scale:1,ori:0},{type:"brick_wall_ext_9",pos:ve.create(14.5,-3),scale:1,ori:0},{type:"brick_wall_ext_2",pos:ve.create(14.5,-11.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(14.75,-9),scale:1,ori:2},{type:"house_window_01",pos:ve.create(14.75,3),scale:1,ori:2},{type:e.house_wall_int_5||"house_wall_int_5",pos:ve.create(-.5,10),scale:1,ori:0},{type:e.house_wall_int_14||"house_wall_int_14",pos:ve.create(-7,3),scale:1,ori:1},{type:e.house_wall_int_11||"house_wall_int_11",pos:ve.create(-8.5,-2),scale:1,ori:1},{type:e.house_wall_int_4||"house_wall_int_4",pos:ve.create(12,1),scale:1,ori:1},{type:e.house_wall_int_4||"house_wall_int_4",pos:ve.create(12,-7),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-.5,3.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(-3.5,-1.5),scale:1,ori:0},{type:e.house_column_1||"house_column_1",pos:ve.create(4,-3),scale:1,ori:0},{type:o({toilet_01:5,toilet_02:1}),pos:ve.create(-11.75,.5),scale:1,ori:1},{type:e.stand||"",pos:ve.create(-12.5,11),scale:1,ori:0},{type:o({drawers_01:7,drawers_02:1}),pos:ve.create(-3.75,11),scale:1,ori:0},{type:o({bookshelf_01:7,bookshelf_02:1}),pos:ve.create(13,-3),scale:1,ori:3},{type:"table_03",pos:ve.create(-8.5,-6),scale:1,ori:0},{type:"oven_01",pos:ve.create(-12.25,-11),scale:1,ori:2},{type:"refrigerator_01",pos:ve.create(-4.5,-11),scale:1,ori:2},{type:e.plant||"bush_02",pos:e.plant_pos||ve.create(2,10.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"loot_tier_1",pos:ve.create(0,-4.5),scale:1,ori:0},{type:e.plant_loot||"",pos:ve.create(4.25,8.5),scale:1,ori:0},{type:e.plant_loot||"",pos:ve.create(3.75,8.5),scale:1,ori:0},{type:e.plant_loot||"",pos:ve.create(4,8.25),scale:1,ori:0},{type:"grill_01",pos:ve.create(6,-15.25),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function ge(e){var t={type:"building",map:{display:!0,color:6707790,scale:1},terrain:{grass:!0,beach:!1},floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,.9),ve.create(5.6,3.5))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(3.75,-4),ve.create(2.25,1.5))]}],imgs:[{sprite:"map-building-shack-floor-01.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,.9),ve.create(5.6,3.5)),zoomOut:xe.createAabbExtents(ve.create(0,.8),ve.create(5.9,3.8))}],vision:{width:4},imgs:[{sprite:"map-building-shack-ceiling-01.img",scale:.667,alpha:1,tint:16777215}],destroy:{wallCount:2,particle:"shackBreak",particleCount:25,residue:"map-shack-res-01.img"}},mapObjects:[{type:"shack_wall_bot",pos:ve.create(-1.49,-2.4),scale:1,ori:0},{type:"shack_wall_side_left",pos:ve.create(-5.55,.69),scale:1,ori:0},{type:"shack_wall_top",pos:ve.create(-.3,4.33),scale:1,ori:0},{type:"shack_wall_side_right",pos:ve.create(5.55,.95),scale:1,ori:0},{type:"crate_01",pos:ve.create(7.9,2.85),scale:.8,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(7.45,-.9),scale:.85,ori:0},{type:o({loot_tier_2:1}),pos:ve.create(-2,.8),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(2,.8),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function ye(e){var t={type:"building",map:{display:!0,color:4014894,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,1),ve.create(5,4))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(0,-4),ve.create(2,1))]}],imgs:[{sprite:"map-building-shack-floor-02.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,1),ve.create(4.75,3.75))}],vision:{width:4},imgs:[{sprite:"map-building-shack-ceiling-02.img",scale:.667,alpha:1,tint:16777215}],destroy:{wallCount:2,particle:"shackBreak",particleCount:25,residue:"map-shack-res-02.img"}},mapObjects:[{type:"barn_wall_int_2",pos:ve.create(-3,-2.5),scale:1,ori:1},{type:"barn_wall_int_2",pos:ve.create(3,-2.5),scale:1,ori:1},{type:"barn_wall_int_8",pos:ve.create(-4.5,1),scale:1,ori:0},{type:"barn_wall_int_8",pos:ve.create(4.5,1),scale:1,ori:0},{type:"barn_wall_int_8",pos:ve.create(0,4.5),scale:1,ori:1},{type:"barrel_01",pos:ve.create(4,-4.5),scale:.8,ori:0},{type:o({loot_tier_1:1}),pos:ve.create(0,1),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function we(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(27,0),ve.create(3,12.25)),color:10066329},{collider:xe.createAabbExtents(ve.create(-27,0),ve.create(3,12.25)),color:10066329},{collider:xe.createAabbExtents(ve.create(0,0),ve.create(24.5,12.25)),color:5915450}]},zIdx:1,terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(35,16))],floor:{surfaces:[{type:"warehouse",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(32,12.5))]}],imgs:[{sprite:"map-building-warehouse-floor-01.img",pos:ve.create(-15.615,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-warehouse-floor-01.img",pos:ve.create(15.615,0),scale:.5,alpha:1,tint:16777215,rot:2}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(24.5,12.25)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(32,12.5))}],vision:{dist:8,width:5},imgs:[{sprite:"map-building-warehouse-ceiling-01.img",scale:1,alpha:1,tint:16777215}]},mapObjects:[{type:"warehouse_wall_side",pos:ve.create(0,11.9),scale:1,ori:0},{type:"warehouse_wall_edge",pos:ve.create(-24.4,8.2),scale:1,ori:0},{type:"warehouse_wall_edge",pos:ve.create(24.4,8.2),scale:1,ori:0},{type:"warehouse_wall_side",pos:ve.create(0,-11.9),scale:1,ori:0},{type:"warehouse_wall_edge",pos:ve.create(-24.4,-8.2),scale:1,ori:0},{type:"warehouse_wall_edge",pos:ve.create(24.4,-8.2),scale:1,ori:0},{type:e.topLeftObs,pos:ve.create(-21.25,8.75),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:"crate_04",pos:ve.create(-16.25,8.75),scale:1,ori:1},{type:"crate_01",pos:ve.create(-21.25,-8.75),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:"barrel_01",pos:ve.create(-16.5,-8.75),scale:.9,ori:0},{type:e.topRightObs,pos:ve.create(21.25,8.75),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:"barrel_01",pos:ve.create(16.5,8.75),scale:.9,ori:0},{type:"crate_04",pos:ve.create(16.25,-8.75),scale:1,ori:1},{type:e.botRightObs,pos:ve.create(21.25,-8.75),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:o({crate_02:1,crate_01:3}),pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:"crate_01",pos:ve.create(5,0),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:"crate_01",pos:ve.create(-5,0),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:e.ignoreMapSpawnReplacement},{type:"crate_04",pos:ve.create(0,5),scale:1,ori:0},{type:"crate_04",pos:ve.create(0,-5),scale:1,ori:0},{type:e.decoration_01||"",pos:ve.create(-9,6),scale:1,ori:0},{type:e.decoration_01||"",pos:ve.create(9,-6),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}function fe(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(25,0),ve.create(3,12.25)),color:10066329},{collider:xe.createAabbExtents(ve.create(-25,0),ve.create(3,12.25)),color:10066329},{collider:xe.createAabbExtents(ve.create(0,0),ve.create(22.5,12.25)),color:2240064}]},zIdx:1,terrain:{grass:!0,beach:!1},floor:{surfaces:[{type:"warehouse",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(27.5,12.5))]}],imgs:[{sprite:"map-building-warehouse-floor-02.img",pos:ve.create(-13.72,0),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-building-warehouse-floor-02.img",pos:ve.create(13.72,0),scale:.5,alpha:1,tint:16777215,rot:2}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(22,12.25)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(27.5,12.5))}],vision:{dist:8,width:5},imgs:[{sprite:"map-building-warehouse-ceiling-02.img",scale:1,alpha:1,tint:16777215}]},mapObjects:[{type:"metal_wall_ext_43",pos:ve.create(0,12),scale:1,ori:1},{type:"metal_wall_ext_8",pos:ve.create(-21.9,8.5),scale:1,ori:0},{type:"metal_wall_ext_8",pos:ve.create(21.9,8.5),scale:1,ori:0},{type:"metal_wall_ext_43",pos:ve.create(0,-12),scale:1,ori:1},{type:"metal_wall_ext_8",pos:ve.create(-21.9,-8.5),scale:1,ori:0},{type:"metal_wall_ext_8",pos:ve.create(21.9,-8.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(-18.75,8.75),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(-14,8.75),scale:.9,ori:0},{type:"crate_06",pos:ve.create(-18.75,-6),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(-19.5,-9.5),scale:1,ori:0},{type:"crate_06",pos:ve.create(18.75,6),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(19.5,9.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(18.75,-8.75),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(14,-8.75),scale:.9,ori:0},{type:o({crate_08:24,crate_09:1}),pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(0,5),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(0,-5),scale:1,ori:0,inheritOri:!1,ignoreMapSpawnReplacement:!0},{type:"crate_06",pos:ve.create(4,-5),scale:1,ori:1},{type:"crate_06",pos:ve.create(-4,5),scale:1,ori:1},{type:"barrel_01",pos:ve.create(4.5,0),scale:.9,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-4.5,0),scale:.9,ori:0,inheritOri:!1}]};return Se.mergeDeep(t,e||{})}function be(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,2)),height:10,collidable:!0,destructible:!0,isWindow:!0,health:1,hitParticle:"glassChip",explodeParticle:"windowBreak",reflectBullets:!1,loot:[],destroyType:"house_window_broken_01",img:{sprite:"map-building-house-window-01.img",residue:"none",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}function _e(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,2)),height:.2,isWall:!0,collidable:!0,destructible:!1,health:100,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[],img:{sprite:"map-building-house-window-res-01.img",scale:.5,alpha:1,tint:4456448,zIdx:10},sound:{bullet:"wall_wood_bullet",punch:"wall_wood_bullet",explode:"",enter:"none"}};return Se.mergeDeep(t,e||{})}var xe=a("6b42806d"),Se=a("1901e2d9"),ve=a("c2a798c8"),ze={metal:{destructible:!1,reflectBullets:!0,hitParticle:"barrelChip",explodeParticle:"barrelBreak",sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"barrel_break_01",enter:"none"}},wood:{destructible:!0,reflectBullets:!1,sound:{bullet:"wall_wood_bullet",punch:"wall_wood_bullet",explode:"wall_break_01",enter:"none"}},woodPerm:{destructible:!1,reflectBullets:!1,sound:{bullet:"wall_wood_bullet",punch:"wall_wood_bullet",explode:"wall_break_01",enter:"none"}},brick:{destructible:!1,reflectBullets:!1,hitParticle:"brickChip",sound:{bullet:"wall_brick_bullet",punch:"wall_brick_bullet",explode:"wall_break_01",enter:"none"}},concrete:{destructible:!1,reflectBullets:!1,hitParticle:"barrelChip",sound:{bullet:"concrete_hit",punch:"concrete_hit",explode:"wall_break_01",enter:"none"}},stone:{destructible:!0,stonePlated:!0,reflectBullets:!1,hitParticle:"rockChip",explodeParticle:"rockBreak",sound:{bullet:"concrete_hit",punch:"concrete_hit",explode:"stone_break_01",enter:"none"}},glass:{destructible:!0,reflectBullets:!1,hitParticle:"glassChip",explodeParticle:"windowBreak",sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}}},ke={barrel_01:n({}),barrel_01b:n({img:{tint:13224393},loot:[r("tier_surviv",2,3),i("mirv",1),i("mirv",1),i("mirv",1),i("outfitCarbonFiber",1)]}),barrel_02:l({health:60}),barrel_03:l({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.25,.5)),health:20,img:{sprite:"map-barrel-03.img",residue:"map-barrel-res-03.img",scale:.45}}),barrel_04:l({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.25,.5)),health:20,loot:[r("tier_soviet",2,3)],img:{sprite:"map-barrel-04.img",residue:"map-barrel-res-03.img",scale:.45}}),propane_01:n({collision:xe.createCircle(ve.create(0,0),1.25),health:50,map:{display:!0,color:24516,scale:1},img:{sprite:"map-propane-01.img",scale:.4}}),bed_sm_01:c({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.4,3.4)),img:{sprite:"map-bed-01.img"}}),bed_lg_01:c({img:{residue:"map-bed-res-02.img"}}),bollard_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createCircle(ve.create(0,0),1.25),height:.5,collidable:!0,destructible:!1,health:300,hitParticle:"barrelChip",explodeParticle:"barrelBreak",reflectBullets:!0,loot:[],map:{display:!0,color:6310464,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-bollard-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"silo_bullet",punch:"silo_bullet",explode:"barrel_break_01",enter:"none"}},bookshelf_01:m({img:{sprite:"map-bookshelf-01.img"},loot:[r("tier_world",1,1)]}),bookshelf_02:m({img:{sprite:"map-bookshelf-02.img"},loot:[r("tier_soviet",2,3)]}),bush_01:u({}),bush_01b:u({img:{alpha:1}}),bush_01f:u({img:{sprite:"map-bush-01f.img"},map:{color:1793032}}),bush_01sv:u({hitParticle:"leafPrickly",explodeParticle:"leafPrickly",img:{sprite:"map-bush-01sv.img",residue:"map-bush-res-01sv.img"},map:{color:7569455}}),brush_01sv:u({scale:{createMin:1.5,createMax:1.75,destroy:.75},health:150,collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.75,1.75)),hitParticle:"leaf",explodeParticle:"leaf",img:{sprite:"map-brush-01sv.img",residue:"map-brush-res-02sv.img"},map:{color:5207588}}),brush_02sv:u({scale:{createMin:1.5,createMax:1.75,destroy:.75},health:150,collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.75,1.75)),hitParticle:"leaf",explodeParticle:"leaf",img:{sprite:"map-brush-02sv.img",residue:"map-brush-res-02sv.img"},map:{color:5207588}}),bush_01x:u({map:{color:4545840},img:{sprite:"map-bush-01x.img"}}),bush_02:u({img:{residue:"map-bush-res-02.img"}}),bush_03:u({img:{sprite:"map-bush-03.img",alpha:1}}),bush_04:u({hitParticle:"leafRiver",explodeParticle:"leafRiver",img:{sprite:"map-bush-04.img",residue:"map-bush-res-04.img",alpha:1,scale:.5},terrain:{grass:!0,river:{centerWeight:.3},riverShore:!0},sound:{enter:"bush_enter_02"}}),bush_05:u({img:{sprite:"map-bush-05.img",residue:"map-bush-res-05.img"},map:{color:6971965}}),bush_06:u({collision:xe.createCircle(ve.create(0,0),1.75),img:{sprite:"map-bush-06.img",residue:"map-bush-res-06.img"},map:{display:!0,color:6971965,scale:1.5}}),bush_06b:u({scale:{createMin:1,createMax:1},collision:xe.createCircle(ve.create(0,0),1.75),img:{sprite:"map-bush-06.img",residue:"map-bush-res-06.img",alpha:1},map:{display:!0,color:14041344,scale:1.5}}),bush_07:u({hitParticle:"leafRiver",explodeParticle:"leafRiver",img:{sprite:"map-bush-07.img",alpha:1,scale:.5},sound:{enter:"bush_enter_02"}}),bush_07sp:u({hitParticle:"leafRiver",explodeParticle:"leafRiver",map:{display:!0,color:671242,scale:1.5},img:{sprite:"map-bush-07sp.img",alpha:1,scale:.5},sound:{enter:"bush_enter_02"}}),bush_07x:u({img:{sprite:"map-bush-07x.img"}}),case_01:y({loot:[i("deagle",1)]}),case_02:y({img:{sprite:"map-case-deagle-02.img"},loot:[i("deagle",1),i("deagle",1)]}),case_03:y({health:140,img:{sprite:"map-case-hatchet-01.img",residue:"map-case-hatchet-res-01.img"},loot:[r("tier_hatchet",1,1)],hitParticle:"blackChip"}),case_04:y({health:140,img:{sprite:"map-case-flare-01.img",residue:"map-case-flare-res-01.img"},loot:[i("flare_gun",1)],hitParticle:"blackChip",map:{display:!0,color:7025920,scale:.85}}),case_05:y({health:140,img:{sprite:"map-case-meteor-01.img",residue:"map-case-meteor-res-01.img"},loot:[i("flare_gun",1),i("strobe",1),i("strobe",1),i("strobe",1),i("strobe",1)],hitParticle:"blackChip",map:{display:!1,color:7025920,scale:.85}}),case_06:y({health:140,img:{sprite:"map-case-chrys-01.img"},loot:[r("tier_chest",2,3),r("tier_chrys_case",1,1)],hitParticle:"blackChip",map:{display:!1,color:7025920,scale:.85}}),case_07:y({health:200,img:{sprite:"map-case-ring-01.img"},loot:[r("tier_ring_case",1,1)],hitParticle:"blackChip",map:{display:!1,color:7025920,scale:.85}}),chest_01:w({loot:[r("tier_chest",3,4),r("tier_pirate_melee",1,1),i("outfitRoyalFortune",1)]}),chest_02:w({img:{sprite:"map-chest-02.img"},loot:[r("tier_chest",2,2)],map:{display:!0,color:7025920,scale:.85}}),chest_03:f({img:{sprite:"map-chest-03.img"},loot:[r("tier_chest",3,5),i("outfitWaterElem",1)]}),chest_03d:f({img:{sprite:"map-chest-03d.img"},loot:[r("tier_chest",3,5),i("outfitWaterElem",1)]}),chest_03f:f({img:{sprite:"map-chest-03f.img"},loot:[r("tier_chest",3,5),i("outfitKhaki",1)]}),chest_03x:f({img:{sprite:"map-chest-03x.img"},loot:[r("tier_chest",3,5),i("outfitWaterElem",1)]}),chest_04:w({health:200,img:{sprite:"map-case-basement-01.img"},loot:[i("outfitNoir",1),r("tier_chest_04",1,1),i("glock_dual",1),i("smoke",4)],map:{display:!1,color:7025920,scale:.85}}),chest_04d:w({health:200,img:{sprite:"map-case-basement-01.img"},loot:[i("outfitNoir",1),r("tier_chest_04",1,1),i("9mm",300),i("smoke",4),i("backpack02",1)],map:{display:!1,color:7025920,scale:.85}}),control_panel_01:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.7)),button:{interactionRad:.75,interactionText:"game-use",useOnce:!0,useType:"cell_door_01",useDelay:1.1,useDir:ve.create(-1,0),useImg:"map-control-panel-02.img",sound:{on:"cell_control_01",off:""}},img:{sprite:"map-control-panel-01.img"}}),control_panel_02:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.7)),health:175,img:{sprite:"map-control-panel-02.img"}}),control_panel_02b:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.7)),destructible:!1,button:{interactionRad:.2,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(-1,0),useImg:"map-control-panel-01.img",sound:{on:"button_press_01",off:"button_press_01"}},img:{sprite:"map-control-panel-02.img"}}),control_panel_03:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.25,1.2)),health:150,img:{sprite:"map-control-panel-03.img"}}),control_panel_04:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.7)),button:{interactionRad:.75,interactionText:"game-use",useOnce:!0,useType:"crossing_door_01",useDelay:4.25,useDir:ve.create(1,0),useImg:"map-control-panel-05.img",sound:{on:"cell_control_02",off:""}},img:{sprite:"map-control-panel-04.img"}}),control_panel_06:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,1.2)),health:200,img:{sprite:"map-control-panel-06.img"}}),switch_01:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.45,.55)),destructible:!1,button:{interactionRad:.2,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(-1,0),useImg:"map-switch-02.img",offImg:"map-switch-03.img",sound:{on:"button_press_01",off:"button_press_01"}},img:{sprite:"map-switch-01.img"}}),switch_02:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.45,.55)),destructible:!1,img:{sprite:"map-switch-02.img"}}),switch_03:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.45,.55)),destructible:!1,button:{interactionRad:.2,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(-1,0),useImg:"map-switch-02.img",offImg:"map-switch-02.img",sound:{on:"button_press_01",off:""}},img:{sprite:"map-switch-01.img"}}),couch_01:_({}),couch_02:_({collision:xe.createAabbExtents(ve.create(0,0),ve.create(3,1.5)),img:{sprite:"map-couch-02.img"}}),couch_02b:_({collision:xe.createAabbExtents(ve.create(0,0),ve.create(3,1.5)),img:{sprite:"map-couch-02.img",mirrorY:!0}}),couch_03:_({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),img:{sprite:"map-couch-03.img"}}),crate_01:x({}),crate_01x:x({img:{sprite:"map-crate-01x.img"}}),crate_02:x({health:140,loot:[r("tier_soviet",3,5)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-02.img"},sound:{explode:"crate_break_01"}}),crate_02sv:x({health:140,loot:[r("tier_soviet",4,5),r("tier_world",1,1)],map:{display:!0,color:16760832},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-02sv.img"},sound:{explode:"crate_break_01"}}),crate_02sv_lake:x({health:140,loot:[r("tier_soviet",5,6)],map:{display:!0,color:16760832},terrain:{lakeCenter:!0},img:{sprite:"map-crate-02sv.img"},sound:{explode:"crate_break_01"}}),crate_02x:x({health:140,loot:[r("tier_soviet",3,5)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-02x.img"},sound:{explode:"crate_break_01"}}),crate_02f:x({health:140,loot:[r("tier_guns",3,3),r("tier_armor",2,2),r("tier_packs",1,1)],map:{display:!0,color:13369344},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-02f.img"},sound:{explode:"crate_break_01"}}),crate_02d:x({health:140,loot:[i("m1014",1),i("helmet03_lt_aged",1),i("outfitRedLeaderAged",1),i("machete_taiga",1)],map:{display:!0,color:13369344},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-02f.img"},sound:{explode:"crate_break_01"}}),crate_03:x({health:100,collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.575,1.575)),loot:[r("tier_throwables",2,4)],map:{color:5066014,scale:.875},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-03.img",scale:.35},sound:{explode:"crate_break_01"}}),crate_03x:x({health:100,hitParticle:"glassChip",explodeParticle:["glassPlank"],collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.575,1.575)),loot:[i("snowball",4),i("snowball",4),i("snowball",4)],map:{color:31863,scale:.875},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-03x.img",scale:.35},sound:{explode:"crate_break_02"}}),crate_04:x({health:225,destructible:!0,armorPlated:!0,hitParticle:"greenChip",loot:[r("tier_ammo_crate",1,1)],map:{display:!0,color:5468244,scale:.875},img:{sprite:"map-crate-04.img"},sound:{bullet:"ammo_crate_bullet",punch:"ammo_crate_bullet",explode:"crate_break_01"}}),crate_05:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2,2)),destructible:!1,hitParticle:"goldChip",loot:[],map:{display:!1},img:{sprite:"map-crate-05.img"},sound:{bullet:"wall_brick_bullet",punch:"wall_brick_bullet"}}),crate_06:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,1.1)),health:175,destructible:!0,armorPlated:!0,hitParticle:"greenChip",loot:[r("tier_ammo",1,1)],map:{display:!1},img:{sprite:"map-crate-06.img"},sound:{bullet:"ammo_crate_bullet",punch:"ammo_crate_bullet"}}),crate_07:x({health:140,loot:[r("tier_surviv",4,5),i("ak47",1),i("ak47",1),i("ak47",1),i("ak47",1),i("outfitKhaki",1),i("outfitKhaki",1),i("outfitKhaki",1),i("outfitKhaki",1)],img:{sprite:"map-crate-07.img"},sound:{explode:"crate_break_01"}}),crate_07b:x({health:140,loot:[r("tier_armor",4,5),i("mp220",1),i("mp220",1),i("bar",1),i("bar",1),i("outfitKhaki",1),i("outfitKhaki",1),i("outfitKhaki",1),i("outfitKhaki",1)],img:{sprite:"map-crate-07.img"},sound:{explode:"crate_break_01"}}),crate_07sv:x({health:140,loot:[r("tier_surviv",4,5),i("svd",1),i("svd",1),i("blr",1),i("blr",1),i("outfitKhaki",1),i("outfitKhaki",1),i("outfitKhaki",1),i("outfitKhaki",1)],img:{sprite:"map-crate-07.img"},sound:{explode:"crate_break_01"}}),crate_08:x({health:140,loot:[r("tier_surviv",2,3)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-08.img"},sound:{explode:"crate_break_01"}}),crate_09:x({health:140,loot:[r("tier_chest",1,2),r("tier_conch",1,1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-09.img"},sound:{explode:"crate_break_01"}}),crate_10:x({health:200,scale:{destroy:.75},loot:[r("tier_airdrop_uncommon",1,1),r("tier_airdrop_armor",1,1),r("tier_medical",2,2),r("tier_airdrop_scopes",1,1),r("tier_airdrop_outfits",1,1),r("tier_airdrop_melee",1,1),r("tier_airdrop_ammo",3,3),r("tier_airdrop_throwables",1,1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-10.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_11:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2.5)),scale:{destroy:.75},health:200,loot:[r("tier_airdrop_rare",1,1),r("tier_airdrop_armor",1,1),r("tier_medical",2,2),r("tier_airdrop_scopes",1,1),r("tier_airdrop_outfits",1,1),r("tier_airdrop_melee",1,1),r("tier_airdrop_ammo",3,3),r("tier_airdrop_throwables",1,1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-11.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_10sv:x({health:200,scale:{destroy:.75},loot:[r("tier_airdrop_uncommon",1,1),r("tier_airdrop_armor",1,1),r("tier_medical",2,2),r("tier_airdrop_scopes",1,1),r("tier_airdrop_outfits",1,1),r("tier_airdrop_melee",1,1),r("tier_airdrop_ammo",3,3),r("tier_airdrop_throwables",1,1),r("tier_perks",1,1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-10.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_11sv:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2.5)),scale:{destroy:.75},health:200,loot:[r("tier_airdrop_rare",1,1),r("tier_airdrop_armor",1,1),r("tier_medical",2,2),r("tier_airdrop_scopes",1,1),r("tier_airdrop_outfits",1,1),r("tier_airdrop_melee",1,1),r("tier_airdrop_ammo",3,3),r("tier_airdrop_throwables",1,1),r("tier_perks",2,2)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-11.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_11de:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2.5)),scale:{destroy:.75},health:200,loot:[r("tier_airdrop_rare",1,1),r("tier_airdrop_armor",1,1),r("tier_medical",2,2),r("tier_airdrop_scopes",1,1),r("tier_airdrop_outfits",1,1),r("tier_airdrop_melee",1,1),r("tier_airdrop_ammo",3,3),r("tier_airdrop_throwables",1,1),r("tier_perks",1,1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-11.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_12:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(3.5,3.5)),scale:{destroy:.75},health:500,loot:[r("tier_airdrop_rare",2,2),r("tier_airdrop_uncommon",4,6),r("tier_airdrop_armor",4,5),r("tier_medical",12,15),r("tier_airdrop_scopes",6,8),r("tier_airdrop_outfits",3,4),r("tier_airdrop_melee",5,7),r("tier_airdrop_ammo",10,12),r("tier_airdrop_throwables",6,8),r("tier_katanas",1,1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-12.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_13:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(3.5,3.5)),scale:{destroy:.75},health:200,loot:[r("tier_airdrop_mythic",3,4),r("tier_airdrop_rare",3,4),r("tier_airdrop_armor",6,8),r("tier_medical",12,15),r("tier_airdrop_scopes",6,8),r("tier_airdrop_faction_outfits",1,2),r("tier_airdrop_faction_melee",3,4),r("tier_airdrop_ammo",10,12),r("tier_airdrop_throwables",6,8),r("tier_katanas",1,1),i("strobe",1),i("strobe",1),i("strobe",1)],map:{display:!1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-13.img",residue:"map-crate-res-03.img"},sound:{explode:"crate_break_01"}}),crate_14:x({explodeParticle:["windowBreak","woodPlank"],loot:[r("tier_throwables",1,1)],img:{sprite:"map-crate-14.img"},sound:{explode:"window_break_02"}}),crate_14a:x({explodeParticle:["windowBreak","woodPlank"],loot:[r("tier_soviet",1,1)],img:{sprite:"map-crate-14a.img"},sound:{explode:"window_break_02"}}),crate_15:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[r("tier_knives",4,4)],map:{display:!1},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-14.img"},sound:{explode:"crate_break_01"}}),crate_16:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[r("tier_knives",4,4)],map:{display:!1},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-14.img"},sound:{explode:"crate_break_01"}}),crate_18:x({health:140,loot:[r("tier_cattle_crate",2,3),r("tier_soviet",1,2)],map:{display:!0,color:12867840,scale:.875},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-18.img"},sound:{explode:"crate_break_01"}}),crate_19:x({health:140,loot:[r("tier_guns",1,3),r("tier_surviv",2,3)],map:{display:!0,color:4500224,scale:.875},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-19.img"},sound:{explode:"crate_break_01"}}),crate_20:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.7,1.7)),health:75,hitParticle:"greenChip",explodeParticle:"greenPlank",loot:[r("tier_armor",1,1),r("tier_world",1,1)],map:{display:!0,color:3884335,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-20.img"},sound:{explode:"crate_break_01"}}),crate_21:x({health:140,loot:[r("tier_guns",1,2),r("tier_snipers",1,1),r("tier_cloud_02",1,1),r("tier_perks",1,1)],map:{display:!0,color:18799,scale:.875},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-21.img"},sound:{explode:"crate_break_01"}}),crate_21b:x({health:140,loot:[r("tier_guns",1,2),r("tier_snipers",1,1),r("tier_cloud_02",1,1),r("tier_perks",1,1)],map:{display:!1,color:18799,scale:.875},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-21.img"},sound:{explode:"crate_break_01"}}),crate_22:x({health:140,loot:[r("tier_guns",3,3),r("tier_armor",2,2),r("tier_packs",1,1)],map:{display:!0,color:32511},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-22.img"},sound:{explode:"crate_break_01"}}),crate_22d:x({health:140,loot:[i("an94",1),i("helmet03_lt_aged",1),i("outfitBlueLeaderAged",1),i("kukri_trad",1)],map:{display:!0,color:32511},terrain:{grass:!0,beach:!1},img:{sprite:"map-crate-22.img"},sound:{explode:"crate_break_01"}}),airdrop_crate_01:S({button:{useImg:"map-airdrop-02.img",useParticle:"airdropCrate01",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-01.img",residue:"none"},destroyType:"crate_10",explodeParticle:"airdropCrate02"}),airdrop_crate_02:S({button:{useImg:"map-airdrop-02.img",useParticle:"airdropCrate01",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-01.img",residue:"none"},destroyType:"crate_11",explodeParticle:"airdropCrate02"}),airdrop_crate_03:S({collision:xe.createAabbExtents(ve.create(0,0),ve.create(4,4)),button:{useImg:"map-airdrop-04.img",useParticle:"airdropCrate03",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-03.img",residue:"none"},destroyType:"crate_12",explodeParticle:"airdropCrate04"}),airdrop_crate_04:S({collision:xe.createAabbExtents(ve.create(0,0),ve.create(4,4)),button:{useImg:"map-airdrop-04.img",useParticle:"airdropCrate03",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-03.img",residue:"none"},destroyType:"crate_13",explodeParticle:"airdropCrate04"}),airdrop_crate_01sv:S({button:{useImg:"map-airdrop-02.img",useParticle:"airdropCrate01",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-01.img",residue:"none"},destroyType:"crate_10sv",explodeParticle:"airdropCrate02"}),airdrop_crate_02sv:S({button:{useImg:"map-airdrop-02.img",useParticle:"airdropCrate01",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-01.img",residue:"none"},destroyType:"crate_11sv",explodeParticle:"airdropCrate02"}),airdrop_crate_02de:S({button:{useImg:"map-airdrop-02.img",useParticle:"airdropCrate01",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-01.img",residue:"none"},destroyType:"crate_11de",explodeParticle:"airdropCrate02"}),airdrop_crate_01x:S({button:{useImg:"map-crate-13x.img",useParticle:"airdropCrate01x",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-01x.img",residue:"none"},destroyType:"crate_10",explodeParticle:"airdropCrate02x"}),airdrop_crate_02x:S({button:{useImg:"map-crate-13x.img",useParticle:"airdropCrate01x",sound:{on:"airdrop_open_01",off:""}},img:{sprite:"map-airdrop-02x.img",residue:"none"},destroyType:"crate_11",explodeParticle:"airdropCrate02x"}),mil_crate_01:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[r("tier_knives",1,1)],map:{display:!1},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-mil-01.img"},sound:{explode:"crate_break_01"}}),mil_crate_02:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[i("ot38",1),i("ot38",1),i("ot38",1),i("ot38",1)],map:{display:!1},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-mil-02.img"},sound:{explode:"crate_break_01"}}),mil_crate_03:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[i("outfitWhite",1),i("outfitWhite",1),i("ots38_dual",1)],map:{display:!1},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-mil-03.img"},sound:{explode:"crate_break_01"}}),mil_crate_04:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[r("tier_guns",1,1),r("tier_throwables",2,3)],map:{display:!1},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-mil-04.img"},sound:{explode:"crate_break_01"}}),mil_crate_05:x({collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.7,1.25)),health:100,loot:[r("tier_guns",1,2),r("tier_snipers",1,2)],map:{display:!0,color:3622438},terrain:{grass:!0,beach:!0},img:{sprite:"map-crate-mil-05.img"},sound:{explode:"crate_break_01"}}),bottle_01:O({collision:xe.createCircle(ve.create(0,0),.5),health:12,hitParticle:"bottleBrownChip",explodeParticle:"bottleBrownBreak",img:{sprite:"map-bottle-01.img",residue:"none"},loot:[],sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}}),bottle_02:O({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.5,.5)),health:20,hitParticle:"bottleBlueChip",explodeParticle:"bottleBlueBreak",img:{sprite:"map-bottle-02.img",residue:"none"},loot:[],sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}}),bottle_02r:E({img:{tint:13172736}}),bottle_02o:E({collidable:!1,img:{tint:16734720}}),bottle_02y:E({collidable:!1,img:{tint:16776960}}),bottle_02g:E({collidable:!1,img:{tint:32768}}),bottle_02b:E({img:{tint:27903}}),bottle_02i:E({collidable:!1,img:{tint:4915330}}),bottle_02v:E({img:{tint:15631086}}),bottle_04:O({collision:xe.createCircle(ve.create(0,0),.5),health:20,hitParticle:"bottleWhiteChip",explodeParticle:"bottleWhiteBreak",img:{sprite:"map-bottle-04.img",residue:"none"},loot:[],sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}}),bottle_05:O({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.5,.5)),health:20,hitParticle:"bottleWhiteChip",explodeParticle:"bottleWhiteBreak",img:{sprite:"map-bottle-05.img",residue:"none"},loot:[],sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}}),candle_01:{type:"obstacle",map:{display:!1,color:16777215,scale:1},scale:{createMin:1,createMax:1,destroy:.5},collision:xe.createCircle(ve.create(0,0),.5),height:.5,collidable:!1,destructible:!1,health:150,hitParticle:"goldChip",explodeParticle:"barrelBreak",reflectBullets:!1,loot:[],img:{sprite:"map-candle-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"none",punch:"none",explode:"none",enter:"none"}},deposit_box_01:v({img:{sprite:"map-deposit-box-01.img"},loot:[r("tier_world",1,1)]}),deposit_box_02:v({explodeParticle:"depositBoxGoldBreak",img:{sprite:"map-deposit-box-02.img"},loot:[r("tier_soviet",1,2),r("tier_guns",1,1)]}),drawers_01:I({img:{sprite:"map-drawers-01.img"},loot:[r("tier_container",1,1)]}),drawers_02:I({img:{sprite:"map-drawers-02.img"},loot:[r("tier_soviet",2,3)]}),fire_ext_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(.35,0),1),height:.5,collidable:!0,destructible:!0,createSmoke:!0,health:75,hitParticle:"redChip",explodeParticle:"redBreak",reflectBullets:!0,loot:[],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-fire-ext-01.img",residue:"map-fire-ext-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"barrel_bullet",punch:"barrel_bullet",explode:"explosion_smoke_01",enter:"none"}},grill_01:P({collision:xe.createCircle(ve.create(0,0),1.55),img:{sprite:"map-grill-01.img"}}),gun_mount_01:T({loot:[i("m870",1)],img:{sprite:"map-gun-mount-01.img"}}),gun_mount_02:T({loot:[i("mp220",1)],img:{sprite:"map-gun-mount-02.img"}}),gun_mount_03:T({loot:[i("qbb97",1)],img:{sprite:"map-gun-mount-03.img"}}),gun_mount_04:T({loot:[i("woodaxe_bloody",1)],img:{sprite:"map-gun-mount-04.img"}}),gun_mount_05:T({loot:[i("m1100",1)],img:{sprite:"map-gun-mount-05.img"}}),locker_01:M({img:{sprite:"map-locker-01.img"},loot:[r("tier_world",1,1)]}),locker_02:M({img:{sprite:"map-locker-02.img"},loot:[r("tier_police",1,1)]}),locker_03:M({img:{sprite:"map-locker-03.img"},loot:[i("outfitKhaki",1),i("ak47",1),i("backpack02",1)]}),oven_01:P,piano_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,0),ve.create(3.75,1)),height:.5,collidable:!0,destructible:!1,health:75,hitParticle:"woodChip",explodeParticle:["woodPlank","book"],reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-piano-01.img",residue:"map-drawers-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"piano_hit",punch:"piano_hit",explode:"drawers_break_01",enter:"none"}},planter_01:A({}),planter_02:A({img:{sprite:"map-planter-02.img"}}),planter_03:A({img:{sprite:"map-planter-03.img"}}),planter_04:A({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),img:{sprite:"map-planter-04.img"},destructible:!1,button:{interactionRad:.1,interactionText:"game-use",useOnce:!0,useType:"",useDelay:.25,useDir:ve.create(1,0),useImg:"map-planter-05.img",sound:{on:"watering_01",off:"watering_01"}}}),planter_06:A({img:{sprite:"map-planter-06.img",residue:"map-planter-res-02.img"}}),planter_07:A({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),img:{sprite:"map-planter-07.img",residue:"map-planter-res-03.img"},destructible:!0}),pot_01:O({}),pot_02:O({img:{sprite:"map-pot-02.img"},loot:[i("spas12",1)]}),pot_03:O({img:{sprite:"map-pot-03.img"}}),pot_03b:O({img:{sprite:"map-pot-03.img"},loot:[i("outfitWoodsCloak",1),i("backpack03",1)]}),pot_03c:O({img:{sprite:"map-pot-03.img"},loot:[r("tier_pavilion",1,1)]}),pot_04:O({img:{sprite:"map-pot-04.img"}}),pot_05:O({img:{sprite:"map-pot-05.img"},loot:[i("scout",1),i("outfitIslander",1)]}),potato_01:D({}),potato_02:D({img:{sprite:"map-potato-02.img"}}),potato_03:D({img:{sprite:"map-potato-03.img"}}),power_box_01:C,pumpkin_01:B,pumpkin_02:B({health:140,img:{sprite:"map-pumpkin-02.img"},loot:[r("tier_guns",1,2),r("tier_surviv",1,2),r("tier_outfits",1,1)]}),refrigerator_01:L,refrigerator_01b:L({scale:{createMin:1,createMax:1,destroy:1},health:250}),recorder_01:R({button:{sound:{on:"log_01"}}}),recorder_02:R({button:{sound:{on:"log_02"}}}),recorder_03:R({button:{sound:{on:"log_03"}}}),recorder_04:R({button:{sound:{on:"log_04"}}}),recorder_05:R({button:{sound:{on:"log_05"}}}),recorder_06:R({button:{sound:{on:"log_06"}}}),recorder_07:R({button:{sound:{on:"footstep_07"}}}),recorder_08:R({button:{sound:{on:"footstep_08"}}}),recorder_09:R({button:{sound:{on:"footstep_09"}}}),recorder_10:R({button:{sound:{on:"cell_control_03"}}}),recorder_11:R({button:{sound:{on:"log_11"},useImg:"map-recorder-04.img"},img:{sprite:"map-recorder-03.img"},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.75,1.25))}),recorder_12:R({button:{sound:{on:"log_12"},useImg:"map-recorder-04.img"},img:{sprite:"map-recorder-03.img"},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.75,1.25))}),screen_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:.85},collision:xe.createAabbExtents(ve.create(0,.05),ve.create(4,.2)),height:.5,collidable:!0,destructible:!0,health:25,hitParticle:"clothHit",explodeParticle:"barrelBreak",reflectBullets:!1,loot:[],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-screen-01.img",residue:"map-screen-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"cloth_bullet",punch:"cloth_punch",explode:"screen_break_01",enter:"none"}},sandbags_01:F({}),sandbags_02:F({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.1,1.4)),img:{sprite:"map-sandbags-02.img"}}),silo_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createCircle(ve.create(0,0),7.75),height:10,collidable:!0,destructible:!1,health:300,hitParticle:"barrelChip",explodeParticle:"barrelBreak",reflectBullets:!0,loot:[],map:{display:!0,color:4079166,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-silo-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"silo_bullet",punch:"silo_bullet",explode:"barrel_break_01",enter:"none"}},stairs_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2)),height:.5,collidable:!1,destructible:!0,health:100,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-stairs-broken-01.img",residue:"map-table-res.img",scale:.5,alpha:1,tint:16777215,zIdx:60},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"crate_break_01",enter:"none"}},stand_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(1.25,1.25)),height:.5,collidable:!0,destructible:!0,health:75,hitParticle:"woodChip",explodeParticle:"woodPlank",reflectBullets:!1,loot:[r("tier_world",1,1)],map:{display:!1,color:6697728,scale:.875},terrain:{grass:!1,beach:!0},img:{sprite:"map-stand-01.img",residue:"map-drawers-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"drawers_break_01",enter:"none"}},stone_01:q({}),stone_01b:q({img:{residue:"map-stone-res-01b.img"}}),stone_01f:q({map:{display:!0,color:8224125,scale:1}}),stone_01sv:q({scale:{createMin:1.2,createMax:1.5,destroy:.5}}),stone_01x:q({map:{display:!0,color:6052956,scale:1},img:{sprite:"map-stone-01x.img",residue:"map-stone-res-01x.img"}}),stone_02:q({img:{tint:15066597},loot:[r("tier_surviv",2,3),i("ak47",1),i("outfitKhaki",1)]}),stone_02sv:q({img:{tint:15066597},loot:[r("tier_surviv",2,3),i("m39",1),i("outfitKhaki",1),r("tier_perks",1,1)]}),stone_03:j({}),stone_03b:j({img:{sprite:"map-stone-03b.img",residue:"map-stone-res-01.img"}}),stone_03f:j({img:{sprite:"map-stone-03f.img",residue:"map-stone-res-02f.img"}}),stone_03x:j({img:{sprite:"map-stone-03x.img",residue:"map-stone-res-02x.img"}}),stone_04:q({stonePlated:!0,scale:{createMin:.8,createMax:.8,destroy:.75},hitParticle:"rockEyeChip",explodeParticle:"rockEyeBreak",loot:[r("tier_eye_block",1,1)],terrain:{grass:!0,beach:!0,riverShore:!0},map:{display:!0,color:1512466,scale:1},collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.8,1.8)),img:{sprite:"map-stone-04.img",residue:"map-stone-res-04.img"}}),stone_05:q({stonePlated:!0,hitParticle:"rockEyeChip",explodeParticle:"rockEyeBreak",loot:[r("tier_eye_stone",1,1)],terrain:{grass:!0,beach:!0,riverShore:!0},map:{display:!0,color:1512466,scale:1},collision:xe.createCircle(ve.create(0,0),1.7),img:{sprite:"map-stone-05.img",residue:"map-stone-res-01b.img"}}),stone_06:q({stonePlated:!0,scale:{createMin:1,createMax:1,destroy:.8},height:10,terrain:{grass:!0,beach:!0,riverShore:!0},map:{display:!0,color:3618615,scale:1},collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.5,2)),img:{sprite:"map-stone-06.img",scale:.5,residue:"map-stone-res-06.img"}}),stone_07:q({scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,0),7.75),health:500,map:{display:!0,color:9931908,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-stone-07.img",residue:"map-stone-res-07.img",scale:.5,alpha:1,tint:16777215,zIdx:10}}),stove_01:C({scale:{createMin:1,createMax:1,destroy:.85},collision:xe.createAabbExtents(ve.create(0,0),ve.create(3,2.25)),disableBuildingOccupied:!0,damageCeiling:!0,explosion:"explosion_stove",height:10,health:500,img:{sprite:"map-stove-01.img"},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"oven_break_01",enter:"none"}}),stove_02:C({collision:xe.createCircle(ve.create(0,0),1.5),disableBuildingOccupied:!0,damageCeiling:!0,explosion:"explosion_stove",height:10,health:400,img:{sprite:"map-stove-02.img"},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"oven_break_01",enter:"none"}}),table_01:N,table_01x:N({img:{sprite:"map-table-01x.img"}}),table_02:N({collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.5,2.5)),health:125,img:{sprite:"map-table-02.img",residue:"map-table-res.img",scale:.5,alpha:1,tint:16777215,zIdx:60}}),table_02x:N({collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.5,2.5)),health:125,img:{sprite:"map-table-02x.img",residue:"map-table-res.img",scale:.5,alpha:1,tint:16777215,zIdx:60}}),table_03:N({collision:xe.createCircle(ve.create(0,0),2.5),health:125,img:{sprite:"map-table-03.img",residue:"map-table-res.img",scale:.5,alpha:1,tint:16777215,zIdx:60}}),table_03x:N({collision:xe.createCircle(ve.create(0,0),2.5),health:125,img:{sprite:"map-table-03x.img",residue:"map-table-res.img",scale:.5,alpha:1,tint:16777215,zIdx:60}}),tire_01:function(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.8},collision:xe.createCircle(ve.create(0,0),1.75),height:.5,collidable:!0,destructible:!0,health:1500,hitParticle:"blackChip",explodeParticle:"barrelBreak",reflectBullets:!1,loot:[],map:{display:!0,color:6708838,scale:1},terrain:{grass:!0,beach:!0},img:{sprite:"map-tire-01.img",scale:.4,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"cloth_bullet",punch:"cloth_punch",explode:"cloth_break_01",enter:"none"}};return Se.mergeDeep(t,e||{})}({}),toilet_01:H({img:{sprite:"map-toilet-01.img"},loot:[r("tier_toilet",2,3)]}),toilet_02:H({img:{sprite:"map-toilet-02.img"},loot:[r("tier_soviet",3,4)]}),toilet_02b:H({img:{sprite:"map-toilet-02.img",tint:11842740},loot:[i("fireaxe",1)]}),toilet_03:H({reflectBullets:!0,hitParticle:"barrelChip",explodeParticle:"toiletMetalBreak",img:{sprite:"map-toilet-03.img",residue:"map-toilet-res-02.img"},loot:[r("tier_world",1,2)],sound:{bullet:"toilet_metal_bullet",punch:"toilet_metal_bullet",explode:"toilet_break_02"}}),toilet_04:H({reflectBullets:!0,hitParticle:"barrelChip",explodeParticle:"toiletMetalBreak",img:{sprite:"map-toilet-04.img",residue:"map-toilet-res-02.img"},loot:[r("tier_soviet",2,3)],sound:{bullet:"toilet_metal_bullet",punch:"toilet_metal_bullet",explode:"toilet_break_02"}}),towelrack_01:m({collision:xe.createAabbExtents(ve.create(0,0),ve.create(3,1)),img:{sprite:"map-towelrack-01.img"},explodeParticle:["woodPlank","clothBreak"]}),tree_01:V,tree_01sv:V({map:{color:4411673},img:{sprite:"map-tree-03sv.img"}}),tree_interior_01:V({img:{zIdx:200}}),tree_01x:V({img:{sprite:"map-tree-01x.img"}}),tree_02:V({health:120,collision:xe.createCircle(ve.create(0,0),1.6),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(1.6,1.6)),height:.5,loot:[i("woodaxe",1)],map:{display:!1},scale:{createMin:1,createMax:1,destroy:.9},terrain:{grass:!0,beach:!1},img:{sprite:"map-tree-04.img",scale:.5,zIdx:10}}),tree_03:V({img:{tint:11645361},loot:[r("tier_surviv",2,3),i("mosin",1),i("outfitWoodland",1)]}),tree_03sv:V({map:{color:4411673},img:{sprite:"map-tree-03sv.img",tint:11645361},loot:[r("tier_surviv",2,3),i("mosin",1),i("outfitWoodland",1)]}),tree_05:V({collision:xe.createCircle(ve.create(0,0),2.3),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(12,12)),scale:{createMin:1.2,createMax:1.3},health:400,map:{color:5911831,scale:3},img:{sprite:"map-tree-05.img",residue:"map-tree-res-02.img",tint:16777215,scale:.7,zIdx:801}}),tree_05b:V({collision:xe.createCircle(ve.create(0,0),2.3),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(12,12)),scale:{createMin:1,createMax:1},health:500,loot:[r("tier_shotguns",1,1),r("tier_lmgs",1,1),i("outfitTreeSpooky",1)],map:{color:5911831,scale:3},img:{sprite:"map-tree-05.img",residue:"map-tree-res-02.img",tint:16777215,scale:.7,zIdx:801}}),tree_05c:V({collision:xe.createCircle(ve.create(0,0),1.05),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(4,4)),scale:{createMin:1.6,createMax:1.6},health:200,map:{color:9064739,scale:3},img:{sprite:"map-tree-05c.img",residue:"map-tree-res-02.img",tint:16777215,scale:.35,zIdx:801}}),tree_06:V({img:{sprite:"map-tree-06.img"},map:{color:7700520}}),tree_07:V({scale:{createMin:1,createMax:1.2},map:{color:5199637,scale:2.5},img:{sprite:"map-tree-07.img"}}),tree_07sp:V({scale:{createMin:1,createMax:1.2},map:{color:16697057,scale:2.5},img:{sprite:"map-tree-07sp.img"},terrain:{grass:!0,beach:!1,riverShore:!0}}),tree_07spr:V({scale:{createMin:1,createMax:1.2},map:{color:16697057,scale:2.5},img:{sprite:"map-tree-07sp.img"},terrain:{grass:!1,beach:!1,riverShore:!0}}),tree_07su:V({scale:{createMin:1,createMax:1.2},map:{color:2185478,scale:2.5},img:{sprite:"map-tree-07su.img"}}),tree_08:V({scale:{createMin:1.2,createMax:1.4},health:225,map:{color:11033868,scale:2.5},img:{sprite:"map-tree-08.img",residue:"map-tree-res-02.img",scale:.35}}),tree_08b:V({scale:{createMin:1.75,createMax:2},health:300,map:{color:9647632,scale:3},img:{sprite:"map-tree-08.img",residue:"map-tree-res-02.img",tint:14383224,scale:.35,zIdx:801}}),tree_08c:V({scale:{createMin:1.75,createMax:2},health:500,loot:[r("tier_shotguns",2,3),r("tier_lmgs",2,3),i("outfitWoodland",1)],map:{color:7817749,scale:3},img:{sprite:"map-tree-08.img",residue:"map-tree-res-02.img",tint:11645361,scale:.35,zIdx:801}}),tree_08f:V({scale:{createMin:1.2,createMax:1.6},health:200,map:{color:995844,scale:3},img:{sprite:"map-tree-08f.img",residue:"map-tree-res-01.img",scale:.35,zIdx:801}}),tree_08sp:V({scale:{createMin:1.2,createMax:1.4},health:225,map:{color:16746936,scale:2.5},img:{sprite:"map-tree-08sp.img",residue:"map-tree-res-02.img",scale:.35},terrain:{grass:!0,beach:!1,riverShore:!0}}),tree_08spb:V({scale:{createMin:1.75,createMax:2},health:300,map:{color:16734619,scale:3},img:{sprite:"map-tree-08sp.img",residue:"map-tree-res-02.img",tint:14383224,scale:.35,zIdx:801},terrain:{grass:!0,beach:!1,riverShore:!0}}),tree_08spc:V({scale:{createMin:1.75,createMax:2},health:500,loot:[r("tier_shotguns",2,3),r("tier_lmgs",2,3),i("outfitWoodland",1)],map:{color:8268107,scale:3},img:{sprite:"map-tree-08sp.img",residue:"map-tree-res-02.img",tint:11645361,scale:.35,zIdx:801}}),tree_08spr:V({scale:{createMin:1.2,createMax:1.4},health:225,map:{color:16746936,scale:2.5},img:{sprite:"map-tree-08sp.img",residue:"map-tree-res-02.img",scale:.35},terrain:{grass:!1,beach:!1,riverShore:!0}}),tree_08su:V({scale:{createMin:1.2,createMax:1.4},health:225,map:{color:2183181,scale:2.5},img:{sprite:"map-tree-08su.img",residue:"map-tree-res-01.img",scale:.35,zIdx:801}}),tree_08sub:V({scale:{createMin:1.75,createMax:2},health:300,map:{color:1785864,scale:3},img:{sprite:"map-tree-08su.img",residue:"map-tree-res-02.img",tint:9211210,scale:.35,zIdx:801},terrain:{grass:!0,beach:!1,riverShore:!0}}),tree_09:V({health:120,collision:xe.createCircle(ve.create(0,0),1.6),aabb:xe.createAabbExtents(ve.create(0,0),ve.create(5.75,5.75)),height:.5,map:{display:!0,color:8602624,scale:1},scale:{createMin:1,createMax:1,destroy:.75},terrain:{grass:!0,beach:!1},img:{sprite:"map-tree-09.img",scale:.5,zIdx:10}}),tree_10:V({collision:xe.createCircle(ve.create(0,0),1.25),scale:{createMin:.9,createMax:1.1},map:{color:7571807,scale:2.5},img:{sprite:"map-tree-10.img"}}),tree_11:V({collision:xe.createCircle(ve.create(0,0),1.25),scale:{createMin:1,createMax:1},img:{sprite:"map-tree-11.img",scale:.5,alpha:.92,zIdx:201}}),tree_12:V({map:{color:8032292,scale:7},img:{sprite:"map-tree-12.img",residue:"map-tree-res-12.img",tint:16777215,zIdx:801}}),tree_13:V({img:{sprite:"map-tree-13.img",tint:16777215,zIdx:801}}),tree_switch_01:U({img:{sprite:"map-tree-switch-01.img"}}),tree_switch_02:U({img:{sprite:"map-tree-switch-02.img"}}),tree_switch_03:U({img:{sprite:"map-tree-switch-03.img"}}),vat_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:.9},collision:xe.createCircle(ve.create(0,0),2),height:.5,collidable:!0,destructible:!0,health:250,reflectBullets:!1,hitParticle:"glassChip",explodeParticle:"windowBreak",loot:[],map:{display:!0,color:11776947,scale:1},terrain:{grass:!1,beach:!1},img:{sprite:"map-vat-01.img",residue:"map-vat-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}},vat_02:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:.95},collision:xe.createCircle(ve.create(0,0),3.1),height:.5,collidable:!0,destructible:!1,health:1e3,reflectBullets:!1,hitParticle:"glassChip",explodeParticle:"windowBreak",loot:[],map:{display:!0,color:11776947,scale:1},terrain:{grass:!0,beach:!1},img:{sprite:"map-vat-02.img",residue:"map-vat-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_01",enter:"none"}},vending_01:function(e){var t={type:"obstacle",scale:{createMin:1,createMax:1,destroy:.75},collision:xe.createAabbExtents(ve.create(0,.15),ve.create(1.7,1.25)),height:.5,collidable:!0,destructible:!0,health:150,hitParticle:"blueChip",explodeParticle:["windowBreak","lockerBreak"],reflectBullets:!0,loot:[r("tier_vending_soda",1,3),i("soda",1)],map:{display:!1,color:10925,scale:.875},terrain:{grass:!0,beach:!0},img:{sprite:"map-vending-soda-01.img",residue:"map-vending-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"wall_bullet",punch:"metal_punch",explode:"vending_break_01",enter:"none"}};return Se.mergeDeep(t,{})},wheel_01:G({button:{interactionRad:1,interactionText:"game-use",useOnce:!0,useType:"",useDelay:2.5,useDir:ve.create(-1,0),useImg:"map-wheel-02.img",sound:{on:"wheel_control_01",off:""}}}),wheel_02:G({img:{sprite:"map-wheel-02.img"}}),wheel_03:G({img:{sprite:"map-wheel-03.img"}}),woodpile_01:K({}),woodpile_02:K({collision:xe.createAabbExtents(ve.create(0,0),ve.create(6,3)),health:400,destructible:!0,img:{sprite:"map-woodpile-02.img",residue:"map-woodpile-res-02.img"}}),bank_window_01:{type:"obstacle",scale:{createMin:1,createMax:1,destroy:1},collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,2)),height:10,collidable:!0,destructible:!0,isWindow:!0,health:75,hitParticle:"glassChip",explodeParticle:["windowBreak","redPlank"],reflectBullets:!1,loot:[],img:{sprite:"map-building-bank-window-01.img",residue:"map-building-bank-window-res-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10},sound:{bullet:"glass_bullet",punch:"glass_bullet",explode:"window_break_02",enter:"none"}},house_door_01:z({material:"wood",hinge:ve.create(0,2),extents:ve.create(.3,2)}),house_door_02:z({material:"metal",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{sound:{open:"door_open_02",close:"door_close_02"}},img:{tint:4934475}}),house_door_03:z({material:"wood",hinge:ve.create(0,2),extents:ve.create(.5,1.75),img:{sprite:"map-door-03.img"}}),house_door_05:z({material:"glass",hinge:ve.create(0,2),extents:ve.create(.3,2),img:{sprite:"map-door-05.img"}}),house_door_06:z({material:"wood",hinge:ve.create(0,1.25),extents:ve.create(.3,1.25),img:{sprite:"map-door-06.img"}}),crossing_door_01:z({material:"metal",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{canUse:!1,openOnce:!0,sound:{open:"door_open_02",close:"door_close_02"}},img:{tint:3159362}}),cell_door_01:z({material:"metal",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{canUse:!1,openOnce:!0,sound:{open:"door_open_02",close:"door_close_02"}},img:{tint:1776411}}),eye_door_01:z({material:"metal",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{canUse:!1,openOnce:!0,openOneWay:-1,sound:{open:"door_open_02",close:"door_close_02"}},img:{tint:921102}}),lab_door_01:k({img:{tint:5373952}}),lab_door_02:k({door:{openOneWay:!0,slideOffset:-3.75,casingImg:{pos:ve.create(6,0)}},img:{tint:5373952}}),lab_door_03:k({door:{openOneWay:!0},img:{tint:5373952}}),house_window_01:be,house_window_broken_01:_e,lab_window_01:be({destroyType:"lab_window_broken_01"}),lab_window_broken_01:_e({img:{tint:1316379}}),container_05_collider:W({material:"metal",extents:ve.create(2.75,6)}),container_05:{type:"building",scale:{createMin:1,createMax:1,destroy:.5},zIdx:1,map:{display:!0,color:11485762,scale:1},terrain:{grass:!1,beach:!1},floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]}],imgs:[{sprite:"",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,2.4),ve.create(2.5,5.75))}],imgs:[{sprite:"map-building-container-ceiling-05.img",scale:.5,alpha:1,tint:11485762}]},mapObjects:[{type:"container_05_collider",pos:ve.create(0,2.4),scale:1,ori:0}]},greenhouse_01:ae({}),greenhouse_02:ae({floor_images:[{sprite:"map-building-greenhouse-floor-02.img",pos:ve.create(0,10),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-building-greenhouse-floor-02.img",pos:ve.create(0,-10),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-porch-01.img",pos:ve.create(0,21),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-building-porch-01.img",pos:ve.create(0,-21),scale:.5,alpha:1,tint:16777215,rot:2}],ceiling_images:[{sprite:"map-building-greenhouse-ceiling-02.img",scale:1,alpha:1,tint:16777215}],mapObjects:[{type:"glass_wall_10",pos:ve.create(-7,19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(-7,-19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(-12.5,15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-12.5,5),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-12.5,-15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(-12.5,-5),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(7,19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(7,-19.5),scale:1,ori:1},{type:"glass_wall_10",pos:ve.create(12.5,15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(12.5,5),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(12.5,-15),scale:1,ori:0},{type:"glass_wall_10",pos:ve.create(12.5,-5),scale:1,ori:0},{type:"house_door_05",pos:ve.create(2,19.75),scale:1,ori:1},{type:"house_door_05",pos:ve.create(-2,-19.75),scale:1,ori:3},{type:o({planter_06:2,"":1}),pos:ve.create(-4.5,14.5),scale:1,ori:0},{type:o({planter_06:2,"":1}),pos:ve.create(-7,2.5),scale:1,ori:1},{type:o({planter_06:2,"":1}),pos:ve.create(-7,-2.5),scale:1,ori:1},{type:o({planter_06:2,"":1}),pos:ve.create(-4.5,-14.5),scale:1,ori:0},{type:o({planter_06:2,"":1}),pos:ve.create(4.5,14.5),scale:1,ori:0},{type:o({planter_06:2,"":1}),pos:ve.create(7,2.5),scale:1,ori:1},{type:o({planter_06:2,"":1}),pos:ve.create(7,-2.5),scale:1,ori:1},{type:o({planter_06:2,"":1}),pos:ve.create(4.5,-14.5),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-15,11),scale:.9,ori:0},{type:"sandbags_02",pos:ve.create(-15,7),scale:1,ori:0},{type:"sandbags_02",pos:ve.create(15.5,-7),scale:1,ori:1},{type:"barrel_01",pos:ve.create(19.5,-7),scale:.9,ori:0},{type:"bunker_structure_08b",pos:ve.create(-9.5,-15.5),scale:1,ori:0}]}),bunker_chrys_01:{type:"building",map:{display:!1,shapes:[{collider:xe.createAabbExtents(ve.create(0,10),ve.create(3.6,5.8)),color:6707790}]},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(1.5,3.25))]}],imgs:[{sprite:"map-bunker-generic-floor-03.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,-.25),ve.create(1.5,3.25))}],imgs:[{sprite:"map-bunker-generic-ceiling-02.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215,rot:0}]},mapObjects:[{type:"metal_wall_ext_5",pos:ve.create(0,-3),scale:1,ori:1},{type:"metal_wall_ext_7",pos:ve.create(-2,.1),scale:1,ori:0},{type:"metal_wall_ext_7",pos:ve.create(2,.1),scale:1,ori:0}]},lab_door_chrys:z({destructible:!1,material:"concrete",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{canUse:!1,openOnce:!0,openOneWay:!1,openSpeed:7,autoOpen:!1,autoClose:!1,slideToOpen:!0,slideOffset:3.75,sound:{open:"door_open_03",close:"door_close_03",error:"door_error_01"},casingImg:{sprite:"map-door-slot-01.img",pos:ve.create(-2,0),scale:.5,alpha:1,tint:1316379}},img:{tint:5373952}}),bunker_chrys_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(11,-12),ve.create(14.5,9))]}],imgs:[{sprite:"map-bunker-chrys-chamber-floor-01a.img",pos:ve.create(0,1.85),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-chrys-chamber-floor-01b.img",pos:ve.create(11,-10.75),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(11,-12),ve.create(14.5,9))}],imgs:[{sprite:"map-bunker-chrys-chamber-ceiling-01.img",pos:ve.create(11.5,-11),scale:1,alpha:1,tint:6182731}]},puzzle:{name:"bunker_chrys_01",completeUseType:"lab_door_chrys",completeOffDelay:1,completeUseDelay:2,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"none"}},mapObjects:[{type:"concrete_wall_ext_5",pos:ve.create(0,4),scale:1,ori:1},{type:"metal_wall_ext_thicker_26",pos:ve.create(-3,-8.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_9",pos:ve.create(3,0),scale:1,ori:0},{type:"metal_wall_ext_thicker_19",pos:ve.create(14,-3),scale:1,ori:1},{type:"metal_wall_ext_thicker_25",pos:ve.create(11,-20),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(25,-5.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(25,-17.5),scale:1,ori:0},{type:"locker_01",pos:ve.create(4.5,-4.15),scale:1,ori:0},{type:"locker_03",pos:ve.create(8,-4.15),scale:1,ori:0},{type:"barrel_01",pos:ve.create(.5,-16.5),scale:.9,ori:0},{type:"crate_01",pos:ve.create(12,-9.5),scale:.8,ori:0},{type:"crate_01",pos:ve.create(12,-13.5),scale:.8,ori:0},{type:"couch_01",pos:ve.create(15.5,-11.5),scale:1,ori:1},{type:"screen_01",pos:ve.create(23,-11.5),scale:1,ori:1},{type:"switch_01",pos:ve.create(18.5,-4.25),scale:1,ori:0,puzzlePiece:"ichi"},{type:"switch_01",pos:ve.create(21.5,-4.25),scale:1,ori:0,puzzlePiece:"shi"},{type:"switch_01",pos:ve.create(18.5,-18.75),scale:1,ori:2,puzzlePiece:"ni"},{type:"switch_01",pos:ve.create(21.5,-18.75),scale:1,ori:2,puzzlePiece:"san"},{type:"lab_door_chrys",pos:ve.create(25.5,-9.5),scale:1,ori:2},{type:"bunker_chrys_compartment_01",pos:ve.create(39.5,-6),scale:1,ori:0},{type:"bunker_chrys_compartment_02",pos:ve.create(43.5,19),scale:1,ori:0},{type:"bunker_chrys_compartment_03",pos:ve.create(43.5,43),scale:1,ori:0}]},bunker_chrys_sublevel_01b:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(11,-12),ve.create(14.5,9))]}],imgs:[{sprite:"map-bunker-chrys-chamber-floor-01a.img",pos:ve.create(0,1.85),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-chrys-chamber-floor-01b.img",pos:ve.create(11,-10.75),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(11,-12),ve.create(14.5,9))}],imgs:[{sprite:"map-bunker-chrys-chamber-ceiling-01.img",pos:ve.create(11.5,-11),scale:1,alpha:1,tint:6182731}]},mapObjects:[{type:"concrete_wall_ext_5",pos:ve.create(0,4),scale:1,ori:1},{type:"metal_wall_ext_thicker_26",pos:ve.create(-3,-8.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_9",pos:ve.create(3,0),scale:1,ori:0},{type:"metal_wall_ext_thicker_19",pos:ve.create(14,-3),scale:1,ori:1},{type:"metal_wall_ext_thicker_25",pos:ve.create(11,-20),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(25,-5.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(25,-17.5),scale:1,ori:0},{type:"locker_01",pos:ve.create(4.5,-4.15),scale:1,ori:0},{type:"barrel_01",pos:ve.create(.5,-16.5),scale:.9,ori:0},{type:"crate_01",pos:ve.create(12,-9.5),scale:.8,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(12,-13.5),scale:.8,ori:0,ignoreMapSpawnReplacement:!0},{type:"couch_01",pos:ve.create(15.5,-11.5),scale:1,ori:1},{type:"switch_02",pos:ve.create(18.5,-4.25),scale:1,ori:0},{type:"switch_02",pos:ve.create(21.5,-4.25),scale:1,ori:0},{type:"switch_02",pos:ve.create(18.5,-18.75),scale:1,ori:2},{type:"switch_02",pos:ve.create(21.5,-18.75),scale:1,ori:2},{type:"lab_door_01",pos:ve.create(25.5,-9.5),scale:1,ori:2},{type:"bunker_chrys_compartment_01b",pos:ve.create(39.5,-6),scale:1,ori:0},{type:"bunker_chrys_compartment_02b",pos:ve.create(43.5,19),scale:1,ori:0},{type:"bunker_chrys_compartment_03b",pos:ve.create(43.5,43),scale:1,ori:0}]},vault_door_chrys_01:z({material:"metal",hinge:ve.create(1,3.5),extents:ve.create(1,3.5),img:{sprite:"map-door-02.img"},door:{interactionRad:1.5,openSpeed:.23,openOneWay:-1,openDelay:4.1,openOnce:!0,spriteAnchor:ve.create(.2,1),sound:{open:"none",close:"none",change:"vault_change_01"}}}),vault_door_chrys_02:z({material:"metal",hinge:ve.create(1,3.5),extents:ve.create(1,3.5),img:{sprite:"map-door-02.img"},door:{canUse:!1,spriteAnchor:ve.create(.2,1)}}),bunker_chrys_compartment_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,2),ve.create(14,13))]}],imgs:[{sprite:"map-bunker-chrys-compartment-floor-01a.img",pos:ve.create(-12.5,-4.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-chrys-compartment-floor-01b.img",pos:ve.create(3.5,2),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,2),ve.create(14,13))}],imgs:[{sprite:"map-bunker-chrys-compartment-ceiling-01a.img",pos:ve.create(-10.5,-2.5),scale:1,alpha:1,tint:6182731},{sprite:"map-bunker-chrys-compartment-ceiling-01b.img",pos:ve.create(4,3),scale:1,alpha:1,tint:6182731}]},puzzle:{name:"bunker_chrys_02",completeUseType:"vault_door_chrys_01",completeOffDelay:1,completeUseDelay:5.5,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"vault_change_03"}},mapObjects:[{type:"metal_wall_ext_thicker_4",pos:ve.create(-11,-2),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(-11,1),scale:1,ori:1},{type:"metal_wall_ext_thicker_27",pos:ve.create(.5,-9),scale:1,ori:1},{type:"metal_wall_ext_thicker_42",pos:ve.create(15.5,10.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_34",pos:ve.create(-7.5,17),scale:1,ori:0},{type:"metal_wall_column_4x8",pos:ve.create(-3.5,14.5),scale:1,ori:1},{type:"metal_wall_column_4x8",pos:ve.create(11.5,14.5),scale:1,ori:1},{type:o({crate_01:2,crate_04:1}),pos:ve.create(1.5,5),scale:1,ori:0},{type:o({crate_01:2,crate_04:1}),pos:ve.create(1.5,0),scale:1,ori:0},{type:o({crate_01:2,crate_04:1}),pos:ve.create(6.5,5),scale:1,ori:0},{type:o({crate_01:2,crate_04:1}),pos:ve.create(6.5,0),scale:1,ori:0},{type:"vault_door_chrys_01",pos:ve.create(.5,15.5),scale:1,ori:3},{type:"loot_tier_chrys_01",pos:ve.create(12,-5.5),scale:1,ori:0}]},bunker_chrys_compartment_01b:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,2),ve.create(14,13))]}],imgs:[{sprite:"map-bunker-chrys-compartment-floor-01a.img",pos:ve.create(-12.5,-4.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-chrys-compartment-floor-01c.img",pos:ve.create(3.5,2),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,2),ve.create(14,13))}],imgs:[{sprite:"map-bunker-chrys-compartment-ceiling-01a.img",pos:ve.create(-10.5,-2.5),scale:1,alpha:1,tint:6182731},{sprite:"map-bunker-chrys-compartment-ceiling-01b.img",pos:ve.create(4,3),scale:1,alpha:1,tint:6182731}]},puzzle:{name:"bunker_chrys_02",completeUseType:"vault_door_chrys_02",completeOffDelay:1,completeUseDelay:5.5,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"vault_change_03"}},mapObjects:[{type:"metal_wall_ext_thicker_4",pos:ve.create(-11,-2),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(-11,1),scale:1,ori:1},{type:"metal_wall_ext_thicker_27",pos:ve.create(.5,-9),scale:1,ori:1},{type:"metal_wall_ext_thicker_42",pos:ve.create(15.5,10.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_34",pos:ve.create(-7.5,17),scale:1,ori:0},{type:"metal_wall_column_4x8",pos:ve.create(-3.5,14.5),scale:1,ori:1},{type:"metal_wall_column_4x8",pos:ve.create(11.5,14.5),scale:1,ori:1},{type:o({planter_07:2,"":1}),pos:ve.create(-.5,7),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(2.5,7),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(5.5,7),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(8.5,7),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(-.5,4),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(8.5,4),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(-.5,1),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(8.5,1),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(-.5,-2),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(2.5,-2),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(5.5,-2),scale:1,ori:0},{type:o({planter_07:2,"":1}),pos:ve.create(8.5,-2),scale:1,ori:0},{type:"vault_door_chrys_02",pos:ve.create(.5,15.5),scale:1,ori:0}]},bunker_chrys_compartment_02:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(10,10))]}],imgs:[{sprite:"map-bunker-chrys-compartment-floor-02a.img",pos:ve.create(0,-2.75),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-chrys-compartment-floor-02b.img",pos:ve.create(0,9.75),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(10,11))}],imgs:[{sprite:"map-bunker-chrys-compartment-ceiling-02a.img",pos:ve.create(0,8.5),scale:1,alpha:1,tint:6182731},{sprite:"map-bunker-chrys-compartment-ceiling-02b.img",pos:ve.create(0,-2.5),scale:1,alpha:1,tint:6182731}]},mapObjects:[{type:"metal_wall_ext_thicker_4",pos:ve.create(-8,6),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(8,6),scale:1,ori:1},{type:"metal_wall_ext_thicker_6",pos:ve.create(-7.5,10.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(7.5,10.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-4,12),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(4,12),scale:1,ori:1},{type:"loot_tier_chrys_02",pos:ve.create(8,-6.5),scale:1,ori:0},{type:"glass_wall_12",pos:ve.create(0,5),scale:1,ori:1},{type:"control_panel_06",pos:ve.create(-8.5,1.5),scale:1,ori:1}]},bunker_chrys_compartment_02b:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(10,10))]}],imgs:[{sprite:"map-bunker-chrys-compartment-floor-02a.img",pos:ve.create(0,-2.75),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-chrys-compartment-floor-02c.img",pos:ve.create(0,9.75),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(10,11))}],imgs:[{sprite:"map-bunker-chrys-compartment-ceiling-02a.img",pos:ve.create(0,8.5),scale:1,alpha:1,tint:6182731},{sprite:"map-bunker-chrys-compartment-ceiling-02b.img",pos:ve.create(0,-2.5),scale:1,alpha:1,tint:6182731}]},mapObjects:[{type:"metal_wall_ext_thicker_4",pos:ve.create(-8,6),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(8,6),scale:1,ori:1},{type:"metal_wall_ext_thicker_6",pos:ve.create(-7.5,10.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(7.5,10.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-4,12),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(4,12),scale:1,ori:1},{type:"loot_tier_chrys_01",pos:ve.create(8,-6.5),scale:1,ori:0},{type:"control_panel_06",pos:ve.create(-8.5,1.5),scale:1,ori:1},{type:"control_panel_06",pos:ve.create(8.5,1.5),scale:1,ori:3},{type:"stone_wall_int_4",pos:ve.create(0,10.9),scale:1,ori:1}]},bunker_chrys_compartment_03:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,-1),ve.create(10,14))]},{type:"grass",collision:[xe.createAabbExtents(ve.create(0,11),ve.create(10,4)),xe.createAabbExtents(ve.create(-7,-3),ve.create(3,3)),xe.createAabbExtents(ve.create(8,-3),ve.create(2,3))]}],imgs:[{sprite:"map-bunker-chrys-compartment-floor-03a.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(10,13))}],imgs:[{sprite:"map-bunker-chrys-compartment-ceiling-03a.img",pos:ve.create(0,-9.5),scale:1,alpha:1,tint:6182731,rot:0},{sprite:"map-bunker-chrys-compartment-ceiling-03b.img",pos:ve.create(0,3),scale:1,alpha:1,tint:6182731,rot:0}]},mapObjects:[{type:"metal_wall_ext_thicker_5",pos:ve.create(-7.5,-8),scale:1,ori:0},{type:"metal_wall_ext_thicker_5",pos:ve.create(7.5,-8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-11,-7),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(11,-7),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(-11.5,4.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(11.5,4.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(0,13),scale:1,ori:1},{type:"crate_01",pos:ve.create(0,4.75),scale:.9,ori:0},{type:"crate_01",pos:ve.create(3,.5),scale:.9,ori:0},{type:"crate_01",pos:ve.create(-3,.5),scale:.9,ori:0},{type:"wheel_03",pos:ve.create(0,9.1),scale:1,ori:0},{type:"wheel_03",pos:ve.create(-7.6,1),scale:1,ori:1},{type:"wheel_03",pos:ve.create(7.6,1),scale:1,ori:3},{type:"loot_tier_chrys_03",pos:ve.create(0,-5.5),scale:1,ori:0}]},bunker_chrys_compartment_03b:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,-1),ve.create(10,14))]},{type:"grass",collision:[xe.createAabbExtents(ve.create(0,11),ve.create(10,4)),xe.createAabbExtents(ve.create(-7,-3),ve.create(3,3)),xe.createAabbExtents(ve.create(8,-3),ve.create(2,3))]}],imgs:[{sprite:"map-bunker-chrys-compartment-floor-03a.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(10,13))}],imgs:[{sprite:"map-bunker-chrys-compartment-ceiling-03a.img",pos:ve.create(0,-9.5),scale:1,alpha:1,tint:6182731,rot:0},{sprite:"map-bunker-chrys-compartment-ceiling-03b.img",pos:ve.create(0,3),scale:1,alpha:1,tint:6182731,rot:0}]},mapObjects:[{type:"metal_wall_ext_thicker_5",pos:ve.create(-7.5,-8),scale:1,ori:0},{type:"metal_wall_ext_thicker_5",pos:ve.create(7.5,-8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-11,-7),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(11,-7),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(-11.5,4.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(11.5,4.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(0,13),scale:1,ori:1},{type:"crate_01",pos:ve.create(0,4.75),scale:.9,ori:0},{type:"crate_01",pos:ve.create(3,.5),scale:.9,ori:0},{type:"crate_01",pos:ve.create(-3,.5),scale:.9,ori:0},{type:"wheel_03",pos:ve.create(0,9.1),scale:1,ori:0},{type:"wheel_03",pos:ve.create(-7.6,1),scale:1,ori:1},{type:"wheel_02",pos:ve.create(7.6,1),scale:1,ori:3},{type:"case_05",pos:ve.create(0,-5.5),scale:1,ori:0}]},bunker_structure_08:re({bunkerType:"bunker_chrys_sublevel_01"}),bunker_structure_08b:re({bunkerType:"bunker_chrys_sublevel_01b"}),hedgehog_wall:W({material:"metal",extents:ve.create(3,.5),height:.5,map:{display:!0,color:5854285,scale:1}}),hedgehog_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!1,beach:!0},floor:{surfaces:[],imgs:[{sprite:"map-hedgehog-01.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"hedgehog_wall",pos:ve.create(0,0),scale:1,ori:1},{type:"hedgehog_wall",pos:ve.create(0,0),scale:1,ori:0}]},cache_01:g({}),cache_01sv:g({mapObjects:[{type:"stone_02sv",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_initiative_01",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1}]}),cache_02:g({mapObjects:[{type:"tree_03",pos:ve.create(0,0),scale:.9,ori:0},{type:"decal_initiative_01",pos:ve.create(0,0),scale:1.2,ori:0,inheritOri:!1}]}),cache_02sv:g({mapObjects:[{type:"tree_03sv",pos:ve.create(0,0),scale:.9,ori:0},{type:"decal_initiative_01",pos:ve.create(0,0),scale:1.2,ori:0,inheritOri:!1}]}),cache_03:g({mapObjects:[{type:"bush_06",pos:ve.create(0,0),scale:1,ori:0},{type:"loot_tier_leaf_pile",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1}]}),cache_04:g({mapObjects:[{type:"pumpkin_01",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_light_01",pos:ve.create(0,0),scale:1.5,ori:0,inheritOri:!1}]}),cache_05:g({mapObjects:[{type:"pumpkin_02",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_light_01",pos:ve.create(0,0),scale:1.5,ori:0,inheritOri:!1}]}),cache_06:g({mapObjects:[{type:"bush_07",pos:ve.create(0,0),scale:1,ori:0},{type:"loot_tier_leaf_pile",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1}]}),cache_07:g({mapObjects:[{type:"barrel_01b",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_initiative_01",pos:ve.create(0,0),scale:1.1,ori:0,inheritOri:!1}]}),candle_lit_01:g({mapObjects:[{type:"candle_01",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_light_02",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1}]}),candle_lit_02:g({mapObjects:[{type:"candle_01",pos:ve.create(0,0),scale:1,ori:0},{type:"decal_light_03",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1}]}),hut_wall_int_4:W({material:"wood",extents:ve.create(.5,2),hitParticle:"tanChip",img:s("map-wall-04.img",4608e3)}),hut_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"tanChip",img:s("map-wall-05.img",4608e3)}),hut_wall_int_6:W({material:"wood",extents:ve.create(.5,3),hitParticle:"tanChip",img:s("map-wall-06.img",4608e3)}),hut_wall_int_12:W({material:"wood",extents:ve.create(.5,6),hitParticle:"tanChip",img:s("map-wall-12.img",4608e3)}),hut_wall_int_14:W({material:"wood",extents:ve.create(.5,7),hitParticle:"tanChip",img:s("map-wall-14.img",4608e3)}),hut_window_open_01:_e({img:{tint:7681026}}),hut_01:ee({}),hut_01x:ee({ceiling:{imgs:[{sprite:"map-building-hut-ceiling-01.img",scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-04.img",pos:ve.create(4.5,.5),scale:.667,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-05.img",pos:ve.create(-.5,5),scale:.667,alpha:1,tint:16777215,rot:1}]}}),hut_02:ee({ceilingImg:"map-building-hut-ceiling-02.img",specialLoot:"pot_02"}),hut_02x:ee({specialLoot:"pot_02",ceiling:{imgs:[{sprite:"map-building-hut-ceiling-02.img",scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-04.img",pos:ve.create(4.5,.5),scale:.667,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-05.img",pos:ve.create(.5,-4.5),scale:.667,alpha:1,tint:16777215,rot:3}]}}),hut_03:ee({map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(7,7)),color:7771201},{collider:xe.createAabbExtents(ve.create(0,-18.9),ve.create(2,12)),color:6171907}]},ceilingImg:"map-building-hut-ceiling-03.img",specialLoot:"pot_05"}),warehouse_wall_side:W({material:"metal",extents:ve.create(25,.6)}),warehouse_wall_edge:W({material:"metal",extents:ve.create(.6,3.2)}),warehouse_01:we({topLeftObs:"crate_01",topRightObs:"crate_01",botRightObs:"crate_01",ignoreMapSpawnReplacement:!0}),warehouse_01b:we({topLeftObs:"crate_01",topRightObs:"crate_01",botRightObs:"crate_01",decoration_01:"candle_lit_01",ignoreMapSpawnReplacement:!0}),warehouse_01f:we({topLeftObs:"crate_01",topRightObs:"crate_01",botRightObs:"crate_01",ignoreMapSpawnReplacement:!1}),warehouse_01x:we({topLeftObs:"crate_01",topRightObs:"crate_01",botRightObs:"crate_01",ignoreMapSpawnReplacement:!0,ceiling:{imgs:[{sprite:"map-building-warehouse-ceiling-01.img",scale:1,alpha:1,tint:16777215},{sprite:"map-snow-04.img",pos:ve.create(7.5,5),scale:.9,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-05.img",pos:ve.create(-8.5,4),scale:.9,alpha:1,tint:16777215,rot:2},{sprite:"map-snow-06.img",pos:ve.create(22.25,11.25),scale:.75,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-06.img",pos:ve.create(-22.25,-11.25),scale:.75,alpha:1,tint:16777215,rot:2}]}}),warehouse_02:fe({}),warehouse_02x:fe({ceiling:{imgs:[{sprite:"map-building-warehouse-ceiling-02.img",scale:1,alpha:1,tint:16777215},{sprite:"map-snow-04.img",pos:ve.create(0,4),scale:1,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-06.img",pos:ve.create(20.25,-9.75),scale:.75,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-06.img",pos:ve.create(-20.25,9.75),scale:.75,alpha:1,tint:16777215,rot:3}]}}),warehouse_complex_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(26,70.5),ve.create(47,7.5)),color:5855577},{collider:xe.createAabbExtents(ve.create(15.5,52.5),ve.create(57.5,10.5)),color:5855577},{collider:xe.createAabbExtents(ve.create(33,11),ve.create(75,31)),color:5855577},{collider:xe.createAabbExtents(ve.create(5,-30),ve.create(47,10)),color:5855577},{collider:xe.createAabbExtents(ve.create(-39.75,11.25),ve.create(2,51)),color:16109568},{collider:xe.createCircle(ve.create(-39,55),1.25),color:6310464},{collider:xe.createCircle(ve.create(-39,20.5),1.25),color:6310464},{collider:xe.createCircle(ve.create(-39,2),1.25),color:6310464},{collider:xe.createCircle(ve.create(-39,-31.5),1.25),color:6310464},{collider:xe.createAabbExtents(ve.create(-28,-30),ve.create(2,2)),color:6697728},{collider:xe.createAabbExtents(ve.create(-23,-33),ve.create(2,2)),color:6697728},{collider:xe.createAabbExtents(ve.create(7,70),ve.create(2,2)),color:6697728},{collider:xe.createAabbExtents(ve.create(12,72),ve.create(2,2)),color:6697728},{collider:xe.createCircle(ve.create(-26.5,54.75),1.75),color:8026746},{collider:xe.createCircle(ve.create(-23.5,57),1.75),color:8026746},{collider:xe.createCircle(ve.create(84,-15.5),1.75),color:8026746},{collider:xe.createCircle(ve.create(40,-35),1.5),color:8026746},{collider:xe.createCircle(ve.create(65,61),1.5),color:8026746},{collider:xe.createAabbExtents(ve.create(44.5,-25),ve.create(1.4,3.1)),color:13278307},{collider:xe.createAabbExtents(ve.create(58,47.5),ve.create(1.4,3.1)),color:13278307}]},terrain:{waterEdge:{dir:ve.create(-1,0),distMin:72,distMax:72}},mapObstacleBounds:[xe.createAabbExtents(ve.create(26,70.5),ve.create(47,7.5)),xe.createAabbExtents(ve.create(15.5,52.5),ve.create(57.5,10.5)),xe.createAabbExtents(ve.create(33,11),ve.create(75,31)),xe.createAabbExtents(ve.create(5,-30),ve.create(47,10))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(26,60),ve.create(47,18)),color:9340275,order:1},{bound:xe.createAabbExtents(ve.create(5,11.5),ve.create(47,51.5)),color:9340275,order:1},{bound:xe.createAabbExtents(ve.create(80,11),ve.create(28,31)),color:9340275,order:1},{bound:xe.createAabbExtents(ve.create(26,58),ve.create(46,19)),color:5855577,order:1},{bound:xe.createAabbExtents(ve.create(5,11.5),ve.create(46,50.5)),color:5855577,order:1},{bound:xe.createAabbExtents(ve.create(78,11),ve.create(29,30)),color:5855577,order:1},{bound:xe.createAabbExtents(ve.create(-37.5,38),ve.create(4.5,10)),color:9340275,order:1},{bound:xe.createAabbExtents(ve.create(-37.5,-15),ve.create(4.5,10)),color:9340275,order:1},{bound:xe.createAabbExtents(ve.create(-37.5,38),ve.create(3.5,9)),color:5855577,order:1},{bound:xe.createAabbExtents(ve.create(-37.5,-15),ve.create(3.5,9)),color:5855577,order:1}],floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(26,60),ve.create(47,18)),xe.createAabbExtents(ve.create(5,11.5),ve.create(47,51.5)),xe.createAabbExtents(ve.create(80,11),ve.create(28,31))]}],imgs:[{sprite:"map-complex-warehouse-floor-01.img",pos:ve.create(-39.2,55),scale:1,alpha:1,tint:16777215},{sprite:"map-complex-warehouse-floor-02.img",pos:ve.create(-39.2,11.5),scale:1,alpha:1,tint:16777215},{sprite:"map-complex-warehouse-floor-03.img",pos:ve.create(-39.2,-32),scale:1,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"warehouse_02",pos:ve.create(5,0),scale:1,ori:0},{type:"warehouse_02",pos:ve.create(70,0),scale:1,ori:0},{type:"warehouse_02",pos:ve.create(18,55),scale:1,ori:0},{type:"bollard_01",pos:ve.create(-39,55),scale:1,ori:2},{type:o({container_01:1,container_02:1,container_03:1,container_06:.08}),pos:ve.create(-37.5,38),scale:1,ori:0},{type:"bollard_01",pos:ve.create(-39,20.5),scale:1,ori:2},{type:"bollard_01",pos:ve.create(-39,2),scale:1,ori:2},{type:o({container_01:1,container_02:1,container_03:1,container_06:.08}),pos:ve.create(-37.5,-15),scale:1,ori:2},{type:"bollard_01",pos:ve.create(-39,-31.5),scale:1,ori:2},{type:"crate_01",pos:ve.create(-28,-30),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(-23,-33),scale:1,ori:0,inheritOri:!1},{type:"container_04",pos:ve.create(-11.5,-26.575),scale:1,ori:0},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(-6,-29),scale:1,ori:0},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(9.5,-29),scale:1,ori:0},{type:"container_04",pos:ve.create(15,-26.575),scale:1,ori:0},{type:"shack_02",pos:ve.create(37,-30),scale:1,ori:0},{type:"sandbags_01",pos:ve.create(44.5,-25),scale:1,ori:1},{type:"barrel_01",pos:ve.create(84,-15.5),scale:1,ori:0},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(-3,22),scale:1,ori:1},{type:"container_04",pos:ve.create(-5.425,27.5),scale:1,ori:1},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(-3,33),scale:1,ori:1},{type:"container_04",pos:ve.create(28,22),scale:1,ori:1},{type:"container_04",pos:ve.create(28,27.5),scale:1,ori:1},{type:"container_04",pos:ve.create(28,33),scale:1,ori:1},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(53,22),scale:1,ori:3},{type:"container_04",pos:ve.create(55.425,27.5),scale:1,ori:1},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(53,33),scale:1,ori:3},{type:"container_04",pos:ve.create(84,22),scale:1,ori:3},{type:o({container_01:1,container_02:1,container_03:1,container_05:2,container_06:.08,"":.75}),pos:ve.create(86.425,27.5),scale:1,ori:1},{type:"barrel_01",pos:ve.create(-26.5,54.75),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-23.5,57),scale:1,ori:0},{type:"crate_01",pos:ve.create(7,70),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(12,72),scale:1,ori:0,inheritOri:!1},{type:"shack_02",pos:ve.create(60,58),scale:1,ori:1},{type:"sandbags_01",pos:ve.create(58,47.5),scale:1,ori:1},{type:"decal_oil_01",pos:ve.create(-37.5,59.5),scale:1,ori:0},{type:"decal_oil_02",pos:ve.create(-29.5,52.5),scale:1,ori:0},{type:"decal_oil_03",pos:ve.create(-16.5,61.5),scale:1,ori:0},{type:"decal_oil_04",pos:ve.create(-15.5,73.5),scale:1,ori:0},{type:"decal_oil_05",pos:ve.create(2.5,72.5),scale:1,ori:0},{type:"decal_oil_04",pos:ve.create(33.5,74),scale:1,ori:1},{type:"decal_oil_06",pos:ve.create(62.5,69),scale:1,ori:0},{type:"decal_oil_04",pos:ve.create(105,34),scale:1,ori:0},{type:"decal_oil_05",pos:ve.create(101.5,23),scale:1,ori:0},{type:"decal_oil_01",pos:ve.create(84.5,36),scale:1,ori:3},{type:"decal_oil_03",pos:ve.create(73.5,30),scale:1,ori:3},{type:"decal_oil_03",pos:ve.create(56.5,39),scale:1,ori:3},{type:"decal_oil_06",pos:ve.create(60.5,14),scale:1,ori:1},{type:"decal_oil_02",pos:ve.create(40,42),scale:1,ori:1},{type:"decal_oil_05",pos:ve.create(41.5,20),scale:1,ori:0},{type:"decal_oil_01",pos:ve.create(35.5,9),scale:1,ori:1},{type:"decal_oil_02",pos:ve.create(38.5,-5),scale:1,ori:2},{type:"decal_oil_05",pos:ve.create(36.5,-22),scale:1,ori:3},{type:"decal_oil_03",pos:ve.create(83,-16),scale:1,ori:0},{type:"decal_oil_04",pos:ve.create(28.5,-37),scale:1,ori:0},{type:"decal_oil_01",pos:ve.create(22.5,-24),scale:1,ori:0},{type:"decal_oil_03",pos:ve.create(7.5,-13.5),scale:1,ori:0},{type:"decal_oil_04",pos:ve.create(6.5,-21),scale:1,ori:0},{type:"decal_oil_06",pos:ve.create(-2.5,-32),scale:1,ori:0},{type:"decal_oil_05",pos:ve.create(-22.5,-24),scale:1,ori:1},{type:"decal_oil_03",pos:ve.create(-37.5,-29.75),scale:1,ori:0},{type:"decal_oil_04",pos:ve.create(-37.25,9.5),scale:.75,ori:1},{type:"decal_oil_02",pos:ve.create(-25.5,15.5),scale:1,ori:1},{type:"decal_oil_04",pos:ve.create(-12.5,22.5),scale:1,ori:1},{type:"decal_oil_05",pos:ve.create(-14.5,33.5),scale:1,ori:1},{type:"decal_oil_03",pos:ve.create(-26.5,40.5),scale:1,ori:1},{type:"decal_oil_06",pos:ve.create(3.5,28.5),scale:1,ori:2},{type:"decal_oil_02",pos:ve.create(15.5,38.5),scale:1,ori:2}]},logging_complex_01:ie({}),logging_complex_01sp:ie({groundTintLt:3361294,groundTintDk:2437648}),logging_complex_01su:ie({groundTintLt:7843122,groundTintDk:5143827}),logging_complex_02:oe({}),logging_complex_02sp:oe({groundTintDk:2437648,tree_08c:"tree_08spc"}),logging_complex_02su:oe({groundTintDk:5143827}),logging_complex_03:function(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1,spawnPriority:10},mapObstacleBounds:[xe.createCircle(ve.create(0,0),32)],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(6.5,5.5)),color:e.groundTintDk||7563810,roughness:.05,offsetDist:.5}],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:o({crate_01:4,crate_19:1}),pos:ve.create(1.75,2.5),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:4,crate_19:1}),pos:ve.create(-1.75,-2.5),scale:1,ori:0,inheritOri:!1},{type:"tree_09",pos:ve.create(2.75,-2.25),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-2.75,2.25),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}({}),junkyard_01:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},ori:0,mapObstacleBounds:[xe.createCircle(ve.create(0,0),37)],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(-8.5,24),ve.create(13,9)),color:1446402},{bound:xe.createAabbExtents(ve.create(26.75,8.5),ve.create(8,5.5)),color:1446402},{bound:xe.createAabbExtents(ve.create(23.75,-15.5),ve.create(7,5.5)),color:1446402},{bound:xe.createAabbExtents(ve.create(-23.5,-10),ve.create(4.75,3.5)),color:1446402}],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"tree_05b",pos:ve.create(0,0),scale:1.5,ori:0},{type:"candle_lit_01",pos:ve.create(-9,3),scale:1,ori:0},{type:"candle_lit_01",pos:ve.create(9,3),scale:1,ori:0},{type:"candle_lit_01",pos:ve.create(-6.5,-7),scale:1,ori:0},{type:"candle_lit_01",pos:ve.create(6.5,-7),scale:1,ori:0},{type:"candle_lit_01",pos:ve.create(0,9),scale:1,ori:0},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-2.5,29.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-6.5,29),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-10.5,29.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-14.5,30),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(1.5,23.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-2.5,24.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-6.5,24),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-10.5,24),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-14.5,23.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-18.5,24.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-2.5,18.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-6.5,18),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-10.5,18.5),scale:1,ori:0,inheritOri:!1},{type:o({refrigerator_01:3,"":1}),pos:ve.create(-14.5,19),scale:1,ori:0,inheritOri:!1},{type:o({"":1,table_01:3}),pos:ve.create(22.5,6),scale:1,ori:0,inheritOri:!1},{type:o({"":1,table_01:3}),pos:ve.create(29,6),scale:1,ori:0,inheritOri:!1},{type:o({"":1,table_01:3}),pos:ve.create(24.5,11),scale:1,ori:0,inheritOri:!1},{type:o({"":1,table_01:3}),pos:ve.create(31,11),scale:1,ori:0,inheritOri:!1},{type:o({oven_01:3,"":1}),pos:ve.create(20,-13),scale:1,ori:0,inheritOri:!1},{type:o({oven_01:3,"":1}),pos:ve.create(24,-12.5),scale:1,ori:0,inheritOri:!1},{type:o({oven_01:3,"":1}),pos:ve.create(28,-13.5),scale:1,ori:0,inheritOri:!1},{type:o({oven_01:3,"":1}),pos:ve.create(22,-18.5),scale:1,ori:0,inheritOri:!1},{type:o({oven_01:3,"":1}),pos:ve.create(26,-18.5),scale:1,ori:0,inheritOri:!1},{type:o({"":1,cache_03:3}),pos:ve.create(-.5,-23),scale:1,ori:0,inheritOri:!1},{type:o({"":1,cache_03:3}),pos:ve.create(-6,-24),scale:1,ori:0,inheritOri:!1},{type:o({"":1,cache_03:3}),pos:ve.create(-3,-27.5),scale:1,ori:0,inheritOri:!1},{type:o({"":1,vending_01:3}),pos:ve.create(-25.5,-9.25),scale:1,ori:0,inheritOri:!1},{type:o({"":1,vending_01:3}),pos:ve.create(-22,-11),scale:1,ori:0,inheritOri:!1}]},archway_column_1:W({material:"wood",extents:ve.create(1,1),img:Object.assign(s("map-column-01.img",7290644),{residue:"map-drawers-res.img"})}),archway_01:{type:"building",map:{display:!0,color:7813914,scale:1},terrain:{grass:!0,beach:!1},floor:{surfaces:[{type:"grass",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(10,1))]}],imgs:[]},ceiling:{zoomRegions:[],collision:[xe.createAabbExtents(ve.create(0,0),ve.create(10.5,2))],imgs:[{sprite:"map-building-archway-ceiling-01.img",scale:.5,alpha:1,tint:16777215}],destroy:{wallCount:1,particle:"archwayBreak",particleCount:15,residue:"map-archway-res-01.img"}},mapObjects:[{type:"archway_column_1",pos:ve.create(-10,0),scale:1,ori:0},{type:"archway_column_1",pos:ve.create(10,0),scale:1,ori:0},{type:"loot_tier_1",pos:ve.create(0,0),scale:1,ori:0}]},desert_town_01:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(65,102)),xe.createAabbExtents(ve.create(0,0),ve.create(20,120)),xe.createAabbExtents(ve.create(-60,40),ve.create(10,5))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(60,95)),color:12813354,roughness:.1,offsetDist:1},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(10,96)),color:9396511,roughness:.1,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-33,40),ve.create(27,5)),color:9396511,roughness:.1,offsetDist:1}],floor:{surfaces:[{type:"grass",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(55,25))]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"archway_01",pos:ve.create(0,95),scale:1,ori:0},{type:"archway_01",pos:ve.create(0,-95),scale:1,ori:0},{type:"police_01",pos:ve.create(40,-50),scale:1,ori:3},{type:"cabin_01",pos:ve.create(37,20),scale:1,ori:3},{type:"cabin_01",pos:ve.create(35,70),scale:1,ori:3},{type:"barn_01",pos:ve.create(-34,-60),scale:1,ori:3},{type:"bank_01b",pos:ve.create(-35,0),scale:1,ori:1},{type:"saloon_structure_01",pos:ve.create(-35,70),scale:1,ori:0},{type:"sandbags_01",pos:ve.create(5,76),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-6.75,71),scale:.9,ori:0},{type:"sandbags_02",pos:ve.create(-6.75,67),scale:1,ori:0},{type:"sandbags_02",pos:ve.create(-50,42),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-4,44),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(-1.5,46.5),scale:.9,ori:0},{type:"crate_18",pos:ve.create(.25,42),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-21,31.5),scale:.9,ori:0},{type:"sandbags_01",pos:ve.create(-15,31.5),scale:1,ori:0},{type:"sandbags_01",pos:ve.create(13,34),scale:1,ori:1},{type:"sandbags_02",pos:ve.create(7,8),scale:1,ori:1},{type:"barrel_01",pos:ve.create(-7.25,-12.5),scale:.9,ori:0},{type:"sandbags_01",pos:ve.create(-7.25,-22),scale:1,ori:1},{type:"crate_18",pos:ve.create(2.5,-56.5),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-1.5,-59),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(1.5,-61),scale:.9,ori:0},{type:"sandbags_01",pos:ve.create(-5.5,-74),scale:1,ori:0},{type:"sandbags_02",pos:ve.create(7.5,-82),scale:1,ori:0}]},desert_town_02:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,-3),ve.create(50,60)),xe.createAabbExtents(ve.create(0,0),ve.create(60,15))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,-3),ve.create(45,55)),color:12813354,roughness:.1,offsetDist:1},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(46,10)),color:9396511,roughness:.1,offsetDist:1},{bound:xe.createAabbExtents(ve.create(0,2),ve.create(5,50.5)),color:9396511,roughness:.1,offsetDist:1}],floor:{surfaces:[{type:"grass",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"archway_01",pos:ve.create(45,0),scale:1,ori:1},{type:"archway_01",pos:ve.create(-45,0),scale:1,ori:1},{type:"house_red_01",pos:ve.create(24,30),scale:1,ori:3},{type:"house_red_02",pos:ve.create(-24,30),scale:1,ori:3},{type:"bank_01b",pos:ve.create(-10,-34),scale:1,ori:2},{type:"shack_01",pos:ve.create(31,-26),scale:1,ori:2},{type:"outhouse_01",pos:ve.create(28,-46),scale:1,ori:0},{type:"tree_06",pos:ve.create(29,-36),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(-4.75,34),scale:.9,ori:0},{type:"sandbags_02",pos:ve.create(-4.75,30),scale:1,ori:1},{type:"sandbags_01",pos:ve.create(-9,10),scale:1,ori:0},{type:"crate_18",pos:ve.create(2.5,1.5),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-2,-1),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(1.5,-3),scale:.9,ori:0},{type:"sandbags_01",pos:ve.create(16,-10),scale:1,ori:1}]},statue_01:q({scale:{createMin:1,createMax:1,destroy:.5},collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.4,4.4)),destructible:!1,map:{display:!0,color:5723991,scale:1},img:{sprite:"map-statue-01.img",scale:.5}}),statue_03:q({stonePlated:!0,health:500,height:10,scale:{createMin:1,createMax:1,destroy:.85},collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.4,4.4)),destructible:!0,map:{display:!0,color:5723991,scale:1},img:{sprite:"map-statue-03.img",scale:.5,residue:""}}),statue_04:q({stonePlated:!0,health:500,height:10,scale:{createMin:1,createMax:1,destroy:.85},collision:xe.createAabbExtents(ve.create(0,0),ve.create(4.4,4.4)),destructible:!0,map:{display:!0,color:5723991,scale:1},img:{sprite:"map-statue-04.img",scale:.5,residue:""}}),statue_top_01:q({health:500,height:10,collision:xe.createCircle(ve.create(0,0),2.45),scale:{createMin:1,createMax:1,destroy:.8},destructible:!0,map:{display:!1,color:5723991,scale:1},img:{sprite:"map-statue-top-01.img",residue:"",scale:.5,zIdx:60}}),statue_top_02:q({health:500,height:10,collision:xe.createCircle(ve.create(0,0),2.45),scale:{createMin:1,createMax:1,destroy:.8},destructible:!0,map:{display:!1,color:5723991,scale:1},img:{sprite:"map-statue-top-02.img",residue:"",scale:.5,zIdx:60}}),statue_structure_01:{type:"building",ori:0,terrain:{},floor:{surfaces:[],imgs:[{sprite:"",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"statue_01",pos:ve.create(0,0),scale:1,ori:0},{type:"statue_top_01",pos:ve.create(0,0),scale:1,ori:0}]},statue_structure_02:{type:"building",ori:0,terrain:{},floor:{surfaces:[],imgs:[{sprite:"",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"statue_01",pos:ve.create(0,0),scale:1,ori:0},{type:"statue_top_02",pos:ve.create(0,0),scale:1,ori:0}]},statue_building_03:h({statue:"statue_03"}),statue_underground_03:d({crate:"crate_02d"}),statue_structure_03:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,5),ve.create(7.5,12.5))],layers:[{type:"statue_building_03",pos:ve.create(0,0),ori:0},{type:"statue_underground_03",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(-1,0),ve.create(2.6,2)),downDir:ve.create(1,0)}],mask:[xe.createAabbExtents(ve.create(5.7,0),ve.create(4,4))]},statue_building_04:h({statue:"statue_04"}),statue_underground_04:d({crate:"crate_22d"}),statue_structure_04:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,5),ve.create(7.5,12.5))],layers:[{type:"statue_building_04",pos:ve.create(0,0),ori:0},{type:"statue_underground_04",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(-1,0),ve.create(2.6,2)),downDir:ve.create(1,0)}],mask:[xe.createAabbExtents(ve.create(5.7,0),ve.create(4,4))]},river_town_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(70.75,.5),ve.create(30,54.5)),color:3815994},{collider:xe.createAabbExtents(ve.create(77.5,64),ve.create(23,10)),color:3815994},{collider:xe.createAabbExtents(ve.create(111,-29.5),ve.create(10.5,24.5)),color:3815994},{collider:xe.createAabbExtents(ve.create(50,0),ve.create(4.4,4.4)),color:5723991}]},terrain:{bridge:{nearbyWidthMult:1},spawnPriority:100},bridgeLandBounds:[xe.createAabbExtents(ve.create(-41,0),ve.create(6,10)),xe.createAabbExtents(ve.create(41,0),ve.create(6,10)),xe.createAabbExtents(ve.create(81,0),ve.create(40,54)),xe.createAabbExtents(ve.create(78,64),ve.create(23,10)),xe.createAabbExtents(ve.create(-76,-22),ve.create(36,24)),xe.createAabbExtents(ve.create(-72,22),ve.create(27,25))],bridgeWaterBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(5,5))],mapObstacleBounds:[xe.createAabbExtents(ve.create(71,0),ve.create(31,56)),xe.createAabbExtents(ve.create(77,65),ve.create(24,10)),xe.createAabbExtents(ve.create(112,-30),ve.create(10,26)),xe.createAabbExtents(ve.create(106,19.5),ve.create(8,7.25)),xe.createAabbExtents(ve.create(-71,32),ve.create(27,15)),xe.createAabbExtents(ve.create(-71,16),ve.create(8,6)),xe.createAabbExtents(ve.create(-75,-34),ve.create(40,19)),xe.createAabbExtents(ve.create(-57,-10),ve.create(5,11)),xe.createAabbExtents(ve.create(-86,-10),ve.create(5,11)),xe.createAabbExtents(ve.create(-21,0),ve.create(100,8)),xe.createAabbExtents(ve.create(-109,30),ve.create(7,7.25)),xe.createAabbExtents(ve.create(0,0),ve.create(40,15))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(-20,0),ve.create(100,6)),color:6632211,roughness:.05,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-71,10),ve.create(2,9)),color:6632211,roughness:0,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-57,-10),ve.create(2,9)),color:6632211,roughness:0,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-109,30),ve.create(6,6.25)),color:3293977,roughness:.05,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(-86,-10),ve.create(2,9)),color:6632211,roughness:0,offsetDist:1},{bound:xe.createAabbExtents(ve.create(106,19.5),ve.create(7,6.25)),color:3293977,roughness:.05,offsetDist:.5}],floor:{surfaces:[{type:"grass",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(70.75,.5),ve.create(30,54.5)),xe.createAabbExtents(ve.create(77.5,64),ve.create(23,10)),xe.createAabbExtents(ve.create(111,-29.5),ve.create(10.5,24.5))]}],imgs:[{sprite:"map-complex-warehouse-floor-04.img",pos:ve.create(81,10),scale:1,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"bridge_xlg_structure_01",pos:ve.create(0,0),scale:1,ori:0},{type:"barn_01",pos:ve.create(-71,30),scale:1,ori:2},{type:"house_red_01",pos:ve.create(-56,-30),scale:1,ori:0},{type:"house_red_02",pos:ve.create(-96,-30),scale:1,ori:0},{type:"sandbags_02",pos:ve.create(-68,2),scale:1,ori:0},{type:o({crate_02:1,crate_01:3}),pos:ve.create(-85,1),scale:1,ori:0,inheritOri:!1},{type:o({crate_02:1,crate_01:3}),pos:ve.create(-90,-1),scale:1,ori:0,inheritOri:!1},{type:"crate_02f",pos:ve.create(-106.5,32.25),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(-111.25,32.25),scale:1,ori:0},{type:"crate_01",pos:ve.create(-108,27.25),scale:1,ori:0},{type:"statue_structure_01",pos:ve.create(-50,0),scale:1,ori:0},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(45,36),scale:1,ori:2},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(51,36),scale:1,ori:2},{type:"shack_02",pos:ve.create(47,20),scale:1,ori:0},{type:"warehouse_02",pos:ve.create(78,40),scale:1,ori:1},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(95,44),scale:1,ori:0},{type:"statue_structure_02",pos:ve.create(50,0),scale:1,ori:2},{type:"crate_01",pos:ve.create(74.5,-.5),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(79.5,.25),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(106,22),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(104.5,17.25),scale:1,ori:0,inheritOri:!1},{type:"crate_22",pos:ve.create(109.25,17.25),scale:1,ori:0,inheritOri:!1},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(85,-13),scale:1,ori:1},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(45,-36),scale:1,ori:0},{type:"shack_02",pos:ve.create(47,-20),scale:1,ori:2},{type:"warehouse_02",pos:ve.create(86,-30),scale:1,ori:0},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(72,-47),scale:1,ori:1}]},river_town_02:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},oris:[0,1],mapObstacleBounds:[xe.createAabbExtents(ve.create(61,-3),ve.create(24,21)),xe.createAabbExtents(ve.create(46,-36),ve.create(6,14)),xe.createAabbExtents(ve.create(-68,0),ve.create(27,8)),xe.createAabbExtents(ve.create(0,0),ve.create(14,14)),xe.createAabbExtents(ve.create(-80,32),ve.create(4,4)),xe.createAabbExtents(ve.create(-16,13),ve.create(5,2.5)),xe.createAabbExtents(ve.create(16,-13),ve.create(5,2.5)),xe.createAabbExtents(ve.create(-76.5,19.5),ve.create(2.5,2.5)),xe.createAabbExtents(ve.create(-62,-18),ve.create(2.5,2.5))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(-5,0),ve.create(70,6)),color:9585940,roughness:.05,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-71,10),ve.create(2,9)),color:9585940,roughness:.05,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-76,19),ve.create(10.5,8)),color:9585940,roughness:.1,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-57,-10),ve.create(2,9)),color:9585940,roughness:.05,offsetDist:1},{bound:xe.createAabbExtents(ve.create(-63,-19),ve.create(11.5,8.5)),color:9585940,roughness:.1,offsetDist:1},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(14,10)),color:8405016,roughness:.3,offsetDist:1},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(9,22)),color:8405016,roughness:.3,offsetDist:1},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(4,33)),color:8405016,roughness:.3,offsetDist:1},{bound:xe.createAabbExtents(ve.create(61,-3),ve.create(22,19)),color:3815994,roughness:.15,offsetDist:1},{bound:xe.createAabbExtents(ve.create(45,-34),ve.create(5.75,14)),color:3815994,roughness:.15,offsetDist:1},{bound:xe.createAabbExtents(ve.create(69,-10),ve.create(4,3.75)),color:14657367,roughness:.2,offsetDist:1}],floor:{surfaces:[{type:"grass",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(61,-3),ve.create(22,19)),xe.createAabbExtents(ve.create(45,-34),ve.create(5.75,14))]}],imgs:[{sprite:"map-complex-warehouse-floor-05.img",pos:ve.create(81,10),scale:1,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"stone_06",pos:ve.create(-16,13),scale:1,ori:0,inheritOri:!0},{type:"stone_06",pos:ve.create(16,-13),scale:1,ori:0,inheritOri:!0},{type:"sandbags_02",pos:ve.create(-68,2),scale:1,ori:0},{type:o({crate_02:1,crate_01:4}),pos:ve.create(-85,1),scale:1,ori:0,inheritOri:!1},{type:o({crate_02:1,crate_01:4}),pos:ve.create(-90,-1),scale:1,ori:0,inheritOri:!1},{type:"statue_structure_03",pos:ve.create(-50,0),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-80,32),scale:1,ori:0,inheritOri:!1},{type:o({crate_02:1,crate_01:4}),pos:ve.create(-76.5,19.5),scale:1,ori:0,inheritOri:!1},{type:o({crate_02:1,crate_01:4}),pos:ve.create(-62,-18),scale:1,ori:0,inheritOri:!1},{type:"statue_structure_04",pos:ve.create(50,0),scale:1,ori:2},{type:"tree_06",pos:ve.create(69,-10),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(74.5,-.5),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(79.5,.25),scale:1,ori:0,inheritOri:!1},{type:o({container_01:1,container_02:1,container_03:1}),pos:ve.create(45,-36),scale:1,ori:0},{type:"tree_05c",pos:ve.create(0,2),scale:2,ori:0,inheritOri:!1},{type:"case_05",pos:ve.create(0,-2),scale:1,ori:0,inheritOri:!0}]},shack_wall_top:W({material:"wood",extents:ve.create(5.6,.35),height:10,img:s("map-wall-shack-top.img")}),shack_wall_side_left:W({material:"wood",extents:ve.create(.35,3.43),height:10,img:s("map-wall-shack-left.img")}),shack_wall_side_right:W({material:"wood",extents:ve.create(.35,3.8),height:10,img:s("map-wall-shack-right.img")}),shack_wall_bot:W({material:"wood",extents:ve.create(3.75,.35),height:10,img:s("map-wall-shack-bot.img")}),shack_01:ge,shack_01x:ge({ceiling:{imgs:[{sprite:"map-building-shack-ceiling-01.img",scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-05.img",pos:ve.create(-4,2.5),scale:.667,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-04.img",pos:ve.create(3.5,-.5),scale:.667,alpha:1,tint:16777215,rot:0}]}}),shack_02:ye({}),shack_02x:ye({ceiling:{imgs:[{sprite:"map-building-shack-ceiling-02.img",scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-05.img",pos:ve.create(-2,1),scale:.667,alpha:1,tint:16777215,rot:0}]}}),shack_wall_ext_2:W({material:"wood",extents:ve.create(.5,1),hitParticle:"tanChip",img:s("map-wall-02.img",12556639)}),shack_wall_ext_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"tanChip",img:s("map-wall-05.img",12556639)}),shack_wall_ext_9:W({material:"wood",extents:ve.create(.5,4.5),hitParticle:"tanChip",img:s("map-wall-09.img",12556639)}),shack_wall_ext_10:W({material:"wood",extents:ve.create(.5,5),hitParticle:"tanChip",img:s("map-wall-10.img",12556639)}),shack_wall_ext_14:W({material:"wood",extents:ve.create(.5,7),hitParticle:"tanChip",img:s("map-wall-14.img",12556639)}),shack_03a:te({terrain:{bridge:{nearbyWidthMult:1},nearbyRiver:{radMin:.75,radMax:1.5,facingOri:1}}}),shack_03b:te({terrain:{waterEdge:{dir:ve.create(0,1),distMin:4,distMax:5}},map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(-7.75,3),ve.create(1,2)),color:6171907},{collider:xe.createAabbExtents(ve.create(5,-4.75),ve.create(2,1)),color:6171907},{collider:xe.createAabbExtents(ve.create(1,1.5),ve.create(8,5.5)),color:5730406},{collider:xe.createAabbExtents(ve.create(-10.65,9),ve.create(2,12)),color:6171907}]},floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(1,1.5),ve.create(8,5.5)),xe.createAabbExtents(ve.create(-10.65,9),ve.create(2,12)),xe.createAabbExtents(ve.create(-7.75,3),ve.create(1,2)),xe.createAabbExtents(ve.create(5,-4.75),ve.create(2,1))]}],imgs:[{sprite:"map-building-shack-floor-03.img",scale:.5,alpha:1,tint:16777215},{sprite:"map-building-hut-floor-02.img",pos:ve.create(-10.65,9),scale:.5,alpha:1,tint:16777215}]},ceiling:{imgs:[{sprite:"map-building-shack-ceiling-03.img",pos:ve.create(.5,.5),scale:.667,alpha:1,tint:16777215}]}}),shack_03x:te({terrain:{bridge:{nearbyWidthMult:1},nearbyRiver:{radMin:.75,radMax:1.5,facingOri:1}},ceiling:{imgs:[{sprite:"map-building-shack-ceiling-03.img",pos:ve.create(.5,.5),scale:.667,alpha:1,tint:10461087},{sprite:"map-snow-01.img",pos:ve.create(3.75,1.75),scale:.5,alpha:1,tint:16777215,rot:1}]}}),outhouse_wall_top:W({material:"wood",extents:ve.create(3.2,.35),height:10,hitParticle:"outhouseChip",explodeParticle:"outhousePlank",health:100,img:s("map-wall-outhouse-top.img")}),outhouse_wall_side:W({material:"wood",extents:ve.create(.35,3.1),height:10,hitParticle:"outhouseChip",explodeParticle:"outhousePlank",health:100,img:s("map-wall-outhouse-side.img")}),outhouse_wall_bot:W({material:"wood",extents:ve.create(1.15,.35),height:10,hitParticle:"outhouseChip",explodeParticle:"outhousePlank",health:100,img:s("map-wall-outhouse-bot.img")}),outhouse_01:le({}),outhouse_01x:le({ceiling:{imgs:[{sprite:"map-building-outhouse-ceiling.img",scale:.5,alpha:1,tint:16777215},{sprite:"map-snow-04.img",pos:ve.create(2.25,0),scale:.5,alpha:1,tint:16777215,rot:0}]}}),outhouse_02:le({ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,1.45),ve.create(3.6,3.2)),zoomOut:xe.createAabbExtents(ve.create(0,1.4),ve.create(3.8,3.4))}],imgs:[{sprite:"map-building-outhouse-ceiling.img",scale:.5,alpha:1,tint:13735576}],destroy:{wallCount:2,particleCount:15,particle:"outhouseBreak",residue:"map-outhouse-res.img"}},obs:"toilet_02b"}),perch_01:function(e){var t={type:"building",map:{display:!0,color:1915136,scale:1},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(7,8))],zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(4.25,5)),xe.createAabbExtents(ve.create(5,0),ve.create(1.25,2)),xe.createAabbExtents(ve.create(-5,0),ve.create(1.25,2))]}],imgs:[{sprite:"map-building-perch-floor.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[{sprite:"map-building-perch-ceiling.img",scale:.5,alpha:1,tint:16777215}],destroy:{wallCount:5,particleCount:15,particle:"shackGreenBreak",residue:"map-perch-res.img"}},mapObjects:[{type:"loot_tier_1",pos:ve.create(0,0),scale:1,ori:0},{type:"barn_wall_int_2",pos:ve.create(3.5,-3),scale:1,ori:0},{type:"barn_wall_int_2",pos:ve.create(-3.5,-3),scale:1,ori:0},{type:"barn_wall_int_2",pos:ve.create(3.5,3),scale:1,ori:0},{type:"barn_wall_int_2",pos:ve.create(-3.5,3),scale:1,ori:0},{type:"barn_wall_int_2_5",pos:ve.create(2.75,-4.5),scale:1,ori:1},{type:"barn_wall_int_2_5",pos:ve.create(-2.75,-4.5),scale:1,ori:1},{type:"barn_wall_int_2_5",pos:ve.create(2.75,4.5),scale:1,ori:1},{type:"barn_wall_int_2_5",pos:ve.create(-2.75,4.5),scale:1,ori:1},{type:"house_window_broken_01",pos:ve.create(0,4.75),scale:1,ori:1},{type:"house_window_broken_01",pos:ve.create(0,-4.75),scale:1,ori:1}]};return Se.mergeDeep(t,e||{})}({}),brick_wall_ext_1:W({material:"brick",extents:ve.create(.5,.5)}),brick_wall_ext_2:W({material:"brick",extents:ve.create(.5,1)}),brick_wall_ext_3:W({material:"brick",extents:ve.create(.5,1.5)}),brick_wall_ext_4:W({material:"brick",extents:ve.create(.5,2)}),brick_wall_ext_5:W({material:"brick",extents:ve.create(.5,2.5)}),brick_wall_ext_6:W({material:"brick",extents:ve.create(.5,3)}),brick_wall_ext_7:W({material:"brick",extents:ve.create(.5,3.5)}),brick_wall_ext_8:W({material:"brick",extents:ve.create(.5,4)}),brick_wall_ext_9:W({material:"brick",extents:ve.create(.5,4.5)}),brick_wall_ext_10:W({material:"brick",extents:ve.create(.5,5)}),brick_wall_ext_11:W({material:"brick",extents:ve.create(.5,5.5)}),brick_wall_ext_12:W({material:"brick",extents:ve.create(.5,6)}),brick_wall_ext_13:W({material:"brick",extents:ve.create(.5,6.5)}),brick_wall_ext_14:W({material:"brick",extents:ve.create(.5,7)}),brick_wall_ext_15:W({material:"brick",extents:ve.create(.5,7.5)}),brick_wall_ext_16:W({material:"brick",extents:ve.create(.5,8)}),brick_wall_ext_17:W({material:"brick",extents:ve.create(.5,8.5)}),brick_wall_ext_18:W({material:"brick",extents:ve.create(.5,9)}),brick_wall_ext_19:W({material:"brick",extents:ve.create(.5,9.5)}),brick_wall_ext_20:W({material:"brick",extents:ve.create(.5,10)}),brick_wall_ext_21:W({material:"brick",extents:ve.create(.5,10.5)}),brick_wall_ext_23:W({material:"brick",extents:ve.create(.5,11.5)}),brick_wall_ext_33:W({material:"brick",extents:ve.create(.5,16.5)}),brick_wall_ext_41:W({material:"brick",extents:ve.create(.5,20.5)}),brick_wall_ext_short_7:W({material:"brick",extents:ve.create(.5,3.5),height:.5}),brick_wall_ext_thicker_4:W({material:"brick",extents:ve.create(1.5,2)}),brick_wall_ext_thicker_5:W({material:"brick",extents:ve.create(1.5,2.5)}),brick_wall_ext_thicker_6:W({material:"brick",extents:ve.create(1.5,3)}),brick_wall_ext_thicker_7:W({material:"brick",extents:ve.create(1.5,3.5)}),brick_wall_ext_thicker_8:W({material:"brick",extents:ve.create(1.5,4)}),brick_wall_ext_thicker_9:W({material:"brick",extents:ve.create(1.5,4.5)}),brick_wall_ext_thicker_15:W({material:"brick",extents:ve.create(1.5,7.5)}),brick_wall_ext_thicker_16:W({material:"brick",extents:ve.create(1.5,8)}),brick_wall_ext_thicker_24:W({material:"brick",extents:ve.create(1.5,12)}),concrete_wall_ext_thin_6:W({material:"concrete",extents:ve.create(.375,3)}),concrete_wall_ext_1_5:W({material:"concrete",extents:ve.create(.5,.75)}),concrete_wall_ext_2:W({material:"concrete",extents:ve.create(.5,1)}),concrete_wall_ext_3:W({material:"concrete",extents:ve.create(.5,1.5)}),concrete_wall_ext_4:W({material:"concrete",extents:ve.create(.5,2)}),concrete_wall_ext_5:W({material:"concrete",extents:ve.create(.5,2.5)}),concrete_wall_ext_6:W({material:"concrete",extents:ve.create(.5,3)}),concrete_wall_ext_7:W({material:"concrete",extents:ve.create(.5,3.5)}),concrete_wall_ext_8:W({material:"concrete",extents:ve.create(.5,4)}),concrete_wall_ext_9:W({material:"concrete",extents:ve.create(.5,4.5)}),concrete_wall_ext_9_5:W({material:"concrete",extents:ve.create(.5,4.75)}),concrete_wall_ext_10_5:W({material:"concrete",extents:ve.create(.5,5.25)}),concrete_wall_ext_11:W({material:"concrete",extents:ve.create(.5,5.5)}),concrete_wall_ext_11_5:W({material:"concrete",extents:ve.create(.5,5.75)}),concrete_wall_ext_13:W({material:"concrete",extents:ve.create(.5,6.5)}),concrete_wall_ext_14:W({material:"concrete",extents:ve.create(.5,7)}),concrete_wall_ext_15:W({material:"concrete",extents:ve.create(.5,7.5)}),concrete_wall_ext_16:W({material:"concrete",extents:ve.create(.5,8)}),concrete_wall_ext_17:W({material:"concrete",extents:ve.create(.5,8.5)}),concrete_wall_ext_23:W({material:"concrete",extents:ve.create(.5,11.5)}),concrete_wall_ext_24:W({material:"concrete",extents:ve.create(.5,12)}),concrete_wall_ext_25:W({material:"concrete",extents:ve.create(.5,12.5)}),concrete_wall_column_4x8:W({material:"concrete",extents:ve.create(2,4)}),concrete_wall_column_4x9:W({material:"concrete",extents:ve.create(2,4.5)}),concrete_wall_column_4x24:W({material:"concrete",extents:ve.create(2,12)}),concrete_wall_column_5x10:W({material:"concrete",extents:ve.create(2.5,5)}),concrete_wall_column_7x10:W({material:"concrete",extents:ve.create(3.5,5)}),concrete_wall_ext_thick_11:W({material:"concrete",extents:ve.create(1,5.5)}),concrete_wall_ext_thicker_4:W({material:"concrete",extents:ve.create(1.5,2)}),concrete_wall_ext_thicker_5:W({material:"concrete",extents:ve.create(1.5,2.5)}),concrete_wall_ext_thicker_6:W({material:"concrete",extents:ve.create(1.5,3)}),concrete_wall_ext_thicker_8:W({material:"concrete",extents:ve.create(1.5,4)}),concrete_wall_ext_thicker_9:W({material:"concrete",extents:ve.create(1.5,4.5)}),concrete_wall_ext_thicker_10:W({material:"concrete",extents:ve.create(1.5,5)}),concrete_wall_ext_thicker_11:W({material:"concrete",extents:ve.create(1.5,5.5)}),concrete_wall_ext_thicker_12:W({material:"concrete",extents:ve.create(1.5,6)}),concrete_wall_ext_thicker_13:W({material:"concrete",extents:ve.create(1.5,6.5)}),concrete_wall_ext_thicker_14:W({material:"concrete",extents:ve.create(1.5,7)}),concrete_wall_ext_thicker_15:W({material:"concrete",extents:ve.create(1.5,7.5)}),concrete_wall_ext_thicker_17:W({material:"concrete",extents:ve.create(1.5,8.5)}),concrete_wall_ext_thicker_19:W({material:"concrete",extents:ve.create(1.5,9.5)}),concrete_wall_ext_thicker_21:W({material:"concrete",extents:ve.create(1.5,10.5)}),concrete_wall_ext_thicker_22:W({material:"concrete",extents:ve.create(1.5,11)}),concrete_wall_ext_thicker_27:W({material:"concrete",extents:ve.create(1.5,13.5)}),concrete_wall_ext_thicker_30:W({material:"concrete",extents:ve.create(1.5,15)}),concrete_wall_ext_thicker_31:W({material:"concrete",extents:ve.create(1.5,15.5)}),concrete_wall_ext_thicker_42:W({material:"concrete",extents:ve.create(1.5,21)}),concrete_wall_ext_thicker_54:W({material:"concrete",extents:ve.create(1.5,27)}),metal_wall_ext_3:W({material:"metal",extents:ve.create(.5,1.5)}),metal_wall_ext_4:W({material:"metal",extents:ve.create(.5,2)}),metal_wall_ext_5:W({material:"metal",extents:ve.create(.5,2.5)}),metal_wall_ext_6:W({material:"metal",extents:ve.create(.5,3)}),metal_wall_ext_7:W({material:"metal",extents:ve.create(.5,3.5)}),metal_wall_ext_8:W({material:"metal",extents:ve.create(.5,4)}),metal_wall_ext_9:W({material:"metal",extents:ve.create(.5,4.5)}),metal_wall_ext_10:W({material:"metal",extents:ve.create(.5,5)}),metal_wall_ext_12:W({material:"metal",extents:ve.create(.5,6)}),metal_wall_ext_18:W({material:"metal",extents:ve.create(.5,9)}),metal_wall_ext_43:W({material:"metal",extents:ve.create(.5,21.5)}),metal_wall_ext_short_6:W({material:"metal",extents:ve.create(.5,3),height:.5}),metal_wall_ext_short_7:W({material:"metal",extents:ve.create(.5,3.5),height:.5}),metal_wall_ext_thick_6:W({material:"metal",extents:ve.create(1,3)}),metal_wall_ext_thick_12:W({material:"metal",extents:ve.create(1,6)}),metal_wall_ext_thick_20:W({material:"metal",extents:ve.create(1,10)}),metal_wall_ext_thicker_4:W({material:"metal",extents:ve.create(1.5,2)}),metal_wall_ext_thicker_5:W({material:"metal",extents:ve.create(1.5,2.5)}),metal_wall_ext_thicker_6:W({material:"metal",extents:ve.create(1.5,3)}),metal_wall_ext_thicker_7:W({material:"metal",extents:ve.create(1.5,3.5)}),metal_wall_ext_thicker_8:W({material:"metal",extents:ve.create(1.5,4)}),metal_wall_ext_thicker_9:W({material:"metal",extents:ve.create(1.5,4.5)}),metal_wall_ext_thicker_10:W({material:"metal",extents:ve.create(1.5,5)}),metal_wall_ext_thicker_11:W({material:"metal",extents:ve.create(1.5,5.5)}),metal_wall_ext_thicker_12:W({material:"metal",extents:ve.create(1.5,6)}),metal_wall_ext_thicker_13:W({material:"metal",extents:ve.create(1.5,6.5)}),metal_wall_ext_thicker_14:W({material:"metal",extents:ve.create(1.5,7)}),metal_wall_ext_thicker_15:W({material:"metal",extents:ve.create(1.5,7.5)}),metal_wall_ext_thicker_16:W({material:"metal",extents:ve.create(1.5,8)}),metal_wall_ext_thicker_17:W({material:"metal",extents:ve.create(1.5,8.5)}),metal_wall_ext_thicker_18:W({material:"metal",extents:ve.create(1.5,9)}),metal_wall_ext_thicker_19:W({material:"metal",extents:ve.create(1.5,9.5)}),metal_wall_ext_thicker_20:W({material:"metal",extents:ve.create(1.5,10)}),metal_wall_ext_thicker_21:W({material:"metal",extents:ve.create(1.5,10.5)}),metal_wall_ext_thicker_22:W({material:"metal",extents:ve.create(1.5,11)}),metal_wall_ext_thicker_23:W({material:"metal",extents:ve.create(1.5,11.5)}),metal_wall_ext_thicker_24:W({material:"metal",extents:ve.create(1.5,12)}),metal_wall_ext_thicker_25:W({material:"metal",extents:ve.create(1.5,12.5)}),metal_wall_ext_thicker_26:W({material:"metal",extents:ve.create(1.5,13)}),metal_wall_ext_thicker_27:W({material:"metal",extents:ve.create(1.5,13.5)}),metal_wall_ext_thicker_28:W({material:"metal",extents:ve.create(1.5,14.5)}),metal_wall_ext_thicker_29:W({material:"metal",extents:ve.create(1.5,14.5)}),metal_wall_ext_thicker_32:W({material:"metal",extents:ve.create(1.5,16)}),metal_wall_ext_thicker_34:W({material:"metal",extents:ve.create(1.5,17)}),metal_wall_ext_thicker_35:W({material:"metal",extents:ve.create(1.5,17.5)}),metal_wall_ext_thicker_42:W({material:"metal",extents:ve.create(1.5,21)}),metal_wall_ext_thicker_48:W({material:"metal",extents:ve.create(1.5,24)}),glass_wall_9:W({material:"glass",extents:ve.create(.5,4.5),health:100,img:s("map-wall-glass-9.img")}),glass_wall_10:W({material:"glass",extents:ve.create(.5,5),health:50,img:s("map-wall-glass-10.img")}),glass_wall_12:W({material:"glass",extents:ve.create(.5,6),health:50,img:s("map-wall-glass-12.img")}),glass_wall_12_2:W({material:"glass",extents:ve.create(1,6),health:5e3,img:s("map-wall-glass-12-2.img")}),glass_wall_18:W({material:"glass",extents:ve.create(.5,9),health:150,img:s("map-wall-glass-18.img")}),panicroom_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(4.5,6))]}],imgs:[{sprite:"map-building-panicroom-floor.img",scale:.5,alpha:1,tint:6250335}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(4.5,6))}],imgs:[{sprite:"map-building-panicroom-ceiling.img",scale:.5,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_12",pos:ve.create(-4,0),scale:1,ori:0},{type:"metal_wall_ext_3",pos:ve.create(-2,5.5),scale:1,ori:1},{type:"metal_wall_ext_7",pos:ve.create(0,-5.5),scale:1,ori:1},{type:"metal_wall_ext_12",pos:ve.create(4,0),scale:1,ori:0},{type:"loot_tier_2",pos:ve.create(0,-.05),scale:1,ori:0},{type:o({loot_tier_1:1,"":1}),pos:ve.create(0,.05),scale:1,ori:0}]},barn_basement_stairs_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[],imgs:[{sprite:"map-building-barn-basement-stairs.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"concrete_wall_ext_8",pos:ve.create(4,2),scale:1,ori:0},{type:"concrete_wall_column_4x8",pos:ve.create(-2.5,2),scale:1,ori:0},{type:"concrete_wall_column_4x9",pos:ve.create(0,-4),scale:1,ori:1}]},barn_basement_floor_01:J({}),barn_basement_floor_01d:J({basement:"barn_basement_floor_02d"}),barn_basement_floor_02:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]}],imgs:[{sprite:"map-building-barn-basement-floor-02.img",pos:ve.create(-2,-.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-1,-1),ve.create(5,6))}],imgs:[{sprite:"map-building-barn-basement-ceiling-02.img",pos:ve.create(-1.4,0),scale:1,alpha:1,tint:6182731}]},mapObjects:[{type:"chest_04",pos:ve.create(-1,-.5),scale:1,ori:1}]},barn_basement_floor_02d:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]}],imgs:[{sprite:"map-building-barn-basement-floor-02.img",pos:ve.create(-2,-.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-1,-1),ve.create(5,6))}],imgs:[{sprite:"map-building-barn-basement-ceiling-02.img",pos:ve.create(-1.4,0),scale:1,alpha:1,tint:6182731}]},mapObjects:[{type:"chest_04d",pos:ve.create(-1,-.5),scale:1,ori:1}]},barn_basement_structure_01:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(30,30))],layers:[{type:"barn_basement_stairs_01",pos:ve.create(0,0),ori:0},{type:"barn_basement_floor_01",pos:ve.create(-10,-.5),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(1.5,1.5),ve.create(2,3.5)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(-12.5,-1),ve.create(12,8.5)),xe.createAabbExtents(ve.create(3.51,-6),ve.create(4,4))]},barn_basement_structure_01d:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(30,30))],layers:[{type:"barn_basement_stairs_01",pos:ve.create(0,0),ori:0},{type:"barn_basement_floor_01d",pos:ve.create(-10,-.5),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(1.5,1.5),ve.create(2,3.5)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(-12.5,-1),ve.create(12,8.5)),xe.createAabbExtents(ve.create(3.51,-6),ve.create(4,4))]},barn_wall_int_2:W({material:"wood",extents:ve.create(.5,1),hitParticle:"ltgreenChip",img:s("map-wall-02-rounded.img",7173701)}),barn_wall_int_2_5:W({material:"wood",extents:ve.create(.5,1.25),hitParticle:"ltgreenChip",img:s("map-wall-02-5-rounded.img",7173701)}),barn_wall_int_4:W({material:"wood",extents:ve.create(.5,2),hitParticle:"ltgreenChip",img:s("map-wall-04-rounded.img",7173701)}),barn_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"ltgreenChip",img:s("map-wall-05-rounded.img",7173701)}),barn_wall_int_6:W({material:"wood",extents:ve.create(.5,3),hitParticle:"ltgreenChip",img:s("map-wall-06-rounded.img",7173701)}),barn_wall_int_7:W({material:"wood",extents:ve.create(.5,3.5),hitParticle:"ltgreenChip",img:s("map-wall-07-rounded.img",7173701)}),barn_wall_int_8:W({material:"wood",extents:ve.create(.5,4),hitParticle:"ltgreenChip",img:s("map-wall-08-rounded.img",7173701)}),barn_wall_int_11:W({material:"wood",extents:ve.create(.5,5.5),hitParticle:"ltgreenChip",img:s("map-wall-11-rounded.img",7173701)}),barn_wall_int_13:W({material:"wood",extents:ve.create(.5,6.5),hitParticle:"ltgreenChip",img:s("map-wall-13-rounded.img",7173701)}),barn_column_1:W({material:"concrete",extents:ve.create(1,1),hitParticle:"ltgreenChip",img:s("map-column-01.img",2764060)}),barn_01:Y({bonus_door:"house_door_02"}),barn_01x:Y({ceiling:{imgs:[{sprite:"map-building-barn-ceiling-01.img",pos:ve.create(0,-2),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-barn-ceiling-02.img",pos:ve.create(0,13.2),scale:.5,alpha:1,tint:16777215},{sprite:"map-snow-01.img",pos:ve.create(-14.5,5.5),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-02.img",pos:ve.create(-.5,-9),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-03.img",pos:ve.create(14.5,5.5),scale:.5,alpha:1,tint:16777215,rot:0}]},bonus_door:"house_door_02"}),barn_02:Y({bonus_room:"barn_basement_structure_01",bonus_door:""}),barn_02d:Y({bonus_room:"barn_basement_structure_01d",bonus_door:""}),bank_wall_int_3:W({material:"wood",extents:ve.create(.5,1.5),img:s("map-wall-03-rounded.img",7951934)}),bank_wall_int_4:W({material:"wood",extents:ve.create(.5,2),img:s("map-wall-04-rounded.img",7951934)}),bank_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),img:s("map-wall-05-rounded.img",7951934)}),bank_wall_int_8:W({material:"wood",extents:ve.create(.5,4),img:s("map-wall-08-rounded.img",7951934)}),bank_01:X({}),bank_01b:X({vault:"vault_01b"}),bank_01x:X({ceiling:{imgs:[{sprite:"map-building-bank-ceiling-01.img",pos:ve.create(-16,7),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-bank-ceiling-02.img",pos:ve.create(6,0),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-bank-ceiling-03.img",pos:ve.create(22,8),scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-02.img",pos:ve.create(-13,0),scale:.5,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-04.img",pos:ve.create(1.25,9.25),scale:1,alpha:1,tint:16777215,rot:2},{sprite:"map-snow-06.img",pos:ve.create(13.75,15.25),scale:.75,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-06.img",pos:ve.create(15.25,-15.75),scale:.75,alpha:1,tint:16777215,rot:1}]}}),vault_door_main:z({material:"metal",hinge:ve.create(1,3.5),extents:ve.create(1,3.5),img:{sprite:"map-door-02.img"},door:{interactionRad:1.5,openSpeed:.23,openOneWay:-1,openDelay:4.1,openOnce:!0,spriteAnchor:ve.create(.2,1),sound:{open:"none",close:"none",change:"vault_change_01"}}}),vault_01:Z({}),vault_01b:Z({gold_box:9,floor_loot:"loot_tier_stonehammer"}),police_wall_int_2:W({material:"wood",extents:ve.create(.5,1),img:s("map-wall-02-rounded.img",1777447)}),police_wall_int_3:W({material:"wood",extents:ve.create(.5,1.5),img:s("map-wall-03-rounded.img",1777447)}),police_wall_int_4:W({material:"wood",extents:ve.create(.5,2),img:s("map-wall-04-rounded.img",1777447)}),police_wall_int_6:W({material:"wood",extents:ve.create(.5,3),img:s("map-wall-06-rounded.img",1777447)}),police_wall_int_7:W({material:"wood",extents:ve.create(.5,3.5),img:s("map-wall-07-rounded.img",1777447)}),police_wall_int_8:W({material:"wood",extents:ve.create(.5,4),img:s("map-wall-08-rounded.img",1777447)}),police_wall_int_10:W({material:"wood",extents:ve.create(.5,5),img:s("map-wall-10-rounded.img",1777447)}),police_01:he({}),police_01x:he({ceiling:{imgs:[{sprite:"map-building-police-ceiling-01.img",pos:ve.create(-21.5,8.5),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-police-ceiling-02.img",pos:ve.create(10.5,0),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-police-ceiling-03.img",pos:ve.create(31.96,12.5),scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-01.img",pos:ve.create(13,17.5),scale:.5,alpha:1,tint:16777215,rot:3},{sprite:"map-snow-02.img",pos:ve.create(-21,14),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-03.img",pos:ve.create(30.25,6.25),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-snow-07.img",pos:ve.create(4.5,-3.25),scale:.6,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-06.img",pos:ve.create(-40.25,14.75),scale:.75,alpha:1,tint:16777215,rot:3},{sprite:"map-snow-06.img",pos:ve.create(-38.75,.75),scale:.75,alpha:1,tint:16777215,rot:2}]}}),house_wall_int_4:W({material:"wood",extents:ve.create(.5,2),hitParticle:"tanChip",img:s("map-wall-04-rounded.img",10584424)}),house_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"tanChip",img:s("map-wall-05-rounded.img",10584424)}),house_wall_int_8:W({material:"wood",extents:ve.create(.5,4),hitParticle:"tanChip",img:s("map-wall-08-rounded.img",10584424)}),house_wall_int_9:W({material:"wood",extents:ve.create(.5,4.5),hitParticle:"tanChip",img:s("map-wall-09-rounded.img",10584424)}),house_wall_int_11:W({material:"wood",extents:ve.create(.5,5.5),hitParticle:"tanChip",img:s("map-wall-11-rounded.img",10584424)}),house_wall_int_14:W({material:"wood",extents:ve.create(.5,7),hitParticle:"tanChip",img:s("map-wall-14-rounded.img",10584424)}),house_column_1:W({material:"concrete",extents:ve.create(1,1),hitParticle:"tanChip",img:s("map-column-01.img",5587506)}),house_red_01:de({stand:"stand_01"}),house_red_01b:de({porch_01:"cache_05",stand:"stand_01"}),house_red_01x:de({ceiling:{imgs:[{sprite:"map-building-house-ceiling.img",scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-01.img",pos:ve.create(-5.5,8.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-snow-02.img",pos:ve.create(4.5,-7),scale:.5,alpha:1,tint:16777215}]}}),house_red_02:ue({stand:"stand_01"}),house_red_02x:ue({ceiling:{imgs:[{sprite:"map-building-house-ceiling.img",scale:.667,alpha:1,tint:13619151,rot:2},{sprite:"map-snow-02.img",pos:ve.create(3.5,6),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-snow-01.img",pos:ve.create(-4.5,-8),scale:.5,alpha:1,tint:16777215,rot:3}]}}),cabin_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"tanChip",img:s("map-wall-05-rounded.img",10584424)}),cabin_wall_int_10:W({material:"wood",extents:ve.create(.5,5),hitParticle:"tanChip",img:s("map-wall-10-rounded.img",10584424)}),cabin_wall_int_13:W({material:"wood",extents:ve.create(.5,6.5),hitParticle:"tanChip",img:s("map-wall-13-rounded.img",10584424)}),cabin_01:$({}),cabin_01x:$({ceiling:{imgs:[{sprite:"map-building-cabin-ceiling-01a.img",pos:ve.create(0,.5),scale:.667,alpha:1,tint:16777215},{sprite:"map-building-cabin-ceiling-01b.img",pos:ve.create(4,-13),scale:.667,alpha:1,tint:16777215},{sprite:"map-snow-01.img",pos:ve.create(-13,6),scale:.5,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-02.img",pos:ve.create(-3.5,-6.25),scale:.5,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-03.img",pos:ve.create(10.75,8.25),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-chimney-01.img",pos:ve.create(13,2),scale:.5,alpha:1,tint:16777215,removeOnDamaged:!0}]}}),cabin_02:$({cabin_mount:"gun_mount_02",porch_01:"cache_05"}),dock_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(2.5,0),ve.create(2.4,10.25)),color:8862486},{collider:xe.createAabbExtents(ve.create(-2.45,7.75),ve.create(2.6,2.5)),color:8862486}]},terrain:{grass:!0,beach:!1,bridge:{nearbyWidthMult:.75}},bridgeLandBounds:[xe.createAabbExtents(ve.create(2.5,-10.5),ve.create(2.5,1.5))],bridgeWaterBounds:[xe.createAabbExtents(ve.create(0,7.75),ve.create(5.5,3.5))],zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(2.5,0),ve.create(2.4,10.25)),xe.createAabbExtents(ve.create(-2.45,7.75),ve.create(2.6,2.5))]}],imgs:[{sprite:"map-building-dock-floor-01a.img",pos:ve.create(-2.5,7.85),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-dock-floor-01b.img",pos:ve.create(2.5,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"bollard_01",pos:ve.create(-4.25,7.75),scale:.8,ori:2},{type:o({barrel_01:1,crate_01:1}),pos:ve.create(3,8.25),scale:.75,ori:0}]},mansion_wall_int_1:W({material:"wood",extents:ve.create(.5,.5),hitParticle:"ltgreenChip",img:s("map-wall-01-rounded.img",16768917)}),mansion_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"ltgreenChip",img:s("map-wall-05-rounded.img",16768917)}),mansion_wall_int_6:W({material:"wood",extents:ve.create(.5,3),hitParticle:"ltgreenChip",img:s("map-wall-06-rounded.img",16768917)}),mansion_wall_int_7:W({material:"wood",extents:ve.create(.5,3.5),hitParticle:"ltgreenChip",img:s("map-wall-07-rounded.img",16768917)}),mansion_wall_int_8:W({material:"wood",extents:ve.create(.5,4),hitParticle:"ltgreenChip",img:s("map-wall-08-rounded.img",16768917)}),mansion_wall_int_9:W({material:"wood",extents:ve.create(.5,4.5),hitParticle:"ltgreenChip",img:s("map-wall-09-rounded.img",16768917)}),mansion_wall_int_10:W({material:"wood",extents:ve.create(.5,5),hitParticle:"ltgreenChip",img:s("map-wall-10-rounded.img",16768917)}),mansion_wall_int_11:W({material:"wood",extents:ve.create(.5,5.5),hitParticle:"ltgreenChip",img:s("map-wall-11-rounded.img",16768917)}),mansion_wall_int_12:W({material:"wood",extents:ve.create(.5,6),hitParticle:"ltgreenChip",img:s("map-wall-12-rounded.img",16768917)}),mansion_wall_int_13:W({material:"wood",extents:ve.create(.5,6.5),hitParticle:"ltgreenChip",img:s("map-wall-13-rounded.img",16768917)}),mansion_column_1:W({material:"concrete",extents:ve.create(1,1),hitParticle:"tanChip",img:s("map-column-01.img",7432016)}),saferoom_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(6,4))]}],imgs:[{sprite:"map-building-saferoom-floor.img",scale:.5,alpha:1,tint:6250335}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(5,3))}],imgs:[{sprite:"map-building-saferoom-ceiling.img",scale:.5,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_7",pos:ve.create(-5,0),scale:1,ori:0},{type:"metal_wall_ext_6",pos:ve.create(1.5,3),scale:1,ori:1},{type:"metal_wall_ext_9",pos:ve.create(0,-3),scale:1,ori:1},{type:"metal_wall_ext_7",pos:ve.create(5,0),scale:1,ori:0},{type:o({case_01:1,case_02:.025,chest_02:1}),pos:ve.create(2.5,0),scale:1,ori:3}]},mansion_01:se({}),mansion_01x:se({ceiling:{imgs:[{sprite:"map-building-mansion-ceiling.img",scale:1,alpha:1,tint:16777215},{sprite:"map-snow-01.img",pos:ve.create(6,19.5),scale:.5,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-02.img",pos:ve.create(-16,8),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-snow-03.img",pos:ve.create(20.25,-1.75),scale:.5,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-04.img",pos:ve.create(10.25,-13.25),scale:1,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-05.img",pos:ve.create(10.25,6.25),scale:1,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-07.img",pos:ve.create(-21.25,-20.25),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-snow-06.img",pos:ve.create(-29.75,13.25),scale:.75,alpha:1,tint:16777215,rot:3}]},tree:"tree_11",tree_scale:1,tree_loot:"loot_tier_1",bush_chance:999}),mansion_02:se({decoration_01:"decal_web_01",decoration_02:"candle_lit_01",porch_01:"cache_05",entry_loot:""}),mansion_cellar_01:ne({}),mansion_cellar_02:ne({decoration_01:"decal_web_01",decoration_02:"candle_lit_01",mid_obs_01:"pumpkin_01"}),mansion_structure_01:{type:"structure",terrain:{grass:!0,beach:!1},layers:[{type:"mansion_01",pos:ve.create(0,0),ori:0},{type:"mansion_cellar_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(28,1.5),ve.create(3,2.55)),downDir:ve.create(-1,0),noCeilingReveal:!0},{collision:xe.createAabbExtents(ve.create(1,13.5),ve.create(2,3.5)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(10,-.1),ve.create(15,10.1)),xe.createAabbExtents(ve.create(17.5,13.5),ve.create(7.49,3.49))]},mansion_structure_02:{type:"structure",terrain:{grass:!0,beach:!1},layers:[{type:"mansion_02",pos:ve.create(0,0),ori:0},{type:"mansion_cellar_02",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(28,1.5),ve.create(3,2.55)),downDir:ve.create(-1,0),noCeilingReveal:!0},{collision:xe.createAabbExtents(ve.create(1,13.5),ve.create(2,3.5)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(10,-.1),ve.create(15,10.1)),xe.createAabbExtents(ve.create(17.5,13.5),ve.create(7.49,3.49))]},saloon_column_1:W({material:"woodPerm",extents:ve.create(1,1),hitParticle:"blackChip",img:s("map-column-01.img",1710618)}),saloon_bar_small:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,5)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),saloon_bar_large:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,7.5)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),saloon_bar_back_large:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.75,5)),img:{sprite:"map-saloon-bar-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10}}),saloon_bar_back_small:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.75,1.5)),img:{sprite:"map-saloon-bar-02.img",scale:.5,alpha:1,tint:16777215,zIdx:10}}),saloon_door_secret:z({destructible:!1,material:"wood",hitParticle:"woodChip",hinge:ve.create(0,2),extents:ve.create(.75,2),door:{canUse:!1,openOnce:!0,openOneWay:!1,openSpeed:36,autoOpen:!1,autoClose:!1,slideToOpen:!0,slideOffset:4.5,sound:{open:""}},img:{sprite:"map-door-04.img",residue:"map-drawers-res.img",scale:.5,tint:16777215,zIdx:9}}),wood_perm_wall_ext_5:W({material:"woodPerm",extents:ve.create(.5,2.5),hitParticle:"blackChip"}),wood_perm_wall_ext_6:W({material:"woodPerm",extents:ve.create(.5,3),hitParticle:"blackChip"}),wood_perm_wall_ext_7:W({material:"woodPerm",extents:ve.create(.5,3.5),hitParticle:"blackChip"}),wood_perm_wall_ext_14:W({material:"woodPerm",extents:ve.create(.5,7),hitParticle:"blackChip"}),wood_perm_wall_ext_17:W({material:"woodPerm",extents:ve.create(.5,8.5),hitParticle:"blackChip"}),wood_perm_wall_ext_35:W({material:"woodPerm",extents:ve.create(.5,17.5),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_6:W({material:"woodPerm",extents:ve.create(1.5,3),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_7:W({material:"woodPerm",extents:ve.create(1.5,3.5),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_8:W({material:"woodPerm",extents:ve.create(1.5,4),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_10:W({material:"woodPerm",extents:ve.create(1.5,5),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_12:W({material:"woodPerm",extents:ve.create(1.5,6),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_13:W({material:"woodPerm",extents:ve.create(1.5,6.5),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_18:W({material:"woodPerm",extents:ve.create(1.5,9),hitParticle:"blackChip"}),wood_perm_wall_ext_thicker_21:W({material:"woodPerm",extents:ve.create(1.5,10.5),hitParticle:"blackChip"}),saloon_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(20.5,20.5)),color:5252110},{collider:xe.createAabbExtents(ve.create(-1,1),ve.create(19,19)),color:4337194},{collider:xe.createAabbExtents(ve.create(-3,3),ve.create(17,17)),color:2499104},{collider:xe.createAabbExtents(ve.create(-23.5,1),ve.create(3,2)),color:3485483}]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(22.5,22.5))],zIdx:1,floor:{surfaces:[{type:"house",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(20.5,20.5)),xe.createAabbExtents(ve.create(-23.5,1),ve.create(3,2))]}],imgs:[{sprite:"map-building-saloon-floor-01.img",scale:.5,alpha:1,tint:16777215},{sprite:"map-building-saloon-ceiling-02.img",pos:ve.create(-23.5,1),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-1,1),ve.create(19,19)),zoomOut:xe.createAabbExtents(ve.create(1,-1),ve.create(21.5,21.5))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},damage:{obstacleCount:1},imgs:[{sprite:"map-building-saloon-ceiling-01.img",pos:ve.create(0,0),scale:1,alpha:1,tint:16777215},{sprite:"map-building-saloon-ceiling-02.img",pos:ve.create(-23.5,1),scale:.5,alpha:1,tint:16777215},{sprite:"map-chimney-01.img",pos:ve.create(-3,3),scale:.5,alpha:1,tint:16777215,removeOnDamaged:!0}]},occupiedEmitters:[{type:"cabin_smoke_parent",pos:ve.create(0,0),rot:0,scale:1,layer:0,parentToCeiling:!0}],puzzle:{name:"saloon",completeUseType:"saloon_door_secret",completeOffDelay:1,completeUseDelay:2,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"piano_02"}},mapObjects:[{type:"wood_perm_wall_ext_17",pos:ve.create(-20,11),scale:1,ori:0},{type:"wood_perm_wall_ext_5",pos:ve.create(-23,3),scale:1,ori:1},{type:"wood_perm_wall_ext_5",pos:ve.create(-26,1),scale:1,ori:0},{type:"wood_perm_wall_ext_5",pos:ve.create(-22,1),scale:1,ori:0},{type:"wood_perm_wall_ext_5",pos:ve.create(-23,-1),scale:1,ori:1},{type:"wood_perm_wall_ext_14",pos:ve.create(-20,-7.5),scale:1,ori:0},{type:"wood_perm_wall_ext_35",pos:ve.create(-3,20),scale:1,ori:1},{type:"wood_perm_wall_ext_6",pos:ve.create(-16.5,-14),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-12,-14.25),scale:1,ori:1},{type:"wood_perm_wall_ext_7",pos:ve.create(-7,-14),scale:1,ori:1},{type:"house_window_01",pos:ve.create(-2,-14.25),scale:1,ori:1},{type:"wood_perm_wall_ext_7",pos:ve.create(3,-14),scale:1,ori:1},{type:"wood_perm_wall_ext_6",pos:ve.create(14,16.5),scale:1,ori:0},{type:"house_window_01",pos:ve.create(14.25,12),scale:1,ori:0},{type:"wood_perm_wall_ext_7",pos:ve.create(14,7),scale:1,ori:0},{type:"house_window_01",pos:ve.create(14.25,2),scale:1,ori:0},{type:"wood_perm_wall_ext_7",pos:ve.create(14,-3),scale:1,ori:0},{type:"saloon_bar_back_large",pos:ve.create(-18.75,7.5),scale:1,ori:0},{type:"saloon_door_secret",pos:ve.create(-18.75,2.5),scale:1,ori:2},{type:"saloon_bar_back_small",pos:ve.create(-18.75,-2),scale:1,ori:0},{type:"bottle_01",pos:ve.create(-18.75,11.25),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-18.75,10),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-18.75,9),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-18.75,6),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-18.75,5),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-18.75,3.75),scale:1,ori:0,inheritOri:!1},{type:"bottle_02v",pos:ve.create(-18.75,-1.75),scale:1,ori:0,inheritOri:!1,puzzlePiece:"violet"},{type:"saloon_bar_large",pos:ve.create(-11,5),scale:1,ori:0},{type:"saloon_bar_small",pos:ve.create(-14.5,-4),scale:1,ori:1},{type:"bottle_01",pos:ve.create(-10.75,11),scale:1,ori:0,inheritOri:!1},{type:"bottle_02r",pos:ve.create(-11,8),scale:1,ori:0,inheritOri:!1,puzzlePiece:"red"},{type:"bottle_01",pos:ve.create(-11,6.25),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-10.75,5),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-11,1.5),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-10.75,-1),scale:1,ori:0,inheritOri:!1},{type:"bottle_02b",pos:ve.create(-11,-2.5),scale:1,ori:0,inheritOri:!1,puzzlePiece:"blue"},{type:"bottle_01",pos:ve.create(-13,-4),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-15,-4.25),scale:1,ori:0,inheritOri:!1},{type:"bottle_01",pos:ve.create(-16.5,-4),scale:1,ori:0,inheritOri:!1},{type:"barrel_02",pos:ve.create(-17.5,17.5),scale:1,ori:0,puzzlePiece:"barrel"},{type:"piano_01",pos:ve.create(-18,-9.5),scale:1,ori:1},{type:"loot_tier_1",pos:ve.create(-16,-9.5),scale:1,ori:1},{type:o({gun_mount_01:100,gun_mount_02:10}),pos:ve.create(-.5,18.75),scale:1,ori:0,puzzlePiece:"gun"},{type:"barrel_02",pos:ve.create(-3,-7),scale:.9,ori:0},{type:"barrel_02",pos:ve.create(-.5,-4.5),scale:.9,ori:0},{type:"stove_02",pos:ve.create(-3,3),scale:1,ori:0},{type:"bottle_02g",pos:ve.create(7.25,10.5),scale:1,ori:0,inheritOri:!1,puzzlePiece:"green"},{type:"table_03",pos:ve.create(7.25,10.5),scale:1,ori:0},{type:"table_03",pos:ve.create(7.25,.5),scale:1,ori:0},{type:"bottle_02i",pos:ve.create(12.5,4.5),scale:1,ori:0,inheritOri:!1,puzzlePiece:"indigo"},{type:"crate_01",pos:ve.create(11,17),scale:.9,ori:0},{type:"bottle_02y",pos:ve.create(8,18.5),scale:1,ori:0,inheritOri:!1,puzzlePiece:"yellow"},{type:"crate_01",pos:ve.create(-23,11.5),scale:.9,ori:0},{type:"bush_01",pos:ve.create(-23.5,7),scale:1,ori:0},{type:"crate_01",pos:ve.create(-23,-5),scale:.9,ori:0},{type:"saloon_column_1",pos:ve.create(-19.5,-17.5),scale:1,ori:0},{type:"barrel_02",pos:ve.create(-10,-16.5),scale:.9,ori:0},{type:"bottle_02o",pos:ve.create(3.75,-17.5),scale:1,ori:0,inheritOri:!1,puzzlePiece:"orange"},{type:"saloon_column_1",pos:ve.create(5.5,-17.5),scale:1,ori:0,puzzlePiece:"column"},{type:"saloon_column_1",pos:ve.create(17.5,19.5),scale:1,ori:0},{type:"barrel_02",pos:ve.create(16.5,9),scale:.9,ori:0},{type:"saloon_column_1",pos:ve.create(17.5,-5.5),scale:1,ori:0}]},saloon_cellar_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"brick",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(15,9))]}],imgs:[{sprite:"map-building-saloon-cellar-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(15,9))}],imgs:[{sprite:"",pos:ve.create(-2,3.5),scale:1,alpha:1,tint:6250335}],vision:{dist:7,width:3}},mapObjects:[{type:"wood_perm_wall_ext_thicker_18",pos:ve.create(-8,10),scale:1,ori:1},{type:"wood_perm_wall_ext_5",pos:ve.create(1.5,7),scale:1,ori:0},{type:"wood_perm_wall_ext_thicker_12",pos:ve.create(-4.5,4),scale:1,ori:1},{type:"wood_perm_wall_ext_thicker_13",pos:ve.create(-16,2),scale:1,ori:0},{type:"wood_perm_wall_ext_thicker_8",pos:ve.create(-13.5,-6),scale:1,ori:1},{type:"wood_perm_wall_ext_thicker_7",pos:ve.create(-8,-8),scale:1,ori:0},{type:"wood_perm_wall_ext_thicker_13",pos:ve.create(0,-10),scale:1,ori:1},{type:"wood_perm_wall_ext_thicker_7",pos:ve.create(8,-8),scale:1,ori:0},{type:"wood_perm_wall_ext_thicker_8",pos:ve.create(13.5,-6),scale:1,ori:1},{type:"wood_perm_wall_ext_thicker_13",pos:ve.create(16,2),scale:1,ori:0},{type:"wood_perm_wall_ext_thicker_10",pos:ve.create(12.5,10),scale:1,ori:1},{type:"wood_perm_wall_ext_thicker_6",pos:ve.create(9,5.5),scale:1,ori:0},{type:"wood_perm_wall_ext_thicker_21",pos:ve.create(0,1),scale:1,ori:1},{type:"loot_tier_saloon",pos:ve.create(0,-4),scale:1,ori:0},{type:"barrel_04",pos:ve.create(-3,-8.03),scale:1,ori:2},{type:"barrel_04",pos:ve.create(0,-8.03),scale:1,ori:2},{type:"barrel_04",pos:ve.create(3,-8.03),scale:1,ori:2},{type:"recorder_04",pos:ve.create(12.5,6.5),scale:1,ori:0}]},saloon_structure_01:{type:"structure",terrain:{grass:!0,beach:!1},layers:[{type:"saloon_01",pos:ve.create(0,0),ori:0},{type:"saloon_cellar_01",pos:ve.create(-19,-6),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(-19.5,.75),ve.create(1.5,2)),downDir:ve.create(-1,0)}],mask:[xe.createAabbExtents(ve.create(-30,.75),ve.create(10,5))],interiorSound:{sound:"piano_music_01",soundAlt:"",transitionTime:5,outsideMaxDist:10,outsideVolume:.25,puzzle:"saloon"}},teahouse_wall_int_3:W({material:"wood",extents:ve.create(.5,1.5),hitParticle:"tanChip",img:s("map-wall-03.img",5505024,.95)}),teahouse_wall_int_4:W({material:"wood",extents:ve.create(.5,2),hitParticle:"tanChip",img:s("map-wall-04.img",5505024,.95)}),teahouse_wall_int_5:W({material:"wood",extents:ve.create(.5,2.5),hitParticle:"tanChip",img:s("map-wall-05.img",5505024,.95)}),teahouse_wall_int_7:W({material:"wood",extents:ve.create(.5,3.5),hitParticle:"tanChip",img:s("map-wall-07.img",5505024,.95)}),teahouse_wall_int_12:W({material:"wood",extents:ve.create(.5,6),hitParticle:"tanChip",img:s("map-wall-12.img",5505024,.95)}),teahouse_wall_int_13:W({material:"wood",extents:ve.create(.5,6.5),hitParticle:"tanChip",img:s("map-wall-13.img",5505024,.95)}),teahouse_wall_int_14:W({material:"wood",extents:ve.create(.5,7),hitParticle:"tanChip",img:s("map-wall-14.img",5505024,.95)}),teahouse_wall_int_18:W({material:"wood",extents:ve.create(.5,9),hitParticle:"tanChip",img:s("map-wall-18.img",5505024,.95)}),teahouse_door_01:k({img:{tint:14537141,alpha:.95},door:{interactionRad:2,openOneWay:!1,openSpeed:7,autoOpen:!1,autoClose:!1,autoCloseDelay:1,slideToOpen:!0,slideOffset:3.75,sound:{open:"door_open_04",close:"door_open_04",error:"door_error_01"},casingImg:{sprite:"map-door-slot-02.img",pos:ve.create(-2,0),scale:.5,alpha:1,tint:3211264}}}),teahouse_window_open_01:_e({img:{tint:12216619}}),teahouse_01:function(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(14,9)),color:4608356},{collider:xe.createAabbExtents(ve.create(0,0),ve.create(7.5,3.75)),color:5793921},{collider:xe.createAabbExtents(ve.create(9,-10.15),ve.create(2,1.5)),color:7354635},{collider:xe.createAabbExtents(ve.create(-9,10.15),ve.create(2,1.5)),color:7354635}]},terrain:{grass:!0,beach:!1},floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(14,9)),xe.createAabbExtents(ve.create(9,-10.15),ve.create(2,1.5)),xe.createAabbExtents(ve.create(-9,10.15),ve.create(2,1.5))]}],imgs:[{sprite:"map-building-teahouse-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-teahouse-floor-02.img",pos:ve.create(9,-10.25),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-teahouse-floor-02.img",pos:ve.create(-9,10.25),scale:.5,alpha:1,tint:16777215,rot:2}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(12,7)),zoomOut:xe.createAabbExtents(ve.create(0,0),ve.create(14,9))}],vision:{width:4},imgs:[{sprite:"map-building-teahouse-ceiling-01.img",scale:.5,alpha:1,tint:16777215}],destroy:{wallCount:3,particle:"teahouseBreak",particleCount:25,residue:"map-building-teahouse-res-01.img"}},mapObjects:[{type:"teahouse_window_open_01",pos:ve.create(-6.5,-6.75),scale:1,ori:1},{type:"teahouse_window_open_01",pos:ve.create(11.75,1.5),scale:1,ori:0},{type:"teahouse_wall_int_7",pos:ve.create(11.5,-3.5),scale:1,ori:0},{type:"teahouse_wall_int_4",pos:ve.create(11.5,5),scale:1,ori:0},{type:"teahouse_door_01",pos:ve.create(-7,6.5),scale:1,ori:1},{type:"teahouse_wall_int_18",pos:ve.create(2,6.5),scale:1,ori:1},{type:"teahouse_wall_int_3",pos:ve.create(-9.5,-6.5),scale:1,ori:1},{type:"teahouse_wall_int_12",pos:ve.create(1,-6.5),scale:1,ori:1},{type:"teahouse_wall_int_14",pos:ve.create(-11.5,0),scale:1,ori:0},{type:"teahouse_door_01",pos:ve.create(7,-6.5),scale:1,ori:3},{type:"pot_03",pos:ve.create(9.5,4.5),scale:1,ori:0},{type:"pot_03",pos:ve.create(-9.5,-1.5),scale:1,ori:0},{type:"pot_03",pos:ve.create(-9.5,-4.5),scale:1,ori:0},{type:"case_06",pos:ve.create(0,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}({}),teapavilion_01:ce({terrain:{lakeCenter:!0}}),teapavilion_01w:ce({center_loot:"loot_tier_helmet_forest",left_loot:"pot_03b",right_loot:"pot_03c",terrain:{lakeCenter:!0}}),teahouse_complex_01s:me({}),teahouse_complex_01su:me({grass_color:6460706,tree_small:"tree_08su",tree_large:"tree_08su"}),savannah_patch_01:function(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(20,16))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(8,15),ve.create(5,4)),color:13084454,roughness:.1,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(-6,-12),ve.create(7,3)),color:13084454,roughness:.1,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(-18,8),ve.create(3,4)),color:13084454,roughness:.1,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(16,-8),ve.create(3,6)),color:13084454,roughness:.1,offsetDist:.5},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(16,12)),color:e.grass_color||16762368,roughness:.1,offsetDist:.5}],floor:{surfaces:[{type:"grass",data:{isBright:!0},collision:[xe.createAabbExtents(ve.create(0,0),ve.create(16,12))]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"crate_21",pos:ve.create(0,0),scale:1,ori:0,inheritOri:!1},{type:e.tree_large||"tree_12",pos:ve.create(-13,5.5),scale:1.1,ori:0},{type:e.tree_large||"tree_12",pos:ve.create(10.5,-5),scale:.9,ori:0},{type:e.tree_small||"tree_01sv",pos:ve.create(7,10),scale:1,ori:0},{type:"bush_01sv",pos:ve.create(-8,-10),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}({grass_color:15451700,terrain:{grass:!0,beach:!1,spawnPriority:1}}),kopje_patch_01:function(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(45,35))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(40,30)),color:e.grass_color||16762368,roughness:.2,offsetDist:3},{bound:xe.createAabbExtents(ve.create(0,0),ve.create(16,12)),color:5862162,roughness:.2,offsetDist:1}],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"crate_21",pos:ve.create(-2.5,0),scale:1,ori:0,inheritOri:!1},{type:"crate_21",pos:ve.create(2.5,0),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(0,5),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(0,-5),scale:1,ori:0,inheritOri:!1},{type:o({crate_01:3,"":1}),pos:ve.create(-39.5,30.5),scale:.95,ori:0,inheritOri:!1},{type:o({crate_01:3,"":1}),pos:ve.create(-41.5,26),scale:.95,ori:0,inheritOri:!1},{type:o({crate_01:3,"":1}),pos:ve.create(39.5,-30.5),scale:.95,ori:0,inheritOri:!1},{type:o({crate_01:3,"":1}),pos:ve.create(41.5,-26),scale:.95,ori:0,inheritOri:!1},{type:e.tree_large||"tree_12",pos:ve.create(34,22.5),scale:1.05,ori:0},{type:e.tree_small||"tree_12",pos:ve.create(-34.5,-23),scale:.95,ori:0},{type:e.tree_small||"tree_12",pos:ve.create(22.5,-14),scale:.95,ori:0},{type:e.tree_small||"tree_01sv",pos:ve.create(21.5,-3),scale:1,ori:0},{type:e.tree_small||"tree_01sv",pos:ve.create(11,-15),scale:1,ori:0},{type:e.tree_small||"tree_01sv",pos:ve.create(-19,2),scale:1,ori:0},{type:e.tree_small||"tree_01sv",pos:ve.create(-10,13),scale:1,ori:0},{type:"stone_07",pos:ve.create(-20,12),scale:1,ori:0},{type:"stone_07",pos:ve.create(15.5,10),scale:1,ori:1},{type:"stone_07",pos:ve.create(-13.5,-12.5),scale:1,ori:2},{type:"kopje_brush_01",pos:ve.create(-40,-9),scale:1,ori:0},{type:"kopje_brush_01",pos:ve.create(-40,6),scale:1,ori:2},{type:"kopje_brush_01",pos:ve.create(40,-9),scale:1,ori:0},{type:"kopje_brush_01",pos:ve.create(40,6),scale:1,ori:0},{type:"kopje_brush_01",pos:ve.create(0,28),scale:1,ori:1},{type:"kopje_brush_01",pos:ve.create(0,-28),scale:1,ori:3}]};return Se.mergeDeep(t,e||{})}({grass_color:8035865,terrain:{grass:!0,beach:!1,spawnPriority:2}}),kopje_brush_01:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(18,18))],mapGroundPatches:[],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:o({loot_tier_1:1,loot_tier_2:1,loot_tier_surviv:1}),pos:ve.create(0,0),scale:1,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(0,0),scale:1.5,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(1,6),scale:1.5,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-4,3),scale:1.5,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-5,-2),scale:1.5,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(2.5,-5),scale:1.5,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-1,-8),scale:1.5,ori:0}]},grassy_wall_3:W({scale:{createMin:1,createMax:1,destroy:.8},material:"wood",extents:ve.create(.375,1.5),hitParticle:"tanChip",img:{sprite:"map-wall-03-grassy.img",residue:"map-wall-03-grassy-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},map:{display:!0,color:7282176,scale:1},health:300}),grassy_wall_8:W({scale:{createMin:1,createMax:1,destroy:.8},material:"wood",extents:ve.create(.375,4),hitParticle:"tanChip",img:{sprite:"map-wall-08-grassy.img",residue:"map-wall-08-grassy-res.img",scale:.5,alpha:1,tint:16777215,zIdx:10},map:{display:!0,color:7282176,scale:1},health:300}),grassy_cover_01:pe({mapObjects:[{type:"loot_tier_1",pos:ve.create(0,0),scale:1,ori:0},{type:"grassy_wall_8",pos:ve.create(0,4.75),scale:1,ori:1},{type:"grassy_wall_8",pos:ve.create(0,-4.75),scale:1,ori:3},{type:"grassy_wall_3",pos:ve.create(0,3),scale:1,ori:0},{type:"grassy_wall_3",pos:ve.create(0,-3),scale:1,ori:2}]}),grassy_cover_02:pe({mapObjects:[{type:"loot_tier_1",pos:ve.create(0,0),scale:1,ori:0},{type:"grassy_wall_8",pos:ve.create(0,4.75),scale:1,ori:1},{type:"grassy_wall_8",pos:ve.create(0,-4.75),scale:1,ori:3},{type:"grassy_wall_3",pos:ve.create(-3.5,3),scale:1,ori:0},{type:"grassy_wall_3",pos:ve.create(3.5,-3),scale:1,ori:2}]}),grassy_cover_03:pe({mapObjects:[{type:"loot_tier_1",pos:ve.create(0,0),scale:1,ori:0},{type:"grassy_wall_8",pos:ve.create(-5,1.5),scale:1,ori:0},{type:"grassy_wall_8",pos:ve.create(1,-4.75),scale:1,ori:3},{type:"grassy_wall_3",pos:ve.create(-3.25,5),scale:1,ori:1},{type:"grassy_wall_3",pos:ve.create(4.5,-3),scale:1,ori:2}]}),grassy_cover_complex_01:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(30,10))],mapGroundPatches:[],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:o({grassy_cover_01:1,grassy_cover_02:1,grassy_cover_03:1}),pos:ve.create(0,0),scale:1,ori:0},{type:o({grassy_cover_01:1,grassy_cover_02:1,grassy_cover_03:1}),pos:ve.create(-15,0),scale:1,ori:0},{type:o({grassy_cover_01:1,grassy_cover_02:1,grassy_cover_03:1}),pos:ve.create(15,0),scale:1,ori:0}]},brush_clump_01:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(17,17))],mapGroundPatches:[],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:o({loot_tier_1:1,loot_tier_2:1,loot_tier_surviv:1}),pos:ve.create(-2,-2),scale:1,ori:0},{type:o({stone_01:3,barrel_01:3,"":1}),pos:ve.create(2,2),scale:1,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-13,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-6,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(0,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(7,2),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(12,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(0,-10),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(3,-5),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-3,5),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-6,10),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-4,-6),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(5,-13),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(5,5),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(10,9),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(10,-9),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-10,-9),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-8,13),scale:1.75,ori:0}]},brush_clump_02:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(17,17))],mapGroundPatches:[],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:o({loot_tier_1:1,loot_tier_2:1,loot_tier_surviv:1}),pos:ve.create(2,2),scale:1,ori:0},{type:o({stone_01:3,barrel_01:3,"":1}),pos:ve.create(-2,-2),scale:1,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-12,4),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-6,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(0,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(7,-12),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(12,2),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(1,-11),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(3,-4),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-3,4),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(3,11),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(11,12),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(5,5),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(9,8),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(10,-9),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-8,13),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-7,9),scale:1.75,ori:0}]},brush_clump_03:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(17,17))],mapGroundPatches:[],floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:o({loot_tier_1:1,loot_tier_2:1,loot_tier_surviv:1}),pos:ve.create(2,2),scale:1,ori:0},{type:o({stone_01:3,barrel_01:3,"":1}),pos:ve.create(-2,-2),scale:1,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-12,4),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-6,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(0,0),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(7,-11.5),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(1,-13.5),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(3,-4),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-3,4),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(10,-9),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-3,13),scale:1.75,ori:0},{type:o({brush_01sv:5,brush_02sv:5,"":1}),pos:ve.create(-7,9),scale:1.75,ori:0}]},teapavilion_complex_01:{type:"building",map:{display:!0,shapes:[]},terrain:{lakeCenter:!0},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(14,14)),xe.createAabbExtents(ve.create(0,-20),ve.create(4,12))],mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(0,0),ve.create(12.5,12.5)),color:6066442,roughness:.1,offsetDist:.25}],ori:0,floor:{surfaces:[{type:"grass",collision:[]}],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"teapavilion_01",pos:ve.create(0,0),scale:1,ori:0},{type:"barrel_02",pos:ve.create(11,-4),scale:1,ori:0},{type:o({tree_07sp:2,"":1}),pos:ve.create(-3,12),scale:.9,ori:0},{type:o({tree_07sp:2,"":1}),pos:ve.create(-12,-6),scale:.9,ori:0},{type:o({tree_08sp:2,"":1}),pos:ve.create(-12.5,9),scale:1,ori:0},{type:o({tree_07sp:2,"":1}),pos:ve.create(12,4),scale:.9,ori:0}]},club_wall_int_6:W({material:"wood",extents:ve.create(.5,3),hitParticle:"tanChip",img:s("map-wall-06-rounded.img",10584424)}),club_wall_int_10:W({material:"wood",extents:ve.create(.5,5),hitParticle:"redChip",img:s("map-wall-10-rounded.img",7218988)}),club_bar_small:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,4.5)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),club_bar_large:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,7)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),club_bar_back_large:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.75,7.5)),img:{sprite:"map-club-bar-01.img",scale:.5,alpha:1,tint:16777215,zIdx:10}}),secret_door_club:z({destructible:!1,material:"concrete",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{canUse:!1,openOnce:!0,openOneWay:!1,openSpeed:7,autoOpen:!1,autoClose:!1,slideToOpen:!0,slideOffset:3.75,sound:{open:"door_open_03",close:"door_close_03",error:"door_error_01"},casingImg:{sprite:"map-door-slot-01.img",pos:ve.create(-2,0),scale:.5,alpha:1,tint:1316379}},img:{tint:5373952}}),bathhouse_column_1:W({material:"concrete",extents:ve.create(2,2),hitParticle:"whiteChip",img:s("map-bathhouse-column-01.img",13481337)}),bathhouse_column_2:W({material:"concrete",extents:ve.create(1,1),hitParticle:"whiteChip",img:s("map-bathhouse-column-02.img",13481337)}),bathhouse_rocks_01:C({collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.55,1.55)),destructible:!1,img:{sprite:"map-bathrocks-01.img"}}),vault_door_bathhouse:z({destructible:!1,material:"metal",hinge:ve.create(0,2),extents:ve.create(.3,2),door:{canUse:!1,openOnce:!0,openOneWay:!1,openSpeed:7,autoOpen:!1,autoClose:!1,slideToOpen:!0,slideOffset:3.75,sound:{open:"door_open_03",close:"door_close_03",error:"door_error_01"},casingImg:{sprite:"map-door-slot-01.img",pos:ve.create(-2,0),scale:.5,alpha:1,tint:1316379}},img:{tint:4934475}}),club_01:function(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(-29.25,-8.5),ve.create(3.25,2.5)),color:13022098},{collider:xe.createAabbExtents(ve.create(-4,-8.5),ve.create(22,13.25)),color:5900046},{collider:xe.createAabbExtents(ve.create(6,18),ve.create(12,8.25)),color:5900046},{collider:xe.createAabbExtents(ve.create(16,16.5),ve.create(2,6.5)),color:5900046},{collider:xe.createAabbExtents(ve.create(6.5,7),ve.create(2.5,3)),color:5900046},{collider:xe.createAabbExtents(ve.create(23.5,-7.5),ve.create(5.75,7)),color:5900046},{collider:xe.createAabbExtents(ve.create(1.5,-24.5),ve.create(8,3.5)),color:5900046},{collider:xe.createAabbExtents(ve.create(-1.5,30.75),ve.create(4.5,4.5)),color:5900046},{collider:xe.createAabbExtents(ve.create(-21.5,7),ve.create(2.5,3)),color:5900046}]},terrain:{grass:!0,beach:!1},zIdx:1,mapGroundPatches:[{bound:xe.createAabbExtents(ve.create(-13.5,11.5),ve.create(16,24.5)),color:9340275,order:1},{bound:xe.createAabbExtents(ve.create(-13.5,11.5),ve.create(15,23.5)),color:5855577,order:1},{bound:xe.createAabbExtents(ve.create(1.5,7),ve.create(3,3)),color:5855577,order:1},{bound:xe.createAabbExtents(ve.create(-12,14.5),ve.create(7.5,.25)),color:14145495,order:1,useAsMapShape:!1},{bound:xe.createAabbExtents(ve.create(-12,21.5),ve.create(7.5,.25)),color:14145495,order:1,useAsMapShape:!1},{bound:xe.createAabbExtents(ve.create(-12,28.5),ve.create(7.5,.25)),color:14145495,order:1,useAsMapShape:!1},{bound:xe.createAabbExtents(ve.create(15,5),ve.create(20,30)),color:7551e3,roughness:.05,offsetDist:.5}],mapObstacleBounds:[],floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(1.5,-24.5),ve.create(5,3.5)),xe.createAabbExtents(ve.create(-13,20.25),ve.create(16.5,15.5)),xe.createAabbExtents(ve.create(-28,0),ve.create(1.5,5.25))]},{type:"stone",collision:[xe.createAabbExtents(ve.create(-29.5,-8.5),ve.create(3,2.5))]},{type:"carpet",collision:[xe.createAabbExtents(ve.create(-4,-8.5),ve.create(22,13.25)),xe.createAabbExtents(ve.create(4.5,18),ve.create(10.5,8.25)),xe.createAabbExtents(ve.create(16,16.5),ve.create(2,6.5)),xe.createAabbExtents(ve.create(6.5,7),ve.create(2.5,3)),xe.createAabbExtents(ve.create(23.5,-3),ve.create(5.75,2.5)),xe.createAabbExtents(ve.create(26.5,-7.5),ve.create(2.5,7))]}],imgs:[{sprite:"map-building-club-floor-01a.img",pos:ve.create(-30,-8.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01b.img",pos:ve.create(-21.5,8),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01c.img",pos:ve.create(-4,-8.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01d.img",pos:ve.create(1.5,-25),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01e.img",pos:ve.create(24,-7.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01f.img",pos:ve.create(6.5,7),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01g.img",pos:ve.create(6,18),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-club-floor-01h.img",pos:ve.create(-1.5,31.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-4,-8.5),ve.create(22,13.25))},{zoomIn:xe.createAabbExtents(ve.create(4.5,18),ve.create(10.5,8.25))},{zoomIn:xe.createAabbExtents(ve.create(16,16.5),ve.create(2,6.75))},{zoomIn:xe.createAabbExtents(ve.create(6.5,7),ve.create(2.5,3))},{zoomIn:xe.createAabbExtents(ve.create(-1.5,30),ve.create(3,4))},{zoomIn:xe.createAabbExtents(ve.create(23.5,-3),ve.create(5.75,2.5))},{zoomIn:xe.createAabbExtents(ve.create(26.5,-7.5),ve.create(2.5,7))},{zoomIn:xe.createAabbExtents(ve.create(1.5,-24),ve.create(5,3))},{zoomIn:xe.createAabbExtents(ve.create(-21.5,7),ve.create(2.5,3))},{zoomOut:xe.createAabbExtents(ve.create(1.5,-28),ve.create(5.5,2))},{zoomOut:xe.createAabbExtents(ve.create(-21.5,11),ve.create(3.5,2))},{zoomOut:xe.createAabbExtents(ve.create(17,25),ve.create(3,3))},{zoomOut:xe.createAabbExtents(ve.create(17,25),ve.create(3,3))}],vision:{dist:7.5,width:2.5,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-club-ceiling-01a.img",pos:ve.create(-4.5,-8.5),scale:1,alpha:1,tint:16777215},{sprite:"map-building-club-ceiling-01b.img",pos:ve.create(24,-7.5),scale:1,alpha:1,tint:16777215},{sprite:"map-building-club-ceiling-01c.img",pos:ve.create(6,22.5),scale:1,alpha:1,tint:16777215}]},puzzle:{name:"club_01",completeUseType:"secret_door_club",completeOffDelay:1,completeUseDelay:2,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"none"}},mapObjects:[{type:"concrete_wall_ext_7",pos:ve.create(-30,-11.5),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(-30,-5.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(-24,7.5),scale:1,ori:0},{type:"concrete_wall_ext_5",pos:ve.create(-19,7.5),scale:1,ori:0},{type:"concrete_wall_ext_3",pos:ve.create(-25,4.5),scale:1,ori:1},{type:"concrete_wall_ext_25",pos:ve.create(-26,-8.5),scale:1,ori:0},{type:"concrete_wall_ext_9_5",pos:ve.create(-21.75,-21.5),scale:1,ori:1},{type:"club_window_01",pos:ve.create(-15.5,-21.75),scale:1,ori:1},{type:"concrete_wall_ext_11_5",pos:ve.create(-8.25,-21.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(-3,-24.5),scale:1,ori:0},{type:"concrete_wall_ext_5",pos:ve.create(6,-24.5),scale:1,ori:0},{type:"concrete_wall_ext_13",pos:ve.create(12,-21.5),scale:1,ori:1},{type:"concrete_wall_ext_13",pos:ve.create(12,-21.5),scale:1,ori:1},{type:"concrete_wall_ext_6",pos:ve.create(18,-18),scale:1,ori:0},{type:"concrete_wall_column_7x10",pos:ve.create(21,-10),scale:1,ori:0},{type:"concrete_wall_ext_4",pos:ve.create(26.5,-14.5),scale:1,ori:1},{type:"concrete_wall_ext_10_5",pos:ve.create(29,-9.75),scale:1,ori:0},{type:"club_window_01",pos:ve.create(29.25,-3),scale:1,ori:0},{type:"concrete_wall_ext_1_5",pos:ve.create(29,-.75),scale:1,ori:0},{type:"concrete_wall_ext_11",pos:ve.create(23,-.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(18,2.5),scale:1,ori:0},{type:"concrete_wall_ext_8",pos:ve.create(13.5,4.5),scale:1,ori:1},{type:"concrete_wall_ext_6",pos:ve.create(9,7),scale:1,ori:0},{type:"concrete_wall_ext_8",pos:ve.create(13.5,9.5),scale:1,ori:1},{type:"concrete_wall_ext_13",pos:ve.create(18,15.5),scale:1,ori:0},{type:"concrete_wall_ext_thick_11",pos:ve.create(9,26),scale:1,ori:1},{type:"concrete_wall_ext_thicker_11",pos:ve.create(2,30.5),scale:1,ori:0},{type:"concrete_wall_ext_thicker_11",pos:ve.create(-5,30.5),scale:1,ori:0},{type:"concrete_wall_ext_thicker_4",pos:ve.create(-1.5,34.5),scale:1,ori:1},{type:"secret_door_club",pos:ve.create(.5,26),scale:1,ori:1},{type:"concrete_wall_ext_16",pos:ve.create(-6,17),scale:1,ori:0},{type:"concrete_wall_ext_9",pos:ve.create(-1,9.5),scale:1,ori:1},{type:"concrete_wall_ext_6",pos:ve.create(4,7),scale:1,ori:0},{type:"concrete_wall_ext_23",pos:ve.create(-8,4.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(-23.5,4.5),scale:1,ori:3},{type:"house_door_01",pos:ve.create(-2.5,-21.5),scale:1,ori:3},{type:"house_door_01",pos:ve.create(5.5,-21.5),scale:1,ori:1},{type:"club_bar_small",pos:ve.create(-16,-.5),scale:1,ori:0},{type:"club_bar_large",pos:ve.create(-7.5,-3.5),scale:1,ori:1},{type:"club_bar_back_large",pos:ve.create(-8,3.3),scale:1,ori:1},{type:"bottle_05",pos:ve.create(-16.25,1.25),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-16,-.5),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-16,-2.25),scale:1,ori:0,inheritOri:!1},{type:"bottle_05",pos:ve.create(-14.5,-4),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-12.25,-3.5),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-9.5,-3.75),scale:1,ori:0,inheritOri:!1},{type:"bottle_05",pos:ve.create(-5.25,-2.75),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-5.5,-4.25),scale:1,ori:0},{type:"bottle_04",pos:ve.create(-2.25,-3.5),scale:1,ori:0,inheritOri:!1},{type:"bottle_05",pos:ve.create(-3.25,3.3),scale:1,ori:0,inheritOri:!1},{type:"bottle_05",pos:ve.create(-4.25,3.3),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-6.5,3.3),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-7.5,3.3),scale:1,ori:0,inheritOri:!1},{type:"bottle_04",pos:ve.create(-8.5,3.3),scale:1,ori:0,inheritOri:!1},{type:"bottle_05",pos:ve.create(-12.25,3.3),scale:1,ori:0,inheritOri:!1},{type:"bottle_05",pos:ve.create(-13.25,3.3),scale:1,ori:0,inheritOri:!1},{type:o({crate_14:1,crate_14a:1}),pos:ve.create(-12,.25),scale:.85,ori:0,inheritOri:!1},{type:o({crate_14:1,crate_14a:1}),pos:ve.create(-7.75,.25),scale:.85,ori:0,inheritOri:!1},{type:o({crate_14:1,crate_14a:1}),pos:ve.create(-3.5,.25),scale:.85,ori:0,inheritOri:!1},{type:"couch_02",pos:ve.create(-24,-15),scale:1,ori:1},{type:"couch_03",pos:ve.create(-24,-19.5),scale:1,ori:0},{type:"couch_02b",pos:ve.create(-19.5,-19.5),scale:1,ori:0},{type:"table_03",pos:ve.create(-19,-14.5),scale:1,ori:0},{type:"decal_flyer_01",pos:ve.create(-17.5,-13.25),scale:1,ori:1},{type:"couch_02b",pos:ve.create(-7,-15),scale:1,ori:1},{type:"couch_03",pos:ve.create(-7,-19.5),scale:1,ori:1},{type:"couch_02",pos:ve.create(-11.5,-19.5),scale:1,ori:2},{type:"table_03",pos:ve.create(-12,-14.5),scale:1,ori:0},{type:"club_wall_int_10",pos:ve.create(12.5,-7.5),scale:1,ori:1},{type:"club_wall_int_10",pos:ve.create(8,-13),scale:1,ori:0},{type:"couch_01",pos:ve.create(13,-9.5),scale:1,ori:0},{type:o({crate_01:1,crate_14:1,crate_14a:1}),pos:ve.create(11,-13.5),scale:.85,ori:0,inheritOri:!1},{type:o({crate_01:1,crate_14:1,crate_14a:1}),pos:ve.create(15.25,-15.5),scale:.85,ori:0,inheritOri:!1},{type:o({crate_01:1,crate_14:1,crate_14a:1}),pos:ve.create(15.25,1.75),scale:.85,ori:0,inheritOri:!1},{type:"club_vault",pos:ve.create(-1.5,30.5),scale:1,ori:0},{type:"switch_01",pos:ve.create(-5.5,11.5),scale:1,ori:1,puzzlePiece:"1"},{type:"switch_01",pos:ve.create(-5.5,14.5),scale:1,ori:1,puzzlePiece:"4"},{type:"switch_01",pos:ve.create(-5.5,17.5),scale:1,ori:1,puzzlePiece:"2"},{type:"switch_01",pos:ve.create(-5.5,20.5),scale:1,ori:1,puzzlePiece:"3"},{type:"bookshelf_01",pos:ve.create(-1.5,24),scale:1,ori:0},{type:"crate_02",pos:ve.create(10.75,23),scale:.75,ori:0,inheritOri:!1},{type:"decal_barrel_explosion",pos:ve.create(17.5,26.25),scale:1,ori:0},{type:"decal_plank_01",pos:ve.create(17.25,27.25),scale:.5,ori:0},{type:"decal_plank_01",pos:ve.create(17.5,27.5),scale:.5,ori:1},{type:"decal_plank_01",pos:ve.create(19.5,25.75),scale:.5,ori:1},{type:"decal_plank_01",pos:ve.create(18.75,25.5),scale:.5,ori:3},{type:"couch_01",pos:ve.create(6.5,11.5),scale:1,ori:0},{type:o({deposit_box_01:3,deposit_box_02:1}),pos:ve.create(-4.25,29.55),scale:1,ori:1},{type:o({deposit_box_01:3,deposit_box_02:1}),pos:ve.create(1.25,29.55),scale:1,ori:3},{type:"bathhouse_column_1",pos:ve.create(-5.5,-24),scale:1,ori:0},{type:"bathhouse_column_1",pos:ve.create(8.5,-24),scale:1,ori:0},{type:o({crate_03:1,barrel_01:1,barrel_02:1}),pos:ve.create(1.5,7),scale:1,ori:0,inheritOri:!1},{type:"bush_01",pos:ve.create(11.5,7),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-13.75,17),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-10.25,18.25),scale:1,ori:0},{type:o({crate_01:1,crate_14:1,crate_14a:1}),pos:ve.create(-25,30),scale:1,ori:0,inheritOri:!1},{type:"bush_01",pos:ve.create(-28.5,-14),scale:1,ori:0},{type:"tree_01",pos:ve.create(26.5,-18),scale:.75,ori:0},{type:o({crate_01:1,crate_14:1,crate_14a:1}),pos:ve.create(21,-17.5),scale:.9,ori:0,inheritOri:!1},{type:"decal_oil_04",pos:ve.create(-12,26.5),scale:1,ori:0},{type:"decal_oil_03",pos:ve.create(-18,32),scale:1,ori:0},{type:"decal_oil_02",pos:ve.create(-24,23),scale:.75,ori:0},{type:"decal_oil_06",pos:ve.create(-11,16.5),scale:1,ori:0},{type:"decal_oil_05",pos:ve.create(-9.5,8),scale:1,ori:1},{type:"decal_oil_03",pos:ve.create(-26,11.5),scale:.5,ori:1}]};return Se.mergeDeep(t,e||{})}({}),bathhouse_01:function(e){var t={type:"building",map:{display:!1},terrain:{grass:!0,beach:!1},mapObstacleBounds:[],zIdx:0,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(2,9.5),ve.create(20,22)),xe.createAabbExtents(ve.create(0,7.5),ve.create(26,48)),xe.createAabbExtents(ve.create(-26,-26),ve.create(4,3))]}],imgs:[{sprite:"map-building-club-gradient-01.img",pos:ve.create(-3.5,-13.5),scale:4,alpha:1,tint:16777215},{sprite:"map-building-bathhouse-basement-01a.img",pos:ve.create(-33.5,-26),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-bathhouse-basement-01b.img",pos:ve.create(-10,-26.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-bathhouse-basement-01c.img",pos:ve.create(18.5,-35.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-bathhouse-basement-01d.img",pos:ve.create(23.02,-27.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-building-bathhouse-basement-01e.img",pos:ve.create(2,9),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(2,9.5),ve.create(20,22)),zoomOut:xe.createAabbExtents(ve.create(2,9.5),ve.create(22,24)),zoom:48},{zoomIn:xe.createAabbExtents(ve.create(0,7.5),ve.create(26,48))},{zoomIn:xe.createAabbExtents(ve.create(-26,-26),ve.create(4,3))},{zoomIn:xe.createAabbExtents(ve.create(30,.5),ve.create(7.5,6.5))},{zoomIn:xe.createAabbExtents(ve.create(-26,16.5),ve.create(7.5,6.5))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[]},occupiedEmitters:[{type:"bathhouse_steam",pos:ve.create(30,.5),dir:ve.create(-1,0),rot:0,scale:1,layer:1,parentToCeiling:!1},{type:"bathhouse_steam",pos:ve.create(-26,16.5),dir:ve.create(1,0),rot:0,scale:1,layer:1,parentToCeiling:!1}],goreRegion:xe.createAabbExtents(ve.create(2,8.5),ve.create(20,23)),puzzle:{name:"club_02",completeUseType:"vault_door_bathhouse",completeOffDelay:1,completeUseDelay:2,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"none"}},mapObjects:[{type:"concrete_wall_ext_5",pos:ve.create(-36.5,-26),scale:1,ori:0},{type:"concrete_wall_ext_7",pos:ve.create(-33.5,-23),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(-33.5,-29),scale:1,ori:1},{type:"concrete_wall_ext_thicker_4",pos:ve.create(-28,-22),scale:1,ori:1},{type:"concrete_wall_ext_thicker_6",pos:ve.create(-27.5,-17.5),scale:1,ori:0},{type:"concrete_wall_ext_thicker_11",pos:ve.create(-23.5,-13),scale:1,ori:1},{type:"concrete_wall_ext_thicker_11",pos:ve.create(-24.5,-30),scale:1,ori:1},{type:"concrete_wall_ext_thicker_6",pos:ve.create(-20.5,-34.5),scale:1,ori:0},{type:"club_wall_int_6",pos:ve.create(-14.5,-34.5),scale:1,ori:0},{type:"club_wall_int_6",pos:ve.create(-9.5,-34.5),scale:1,ori:0},{type:"concrete_wall_column_4x24",pos:ve.create(-8,-22.5),scale:1,ori:1},{type:"concrete_wall_column_4x9",pos:ve.create(2,-29),scale:1,ori:0},{type:"concrete_wall_ext_thicker_54",pos:ve.create(5,-39),scale:1,ori:1},{type:"concrete_wall_ext_thicker_14",pos:ve.create(26.5,-30.5),scale:1,ori:0},{type:"concrete_wall_ext_4",pos:ve.create(23,-25),scale:1,ori:1},{type:"concrete_wall_ext_thicker_6",pos:ve.create(19.5,-26.5),scale:1,ori:0},{type:"concrete_wall_ext_thicker_10",pos:ve.create(16,-31),scale:1,ori:1},{type:"concrete_wall_ext_thicker_19",pos:ve.create(9.5,-23),scale:1,ori:0},{type:"concrete_wall_ext_thicker_14",pos:ve.create(18,-15),scale:1,ori:1},{type:"concrete_wall_ext_thicker_21",pos:ve.create(23.5,20),scale:1,ori:0},{type:"concrete_wall_ext_thicker_5",pos:ve.create(23.5,-11),scale:1,ori:0},{type:"concrete_wall_ext_thicker_19",pos:ve.create(15.5,32),scale:1,ori:1},{type:"concrete_wall_ext_thicker_19",pos:ve.create(-11.5,32),scale:1,ori:1},{type:"concrete_wall_ext_thicker_5",pos:ve.create(-19.5,28),scale:1,ori:0},{type:"concrete_wall_ext_thicker_19",pos:ve.create(-19.5,-2),scale:1,ori:0},{type:"house_door_05",pos:ve.create(-18,-14),scale:1,ori:3},{type:"glass_wall_9",pos:ve.create(-.5,-14),scale:1,ori:1},{type:"glass_wall_9",pos:ve.create(-9.5,-14),scale:1,ori:1},{type:"house_door_05",pos:ve.create(8,-14),scale:1,ori:1},{type:"vault_door_bathhouse",pos:ve.create(6,34.5),scale:1,ori:1},{type:"vault_door_bathhouse",pos:ve.create(-2,34.5),scale:1,ori:3},{type:"switch_03",pos:ve.create(8,30.75),scale:1,ori:0,puzzlePiece:"1"},{type:"house_door_01",pos:ve.create(2,-37.5),scale:1,ori:0},{type:"house_door_01",pos:ve.create(-19.5,-24.5),scale:1,ori:2},{type:o({toilet_01:9,toilet_02:1}),pos:ve.create(-17,-35.25),scale:1,ori:2},{type:o({toilet_01:9,toilet_02:1}),pos:ve.create(-12,-35.25),scale:1,ori:2},{type:"towelrack_01",pos:ve.create(-12,-25.5),scale:1,ori:0},{type:"bathhouse_column_1",pos:ve.create(-13,-7.5),scale:1,ori:1},{type:"pot_04",pos:ve.create(-13,-3),scale:1,ori:0},{type:"towelrack_01",pos:ve.create(-13,2.25),scale:1,ori:1},{type:"bathhouse_column_1",pos:ve.create(-13,8.5),scale:1,ori:1},{type:"towelrack_01",pos:ve.create(-13,14.75),scale:1,ori:1},{type:"pot_04",pos:ve.create(-13,20),scale:1,ori:0},{type:"bathhouse_column_1",pos:ve.create(-13,24.5),scale:1,ori:1},{type:"bathhouse_column_1",pos:ve.create(17,-7.5),scale:1,ori:1},{type:"pot_04",pos:ve.create(17,-3),scale:1,ori:0},{type:"towelrack_01",pos:ve.create(17,2.25),scale:1,ori:1},{type:"bathhouse_column_1",pos:ve.create(17,8.5),scale:1,ori:1},{type:"towelrack_01",pos:ve.create(17,14.75),scale:1,ori:1},{type:"pot_04",pos:ve.create(17,20),scale:1,ori:0},{type:"bathhouse_column_1",pos:ve.create(17,24.5),scale:1,ori:1},{type:"locker_01",pos:ve.create(-27.5,-28.85),scale:1,ori:2},{type:"locker_01",pos:ve.create(-23.5,-28.85),scale:1,ori:2},{type:"locker_01",pos:ve.create(10.5,-37.85),scale:1,ori:2},{type:"locker_01",pos:ve.create(14.5,-37.85),scale:1,ori:2},{type:"locker_01",pos:ve.create(18.5,-37.85),scale:1,ori:2},{type:"decal_bathhouse_pool_01",pos:ve.create(2,8.5),scale:1,ori:0},{type:"decal_club_01",pos:ve.create(2,8.5),scale:1,ori:0},{type:"decal_club_02",pos:ve.create(2,8.5),scale:1,ori:0},{type:"bathhouse_sideroom_01",pos:ve.create(-26,16.5),scale:1,ori:0},{type:"bathhouse_sideroom_01",pos:ve.create(30,.5),scale:1,ori:2},{type:"bathhouse_sideroom_02",pos:ve.create(2,44),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}({}),bathhouse_sideroom_01:function(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[],zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(7.5,6.5))]}],imgs:[{sprite:"map-building-bathhouse-sideroom-01.img",pos:ve.create(-1,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(7.5,6.5))}],vision:{dist:5.5,width:3.25,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-bathhouse-sideroom-ceiling-01.img",scale:1,alpha:1,tint:16777215}]},soundEmitters:[{sound:"ambient_steam_01",channel:"ambient",pos:ve.create(0,0),range:{min:9,max:16},falloff:1,volume:.2}],healRegions:[{collision:xe.createAabbExtents(ve.create(0,0),ve.create(7.5,6.5)),healRate:3}],mapObjects:[{type:"concrete_wall_ext_thicker_15",pos:ve.create(.5,7.5),scale:1,ori:1},{type:"concrete_wall_ext_thicker_15",pos:ve.create(.5,-7.5),scale:1,ori:1},{type:"concrete_wall_ext_thicker_19",pos:ve.create(-8.5,0),scale:1,ori:0},{type:"concrete_wall_ext_4",pos:ve.create(7.5,4),scale:1,ori:0},{type:"concrete_wall_ext_4",pos:ve.create(7.5,-4),scale:1,ori:0},{type:"house_door_05",pos:ve.create(7.5,-2),scale:1,ori:0},{type:"bathhouse_rocks_01",pos:ve.create(0,0),scale:1,ori:0}]};return Se.mergeDeep(t,e||{})}({}),bathhouse_sideroom_02:function(e){var t={type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[],zIdx:1,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(14,10))]}],imgs:[{sprite:"map-building-bathhouse-sideroom-02.img",pos:ve.create(0,.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(14,9.5))}],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-bathhouse-sideroom-ceiling-02.img",scale:1,alpha:1,tint:4931116}]},mapObjects:[{type:"metal_wall_ext_thick_12",pos:ve.create(10,-9.5),scale:1,ori:1},{type:"metal_wall_ext_thick_12",pos:ve.create(-10,-9.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_19",pos:ve.create(14.5,1),scale:1,ori:0},{type:"metal_wall_ext_thicker_19",pos:ve.create(-14.5,1),scale:1,ori:0},{type:"metal_wall_ext_thicker_26",pos:ve.create(0,9),scale:1,ori:1},{type:"crate_05",pos:ve.create(-2.5,-2.5),scale:1,ori:0},{type:"crate_05",pos:ve.create(2.5,-1.5),scale:1,ori:0},{type:"crate_04",pos:ve.create(-10.75,5.25),scale:.8,ori:0},{type:"crate_04",pos:ve.create(10.75,5.25),scale:.8,ori:0},{type:"mil_crate_04",pos:ve.create(-5.75,5.5),scale:1,ori:0},{type:"mil_crate_04",pos:ve.create(5.75,5.5),scale:1,ori:0},{type:"case_07",pos:ve.create(0,5.25),scale:1,ori:0},{type:o({deposit_box_01:3,deposit_box_02:1}),pos:ve.create(-13.75,-4.8),scale:1,ori:1},{type:o({deposit_box_01:3,deposit_box_02:1}),pos:ve.create(-13.75,.45),scale:1,ori:1},{type:o({deposit_box_01:3,deposit_box_02:1}),pos:ve.create(13.75,-4.8),scale:1,ori:3},{type:o({deposit_box_01:3,deposit_box_02:1}),pos:ve.create(13.75,.45),scale:1,ori:3}]};return Se.mergeDeep(t,e||{})}({}),club_window_01:be({isWindow:!1,hitParticle:"woodChip",explodeParticle:"woodPlank",destroyType:"club_window_broken_01",img:{sprite:"map-building-boarded-window-01.img"},sound:{bullet:"wood_prop_bullet",punch:"wood_prop_bullet",explode:"barrel_break_02",enter:"none"}}),club_window_broken_01:_e({img:{tint:7886127}}),club_vault:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(3,4))]}],imgs:[{sprite:"",scale:.5,alpha:1,tint:6250335}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(3,4))}],imgs:[{sprite:"map-building-club-vault-ceiling.img",scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"loot_tier_club_melee",pos:ve.create(0,0),scale:1,ori:0}]},club_structure_01:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[],layers:[{type:"club_01",pos:ve.create(-3.5,-17.5),ori:0},{type:"bathhouse_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(-33,-26),ve.create(3,2.55)),downDir:ve.create(1,0),noCeilingReveal:!0},{collision:xe.createAabbExtents(ve.create(23,-28.5),ve.create(2,3)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(-5,8),ve.create(25,50)),xe.createAabbExtents(ve.create(23.01,-35.5),ve.create(3,4))],interiorSound:{sound:"club_music_01",soundAlt:"club_music_02",filter:"club",transitionTime:1,soundAltPlayTime:90,outsideMaxDist:10,outsideVolume:.25,undergroundVolume:.707,puzzle:"club_02"}},club_complex_01:{type:"building",map:{display:!0,shapes:[]},terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(-16,15),ve.create(19,6)),xe.createAabbExtents(ve.create(-8,-15.5),ve.create(26.5,27.5)),xe.createAabbExtents(ve.create(-2,-47),ve.create(10,5)),xe.createAabbExtents(ve.create(-37,-26),ve.create(4,5)),xe.createAabbExtents(ve.create(23,-7),ve.create(8,10)),xe.createAabbExtents(ve.create(22,-29),ve.create(6,12)),xe.createAabbExtents(ve.create(-8,-23),ve.create(28,21)),xe.createAabbExtents(ve.create(2,0),ve.create(16,12)),xe.createAabbExtents(ve.create(-16,0),ve.create(4,4)),xe.createAabbExtents(ve.create(-28.5,12.5),ve.create(3.5,3.5))],mapGroundPatches:[],floor:{surfaces:[],imgs:[]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"club_structure_01",pos:ve.create(0,0),scale:1,ori:0},{type:"shack_01",pos:ve.create(22,-10),scale:1,ori:1}]},bunker_egg_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,7.75),ve.create(2,3.25))]}],imgs:[{sprite:"map-bunker-generic-floor-01.img",pos:ve.create(0,7.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],vision:{dist:5,width:2.75,linger:.5,fadeRate:6},imgs:[]},mapObjects:[{type:"metal_wall_ext_short_6",pos:ve.create(0,5.3),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(-2.5,8.5),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(2.5,8.5),scale:1,ori:0},{type:"tree_01",pos:ve.create(5,8),scale:1.05,ori:0},{type:"tree_01",pos:ve.create(-5,7.5),scale:1.1,ori:0},{type:"tree_01",pos:ve.create(-1.25,15.75),scale:1,ori:0},{type:"decal_vent_01",pos:ve.create(-5,-0),scale:1,ori:0},{type:"stone_01",pos:ve.create(-5.75,-1.5),scale:1,ori:0,inheritOri:!1},{type:"decal_vent_02",pos:ve.create(4.5,-8.5),scale:1,ori:0},{type:"bush_01",pos:ve.create(5.75,-6.75),scale:1,ori:0}]},bunker_egg_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,-4.5),ve.create(10,9))]}],imgs:[{sprite:"map-bunker-egg-chamber-floor-01a.img",pos:ve.create(-.15,-4.6),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-egg-chamber-floor-01b.img",pos:ve.create(0,9.24),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,-4.5),ve.create(10,9))}],imgs:[{sprite:"map-bunker-egg-chamber-ceiling-01.img",scale:1,alpha:1,tint:16777215}],vision:{dist:5,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(0,11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(-3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(-10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_24",pos:ve.create(0,-14.5),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-2,5),scale:1,ori:3},{type:"crate_07",pos:ve.create(0,-4.5),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-7,-11),scale:.9,ori:0}]},bunker_egg_sublevel_02:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,-4.5),ve.create(10,9))]}],imgs:[{sprite:"map-bunker-egg-chamber-floor-01a.img",pos:ve.create(-.15,-4.6),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-egg-chamber-floor-01b.img",pos:ve.create(0,9.25),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,-4.5),ve.create(10,9))}],imgs:[{sprite:"map-bunker-egg-chamber-ceiling-01.img",scale:1,alpha:1,tint:16777215}],vision:{dist:5,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(0,11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(-3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(-10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_24",pos:ve.create(0,-14.5),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-2,5),scale:1,ori:3},{type:"crate_07b",pos:ve.create(0,-4.5),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-7,-11),scale:.9,ori:0}]},bunker_egg_sublevel_01sv:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,-4.5),ve.create(10,9))]}],imgs:[{sprite:"map-bunker-egg-chamber-floor-01a.img",pos:ve.create(-.15,-4.6),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-egg-chamber-floor-01b.img",pos:ve.create(0,9.25),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,-4.5),ve.create(10,9))}],imgs:[{sprite:"map-bunker-egg-chamber-ceiling-01.img",scale:1,alpha:1,tint:16777215}],vision:{dist:5,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(0,11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(-3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(-10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_24",pos:ve.create(0,-14.5),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-2,5),scale:1,ori:3},{type:"crate_07sv",pos:ve.create(0,-4.5),scale:1,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-7,-11),scale:.9,ori:0}]},bunker_structure_01:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,5),ve.create(7.5,12.5))],layers:[{type:"bunker_egg_01",pos:ve.create(0,0),ori:0},{type:"bunker_egg_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,8.4),ve.create(2,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(0,-3.7),ve.create(10,9.5))]},bunker_structure_01b:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,5),ve.create(7.5,12.5))],layers:[{type:"bunker_egg_01",pos:ve.create(0,0),ori:0},{type:"bunker_egg_sublevel_02",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,8.4),ve.create(2,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(0,-3.7),ve.create(10,9.5))]},bunker_structure_01sv:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,5),ve.create(7.5,12.5))],layers:[{type:"bunker_egg_01",pos:ve.create(0,0),ori:0},{type:"bunker_egg_sublevel_01sv",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,8.4),ve.create(2,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(0,-3.7),ve.create(10,9.5))]},bunker_hydra_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(20.25,3.5),ve.create(6.25,5.5)),color:2894892},{collider:xe.createAabbExtents(ve.create(32.25,3.5),ve.create(6.75,9.25)),color:3815994}]},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(20.25,3.5),ve.create(6.25,5.5)),xe.createAabbExtents(ve.create(32.25,3.5),ve.create(6.75,9.25))]},{type:"container",collision:[xe.createAabbExtents(ve.create(16.25,3.5),ve.create(3.25,2)),xe.createAabbExtents(ve.create(-16.5,-90.75),ve.create(2,3.25)),xe.createAabbExtents(ve.create(40,-50.5),ve.create(2,3.25))]}],imgs:[{sprite:"map-bunker-hydra-floor-01.img",pos:ve.create(25.75,3.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-generic-floor-01.img",pos:ve.create(-16.5,-90),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-bunker-generic-floor-01.img",pos:ve.create(40,-51),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(19.25,3.5),ve.create(6.25,5.5))},{zoomIn:xe.createAabbExtents(ve.create(32.25,3.5),ve.create(6.75,9.25))}],imgs:[{sprite:"map-bunker-hydra-ceiling-01.img",pos:ve.create(25.75,3.5),scale:1,alpha:1,tint:16777215}],vision:{dist:5,width:2.75,linger:.5,fadeRate:6}},mapObjects:[{type:"concrete_wall_ext_13",pos:ve.create(18.75,9.5),scale:1,ori:1},{type:"concrete_wall_ext_13",pos:ve.create(18.75,-2.5),scale:1,ori:1},{type:"concrete_wall_ext_11",pos:ve.create(12.75,3.5),scale:1,ori:0},{type:"concrete_wall_ext_7",pos:ve.create(25.75,9),scale:1,ori:0},{type:"concrete_wall_ext_7",pos:ve.create(25.75,-2),scale:1,ori:0},{type:"concrete_wall_ext_2",pos:ve.create(26.25,12.5),scale:1,ori:1},{type:"concrete_wall_ext_2",pos:ve.create(26.25,-5.5),scale:1,ori:1},{type:"concrete_wall_ext_8",pos:ve.create(35.25,12.5),scale:1,ori:1},{type:"concrete_wall_ext_8",pos:ve.create(35.25,-5.5),scale:1,ori:1},{type:"concrete_wall_ext_17",pos:ve.create(38.75,3.5),scale:1,ori:0},{type:"police_wall_int_7",pos:ve.create(32.75,8.5),scale:1,ori:0},{type:"police_wall_int_2",pos:ve.create(33.25,4.5),scale:1,ori:1},{type:"house_door_01",pos:ve.create(38.25,4.5),scale:1,ori:1},{type:o({toilet_03:5,toilet_04:1}),pos:ve.create(35.75,10.5),scale:1,ori:0},{type:"crate_08",pos:ve.create(35.75,-2.5),scale:1,ori:0},{type:"metal_wall_ext_short_6",pos:ve.create(13,3.5),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(17,6),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(17,1),scale:1,ori:1},{type:"decal_vent_01",pos:ve.create(-1.5,8),scale:1,ori:0},{type:"decal_vent_02",pos:ve.create(8,-.5),scale:1,ori:0},{type:"metal_wall_ext_short_6",pos:ve.create(-16.5,-87.75),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(-19,-91),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(-14,-91),scale:1,ori:0},{type:"decal_vent_01",pos:ve.create(-15.15,-79.55),scale:1,ori:0},{type:"metal_wall_ext_short_6",pos:ve.create(40,-53.25),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(37.5,-50),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(42.5,-50),scale:1,ori:0},{type:"decal_vent_02",pos:ve.create(40,-60.5),scale:1,ori:0},{type:"tree_01",pos:ve.create(-11.5,-92),scale:1.05,ori:0},{type:"tree_01",pos:ve.create(-21.5,-92.5),scale:1.1,ori:0},{type:"tree_01",pos:ve.create(-17.5,-83.25),scale:1,ori:0},{type:"tree_01",pos:ve.create(45,-50),scale:1.05,ori:0},{type:"tree_01",pos:ve.create(35,-50.5),scale:1.1,ori:0},{type:"tree_01",pos:ve.create(38.75,-42.25),scale:1,ori:0},{type:"decal_hydra_01",pos:ve.create(3.5,-48.5),scale:1,ori:0,inheritOri:!1}]},bunker_hydra_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(3.5,3),ve.create(9.5,9))]},{type:"tile",collision:[xe.createAabbExtents(ve.create(-15.5,-79.5),ve.create(3,8)),xe.createAabbExtents(ve.create(40.5,-62),ve.create(9.5,8))]}],imgs:[{sprite:"map-bunker-hydra-chamber-floor-01a.img",pos:ve.create(17.5,3.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hydra-chamber-floor-01b.img",pos:ve.create(3.5,2.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hydra-chamber-floor-02.img",pos:ve.create(-15.5,-83),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hydra-chamber-floor-03.img",pos:ve.create(40.5,-58.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(3.5,2.25),ve.create(10,10))},{zoomIn:xe.createAabbExtents(ve.create(-15,-77),ve.create(5.5,10.5))},{zoomIn:xe.createAabbExtents(ve.create(38,-62),ve.create(11.5,8))}],imgs:[{sprite:"map-bunker-hydra-chamber-ceiling-01.img",pos:ve.create(7,2),scale:1,alpha:1,tint:6250335},{sprite:"map-bunker-hydra-chamber-ceiling-02.img",pos:ve.create(-13.5,-76.5),scale:1,alpha:1,tint:6250335},{sprite:"map-bunker-hydra-chamber-ceiling-03.img",pos:ve.create(38,-62),scale:1,alpha:1,tint:6250335}],vision:{dist:10,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(20,3.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(16.5,7),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(16.5,0),scale:1,ori:1},{type:"metal_wall_ext_thicker_7",pos:ve.create(14,12),scale:1,ori:0},{type:"metal_wall_ext_thicker_7",pos:ve.create(14,-5),scale:1,ori:0},{type:"metal_wall_ext_thicker_21",pos:ve.create(2,13.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_21",pos:ve.create(-7,2.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_5",pos:ve.create(-3,-6.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_5",pos:ve.create(10,-6.5),scale:1,ori:1},{type:"house_door_02",pos:ve.create(13.5,5.5),scale:1,ori:2},{type:"lab_door_01",pos:ve.create(-.5,-7.5),scale:1,ori:3},{type:"lab_door_01",pos:ve.create(7.5,-7.5),scale:1,ori:1},{type:"sandbags_01",pos:ve.create(0,7.25),scale:1,ori:1},{type:"crate_01",pos:ve.create(10.25,-2.75),scale:.9,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(10.25,9.75),scale:.9,ori:0,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(-3.5,-3),scale:.9,ori:0},{type:"metal_wall_ext_thicker_23",pos:ve.create(-20,-83),scale:1,ori:0},{type:"metal_wall_ext_thicker_19",pos:ve.create(-11,-79),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(-13,-90.5),scale:1,ori:0},{type:"concrete_wall_ext_6",pos:ve.create(-16.5,-94),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-18.5,-87.5),scale:1,ori:3},{type:"locker_01",pos:ve.create(-12.15,-79),scale:1,ori:3},{type:"locker_01",pos:ve.create(-12.15,-74.5),scale:1,ori:3},{type:"locker_01",pos:ve.create(-12.15,-83.5),scale:1,ori:3},{type:"concrete_wall_ext_6",pos:ve.create(40,-47),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(36.5,-50.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(43.5,-50.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(33,-53),scale:1,ori:1},{type:"metal_wall_ext_thicker_7",pos:ve.create(30,-55),scale:1,ori:0},{type:"metal_wall_ext_thicker_7",pos:ve.create(30,-66),scale:1,ori:0},{type:"metal_wall_ext_thicker_16",pos:ve.create(36.5,-71),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(48.25,-70),scale:1,ori:1},{type:"metal_wall_ext_thicker_13",pos:ve.create(50,-62),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(48.25,-54),scale:1,ori:1},{type:"house_door_02",pos:ve.create(38,-53.5),scale:1,ori:3},{type:"crate_08",pos:ve.create(34,-67),scale:1,ori:2},{type:"locker_01",pos:ve.create(46.5,-55.15),scale:1,ori:0},{type:"locker_01",pos:ve.create(48.9,-57.5),scale:1,ori:3},{type:"locker_01",pos:ve.create(48.9,-62),scale:1,ori:3},{type:"locker_01",pos:ve.create(48.9,-66.5),scale:1,ori:3},{type:"locker_01",pos:ve.create(46.5,-68.85),scale:1,ori:2},{type:"bunker_hydra_compartment_01",pos:ve.create(3.5,-18.95),scale:1,ori:0},{type:"bunker_hydra_compartment_02",pos:ve.create(6,-50),scale:1,ori:0},{type:"bunker_hydra_compartment_03",pos:ve.create(10.5,-74.95),scale:1,ori:0}]},bunker_hydra_compartment_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,1.5),ve.create(9.5,12.5))]}],imgs:[{sprite:"map-bunker-hydra-compartment-floor-01.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,1.25),ve.create(10,10))}],imgs:[{sprite:"map-bunker-hydra-compartment-ceiling-01.img",pos:ve.create(0,1.25),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_17",pos:ve.create(-9.75,3),scale:1,ori:0},{type:"metal_wall_ext_thicker_5",pos:ve.create(-6.5,9.75),scale:1,ori:1},{type:"metal_wall_ext_thicker_5",pos:ve.create(6.5,10.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_18",pos:ve.create(10.5,1.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_7",pos:ve.create(-7.5,-6.75),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(8,-7.5),scale:1,ori:1},{type:"crate_08",pos:ve.create(6.5,6.5),scale:1,ori:2},{type:"sandbags_01",pos:ve.create(4.75,1.5),scale:1,ori:0},{type:"lab_door_01",pos:ve.create(-4,-8.5),scale:1,ori:3},{type:"lab_door_01",pos:ve.create(4,-8.5),scale:1,ori:1},{type:"locker_01",pos:ve.create(-6,8.4),scale:1,ori:0},{type:"locker_01",pos:ve.create(-8.35,6),scale:1,ori:1},{type:"locker_01",pos:ve.create(-8.35,1.5),scale:1,ori:1},{type:"locker_01",pos:ve.create(-8.35,-3),scale:1,ori:1},{type:"locker_01",pos:ve.create(-6,-5.4),scale:1,ori:2}]},metal_wall_column_5x12:W({material:"metal",extents:ve.create(2.5,6)}),bunker_hydra_compartment_02:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"tile",data:{isBright:!0},collision:[xe.createAabbExtents(ve.create(-2.5,16),ve.create(22,4)),xe.createAabbExtents(ve.create(-2.5,9.5),ve.create(6,2.5)),xe.createAabbExtents(ve.create(0,-4.5),ve.create(25,17))]}],imgs:[{sprite:"map-bunker-hydra-compartment-floor-02.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-2,3),ve.create(22.5,19.5))}],imgs:[{sprite:"map-bunker-hydra-compartment-ceiling-02.img",pos:ve.create(0,1),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_21",pos:ve.create(-17,21.75),scale:1,ori:1},{type:"metal_wall_ext_thicker_21",pos:ve.create(12,21.75),scale:1,ori:1},{type:"metal_wall_ext_thicker_42",pos:ve.create(-26,-.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_29",pos:ve.create(21,6),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(-19,-18.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-18.5,-14),scale:1,ori:1},{type:"metal_wall_ext_thicker_5",pos:ve.create(-15,-15),scale:1,ori:0},{type:"metal_wall_ext_thicker_9",pos:ve.create(-9,-16),scale:1,ori:1},{type:"metal_wall_ext_thicker_9",pos:ve.create(4,-16),scale:1,ori:1},{type:"metal_wall_ext_thicker_5",pos:ve.create(10,-15),scale:1,ori:0},{type:"metal_wall_ext_thicker_11",pos:ve.create(17,-14),scale:1,ori:1},{type:"metal_wall_column_5x12",pos:ve.create(-14.5,13),scale:1,ori:1},{type:"metal_wall_column_5x12",pos:ve.create(9.5,13),scale:1,ori:1},{type:"control_panel_03",pos:ve.create(-7,12),scale:1,ori:1},{type:"control_panel_03",pos:ve.create(2,12),scale:1,ori:3},{type:"lab_window_01",pos:ve.create(-7,7),scale:1,ori:1},{type:"lab_window_01",pos:ve.create(-4,7),scale:1,ori:1},{type:"lab_window_01",pos:ve.create(-1,7),scale:1,ori:1},{type:"lab_window_01",pos:ve.create(2,7),scale:1,ori:1},{type:"metal_wall_ext_4",pos:ve.create(-9,8.5),scale:1,ori:0},{type:"metal_wall_ext_4",pos:ve.create(4,8.5),scale:1,ori:0},{type:"lab_door_01",pos:ve.create(-20.5,13),scale:1,ori:1},{type:"lab_door_01",pos:ve.create(15.5,13),scale:1,ori:3},{type:"crate_01",pos:ve.create(-17.5,7.75),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"vat_01",pos:ve.create(-12.25,7.5),scale:1,ori:3},{type:"vat_01",pos:ve.create(-12,-2.5),scale:1,ori:0},{type:"vat_01",pos:ve.create(-18,-2.5),scale:1,ori:2},{type:"vat_02",pos:ve.create(-2.5,1.5),scale:1,ori:2},{type:"power_box_01",pos:ve.create(-2.5,-3),scale:1,ori:2},{type:"crate_01",pos:ve.create(12.5,7.75),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"vat_01",pos:ve.create(7.25,7.5),scale:1,ori:3},{type:"vat_01",pos:ve.create(7,-2.5),scale:1,ori:2},{type:"vat_01",pos:ve.create(13,-2.5),scale:1,ori:0},{type:"vat_01",pos:ve.create(-10.75,-11.5),scale:1,ori:1},{type:"lab_door_01",pos:ve.create(-4.5,-16.5),scale:1,ori:3},{type:"vat_01",pos:ve.create(5.75,-11.5),scale:1,ori:1},{type:"fire_ext_01",pos:ve.create(1.5,-14.15),scale:1,ori:1},{type:"lab_door_03",pos:ve.create(-20.5,-16.5),scale:1,ori:1},{type:"lab_door_02",pos:ve.create(20.5,-8.5),scale:1,ori:2}]},bunker_hydra_compartment_03:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,2),ve.create(9,8.75))]}],imgs:[{sprite:"map-bunker-hydra-compartment-floor-03.img",pos:ve.create(0,-.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,.75),ve.create(10,7.75))}],imgs:[{sprite:"map-bunker-hydra-compartment-ceiling-03.img",pos:ve.create(0,1),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_17",pos:ve.create(-10.5,-1),scale:1,ori:0},{type:"metal_wall_ext_thicker_18",pos:ve.create(0,-8),scale:1,ori:1},{type:"metal_wall_ext_thicker_18",pos:ve.create(10.5,-1),scale:1,ori:0},{type:"metal_wall_ext_thicker_14",pos:ve.create(2,6),scale:1,ori:1},{type:"crate_01",pos:ve.create(-6.5,-1.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(-1.75,2),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(-2,-2),scale:.9,ori:0},{type:"case_03",pos:ve.create(7,-4),scale:1,ori:3}]},bunker_structure_02:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(25.5,3.5),ve.create(16,11.5)),xe.createAabbExtents(ve.create(-16.5,-89.5),ve.create(7,7.5)),xe.createAabbExtents(ve.create(40,-47.25),ve.create(6.5,7.25)),xe.createAabbExtents(ve.create(3.5,-48.5),ve.create(3,3))],layers:[{type:"bunker_hydra_01",pos:ve.create(0,0),ori:0},{type:"bunker_hydra_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(16.4,3.5),ve.create(2.6,2)),downDir:ve.create(-1,0)},{collision:xe.createAabbExtents(ve.create(-16.5,-90.75),ve.create(2,2.5)),downDir:ve.create(0,1)},{collision:xe.createAabbExtents(ve.create(40,-50.35),ve.create(2,2.5)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(3.5,-7.2),ve.create(10.75,20)),xe.createAabbExtents(ve.create(-15,-79.75),ve.create(5,8.5)),xe.createAabbExtents(ve.create(39,-61.85),ve.create(12,9)),xe.createAabbExtents(ve.create(3.5,-49.2),ve.create(23.49,21.99)),xe.createAabbExtents(ve.create(10.5,-76.7),ve.create(10,5.5))]},bunker_storm_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,10),ve.create(3.6,5.8)),color:6707790}]},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,7.75),ve.create(2,3.25))]},{type:"shack",collision:[xe.createAabbExtents(ve.create(0,13.5),ve.create(3.75,2.5))]},{type:"asphalt",collision:[xe.createAabbExtents(ve.create(5,13.75),ve.create(1.25,2.25))]}],imgs:[{sprite:"map-bunker-storm-floor-02.img",pos:ve.create(1.25,10),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,10),ve.create(3.5,5.6)),zoomOut:xe.createAabbExtents(ve.create(0,10),ve.create(3.8,5.9))}],vision:{dist:5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-shack-ceiling-01.img",pos:ve.create(-1,10),scale:.667,alpha:1,tint:16777215,rot:1}],destroy:{wallCount:2,particle:"shackBreak",particleCount:25,residue:"none"}},mapObjects:[{type:"metal_wall_ext_short_6",pos:ve.create(0,5.3),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(-2.5,8.5),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(2.5,8.5),scale:1,ori:0},{type:"shack_wall_bot",pos:ve.create(3.39,8.6),scale:1,ori:1},{type:"shack_wall_side_left",pos:ve.create(.3,4.52),scale:1,ori:1},{type:"shack_wall_top",pos:ve.create(-3.39,9.73),scale:1,ori:1},{type:"shack_wall_side_right",pos:ve.create(0,15.58),scale:1,ori:1},{type:"crate_01",pos:ve.create(-2,17.9),scale:.8,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(1.45,17.7),scale:.85,ori:0},{type:"decal_vent_01",pos:ve.create(-5,-0),scale:1,ori:0},{type:"decal_vent_02",pos:ve.create(4.5,-8.5),scale:1,ori:0},{type:"stone_01",pos:ve.create(-4.25,-1.5),scale:1,ori:0,inheritOri:!1},{type:"bush_01",pos:ve.create(3.75,-6.75),scale:1,ori:0}]},bunker_storm_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(1,-4.4),ve.create(10.5,9))]},{type:"tile",collision:[xe.createAabbExtents(ve.create(19,-5.5),ve.create(7.5,8))]}],imgs:[{sprite:"map-bunker-storm-chamber-floor-01a.img",pos:ve.create(8.5,-4.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-storm-chamber-floor-01b.img",pos:ve.create(0,9.25),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(8.5,-4.5),ve.create(18,9.5))}],imgs:[{sprite:"map-bunker-storm-chamber-ceiling-01.img",pos:ve.create(8.5,-1),scale:1,alpha:1,tint:16777215}],vision:{dist:5,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(0,11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(-3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(-10.5,-3),scale:1,ori:0},{type:"metal_wall_ext_thicker_21",pos:ve.create(-1.5,-14.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_10",pos:ve.create(10.5,-11),scale:1,ori:0},{type:"metal_wall_ext_thicker_10",pos:ve.create(12.5,-11),scale:1,ori:0},{type:"metal_wall_ext_thicker_15",pos:ve.create(21.5,-14.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_15",pos:ve.create(27.5,-5.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_17",pos:ve.create(20.5,3.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_9",pos:ve.create(10.5,2.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(12.5,0),scale:1,ori:0},{type:"house_door_02",pos:ve.create(-2,5),scale:1,ori:3},{type:"crate_01",pos:ve.create(-6.5,1.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_04",pos:ve.create(6,-1.2),scale:1,ori:0},{type:"crate_04",pos:ve.create(3.9,-6.4),scale:1,ori:0},{type:"control_panel_03",pos:ve.create(16,-11.5),scale:1,ori:2},{type:"control_panel_02",pos:ve.create(20,-11.25),scale:1,ori:2},{type:"control_panel_03",pos:ve.create(24,-11.5),scale:1,ori:2},{type:"crate_08",pos:ve.create(23.5,-.5),scale:1,ori:0},{type:o({case_03:1,chest_02:9}),pos:ve.create(16.5,.25),scale:1,ori:0},{type:"lab_door_01",pos:ve.create(11.5,-2),scale:1,ori:2},{type:"barrel_01",pos:ve.create(-7,-11),scale:.9,ori:0}]},bunker_structure_03:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,6),ve.create(7,16.5))],layers:[{type:"bunker_storm_01",pos:ve.create(0,0),ori:0},{type:"bunker_storm_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,8.4),ve.create(2,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(8.5,-3.7),ve.create(18,9.5))]},bunker_conch_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(20,3.35),ve.create(5.5,2.5)),color:2703694},{collider:xe.createAabbExtents(ve.create(46.5,-32.55),ve.create(5.5,2.5)),color:2703694}]},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(16.25,3.5),ve.create(3.25,2)),xe.createAabbExtents(ve.create(44.25,-32.5),ve.create(3.25,2)),xe.createAabbExtents(ve.create(22,3.35),ve.create(8,2.5)),xe.createAabbExtents(ve.create(50.5,-32.55),ve.create(8,2.5))]}],imgs:[{sprite:"map-bunker-conch-floor-01.img",pos:ve.create(20.75,3.45),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-conch-floor-01.img",pos:ve.create(48.75,-32.45),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(19,3.35),ve.create(5.5,2.5)),zoomOut:xe.createAabbExtents(ve.create(22,3.35),ve.create(8,2.5))},{zoomIn:xe.createAabbExtents(ve.create(47.5,-32.55),ve.create(5.5,2.5)),zoomOut:xe.createAabbExtents(ve.create(50.5,-32.55),ve.create(8,2.5))}],imgs:[{sprite:"map-bunker-conch-ceiling-01.img",pos:ve.create(19.25,3.35),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-conch-ceiling-01.img",pos:ve.create(47.25,-32.55),scale:.5,alpha:1,tint:16777215}],vision:{}},mapObjects:[{type:"container_wall_top",pos:ve.create(13.7,3.35),scale:1,ori:1},{type:"container_wall_side",pos:ve.create(19.6,5.7),scale:1,ori:1},{type:"container_wall_side",pos:ve.create(19.6,1),scale:1,ori:1},{type:"barrel_01",pos:ve.create(24,9),scale:1,ori:0},{type:"crate_01",pos:ve.create(18,-2),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"container_wall_top",pos:ve.create(41.7,-32.55),scale:1,ori:1},{type:"container_wall_side",pos:ve.create(47.6,-34.9),scale:1,ori:1},{type:"container_wall_side",pos:ve.create(47.6,-30.2),scale:1,ori:1},{type:"crate_01",pos:ve.create(47,-27),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(40,-37),scale:1,ori:0},{type:"decal_vent_03",pos:ve.create(-2,-13.5),scale:1,ori:0}]},bunker_conch_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(1,4),ve.create(12.5,3.5)),xe.createAabbExtents(ve.create(28,-30),ve.create(13.5,4.5))]}],imgs:[{sprite:"map-bunker-conch-chamber-floor-01.img",pos:ve.create(4,5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-conch-chamber-floor-02.img",pos:ve.create(34.86,-29.9),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(1,3.5),ve.create(12.5,5))},{zoomIn:xe.createAabbExtents(ve.create(26.75,-30),ve.create(15.25,4.5))}],imgs:[{sprite:"map-bunker-conch-chamber-ceiling-01.img",pos:ve.create(-2,3.5),scale:1,alpha:1,tint:6250335},{sprite:"map-bunker-conch-chamber-ceiling-02.img",pos:ve.create(26.25,-29.9),scale:1,alpha:1,tint:6250335}],vision:{dist:7,width:3}},occupiedEmitters:[{type:"bunker_bubbles_01",pos:ve.create(-2,-13.5),rot:0,scale:.5,layer:0}],mapObjects:[{type:"house_door_02",pos:ve.create(13.5,1.35),scale:1,ori:0},{type:"concrete_wall_ext_6",pos:ve.create(20,3.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(16.5,6.7),scale:1,ori:1},{type:"metal_wall_ext_thicker_29",pos:ve.create(7,0),scale:1,ori:1},{type:"metal_wall_ext_thicker_16",pos:ve.create(5.5,9),scale:1,ori:1},{type:"metal_wall_ext_thicker_9",pos:ve.create(-7,7),scale:1,ori:1},{type:"metal_wall_ext_thicker_10",pos:ve.create(-13,3.5),scale:1,ori:0},{type:"locker_01",pos:ve.create(9.5,7.85),scale:1,ori:0},{type:"locker_01",pos:ve.create(5,7.85),scale:1,ori:0},{type:"locker_01",pos:ve.create(.5,7.85),scale:1,ori:0},{type:"decal_pipes_01",pos:ve.create(-4.5,5),scale:1,ori:2},{type:"house_door_02",pos:ve.create(41.5,-34.55),scale:1,ori:0},{type:"concrete_wall_ext_6",pos:ve.create(48,-32.4),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(38.5,-35.9),scale:1,ori:1},{type:"metal_wall_ext_thicker_13",pos:ve.create(42,-29.2),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(34,-26.7),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(27,-33.4),scale:1,ori:0},{type:"metal_wall_ext_thicker_11",pos:ve.create(20,-30.9),scale:1,ori:1},{type:"metal_wall_ext_thicker_18",pos:ve.create(23.5,-23.9),scale:1,ori:1},{type:"decal_pipes_04",pos:ve.create(22,-29.9),scale:1,ori:2},{type:"loot_tier_2",pos:ve.create(31,-30),scale:1,ori:0},{type:"bunker_conch_compartment_01",pos:ve.create(-1.5,-12.4),scale:1,ori:0}]},bunker_conch_compartment_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"water",collision:[xe.createAabbExtents(ve.create(1,-2.5),ve.create(15,15.5))]}],imgs:[{sprite:"map-bunker-conch-compartment-floor-01a.img",pos:ve.create(-3,-.75),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-conch-compartment-floor-01b.img",pos:ve.create(9.75,-17.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-1.5,-1),ve.create(12.5,12))},{zoomIn:xe.createAabbExtents(ve.create(9.5,-14.5),ve.create(4,2.5))}],imgs:[{sprite:"map-bunker-conch-compartment-ceiling-01.img",pos:ve.create(-.75,-5.5),scale:1,alpha:1,tint:6250335}],vision:{dist:7,width:3}},occupiedEmitters:[{type:"bunker_bubbles_01",pos:ve.create(-.5,-1),rot:0,scale:.5,layer:0}],mapObjects:[{type:"metal_wall_ext_thicker_5",pos:ve.create(-11.5,8.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-15,7.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_11",pos:ve.create(-15.5,.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_7",pos:ve.create(-13.5,-6.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_7",pos:ve.create(-11.5,-11.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_13",pos:ve.create(-3.5,-13.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_5",pos:ve.create(4.5,-14.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_13",pos:ve.create(9.5,-18.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_7",pos:ve.create(13.5,-11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_19",pos:ve.create(11.5,-.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_19",pos:ve.create(3.5,10.5),scale:1,ori:1},{type:"lab_door_01",pos:ve.create(-10,11),scale:1,ori:3},{type:"control_panel_03",pos:ve.create(-12.25,4.25),scale:1,ori:1},{type:"control_panel_02",pos:ve.create(-12,.25),scale:1,ori:1},{type:"fire_ext_01",pos:ve.create(-3,8.75),scale:1,ori:3},{type:"crate_09",pos:ve.create(2.75,6.25),scale:1,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(7.5,6.25),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"decal_pipes_02",pos:ve.create(7.25,7.25),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-3.75,-2),scale:.8,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(-1.25,-4.25),scale:.8,ori:0,inheritOri:!1},{type:"crate_01",pos:ve.create(-7.5,-9.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(3.5,-9.5),scale:1,ori:0,ignoreMapSpawnReplacement:!0},{type:"decal_pipes_03",pos:ve.create(-5.25,-9.25),scale:1,ori:0},{type:"lab_door_01",pos:ve.create(13.5,-17),scale:1,ori:0}]},bunker_structure_04:{type:"structure",terrain:{waterEdge:{dir:ve.create(-1,0),distMin:15,distMax:16}},mapObstacleBounds:[xe.createAabbExtents(ve.create(21,3.5),ve.create(9.5,8)),xe.createAabbExtents(ve.create(48,-32.5),ve.create(10,8))],layers:[{type:"bunker_conch_01",pos:ve.create(0,0),ori:0},{type:"bunker_conch_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(16.9,3.5),ve.create(2.6,2)),downDir:ve.create(-1,0)},{collision:xe.createAabbExtents(ve.create(44.9,-32.5),ve.create(2.6,2)),downDir:ve.create(-1,0)}],mask:[xe.createAabbExtents(ve.create(-1.5,-9.2),ve.create(15.7,22)),xe.createAabbExtents(ve.create(28.25,-32),ve.create(14,8))]},bunker_crossing_stairs_01:p({}),bunker_crossing_stairs_01b:p({ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,.75),ve.create(2,3.25))}],imgs:[{sprite:"map-bunker-crossing-ceiling-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215,rot:0}]}}),bunker_crossing_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(5,5)),color:1984867}]},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[],imgs:[{sprite:"map-bunker-crossing-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"bunker_crossing_stairs_01b",pos:ve.create(34.5,28.5),scale:1,ori:3},{type:"bunker_crossing_stairs_01b",pos:ve.create(-36,20),scale:1,ori:2},{type:"bunker_crossing_stairs_01b",pos:ve.create(36,-14),scale:1,ori:0},{type:"bunker_crossing_stairs_01",pos:ve.create(-34.5,-22.5),scale:1,ori:1}]},bunker_crossing_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,3.25),ve.create(38,28))]}],imgs:[{sprite:"map-bunker-crossing-chamber-floor-01a.img",pos:ve.create(-11.44,27),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-bunker-crossing-chamber-floor-01b.img",pos:ve.create(-9.38,18.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-bunker-crossing-chamber-floor-01c.img",pos:ve.create(-36.44,18.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-bunker-crossing-chamber-floor-03.img",pos:ve.create(28.5,23.5),scale:.5,alpha:1,tint:16777215,rot:2},{sprite:"map-bunker-crossing-chamber-floor-02.img",pos:ve.create(-28.5,-17.5),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-bunker-crossing-chamber-floor-01a.img",pos:ve.create(11.45,-21),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-bunker-crossing-chamber-floor-01b.img",pos:ve.create(9.39,-12.5),scale:.5,alpha:1,tint:16777215,rot:0},{sprite:"map-bunker-crossing-chamber-floor-01c.img",pos:ve.create(36.45,-12.5),scale:.5,alpha:1,tint:16777215,rot:0}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-3,27.5),ve.create(35.1,5))},{zoomIn:xe.createAabbExtents(ve.create(3,-21.5),ve.create(35.1,5))},{zoomIn:xe.createAabbExtents(ve.create(-4,20.5),ve.create(3,3))},{zoomIn:xe.createAabbExtents(ve.create(4,-14.5),ve.create(3,3))}],imgs:[{sprite:"map-bunker-crossing-chamber-ceiling-01.img",pos:ve.create(-3.5,24),scale:1,alpha:1,tint:6250335},{sprite:"map-bunker-crossing-chamber-ceiling-01.img",pos:ve.create(3.5,-18),scale:1,alpha:1,tint:6250335,rot:2}],vision:{dist:7,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(38.5,28.5),scale:1,ori:0},{type:"house_door_02",pos:ve.create(32,30.5),scale:1,ori:2},{type:"decal_pipes_05",pos:ve.create(13,28.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_48",pos:ve.create(15,32),scale:1,ori:1},{type:"metal_wall_ext_thicker_35",pos:ve.create(21.5,25),scale:1,ori:1},{type:"metal_wall_ext_thicker_6",pos:ve.create(2.5,23.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(-.5,20.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(-7.5,20.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_32",pos:ve.create(-22,29),scale:1,ori:1},{type:"metal_wall_ext_thicker_15",pos:ve.create(-39.5,23),scale:1,ori:0},{type:"concrete_wall_ext_6",pos:ve.create(-36,16),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-38,22.5),scale:1,ori:3},{type:"metal_wall_ext_thicker_8",pos:ve.create(-32.5,19.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_22",pos:ve.create(-20,22),scale:1,ori:1},{type:"barrel_01",pos:ve.create(-4.5,29),scale:.8,ori:0},{type:"concrete_wall_ext_6",pos:ve.create(-38.5,-22.5),scale:1,ori:0},{type:"house_door_02",pos:ve.create(-32,-20.5),scale:1,ori:2},{type:"decal_pipes_05",pos:ve.create(-12,-22.5),scale:1,ori:2},{type:"metal_wall_ext_thicker_48",pos:ve.create(-15,-26),scale:1,ori:1},{type:"metal_wall_ext_thicker_15",pos:ve.create(-31.5,-19),scale:1,ori:1},{type:"metal_wall_ext_thicker_16",pos:ve.create(-12,-19),scale:1,ori:1},{type:"metal_wall_ext_thicker_6",pos:ve.create(-2.5,-17.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(.5,-14.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(7.5,-14.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_32",pos:ve.create(22,-23),scale:1,ori:1},{type:"metal_wall_ext_thicker_15",pos:ve.create(39.5,-17),scale:1,ori:0},{type:"concrete_wall_ext_6",pos:ve.create(36,-10),scale:1,ori:1},{type:"house_door_02",pos:ve.create(38,-16.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(32.5,-13.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_22",pos:ve.create(20,-16),scale:1,ori:1},{type:"barrel_01",pos:ve.create(4.5,-23),scale:.8,ori:0},{type:"crate_06",pos:ve.create(-12.5,-22.25),scale:1,ori:0},{type:"crate_06",pos:ve.create(-7,-22.75),scale:1,ori:0},{type:"bunker_crossing_compartment_01",pos:ve.create(1.5,0),scale:1,ori:0}]},bunker_crossing_bathroom:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"water",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(0,0))]}],imgs:[{sprite:"",scale:.5,alpha:1,tint:6250335}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(3.75,2))}],imgs:[{sprite:"map-building-crossing-bathroom-ceiling.img",scale:.5,alpha:1,tint:6250335}]},mapObjects:[{type:o({toilet_03:5,toilet_04:1}),pos:ve.create(2,0),scale:1,ori:3}]},bunker_crossing_compartment_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"water",collision:[xe.createAabbExtents(ve.create(-1,3),ve.create(17,17.5))]}],imgs:[{sprite:"map-bunker-crossing-compartment-floor-02.img",pos:ve.create(-22.5,-10),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-crossing-compartment-floor-01.img",pos:ve.create(4,3),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(4,3),ve.create(22,14.5))},{zoomIn:xe.createAabbExtents(ve.create(-22,-11),ve.create(4.5,9))}],imgs:[{sprite:"map-bunker-crossing-compartment-ceiling-01a.img",pos:ve.create(-22.475,-11),scale:1,alpha:1,tint:6250335},{sprite:"map-bunker-crossing-compartment-ceiling-01b.img",pos:ve.create(3.975,3),scale:1,alpha:1,tint:6250335}],vision:{dist:7,width:3}},occupiedEmitters:[{type:"bunker_bubbles_02",pos:ve.create(-1.5,0),rot:0,scale:.5,layer:0}],mapObjects:[{type:"metal_wall_ext_thicker_13",pos:ve.create(-14,16),scale:1,ori:1},{type:"lab_door_01",pos:ve.create(-7.5,17.5),scale:1,ori:3},{type:"metal_wall_ext_thicker_18",pos:ve.create(5.5,16),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(16,13.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_15",pos:ve.create(22,8),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(28,4.5),scale:1,ori:0},{type:"lab_door_01",pos:ve.create(17.5,6.5),scale:1,ori:2},{type:"bunker_crossing_bathroom",pos:ve.create(22,4.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_15",pos:ve.create(22,1),scale:1,ori:1},{type:"metal_wall_ext_thicker_11",pos:ve.create(16,-6),scale:1,ori:0},{type:"metal_wall_ext_thicker_10",pos:ve.create(9.5,-10),scale:1,ori:1},{type:"lab_door_01",pos:ve.create(4.5,-11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_19",pos:ve.create(-9,-10),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(-19.5,-8),scale:1,ori:1},{type:"metal_wall_ext_thicker_10",pos:ve.create(-20,-14.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_17",pos:ve.create(-27,-11),scale:1,ori:0},{type:"metal_wall_ext_thicker_11",pos:ve.create(-23,-1),scale:1,ori:1},{type:"metal_wall_ext_thicker_14",pos:ve.create(-19,7.5),scale:1,ori:0},{type:"control_panel_04",pos:ve.create(-15.25,8.5),scale:1,ori:1},{type:"control_panel_03",pos:ve.create(-15.5,12.75),scale:1,ori:1},{type:"control_panel_03",pos:ve.create(-15.5,4.25),scale:1,ori:1},{type:"barrel_01",pos:ve.create(-5,10.25),scale:.8,ori:0},{type:"barrel_01",pos:ve.create(-3.25,12.5),scale:.8,ori:0},{type:"locker_01",pos:ve.create(1.15,14.85),scale:1,ori:0},{type:"locker_03",pos:ve.create(4.5,14.85),scale:1,ori:0},{type:"bookshelf_01",pos:ve.create(10.5,13),scale:1,ori:0},{type:"bed_sm_01",pos:ve.create(10.5,10),scale:1,ori:3},{type:"crate_01",pos:ve.create(-4.5,-6.25),scale:.8,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(-3,-2.5),scale:.8,ori:0,ignoreMapSpawnReplacement:!0},{type:"barrel_01",pos:ve.create(-1,-6.25),scale:.8,ori:0},{type:"fire_ext_01",pos:ve.create(14,-.5),scale:1,ori:2},{type:"refrigerator_01",pos:ve.create(8.25,-6.5),scale:1,ori:2},{type:"oven_01",pos:ve.create(12.25,-6.5),scale:1,ori:2},{type:"crossing_door_01",pos:ve.create(-17.85,-2.5),scale:1,ori:2},{type:"couch_01",pos:ve.create(-12,0),scale:1,ori:0},{type:"screen_01",pos:ve.create(-12,-7.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(-23.5,-4.5),scale:.8,ori:0,ignoreMapSpawnReplacement:!0},{type:"loot_tier_woodaxe",pos:ve.create(-23.5,-8.5),scale:.8,ori:0},{type:"crate_01",pos:ve.create(-23.5,-14),scale:.8,ori:0,ignoreMapSpawnReplacement:!0},{type:"crossing_door_01",pos:ve.create(-21.5,-20.15),scale:1,ori:1}]},bunker_structure_05:{type:"structure",terrain:{grass:!0,beach:!1,bridge:{nearbyWidthMult:1.2},spawnPriority:100},mapObstacleBounds:[xe.createAabbExtents(ve.create(35.5,28.5),ve.create(6,6)),xe.createAabbExtents(ve.create(-36,19),ve.create(6,6)),xe.createAabbExtents(ve.create(36,-13),ve.create(6,6)),xe.createAabbExtents(ve.create(-35.5,-22.5),ve.create(6,6)),xe.createAabbExtents(ve.create(0,0),ve.create(6,6))],bridgeLandBounds:[xe.createAabbExtents(ve.create(35.5,28.5),ve.create(5,5)),xe.createAabbExtents(ve.create(-36,19),ve.create(5,5)),xe.createAabbExtents(ve.create(36,-13),ve.create(5,5)),xe.createAabbExtents(ve.create(-35.5,-22.5),ve.create(5,5))],bridgeWaterBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(5,5))],layers:[{type:"bunker_crossing_01",pos:ve.create(0,0),ori:0},{type:"bunker_crossing_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(35.6,28.5),ve.create(2.6,2)),downDir:ve.create(-1,0)},{collision:xe.createAabbExtents(ve.create(-36,19),ve.create(2,2.6)),downDir:ve.create(0,1)},{collision:xe.createAabbExtents(ve.create(36,-13),ve.create(2,2.6)),downDir:ve.create(0,-1)},{collision:xe.createAabbExtents(ve.create(-35.5,-22.5),ve.create(2.6,2)),downDir:ve.create(1,0)}],mask:[xe.createAabbExtents(ve.create(-3.7,27),ve.create(36.5,5)),xe.createAabbExtents(ve.create(3.7,-21),ve.create(36.5,5)),xe.createAabbExtents(ve.create(0,3),ve.create(30,18.95))]},bunker_hatchet_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,10),ve.create(3.6,5.8)),color:6707790}]},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,7.75),ve.create(2,3.25))]},{type:"shack",collision:[xe.createAabbExtents(ve.create(0,13.5),ve.create(3.75,2.5)),xe.createAabbExtents(ve.create(5,13.75),ve.create(1.25,2.25))]}],imgs:[{sprite:"map-bunker-storm-floor-02.img",pos:ve.create(1.25,10),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,10),ve.create(3.5,5.6)),zoomOut:xe.createAabbExtents(ve.create(0,10),ve.create(3.8,5.9))}],vision:{dist:5,width:2.75,linger:.5,fadeRate:6},imgs:[{sprite:"map-building-shack-ceiling-01.img",pos:ve.create(-1,10),scale:.667,alpha:1,tint:16777215,rot:1}],destroy:{wallCount:2,particle:"shackBreak",particleCount:25,residue:"none"}},mapObjects:[{type:"metal_wall_ext_short_6",pos:ve.create(0,5.3),scale:1,ori:1},{type:"metal_wall_ext_short_7",pos:ve.create(-2.5,8.5),scale:1,ori:0},{type:"metal_wall_ext_short_7",pos:ve.create(2.5,8.5),scale:1,ori:0},{type:"shack_wall_bot",pos:ve.create(3.39,8.6),scale:1,ori:1},{type:"shack_wall_side_left",pos:ve.create(.3,4.52),scale:1,ori:1},{type:"shack_wall_top",pos:ve.create(-3.39,9.73),scale:1,ori:1},{type:"shack_wall_side_right",pos:ve.create(0,15.58),scale:1,ori:1},{type:"crate_01",pos:ve.create(-2,17.9),scale:.8,ori:0,inheritOri:!1},{type:"barrel_01",pos:ve.create(1.45,17.7),scale:.85,ori:0},{type:"decal_vent_01",pos:ve.create(5,0),scale:1,ori:0},{type:"decal_vent_02",pos:ve.create(5,-8.5),scale:1,ori:0},{type:"tree_07",pos:ve.create(6.75,-4.5),scale:1,ori:0}]},bunker_hatchet_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(-3,-4.4),ve.create(13,9))]}],imgs:[{sprite:"map-bunker-hatchet-chamber-floor-01a.img",pos:ve.create(0,-4.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-chamber-floor-01b.img",pos:ve.create(0,9.25),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-chamber-floor-01c.img",pos:ve.create(-15,-9.475),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-3,-4.4),ve.create(13,9.25))}],imgs:[{sprite:"map-bunker-hatchet-chamber-ceiling-01.img",pos:ve.create(-3,-4.5),scale:1,alpha:1,tint:6250335}],vision:{dist:5,width:3}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(0,11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(-3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_7",pos:ve.create(-8.5,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_7",pos:ve.create(8.5,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_20",pos:ve.create(10.5,-6),scale:1,ori:0},{type:"metal_wall_ext_thicker_10",pos:ve.create(-10.5,-1),scale:1,ori:0},{type:"metal_wall_ext_thicker_14",pos:ve.create(-16,-7.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_25",pos:ve.create(-3.5,-14.5),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-2,5),scale:1,ori:3},{type:"barrel_01",pos:ve.create(-5,.5),scale:.9,ori:0},{type:"crate_01",pos:ve.create(6.75,-10.75),scale:.85,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_06",pos:ve.create(0,-11),scale:1,ori:0},{type:"crate_06",pos:ve.create(7,-4),scale:1,ori:1},{type:"bunker_hatchet_compartment_01",pos:ve.create(-32,-1.5),scale:1,ori:0},{type:"bunker_hatchet_compartment_02",pos:ve.create(-63.5,-4),scale:1,ori:0},{type:"bunker_hatchet_compartment_03",pos:ve.create(-55,20.5),scale:1,ori:0}]},bunker_hatchet_compartment_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(16,13))]}],imgs:[{sprite:"map-bunker-hatchet-compartment-floor-01.img",pos:ve.create(0,.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(16,12.5))}],imgs:[{sprite:"map-bunker-hatchet-compartment-ceiling-01.img",pos:ve.create(0,0),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_13",pos:ve.create(10.5,2),scale:1,ori:0},{type:"metal_wall_ext_thicker_11",pos:ve.create(3.5,7),scale:1,ori:1},{type:"metal_wall_ext_thicker_18",pos:ve.create(-3.5,14.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_21",pos:ve.create(-10.5,6),scale:1,ori:0},{type:"metal_wall_ext_thicker_32",pos:ve.create(0,-13),scale:1,ori:1},{type:"metal_wall_ext_thicker_14",pos:ve.create(-16,-6),scale:1,ori:1},{type:"lab_door_01",pos:ve.create(16,-7.5),scale:1,ori:2},{type:"lab_door_01",pos:ve.create(-16,-7.5),scale:1,ori:2},{type:"lab_door_01",pos:ve.create(-9,12.5),scale:1,ori:3},{type:"metal_wall_ext_10",pos:ve.create(8.65,-.5),scale:1,ori:0},{type:"metal_wall_ext_10",pos:ve.create(3,5.15),scale:1,ori:1},{type:"locker_01",pos:ve.create(.5,5),scale:1,ori:0},{type:"locker_01",pos:ve.create(5.5,5),scale:1,ori:0},{type:"locker_01",pos:ve.create(8.5,2),scale:1,ori:3},{type:"locker_01",pos:ve.create(8.5,-3),scale:1,ori:3},{type:"barrel_01",pos:ve.create(1.5,-.5),scale:.9,ori:0},{type:"fire_ext_01",pos:ve.create(.5,-11.25),scale:.9,ori:1},{type:"couch_01",pos:ve.create(-7.5,-2.5),scale:1,ori:1},{type:"crate_01",pos:ve.create(-7,8.5),scale:.85,ori:0,ignoreMapSpawnReplacement:!0}]},bunker_hatchet_compartment_02:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(16,15))]}],imgs:[{sprite:"map-bunker-hatchet-compartment-floor-02a.img",pos:ve.create(4,-8.25),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-compartment-floor-02b.img",pos:ve.create(.75,6),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-compartment-floor-02c.img",pos:ve.create(-14,.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-compartment-floor-02d.img",pos:ve.create(-6.27,14.25),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(-.5,0),ve.create(16,15))}],imgs:[{sprite:"map-bunker-hatchet-compartment-ceiling-02.img",pos:ve.create(-.5,-.5),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_8",pos:ve.create(11.5,-10.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_13",pos:ve.create(10,4.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_11",pos:ve.create(3,9.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(6,-13),scale:1,ori:0},{type:"metal_wall_ext_thicker_12",pos:ve.create(-1.5,-16.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_7",pos:ve.create(-9,-13.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_11",pos:ve.create(-13,-8.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_15",pos:ve.create(-17,.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_6",pos:ve.create(-12.5,6.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_25",pos:ve.create(-11,20.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_14",pos:ve.create(-4,15),scale:1,ori:0},{type:"lab_door_01",pos:ve.create(-5.5,15),scale:1,ori:1},{type:"crate_01",pos:ve.create(-1.25,.5),scale:.85,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(2.75,-1.75),scale:.85,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_04",pos:ve.create(3,2.5),scale:.85,ori:0},{type:"crate_01",pos:ve.create(-7.5,11),scale:.85,ori:0,ignoreMapSpawnReplacement:!0},{type:"control_panel_06",pos:ve.create(2,6.25),scale:1,ori:0},{type:"control_panel_06",pos:ve.create(6.75,1.5),scale:1,ori:3},{type:"loot_tier_hatchet_melee",pos:ve.create(6.75,6.25),scale:1,ori:0},{type:"glass_wall_12_2",pos:ve.create(-10.5,-1),scale:1,ori:0},{type:"glass_wall_12_2",pos:ve.create(-1.5,-10),scale:1,ori:1},{type:"loot_tier_imperial_outfit",pos:ve.create(-13.5,-4.5),scale:1,ori:0},{type:"loot_tier_pineapple_outfit",pos:ve.create(-13.5,-1),scale:1,ori:0},{type:"loot_tier_tarkhany_outfit",pos:ve.create(-13.5,2.5),scale:1,ori:0},{type:"loot_tier_spetsnaz_outfit",pos:ve.create(-5,-13),scale:1,ori:0},{type:"loot_tier_lumber_outfit",pos:ve.create(-1.5,-13),scale:1,ori:0},{type:"loot_tier_verde_outfit",pos:ve.create(2,-13),scale:1,ori:0}]},bunker_hatchet_compartment_03:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(19,10))]}],imgs:[{sprite:"map-bunker-hatchet-compartment-floor-03a.img",pos:ve.create(-14.5,-8.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-compartment-floor-03b.img",pos:ve.create(-9,3),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-compartment-floor-03c.img",pos:ve.create(5.5,-.25),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-hatchet-compartment-floor-03d.img",pos:ve.create(14.5,-3.75),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(19,9.5))}],imgs:[{sprite:"map-bunker-hatchet-compartment-ceiling-03.img",pos:ve.create(0,0),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_25",pos:ve.create(1.5,-4),scale:1,ori:1},{type:"metal_wall_ext_thicker_18",pos:ve.create(12,3),scale:1,ori:1},{type:"metal_wall_ext_thicker_10",pos:ve.create(1.5,6.5),scale:1,ori:0},{type:"metal_wall_ext_thicker_21",pos:ve.create(-10.5,10),scale:1,ori:1},{type:"crate_01",pos:ve.create(-16,-5),scale:.85,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_01",pos:ve.create(3,-.5),scale:.85,ori:0,ignoreMapSpawnReplacement:!0},{type:"crate_06",pos:ve.create(-11.75,-1.05),scale:.85,ori:0},{type:"crate_06",pos:ve.create(-7,-1.05),scale:.85,ori:0},{type:"case_03",pos:ve.create(-2.5,6.5),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-7,6.75),scale:.9,ori:0},{type:"barrel_01",pos:ve.create(-11,5.5),scale:.9,ori:0}]},bunker_structure_06:{type:"structure",terrain:{grass:!0,beach:!1},mapObstacleBounds:[xe.createAabbExtents(ve.create(1,6),ve.create(7,13.5))],layers:[{type:"bunker_hatchet_01",pos:ve.create(0,0),ori:0},{type:"bunker_hatchet_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,8.4),ve.create(2,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(-3,-3.7),ve.create(13,9.5)),xe.createAabbExtents(ve.create(-48.025,6),ve.create(32,24.95))]},bunker_eye_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,7.5),ve.create(2,3.25)),color:6946816}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"container",collision:[xe.createAabbExtents(ve.create(0,7.75),ve.create(2,3.25))]}],imgs:[{sprite:"map-bunker-generic-floor-01.img",pos:ve.create(0,7.5),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,8.25),ve.create(2,3.25))}],imgs:[{sprite:"map-bunker-generic-ceiling-01.img",pos:ve.create(0,7.5),scale:.5,alpha:1,tint:16777215,rot:0}]},puzzle:{name:"bunker_eye_01",completeUseType:"eye_door_01",completeOffDelay:1,completeUseDelay:2,errorResetDelay:1,pieceResetDelay:2,sound:{fail:"door_error_01",complete:""}},mapObjects:[{type:"metal_wall_ext_6",pos:ve.create(0,5.3),scale:1,ori:1},{type:"metal_wall_ext_7",pos:ve.create(-2.5,8.5),scale:1,ori:0},{type:"metal_wall_ext_7",pos:ve.create(2.5,8.5),scale:1,ori:0},{type:"bush_01",pos:ve.create(5,23),scale:1.2,ori:0}]},vault_door_eye:z({material:"metal",hinge:ve.create(1,3.5),extents:ve.create(1,3.5),img:{sprite:"map-door-02.img"},door:{interactionRad:1.5,openSpeed:10,openOneWay:-1,openDelay:.1,openOnce:!0,canUse:!1,spriteAnchor:ve.create(.2,1),sound:{open:"none",close:"none",change:"none"}}}),metal_wall_column_4x8:W({material:"metal",extents:ve.create(2,4)}),stone_wall_int_4:W({material:"stone",extents:ve.create(.6,2),img:s("map-wall-04-stone.img",16777215)}),bunker_eye_sublevel_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[{type:"bunker",collision:[xe.createAabbExtents(ve.create(0,-12),ve.create(14,17))]}],imgs:[{sprite:"map-bunker-eye-chamber-floor-01a.img",pos:ve.create(0,-8.5),scale:.5,alpha:1,tint:16777215},{sprite:"map-bunker-eye-chamber-floor-01b.img",pos:ve.create(13,-23),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,-12),ve.create(14,17))}],imgs:[{sprite:"map-bunker-eye-chamber-ceiling-01.img",pos:ve.create(0,-12),scale:1,alpha:1,tint:6250335}],vision:{dist:5,width:3}},puzzle:{name:"bunker_eye_02",completeUseType:"vault_door_eye",completeOffDelay:1,completeUseDelay:5.25,errorResetDelay:1,pieceResetDelay:10,sound:{fail:"door_error_01",complete:"vault_change_02"}},mapObjects:[{type:"concrete_wall_ext_6",pos:ve.create(0,11.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_8",pos:ve.create(-3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(3.5,8),scale:1,ori:0},{type:"metal_wall_ext_thicker_4",pos:ve.create(-7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(7,5.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_34",pos:ve.create(-10.5,-10),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(13,-26.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_4",pos:ve.create(15.5,-23),scale:1,ori:0},{type:"metal_wall_ext_thicker_8",pos:ve.create(13,-19.5),scale:1,ori:1},{type:"metal_wall_ext_thicker_24",pos:ve.create(10.5,-5),scale:1,ori:0},{type:"metal_wall_column_4x8",pos:ve.create(-7.5,-29),scale:1,ori:1},{type:"metal_wall_column_4x8",pos:ve.create(7.5,-29),scale:1,ori:1},{type:"house_door_02",pos:ve.create(-2,5),scale:1,ori:3},{type:"stone_04",pos:ve.create(12,-23),scale:1,ori:2},{type:"stone_wall_int_4",pos:ve.create(9.4,-23),scale:1,ori:0},{type:"recorder_08",pos:ve.create(7.5,2),scale:1,ori:2},{type:"control_panel_02b",pos:ve.create(-7,1),scale:1,ori:1,puzzlePiece:"swine"},{type:"control_panel_02b",pos:ve.create(-7,-4),scale:1,ori:1,puzzlePiece:"egg"},{type:"control_panel_02b",pos:ve.create(-7,-9),scale:1,ori:1,puzzlePiece:"storm"},{type:"control_panel_02b",pos:ve.create(-7,-14),scale:1,ori:1,puzzlePiece:"caduceus"},{type:"control_panel_02b",pos:ve.create(-7,-19),scale:1,ori:1,puzzlePiece:"crossing"},{type:"control_panel_02b",pos:ve.create(-7,-24),scale:1,ori:1,puzzlePiece:"conch"},{type:"control_panel_02b",pos:ve.create(7,-4),scale:1,ori:3,puzzlePiece:"cloud"},{type:"control_panel_02b",pos:ve.create(7,-9),scale:1,ori:3,puzzlePiece:"hydra"},{type:"control_panel_02b",pos:ve.create(7,-14),scale:1,ori:3,puzzlePiece:"hatchet"},{type:"control_panel_02b",pos:ve.create(7,-19),scale:1,ori:3,puzzlePiece:"harpsichord"},{type:"candle_lit_02",pos:ve.create(0,-1.5),scale:.75,ori:0},{type:"candle_lit_02",pos:ve.create(0,-11.5),scale:.75,ori:0},{type:"candle_lit_02",pos:ve.create(0,-21.5),scale:.75,ori:0},{type:"vault_door_eye",pos:ve.create(3.5,-30),scale:1,ori:1},{type:"bunker_eye_compartment_01",pos:ve.create(0,-39),scale:1,ori:0}]},bunker_eye_compartment_01:{type:"building",map:{display:!1,color:6707790,scale:1},terrain:{grass:!0,beach:!1},zIdx:2,floor:{surfaces:[{type:"tile",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(10,10))]}],imgs:[{sprite:"map-bunker-eye-compartment-floor-01.img",pos:ve.create(0,0),scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[{zoomIn:xe.createAabbExtents(ve.create(0,0),ve.create(10,10))}],imgs:[{sprite:"map-bunker-eye-compartment-ceiling-01.img",pos:ve.create(0,0),scale:1,alpha:1,tint:6250335}]},mapObjects:[{type:"metal_wall_ext_thicker_20",pos:ve.create(10.5,-2),scale:1,ori:0},{type:"metal_wall_ext_thicker_20",pos:ve.create(-10.5,-2),scale:1,ori:0},{type:"metal_wall_ext_thicker_18",pos:ve.create(0,-10.5),scale:1,ori:1},{type:"loot_tier_eye_02",pos:ve.create(0,-3.5),scale:1,ori:0},{type:"recorder_09",pos:ve.create(-7,-7),scale:1,ori:2}]},bunker_structure_07:{type:"structure",terrain:{grass:!0,beach:!1},ori:2,mapObstacleBounds:[xe.createAabbExtents(ve.create(-1,8),ve.create(7,6)),xe.createAabbExtents(ve.create(-40,-70),ve.create(2,2)),xe.createAabbExtents(ve.create(40,-70),ve.create(2,2)),xe.createAabbExtents(ve.create(0,-30),ve.create(2,2)),xe.createAabbExtents(ve.create(5,23),ve.create(2,2))],layers:[{type:"bunker_eye_01",pos:ve.create(0,0),ori:0},{type:"bunker_eye_sublevel_01",pos:ve.create(0,0),ori:0}],stairs:[{collision:xe.createAabbExtents(ve.create(0,8.4),ve.create(2,2.6)),downDir:ve.create(0,-1)}],mask:[xe.createAabbExtents(ve.create(0,-22.2),ve.create(13.5,28))]},bridge_lg_under_column:W({material:"concrete",extents:ve.create(2.5,10)}),concrete_wall_column_5x4:W({material:"concrete",extents:ve.create(2.5,2)}),bridge_rail_3:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,2)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),bridge_rail_12:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,6.5)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),bridge_lg_01:Q({}),bridge_lg_01x:Q({ceiling:{imgs:[{sprite:"map-building-bridge-lg-ceiling.img",scale:.5,alpha:1,tint:16777215},{sprite:"map-snow-03.img",pos:ve.create(-10,-4),scale:.4,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-07.img",pos:ve.create(8,4),scale:.4,alpha:1,tint:16777215,rot:0},{sprite:"map-snow-06.img",pos:ve.create(15,-5.25),scale:.667,alpha:1,tint:16777215,rot:1},{sprite:"map-snow-06.img",pos:ve.create(-15,5.25),scale:.667,alpha:1,tint:16777215,rot:3}]}}),bridge_lg_under_01:{type:"building",map:{display:!1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[],imgs:[]},ceiling:{zoomRegions:[],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[]},mapObjects:[{type:"bridge_lg_under_column",pos:ve.create(-14,0),scale:1,ori:0},{type:"bridge_lg_under_column",pos:ve.create(14,0),scale:1,ori:0}]},bridge_lg_structure_01:{type:"structure",terrain:{bridge:{nearbyWidthMult:5}},layers:[{type:"bridge_lg_01",pos:ve.create(0,0),ori:0},{type:"bridge_lg_under_01",pos:ve.create(0,0),ori:0,underground:!1}],bridgeLandBounds:[xe.createAabbExtents(ve.create(-34,0),ve.create(6,9)),xe.createAabbExtents(ve.create(34,0),ve.create(6,9))],stairs:[{collision:xe.createAabbExtents(ve.create(0,-9.5),ve.create(11.5,1.5)),downDir:ve.create(0,1),lootOnly:!0},{collision:xe.createAabbExtents(ve.create(0,9.5),ve.create(11.5,1.5)),downDir:ve.create(0,-1),lootOnly:!0}],mask:[xe.createAabbExtents(ve.create(0,0),ve.create(12,8))]},bridge_xlg_under_column:W({material:"concrete",extents:ve.create(2.5,14)}),concrete_wall_column_9x4:W({material:"concrete",extents:ve.create(4.5,2)}),bridge_rail_20:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,10)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),bridge_xlg_01:function(e){var t={type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(38.5,12)),color:2894124},{collider:xe.createAabbExtents(ve.create(-16,-13),ve.create(3,1.5)),color:3618615},{collider:xe.createAabbExtents(ve.create(16,-13),ve.create(3,1.5)),color:3618615},{collider:xe.createAabbExtents(ve.create(-16,13),ve.create(3,1.5)),color:3618615},{collider:xe.createAabbExtents(ve.create(16,13),ve.create(3,1.5)),color:3618615}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"asphalt",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(38.5,12))]}],imgs:[{sprite:"map-building-bridge-xlg-floor.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"bridge_rail_20",pos:ve.create(-26,11.5),scale:1,ori:1},{type:"bridge_rail_20",pos:ve.create(-26,-11.5),scale:1,ori:1},{type:"bridge_rail_20",pos:ve.create(26,11.5),scale:1,ori:1},{type:"bridge_rail_20",pos:ve.create(26,-11.5),scale:1,ori:1},{type:"concrete_wall_column_9x4",pos:ve.create(-16,-13),scale:1,ori:0},{type:"concrete_wall_column_9x4",pos:ve.create(-16,13),scale:1,ori:0},{type:"concrete_wall_column_9x4",pos:ve.create(16,-13),scale:1,ori:0},{type:"concrete_wall_column_9x4",pos:ve.create(16,13),scale:1,ori:0},{type:"concrete_wall_ext_5",pos:ve.create(-9,11.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(-9,-11.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(9,11.5),scale:1,ori:1},{type:"concrete_wall_ext_5",pos:ve.create(9,-11.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(-5,11.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(-5,-11.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(5,11.5),scale:1,ori:1},{type:"bridge_rail_3",pos:ve.create(5,-11.5),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(0,11.5),scale:1,ori:1},{type:"concrete_wall_ext_7",pos:ve.create(0,-11.5),scale:1,ori:1},{type:"loot_tier_1",pos:ve.create(-25,3),scale:1,ori:0},{type:"loot_tier_1",pos:ve.create(25,3),scale:1,ori:0},{type:"sandbags_01",pos:ve.create(-14,6.5),scale:1,ori:1},{type:"sandbags_01",pos:ve.create(-20,-8),scale:1,ori:0},{type:"barrel_01",pos:ve.create(-14,-8),scale:.9,ori:0},{type:"crate_01",pos:ve.create(0,2.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(0,-2.5),scale:1,ori:0},{type:"crate_04",pos:ve.create(0,7.5),scale:1,ori:0},{type:"crate_04",pos:ve.create(0,-7.5),scale:1,ori:0},{type:"crate_01",pos:ve.create(-5,0),scale:1,ori:0},{type:"crate_01",pos:ve.create(5,0),scale:1,ori:0},{type:"crate_01",pos:ve.create(-27,-8),scale:1,ori:0},{type:"crate_01",pos:ve.create(27,-8),scale:1,ori:0},{type:"sandbags_01",pos:ve.create(14,6.5),scale:1,ori:1},{type:"sandbags_01",pos:ve.create(20,-8),scale:1,ori:0},{type:"barrel_01",pos:ve.create(14,-8),scale:.9,ori:0}]};return Se.mergeDeep(t,e||{})}({}),bridge_xlg_under_01:{type:"building",map:{display:!1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[],imgs:[]},ceiling:{zoomRegions:[],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[]},mapObjects:[{type:"bridge_xlg_under_column",pos:ve.create(-14,0),scale:1,ori:0},{type:"bridge_xlg_under_column",pos:ve.create(14,0),scale:1,ori:0}]},bridge_xlg_structure_01:{type:"structure",terrain:{bridge:{nearbyWidthMult:5}},layers:[{type:"bridge_xlg_01",pos:ve.create(0,0),ori:0},{type:"bridge_xlg_under_01",pos:ve.create(0,0),ori:0,underground:!1}],bridgeLandBounds:[xe.createAabbExtents(ve.create(-41,0),ve.create(5,10)),xe.createAabbExtents(ve.create(41,0),ve.create(5,10))],bridgeWaterBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(5,5))],stairs:[{collision:xe.createAabbExtents(ve.create(0,-13.5),ve.create(11.5,1.5)),downDir:ve.create(0,1),lootOnly:!0},{collision:xe.createAabbExtents(ve.create(0,13.5),ve.create(11.5,1.5)),downDir:ve.create(0,-1),lootOnly:!0}],mask:[xe.createAabbExtents(ve.create(0,0),ve.create(12,12))]},bridge_rail_28:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.4,14)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),brick_wall_ext_3_0_low:_e({collision:xe.createAabbExtents(ve.create(0,0),ve.create(.5,1.5)),img:{sprite:"",scale:.5,alpha:1,tint:4456448,zIdx:10}}),brick_wall_ext_11_5:W({material:"brick",extents:ve.create(.5,5.75)}),bridge_md_01:{type:"building",map:{display:!0,shapes:[{collider:xe.createAabbExtents(ve.create(0,0),ve.create(14,3.5)),color:9322264}]},terrain:{grass:!0,beach:!1},zIdx:1,floor:{surfaces:[{type:"shack",collision:[xe.createAabbExtents(ve.create(0,0),ve.create(13.5,3.5))]}],imgs:[{sprite:"map-building-bridge-md-floor.img",scale:.5,alpha:1,tint:16777215}]},ceiling:{zoomRegions:[],imgs:[]},mapObjects:[{type:"bridge_rail_28",pos:ve.create(0,3),scale:1,ori:1},{type:"bridge_rail_28",pos:ve.create(0,-3),scale:1,ori:1},{type:"brick_wall_ext_3_0_low",pos:ve.create(-6,4.25),scale:1,ori:0},{type:"brick_wall_ext_3_0_low",pos:ve.create(6,4.25),scale:1,ori:0},{type:"brick_wall_ext_3_0_low",pos:ve.create(-6,-4.25),scale:1,ori:0},{type:"brick_wall_ext_3_0_low",pos:ve.create(6,-4.25),scale:1,ori:0},{type:o({loot_tier_1:1,loot_tier_2:1}),pos:ve.create(0,0),scale:1,ori:0}]},bridge_md_under_01:{type:"building",map:{display:!1},terrain:{grass:!0,beach:!1},zIdx:0,floor:{surfaces:[],imgs:[]},ceiling:{zoomRegions:[],vision:{dist:5.5,width:2.75,linger:.5,fadeRate:6},imgs:[]},mapObjects:[{type:"brick_wall_ext_11_5",pos:ve.create(-6,0),scale:1,ori:0},{type:"brick_wall_ext_11_5",pos:ve.create(6,0),scale:1,ori:0}]},bridge_md_structure_01:{type:"structure",terrain:{bridge:{nearbyWidthMult:8}},mapObstacleBounds:[xe.createAabbExtents(ve.create(0,0),ve.create(23,7))],layers:[{type:"bridge_md_01",pos:ve.create(0,0),ori:0},{type:"bridge_md_under_01",pos:ve.create(0,0),ori:0,underground:!1}],bridgeLandBounds:[xe.createAabbExtents(ve.create(-15.5,0),ve.create(3,5)),xe.createAabbExtents(ve.create(15.5,0),ve.create(3,5))],stairs:[{collision:xe.createAabbExtents(ve.create(0,-4.75),ve.create(5.5,1.25)),downDir:ve.create(0,1),lootOnly:!0},{collision:xe.createAabbExtents(ve.create(0,4.75),ve.create(5.5,1.25)),downDir:ve.create(0,-1),lootOnly:!0}],mask:[xe.createAabbExtents(ve.create(0,0),ve.create(6.5,3.6))]},container_wall_top:W({material:"metal",extents:ve.create(2.75,.4)}),container_wall_side:W({material:"metal",extents:ve.create(.4,5.5)}),container_wall_side_open:W({material:"metal",extents:ve.create(.4,6)}),container_01:b({open:!1,tint:2703694,ceilingSprite:"map-building-container-ceiling-01.img"}),container_02:b({open:!1,tint:2703694,ceilingSprite:"map-building-container-ceiling-02.img"}),container_03:b({open:!1,tint:2703694,ceilingSprite:"map-building-container-ceiling-03.img"}),container_04:b({open:!0,tint:3560807,ceilingSprite:"map-building-container-open-ceiling-01.img"}),container_01x:b({open:!1,tint:2703694,ceilingImgs:[{sprite:"map-building-container-ceiling-01.img",scale:.5,alpha:1,tint:2703694},{sprite:"map-snow-05.img",pos:ve.create(0,3),scale:.6,alpha:1,tint:16777215,rot:0}]}),container_06:b({open:!1,tint:12227840,ceilingSprite:"map-building-container-ceiling-01.img",loot_spawner_01:"loot_tier_sv98",loot_spawner_02:"loot_tier_scopes_sniper"}),loot_tier_1:{type:"loot_spawner",loot:[r("tier_world",1,1)],terrain:{grass:!0,beach:!0,riverShore:!0}},loot_tier_2:{type:"loot_spawner",loot:[r("tier_container",1,1)],terrain:{grass:!0,beach:!0,riverShore:!0}},loot_tier_beach:{type:"loot_spawner",loot:[r("tier_world",1,1)],terrain:{grass:!1,beach:!0}},loot_tier_surviv:{type:"loot_spawner",loot:[r("tier_surviv",1,1)],terrain:{grass:!0,beach:!0,riverShore:!0}},loot_tier_vault_floor:{type:"loot_spawner",loot:[r("tier_vault_floor",1,1)]},loot_tier_police_floor:{type:"loot_spawner",loot:[r("tier_police_floor",1,1)]},loot_tier_mansion_floor:{type:"loot_spawner",loot:[r("tier_mansion_floor",1,1)]},loot_tier_sv98:{type:"loot_spawner",loot:[r("tier_sv98",1,1)]},loot_tier_scopes_sniper:{type:"loot_spawner",loot:[r("tier_scopes_sniper",1,1)]},loot_tier_woodaxe:{type:"loot_spawner",loot:[r("tier_woodaxe",1,1)]},loot_tier_fireaxe:{type:"loot_spawner",loot:[r("tier_fireaxe",1,1)]},loot_tier_stonehammer:{type:"loot_spawner",loot:[r("tier_stonehammer",1,1)]},loot_tier_sledgehammer:{type:"loot_spawner",loot:[r("tier_sledgehammer",1,1)]},loot_tier_hatchet_melee:{type:"loot_spawner",loot:[r("tier_hatchet_melee",1,1)]},loot_tier_club_melee:{type:"loot_spawner",loot:[r("tier_club_melee",1,1)]},loot_tier_leaf_pile:{type:"loot_spawner",loot:[r("tier_leaf_pile",1,1)]},loot_tier_islander_outfit:{type:"loot_spawner",loot:[r("tier_islander_outfit",1,1)]},loot_tier_verde_outfit:{type:"loot_spawner",loot:[r("tier_verde_outfit",1,1)]},loot_tier_lumber_outfit:{type:"loot_spawner",loot:[r("tier_lumber_outfit",1,1)]},loot_tier_imperial_outfit:{type:"loot_spawner",loot:[r("tier_imperial_outfit",1,1)]},loot_tier_pineapple_outfit:{type:"loot_spawner",loot:[r("tier_pineapple_outfit",1,1)]},loot_tier_tarkhany_outfit:{type:"loot_spawner",loot:[r("tier_tarkhany_outfit",1,1)]},loot_tier_spetsnaz_outfit:{type:"loot_spawner",loot:[r("tier_spetsnaz_outfit",1,1)]},loot_tier_eye_01:{type:"loot_spawner",loot:[r("tier_eye_01",1,1)]},loot_tier_eye_02:{type:"loot_spawner",loot:[r("tier_eye_02",1,1)]},loot_tier_saloon:{type:"loot_spawner",loot:[r("tier_saloon",1,1)]},loot_tier_chrys_01:{type:"loot_spawner",loot:[r("tier_chrys_01",1,1)]},loot_tier_chrys_02:{type:"loot_spawner",loot:[r("tier_chrys_02",1,1)]},loot_tier_chrys_02b:{type:"loot_spawner",loot:[r("tier_chrys_02b",1,1)]},loot_tier_chrys_03:{type:"loot_spawner",loot:[r("tier_chrys_03",1,1)]},loot_tier_airdrop_armor:{type:"loot_spawner",loot:[r("tier_airdrop_armor",1,1)]},loot_tier_helmet_forest:{type:"loot_spawner",loot:[r("tier_forest_helmet",1,1)],terrain:{grass:!0,beach:!1}},loot_tier_helmet_potato:{type:"loot_spawner",loot:[r("tier_potato_helmet",1,1)],terrain:{grass:!0,beach:!1}},loot_tier_perk_test:{type:"loot_spawner",loot:[i("firepower",1),i("splinter",1),i("chambered",1),i("45_bonus",1),i("broken_arrow",1),i("fabricate",1),i("outfitGhillie",1),i("hunted",1)],terrain:{grass:!0,beach:!1}},loot_tier_sniper_test:{type:"loot_spawner",loot:[i("l86",1),i("svd",1),i("vss",1),i("blr",1),i("scarssr",1)],terrain:{grass:!0,beach:!1}},decal_barrel_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,img:{sprite:"map-barrel-res-01.img",scale:.24,alpha:1,tint:0,zIdx:9}},decal_frag_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,img:{sprite:"map-barrel-res-01.img",scale:.2,alpha:.8,tint:0,zIdx:11}},decal_frag_small_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,img:{sprite:"map-barrel-res-01.img",scale:.12,alpha:.8,tint:2105376,zIdx:11}},decal_bomb_iron_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,lifetime:{min:6,max:10},fadeChance:.6,img:{sprite:"map-barrel-res-01.img",scale:.2,alpha:.8,tint:0,zIdx:11}},decal_smoke_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,img:{sprite:"map-smoke-res.img",scale:.2,alpha:.5,tint:16777215,zIdx:11}},decal_snowball_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,lifetime:5,fadeChance:1,img:{sprite:"map-snowball-res.img",scale:.2,alpha:.25,tint:16777215,zIdx:11}},decal_potato_explosion:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,lifetime:5,fadeChance:1,img:{sprite:"map-potato-res.img",scale:.2,alpha:.25,tint:16777215,zIdx:11}},decal_vent_01:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-bunker-vent-01.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_vent_02:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-bunker-vent-02.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_vent_03:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-bunker-vent-03.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_hydra_01:{type:"decal",collision:xe.createCircle(ve.create(0,0),3),height:0,img:{sprite:"map-bunker-hydra-floor-04.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_pipes_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1,4.5)),height:1,img:{sprite:"map-pipes-01.img",scale:.5,alpha:.96,tint:16777215,zIdx:60}},decal_pipes_02:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(4,3)),height:1,img:{sprite:"map-pipes-02.img",scale:.5,alpha:.96,tint:16777215,zIdx:60}},decal_pipes_03:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(10.5,4)),height:1,img:{sprite:"map-pipes-03.img",scale:.5,alpha:.96,tint:16777215,zIdx:60}},decal_pipes_04:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1,5.5)),height:1,img:{sprite:"map-pipes-04.img",scale:.5,alpha:.96,tint:16777215,zIdx:60}},decal_pipes_05:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1,3.5)),height:1,img:{sprite:"map-pipes-05.img",scale:.5,alpha:.96,tint:16777215,zIdx:60}},decal_initiative_01:{type:"decal",collision:xe.createCircle(ve.create(0,0),3),height:0,img:{sprite:"map-decal-initiative.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_web_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),height:1,img:{sprite:"map-web-01.img",scale:.5,alpha:.75,tint:16777215,zIdx:60}},decal_light_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(3.25,3.25)),height:1,img:{sprite:"map-light-01.img",scale:1,alpha:.5,tint:16751616,zIdx:60,flicker:!0,flickerMin:.9,flickerMax:1.1,flickerRate:.5,ignoreAdjust:!0}},decal_light_02:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2.5)),height:1,img:{sprite:"map-light-01.img",scale:.75,alpha:.5,tint:16760397,zIdx:60,flicker:!0,flickerMin:.8,flickerMax:1.2,flickerRate:.2,ignoreAdjust:!0}},decal_light_03:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.5,2.5)),height:1,img:{sprite:"map-light-01.img",scale:.75,alpha:.5,tint:8585216,zIdx:60,flicker:!0,flickerMin:.8,flickerMax:1.2,flickerRate:.2,ignoreAdjust:!0}},decal_blood_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),height:0,img:{sprite:"part-splat-01.img",scale:.25,alpha:.95,tint:4001294,zIdx:0}},decal_blood_02:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),height:0,img:{sprite:"part-splat-02.img",scale:.25,alpha:.95,tint:4001294,zIdx:0}},decal_blood_03:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(1.5,1.5)),height:0,img:{sprite:"part-splat-03.img",scale:.25,alpha:.95,tint:4001294,zIdx:0}},decal_chrys_01:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:1,img:{sprite:"map-bunker-vent-01.img",scale:.5,alpha:1,tint:16777215,zIdx:3}},decal_oil_01:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-decal-oil-01.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_oil_02:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-decal-oil-02.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_oil_03:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-decal-oil-03.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_oil_04:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,img:{sprite:"map-decal-oil-04.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_oil_05:{type:"decal",collision:xe.createCircle(ve.create(0,0),1),height:0,img:{sprite:"map-decal-oil-05.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_oil_06:{type:"decal",collision:xe.createCircle(ve.create(0,0),2),height:0,img:{sprite:"map-decal-oil-06.img",scale:.5,alpha:1,tint:16777215,zIdx:0}},decal_bathhouse_pool_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(9,15)),height:1,surface:{type:"water",data:{waterColor:5157572,rippleColor:10478319}},img:{sprite:"map-bathhouse-pool-01.img",scale:8,alpha:.5,tint:52721,zIdx:5},gore:{fade:{start:0,end:4,pow:.5,speed:2},tint:7667727,alpha:.85,waterColor:8529201,rippleColor:11490399}},decal_club_01:{type:"decal",collision:xe.createCircle(ve.create(0,0),4),height:0,img:{sprite:"map-decal-club-01.img",scale:1,alpha:1,tint:16777215,zIdx:4}},decal_club_02:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(4,10.5)),height:1,img:{sprite:"map-decal-club-02.img",scale:1,alpha:0,tint:16777215,zIdx:4},gore:{fade:{start:4,end:6,pow:3.25,speed:.5},alpha:1}},decal_plank_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(2.25,2.25)),height:0,img:{sprite:"part-plank-01.img",scale:.5,alpha:1,tint:4327436,zIdx:9}},decal_flyer_01:{type:"decal",collision:xe.createAabbExtents(ve.create(0,0),ve.create(.5,1)),height:0,img:{sprite:"map-decal-flyer-01.img",scale:.6,alpha:.667,tint:16777215,zIdx:4}}};e.exports=ke},"0444401b":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={assets:{audio:[{name:"club_music_01",channel:"ambient"},{name:"club_music_02",channel:"ambient"},{name:"ambient_steam_01",channel:"ambient"}],atlases:["gradient","loadout","shared","main"]},biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:14458408,riverbank:10711321,grass:6460706,underground:1772803,playerSubmerge:2854052,playerGhillie:6658085}}};e.exports=r.mergeDeep({},i,o)},"0503bedc":function(e,t,a){"use strict";var r=a("989ad62a"),i=a("259e794b"),o=(a("10899aea"),a("1901e2d9"),a("721a96bf")),s={ItemStatus:{New:0,Confirmed:1,Ackd:2},validate:function(e){var t=function(e,t,a){var r=o[t];return r&&r.type==e?t:a},a=function(e,t){var a=parseFloat(e);return Number.isNaN(a)?t:a},i=Object.assign({},{crosshair:{type:"",color:16777215,size:1,stroke:0},emotes:[]},e),s={};s.outfit=t("outfit",i.outfit,"outfitBase"),s.melee=t("melee",i.melee,"fists"),s.heal=t("heal_effect",i.heal,"heal_01"),s.boost=t("boost_effect",i.boost,"boost_01"),s.player_icon=t("emote",i.player_icon,""),s.crosshair={type:t("crosshair",i.crosshair.type,"crosshair_default"),color:function(e,t){var a=parseInt(e);return Number.isNaN(a)?16777215:a}(i.crosshair.color),size:a(i.crosshair.size,1).toFixed(2),stroke:a(i.crosshair.stroke,0).toFixed(2)},s.emotes=[];for(var n=r.defaultEmoteLoadout.slice,l=0;l<r.EmoteSlot.Count;l++){var c=l<i.emotes.length?i.emotes[l]:"",m=t("emote",c,n[l]);s.emotes.push(m)}return s},validateWithAvailableItems:function(e,t){var a=function(e,t){return e&&-1!==t.findIndex(function(t){return t.type==e})?e:""},r=Object.assign({},{crosshair:{},emotes:[]},e);r.outfit=a(r.outfit,t),r.melee=a(r.melee,t),r.heal=a(r.heal,t),r.boost=a(r.boost,t),r.player_icon=a(r.player_icon,t),r.crosshair.type=a(r.crosshair.type,t);for(var i=0;i<r.emotes.length;i++)r.emotes[i]=a(r.emotes[i],t);return s.validate(r)},defaultLoadout:function{return s.validate({})},modified:function(e,t){return!i(e,t)},getUserAvailableItems:function(e){for(var t=[],a=o.unlock_default,r=0;r<a.unlocks.length;r++){var i=a.unlocks[r];t.push({type:i,source:"unlock_default",timeAcquired:0,ackd:s.ItemStatus.Ackd})}for(var n=0;n<e.length;n++)t.push(e[n]);return t}};e.exports=s},"085a71b7":function(e,t){e.exports={"word-order":"svo","index-create-account":"Create Account","index-create-account-prompt-1":"Log in to access this feature!","index-set-account-name":"Set your account name","index-enter-name":"Enter name","index-finish":"Finish","index-reset-stats":"Reset Stats","index-reset-stats-desc":'Enter "RESET STATS" to reset your stats:',"index-confirm":"Confirm","index-customize-avatar":"Customize Avatar","index-done":"Done","index-account":"Account","index-log-in-with":"Log in with","index-facebook":"Facebook","index-google":"Google","index-twitch":"Twitch","index-discord":"Discord","index-my-stats":"My Stats","index-link-account":"Link Account","index-log-out":"Log Out","index-change-avatar":"Change Avatar","index-change-account-name":"Change Account Name","index-back":"Back","index-link-account-to":"Link account to","index-log-in-desc":"Log In / Create Account","index-logging-in":"Logging in","index-leaderboards":"Leaderboards","index-slogan":"2d Battle Royale","index-region":"Region","index-north-america":"North America","index-europe":"Europe","index-asia":"Asia","index-south-america":"South America","index-korea":"South Korea","index-players":"players","index-play-solo":"Play Solo","index-play-duo":"Play Duo","index-play-squad":"Play Squad","index-join-team":"Join Team","index-create-team":"Create Team","index-leave-team":"Leave Team","index-joining-team":"Joining Team","index-creating-team":"Creating Team","index-invite-link":"Invite link","index-invite-code":"Invite code","index-join-team-help":"Got a team link or code? Paste it here:","index-solo":"Solo","index-duo":"Duo","index-squad":"Squad","index-auto-fill":"Auto Fill","index-no-fill":"No Fill","index-waiting-for-leader":"Waiting for leader to start game","index-joining-game":"Joining game","index-game-in-progress":"Game in progress","index-play":"Play","index-customize-loadout":"Customize Emotes","index-twitter-follow":"Twitter Follow","index-youtube-subscribe":"YouTube Subscribe","index-facebook-like":"Facebook Like","index-featured-youtuber":"Featured YouTuber","index-streaming-live":"Streaming Live!","index-viewer":"viewer","index-viewers":"viewers","index-settings":"Settings","index-high-resolution":"High resolution (check to increase visual quality)","index-screen-shake":"Screen shake","index-anon-player-names":"Anonymize player names","index-master-volume":"Master Volume","index-sfx-volume":"SFX Volume","index-music-volume":"Music Volume","index-mobile-announce":"Now available on mobile!","index-mobile-tooltip":"Visit surviv.io on your mobile device to play on the go!","index-version":"ver","index-privacy":"privacy","index-attributions":"attributions","index-proxy-sites":"proxy sites","index-team-is-full":"Team is full!","index-team-kicked":"You were kicked from the team!","index-failed-joining-team":"Failed joining team.","index-failed-creating-team":"Failed creating team.","index-failed-finding-game":"Failed finding game.","index-failed-joining-game":"Failed joining game.","index-lost-connection":"Lost connection to team.","index-host-closed":"Host closed the connection.","index-invalid-protocol":"Old client version.","index-view-more":"View More","index-back-to-main":"Back to Main Menu","index-most-kills":"Most kills","index-total-kills":"Total kills","index-total-wins":"Total wins","index-top-5-percent":"Top 5 percent","index-kill-death-ratio":"Kill-death ratio","index-mode":"Mode","index-for":"For","index-today":"Today","index-this-week":"This week","index-all-time":"All time","index-top-100":"TOP 100","index-rank":"Rank","index-player":"Player","index-total-games":"Total Games","index-controls":"Controls","index-movement":"Movement","index-movement-ctrl":"W, A, S, D","index-aim":"Aim","index-aim-ctrl":"Mouse","index-punch":"Melee","index-shoot":"Shoot","index-shoot-ctrl":"Left-Click","index-change-weapons":"Change Weapons","index-change-weapons-ctrl":"1 through 4 or Scroll Wheel","index-stow-weapons":"Stow Weapons (Melee Mode)","index-stow-weapons-ctrl":"3 or E","index-swap-weapons":"Swap to Previous Weapon","index-swap-weapons-ctrl":"Q","index-swap-weapon-slots":"Switch Gun Slots","index-swap-weapon-slots-ctrl":"T or drag gun to other slot","index-reload":"Reload","index-reload-ctrl":"R","index-scope-zoom":"Scope Zoom","index-scope-zoom-ctrl":"Left-Click on Zoom","index-pickup":"Pickup","index-loot":"Loot","index-revive":"Revive","index-pickup-ctrl":"F","index-use-medical":"Use Medical Item","index-use-medical-ctrl":"Left-Click on Item or 7 through 0","index-drop-item":"Drop Item","index-drop-item-ctrl":"Right-Click on Item","index-cancel-action":"Cancel Action","index-cancel-action-ctrl":"X","index-view-map":"View Map","index-view-map-ctrl":"M or G","index-toggle-minimap":"Toggle Minimap","index-toggle-minimap-ctrl":"V","index-use-ping":"Use Team Ping Wheel","index-use-ping-ctrl":"Hold C, then hold Right-Click and drag mouse, then release Right-Click","index-use-emote":"Use Emote Wheel","index-use-emote-ctrl":"Hold Right-Click and drag mouse, then release Right-Click","index-how-to-play":"How to Play","index-tips-1-desc":"The goal of surviv.io is to be the last player standing. You only live once per game - there is no respawn!","index-tips-2":"2D PUBG","index-tips-2-desc":"If you've played other battle royale games like PUBG, Fortnite or Apex Legends, then you're already halfway there! Think of surviv.io as 2D PUBG (with slightly less desync and more chicken).","index-tips-3":"Loot and Kill","index-tips-3-desc":"You'll begin the game with no items other than a simple backpack. Move around the map to find loot: weapons, ammo, scopes, and medical items. Eliminate other players and you can take their loot!","index-tips-4":"Red = Bad!","index-tips-4-desc":"Players aren't the only thing that can hurt you. The deadly red zone will move in from the sides of the map and deal increasingly greater damage if you stand in it. Keep an eye on the map and stay safe.","index-movement-ctrl-touch":"Left stick","index-aim-ctrl-touch":"Right stick","index-shoot-ctrl-touch":"Drag right stick outside stick border","index-change-weapons-ctrl-touch":"Tap weapon slot","index-reload-ctrl-touch":"Tap equipped ammo counter","index-scope-zoom-ctrl-touch":"Tap zoom item","index-pickup-ctrl-touch":"Tap interaction button or loot name","index-use-medical-ctrl-touch":"Tap medical item","index-drop-item-ctrl-touch":"Touch and hold item","index-cancel-action-ctrl-touch":"Tap interaction button","index-view-map-ctrl-touch":"Tap minimap","index-use-ping-ctrl-touch":"View map and tap anywhere on map","index-use-emote-ctrl-touch":"Tap surviv icon","index-loadout":"Loadout","loadout-title-outfit":"Outfit Skin","loadout-title-melee":"Melee Skin","loadout-title-emote":"Emotes","loadout-title-heal":"Heal Particles","loadout-title-boost":"Boost Particles","loadout-title-crosshair":"Crosshair","loadout-title-player_icon":"Player Icon","loadout-newest":"Newest","loadout-alpha":"Alpha","loadout-rarity":"Rarity","loadout-size":"Size","loadout-stroked":"Stroked","loadout-stock":"Stock","loadout-common":"Common","loadout-uncommon":"Uncommon","loadout-rare":"Rare","loadout-epic":"Epic","loadout-mythic":"Mythic","loadout-acquired":"Acquired","loadout-category":"Category","loadout-standard-issue":"Standard Issue","loadout-instagram-follow":"Instagram Follow","loadout-youtube-subscribe":"YouTube Subscribe","loadout-twitter-follow":"Twitter Follow","loadout-new-account":"Account Created","game-alive":"Alive","game-reloading":"Reloading","game-use":"Use","game-using":"Using","game-reviving":"Reviving","game-revive-teammate":"Revive Teammate","game-equip":"Equip","game-cancel":"Cancel","game-open-door":"Open Door","game-close-door":"Close Door","game-unlock":"Unlock","game-You":"You","game-you":"you","game-themselves":"themselves","game-yourself":"yourself","game-you-died":"died","game-player-died":"died","game-with":"with","game-knocked-out":"knocked out","game-killed":"killed","game-finally-killed":"finally killed","game-finally-bled-out":"finally bled out","game-died-outside":"died outside the safe zone","game-the-red-zone":"The red zone","game-crushed":"crushed","game-the-air-drop":"The air drop","game-the-air-strike":"The air strike","game-an-air-strike":"an air strike","game-waiting-for-players":"Waiting for players","game-spectating":"Spectating","game-red-zone-advances":"Red zone advances in","game-red-zone-advancing":"Red zone advancing! Move to the safe zone","game-seconds":"seconds","game-minutes":"minutes","game-minute":"minute","game-m":"m","game-s":"s","game-not-enough-space":"Not enough space!","game-item-already-owned":"Item already owned!","game-item-already-equipped":"Item already equipped!","game-better-item-equipped":"Better item equipped!","game-gun-cannot-fire":"Gun cannot be fired here!","game-play-new-game":"Play New Game","game-spectate":"Spectate","game-full-screen":"Full Screen","game-aim-line":"Aim Line","game-sound":"Sound","game-quit-game":"Quit Game","game-return-to-game":"Return to Game","game-hide-match-stats":"Hide Match Stats","game-view-match-stats":"View Match Stats","game-previous-teammate":"Previous Teammate","game-next-teammate":"Next Teammate","game-spectate-previous":"Previous Player","game-spectate-next":"Next Player","game-leave-game":"Leave Game","game-your-results":"Your Results","game-chicken":"Winner winner chicken dinner!","game-won-the-game":"won the game.","game-team-eliminated":"Your team was eliminated.","game-solo-rank":"Solo Rank","game-duo-rank":"Duo Rank","game-squad-rank":"Squad Rank","game-rank":"Rank","game-team-rank":"Team Rank","game-team-kills":"Team Kills","game-kill":"Kill","game-kills":"Kills","game-damage-dealt":"Damage Dealt","game-damage-taken":"Damage Taken","game-survived":"Survived","game-backpack00":"Pouch","game-backpack01":"Small Pack","game-backpack02":"Regular Pack","game-backpack03":"Military Pack","game-bandage":"Bandage","game-bandage-tooltip":"Left-click to restore 15 health.","game-healing-tooltip":"Cannot heal past 75 health.","game-healthkit":"Med Kit","game-healthkit-tooltip":"Left-click to restore 100 health.","game-soda":"Soda","game-soda-tooltip":"Left-click to boost adrenaline by 25.","game-adrenaline-tooltip":"Adrenaline restores health over time.","game-painkiller":"Pills","game-painkiller-tooltip":"Left-click to boost adrenaline by 50.","game-9mm":"9mm","game-9mm-tooltip":"Ammo for M9, G18C, M93R, P30L, MP5, MAC-10, UMP9, CZ-3A1 and Vector.","game-12gauge":"12 gauge","game-12gauge-tooltip":"Ammo for M870, M1100, SPAS-12, Saiga-12, USAS-12, Super 90 and MP220.","game-762mm":"7.62mm","game-762mm-tooltip":"Ammo for AK-47, SCAR-H, M39, Mosin, SV-98, M1, BAR, AN-94, PKP, Groza, OT-38 and DP-28.","game-556mm":"5.56mm","game-556mm-tooltip":"Ammo for FAMAS, M416, M4A1-S, QBB-97, Mk 12, Scout Elite, and M249.","game-50AE":".50 AE","game-50AE-tooltip":"Ammo for DEagle 50.","game-308sub":".308 Subsonic","game-308sub-tooltip":"Ammo for AWM-S.","game-flare":"Flare","game-flare-tooltip":"Ammo for Flare Gun.","game-45acp":".45 ACP","game-45acp-tooltip":"Ammo for M1911, M1A1, Model 94, Vector and Peacemaker.","game-chest01":"Level 1 Vest","game-chest02":"Level 2 Vest","game-chest03":"Level 3 Vest","game-chest04":"Level 4 Vest","game-helmet01":"Level 1 Helmet","game-helmet02":"Level 2 Helmet","game-helmet03":"Level 3 Helmet","game-helmet03_leader":"Commander Helmet","game-helmet03_forest":"Shishigami no Kabuto","game-helmet03_moon":"Tsukuyomi no Kabuto","game-helmet03_lt":"Lieutenant Helmet","game-helmet03_lt_aged":"Lieutenant Helmet","game-helmet03_potato":"K-pot-ato","game-helmet03_marksman":"Marksman Helmet","game-helmet04_lone_survivr":"Lone Survivr Helmet","game-helmet04_leader":"Commander Helmet","game-1xscope":"1x Scope","game-2xscope":"2x Scope","game-4xscope":"4x Scope","game-8xscope":"8x Scope","game-15xscope":"15x Scope","game-level-1":"Lvl. 1","game-level-2":"Lvl. 2","game-level-3":"Lvl. 3","game-level-4":"Lvl. 4","game-outfitBase":"Basic Outfit","game-outfitRoyalFortune":"Royal Fortune","game-outfitKeyLime":"Key Lime","game-outfitCobaltShell":"Cobalt Shell","game-outfitCarbonFiber":"Carbon Fiber","game-outfitDarkGloves":"The Professional","game-outfitDarkShirt":"The Semi-Pro","game-outfitGhillie":"Ghillie Suit","game-outfitCamo":"Forest Camo","game-outfitRed":"Target Practice","game-outfitWhite":"Arctic Avenger","game-outfitWoodland":"Woodland Combat","game-outfitJester":"Jester's Folly","game-outfitPrisoner":"The New Black","game-outfitCasanova":"Casanova Silks","game-outfitKhaki":"The Initiative","game-outfitCoral":"Coral Guise","game-outfitAqua":"Aquatic Avenger","game-outfitIslander":"Island Time","game-outfitMeteor":"Falling Star","game-outfitHeaven":"Celestial Garb","game-outfitWaterElem":"Water Elemental","game-outfitVerde":"Poncho Verde","game-outfitLumber":"Woodcutter's Wrap","game-outfitImperial":"Imperial Seal","game-outfitPineapple":"Valiant Pineapple","game-outfitTarkhany":"Tarkhany Regal","game-outfitDesertCamo":"Desert Camo","game-outfitDesertGhillie":"Desert Ghillie","game-outfitElf":"Tallow's Little Helper","game-outfitSpetsnaz":"Siberian Assault","game-outfitDarkGhillie":"Incursion Ghillie","game-outfitRedLeaderAged":"Red Victorious","game-outfitBlueLeaderAged":"Stifled Blue","game-outfitWoodsCloak":"Greencloak","game-outfitSpringGhillie":"Vernal Ghillie","game-outfitNoir":"Neo Noir","game-outfitSummerGhillie":"Verdant Ghillie","game-outfitWheat":"Splintered Wheat","game-outfitDev":"Developer Swag","game-outfitMod":"Discord Moderatr","game-fists":"Fists","game-knuckles_rusted":"Knuckles Rusted","game-karambit_rugged":"Karambit Rugged","game-hud-karambit_rugged":"Karambit","game-karambit_prismatic":"Karambit Prismatic","game-hud-karambit_prismatic":"Karambit","game-karambit_drowned":"Karambit Drowned","game-hud-karambit_drowned":"Karambit","game-bayonet_rugged":"Bayonet Rugged","game-hud-bayonet_rugged":"Bayonet","game-bayonet_woodland":"Bayonet Woodland","game-hud-bayonet_woodland":"Bayonet","game-huntsman_rugged":"Huntsman Rugged","game-hud-huntsman_rugged":"Huntsman","game-huntsman_burnished":"Huntsman Burnished","game-hud-huntsman_burnished":"Huntsman","game-bowie_vintage":"Bowie Vintage","game-hud-bowie_vintage":"Bowie","game-bowie_frontier":"Bowie Frontier","game-hud-bowie_frontier":"Bowie","game-woodaxe":"Wood Axe","game-woodaxe_bloody":"Wood Axe Bloodstained","game-hud-woodaxe_bloody":"Wood Axe","game-fireaxe":"Fire Axe","game-katana":"Katana","game-katana_rusted":"Katana Rusted","game-hud-katana_rusted":"Katana","game-katana_orchid":"Katana Orchid","game-hud-katana_orchid":"Katana","game-naginata":"Naginata","game-hud-naginata":"Naginata","game-machete_taiga":"Machete Taiga","game-hud-machete_taiga":"Machete","game-kukri_trad":"Tallow's Kukri","game-hud-kukri_trad":"Kukri","game-bonesaw_rusted":"Bonesaw Rusted","game-hud-bonesaw_rusted":"Bonesaw","game-stonehammer":"Stone Hammer","game-sledgehammer":"Sledgehammer","game-hook":"Hook","game-pan":"Pan","game-ak47":"AK-47","game-scar":"SCAR-H","game-an94":"AN-94","game-groza":"Groza","game-grozas":"Groza-S","game-dp28":"DP-28","game-mosin":"Mosin-Nagant","game-sv98":"SV-98","game-m39":"M39 EMR","game-garand":"M1 Garand","game-svd":"SVD-63","game-blr":"BLR 81","game-mp5":"MP5","game-mac10":"MAC-10","game-ump9":"UMP9","game-vector":"Vector","game-vector45":"Vector","game-scorpion":"CZ-3A1","game-vss":"VSS","game-m870":"M870","game-m1100":"M1100","game-m1014":"Super 90","game-mp220":"MP220","game-usas":"USAS-12","game-saiga":"Saiga-12","game-spas12":"SPAS-12","game-m9":"M9","game-m9_dual":"Dual M9","game-hud-m9_dual":"M9","game-m93r":"M93R","game-m93r_dual":"Dual M93R","game-hud-m93r_dual":"M93R","game-glock":"G18C","game-glock_dual":"Dual G18C","game-hud-glock_dual":"G18C","game-p30l":"P30L","game-p30l_dual":"Dual P30L","game-ot38":"OT-38","game-ot38_dual":"Dual OT-38","game-hud-ot38_dual":"OT-38","game-ots38":"OTs-38","game-ots38_dual":"Dual OTs-38","game-hud-ots38_dual":"OTs-38","game-deagle":"DEagle 50","game-deagle_dual":"Dual DEagle 50","game-hud-deagle_dual":"DEagle 50","game-flare_gun":"Flare Gun","game-flare_gun_dual":"Dual Flare Gun","game-hud-flare_gun_dual":"Flare Gun","game-famas":"FAMAS","game-hk416":"M416","game-m4a1":"M4A1-S","game-mk12":"Mk 12 SPR","game-m249":"M249","game-qbb97":"QBB-97","game-scout":"Scout Elite","game-l86":"L86A2","game-awc":"AWM-S","game-scarssr":"Mk 20 SSR","game-model94":"Model 94","game-colt45":"Peacemaker","game-colt45_dual":"Dual Peacemaker","game-hud-colt45_dual":"Peacemaker","game-mkg45":"Mk45G","game-m1911":"M1911","game-m1911_dual":"Dual M1911","game-hud-m1911_dual":"M1911","game-m1a1":"M1A1","game-bar":"BAR M1918","game-pkp":"PKP Pecheneg","game-frag":"Frag Grenade","game-hud-frag":"Frag","game-smoke":"Smoke Grenade","game-hud-smoke":"Smoke","game-mirv":"MIRV Grenade","game-hud-mirv":"MIRV","game-mirv_mini":"MIRV Grenade","game-martyr_nade":"Martyrdom","game-strobe":"Strobe","game-hud-strobe":"Strobe","game-snowball":"Snowball","game-hud-snowball":"Snowball","game-snowball_heavy":"Snowball","game-potato":"Potato","game-hud-potato":"Potato","game-potato_heavy":"Potato","game-potato_cannon":"Potato Cannon","game-potato_cannonball":"Potato Cannon","game-barrel_01":"a barrel","game-barrel_01b":"a barrel","game-silo_01":"a silo","game-oven_01":"an oven","game-control_panel_01":"Control Panel","game-control_panel_02":"Control Panel","game-control_panel_03":"a computer terminal","game-control_panel_04":"a computer terminal","game-control_panel_06":"a computer terminal","game-power_box_01":"a power box","game-airdrop_crate_01":"Air Drop","game-airdrop_crate_02":"Air Drop","game-stove_01":"a stove","game-grill_01":"a grill","game-propane_01":"a propane tank","index-play-50v50":"Play 50v50","index-50v50":"50v50","game-red-team":"Red Team","game-blue-team":"Blue Team","game-red-leader":"Red Commander","game-blue-leader":"Blue Commander","game-leader":"Commander","game-lieutenant":"Lieutenant","game-medic":"Medic","game-marksman":"Marksman","game-kill_leader":"Kill Leader","game-the_hunted":"Kill Leader","game-last_man":"Lone Survivr","game-is-down":"is down","game-is-dead":"is dead","game-promoted-to":"promoted to","game-youve-been-promoted-to":"You've been promoted to","game-woods_king":"The Woods King","game-leadership":"Leadership","game-leadership-desc":"Max adrenaline. Increased size.","game-firepower":"Firepower","game-firepower-desc":"High-capacity magazines.","game-gotw":"Gift of the Woods","game-gotw-desc":"Restore health over time. Increased size.","game-windwalk":"Windwalk","game-windwalk-desc":"When taking fire, gain a short burst of speed.","game-rare_potato":"Rare Potato","game-rare_potato-desc":"Always rotate to a high quality weapon.","game-aoe_heal":"Mass Medicate","game-aoe_heal-desc":"Reviving and using medical items affects all nearby players.","game-endless_ammo":"Endless Ammo","game-endless_ammo-desc":"Guns always reload to full.","game-steelskin":"Cast Ironskin","game-steelskin-desc":"Take reduced damage and reflect enemy bullets. Increased size.","game-splinter":"Splinter Rounds","game-splinter-desc":"Rounds fragment into three less powerful bullets.","game-small_arms":"Small Arms","game-small_arms-desc":"Move faster with weapons deployed. Decreased size.","game-takedown":"Takedown","game-takedown-desc":"Kills grant health, boost and a short burst of speed.","game-field_medic":"Combat Medic","game-field_medic-desc":"Move quickly while healing.","game-tree_climbing":"One With Nature","game-tree_climbing-desc":"Move through trees. Move faster in water.","game-scavenger":"Scavenger","game-scavenger-desc":"Obstacles can drop additional items when destroyed.","game-hunted":"The Hunted","game-hunted-desc":"Your location is revealed to all enemies.","game-chambered":"One In The Chamber","game-chambered-desc":"First and last round in each magazine deal bonus damage.","game-martyrdom":"Martyrdom","game-martyrdom-desc":"Release several live grenades upon death.","game-targeting":"High-Value Targets","game-targeting-desc":"Bullets deal bonus damage to players with perks.","game-45_bonus":".45 In The Chamber","game-45_bonus-desc":".45 ACP bullets deal bonus damage.","game-broken_arrow":"Broken Arrow","game-broken_arrow-desc":"Air strikes call in two additional fighters.","game-fabricate":"Fabricate","game-fabricate-desc":"Periodically fill your pack with frag grenades."}},"0955a76e":function(e,t,a){"use strict";function r{}function i{var e=["part-smoke-02.img","part-smoke-03.img"];this.active=!1,this.zIdx=0,this.sprite=s.Sprite.fromImage(e[Math.floor(Math.random*e.length)]),this.sprite.anchor=new s.Point(.5,.5),this.sprite.visible=!1}function o{this.e=new p.Pool(r),this.particles=[],this.zIdx=2147483647}var s=a("8b1dfb45"),n=a("6b42806d"),l=a("10899aea"),c=a("1901e2d9"),m=a("c2a798c8"),p=(a("af8ba00f"),a("753d6e4b"));r.prototype={o:function{},n:function{this.particle.fadeOut,this.particle=null},c:function(e,t,a,r){this.type=e.type,this.pos=m.copy(e.pos),this.rad=e.rad,t&&(this.layer=e.layer,this.interior=e.interior),a&&(this.particle=r.smokeBarn.allocParticle,this.particle.o(this.pos,this.rad,this.layer,this.interior)),this.particle.posTarget=m.copy(this.pos),this.particle.radTarget=this.rad}},i.prototype={o:function(e,t,a,r){this.pos=m.copy(e),this.posTarget=m.copy(this.pos),this.rad=t,this.radTarget=this.rad,this.rot=c.random(0,2*Math.PI),this.rotVel=Math.PI*c.random(.25,.5)*(Math.random<.5?-1:1),this.fade=!1,this.fadeTicker=0,this.fadeDuration=c.random(.5,.75),this.tint=c.rgbToInt(c.hsvToRgb(0,0,c.random(.9,.95))),this.layer=a,this.interior=r},fadeOut:function{this.fade=!0}},o.prototype={allocParticle:function{for(var e=null,t=0;t<this.particles.length;t++)if(!this.particles[t].active){e=this.particles[t];break}return e||(e=new i,this.particles.push(e)),e.active=!0,e.zIdx=this.zIdx--,e},m:function(e,t,a,r,i){for(var o=this.e.p,s=0;s<o.length;s++)o[s].active;for(var m=0;m<this.particles.length;m++){var p=this.particles[m];if(p.active){p.rad=l.lerp(3*e,p.rad,p.radTarget),p.pos=l.v2lerp(3*e,p.pos,p.posTarget),p.rotVel*=1/(1+.1*e),p.rot+=p.rotVel*e,p.fadeTicker+=p.fade?e:0,p.active=p.fadeTicker<p.fadeDuration;var h=.9*l.clamp(1-p.fadeTicker/p.fadeDuration,0,1),d=p.layer;!(c.sameLayer(p.layer,a.layer)||2&a.layer)||1!=p.layer&&2&a.layer&&r.insideStructureMask(n.createCircle(p.pos,1))||(d|=2);var u=p.interior?500:1e3;i.addPIXIObj(p.sprite,d,u,p.zIdx);var g=t.pointToScreen(p.pos),y=t.pixels(2*p.rad/t.ppu);p.sprite.position.set(g.x,g.y),p.sprite.scale.set(y,y),p.sprite.rotation=p.rot,p.sprite.tint=p.tint,p.sprite.alpha=h,p.sprite.visible=p.active}}}},e.exports={d:o}},"0b12821e":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("10899aea"),s=function{function e{var t=this;r(this,e),this.introMusic=!0,this.soundUpdateThrottle=0,this.tracks=[],this.trackToIdx={};var a=function(e,a,r,i){t.tracks.push({name:e,sound:a,channel:r,immediateMode:i,inst:null,instSound:"",fitler:"",weight:0,volume:0}),t.trackToIdx[e]=t.tracks.length-1};a("music","menu_music","music",!1),a("wind","ambient_wind_01","ambient",!1),a("river","ambient_stream_01","ambient",!1),a("waves","ambient_waves_01","ambient",!1),a("interior_0","","ambient",!0),a("interior_1","","ambient",!0),this.initTime=Date.now}return i(e,[{key:"getTrack",value:function(e){return this.tracks[this.trackToIdx[e]]}},{key:"onGameStart",value:function{this.introMusic=!1;for(var e=0;e=0;s--){var n=this.tracks[s];if(!n.inst&&n.sound&&t.isSoundLoaded(n.sound,n.channel)&&(console.log("Start track",n.sound,n.channel),n.inst=t.playSound(n.sound,{channel:n.channel,startSilent:!0,loop:"ambient"==n.channel,forceStart:!0,filter:n.filter,forceFilter:!0}),n.instSound=n.sound,0==s&&console.log("Play delay",Date.now-this.initTime)),n.inst&&r){var l=n.weight*(1-i);i+=l,n.volume=l;var c=t.getSoundDefVolume(n.sound,n.channel);t.setVolume(n.inst,l*c,n.channel)}n.inst&&(!n.sound&&o.eqAbs(t.getVolume(n.inst),0)||n.sound&&n.sound!=n.instSound)&&(console.log("Stop track",n.name,n.channel),t.stopSound(n.inst),n.inst=null,n.instSound=""),n.immediateMode&&(n.sound="",n.weight=0)}if(this.introMusic){var m=this.getTrack("music");m.inst&&(m.weight=o.min(m.weight+e,1));var p=this.getTrack("wind");m.inst&&!t.isSoundPlaying(m.inst)&&(p.weight=o.min(p.weight+e,1))}}}]),e};e.exports=s},"0c8ffd27":function(e,t,a){"use strict";function r{this.sprite=new i.Sprite,this.sprite.anchor.set(.5,.5),this.sprite.visible=!1}var i=a("8b1dfb45"),o=(a("34e32c48"),a("6b42806d")),s=a("10899aea"),n=a("1901e2d9"),l=a("c2a798c8"),c=(a("af8ba00f"),a("03f4982a"));r.prototype={o:function{this.isNew=!1,this.smokeEmitter=null,this.sprite.visible=!1,this.img=""},n:function{this.sprite.visible=!1,this.sprite.parent&&this.sprite.parent.removeChild(this.sprite),this.door&&this.door.casingSprite&&(this.door.casingSprite.destroy,this.door.casingSprite=null),this.smokeEmitter&&(this.smokeEmitter.stop,this.smokeEmitter=null)},c:function(e,t,a,r){t&&(this.type=e.type,this.layer=e.layer,this.healthT=e.healthT,this.dead=e.dead);var m=c[this.type];if(this.pos=l.copy(e.pos),this.rot=s.oriToRad(e.ori),this.scale=e.scale,this.imgScale=m.img.scale,this.imgMirror=m.img.mirrorY,this.collider=o.transform(m.collision,this.pos,this.rot,this.scale),a){if(this.isNew=!0,this.exploded=-1!=r.map.deadObstacleIds.indexOf(this.__id),this.explodeParticle=m.explodeParticle,this.collidable=m.collidable,this.destructible=m.destructible,this.height=m.height,this.isWall=!!m.isWall,this.isWindow=!!m.isWindow,this.isBush=!!m.isBush,this.isDoor=void 0!==m.door,this.isDoor){this.door={playErrorFx:m.door.slideToOpen&&m.door.openOneWay,closedPos:l.copy(e.pos),autoOpen:m.door.autoOpen,interactionRad:m.door.interactionRad,interpSpeed:m.door.openSpeed,interpPos:l.copy(e.pos),interpRot:s.oriToRad(e.ori),seq:e.door.seq,seqOld:e.door.seq,open:e.door.open,wasOpen:e.door.open,casingSprite:null};var p=m.door.casingImg;if(void 0!==p){var h=p.pos||l.create(0,0);h=l.rotate(h,this.rot+.5*Math.PI);var d=new i.Sprite;d.texture=i.Texture.fromImage(p.sprite),d.anchor.set(.5,.5),d.posOffset=h,d.imgScale=p.scale,d.tint=p.tint,d.alpha=p.alpha,d.visible=!0,this.door.casingSprite=d}}this.isButton=void 0!==m.button,this.isButton&&(this.button={interactionRad:m.button.interactionRad,interactionText:m.button.interactionText||"game-use",seq:e.button.seq,seqOld:e.button.seq}),this.isPuzzlePiece=e.isPuzzlePiece,this.parentBuildingId=this.isPuzzlePiece?e.parentBuildingId:0}if(this.isDoor&&t){this.door.canUse=e.door.canUse,this.door.open=e.door.open,this.door.seq=e.door.seq;var u=l.rotate(l.create(m.door.slideOffset,0),this.rot+.5*Math.PI);this.door.closedPos=e.door.open?l.add(e.pos,u):l.copy(e.pos)}if(this.isButton&&t&&(this.button.onOff=e.button.onOff,this.button.canUse=e.button.canUse,this.button.seq=e.button.seq),void 0!==m.explosion&&!this.smokeEmitter&&e.healthT<.5&&!e.dead){var g=l.normalize(l.create(1,1));this.smokeEmitter=r.particleBarn.addEmitter("smoke_barrel",{pos:this.pos,dir:g,layer:this.layer})}var y=!1,w=this.dead?m.img.residue:m.img.sprite;if(this.isButton&&this.button.onOff&&!this.dead&&m.button.useImg?w=m.button.useImg:this.isButton&&!this.button.canUse&&m.button.offImg&&(w=m.button.offImg),w!=this.img){var f=l.create(.5,.5);this.isDoor&&(f=m.door.spriteAnchor);var b=void 0!==w;!b&&this.sprite.parent&&this.sprite.parent.removeChild(this.sprite),b&&(this.sprite.texture="none"==w?i.Texture.EMPTY:i.Texture.fromImage(w),this.sprite.anchor.set(f.x,f.y),this.sprite.tint=m.img.tint,this.sprite.imgAlpha=this.dead?.75:m.img.alpha,this.sprite.zOrd=m.img.zIdx,this.sprite.zIdx=65535*Math.floor(1e3*this.scale)+this.__id,this.sprite.alpha=this.sprite.imgAlpha,y=!0),this.sprite.visible=b,this.img=w}var _=r.map.getMapDef.biome.valueAdjust;y&&_<1&&(this.sprite.tint=n.adjustValue(this.sprite.tint,_))},getInteraction:function{return this.isButton&&this.button.canUse?{rad:this.button.interactionRad,action:this.button.interactionText,object:"game-"+this.type}:this.isDoor&&this.door.canUse&&!this.door.autoOpen?{rad:this.door.interactionRad,action:this.door.open?"game-close-door":"game-open-door",object:""}:null},m:function(e,t,a,r,i,m,p){if(this.isButton){var h=this.button;if(h.seq!=h.seqOld){var d=c[this.type];if(d.button.useParticle){var u=o.toAabb(this.collider),g=l.mul(l.sub(u.max,u.min),.5),y=l.add(u.min,g),w=l.mul(l.randomUnit,n.random(5,15));r.addParticle(d.button.useParticle,this.layer,y,w)}var f=this.button.onOff?d.button.sound.on:d.button.sound.off;f&&i.playSound(f,{channel:"sfx",soundPos:this.pos,layer:this.layer,filter:"muffled"})}h.seqOld=h.seq}if(this.isDoor){var b=this.door,_=b.interpSpeed,x=l.sub(this.pos,b.interpPos),S=l.length(x),v=_*e;S1e-4?l.div(x,S):l.create(1,0);b.interpPos=l.add(b.interpPos,l.mul(z,v));var k=Math.PI*b.interpSpeed,I=s.angleDiff(b.interpRot,this.rot),T=s.sign(I)*k*e;if(Math.abs(I)<Math.abs(T)&&(T=I),b.interpRot+=T,b.seq!=b.seqOld){var M=c[this.type],C=M.door.sound.change||"";""!=C&&i.playSound(C,{channel:"sfx",soundPos:this.pos,layer:this.layer,filter:"muffled"}),b.seqOld=b.seq}if(b.open!=b.wasOpen){var P=c[this.type],A=b.open?P.door.sound.open:P.door.sound.close;i.playSound(A,{channel:"sfx",soundPos:this.pos,layer:this.layer,filter:"muffled"}),b.wasOpen=b.open}}if(this.dead&&!this.exploded&&(t.deadObstacleIds.push(this.__id),this.exploded=!0,this.smokeEmitter&&(this.smokeEmitter.stop,this.smokeEmitter=null),!this.isNew)){for(var O=c[this.type],E=o.toAabb(this.collider),D=l.mul(l.sub(E.max,E.min),.5),B=l.add(E.min,D),R=Math.floor(n.random(5,11)),L=0;L<R;L++){var F=l.mul(l.randomUnit,n.random(5,15)),q=Array.isArray(this.explodeParticle)?this.explodeParticle[Math.floor(Math.random*this.explodeParticle.length)]:this.explodeParticle;r.addParticle(q,this.layer,B,F)}i.playSound(O.sound.explode,{channel:"sfx",soundPos:B,layer:this.layer,filter:"muffled"})}if(this.smokeEmitter&&(this.smokeEmitter.pos=l.copy(this.pos),this.smokeEmitter.enabled=!this.dead&&this.healthT<.5),this.sprite.visible&&this.img){var j=this.dead?5:this.sprite.zOrd,N=this.sprite.zIdx,H=this.layer;!this.dead&&j>=50&&0==this.layer&&0==m.layer&&(j+=100,H|=2),p.addPIXIObj(this.sprite,H,j,N),this.isDoor&&this.door.casingSprite&&p.addPIXIObj(this.door.casingSprite,H,j+1,N)}this.isNew=!1},render:function(e,t,a){var r=this.isDoor?this.door.interpPos:this.pos,i=this.isDoor?this.door.interpRot:this.rot,o=this.scale,s=e.pointToScreen(r),n=e.pixels(o*this.imgScale);if(this.sprite.position.set(s.x,s.y),this.sprite.scale.set(n,n),this.imgMirror&&(this.sprite.scale.y*=-1),this.sprite.rotation=-i,this.isDoor&&this.door.casingSprite){var c=e.pointToScreen(l.add(this.door.closedPos,this.door.casingSprite.posOffset)),m=e.pixels(o*this.door.casingSprite.imgScale);this.door.casingSprite.position.set(c.x,c.y),this.door.casingSprite.scale.set(m,m),this.door.casingSprite.rotation=-i,this.door.casingSprite.visible=!this.dead}}},e.exports=r},"0d20ab8e":function(e,t,a){"use strict";var r={Locked:0,Faces:1,Food:2,Animals:3,Logos:4,Other:5,Flags:6,Default:99},i={emote_medical:{type:"emote",texture:"emote-medical-healthkit.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo:{type:"emote",texture:"ammo-box.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo9mm:{type:"emote",texture:"ammo-9mm.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo12gauge:{type:"emote",texture:"ammo-12gauge.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo762mm:{type:"emote",texture:"ammo-762mm.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo556mm:{type:"emote",texture:"ammo-556mm.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo50ae:{type:"emote",texture:"ammo-50AE.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo308sub:{type:"emote",texture:"ammo-308sub.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammoflare:{type:"emote",texture:"ammo-flare.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_ammo45acp:{type:"emote",texture:"ammo-45acp.img",sound:"emote_01",channel:"ui",teamOnly:!0,noCustom:!0,category:r.Locked},emote_loot:{type:"emote",texture:"",sound:"emote_01",channel:"ui",teamOnly:!1,noCustom:!0,category:r.Locked},emote_thumbsup:{type:"emote",name:"Thumbs Up",rarity:1,texture:"thumbs-up.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_sadface:{type:"emote",name:"Sad Face",rarity:1,texture:"face-sad.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_happyface:{type:"emote",name:"Happy Face",rarity:1,texture:"face-happy.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_surviv:{type:"emote",name:"Surviv Logo",rarity:1,texture:"surviv.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_gg:{type:"emote",name:"GG",rarity:1,texture:"gg.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_question:{type:"emote",name:"Question Mark",rarity:1,texture:"question.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_tombstone:{type:"emote",name:"Tombstone",rarity:1,texture:"tombstone.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_joyface:{type:"emote",name:"Joyful Face",rarity:1,texture:"face-joy.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_sobface:{type:"emote",name:"Sobbing Face",rarity:1,texture:"face-sob.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_thinkingface:{type:"emote",name:"Thonk",rarity:1,texture:"face-thinking.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_flagus:{type:"emote",name:"Flag United States",rarity:1,texture:"flag-united-states-of-america.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagthailand:{type:"emote",name:"Flag Thailand",rarity:1,texture:"flag-thailand.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaggermany:{type:"emote",name:"Flag Germany",rarity:1,texture:"flag-germany.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagfrance:{type:"emote",name:"Flag France",rarity:1,texture:"flag-france.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagsouthkorea:{type:"emote",name:"Flag South Korea",rarity:1,texture:"flag-south-korea.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagbrazil:{type:"emote",name:"Flag Brazil",rarity:1,texture:"flag-brazil.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagcanada:{type:"emote",name:"Flag Canada",rarity:1,texture:"flag-canada.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagspain:{type:"emote",name:"Flag Spain",rarity:1,texture:"flag-spain.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagrussia:{type:"emote",name:"Flag Russia",rarity:1,texture:"flag-russia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagmexico:{type:"emote",name:"Flag Mexico",rarity:1,texture:"flag-mexico.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagpoland:{type:"emote",name:"Flag Poland",rarity:1,texture:"flag-republic-of-poland.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaguk:{type:"emote",name:"Flag United Kingdom",rarity:1,texture:"flag-united-kingdom.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagcolombia:{type:"emote",name:"Flag Colombia",rarity:1,texture:"flag-colombia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagukraine:{type:"emote",name:"Flag Ukraine",rarity:1,texture:"flag-ukraine.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagturkey:{type:"emote",name:"Flag Turkey",rarity:1,texture:"flag-turkey.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagphilippines:{type:"emote",name:"Flag Philippines",rarity:1,texture:"flag-philippines.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagczechia:{type:"emote",name:"Flag Czechia",rarity:1,texture:"flag-czech-republic.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagperu:{type:"emote",name:"Flag Peru",rarity:1,texture:"flag-peru.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagaustria:{type:"emote",name:"Flag Austria",rarity:1,texture:"flag-austria.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagargentina:{type:"emote",name:"Flag Argentina",rarity:1,texture:"flag-argentina.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagjapan:{type:"emote",name:"Flag Japan",rarity:1,texture:"flag-japan.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagvenezuela:{type:"emote",name:"Flag Venezuela",rarity:1,texture:"flag-venezuela.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagvietnam:{type:"emote",name:"Flag Vietnam",rarity:1,texture:"flag-vietnam.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagswitzerland:{type:"emote",name:"Flag Switzerland",rarity:1,texture:"flag-switzerland.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagnetherlands:{type:"emote",name:"Flag Netherlands",rarity:1,texture:"flag-netherlands.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagchina:{type:"emote",name:"Flag China",rarity:1,texture:"flag-china.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagtaiwan:{type:"emote",name:"Flag Taiwan",rarity:1,texture:"flag-taiwan.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagchile:{type:"emote",name:"Flag Chile",rarity:1,texture:"flag-chile.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagaustralia:{type:"emote",name:"Flag Australia",rarity:1,texture:"flag-australia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagdenmark:{type:"emote",name:"Flag Denmark",rarity:1,texture:"flag-denmark.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagitaly:{type:"emote",name:"Flag Italy",rarity:1,texture:"flag-italy.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagsweden:{type:"emote",name:"Flag Sweden",rarity:1,texture:"flag-sweden.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagecuador:{type:"emote",name:"Flag Ecuador",rarity:1,texture:"flag-ecuador.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagslovakia:{type:"emote",name:"Flag Slovakia",rarity:1,texture:"flag-slovakia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaghungary:{type:"emote",name:"Flag Hungary",rarity:1,texture:"flag-hungary.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagromania:{type:"emote",name:"Flag Romania",rarity:1,texture:"flag-romania.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaghongkong:{type:"emote",name:"Flag Hong Kong",rarity:1,texture:"flag-hong-kong.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagindonesia:{type:"emote",name:"Flag Indonesia",rarity:1,texture:"flag-indonesia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagfinland:{type:"emote",name:"Flag Finland",rarity:1,texture:"flag-finland.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagnorway:{type:"emote",name:"Flag Norway",rarity:1,texture:"flag-norway.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_heart:{type:"emote",name:"Heart",rarity:1,texture:"heart.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_sleepy:{type:"emote",name:"Zzz",rarity:1,texture:"sleepy.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_flex:{type:"emote",name:"Flex",rarity:1,texture:"flex.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_angryface:{type:"emote",name:"Angry Face",rarity:1,texture:"face-angry.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_upsidedownface:{type:"emote",name:"Upside Down Face",rarity:1,texture:"face-upsidedown.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_teabag:{type:"emote",name:"Teabag",rarity:1,texture:"teabag.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_alienface:{type:"emote",name:"Alien Face",rarity:1,texture:"face-alien.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_flagbelarus:{type:"emote",name:"Flag Belarus",rarity:1,texture:"flag-belarus.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagbelgium:{type:"emote",name:"Flag Belgium",rarity:1,texture:"flag-belgium.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagkazakhstan:{type:"emote",name:"Flag Kazakhstan",rarity:1,texture:"flag-kazakhstan.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_egg:{type:"emote",name:"Egg",rarity:1,texture:"egg.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_police:{type:"emote",name:"Police Insignia",rarity:1,texture:"police.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_dabface:{type:"emote",name:"Dab Face",rarity:1,texture:"face-dab.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_flagmalaysia:{type:"emote",name:"Flag Malaysia",rarity:1,texture:"flag-malaysia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagnewzealand:{type:"emote",name:"Flag New Zealand",rarity:1,texture:"flag-new-zealand.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_logosurviv:{type:"emote",name:"PARMA",rarity:1,texture:"logo-surviv.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_logoegg:{type:"emote",name:"The Egg",rarity:1,texture:"logo-egg.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_logoswine:{type:"emote",name:"The Swine",rarity:1,texture:"logo-swine.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_logohydra:{type:"emote",name:"The Hydra",rarity:1,texture:"logo-hydra.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_logostorm:{type:"emote",name:"The Storm",rarity:1,texture:"logo-storm.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_flaghonduras:{type:"emote",name:"Flag Honduras",rarity:1,texture:"flag-honduras.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_logocaduceus:{type:"emote",name:"The Caduceus",rarity:1,texture:"logo-caduceus.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_impface:{type:"emote",name:"Imp Face",rarity:1,texture:"face-imp.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_monocleface:{type:"emote",name:"Monocole Face",rarity:1,texture:"face-monocle.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_sunglassface:{type:"emote",name:"Sunglasses Face",rarity:1,texture:"face-sunglass.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_headshotface:{type:"emote",name:"Headshot!",rarity:1,texture:"face-headshot.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_potato:{type:"emote",name:"Potato",rarity:1,texture:"potato.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_leek:{type:"emote",name:"Leek",rarity:1,texture:"leek.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_eggplant:{type:"emote",name:"Eggplant",rarity:1,texture:"eggplant.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_baguette:{type:"emote",name:"Baguette",rarity:1,texture:"baguette.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_chick:{type:"emote",name:"Chick",rarity:1,texture:"chick.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_flagbolivia:{type:"emote",name:"Flag Bolivia",rarity:1,texture:"flag-bolivia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagcroatia:{type:"emote",name:"Flag Croatia",rarity:1,texture:"flag-croatia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagindia:{type:"emote",name:"Flag India",rarity:1,texture:"flag-india.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagisrael:{type:"emote",name:"Flag Israel",rarity:1,texture:"flag-israel.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaggeorgia:{type:"emote",name:"Flag Georgia",rarity:1,texture:"flag-georgia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaggreece:{type:"emote",name:"Flag Greece",rarity:1,texture:"flag-greece.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagguatemala:{type:"emote",name:"Flag Gautemala",rarity:1,texture:"flag-guatemala.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagportugal:{type:"emote",name:"Flag Portugal",rarity:1,texture:"flag-portugal.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagserbia:{type:"emote",name:"Flag Serbia",rarity:1,texture:"flag-serbia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagsingapore:{type:"emote",name:"Flag Singapore",rarity:1,texture:"flag-singapore.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagtrinidad:{type:"emote",name:"Flag Trinidad and Tobago",rarity:1,texture:"flag-trinidad-and-tobago.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaguruguay:{type:"emote",name:"Flag Uruguay",rarity:1,texture:"flag-uruguay.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_logoconch:{type:"emote",name:"The Conch",rarity:1,texture:"logo-conch.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_pineapple:{type:"emote",name:"Pineapple",rarity:1,texture:"pineapple.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_coconut:{type:"emote",name:"Coconut",rarity:1,texture:"coconut.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_crab:{type:"emote",name:"Crab",rarity:1,texture:"crab.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Animals},emote_whale:{type:"emote",name:"Whale",rarity:1,texture:"whale.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Animals},emote_logometeor:{type:"emote",name:"The Meteor",rarity:1,texture:"logo-meteor.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_salt:{type:"emote",name:"Salt Shaker",rarity:1,texture:"salt.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_disappointface:{type:"emote",name:"Disappointed Face",rarity:1,texture:"face-disappoint.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_logocrossing:{type:"emote",name:"The Crossing",rarity:1,texture:"logo-crossing.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_fish:{type:"emote",name:"Fish",rarity:1,texture:"fish.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Animals},emote_campfire:{type:"emote",name:"Campfire",rarity:1,texture:"campfire.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_chickendinner:{type:"emote",name:"Chicken Dinner",rarity:1,texture:"chicken-dinner.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_cattle:{type:"emote",name:"Cattle Skull",rarity:1,texture:"cattle.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Animals},emote_icecream:{type:"emote",name:"Ice Cream",rarity:1,texture:"ice-cream.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_cupcake:{type:"emote",name:"Cupcake",rarity:1,texture:"cupcake.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_donut:{type:"emote",name:"Donut",rarity:1,texture:"donut.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_logohatchet:{type:"emote",name:"The Hatchet",rarity:1,texture:"logo-hatchet.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_acorn:{type:"emote",name:"Acorn",rarity:1,texture:"acorn.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_trunk:{type:"emote",name:"Tree Trunk",rarity:1,texture:"trunk.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_forest:{type:"emote",name:"Forest",rarity:1,texture:"forest.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_pumpkin:{type:"emote",name:"Pumpkin",rarity:1,texture:"pumpkin.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_candycorn:{type:"emote",name:"Candy Corn",rarity:1,texture:"candy-corn.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Food},emote_pilgrimhat:{type:"emote",name:"Pilgrim",rarity:1,texture:"pilgrim-hat.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_turkeyanimal:{type:"emote",name:"Turkey",rarity:1,texture:"turkey-animal.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Animals},emote_heartface:{type:"emote",name:"Heart Face",rarity:1,texture:"face-heart.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Faces},emote_logochrysanthemum:{type:"emote",name:"The Chrysanthemum",rarity:1,texture:"logo-chrysanthemum.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos},emote_santahat:{type:"emote",name:"Santa Hat",rarity:1,texture:"santa-hat.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_snowman:{type:"emote",name:"Snowman",rarity:1,texture:"snowman.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_snowflake:{type:"emote",name:"Snowflake",rarity:1,texture:"snowflake.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Other},emote_flagmorocco:{type:"emote",name:"Flag Morocco",rarity:1,texture:"flag-morocco.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagestonia:{type:"emote",name:"Flag Estonia",rarity:1,texture:"flag-estonia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagalgeria:{type:"emote",name:"Flag Algeria",rarity:1,texture:"flag-algeria.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagegypt:{type:"emote",name:"Flag Egypt",rarity:1,texture:"flag-egypt.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagazerbaijan:{type:"emote",name:"Flag Azerbaijan",rarity:1,texture:"flag-azerbaijan.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagalbania:{type:"emote",name:"Flag Albania",rarity:1,texture:"flag-albania.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaglithuania:{type:"emote",name:"Flag Lithuania",rarity:1,texture:"flag-lithuania.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaglatvia:{type:"emote",name:"Flag Latvia",rarity:1,texture:"flag-latvia.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flaguae:{type:"emote",name:"Flag United Arab Emirates",rarity:1,texture:"flag-united-arab-emirates.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_flagdominicanrepublic:{type:"emote",name:"Flag Dominican Republic",rarity:1,texture:"flag-dominican-republic.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Flags},emote_logocloud:{type:"emote",name:"The Cloud",rarity:1,texture:"logo-cloud.img",sound:"emote_01",channel:"ui",teamOnly:!1,category:r.Logos}};e.exports=i},"0d807371":function(e,t,a){"use strict";var r={players:{m9_01:{path:"audio/guns/m9_01.mp3",volume:1,maxInstances:5},m9_reload_01:{path:"audio/guns/m9_reload_01.mp3",volume:1},m9_reload_02:{path:"audio/guns/m9_reload_02.mp3",volume:1},m9_switch_01:{path:"audio/guns/m9_switch_01.mp3",volume:1},m93r_01:{path:"audio/guns/m93r_01.mp3",volume:1,maxInstances:5},m93r_reload_01:{path:"audio/guns/m93r_reload_01.mp3",volume:1},m93r_reload_02:{path:"audio/guns/m93r_reload_02.mp3",volume:1},m93r_switch_01:{path:"audio/guns/m93r_switch_01.mp3",volume:1},glock_01:{path:"audio/guns/glock_01.mp3",volume:1,maxInstances:5},glock_reload_01:{path:"audio/guns/glock_reload_01.mp3",volume:1},glock_reload_02:{path:"audio/guns/glock_reload_02.mp3",volume:1},glock_switch_01:{path:"audio/guns/glock_switch_01.mp3",volume:1},p30l_01:{path:"audio/guns/p30l_01.mp3",volume:1.2,maxInstances:5},p30l_reload_01:{path:"audio/guns/p30l_reload_01.mp3",volume:1.4},p30l_reload_02:{path:"audio/guns/p30l_reload_02.mp3",volume:1.4},p30l_switch_01:{path:"audio/guns/p30l_switch_01.mp3",volume:1.5},m1911_01:{path:"audio/guns/m1911_01.mp3",volume:1,maxInstances:5},m1911_reload_01:{path:"audio/guns/m1911_reload_01.mp3",volume:1},m1911_reload_02:{path:"audio/guns/m1911_reload_02.mp3",volume:1},m1911_switch_01:{path:"audio/guns/m1911_switch_01.mp3",volume:1},ot38_01:{path:"audio/guns/ot38_01.mp3",volume:1,maxInstances:5},ot38_reload_01:{path:"audio/guns/ot38_reload_01.mp3",volume:1},ot38_reload_02:{path:"audio/guns/ot38_reload_02.mp3",volume:1},ot38_switch_01:{path:"audio/guns/ot38_switch_01.mp3",volume:1},ots38_01:{path:"audio/guns/ots38_01.mp3",volume:1,maxInstances:5},colt45_01:{path:"audio/guns/colt45_01.mp3",volume:1},colt45_reload_01:{path:"audio/guns/colt45_reload_01.mp3",volume:1},colt45_reload_02:{path:"audio/guns/colt45_reload_02.mp3",volume:1},colt45_switch_01:{path:"audio/guns/colt45_switch_01.mp3",volume:1},deagle_01:{path:"audio/guns/deagle_01.mp3",volume:1,maxInstances:5},deagle_reload_01:{path:"audio/guns/deagle_reload_01.mp3",volume:1},deagle_reload_02:{path:"audio/guns/deagle_reload_02.mp3",volume:1},deagle_switch_01:{path:"audio/guns/deagle_switch_01.mp3",volume:1},flare_gun_01:{path:"audio/guns/flare_gun_01.mp3",volume:1,maxInstances:5},flare_gun_reload_01:{path:"audio/guns/flare_gun_reload_01.mp3",volume:1},flare_gun_reload_02:{path:"audio/guns/flare_gun_reload_02.mp3",volume:1},ak47_01:{path:"audio/guns/ak47_01.mp3",volume:1,maxInstances:5},ak47_reload_01:{path:"audio/guns/ak47_reload_01.mp3",volume:1},ak47_switch_01:{path:"audio/guns/ak47_switch_01.mp3",volume:1},an94_01:{path:"audio/guns/an94_01.mp3",volume:1,maxInstances:5},an94_reload_01:{path:"audio/guns/an94_reload_01.mp3",volume:1},an94_switch_01:{path:"audio/guns/an94_switch_01.mp3",volume:1},groza_01:{path:"audio/guns/groza_01.mp3",volume:.95,maxInstances:5},groza_reload_01:{path:"audio/guns/groza_reload_01.mp3",volume:1.1},groza_switch_01:{path:"audio/guns/groza_switch_01.mp3",volume:1.1},grozas_01:{path:"audio/guns/grozas_01.mp3",volume:.95,maxInstances:5},scar_01:{path:"audio/guns/scar_01.mp3",volume:1,maxInstances:5},scar_reload_01:{path:"audio/guns/scar_reload_01.mp3",volume:1},scar_switch_01:{path:"audio/guns/scar_switch_01.mp3",volume:1},scarssr_01:{path:"audio/guns/scarssr_01.mp3",volume:1,maxInstances:5},dp28_01:{path:"audio/guns/dp28_01.mp3",volume:1,maxInstances:5},dp28_reload_01:{path:"audio/guns/dp28_reload_01.mp3",volume:1},dp28_switch_01:{path:"audio/guns/dp28_switch_01.mp3",volume:1},bar_01:{path:"audio/guns/bar_01.mp3",volume:1,maxInstances:5},bar_reload_01:{path:"audio/guns/bar_reload_01.mp3",volume:1},bar_switch_01:{path:"audio/guns/bar_switch_01.mp3",volume:1},pkp_01:{path:"audio/guns/pkp_01.mp3",volume:1,maxInstances:5},pkp_reload_01:{path:"audio/guns/pkp_reload_01.mp3",volume:1},pkp_switch_01:{path:"audio/guns/pkp_switch_01.mp3",volume:1},m870_01:{path:"audio/guns/m870_01.mp3",volume:1,maxInstances:5},m870_reload_01:{path:"audio/guns/m870_reload_01.mp3",volume:1},m870_cycle_01:{path:"audio/guns/m870_cycle_01.mp3",volume:1},m870_pull_01:{path:"audio/guns/m870_pull_01.mp3",volume:1},spas12_01:{path:"audio/guns/spas12_01.mp3",volume:1,maxInstances:5},spas12_reload_01:{path:"audio/guns/spas12_reload_01.mp3",volume:1},spas12_cycle_01:{path:"audio/guns/spas12_cycle_01.mp3",volume:1},spas12_pull_01:{path:"audio/guns/spas12_pull_01.mp3",volume:1},mp220_01:{path:"audio/guns/mp220_01.mp3",volume:1,maxInstances:5},mp220_reload_01:{path:"audio/guns/mp220_reload_01.mp3",volume:1},mp220_deploy_01:{path:"audio/guns/mp220_deploy_01.mp3",volume:1},saiga_01:{path:"audio/guns/saiga_01.mp3",volume:1,maxInstances:5},saiga_reload_01:{path:"audio/guns/saiga_reload_01.mp3",volume:1},saiga_switch_01:{path:"audio/guns/saiga_switch_01.mp3",volume:1},usas_01:{path:"audio/guns/usas_01.mp3",volume:1,maxInstances:5},usas_reload_01:{path:"audio/guns/usas_reload_01.mp3",volume:1},usas_switch_01:{path:"audio/guns/usas_switch_01.mp3",volume:1},m1100_01:{path:"audio/guns/m1100_01.mp3",volume:1,maxInstances:5},m1100_reload_01:{path:"audio/guns/m1100_reload_01.mp3",volume:1},m1100_deploy_01:{path:"audio/guns/m1100_deploy_01.mp3",volume:1},m1014_01:{path:"audio/guns/m1014_01.mp3",volume:1,maxInstances:5},m1014_reload_01:{path:"audio/guns/m1014_reload_01.mp3",volume:1},m1014_deploy_01:{path:"audio/guns/m1014_deploy_01.mp3",volume:1},m39_01:{path:"audio/guns/m39_01.mp3",volume:1,maxInstances:5},m39_reload_01:{path:"audio/guns/m39_reload_01.mp3",volume:1},m39_switch_01:{path:"audio/guns/m39_switch_01.mp3",volume:1},svd_01:{path:"audio/guns/svd_01.mp3",volume:1,maxInstances:5},svd_reload_01:{path:"audio/guns/svd_reload_01.mp3",volume:1},svd_switch_01:{path:"audio/guns/svd_switch_01.mp3",volume:1},garand_01:{path:"audio/guns/garand_01.mp3",volume:1,maxInstances:5},garand_02:{path:"audio/guns/garand_02.mp3",volume:1,maxInstances:5},garand_reload_01:{path:"audio/guns/garand_reload_01.mp3",volume:1},garand_switch_01:{path:"audio/guns/garand_switch_01.mp3",volume:1},m1a1_01:{path:"audio/guns/m1a1_01.mp3",volume:1,maxInstances:5},m1a1_reload_01:{path:"audio/guns/m1a1_reload_01.mp3",volume:1},m1a1_switch_01:{path:"audio/guns/m1a1_switch_01.mp3",volume:1},mp5_01:{path:"audio/guns/mp5_01.mp3",volume:1,maxInstances:5},mp5_reload_01:{path:"audio/guns/mp5_reload_01.mp3",volume:1},mp5_switch_01:{path:"audio/guns/mp5_switch_01.mp3",volume:1},mac10_01:{path:"audio/guns/mac10_01.mp3",volume:1,maxInstances:5},mac10_reload_01:{path:"audio/guns/mac10_reload_01.mp3",volume:1},mac10_switch_01:{path:"audio/guns/mac10_switch_01.mp3",volume:1},ump9_01:{path:"audio/guns/ump9_01.mp3",volume:1,maxInstances:5},ump9_reload_01:{path:"audio/guns/ump9_reload_01.mp3",volume:1},ump9_switch_01:{path:"audio/guns/ump9_switch_01.mp3",volume:1},vector_01:{path:"audio/guns/vector_01.mp3",volume:1,maxInstances:5},vector_02:{path:"audio/guns/vector_02.mp3",volume:1,maxInstances:5},vector_reload_01:{path:"audio/guns/vector_reload_01.mp3",volume:1},vector_switch_01:{path:"audio/guns/vector_switch_01.mp3",volume:1},scorpion_01:{path:"audio/guns/scorpion_01.mp3",volume:1,maxInstances:5},scorpion_reload_01:{path:"audio/guns/scorpion_reload_01.mp3",volume:1},scorpion_switch_01:{path:"audio/guns/scorpion_switch_01.mp3",volume:1},vss_01:{path:"audio/guns/vss_01.mp3",volume:1,maxInstances:5},vss_reload_01:{path:"audio/guns/vss_reload_01.mp3",volume:1},vss_switch_01:{path:"audio/guns/vss_switch_01.mp3",volume:1},famas_01:{path:"audio/guns/famas_01.mp3",volume:1,maxInstances:5},famas_reload_01:{path:"audio/guns/famas_reload_01.mp3",volume:1},famas_switch_01:{path:"audio/guns/famas_switch_01.mp3",volume:1},hk416_01:{path:"audio/guns/hk416_01.mp3",volume:1,maxInstances:5},hk416_reload_01:{path:"audio/guns/hk416_reload_01.mp3",volume:1},hk416_switch_01:{path:"audio/guns/hk416_switch_01.mp3",volume:1},m4a1_01:{path:"audio/guns/m4a1_01.mp3",volume:1,maxInstances:5},m4a1_reload_01:{path:"audio/guns/m4a1_reload_01.mp3",volume:1},m4a1_switch_01:{path:"audio/guns/m4a1_switch_01.mp3",volume:1},mk12_01:{path:"audio/guns/mk12_01.mp3",volume:1,maxInstances:5},mk12_reload_01:{path:"audio/guns/mk12_reload_01.mp3",volume:1},mk12_switch_01:{path:"audio/guns/mk12_switch_01.mp3",volume:1},l86_01:{path:"audio/guns/l86_01.mp3",volume:1,maxInstances:5},l86_reload_01:{path:"audio/guns/l86_reload_01.mp3",volume:1},l86_switch_01:{path:"audio/guns/l86_switch_01.mp3",volume:1},m249_01:{path:"audio/guns/m249_01.mp3",volume:1,maxInstances:5},m249_reload_01:{path:"audio/guns/m249_reload_01.mp3",volume:1.5},m249_switch_01:{path:"audio/guns/m249_switch_01.mp3",volume:1.5},qbb97_01:{path:"audio/guns/qbb97_01.mp3",volume:1,maxInstances:5},qbb97_reload_01:{path:"audio/guns/qbb97_reload_01.mp3",volume:1},qbb97_switch_01:{path:"audio/guns/qbb97_switch_01.mp3",volume:1},scout_01:{path:"audio/guns/scout_01.mp3",volume:2,maxInstances:5},scout_reload_01:{path:"audio/guns/scout_reload_01.mp3",volume:1.2},scout_cycle_01:{path:"audio/guns/scout_cycle_01.mp3",volume:1.2},scout_pull_01:{path:"audio/guns/scout_pull_01.mp3",volume:1.2},model94_01:{path:"audio/guns/model94_01.mp3",volume:1,maxInstances:5},model94_reload_01:{path:"audio/guns/model94_reload_01.mp3",volume:1},model94_cycle_01:{path:"audio/guns/model94_cycle_01.mp3",volume:1},mkg45_01:{path:"audio/guns/mkg45_01.mp3",volume:1,maxInstances:5},mkg45_reload_01:{path:"audio/guns/mkg45_reload_01.mp3",volume:1.25},mkg45_switch_01:{path:"audio/guns/mkg45_switch_01.mp3",volume:1.25},blr_01:{path:"audio/guns/blr_01.mp3",volume:1.5,maxInstances:5},blr_reload_01:{path:"audio/guns/blr_reload_01.mp3",volume:1},blr_cycle_01:{path:"audio/guns/blr_cycle_01.mp3",volume:1},mosin_01:{path:"audio/guns/mosin_01.mp3",volume:1,maxInstances:5},mosin_reload_01:{path:"audio/guns/mosin_reload_01.mp3",volume:1},mosin_reload_02:{path:"audio/guns/mosin_reload_02.mp3",volume:1},mosin_cycle_01:{path:"audio/guns/mosin_cycle_01.mp3",volume:1},mosin_pull_01:{path:"audio/guns/mosin_pull_01.mp3",volume:1},sv98_01:{path:"audio/guns/sv98_01.mp3",volume:1,maxInstances:5},sv98_reload_01:{path:"audio/guns/sv98_reload_01.mp3",volume:1},sv98_cycle_01:{path:"audio/guns/sv98_cycle_01.mp3",volume:1},sv98_pull_01:{path:"audio/guns/sv98_pull_01.mp3",volume:1},awc_01:{path:"audio/guns/awc_01.mp3",volume:1,maxInstances:5},awc_reload_01:{path:"audio/guns/awc_reload_01.mp3",volume:1},awc_cycle_01:{path:"audio/guns/awc_cycle_01.mp3",volume:1},awc_pull_01:{path:"audio/guns/awc_pull_01.mp3",volume:1},potato_cannon_01:{path:"audio/guns/potato_cannon_01.mp3",volume:1,maxInstances:5},potato_cannon_reload_01:{path:"audio/guns/potato_cannon_reload_01.mp3",volume:1},potato_cannon_switch_01:{path:"audio/guns/potato_cannon_switch_01.mp3",volume:1},empty_fire_01:{path:"audio/guns/empty_fire_01.mp3",volume:.9},empty_fire_02:{path:"audio/guns/empty_fire_02.mp3",volume:.9},gun_switch_01:{path:"audio/guns/gun_switch_01.mp3",volume:1},bandage_use_01:{path:"audio/ui/bandage_use_01.mp3",volume:1},healthkit_use_01:{path:"audio/ui/healthkit_use_01.mp3",volume:1},soda_use_01:{path:"audio/ui/soda_use_01.mp3",volume:1},pills_use_01:{path:"audio/ui/pills_use_01.mp3",volume:1}},hits:{stone_bullet_hit_01:{path:"audio/hits/stone_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},wood_bullet_hit_01:{path:"audio/hits/wood_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},wood_bullet_hit_02:{path:"audio/hits/wood_bullet_hit_02.mp3",volume:1,canCoalesce:!0,maxInstances:3},wood_bullet_hit_03:{path:"audio/hits/wood_bullet_hit_03.mp3",volume:1,canCoalesce:!0,maxInstances:3},wood_bullet_hit_04:{path:"audio/hits/wood_bullet_hit_04.mp3",volume:1,canCoalesce:!0,maxInstances:3},bush_bullet_hit_01:{path:"audio/hits/bush_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},metal_bullet_hit_01:{path:"audio/hits/metal_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},metal_bullet_hit_03:{path:"audio/hits/metal_bullet_hit_03.mp3",volume:1,canCoalesce:!0,maxInstances:3},metal_bullet_hit_04:{path:"audio/hits/metal_bullet_hit_04.mp3",volume:1,canCoalesce:!0,maxInstances:6},pan_bullet_hit_01:{path:"audio/hits/pan_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:6},brick_bullet_hit_01:{path:"audio/hits/brick_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},punch_hit_01:{path:"audio/hits/punch_hit_01.mp3",volume:1},knife_hit_01:{path:"audio/hits/knife_hit_01.mp3",volume:1},pan_hit_01:{path:"audio/hits/pan_hit_01.mp3",volume:1},axe_hit_01:{path:"audio/hits/axe_hit_01.mp3",volume:1},hook_hit_01:{path:"audio/hits/hook_hit_01.mp3",volume:1},saw_hit_01:{path:"audio/hits/saw_hit_01.mp3",volume:2.5},metal_punch_hit_01:{path:"audio/hits/metal_punch_hit_01.mp3",volume:1},metal_punch_hit_02:{path:"audio/hits/metal_punch_hit_02.mp3",volume:1},player_bullet_hit_01:{path:"audio/hits/player_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},player_bullet_hit_02:{path:"audio/hits/player_bullet_hit_02.mp3",volume:1,canCoalesce:!0},plastic_bullet_hit_01:{path:"audio/hits/plastic_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},toilet_bullet_hit_01:{path:"audio/hits/toilet_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},toilet_bullet_hit_02:{path:"audio/hits/toilet_bullet_hit_02.mp3",volume:1,canCoalesce:!0,maxInstances:3},glass_bullet_hit_01:{path:"audio/hits/glass_bullet_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},concrete_hit_01:{path:"audio/hits/concrete_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},frag_grass_01:{path:"audio/hits/frag_grass_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},frag_sand_01:{path:"audio/hits/frag_sand_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},frag_water_01:{path:"audio/hits/frag_water_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},cloth_hit_01:{path:"audio/hits/cloth_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},cloth_hit_02:{path:"audio/hits/cloth_hit_02.mp3",volume:1,canCoalesce:!0,maxInstances:3},organic_hit_01:{path:"audio/hits/organic_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},piano_hit_01:{path:"audio/hits/piano_hit_01.mp3",volume:1,canCoalesce:!0,maxInstances:3},piano_hit_02:{path:"audio/hits/piano_hit_02.mp3",volume:1,canCoalesce:!0,maxInstances:3}},sfx:{crate_break_01:{path:"audio/sfx/crate_break_01.mp3",volume:1},crate_break_02:{path:"audio/sfx/crate_break_02.mp3",volume:1},tree_break_01:{path:"audio/sfx/tree_break_01.mp3",volume:1},bush_break_01:{path:"audio/sfx/bush_break_01.mp3",volume:1},bush_enter_01:{path:"audio/sfx/bush_enter_01.mp3",volume:1,canCoalesce:!0},bush_enter_02:{path:"audio/sfx/bush_enter_02.mp3",volume:1,canCoalesce:!0},barrel_break_01:{path:"audio/sfx/barrel_break_01.mp3",volume:1},barrel_break_02:{path:"audio/sfx/barrel_break_02.mp3",volume:1},stone_break_01:{path:"audio/sfx/stone_break_01.mp3",volume:1},wall_break_01:{path:"audio/sfx/wall_break_01.mp3",volume:1},ceiling_break_01:{path:"audio/sfx/ceiling_break_01.mp3",volume:1},ceiling_break_02:{path:"audio/sfx/ceiling_break_02.mp3",volume:1},toilet_break_01:{path:"audio/sfx/toilet_break_01.mp3",volume:1},toilet_break_02:{path:"audio/sfx/toilet_break_02.mp3",volume:1},vending_break_01:{path:"audio/sfx/vending_break_01.mp3",volume:1},window_break_01:{path:"audio/sfx/window_break_01.mp3",volume:1},window_break_02:{path:"audio/sfx/window_break_02.mp3",volume:1},drawers_break_01:{path:"audio/sfx/drawers_break_01.mp3",volume:1},oven_break_01:{path:"audio/sfx/oven_break_01.mp3",volume:1},deposit_box_break_01:{path:"audio/sfx/deposit_box_break_01.mp3",volume:1},cloth_break_01:{path:"audio/sfx/cloth_break_01.mp3",volume:1},screen_break_01:{path:"audio/sfx/screen_break_01.mp3",volume:1},pumpkin_break_01:{path:"audio/sfx/pumpkin_break_01.mp3",volume:1,preload:!1},ceramic_break_01:{path:"audio/sfx/ceramic_break_01.mp3",volume:1},footstep_grass_01:{path:"audio/sfx/footstep_grass_01.mp3",volume:1},footstep_grass_02:{path:"audio/sfx/footstep_grass_02.mp3",volume:1},footstep_metal_01:{path:"audio/sfx/footstep_metal_01.mp3",volume:1},footstep_metal_02:{path:"audio/sfx/footstep_metal_02.mp3",volume:1},footstep_metal_03:{path:"audio/sfx/footstep_metal_03.mp3",volume:1},footstep_metal_04:{path:"audio/sfx/footstep_metal_04.mp3",volume:1},footstep_metal_05:{path:"audio/sfx/footstep_metal_05.mp3",volume:1},footstep_wood_01:{path:"audio/sfx/footstep_wood_01.mp3",volume:1},footstep_wood_02:{path:"audio/sfx/footstep_wood_02.mp3",volume:1},footstep_wood_03:{path:"audio/sfx/footstep_wood_03.mp3",volume:1},footstep_sand_01:{path:"audio/sfx/footstep_sand_01.mp3",volume:1},footstep_sand_02:{path:"audio/sfx/footstep_sand_02.mp3",volume:1},footstep_water_01:{path:"audio/sfx/footstep_water_01.mp3",volume:1},footstep_water_02:{path:"audio/sfx/footstep_water_02.mp3",volume:1},footstep_tile_01:{path:"audio/sfx/footstep_tile_01.mp3",volume:1},footstep_tile_02:{path:"audio/sfx/footstep_tile_02.mp3",volume:1},footstep_asphalt_01:{path:"audio/sfx/footstep_asphalt_01.mp3",volume:1},footstep_asphalt_02:{path:"audio/sfx/footstep_asphalt_02.mp3",volume:1},footstep_brick_01:{path:"audio/sfx/footstep_brick_01.mp3",volume:1},footstep_stone_01:{path:"audio/sfx/footstep_stone_01.mp3",volume:.8},footstep_carpet_01:{path:"audio/sfx/footstep_carpet_01.mp3",volume:1},punch_swing_01:{path:"audio/sfx/punch_swing_01.mp3",volume:1},knife_swing_01:{path:"audio/sfx/knife_swing_01.mp3",volume:1},medium_swing_01:{path:"audio/sfx/medium_swing_01.mp3",volume:1},heavy_swing_01:{path:"audio/sfx/heavy_swing_01.mp3",volume:1},bullet_whiz_01:{path:"audio/sfx/bullet_whiz_01.mp3",volume:1},bullet_whiz_02:{path:"audio/sfx/bullet_whiz_02.mp3",volume:1},bullet_whiz_03:{path:"audio/sfx/bullet_whiz_03.mp3",volume:1},frag_throw_01:{path:"audio/sfx/frag_throw_01.mp3",volume:1},frag_pin_01:{path:"audio/sfx/frag_pin_01.mp3",volume:1},frag_deploy_01:{path:"audio/ui/frag_pickup_01.mp3",volume:1},frag_water_01:{path:"audio/hits/frag_water_01.mp3",volume:1},strobe_click_01:{path:"audio/sfx/strobe_click_01.mp3",volume:1},explosion_01:{path:"audio/sfx/explosion_01.mp3",volume:1},explosion_02:{path:"audio/sfx/explosion_02.mp3",volume:1},explosion_03:{path:"audio/sfx/explosion_03.mp3",volume:1},explosion_04:{path:"audio/sfx/explosion_04.mp3",volume:1},explosion_05:{path:"audio/sfx/explosion_05.mp3",volume:1},explosion_smoke_01:{path:"audio/sfx/explosion_smoke_01.mp3",volume:1},snowball_01:{path:"audio/sfx/snowball_01.mp3",volume:1,preload:!1},snowball_02:{path:"audio/sfx/snowball_02.mp3",volume:1,preload:!1},potato_01:{path:"audio/sfx/potato_01.mp3",volume:1,preload:!1},potato_02:{path:"audio/sfx/potato_02.mp3",volume:1,preload:!1},stow_weapon_01:{path:"audio/ui/stow_weapon_01.mp3",volume:1},knife_deploy_01:{path:"audio/ui/knife_deploy_01.mp3",volume:1},pan_pickup_01:{path:"audio/ui/pan_pickup_01.mp3",volume:1},door_open_01:{path:"audio/sfx/door_open_01.mp3",volume:1},door_close_01:{path:"audio/sfx/door_close_01.mp3",volume:1},door_open_02:{path:"audio/sfx/door_open_02.mp3",volume:1},door_close_02:{path:"audio/sfx/door_close_02.mp3",volume:1},door_open_03:{path:"audio/sfx/door_open_03.mp3",volume:1},door_close_03:{path:"audio/sfx/door_close_03.mp3",volume:1},door_open_04:{path:"audio/sfx/door_open_04.mp3",volume:.8},door_error_01:{path:"audio/sfx/door_error_01.mp3",volume:1},vault_change_01:{path:"audio/sfx/vault_change_01.mp3",volume:1},vault_change_02:{path:"audio/sfx/vault_change_02.mp3",volume:1,preload:!1},vault_change_03:{path:"audio/sfx/vault_change_03.mp3",volume:1,preload:!1},cell_control_01:{path:"audio/sfx/cell_control_01.mp3",volume:1},cell_control_02:{path:"audio/sfx/cell_control_02.mp3",volume:1},plane_01:{path:"audio/sfx/plane_01.mp3",volume:1},plane_02:{path:"audio/sfx/plane_02.mp3",volume:1,preload:!1},fighter_01:{path:"audio/sfx/fighter_01.mp3",volume:1},airdrop_chute_01:{path:"audio/sfx/airdrop_chute_01.mp3",volume:1},airdrop_fall_01:{path:"audio/sfx/airdrop_fall_01.mp3",volume:1},airdrop_crash_01:{path:"audio/sfx/airdrop_crash_01.mp3",volume:1},airdrop_crash_02:{path:"audio/sfx/airdrop_crash_02.mp3",volume:1},airdrop_open_01:{path:"audio/sfx/airdrop_open_01.mp3",volume:1},airdrop_open_02:{path:"audio/sfx/airdrop_open_02.mp3",volume:1},button_press_01:{path:"audio/sfx/button_press_01.mp3",volume:1,maxInstances:3},watering_01:{path:"audio/sfx/watering_01.mp3",volume:1,maxInstances:3,preload:!1},piano_02:{path:"audio/sfx/piano_02.mp3",volume:1,preload:!1},footstep_08:{path:"audio/sfx/footstep_08.mp3",volume:1,preload:!1},footstep_09:{path:"audio/sfx/footstep_09.mp3",volume:1,preload:!1},howl_01:{path:"audio/sfx/howl_01.mp3",volume:1,preload:!1},wheel_control_01:{path:"audio/sfx/wheel_control_01.mp3",volume:1,preload:!1},log_01:{path:"audio/sfx/log_01.mp3",volume:1,preload:!1},log_02:{path:"audio/sfx/log_02.mp3",volume:1,preload:!1},log_03:{path:"audio/sfx/log_03.mp3",volume:1,preload:!1},log_04:{path:"audio/sfx/log_04.mp3",volume:1,preload:!1},log_05:{path:"audio/sfx/log_05.mp3",volume:1,preload:!1},log_06:{path:"audio/sfx/log_06.mp3",volume:1,preload:!1},log_11:{path:"audio/sfx/log_11.mp3",volume:4,preload:!1},log_12:{path:"audio/sfx/log_12.mp3",volume:4,preload:!1},ability_stim_01:{path:"audio/sfx/ability_stim_01.mp3",volume:4}},ambient:{ambient_wind_01:{path:"audio/ambient/ambient_wind_01.mp3",volume:1,loadPriority:1},ambient_waves_01:{path:"audio/ambient/ambient_waves_01.mp3",volume:1,loadPriority:1},ambient_stream_01:{path:"audio/ambient/ambient_stream_01.mp3",volume:1,loadPriority:1},piano_music_01:{path:"audio/ambient/piano_music_01.mp3",volume:1,preload:!1},ambient_wind_02:{path:"audio/ambient/ambient_wind_02.mp3",volume:1,preload:!1},ambient_steam_01:{path:"audio/ambient/ambient_steam_01.mp3",volume:1,preload:!1},club_music_01:{path:"audio/ambient/club_music_01.mp3",volume:1,preload:!1},club_music_02:{path:"audio/ambient/club_music_02.mp3",volume:1,preload:!1}},ui:{ammo_pickup_01:{path:"audio/ui/ammo_pickup_01.mp3",volume:1},clothes_pickup_01:{path:"audio/ui/clothes_pickup_01.mp3",volume:1},bells_01:{path:"audio/sfx/plane_02.mp3",volume:1,preload:!1},helmet_pickup_01:{path:"audio/ui/helmet_pickup_01.mp3",volume:1},chest_pickup_01:{path:"audio/ui/chest_pickup_01.mp3",volume:1},gun_pickup_01:{path:"audio/ui/gun_pickup_01.mp3",volume:1},scope_pickup_01:{path:"audio/ui/scope_pickup_01.mp3",volume:1},pack_pickup_01:{path:"audio/ui/pack_pickup_01.mp3",volume:1},soda_pickup_01:{path:"audio/ui/soda_pickup_01.mp3",volume:1},pills_pickup_01:{path:"audio/ui/pills_pickup_01.mp3",volume:1},bandage_pickup_01:{path:"audio/ui/bandage_pickup_01.mp3",volume:1},healthkit_pickup_01:{path:"audio/ui/healthkit_pickup_01.mp3",volume:1},frag_pickup_01:{path:"audio/ui/frag_pickup_01.mp3",volume:1},snowball_pickup_01:{path:"audio/ui/snowball_pickup_01.mp3",volume:1,preload:!1},potato_pickup_01:{path:"audio/ui/potato_pickup_01.mp3",volume:1,preload:!1},heavy_pickup_01:{path:"audio/ui/heavy_pickup_01.mp3",volume:1},pan_pickup_01:{path:"audio/ui/pan_pickup_01.mp3",volume:1},perk_pickup_01:{path:"audio/ui/perk_pickup_01.mp3",volume:1},ping_danger_01:{path:"audio/ui/ping_danger_01.mp3",volume:1},ping_coming_01:{path:"audio/ui/ping_coming_01.mp3",volume:1},ping_help_01:{path:"audio/ui/ping_help_01.mp3",volume:1},ping_leader_01:{path:"audio/ui/ping_leader_01.mp3",volume:1,preload:!1},ping_airdrop_01:{path:"audio/ui/ping_airdrop_01.mp3",volume:1},ping_airstrike_01:{path:"audio/ui/ping_airstrike_01.mp3",volume:1},emote_01:{path:"audio/ui/emote_01.mp3",volume:1},loot_drop_01:{path:"audio/ui/loot_drop_01.mp3",volume:1},notification_start_01:{path:"audio/ui/notification_start_01.mp3",volume:1},notification_join_01:{path:"audio/ui/notification_join_01.mp3",volume:1},leader_assigned_01:{path:"audio/ui/leader_assigned_01.mp3",volume:1,maxInstances:1},leader_dead_01:{path:"audio/ui/leader_dead_01.mp3",volume:1.75,maxInstances:1},lt_assigned_01:{path:"audio/ui/lt_assigned_01.mp3",volume:1,preload:!1,maxInstances:1},medic_assigned_01:{path:"audio/ui/medic_assigned_01.mp3",volume:2,preload:!1,maxInstances:1},marksman_assigned_01:{path:"audio/ui/marksman_assigned_01.mp3",volume:2,preload:!1,maxInstances:1},last_man_assigned_01:{path:"audio/ui/last_man_assigned_01.mp3",volume:1.75,preload:!1,maxInstances:1},helmet03_forest_pickup_01:{path:"audio/ui/helmet03_forest_pickup_01.mp3",volume:1,maxInstances:1,preload:!1}},music:{menu_music:{path:"audio/ambient/menu_music_01.mp3",volume:1,loadPriority:2}}},i={footstep_grass:{channel:"sfx",sounds:["footstep_grass_01","footstep_grass_02"]},footstep_container:{channel:"sfx",sounds:["footstep_metal_03"]},footstep_warehouse:{channel:"sfx",sounds:["footstep_metal_01","footstep_metal_02"]},footstep_house:{channel:"sfx",sounds:["footstep_wood_02","footstep_wood_03"]},footstep_shack:{channel:"sfx",sounds:["footstep_wood_01"]},footstep_sand:{channel:"sfx",sounds:["footstep_sand_01","footstep_sand_02"]},footstep_water:{channel:"sfx",sounds:["footstep_water_01","footstep_water_02"]},footstep_tile:{channel:"sfx",sounds:["footstep_tile_01","footstep_tile_02"]},footstep_asphalt:{channel:"sfx",sounds:["footstep_asphalt_01","footstep_asphalt_02"]},footstep_brick:{channel:"sfx",sounds:["footstep_brick_01"]},footstep_bunker:{channel:"sfx",sounds:["footstep_metal_04","footstep_metal_05"]},footstep_stone:{channel:"sfx",sounds:["footstep_stone_01"]},footstep_carpet:{channel:"sfx",sounds:["footstep_carpet_01"]},player_bullet_hit:{channel:"hits",sounds:["player_bullet_hit_01"]},metal_punch:{channel:"hits",sounds:["metal_punch_hit_01","metal_punch_hit_02"]},cloth_punch:{channel:"hits",sounds:["cloth_hit_01"]},cloth_bullet:{channel:"hits",sounds:["cloth_hit_02"]},organic_hit:{channel:"hits",sounds:["organic_hit_01"]},piano_hit:{channel:"hits",sounds:["piano_hit_01","piano_hit_02"]},wall_bullet:{channel:"hits",sounds:["metal_bullet_hit_01"]},wall_wood_bullet:{channel:"hits",sounds:["wood_bullet_hit_02"]},wall_brick_bullet:{channel:"hits",sounds:["brick_bullet_hit_01"]},stone_bullet:{channel:"hits",sounds:["stone_bullet_hit_01"]},barrel_bullet:{channel:"hits",sounds:["metal_bullet_hit_03"]},pan_bullet:{channel:"hits",sounds:["pan_bullet_hit_01"]},silo_bullet:{channel:"hits",sounds:["metal_bullet_hit_04"]},toilet_porc_bullet:{channel:"hits",sounds:["toilet_bullet_hit_01"]},toilet_metal_bullet:{channel:"hits",sounds:["toilet_bullet_hit_02"]},glass_bullet:{channel:"hits",sounds:["glass_bullet_hit_01"]},concrete_hit:{channel:"hits",sounds:["concrete_hit_01"]},wood_prop_bullet:{channel:"hits",sounds:["wood_bullet_hit_03"]},wood_crate_bullet:{channel:"hits",sounds:["wood_bullet_hit_04"]},ammo_crate_bullet:{channel:"hits",sounds:["plastic_bullet_hit_01"]},bush_bullet:{channel:"hits",sounds:["bush_bullet_hit_01"]},tree_bullet:{channel:"hits",sounds:["wood_bullet_hit_01"]},player_bullet_grunt:{channel:"hits",sounds:["player_bullet_hit_02"]},bullet_whiz:{channel:"sfx",sounds:["bullet_whiz_01","bullet_whiz_02","bullet_whiz_03"]},frag_grass:{channel:"hits",sounds:["frag_grass_01"]},frag_sand:{channel:"hits",sounds:["frag_sand_01"]},frag_water:{channel:"hits",sounds:["frag_water_01"]}},o={activePlayer:{volume:.5,maxRange:48,list:"players",type:"sound"},otherPlayers:{volume:.5,maxRange:48,list:"players",type:"sound"},hits:{volume:.4,maxRange:48,list:"hits",type:"sound"},sfx:{volume:1,maxRange:48,list:"sfx",type:"sound"},ambient:{volume:1,maxRange:1,list:"ambient",type:"sound"},ui:{volume:.75,maxRange:48,list:"ui",type:"sound"},music:{volume:1,maxRange:1,list:"music",type:"music"}},s={cathedral:{path:"audio/reverb/cathedral_01.mp3",volume:.7,stereoSpread:.004},cave:{path:"audio/reverb/cave_mono_01.mp3",volume:.7,echoVolume:.5,echoDelay:.25,echoLowPass:800,stereoSpread:.004}};e.exports={Sounds:r,Groups:i,Channels:o,Reverbs:s}},1:function(e,t){},"10899aea":function(e,t,a){"use strict";var r=a("0e566746"),i=a("66141f52"),o=a("c2a798c8"),s={clamp:function(e,t,a){return et?e:t:a},min:function(e,t){return et?e:t},lerp:function(e,t,a){return t*(1-e)+a*e},delerp:function(e,t,a){return s.clamp((e-t)/(a-t),0,1)},v2lerp:function(e,t,a){return o.create(s.lerp(e,t.x,a.x),s.lerp(e,t.y,a.y))},smoothstep:function(e,t,a){var r=s.clamp((e-t)/(a-t),0,1);return r*r*(3-2*r)},easeOutElastic:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.3;return Math.pow(2,-10*e)*Math.sin((e-t/4)*(2*Math.PI)/t)+1},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},remap:function(e,t,a,r,i){var o=s.clamp((e-t)/(a-t),0,1);return s.lerp(o,r,i)},eqAbs:function(e,t,a){var r=a||1e-6;return Math.abs(e-t)<r},eqRel:function(e,t,a){var r=void 0!==a?a:1e-6;return Math.abs(e-t)<=r*Math.max(Math.max(1,Math.abs(e)),Math.abs(t))},deg2rad:function(e){return e*Math.PI/180},rad2deg:function(e){return 180*e/Math.PI},fract:function(e){return e-Math.floor(e)},sign:function(e){return e<0?-1:1},mod:function(e,t){return(e%t+t)%t},fmod:function(e,t){return e-Math.floor(e/t)*t},angleDiff:function(e,t){var a=s.fmod(t-e+Math.PI,2*Math.PI)-Math.PI;return a<-Math.PI?a+2*Math.PI:a},oriToRad:function(e){return e%4*.5*Math.PI},radToOri:function(e){return Math.floor(s.fmod(e+.25*Math.PI,2*Math.PI)/(.5*Math.PI))},quantize:function(e,t,a,i){r(e>=t&&e<=a);var o=(1<=0&&m>=0&&m<=1?c:void 0}},rayPolygonIntersect:function(e,t,a){for(var r=Number.MAX_VALUE,i=!1,o=0,s=a.length-1;or!=p>r&&a<(m-l)*(r-c)/(p-c)+l&&(i=!i)}return i},distToSegmentSq:function(e,t,a){var r=o.sub(a,t),i=o.dot(o.sub(e,t),r)/o.dot(r,r),n=o.add(t,o.mul(r,s.clamp(i,0,1))),l=o.sub(n,e);return o.dot(l,l)},distToPolygon:function(e,t){for(var a=Number.MAX_VALUE,r=0;r<t.length;r++){var i=t[r],o=r==t.length-1?t[0]:t[r+1],n=s.distToSegmentSq(e,i,o);n<a&&(a=n)}return Math.sqrt(a)},polygonArea:function(e){for(var t=[],a=0;a1||m<0||m>1)&&{x:e+c*(a-e),y:t+c*(r-t)}}};e.exports=s},"119e8c4c":function(e,t,a){"use strict";function r(e,t){this.min=e,this.max=t}function i(e){return e instanceof r?e.getRandom:e}function o(e){return e instanceof Function?e:e}function s{this.active=!1,this.ticker=0,this.def={},this.sprite=new c.Sprite,this.sprite.anchor.set(.5,.5),this.sprite.scale.set(1,1),this.sprite.visible=!1,this.hasParent=!1}function n{this.active=!1}function l(e){this.renderer=e,this.particles=[],this.emitters=[];for(var t=0;t<256;t++)this.particles[t]=new s(this.display);this.valueAdjust=1}var c=a("8b1dfb45"),m=a("10899aea"),p=a("1901e2d9"),h=a("c2a798c8");a("af8ba00f"),r.prototype={getRandom:function{return p.random(this.min,this.max)}};var d={archwayBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.2,.35),end:new r(.08,.12),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.06,.84,p.random(.46,.48)))}},bloodSplat:{image:["part-splat-01.img","part-splat-02.img","part-splat-03.img"],life:.5,drag:1,rotVel:0,scale:{start:.04,end:new r(.15,.2),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.75,1)},color:function{return p.rgbToInt(p.hsvToRgb(16711680,1,p.random(.45,.8)))}},barrelPlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(3,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.08,.18),end:new r(.07,.17),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.09,.8,p.random(.66,.68)))}},barrelChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.01,.02,p.random(.38,.41)))}},barrelBreak:{image:["part-spark-02.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.01,.02,p.random(.38,.41)))}},blackChip:{image:["part-woodchip-01.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,.08,p.random(.16,.18)))}},blueChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.64,1,p.random(.83,.85)))}},book:{image:["part-book-01.img"],life:new r(1,1.5),drag:new r(3,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.09,.19),end:new r(.07,.17),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.08,.42,p.random(.72,.74)))}},bottleBrownChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,5),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.02,.04),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:7878664},bottleBrownBreak:{image:["part-spark-02.img"],life:new r(.4,.8),drag:new r(1,4),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.03,.06),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:.8,end:0,lerp:new r(.75,1)},color:7878664},bottleBlueChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,5),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.02,.04),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:19544},bottleWhiteBreak:{image:["part-spark-02.img"],life:new r(.4,.8),drag:new r(1,4),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.03,.06),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:.75,end:0,lerp:new r(.75,1)},color:16777215},bottleWhiteChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,5),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.02,.04),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:.75,end:0,lerp:new r(.95,1)},color:16777215},bottleBlueBreak:{image:["part-spark-02.img"],life:new r(.4,.8),drag:new r(1,4),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.03,.06),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:.8,end:0,lerp:new r(.75,1)},color:19544},brickChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,.71,p.random(.32,.34)))}},clothBreak:{image:["part-cloth-01.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.95,1)))}},clothHit:{image:["part-cloth-01.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.95,1)))}},depositBoxGreyBreak:{image:["part-plate-01.img"],life:new r(.5,1),drag:new r(7,8),rotVel:new r(0,3*Math.PI),scale:{start:new r(.15,.25),end:new r(.12,.2),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.36,.38)))}},depositBoxGoldBreak:{image:["part-plate-01.img"],life:new r(.5,1),drag:new r(6,8),rotVel:new r(0,3*Math.PI),scale:{start:new r(.2,.35),end:new r(.18,.25),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.11,.84,p.random(.64,.66)))}},glassChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,5),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:8444415},glassPlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:8444415},goldChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.11,.84,p.random(.88,.9)))}},greenChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.4,.18,p.random(.5,.62)))}},greenPlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.08,.16),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:3884335},greenhouseBreak:{image:["part-spark-02.img","part-plate-01.img","part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:.8,end:0,lerp:new r(.75,1)},color:8444415},hutBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.1,.81,p.random(.78,.82)))}},leaf:{image:["part-leaf-01.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.5,.75)))}},leafPrickly:{image:["part-leaf-01sv.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.8,.85)))}},leafRiver:{image:["part-leaf-02.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.5,.75)))}},lockerBreak:{image:["part-plate-01.img"],life:new r(.5,1),drag:new r(7,8),rotVel:new r(0,3*Math.PI),scale:{start:new r(.15,.2),end:new r(.12,.15),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.1,.23,p.random(.51,.53)))}},ltgreenChip:{image:["part-woodchip-01.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.2,.42,p.random(.38,.42)))}},outhouseChip:{image:["part-woodchip-01.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.08,.57,p.random(.4,.46)))}},outhouseBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.08,.79,p.random(.52,.54)))}},outhousePlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.08,.57,p.random(.4,.46)))}},potChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.06,.84,p.random(.73,.77)))}},potBreak:{image:["part-pot-01.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.06,.84,p.random(.73,.77)))}},potatoChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.075,.43,p.random(.48,.5)))}},potatoBreak:{image:["part-pumpkin-01.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.075,.43,p.random(.48,.5)))}},pumpkinChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.07,1,p.random(.98,1)))}},pumpkinBreak:{image:["part-pumpkin-01.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.08,1,p.random(.95,.97)))}},redChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.98,1,p.random(.52,.54)))}},redBreak:{image:["part-spark-02.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.98,1,p.random(.52,.54)))}},redPlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.02,1,p.random(.26,.28)))}},rockChip:{image:["map-stone-01.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.5,.75)))}},rockBreak:{image:["map-stone-01.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.5,.75)))}},rockEyeChip:{image:["map-stone-01.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.03,.06),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:2696225},rockEyeBreak:{image:["map-stone-01.img"],life:new r(.8,1),drag:new r(4,12),rotVel:0,scale:{start:new r(.05,.1),end:new r(.03,.06),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:2696225},shackBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.1,.24,p.random(.38,.41)))}},shackGreenBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:5730406},tanChip:{image:["part-woodchip-01.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.1,.35,p.random(.48,.52)))}},teahouseBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.6,.31,p.random(.42,.45)))}},teapavilionBreak:{image:["part-panel-01.img"],life:new r(.5,1.5),drag:new r(1,5),rotVel:new r(0,3*Math.PI),scale:{start:new r(.25,.55),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,.8,p.random(.6,.62)))}},toiletBreak:{image:["part-spark-02.img"],life:new r(.8,1),drag:new r(1,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.97,0,p.random(.95,.97)))}},toiletMetalBreak:{image:["part-spark-02.img"],life:new r(.8,1),drag:new r(4,5),rotVel:0,scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.01,.02,p.random(.38,.41)))}},turkeyFeathersHit:{image:["part-feather-01.img","part-feather-02.img"],life:new r(1,1.5),drag:new r(1,10),rotVel:new r(0,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.12),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return 16777215}},turkeyFeathersDeath:{image:["part-feather-01.img","part-feather-02.img"],life:new r(1,1.5),drag:new r(1,10),rotVel:new r(0,3*Math.PI),scale:{start:new r(.15,.25),end:new r(.12,.2),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return 16777215}},whiteChip:{image:["part-spark-02.img"],life:.5,drag:new r(1,10),rotVel:0,scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(.97,0,p.random(.95,.97)))}},whitePlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.97,0,p.random(.95,.97)))}},windowBreak:{image:["part-spark-02.img"],life:new r(.4,.8),drag:new r(1,4),rotVel:new r(1*Math.PI,6*Math.PI),scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:.8,end:0,lerp:new r(.75,1)},color:8444415},woodChip:{image:["part-woodchip-01.img"],life:new r(.5,1),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.04,.08),end:new r(.01,.02),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.05,1,p.random(.35,.45)))}},woodLog:{image:["part-log-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.05,1,p.random(.35,.45)))}},woodPlank:{image:["part-plank-01.img"],life:new r(1,1.5),drag:new r(1,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.1,.2),end:new r(.08,.18),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.05,1,p.random(.25,.35)))}},woodShard:{image:["part-spark-02.img"],life:new r(1,1.5),drag:new r(3,5),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:new r(.06,.15),end:new r(.02,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(.05,1,p.random(.25,.35)))}},"9mm":{image:["part-shell-01.img"],life:new r(.5,.75),drag:new r(3,4),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.0625,end:.0325,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},"762mm":{image:["part-shell-02.img"],life:new r(.75,1),drag:new r(1.5,2.5),rotVel:new r(2.5*Math.PI,2.5*Math.PI),scale:{start:.075,end:.045,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.925,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},"556mm":{image:["part-shell-04.img"],life:new r(.75,1),drag:new r(1.5,2.5),rotVel:new r(2.5*Math.PI,2.5*Math.PI),scale:{start:.075,end:.045,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.925,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},"12gauge":{image:["part-shell-03.img"],life:new r(.5,.75),drag:new r(1,2),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.1,end:.05,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},"50AE":{image:["part-shell-01.img"],life:new r(.5,.75),drag:new r(3,4),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.0625,end:.0325,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},"308sub":{image:["part-shell-05.img"],life:new r(.5,.75),drag:new r(3,4),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.0625,end:.0325,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},flare:{image:["part-shell-03.img"],life:new r(.5,.75),drag:new r(1,2),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.1,end:.05,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},"45acp":{image:["part-shell-01.img"],life:new r(.5,.75),drag:new r(3,4),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.07,end:.04,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},potato_ammo:{image:["part-wedge-01.img"],life:new r(.5,.75),drag:new r(3,4),rotVel:new r(3*Math.PI,3*Math.PI),scale:{start:.07,end:.04,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.95,1)},color:16777215},fragPin:{image:["part-frag-pin-01.img"],life:new r(.5,.5),drag:new r(.9,1),rotVel:0,scale:{start:.18,end:.14,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.5,1)},color:16777215},fragLever:{image:["part-frag-lever-01.img"],life:new r(.5,.5),drag:new r(.9,1),rotVel:9*Math.PI,scale:{start:.18,end:.14,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.5,1)},color:16777215},explosionBurst:{image:["part-frag-burst-01.img"],life:.5,drag:0,rotVel:0,scale:{start:1,end:4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.75,1)},color:function{return p.rgbToInt(p.hsvToRgb(.065,1,p.random(.98,.99)))}},explosionMIRV:{image:["part-frag-burst-01.img"],life:.5,drag:0,rotVel:0,scale:{start:1,end:4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.75,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,1,p.random(.82,.84)))}},explosionSmoke:{image:["part-smoke-01.img"],life:new r(2,3),drag:0,rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},explosionUSAS:{image:["part-frag-burst-01.img"],life:.5,drag:0,rotVel:0,scale:{start:1,end:4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.75,1)},color:function{return p.rgbToInt(p.hsvToRgb(.08,1,p.random(.98,.99)))}},explosionBomb:{image:["part-frag-burst-02.img"],life:.5,drag:0,rotVel:0,scale:{start:1,end:4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.75,1)},color:16777215},explosionPotato:{image:["part-frag-burst-01.img"],life:.5,drag:0,rotVel:0,scale:{start:1,end:4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.75,1)},color:11363866},airdropSmoke:{image:["part-smoke-02.img","part-smoke-03.img"],zOrd:499,life:new r(1,1.5),drag:0,rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.67,.72),end:new r(.55,.61),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},airdropCrate01:{image:["part-airdrop-01.img"],life:new r(.85,1.15),drag:new r(2,2.25),rotVel:new r(1*Math.PI,2*Math.PI),scale:{start:.5,end:.4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:16777215},airdropCrate01x:{image:["part-airdrop-01x.img"],life:new r(.85,1.15),drag:new r(2,2.25),rotVel:new r(1*Math.PI,2*Math.PI),scale:{start:.5,end:.4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:16777215},airdropCrate02:{image:["part-airdrop-02.img"],life:new r(.85,1.15),drag:new r(1.85,2.15),rotVel:new r(0,2*Math.PI),scale:{start:.5,end:.4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:16777215},airdropCrate02x:{image:["part-airdrop-02x.img"],life:new r(.85,1.15),drag:new r(1.85,2.15),rotVel:new r(0,2*Math.PI),scale:{start:.5,end:.4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:16777215},airdropCrate03:{image:["part-airdrop-03.img"],life:new r(.85,1.15),drag:new r(2,2.25),rotVel:new r(1*Math.PI,2*Math.PI),scale:{start:.5,end:.4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:16777215},airdropCrate04:{image:["part-airdrop-04.img"],life:new r(.85,1.15),drag:new r(1.85,2.15),rotVel:new r(0,2*Math.PI),scale:{start:.5,end:.4,lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:16777215},cabinSmoke:{image:["part-smoke-02.img","part-smoke-03.img"],life:new r(3,3.25),drag:new r(.2,.22),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.2,.25),end:new r(.6,.65),lerp:new r(0,1)},alpha:{start:.7,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:.7,lerp:new r(0,.1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.69,.695)))}},bathhouseSteam:{image:["part-smoke-02.img","part-smoke-03.img"],life:new r(10,12),drag:new r(.04,.06),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.2,.25),end:new r(.9,.95),lerp:new r(0,1)},alpha:{start:.5,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:.5,lerp:new r(0,.1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.99,.995)))}},bunkerBubbles:{image:["player-ripple-01.img"],zOrd:10,life:new r(2.25,2.5),drag:new r(1.85,2.15),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.2,.25),end:new r(.65,.7),lerp:new r(0,1)},alpha:{start:.25,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.95,1)))}},waterRipple:{image:["player-ripple-01.img"],zOrd:10,life:1.75,drag:0,rotVel:0,scale:{start:.15,exp:.5},alpha:{start:1,exp:-1},color:11792639},leafAutumn:{image:["part-leaf-03.img","part-leaf-04.img","part-leaf-05.img","part-leaf-06.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.15),end:new r(.08,.11),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},leafHalloween:{image:["part-leaf-03.img","part-leaf-04.img","part-leaf-05.img","part-leaf-06.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.15),end:new r(.08,.11),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.5,.55)))},ignoreValueAdjust:!0},leafSpring:{image:["part-blossom-01.img","part-blossom-02.img","part-blossom-03.img","part-blossom-04.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.13,.15),end:new r(.08,.11),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},leafSummer:{image:["part-leaf-06.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.15),end:new r(.08,.11),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.7,.95)))},ignoreValueAdjust:!0},leafPotato:{image:["part-blossom-01.img","part-blossom-02.img","part-blossom-03.img","part-blossom-04.img","part-potato-02.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.13,.15),end:new r(.08,.11),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},potato:{image:["part-potato-02.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.13,.15),end:new r(.08,.11),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},snow:{image:["part-snow-01.img"],life:new r(10,15),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.07,.12),end:new r(.05,.1),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},snowball_impact:{image:["part-snow-01.img"],life:new r(.5,1),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.13,.23),end:new r(.07,.14),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},potato_impact:{image:["part-potato-01.img"],life:new r(.5,1),drag:new r(0,0),rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.13,.23),end:new r(.07,.14),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.9,1)},color:function{return p.rgbToInt(p.hsvToRgb(0,0,p.random(.9,.95)))}},heal_cross:{image:["part-heal-01.img"],life:new r(.75,1),drag:.25,rotVel:0,scale:{start:new r(.1,.12),end:new r(.05,.07),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,1,p.random(.7,1)))}},heal_heart:{image:["part-heal-02.img"],life:new r(.75,1),drag:.25,rotVel:0,scale:{start:new r(.1,.12),end:new r(.05,.07),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(0,1,p.random(.7,1)))}},boost_sparkle:{image:["part-boost-01.img"],life:new r(.75,1),drag:0,rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.14),end:new r(.06,.08),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(.3,1,p.random(.7,1)))}},boost_star:{image:["part-boost-02.img"],life:new r(.75,1),drag:0,rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.14),end:new r(.06,.08),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(.3,1,p.random(.7,1)))}},revive_cross:{image:["part-heal-01.img"],life:new r(.75,1),drag:.25,rotVel:0,scale:{start:new r(.1,.12),end:new r(.05,.07),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(.83,1,p.random(.7,1)))}},leafStim:{image:["part-blossom-01.img","part-blossom-02.img","part-blossom-03.img","part-blossom-04.img"],life:new r(4,5),drag:0,rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.14),end:new r(.06,.08),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:function{return p.rgbToInt(p.hsvToRgb(.37,1,p.random(.95,1)))}},takedownStim:{image:["part-takedown-01.img"],life:new r(4,5),drag:0,rotVel:new r(.25*Math.PI,.5*Math.PI),scale:{start:new r(.12,.14),end:new r(.06,.08),lerp:new r(0,1)},alpha:{start:1,end:0,lerp:new r(.7,1)},alphaIn:{start:0,end:1,lerp:new r(0,.05)},color:13107200}},u={smoke_barrel:{particle:"explosionSmoke",rate:new r(.2,.3),radius:0,speed:new r(2,3),angle:.1*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE},cabin_smoke_parent:{particle:"cabinSmoke",rate:new r(.72,.83),radius:0,speed:new r(64,96),angle:.1*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE},bathhouse_steam:{particle:"bathhouseSteam",rate:new r(2,3),radius:1,speed:new r(1.5,2),angle:.1*Math.PI,maxCount:Number.MAX_VALUE},bunker_bubbles_01:{particle:"bunkerBubbles",rate:new r(.3,.325),radius:0,speed:new r(1.6,1.8),angle:-2.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE},bunker_bubbles_02:{particle:"bunkerBubbles",rate:new r(.4,.425),radius:0,speed:new r(1.6,1.8),angle:-2.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE},falling_leaf:{particle:"leafAutumn",rate:new r(.08,.12),radius:120,speed:new r(2,3),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},falling_leaf_halloween:{particle:"leafHalloween",rate:new r(.05,.06),radius:120,speed:new r(2,3),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},falling_leaf_spring:{particle:"leafSpring",rate:new r(.1,.14),radius:120,speed:new r(2,3),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},falling_leaf_summer:{particle:"leafSummer",rate:new r(.18,.24),radius:120,speed:new r(1.4,2.4),angle:.2*Math.PI,maxCount:Number.MAX_VALUE,zOrd:999},falling_leaf_potato:{particle:"leafPotato",rate:new r(.1,.14),radius:120,speed:new r(2,3),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},falling_potato:{particle:"potato",rate:new r(.2,.24),radius:120,speed:new r(2,3),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},falling_snow_fast:{particle:"snow",rate:new r(.12,.17),maxRate:new r(.05,.07),maxElapsed:240,radius:70,speed:new r(1,1.5),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},falling_snow_slow:{particle:"snow",rate:new r(.08,.12),radius:70,speed:new r(1,1.5),angle:.2*Math.PI,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE,zOrd:999},heal_01:{particle:"heal_cross",rate:new r(.3,.35),radius:1.5,speed:new r(1,1.5),angle:0,rot:0,maxCount:Number.MAX_VALUE},heal_02:{particle:"heal_heart",rate:new r(.3,.35),radius:1.5,speed:new r(1,1.5),angle:0,rot:0,maxCount:Number.MAX_VALUE},boost_01:{particle:"boost_sparkle",rate:new r(.3,.35),radius:1.5,speed:new r(1,1.5),angle:0,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE},boost_02:{particle:"boost_star",rate:new r(.3,.35),radius:1.5,speed:new r(1,1.5),angle:0,rot:new r(0,2*Math.PI),maxCount:Number.MAX_VALUE},revive_01:{particle:"revive_cross",rate:new r(.5,.55),radius:1.5,speed:new r(1,1.5),angle:0,rot:0,maxCount:Number.MAX_VALUE},stim_01:{particle:"leafStim",rate:new r(.1,.12),radius:1.5,speed:new r(1,1.5),angle:0,rot:0,maxCount:Number.MAX_VALUE},takedown_01:{particle:"takedownStim",rate:new r(.1,.12),radius:1.5,speed:new r(1,1.5),angle:0,rot:0,maxCount:Number.MAX_VALUE}};s.prototype={o:function(e,t,a,r,s,n,l,m,p,u){var g=d[t];this.active=!0,this.ticker=0,m?(this.hasParent=!0,m.addChild(this.sprite)):(this.hasParent=!1,e.addPIXIObj(this.sprite,a,p)),this.pos=h.copy(r),this.vel=h.copy(s),this.rot=l,this.def=g,this.delay=0,this.life=i(g.life),this.drag=i(g.drag),this.rotVel=i(g.rotVel)*(Math.random<.5?-1:1),this.rotDrag=i(g.drag)/2,this.scaleUseExp=void 0!==g.scale.exp,this.scale=i(g.scale.start)*n,this.scaleEnd=this.scaleUseExp?0:i(g.scale.end)*n,this.scaleExp=this.scaleUseExp?g.scale.exp:0,this.alphaUseExp=void 0!==g.alpha.exp,this.alpha=i(g.alpha.start),this.alphaEnd=this.alphaUseExp?0:i(g.alpha.end),this.alphaExp=this.alphaUseExp?g.alpha.exp:0,this.alphaIn=void 0!==g.alphaIn,this.alphaInStart=this.alphaIn?i(g.alphaIn.start):0,this.alphaInEnd=this.alphaIn?i(g.alphaIn.end):0,this.emitterIdx=-1;var y=Array.isArray(g.image)?g.image[Math.floor(Math.random*g.image.length)]:g.image;this.sprite.texture=c.Texture.fromImage(y),this.sprite.visible=!1,this.valueAdjust=g.ignoreValueAdjust?1:u,this.setColor(o(g.color))},n:function{this.active=!1,this.sprite.visible=!1},setDelay:function(e){this.delay=e},setColor:function(e){this.valueAdjust<1&&(e=p.adjustValue(e,this.valueAdjust)),this.sprite.tint=e}},n.prototype={o:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=u[e];this.active=!0,this.enabled=!0,this.type=e,this.pos=t.pos?h.copy(t.pos):h.create(0,0),this.dir=t.dir?h.copy(t.dir):h.create(0,1),this.scale=void 0!==t.scale?t.scale:1,this.layer=t.layer||0,this.duration=void 0!==t.duration?t.duration:Number.MAX_VALUE,this.radius=void 0!==t.radius?t.radius:a.radius,this.ticker=0,this.nextSpawn=0,this.spawnCount=0,this.parent=t.parent||null,this.alpha=1,this.rateMult=void 0!==t.rateMult?t.rateMult:1;var r=d[a.particle];this.zOrd=void 0!==a.zOrd?a.zOrd:void 0!==r.zOrd?r.zOrd:20},n:function{this.active=!1},stop:function{this.duration=this.ticker}},l.prototype={onMapLoad:function(e){this.valueAdjust=e.getMapDef.biome.valueAdjust},n:function{for(var e=0;e<this.particles.length;e++){var t=this.particles[e].sprite;t.parent&&t.parent.removeChild(t),t.destroy({children:!0})}},addParticle:function(e,t,a,r,i,o,n,l){for(var c=null,m=0;m1&&void 0!==arguments[1]?arguments[1]:{},a=null,r=0;r<this.emitters.length;r++)if(!this.emitters[r].active){a=this.emitters[r];break}return a||(a=new n,this.emitters.push(a)),a.o(e,t),a},m:function(e,t,a){for(var r=0;r<this.emitters.length;r++){var o=this.emitters[r];if(o.active&&o.enabled){o.ticker,o.ticker+=e,o.nextSpawn-=e;for(var s=u[o.type];o.nextSpawn<=0&&o.spawnCount=o.duration&&o.n}}for(var b=0;b<this.particles.length;b++){var _=this.particles[b];if(_.active&&(_.ticker+=e,!(_.ticker<_.delay))){var x=m.min((_.ticker-_.delay)/_.life,1);_.vel=h.mul(_.vel,1/(1+e*_.drag)),_.pos=h.add(_.pos,h.mul(_.vel,e)),_.rotVel*=1/(1+e*_.rotDrag),_.rot+=_.rotVel*e,_.scaleUseExp&&(_.scale+=e*_.scaleExp),_.alphaUseExp&&(_.alpha=m.max(_.alpha+e*_.alphaExp,0));var S=_.hasParent?_.pos:t.pointToScreen(_.pos),v=_.scaleUseExp?_.scale:m.remap(x,_.def.scale.lerp.min,_.def.scale.lerp.max,_.scale,_.scaleEnd),z=_.alphaUseExp?_.alpha:m.remap(x,_.def.alpha.lerp.min,_.def.alpha.lerp.max,_.alpha,_.alphaEnd);_.alphaIn&&x<_.def.alphaIn.lerp.max&&(z=m.remap(x,_.def.alphaIn.lerp.min,_.def.alphaIn.lerp.max,_.alphaInStart,_.alphaInEnd)),_.emitterIdx>=0&&(z*=this.emitters[_.emitterIdx].alpha),_.hasParent||(v=t.pixels(v)),_.sprite.position.set(S.x,S.y),_.sprite.scale.set(v,v),_.sprite.rotation=_.rot,_.sprite.alpha=z,_.sprite.visible=!0,x>=1&&_.n}}}},e.exports={EmitterDefs:u,u:l}},"14a25ec1":function(e,t,a){"use strict";(function(t){var r=a("10899aea");!function(a){function i(e,t){return s(e,t,!1)}function o(e,t){return s(e,t,!0)}function s(e,t,a){if(0===t)return"";var r=0,i=[],o=!0,s=!!t;for(t||(t=Math.floor((e._length-e._index)/8));r>6|192),r.push(63&a|128)):a<=65535?(r.push(a>>12|224),r.push(a>>6&63|128),r.push(63&a|128)):(r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(63&a|128));return r}var m=function(e,a,r){if(!(e instanceof ArrayBuffer||void 0!==t&&e instanceof t))throw new Error("Must specify a valid ArrayBuffer or Buffer.");a=a||0,r=r||e.byteLength||e.length,this._view=new Uint8Array(e,a,r)};m._scratch=new DataView(new ArrayBuffer(8)),Object.defineProperty(m.prototype,"buffer",{get:function{return t.from(this._view.buffer)},enumerable:!0,configurable:!1}),Object.defineProperty(m.prototype,"byteLength",{get:function{return this._view.length},enumerable:!0,configurable:!1}),m.prototype._setBit=function(e,t){t?this._view[e>>3]|=1<<(7&e):this._view[e>>3]&=~(1<<(7&e))},m.prototype.getBits=function(e,t,a){var i=8*this._view.length-e;if(t>i)throw new Error("Cannot get "+t+" bit(s) from offset "+e+", "+i+" available");for(var o=0,s=0;s>3],m=r.min(n,8-l);o|=(c>>l&(1<>>0},m.prototype.setBits=function(e,t,a){var r=8*this._view.length-e;if(a>r)throw new Error("Cannot set "+a+" bit(s) from offset "+e+", "+r+" available");for(var i=0;i=8&&0==(7&e)?(this._view[e>>3]=255&t,o=8):(this._setBit(e,1&t),o=1),t>>=o,e+=o,i+=o}},m.prototype.getBoolean=function(e){return 0!==this.getBits(e,1,!1)},m.prototype.getInt8=function(e){return this.getBits(e,8,!0)},m.prototype.getUint8=function(e){return this.getBits(e,8,!1)},m.prototype.getInt16=function(e){return this.getBits(e,16,!0)},m.prototype.getUint16=function(e){return this.getBits(e,16,!1)},m.prototype.getInt32=function(e){return this.getBits(e,32,!0)},m.prototype.getUint32=function(e){return this.getBits(e,32,!1)},m.prototype.getFloat32=function(e){return m._scratch.setUint32(0,this.getUint32(e)),m._scratch.getFloat32(0)},m.prototype.getFloat64=function(e){return m._scratch.setUint32(0,this.getUint32(e)),m._scratch.setUint32(4,this.getUint32(e+32)),m._scratch.getFloat64(0)},m.prototype.setBoolean=function(e,t){this.setBits(e,t?1:0,1)},m.prototype.setInt8=m.prototype.setUint8=function(e,t){this.setBits(e,t,8)},m.prototype.setInt16=m.prototype.setUint16=function(e,t){this.setBits(e,t,16)},m.prototype.setInt32=m.prototype.setUint32=function(e,t){this.setBits(e,t,32)},m.prototype.setFloat32=function(e,t){m._scratch.setFloat32(0,t),this.setBits(e,m._scratch.getUint32(0),32)},m.prototype.setFloat64=function(e,t){m._scratch.setFloat64(0,t),this.setBits(e,m._scratch.getUint32(0),32),this.setBits(e+32,m._scratch.getUint32(4),32)},m.prototype.getArrayBuffer=function(e,t){for(var a=new Uint8Array(t),r=0;rthis._length)throw new Error("Trying to read past the end of the stream");var a=this._view[e](this._index);return this._index+=t,a}},h=function(e,t){return function(a){this._view[e](this._index,a),this._index+=t}},d=function(e,a,r){var i=e instanceof ArrayBuffer||void 0!==t&&e instanceof t;if(!(e instanceof m||i))throw new Error("Must specify a valid BitView, ArrayBuffer or Buffer");this._view=i?new m(e,a,r):e,this._index=0,this._startIndex=0,this._length=8*this._view.byteLength};Object.defineProperty(d.prototype,"index",{get:function{return this._index-this._startIndex},set:function(e){this._index=e+this._startIndex},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"length",{get:function{return this._length-this._startIndex},set:function(e){this._length=e+this._startIndex},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"bitsLeft",{get:function{return this._length-this._index},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"byteIndex",{get:function{return Math.ceil(this._index/8)},set:function(e){this._index=8*e},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"buffer",{get:function{return this._view.buffer},enumerable:!0,configurable:!1}),Object.defineProperty(d.prototype,"view",{get:function{return this._view},enumerable:!0,configurable:!1}),d.prototype.readBits=function(e,t){var a=this._view.getBits(this._index,e,t);return this._index+=e,a},d.prototype.writeBits=function(e,t){this._view.setBits(this._index,e,t),this._index+=t},d.prototype.readBoolean=p("getBoolean",1),d.prototype.readInt8=p("getInt8",8),d.prototype.readUint8=p("getUint8",8),d.prototype.readInt16=p("getInt16",16),d.prototype.readUint16=p("getUint16",16),d.prototype.readInt32=p("getInt32",32),d.prototype.readUint32=p("getUint32",32),d.prototype.readFloat32=p("getFloat32",32),d.prototype.readFloat64=p("getFloat64",64),d.prototype.writeBoolean=h("setBoolean",1),d.prototype.writeInt8=h("setInt8",8),d.prototype.writeUint8=h("setUint8",8),d.prototype.writeInt16=h("setInt16",16),d.prototype.writeUint16=h("setUint16",16),d.prototype.writeInt32=h("setInt32",32),d.prototype.writeUint32=h("setUint32",32),d.prototype.writeFloat32=h("setFloat32",32),d.prototype.writeFloat64=h("setFloat64",64),d.prototype.readASCIIString=function(e){return i(this,e)},d.prototype.readUTF8String=function(e){return o(this,e)},d.prototype.writeASCIIString=function(e,t){n(this,e,t)},d.prototype.writeUTF8String=function(e,t){l(this,e,t)},d.prototype.readBitStream=function(e){var t=new d(this._view);return t._startIndex=this._index,t._index=this._index,t.length=e,this._index+=e,t},d.prototype.writeBitStream=function(e,t){t||(t=e.bitsLeft);for(var a;t>0;)a=r.min(t,32),this.writeBits(e.readBits(a),a),t-=a},d.prototype.readArrayBuffer=function(e){var t=this._view.getArrayBuffer(this._index,e);return this._index+=8*e,t},d.prototype.writeArrayBuffer=function(e,t){this.writeBitStream(new d(e),8*t)},e.exports={BitView:m,BitStream:d}}}).call(t,a("a5e2faae").Buffer)},"153d9481":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e){var t,a=(t={},i(t,g.Top,"customize-emote-top"),i(t,g.Right,"customize-emote-right"),i(t,g.Bottom,"customize-emote-bottom"),i(t,g.Left,"customize-emote-left"),i(t,g.Win,"customize-emote-win"),i(t,g.Death,"customize-emote-death"),t),r=a[e]||a[g.Top];return h("#"+r)}function s(e){return function(t,a){var r=x[t.type].rarity||0,i=x[a.type].rarity||0;return 0==r&&0==i?l(t,a):0==r?-1:0==i?1:e(t,a)}}function n(e,t){return t.timeAcquired==e.timeAcquired?m(e,t):t.timeAcquired-e.timeAcquired}function l(e,t){var a=x[e.type],r=x[t.type];return a.namer.name?1:0}function c(e,t){var a=x[e.type].rarity||0,r=x[t.type].rarity||0;return a==r?l(e,t):r-a}function m(e,t){var a=x[e.type],r=x[t.type];return a.category&&r.category&&a.category!=r.category?a.category-r.category:l(e,t)}var p=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},h=a("8ee62bea"),d=a("ce29f17f"),u=a("989ad62a"),g=u.EmoteSlot,y=a("0503bedc"),w=(a("e5d16b4d"),a("c9e7c67c")),f=a("26be8056"),b=a("fa71fb59"),_=a("1901e2d9"),x=(a("692a679e"),a("721a96bf")),S={newest:s(n),alpha:s(l),rarity:s(c),subcat:s(m)},v=function{function e(t,a,i){var o=this;r(this,e),this.account=t,this.localization=a,this.adManager=i,this.loadoutDisplay=null,this.active=!1,this.initialized=!1,this.lastAdRefresh=0,this.loadout=y.defaultLoadout,this.items=[],this.localPendingConfirm=[],this.localConfirmed=[],this.confirmingItems=!1,this.localAckItems=[],this.categories=[];var s=function(e,t,a){o.categories.push({loadoutType:e,gameType:t,categoryImage:a})};s("outfit","outfit","img/gui/loadout-outfit.svg"),s("emote","emote","img/gui/loadout-emote.svg"),d.touch||s("crosshair","crosshair","img/gui/loadout-crosshair.svg"),s("player_icon","emote","img/gui/loadout-player-icon.svg"),this.selectedItem={prevSlot:null,img:"",type:""},this.emotesLoaded=!1,this.selectedCatIdx=0,this.selectedCatItems=[],this.equippedItems=[],this.modalCustomize=h("#modal-customize"),this.modalCustomizeList=h("#modal-customize-list"),this.modalCustomizeItemRarity=h("#modal-customize-item-rarity"),this.modalCustomizeItemName=h("#modal-customize-item-name"),this.modalCustomizeItemLore=h("#modal-customize-item-lore"),this.modalCustomizeItemSource=h("#modal-customize-item-source"),this.modal=new b(this.modalCustomize),this.modal.onShow(function{o.onShow}),this.modal.onHide(function{o.onHide});var n=function{h("#modal-screen-block").fadeIn(200)},l=function{o.confirmNextItem};this.confirmItemModal=new b(h("#modal-item-confirm")),this.confirmItemModal.onShow(n),this.confirmItemModal.onHide(l),t.addEventListener("request",this.onRequest.bind(this)),t.addEventListener("loadout",this.onLoadout.bind(this)),t.addEventListener("items",this.onItems.bind(this))}return p(e,[{key:"init",value:function{var e=this;if(!this.initialized){for(var t=0;t<this.categories.length;t++){var a=(this.categories[t].loadoutType,h(" ",{class:"modal-customize-cat","data-idx":t}));t==this.categories.length-1&&a.attr("id","modal-customize-cat-standalone"),a.append(h(" ",{class:"modal-customize-cat-image",css:{"background-image":"url("+this.categories[t].categoryImage+")"}})),a.append(h(" ",{class:"modal-customize-cat-connect"})),a.append(h(" ",{class:"account-alert account-alert-cat"})),h("#modal-customize-header").append(a)}this.selectableCats=h(".modal-customize-cat"),this.selectableCatConnects=h(".modal-customize-cat-connect"),this.selectableCatImages=h(".modal-customize-cat-image"),this.selectableCats.on("mouseup",function(t){var a=h(t.currentTarget),r=a.data("idx");e.selectedCatIdx!=r&&e.selectCat(r)}),this.itemSort=h("#modal-customize-sort"),this.itemSort.on("change",function(t){e.sortItems(t.target.value)}),this.modalCustomizeItemName.on("click",function{var e=document.getElementsByClassName("customize-list-item-selected");e.length>0&&e[0].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),h("#crosshair-size").on("input",function(t){e.updateLoadoutFromDOM}),h("#crosshair-stroke").on("input",function(t){e.updateLoadoutFromDOM}),this.container=document.getElementById("color-picker"),this.picker=new window.CP(this.container,!1,this.container),this.picker.self.classList.add("static"),this.picker.on("change",function(t){h("#color-picker-hex").val(t),e.loadout&&e.loadout.crosshair&&e.updateLoadoutFromDOM}),this.colorCode=document.getElementById("color-picker-hex");var r=function(t){var a=e.colorCode.value;if(a.length)return 6==a.length?(e.picker.set("#"+a),void e.picker.fire("change",[a])):7==a.length&&"#"==a[0]?(e.picker.set(a),void e.picker.fire("change",[a.slice(1)])):void 0};this.colorCode.oncut=r,this.colorCode.onpaste=r,this.colorCode.onkeyup=r,this.colorCode.oninput=r,this.initialized=!0}}},{key:"show",value:function{this.init,this.modal.show}},{key:"hide",value:function{this.modal.hide}},{key:"onShow",value:function{this.active=!0,this.localAckItems=[];for(var e=0;e<this.items.length;e++){var t=this.items[e];t.status<y.ItemStatus.Ackd&&this.localAckItems.push(t)}this.selectCat(0),this.tryBeginConfirmingItems,h("#start-bottom-right, #start-main").fadeOut(200),h("#background").hide,d.webview&&this.adManager.hideBannerAd,Date.now-6e4>this.lastAdRefresh&&!d.mobile&&!d.webview&&window.aiptag&&(window.aiptag.cmd.display.push(function{window.aipDisplayTag.display("surviv-io_300x600")}),this.lastAdRefresh=Date.now)}},{key:"onHide",value:function{this.active=!1,y.modified(this.loadout,this.account.loadout)&&this.account.setLoadout(this.loadout),this.clearConfirmItemModal,this.modalCustomize.css({cursor:"initial"}),h("#start-bottom-right, #start-main").fadeIn(200),h("#background").show}},{key:"onResize",value:function{d.mobile&&("emote"==this.categories[this.selectedCatIdx].loadoutType?h("#modal-customize-list").attr("style",""):h("#modal-customize-list").attr("style",d.isLandscape?"":"height: 380px"))}},{key:"onRequest",value:function{h("#modal-customize-loading").css("opacity",this.account.requestsInFlight>0?1:0)}},{key:"onLoadout",value:function(e){this.loadout=y.validate(e),w.setGameCrosshair(e.crosshair),this.active&&this.selectCat(this.selectedCatIdx)}},{key:"onItems",value:function(e){var t=this;this.items=y.getUserAvailableItems(e);for(var a=0;a<this.items.length;a++)!function(e){var a=t.items[e];a.status<y.ItemStatus.Confirmed&&!t.localPendingConfirm.find(function(e){return e.type==a.type})&&!t.localConfirmed.find(function(e){return e.type==a.type})&&t.localPendingConfirm.push(a),a.status<y.ItemStatus.Ackd&&!t.localAckItems.find(function(e){return e.type==a.type})&&t.localAckItems.push(a)}(a);this.updateUnlocks,this.active&&(this.tryBeginConfirmingItems,this.selectCat(this.selectedCatIdx))}},{key:"clearConfirmItemModal",value:function{this.localPendingConfirm=[],this.localConfirmed=[],this.confirmingItems=!1,this.confirmItemModal.hide}},{key:"setItemsConfirmed",value:function{for(var e=[],t=0;t<this.items.length;t++){var a=this.items[t];a.status<y.ItemStatus.Confirmed&&e.push(a.type)}e.length>0&&this.account.setItemStatus(y.ItemStatus.Confirmed,e)}},{key:"setItemsAckd",value:function(e){for(var t=this.categories[e],a=[],r=0;r<this.items.length;r++){var i=this.items[r],o=x[i.type];o&&o.type==t.gameType&&i.status<y.ItemStatus.Ackd&&a.push(i.type)}a.length>0&&this.account.setItemStatus(y.ItemStatus.Ackd,a)}},{key:"tryBeginConfirmingItems",value:function{this.active&&!this.confirmingItems&&(this.confirmingItems=!0,this.confirmNextItem)}},{key:"confirmNextItem",value:function{var e=this;this.setItemsConfirmed;var t=this.localPendingConfirm.shift;if(t){this.localConfirmed.push(t);var a=x[t.type],r={type:t.type,rarity:a.rarity||0,displayName:a.name,category:a.type},i=f.getSvgFromGameType(t.type),o="url("+i+")",s=f.getCssTransformFromGameType(t.type);setTimeout(function{h("#modal-item-confirm-name").html(r.displayName),h("#modal-item-confirm-image-inner").css({"background-image":o,transform:s}),e.confirmItemModal.show},200)}else this.confirmingItems=!1,h("#modal-screen-block").fadeOut(300)}},{key:"updateUnlocks",value:function{this.account.loggedIn&&(this.items.find(function(e){return"unlock_new_account"==e.type})||this.account.unlock("unlock_new_account"))}},{key:"sortItems",value:function(e){this.selectedCatItems.sort(S[e]);for(var t=h(" "),a=this.categories[this.selectedCatIdx],r=0;r<this.selectedCatItems.length;r++){var i=this.selectedCatItems[r];i.outerDiv.data("idx",r),t.append(i.outerDiv)}this.modalCustomizeList.html(""),this.modalCustomizeList.append(t),this.setItemListeners(a.loadoutType)}},{key:"setItemListeners",value:function(e){var t=this;if(this.selectableSlots.on("mouseup",function{if(!h(this).hasClass("customize-list-item-locked")){if(t.itemSelected&&!h(this).hasClass("customize-list-item"))return void(t.itemSelected=!1);t.selectItem(h(this)),t.updateLoadoutFromDOM}}),"emote"==e)this.setEmoteDraggable(this.selectableSlots,t),this.emotesLoaded||(this.setEmoteDraggable(this.droppableSlots,t),this.droppableSlots.on("mouseup",function{if(!h(this).hasClass("customize-list-item-locked")){if(t.itemSelected&&!h(this).hasClass("customize-list-item"))return void t.deselectItem;t.selectItem(h(this)),t.updateLoadoutFromDOM}}),this.droppableSlots.on("drop",function(e){e.originalEvent.preventDefault;var a=h(this).parent;t.updateSlot(a,t.selectedItem.img,t.selectedItem.type),t.updateLoadoutFromDOM,t.deselectItem}),this.droppableSlots.on("mousedown",function(e){if(t.itemSelected){e.stopPropagation;var a=h(this).parent;t.updateSlot(a,t.selectedItem.img,t.selectedItem.type),t.updateLoadoutFromDOM}}),this.droppableSlots.on("dragover",function(e){e.originalEvent.preventDefault,h(this).parent.find(".ui-emote-hl").css("opacity",1)}),this.droppableSlots.on("dragleave",function(e){e.originalEvent.preventDefault,h(this).parent.find(".ui-emote-hl").css("opacity",t.highlightOpacityMin)}),this.droppableSlots.on("dragend",function(e){e.originalEvent.preventDefault,t.deselectItem}),h(".ui-emote-auto-trash").click(function{var e=h(this).parent;t.updateSlot(e,"",""),t.updateLoadoutFromDOM}),this.emotesLoaded=!0);else if("crosshair"==e){var a=_.intToHex(this.loadout.crosshair.color),r=[a.slice(1)];this.picker.set(a),h("#color-picker-hex").val(r),h("#crosshair-size").val(this.loadout.crosshair.size),h("#crosshair-stroke").val(this.loadout.crosshair.stroke)}}},{key:"updateLoadoutFromDOM",value:function{var e=this.categories[this.selectedCatIdx].loadoutType;if("emote"==e)for(var t=0;t<g.Count;t++){var a=o(t),r=a.data("idx"),i=this.equippedItems[r];i&&i.type?this.loadout.emotes[t]=i.type:this.loadout.emotes[t]=""}else if("crosshair"==e){var s=parseFloat(h("#crosshair-size").val),n=h("#color-picker-hex").val,l=parseFloat(h("#crosshair-stroke").val);this.loadout.crosshair={type:this.selectedItem.type,color:_.hexToInt(n),size:Number(s.toFixed(2)),stroke:Number(l.toFixed(2))}}else this.loadout[e]=this.selectedItem.type;this.loadout=y.validate(this.loadout),this.loadoutDisplay&&this.loadoutDisplay.initialized&&this.loadoutDisplay.setLoadout(this.loadout),"crosshair"==this.selectedItem.loadoutType&&this.setSelectedCrosshair}},{key:"selectItem",value:function(e){var t=this,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.hasClass("customize-list-item"),i=r?e:e.parent,o=i.find(".customize-item-image"),s=i.data("idx"),n=void 0;if(!(n=i.data("slot")?this.equippedItems[s]:this.selectedCatItems[s]))return this.itemSelected=!1,void(this.selectedItem={prevSlot:null,img:"",type:""});if(n.type==this.selectedItem.type&&"emote"==n.loadoutType&&"emote"==this.selectedItem.loadoutType&&a)return void this.deselectItem;this.itemSelected=!0,this.selectedItem={prevSlot:r?null:i,img:o.data("img"),type:n.type,rarity:n.rarity,displayName:n.displayName||"",displaySource:n.displaySource||"Unknown",displayLore:n.displayLore||"",loadoutType:n.loadoutType,subcat:n.subcat},this.modalCustomizeItemName.html(this.selectedItem.displayName);var l=this.localization.translate("loadout-"+this.selectedItem.displaySource)||this.selectedItem.displaySource,c=this.localization.translate("loadout-acquired")+": "+l;this.modalCustomizeItemSource.html(c);var m={0:"Locked",1:"Faces",2:"Food",3:"Animals",4:"Logos",5:"Other",6:"Flags",99:"Default"},p="emote"==n.loadoutType?this.localization.translate("loadout-category")+": "+m[n.subcat]:this.selectedItem.displayLore;this.modalCustomizeItemLore.html(p);var d=["stock","common","uncommon","rare","epic","mythic"],u=["#c5c5c5","#c5c5c5","#12ff00","#00deff","#f600ff","#d96100"],g=this.localization.translate("loadout-"+d[this.selectedItem.rarity]);if(this.modalCustomizeItemRarity.html(g),this.modalCustomizeItemRarity.css({color:u[this.selectedItem.rarity]}),"emote"==this.selectedItem.loadoutType&&this.highlightedSlots.css({display:"block",opacity:this.highlightOpacityMin}),this.selectableSlots.removeClass("customize-list-item-selected"),r?e.addClass("customize-list-item-selected"):i.find(".ui-emote-hl").css("opacity",1),"crosshair"==this.selectedItem.loadoutType){var y=x[this.selectedItem.type];y&&"crosshair"==y.type&&y.cursor?h("#modal-content-right-crosshair").css("display","none"):(h("#modal-content-right-crosshair").css("display","block"),this.picker.exit,this.picker.enter)}var w=this.localAckItems.findIndex(function(e){return e.type==t.selectedItem.type});-1!==w&&(e.find(".account-alert").removeClass("account-alert account-alert-cat"),this.localAckItems.splice(w,1),this.setCategoryAlerts)}},{key:"updateSlot",value:function(e,t,a){var r=this.selectedItem.prevSlot;if(this.selectedItem={},r){var i=e.find(".customize-item-image"),o=e.data("idx"),s=this.equippedItems[o],n="";s.type&&(n=s.type),this.updateSlot(r,i.data("img"),n)}this.updateSlotData(e,t,a)}},{key:"deselectItem",value:function{this.itemSelected=!1,this.selectedItem={},this.selectableSlots.removeClass("customize-list-item-selected"),this.highlightedSlots.css({display:"none",opacity:0}),this.modalCustomizeItemName.html(""),this.modalCustomizeItemSource.html(""),this.modalCustomizeItemLore.html(""),this.modalCustomizeItemRarity.html("")}},{key:"updateSlotData",value:function(e,t,a){var r=e.find(".customize-emote-slot");r.css("background-image",t||"none"),r.data("img",t||"none");var i=x[a],o=e.data("idx");if(i){var s={loadoutType:"emote",type:a,rarity:i.rarity||0,displayName:i.name,displayLore:i.lore,subcat:i.category};this.equippedItems[o]=s}else this.equippedItems[o]={}}},{key:"selectCat",value:function(e){var t=this,a=this.selectedCatIdx;if(this.selectedCatIdx=e,this.setItemsAckd(this.selectedCatIdx),a!=this.selectedCatIdx)for(var r=this.categories[a],i=this.localAckItems.length-1;i>=0;i--){var s=this.localAckItems[i],n=x[s.type];n.type==r.gameType&&this.localAckItems.splice(i,1)}var l=this.categories[this.selectedCatIdx],c=this.items.filter(function(e){var t=x[e.type];return t&&t.type==l.gameType}),m="emote"==l.loadoutType||"player_icon"==l.loadoutType;h("#customize-sort-subcat").css("display",m?"block":"none");var p=this.itemSort.val;m||"subcat"!=p||(p="newest",this.itemSort.val(p)),c.sort(S[p]);var u="emote"==l.loadoutType,g="crosshair"==l.loadoutType,y="emote"==l.loadoutType;this.loadoutDisplay&&this.loadoutDisplay.setView(l.loadoutType);var b=h(".modal-customize-cat[data-idx='"+this.selectedCatIdx+"']");this.selectableCats.removeClass("modal-customize-cat-selected"),this.selectableCatConnects.removeClass("modal-customize-cat-connect-selected"),this.selectableCatImages.removeClass("modal-customize-cat-image-selected"),b.addClass("modal-customize-cat-selected"),b.find(".modal-customize-cat-connect").addClass("modal-customize-cat-connect-selected"),b.find(".modal-customize-cat-image").addClass("modal-customize-cat-image-selected");var _=this.localization.translate("loadout-title-"+l.loadoutType).toUpperCase;h("#modal-customize-cat-title").html(_),h("#modal-content-right-crosshair").css("display","crosshair"==l.loadoutType?"block":"none"),h("#modal-content-right-emote").css("display","emote"==l.loadoutType?"block":"none"),h("#customize-emote-parent").css("display",u?"block":"none"),h("#customize-crosshair-parent").css("display",g?"block":"none"),this.modalCustomizeItemName.html(""),this.modalCustomizeItemSource.html(""),this.modalCustomizeItemLore.html(""),this.modalCustomizeItemRarity.html("");var v=function(e){var t=x[e];return t?t.name:e};this.selectedCatItems=[];for(var z="",k=h(" "),I=0;I<c.length;I++)!function(e){var a=c[e],r=x[a.type],i={loadoutType:l.loadoutType,type:a.type,rarity:r.rarity||0,displayName:r.name,displaySource:v(a.source),displayLore:r.lore,timeAcquired:a.timeAcquired,idx:e,subcat:r.category,outerDiv:null},o=h(" ",{class:"customize-list-item customize-list-item-unlocked","data-idx":e}),s=f.getSvgFromGameType(a.type),n=f.getCssTransformFromGameType(a.type),m=h(" ",{class:"customize-item-image",css:{"background-image":"url("+s+")",transform:n},"data-img":"url("+s+")",draggable:y});if(o.append(m),-1!==t.localAckItems.findIndex(function(e){return e.type==a.type})){var p=h(" ",{class:"account-alert account-alert-cat",css:{display:"block"}});o.append(p)}if("crosshair"==l.gameType){var d={type:i.type,color:16777215,size:1,stroke:0};w.setElemCrosshair(o,d)}k.append(o),i.outerDiv=o,t.selectedCatItems.push(i),z||("crosshair"==l.loadoutType&&i.type==t.loadout.crosshair.type?z=i.outerDiv:"emote"!=l.loadoutType&&i.type==t.loadout[l.loadoutType]?z=i.outerDiv:l.loadoutType)}(I);if(this.modalCustomizeList.html(""),this.modalCustomizeList.append(k),this.modalCustomizeList.scrollTop(0),"emote"==l.loadoutType){this.equippedItems=[];for(var T=0;T<this.loadout.emotes.length;T++){this.equippedItems.push({});var M=this.loadout.emotes[T];if(x[M]){var C=f.getSvgFromGameType(M),P="url("+C+")",A=o(T);this.updateSlotData(A,P,M)}}}if(this.selectableSlots=h(".customize-list-item"),this.droppableSlots=h(".customize-col"),this.highlightedSlots=this.droppableSlots.siblings(".ui-emote-hl"),this.highlightOpacityMin=.4,this.itemSelected=!1,this.setItemListeners(l.loadoutType),this.setCategoryAlerts,this.deselectItem,""!=z&&(this.selectItem(z),"crosshair"==l.loadoutType&&this.setSelectedCrosshair,this.modalCustomizeItemName.click),"edge"==d.browser)if("crosshair"==l.loadoutType){var O=function(e,t){var a=e.height+parseInt(e.css("padding-top"))+parseInt(e.css("padding-bottom"));t.css("height",a)};O(h("#modal-customize-body"),h("#modal-content-left").find(".modal-disabled")),O(h("#modal-content-right-crosshair"),h("#modal-content-right-crosshair").find(".modal-disabled")),h(".modal-disabled").css("display","block")}else h(".modal-disabled").css("display","none");this.onResize}},{key:"setCategoryAlerts",value:function{for(var e=this,t=0;t<this.categories.length;t++)!function(t){var a=e.categories[t],r=e.localAckItems.filter(function(e){return x[e.type].type==a.gameType});h(".modal-customize-cat[data-idx='"+t+"']").find(".account-alert-cat").css("display",r.length>0?"block":"none")}(t)}},{key:"setEmoteDraggable",value:function(e,t){e.on("dragstart",function(e){if(!h(this).hasClass("customize-list-item-locked")&&(t.selectItem(h(this),!1),"edge"!=d.browser)){var a=document.createElement("img");a.src=t.selectedItem.img?t.selectedItem.img.replace("url(","").replace(")","").replace(/\'/gi,""):"",e.originalEvent.dataTransfer.setDragImage(a,64,64)}})}},{key:"setSelectedCrosshair",value:function{var e=this.loadout.crosshair;h("#customize-crosshair-selected").find(".customize-item-image").css({"background-image":w.getCursorURL(e)}),w.setElemCrosshair(h("#customize-crosshair-selected"),e)}},{key:"resetAdRefresh",value:function{this.lastAdRefresh=0}}]),e};e.exports=v},"172c57dc":function(e,t,a){"use strict";function r(e,t,a){return 0==e?t:1==e?a:h.lerpColor(e,t,a)}function i{this.decalRender=null}function o{this.sprite=new n.Sprite,this.sprite.anchor.set(.5,.5),this.sprite.visible=!1}function s{this.f=new p.Pool(i),this.decalRenders=[]}var n=a("8b1dfb45"),l=a("6b42806d"),c=a("10899aea"),m=a("c2a798c8"),p=(a("af8ba00f"),a("ce29f17f"),a("753d6e4b")),h=a("1901e2d9"),d=a("03f4982a");i.prototype={o:function{this.isNew=!1,this.goreT=0},n:function{this.decalRender&&(this.decalRender.n,this.decalRender=null)},c:function(e,t,a,r){if(t){var i=d[e.type];this.type=e.type,this.pos=m.copy(e.pos),this.rot=c.oriToRad(e.ori),this.scale=e.scale,this.layer=e.layer,this.goreKills=e.goreKills,this.collider=l.transform(i.collision,this.pos,this.rot,this.scale),this.surface=i.surface?h.cloneDeep(i.surface):null,this.hasGore=void 0!==i.gore,this.isNew=a,this.isNew&&(this.decalRender=r.decalBarn.allocDecalRender,this.decalRender.o(this,r.map,r.renderer))}},m:function(e,t){if(this.hasGore){var a=d[this.type],i=c.delerp(this.goreKills,a.gore.fade.start,a.gore.fade.end);if(i=Math.pow(i,a.gore.fade.pow),this.goreT=this.isNew?i:c.lerp(e*a.gore.fade.speed,this.goreT,i),void 0!==a.gore.tint){var o=r(this.goreT,a.img.tint,a.gore.tint);this.decalRender.setTint(o)}void 0!==a.gore.alpha&&(this.decalRender.spriteAlpha=c.lerp(this.goreT,a.img.alpha,a.gore.alpha)),void 0!==a.gore.waterColor&&this.surface&&(this.surface.data.waterColor=r(this.goreT,a.surface.data.waterColor,a.gore.waterColor)),void 0!==a.gore.rippleColor&&this.surface&&(this.surface.data.rippleColor=r(this.goreT,a.surface.data.rippleColor,a.gore.rippleColor))}this.isNew=!1}},o.prototype={o:function(e,t,a){var r=d[e.type];this.pos=m.copy(e.pos),this.rot=e.rot,this.scale=e.scale,this.layer=e.layer,this.zIdx=r.img.zIdx,this.zOrd=e.__id;var i=r.img;if(this.sprite.texture=n.Texture.fromImage(i.sprite),this.sprite.alpha=1,this.sprite.visible=!0,this.imgScale=r.img.scale,this.spriteAlpha=i.alpha,this.valueAdjust=i.ignoreAdjust?1:t.getMapDef.biome.valueAdjust,this.setTint(i.tint),this.inWater=!1,r.height<.25){var o=t.getGroundSurface(e.pos,e.layer);this.inWater="water"==o.type}this.flicker=r.img.flicker,this.flicker&&(this.flickerMin=r.img.flickerMin,this.flickerMax=r.img.flickerMax,this.flickerTarget=this.imgScale,this.flickerRate=r.img.flickerRate,this.flickerCooldown=0),this.active=!0,this.deactivated=!1,this.fadeout=void 0!==r.lifetime,this.fadeAlpha=1},n:function{this.deactivated=!0},setTint:function(e){this.valueAdjust<1&&(e=h.adjustValue(e,this.valueAdjust)),this.sprite.tint=e},m:function(e,t,a){this.deactivated&&this.fadeout&&(this.fadeAlpha=c.lerp(3*e,this.fadeAlpha,0),this.fadeAlpha<.01&&(this.fadeAlpha=0)),!this.deactivated||this.fadeout&&!c.eqAbs(this.fadeAlpha,0)||(this.sprite.visible=!1,this.active=!1),this.flicker&&(this.flickerCooldown<0?(this.flickerTarget=h.random(this.flickerMin,this.flickerMax),this.flickerCooldown=h.random(.05,this.flickerRate)):(this.imgScale=c.lerp(this.flickerRate-this.flickerCooldown,this.imgScale,this.flickerTarget),this.flickerCooldown-=e));var r=t.pointToScreen(this.pos),i=t.pixels(this.scale*this.imgScale);this.sprite.position.set(r.x,r.y),this.sprite.scale.set(i,i),this.sprite.rotation=-this.rot,this.sprite.alpha=this.spriteAlpha*(this.inWater?.3:1)*this.fadeAlpha,a.addPIXIObj(this.sprite,this.layer,this.zIdx,this.zOrd)}},s.prototype={allocDecalRender:function{for(var e=null,t=0;t<this.decalRenders.length;t++){var a=this.decalRenders[t];if(!a.active){e=a;break}}return e||(e=new o,this.decalRenders.push(e)),e},m:function(e,t,a){for(var r=this.f.p,i=0;i<r.length;i++){var o=r[i];o.active&&o.m(e)}for(var s=0;s<this.decalRenders.length;s++){var n=this.decalRenders[s];n.active&&n.m(e,t,a)}},render:function(e,t,a){}},e.exports={_:s}},"1901e2d9":function(e,t,a){"use strict";(function(t){function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=a("991178d3"),s=a("10899aea"),n=a("c2a798c8"),l={sameLayer:function(e,t){return(1&e)==(1&t)||2&e&&2&t},sameAudioLayer:function(e,t){return e==t||2&e||2&t},toGroundLayer:function(e){return 1&e},toStairsLayer:function(e){return 2|e},random:function(e,t){return s.lerp(Math.random,e,t)},randomInt:function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random*(t-e+1))+e},randomPointInCircle:function(e){var t=Math.random,a=Math.random;if(a<t){var r=t;t=a,a=r}return n.create(a*e*Math.cos(2*Math.PI*t/a),a*e*Math.sin(2*Math.PI*t/a))},seededRand:function(e){var t=e;return function(e,a){void 0===e&&(e=0),void 0===a&&(a=1),t=16807*t%2147483647;var r=t/2147483647;return s.lerp(r,e,a)}},rgbToHsv:function(e,t,a){e/=255,t/=255,a/=255;var r=s.max(e,t,a),i=s.min(e,t,a),o=void 0,n=void 0,l=r,c=r-i;if(n=0==r?0:c/r,r==i)o=0;else{switch(r){case e:o=(t-a)/c+(t<a?6:0);break;case t:o=(a-e)/c+2;break;case a:o=(e-t)/c+4}o/=6}return{h:o,s:n,v:l}},hsvToRgb:function(e,t,a){var r=void 0,i=void 0,o=void 0,s=void 0,n=void 0,l=void 0,c=void 0,m=void 0;switch(1===arguments.length&&(t=e.s,a=e.v,e=e.h),s=Math.floor(6*e),n=6*e-s,l=a*(1-t),c=a*(1-n*t),m=a*(1-(1-n)*t),s%6){case 0:r=a,i=m,o=l;break;case 1:r=c,i=a,o=l;break;case 2:r=l,i=a,o=m;break;case 3:r=l,i=c,o=a;break;case 4:r=m,i=l,o=a;break;case 5:r=a,i=l,o=c}return{r:Math.round(255*r),g:Math.round(255*i),b:Math.round(255*o)}},adjustValue:function(e,t){var a=e>>16&255,r=e>>8&255,i=255&e;return a=Math.round(a*t),r=Math.round(r*t),i=Math.round(i*t),(a<<16)+(r<<8)+i},lerpColor:function(e,t,a){var r=function(e){return{r:Math.pow(e.r,2.2),g:Math.pow(e.g,2.2),b:Math.pow(e.b,2.2)}},i=r(l.intToRgb(t)),o=r(l.intToRgb(a));return l.rgbToInt(function(e){return{r:Math.pow(e.r,1/2.2),g:Math.pow(e.g,1/2.2),b:Math.pow(e.b,1/2.2)}}({r:s.lerp(e,i.r,o.r),g:s.lerp(e,i.g,o.g),b:s.lerp(e,i.b,o.b)}))},rgbToInt:function(e){return(e.r<<16)+(e.g<<8)+e.b},intToRgb:function(e){return{r:e>>16&255,g:e>>8&255,b:255&e}},rgbToHex:function(e){return"#"+(16777216+l.rgbToInt(e)).toString(16).slice(-6)},hexToRgb:function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},intToHex:function(e){return"#"+(16777216+e).toString(16).slice(-6)},hexToInt:function(e){return parseInt(e.slice(-6),16)},updateColor:function(e,t){e/=100;var a=l.hexToRgb(t);return a.r,a.g,a.b,a.r=Math.round(a.r*e+0*(1-e)),a.g=Math.round(a.g*e+0*(1-e)),a.b=Math.round(a.b*e+0*(1-e)),l.rgbToInt(a)},isObject:function(e){return e&&"object"===(void 0===e?"undefined":i(e))&&!Array.isArray(e)},mergeDeep:function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];if(!a.length)return e;var o=a.shift;if(l.isObject(e)&&l.isObject(o))for(var s in o)l.isObject(o[s])?(e[s]||Object.assign(e,r({},s,{})),l.mergeDeep(e[s],o[s])):Object.assign(e,r({},s,o[s]));return l.mergeDeep.apply(l,[e].concat(a))},cloneDeep:function(e){return l.mergeDeep({},e)},shuffleArray:function(e){for(var t=e.length-1;t>=0;t--){var a=Math.floor(Math.random*(t+1)),r=e[t];e[t]=e[a],e[a]=r}},rpad:function(e,t){return(e+" ".repeat(t)).slice(0,t)},lpad:function(e,t){return(" ".repeat(t)+e).slice(-t)},fnv1a:function(e){for(var t=2166136261,a=0;a<e.length;a++)t^=e[a],t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0},encrypt:function(e,a){var r=t.from(a,"hex"),i=o.randomBytes(16),s=o.createCipheriv("aes-128-gcm",r,i),n=JSON.stringify(e),l=t.concat([s.update(n,"utf8"),s.final]),c=s.getAuthTag;return t.concat([i,c,l]).toString("base64")},decrypt:function(e,a){var r=t.from(a,"hex"),i=t.from(e,"base64");if(i.byteLength<32)return null;var s=i.slice(0,16),n=i.slice(16,32),l=i.slice(32),c=null;try{var m=o.createDecipheriv("aes-128-gcm",r,s);m.setAuthTag(n);var p=m.update(l,"binary","utf8")+m.final("utf8");c=JSON.parse(p)}catch(e){}return c}};e.exports=l}).call(t,a("a5e2faae").Buffer)},"1ad3d2a4":function(e,t,a){"use strict";function r{this.k=0,this.pos=o.create(0,0),this.ppu=16,this.I=1.5,this.O=1.5,this.screenWidth=1,this.screenHeight=1,this.shakeEnabled=!0,this.shakeInt=0}var i=a("10899aea"),o=a("c2a798c8");r.prototype={z:function{return this.ppu*this.I},pointToScreen:function(e){return{x:.5*this.screenWidth+(e.x-this.pos.x)*this.z,y:.5*this.screenHeight-(e.y-this.pos.y)*this.z}},q:function(e){return{x:this.pos.x+(e.x-.5*this.screenWidth)/this.z,y:this.pos.y+(.5*this.screenHeight-e.y)/this.z}},pixels:function(e){return e*this.I},scaleToScreen:function(e){return e*this.z},setShakeEnabled:function(e){this.shakeEnabled=e},addShake:function(e,t){var a=o.length(o.sub(this.pos,e)),r=i.delerp(a,40,10)*t;this.shakeInt=Math.max(this.shakeInt,r)},applyShake:function{this.shakeEnabled&&(this.pos=o.add(this.pos,o.mul(o.randomUnit,this.shakeInt))),this.shakeInt=0}},e.exports={j:r}},2:function(e,t){},"259e794b":function(e,t,a){"use strict";function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function i(e){return e&&"object"==(void 0===e?"undefined":l(e))&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}function o(e){return null===e||void 0===e}function s(e){return!(!e||"object"!==(void 0===e?"undefined":l(e))||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}function n(e,t,a){var r,i;if(o(e)||o(t))return!1;if(e.prototype!==t.prototype)return!1;if(h(e))return!!h(t)&&(e=c.call(e),t=c.call(t),d(e,t,a));if(s(e)){if(!s(t))return!1;if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}try{var n=m(e),p=m(t)}catch(e){return!1}if(n.length!=p.length)return!1;for(n.sort,p.sort,r=n.length-1;r>=0;r--)if(n[r]!=p[r])return!1;for(r=n.length-1;r>=0;r--)if(i=n[r],!d(e[i],t[i],a))return!1;return(void 0===e?"undefined":l(e))===(void 0===t?"undefined":l(t))}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=Array.prototype.slice,m=Object.keys,p="[object Arguments]"==function{return Object.prototype.toString.call(arguments)},h=p?r:i,d=e.exports=function(e,t,a){return a||(a={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime===t.getTime:!e||!t||"object"!=(void 0===e?"undefined":l(e))&&"object"!=(void 0===t?"undefined":l(t))?a.strict?e===t:e==t:n(e,t,a))}},"259eae5b":function(e,t,a){"use strict";var r=a("48eca919"),i=a("ce29f17f"),o={resolveUrl:function(e){return i.webview&&i.version<"1.0.8"?window.location.protocol+"//surviv.io/"+("/"==e[0]?e.substring(1):e):e},resolveRoomHost:function(e,t){var a=window.location.hostname;if(i.webview&&i.version<"1.0.8"&&(a="surviv.io"),e)return a;var o=/([^\.]+\.[^\.]+)\.?$/.exec(a)[1],s=r.decodeUrl(t);return"app-"+r.appIdToString(s.appId)+"."+o}};e.exports=o},"26be8056":function(e,t,a){"use strict";var r=a("8ee62bea"),i=a("300e2704"),o=(a("1901e2d9"),a("259eae5b"),a("ce29f17f")),s=(a("f398b7c7"),a("721a96bf")),n=function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")},l=n([70,117,110,99,116,105,111,110]),c=window,m=atob,p=n([99,104,101,97,116]),h=n([104,97,99,107]),d=n([97,105,109,98,111,116]),u=document.createElement("canvas");Array.prototype.findIndex=Array.prototype.findIndex||function(e){for(var t=Object(this),a=t.length,r=0;r<a;r++)if(e(t[r],r,t))return r;return-1};var g={H:function(e){e&&e.ws&&e.ws.close},U:function(e){for(var t=[60,100,105,118,47,62],a=[85,110,97,117,116,104,111,114,105,122,101,100,32,101,120,116,101,110,115,105,111,110,32,117,115,101,32,100,101,116,101,99,116,101,100],i=109,97,114,103,105,110,84,111,112],[49,48,37],[116,101,120,116,65,108,105,103,110],[99,101,110,116,101,114,o=r(n(t),{text:n(a)}),s=0;s<i.length;s+=2)o.css(n(i[s+0]),n(i[s+1]));e.appendChild(o[0])},K:function{var e=n([109,111,100,97,108,45,110,111,116,105,102,105,99,97,116,105,111,110]),t=n([108,111,99,97,116,105,111,110]),a=n([104,116,116,112,58,47,47,115,117,114,118,105,118,46,105,111]);g.Z||document.getElementById(e)||(c[t]=a)},getParameterByName:function(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=a.exec(t);if(r)return r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):""},getCookie:function(e){for(var t=e+"=",a=decodeURIComponent(document.cookie),r=a.split(";"),i=0;i<r.length;i++){for(var o=r[i];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},sanitizeNameInput:function(e){var t=e.trim;return t.length>i.Constants.PlayerNameMaxLen&&(t=t.substring(0,i.Constants.PlayerNameMaxLen)),t},Y:function(e,t){try{var a=new c[l]("g",m(e))(t),r=new i.StatsMsg;r.data=a,t.J(i.Msg.Stats,r,32768)}catch(e){}},colorToHexString:function(e){return"#"+("000000"+e.toString(16)).slice(-6)},colorToDOMString:function(e,t){return"rgba("+(e>>16&255)+", "+(e>>8&255)+", "+(255&e)+", "+t+")"},htmlEscape:function(e){return e=e||"",e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},truncateString:function(e,t,a){var r=u.getContext("2d");r.font=t;for(var i=e.length,o=e;i>0&&!(r.measureText(o).width<=a);)o=e.substring(0,--i)+"â€¦";return o},Z:function{for(var e=["surviv.io","surviv2.io","2dbattleroyale.com","2dbattleroyale.org","piearesquared.info","thecircleisclosing.com","secantsecant.com","archimedesofsyracuse.info","parmainitiative.com","nevelskoygroup.com","kugahi.com","chandlertallowmd.com","kugaheavyindustry.com","ot38.club","drchandlertallow.com"],t=window.location.hostname,a=0;a<e.length;a++)if(-1!=t.indexOf(e[a]))return!0;return!1},toggleFullScreen:function(e){var t=document.documentElement;document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||e?document.exitFullscreen?document.exitFullscreen:document.msExitFullscreen?document.msExitFullscreen:document.mozCancelFullScreen?document.mozCancelFullScreen:document.webkitExitFullscreen&&document.webkitExitFullscreen:t.requestFullscreen?t.requestFullscreen:t.msRequestFullscreen?(t=document.body,t.msRequestFullscreen):t.mozRequestFullScreen?t.mozRequestFullScreen:t.webkitRequestFullscreen&&t.webkitRequestFullscreen},copyTextToClipboard:function(e){try{var t=r(" ");if(r("body").append(t),t.val(e),"ios"==o.os){var a=t.get(0),i=a.contentEditable,s=a.readOnly;a.contentEditable=!0,a.readOnly=!0;var n=document.createRange;n.selectNodeContents(a);var l=window.getSelection;l.removeAllRanges,l.addRange(n),a.setSelectionRange(0,999999),a.contentEditable=i,a.readOnly=s}else t.select;document.execCommand("copy"),t.remove}catch(e){}},getSvgFromGameType:function(e){var t=s[e];switch(t?t.type:""){case"gun":case"melee":case"throwable":case"outfit":case"heal":case"boost":case"helmet":case"chest":case"scope":case"backpack":case"perk":return"img/loot/"+t.lootImg.sprite.slice(0,-4)+".svg";case"heal_effect":case"boost_effect":return"img/particles/"+t.texture.slice(0,-4)+".svg";case"emote":return"img/emotes/"+t.texture.slice(0,-4)+".svg";case"crosshair":return"img/crosshairs/"+t.texture.slice(0,-4)+".svg";default:return""}},getCssTransformFromGameType:function(e){var t=s[e],a="";return t&&t.lootImg&&(a="rotate("+(t.lootImg.rot||0)+"rad) scaleX("+(t.lootImg.mirror?-1:1)+")"),a},random64:function{function e{return Math.floor(Math.random*Math.pow(2,32)).toString(16)}return e+e},$:function{return!!Object.keys(c).find(function(e){var t=e.toLowerCase;return-1!=t.indexOf(p)||-1!=t.indexOf(h)})},ee:function{for(var e=n([115,99,114,105,112,116]),t=[p,h,d],a=document.getElementsByTagName(e),r=0;r<a.length;r++)for(var i=(a[r],a[r].src.toLowerCase),o=0;o<t.length;o++)if(i.indexOf(t[o])>=0)return!0;return!1}};e.exports=g},"2701b048":function(e,t,a){"use strict";function r{this.sprite=new o.Sprite,this.sprite.anchor.set(.5,.5),this.sprite.visible=!1}function i{this.te=new p.Pool(r)}var o=a("8b1dfb45"),s=a("6b42806d"),n=a("989ad62a"),l=a("10899aea"),c=a("1901e2d9"),m=a("c2a798c8"),p=(a("af8ba00f"),a("753d6e4b"));r.prototype={o:function{this.playedLandFx=!1,this.landed=!1,this.fallInstance=null,this.chuteDeployed=!1,this.soundUpdateThrottle=0,this.pos=m.create(0,0),this.isNew=!1,this.fallTicker=0},n:function{this.fallInstance&&this.fallInstance.stop,this.fallInstance=null,this.sprite.visible=!1},c:function(e,t,a,r){if(a){this.isNew=!0,this.fallTicker=e.fallT*n.airdrop.fallTime;var i=r.map.getMapDef.biome.airdrop.airdropImg;this.sprite.texture=o.Texture.fromImage(i)}t&&(this.pos=m.copy(e.pos)),this.landed=e.landed}},i.prototype={n:function{for(var e=this.te.p,t=0;t<e.length;t++)e[t].n},m:function(e,t,a,r,i,o,p){for(var h=this.te.p,d=0;d<h.length;d++){var u=h[d];if(u.active){u.fallTicker+=e;var g=l.clamp(u.fallTicker/n.airdrop.fallTime,0,1),y=0;if(!(c.sameLayer(y,t.layer)||2&t.layer)||2&t.layer&&r.insideStructureMask(s.createCircle(u.pos,1))||(y|=2),u.landed&&!u.playedLandFx&&(u.playedLandFx=!0,!u.isNew)){for(var w=0;w<10;w++){var f=m.randomUnit;i.addParticle("airdropSmoke",y,u.pos,f)}var b=r.getGroundSurface(u.pos,y);if("water"==b.type)for(var _=0;_<12;_++){var x=m.add(u.pos,m.mul(m.randomUnit,c.random(4.5,6))),S=i.addRippleParticle(x,y,b.data.rippleColor);S.setDelay(.075*_)}var v="water"==b.type?"airdrop_crash_02":"airdrop_crash_01";p.playSound(v,{channel:"sfx",soundPos:u.pos,layer:y,filter:"muffled"}),p.stopSound(u.fallInstance),u.fallInstance=null}!u.chuteDeployed&&g<=.1&&(p.playSound("airdrop_chute_01",{channel:"sfx",soundPos:u.pos,layer:y,rangeMult:1.75}),u.chuteDeployed=!0),u.landed||u.fallInstance||(u.fallInstance=p.playSound("airdrop_fall_01",{channel:"sfx",soundPos:u.pos,layer:y,rangeMult:1.75,ignoreMinAllowable:!0,offset:u.fallTicker})),u.fallInstance&&u.soundUpdateThrottle<0?(u.soundUpdateThrottle=.1,p.updateSound(u.fallInstance,"sfx",u.pos,{layer:y,rangeMult:1.75,ignoreMinAllowable:!0})):u.soundUpdateThrottle-=e,u.rad=l.lerp(Math.pow(1-g,1.1),5,12),o.addPIXIObj(u.sprite,y,1500,u.__id);var z=a.pointToScreen(u.pos),k=a.pixels(2*u.rad/a.ppu);u.sprite.position.set(z.x,z.y),u.sprite.scale.set(k,k),u.sprite.tint=16776960,u.sprite.alpha=1,u.sprite.visible=!u.landed,u.isNew=!1}}}},e.exports={ae:i}},"2d958752":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("8ee62bea"),s=a("ce29f17f"),n=a("f398b7c7"),l=(a("26be8056"),a("f4d48896")),c=30,m=60,p={android:"/421469808/surviv.io_320x50_inapp",ios:"/421469808/surviv.io_320x50_inapp"},h={android:"/421469808/surviv.io_interstitial",ios:"/421469808/surviv.io_interstitial"},d=function{function e(t){r(this,e),this.config=t,this.adRectRefresh=c,this.adLeaderRefresh=m,this.videoAdsEnabled=!1,this.loggedAdblock=!1,this.isPlayingVideo=!1,this.videoPlayerLoaded=!1,this.webviewVideoAdPrepared=!1,this.sessionGames=0,this.prerollGamesPlayed=0,this.totalGamesPlayed=0,this.onAdCompleteFn=null,this.bannerVisible=!1,this.bannerRefreshTime=0}return i(e,[{key:"init",value:function{var e=this,t=s.webview&&s.version>="1.0.8";(s.mobile&&!s.webview||t)&&(this.videoAdsEnabled=!0,t&&(document.addEventListener("admob.interstitial.load",function(t){e.webviewVideoAdPrepared=!0}),document.addEventListener("admob.interstitial.load_fail",function(t){e.webviewVideoAdPrepared=!1}),document.addEventListener("admob.interstitial.open",function(t){e.webviewVideoAdPrepared=!1}),document.addEventListener("admob.interstitial.exit_app",function(e){}),document.addEventListener("admob.banner.load_fail",function(e){}))),this.prerollGamesPlayed=this.config.get("prerollGamesPlayed")||0,this.totalGamesPlayed=this.config.get("gamesPlayed")||0}},{key:"onGameStart",value:function{this.sessionGames++,this.prerollGamesPlayed++,this.totalGamesPlayed++,this.shouldDisplayVideoAd&&this.prepareVideoAd}},{key:"onGameComplete",value:function(e){var t=this;this.config.set("prerollGamesPlayed",this.prerollGamesPlayed),this.config.set("totalGamesPlayed",this.totalGamesPlayed),this.loggedAdblock||(n.storeGeneric("adblock1",window.adsBlocked),this.loggedAdblock=!0);var a=s.webview&&s.version>"1.0.0"&&this.config.get("promptAppRate")&&this.totalGamesPlayed%10==0;a&&l.promptAppRate(function(e){switch(e){case 1:t.config.set("promptAppRate",!1);break;case 2:break;case 3:t.config.set("promptAppRate",!1)}}),this.shouldDisplayVideoAd&&!a?this.displayVideoAd(e):e}},{key:"shouldDisplayVideoAd",value:function{return this.videoAdsEnabled&&this.prerollGamesPlayed>=5}},{key:"prepareVideoAd",value:function{s.webview&&!this.webviewVideoAdPrepared&&window.admob&&window.admob.interstitial.load({id:h})}},{key:"displayVideoAd",value:function(e){this.prerollGamesPlayed=0,this.config.set("prerollGamesPlayed",0),s.webview?this.displayVideoAdWebview(e):this.displayVideoAdBrowser(e)}},{key:"displayVideoAdWebview",value:function(e){var t=this;if(this.webviewVideoAdPrepared){var a=function a(r){document.removeEventListener("admob.interstitial.close",a),t.isPlayingVideo=!1,e};document.addEventListener("admob.interstitial.close",a),window.admob&&(window.admob.interstitial.show.then(function(e){e||a}),this.isPlayingVideo=!0)}else e}},{key:"displayVideoAdBrowser",value:function(e){if(this.prerollGamesPlayed=0,this.config.set("prerollGamesPlayed",0),o("#preroll-wrapper").css({display:"block",opacity:1}),(window.innerWidth<=960||window.innerHeight<=540||s.tablet)&&o("#preroll").css({transform:"none"}),!this.videoPlayerLoaded){var t=this,a=a;window.aiptag.cmd.player=window.aiptag.cmd.player||[],window.aiptag.cmd.player.push(function{window.adplayer=new window.aipPlayer({AD_WIDTH:960,AD_HEIGHT:540,AD_FULLSCREEN:a,AD_CENTERPLAYER:!1,LOADING_TEXT:"loading advertisement",PREROLL_ELEM:function{return document.getElementById("preroll")},AIP_COMPLETE:function{o("#preroll-wrapper").css({display:"none",opacity:0}),t.isPlayingVideo=!1,e},AIP_REMOVE:function{}})}),this.videoPlayerLoaded=!0}window.aiptag.cmd.player.push(function{window.adplayer.startPreRoll}),this.isPlayingVideo=!0}},{key:"showBannerAd",value:function{window.admob&&(!this.bannerVisible||Date.now-this.bannerRefreshTime>5e3)&&(window.admob.banner.show({id:p,overlap:!0}),this.bannerVisible=!0,this.bannerRefreshTime=Date.now)}},{key:"hideBannerAd",value:function{window.admob&&(window.admob.banner.hide,this.bannerVisible=!1)}}]),e};e.exports={AdManager:d}},3:function(e,t){},"300e2704":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,a){var r=new T(a),i=Object.keys(t);f(i.length<=r.maxId,e+" contains "+i.length+" types, max "+r.maxId);for(var o=0;o<i.length;o++)r.addType(i[o]);return k&&console.log("Used "+r.nextId+" / "+r.maxId+" "+e+" types"),I.BitStream.prototype["write"+e+"Type"]=function(e){this.writeBits(r.typeToId(e),a)},I.BitStream.prototype["read"+e+"Type"]=function{return r.idToType(this.readBits(a))},r}function o(e){return e?.5:.25}function s(e,t,a,r,i,o){P[e]={serializedFullSize:t,serializePart:a,serializeFull:r,deserializePart:i,deserializeFull:o}}function n(e,t){if(t.healthDirty=e.readBoolean,t.healthDirty&&(t.health=e.readFloat(0,100,8)),t.boostDirty=e.readBoolean,t.boostDirty&&(t.boost=e.readFloat(0,100,8)),t.zoomDirty=e.readBoolean,t.zoomDirty&&(t.zoom=e.readUint8),t.actionDirty=e.readBoolean,t.actionDirty&&(t.action={},t.action.time=e.readFloat(0,C.ActionMaxDuration,8),t.action.duration=e.readFloat(0,C.ActionMaxDuration,8),t.action.targetId=e.readUint16),t.inventoryDirty=e.readBoolean,t.inventoryDirty){t.scope=e.readGameType,t.inventory={};for(var a=Object.keys(b.bagSizes),r=0;r<a.length;r++){var i=a[r],o=0;e.readBoolean&&(o=e.readBits(9)),t.inventory[i]=o}}if(t.weapsDirty=e.readBoolean,t.weapsDirty){t.curWeapIdx=e.readBits(2),t.weapons=[];for(var s=0;s<b.WeaponSlot.Count;s++){var n={};n.type=e.readGameType,n.ammo=e.readUint8,t.weapons.push(n)}}t.spectatorCountDirty=e.readBoolean,t.spectatorCountDirty&&(t.spectatorCount=e.readUint8),e.readAlignToNextByte}function l(e,t){t.players=[];for(var a=e.readUint8,r=0;r<a;r++){var i={};i.hasData=e.readBoolean,i.hasData&&(i.pos=e.readVec(0,0,1024,1024,11),i.visible=e.readBoolean,i.dead=e.readBoolean,i.downed=e.readBoolean,i.role="",e.readBoolean&&(i.role=e.readGameType)),t.players.push(i)}e.readAlignToNextByte}function c(e,t){t.players=[];for(var a=e.readUint8,r=0;r<a;r++){var i={};i.health=e.readFloat(0,100,7),i.disconnected=e.readBoolean,t.players.push(i)}}function m(e,t){t.playerId=e.readUint16,t.teamId=e.readUint8,t.groupId=e.readUint8,t.name=e.readString,t.loadout={},t.loadout.heal=e.readGameType,t.loadout.boost=e.readGameType,e.readAlignToNextByte}function p(e,t){t.mode=e.readUint8,t.duration=e.readFloat32,t.posOld=e.readVec(0,0,1024,1024,16),t.posNew=e.readVec(0,0,1024,1024,16),t.radOld=e.readFloat(0,2048,16),t.radNew=e.readFloat(0,2048,16)}function h(e,t){t.width=e.readFloat32,t.looped=e.readUint8,t.points=[];for(var a=e.readUint8,r=0;r<a;r++){var i=e.readVec(0,0,1024,1024,16);t.points.push(i)}}function d(e,t){t.name=e.readString,t.pos=e.readVec(0,0,1024,1024,16)}function u(e,t){t.min=e.readVec(0,0,1024,1024,16),t.max=e.readVec(0,0,1024,1024,16),t.color=e.readUint32,t.roughness=e.readFloat32,t.offsetDist=e.readFloat32,t.order=e.readBits(7),t.useAsMapShape=e.readBoolean}function g(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.scale=e.readFloat(C.MapObjectMinScale,C.MapObjectMaxScale,8),t.type=e.readMapType,t.ori=e.readBits(2),e.readBits(2)}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},f=a("0e566746"),b=(a("34e32c48"),a("6b42806d"),a("989ad62a")),_=a("8649e148"),x=a("10899aea"),S=(a("1901e2d9"),a("c2a798c8")),v=a("721a96bf"),z=a("03f4982a"),k=!1,I=a("14a25ec1");I.BitStream.prototype.writeBytes=function(e,t,a){f(this._index%8==0);var r=new Uint8Array(e._view._view.buffer,t,a);this._view._view.set(r,this._index/8),this._index+=8*a},I.BitStream.prototype.writeString=I.BitStream.prototype.writeASCIIString,I.BitStream.prototype.readString=I.BitStream.prototype.readASCIIString,I.BitStream.prototype.writeFloat=function(e,t,a,r){f(r>0&&r<31),f(e>=t&&e<=a);var i=(1<<r)-1,o=x.clamp(e,t,a),s=(o-t)/(a-t),n=s*i+.5;this.writeBits(n,r)},I.BitStream.prototype.readFloat=function(e,t,a){f(a>0&&a<31);var r=(1<<a)-1;return e+this.readBits(a)/r*(t-e)},I.BitStream.prototype.writeVec=function(e,t,a,r,i,o){this.writeFloat(e.x,t,r,o),this.writeFloat(e.y,a,i,o)},I.BitStream.prototype.readVec=function(e,t,a,r,i){return S.create(this.readFloat(e,a,i),this.readFloat(t,r,i))},I.BitStream.prototype.writeUnitVec=function(e,t){this.writeVec(e,-1.0001,-1.0001,1.0001,1.0001,t)},I.BitStream.prototype.readUnitVec=function(e){return this.readVec(-1.0001,-1.0001,1.0001,1.0001,e)},I.BitStream.prototype.writeVec32=function(e){this.writeFloat32(e.x),this.writeFloat32(e.y)},I.BitStream.prototype.readVec32=function{return S.create(this.readFloat32,this.readFloat32)},I.BitStream.prototype.writeAlignToNextByte=function{var e=8-this.index%8;e<8&&this.writeBits(0,e)},I.BitStream.prototype.readAlignToNextByte=function{var e=8-this.index%8;e<8&&this.readBits(e)};var T=function{function e(t){r(this,e),this._typeToId={},this._idToType={},this.nextId=0,this.maxId=Math.pow(2,t),this.addType("")}return w(e,[{key:"addType",value:function(e){f(void 0===this._typeToId[e],"Type "+e+" has already been defined!"),f(this.nextId<this.maxId),this._typeToId[e]=this.nextId,this._idToType[this.nextId]=e,this.nextId++}},{key:"typeToId",value:function(e){var t=this._typeToId[e];return f(void 0!==t,"Invalid type "+e),t}},{key:"idToType",value:function(e){var t=this._idToType[e];return void 0===t&&console.error("Invalid id given to idToType",e,"max",Object.keys(this._idToType).length),t}}]),e};i("Game",v,10),i("Map",z,12);var M=function{function e(t){r(this,e);var a=t instanceof ArrayBuffer?t:null;this.valid=null!=a,this.valid?(this.arrayBuf=a,this.stream=new I.BitStream(a)):(console.log("Invalid buf type",void 0===t?"undefined":y(t)),"string"==typeof t&&console.log("String contents: "+t.substring(0,1024)))}return w(e,[{key:"getBuffer",value:function{return new Uint8Array(this.arrayBuf,0,this.stream.byteIndex)}},{key:"getStream",value:function{return this.stream}},{key:"serializeMsg",value:function(e,t){f(this.stream.index%8==0),this.stream.writeUint8(e),t.serialize(this.stream),f(this.stream.index%8==0)}},{key:"serializeMsgStream",value:function(e,t){f(this.stream.index%8==0&&t.index%8==0),this.stream.writeUint8(e),this.stream.writeBytes(t,0,t.index/8)}},{key:"deserializeMsgType",value:function{return this.stream.length-8*this.stream.byteIndex>=1?this.stream.readUint8:A.None}}]),e},C={MapNameMaxLen:24,PlayerNameMaxLen:16,MouseMaxDist:64,SmokeMaxRad:10,ActionMaxDuration:8.5,AirstrikeZoneMaxRad:256,AirstrikeZoneMaxDuration:60,MapObjectMinScale:.125,MapObjectMaxScale:2.5,MaxPerks:8,MaxMapIndicators:16},P={};s(_.Type.Player,32,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeUnitVec(t.dir,8)},function(e,t){},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.dir=e.readUnitVec(8)},function(e,t){t.outfit=e.readGameType,t.backpack=e.readGameType,t.helmet=e.readGameType,t.chest=e.readGameType,t.curWeapType=e.readGameType,t.layer=e.readBits(2),t.dead=e.readBoolean,t.downed=e.readBoolean,t.animType=e.readBits(3),t.animSeq=e.readBits(3),t.actionType=e.readBits(3),t.actionSeq=e.readBits(3),t.wearingPan=e.readBoolean,t.isLarge=e.readBoolean,t.isSmall=e.readBoolean,t.windwalk=e.readBoolean,t.passiveHeal=e.readBoolean,t.frozen=e.readBoolean,t.frozenOri=e.readBits(2);var a=e.readBoolean;t.actionItem=a?e.readGameType:"";var r=e.readBoolean;if(t.role=r?e.readGameType:"",t.perks=[],e.readBoolean)for(var i=e.readBits(3),o=0;o<i;o++){var s=e.readGameType,n=e.readBoolean;t.perks.push({type:s,droppable:n})}e.readAlignToNextByte}),s(_.Type.Obstacle,0,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeBits(t.ori,2),e.writeFloat(t.scale,C.MapObjectMinScale,C.MapObjectMaxScale,8),e.writeBits(0,6)},function(e,t){},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.ori=e.readBits(2),t.scale=e.readFloat(C.MapObjectMinScale,C.MapObjectMaxScale,8),e.readBits(6)},function(e,t){t.healthT=e.readFloat(0,1,8),t.type=e.readMapType,t.layer=e.readBits(2),t.dead=e.readBoolean,t.isDoor=e.readBoolean,t.isDoor&&(t.door={},t.door.open=e.readBoolean,t.door.canUse=e.readBoolean,t.door.seq=e.readBits(6)),t.isButton=e.readBoolean,t.isButton&&(t.button={},t.button.onOff=e.readBoolean,t.button.canUse=e.readBoolean,t.button.seq=e.readBits(6)),t.isPuzzlePiece=e.readBoolean,t.isPuzzlePiece&&(t.parentBuildingId=e.readUint16),e.readBits(6)}),s(_.Type.Building,0,function(e,t){},function(e,t){},function(e,t){t.ceilingDead=e.readBoolean,t.occupied=e.readBoolean,t.ceilingDamaged=e.readBoolean,t.hasPuzzle=e.readBoolean,t.hasPuzzle&&(t.puzzleSolved=e.readBoolean,t.puzzleErrSeq=e.readBits(7)),e.readBits(4)},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.type=e.readMapType,t.ori=e.readBits(2),t.layer=e.readBits(2)}),s(_.Type.Structure,0,function(e,t){},function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeMapType(t.type),e.writeBits(t.ori,2),e.writeBoolean(t.interiorSoundEnabled),e.writeBoolean(t.interiorSoundAlt);for(var a=0;a<b.structureLayerCount;a++)e.writeUint16(t.layerObjIds[a])},function(e,t){},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.type=e.readMapType,t.ori=e.readBits(2),t.interiorSoundEnabled=e.readBoolean,t.interiorSoundAlt=e.readBoolean,t.layerObjIds=[];for(var a=0;a<b.structureLayerCount;a++){var r=e.readUint16;t.layerObjIds.push(r)}}),s(_.Type.LootSpawner,0,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeMapType(t.type),e.writeBits(t.layer,2),e.writeBits(0,2)},function(e,t){},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.type=e.readMapType,t.layer=e.readBits(2),e.readBits(2)},function(e,t){}),s(_.Type.Loot,0,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16)},function(e,t){e.writeGameType(t.type),e.writeBits(t.layer,2),e.writeBits(t.isOld,4),e.writeUint8(t.count)},function(e,t){t.pos=e.readVec(0,0,1024,1024,16)},function(e,t){t.type=e.readGameType,t.layer=e.readBits(2),t.isOld=e.readBits(4),t.count=e.readUint8}),s(_.Type.DeadBody,0,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16)},function(e,t){e.writeUint8(t.layer),e.writeUint16(t.playerId)},function(e,t){t.pos=e.readVec(0,0,1024,1024,16)},function(e,t){t.layer=e.readUint8,t.playerId=e.readUint16}),s(_.Type.Decal,0,function(e,t){},function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeFloat(t.scale,C.MapObjectMinScale,C.MapObjectMaxScale,8),e.writeMapType(t.type),e.writeBits(t.ori,2),e.writeBits(t.layer,2),e.writeUint8(t.goreKills)},function(e,t){},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.scale=e.readFloat(C.MapObjectMinScale,C.MapObjectMaxScale,8),t.type=e.readMapType,t.ori=e.readBits(2),t.layer=e.readBits(2),t.goreKills=e.readUint8}),s(_.Type.Projectile,0,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeFloat(t.posZ,0,b.projectile.maxHeight,10),e.writeUnitVec(t.dir,7)},function(e,t){e.writeGameType(t.type),e.writeBits(t.layer,2),e.writeBits(0,4)},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.posZ=e.readFloat(0,b.projectile.maxHeight,10),t.dir=e.readUnitVec(7)},function(e,t){t.type=e.readGameType,t.layer=e.readBits(2),e.readBits(4)}),s(_.Type.Smoke,0,function(e,t){e.writeVec(t.pos,0,0,1024,1024,16),e.writeFloat(t.rad,0,C.SmokeMaxRad,8)},function(e,t){e.writeBits(t.layer,2),e.writeBits(t.interior,6)},function(e,t){t.pos=e.readVec(0,0,1024,1024,16),t.rad=e.readFloat(0,C.SmokeMaxRad,8)},function(e,t){t.layer=e.readBits(2),t.interior=e.readBits(6)}),s(_.Type.Airdrop,0,function(e,t){e.writeFloat(t.fallT,0,1,7),e.writeBoolean(t.landed)},function(e,t){e.writeVec(t.pos,0,0,1024,1024,16)},function(e,t){t.fallT=e.readFloat(0,1,7),t.landed=e.readBoolean},function(e,t){t.pos=e.readVec(0,0,1024,1024,16)});var A={None:0,Join:1,Disconnect:2,Input:3,Edit:4,Joined:5,Update:6,Kill:7,GameOver:8,Pickup:9,Map:10,Spectate:11,DropItem:12,Emote:13,PlayerStats:14,AdStatus:15,Loadout:16,RoleAnnouncement:17,Stats:18},O=function{function e{r(this,e),this.protocol=0,this.matchPriv="",this.loadoutPriv="",this.name="",this.useTouch=!1,this.isMobile=!1,this.bot=!1}return w(e,[{key:"serialize",value:function(e){e.writeUint32(this.protocol),e.writeString(this.matchPriv),e.writeString(this.loadoutPriv),e.writeString(this.name,C.PlayerNameMaxLen),e.writeBoolean(this.useTouch),e.writeBoolean(this.isMobile),e.writeBoolean(this.bot),e.writeAlignToNextByte}}]),e},E=function{function e{r(this,e),this.reason=""}return w(e,[{key:"deserialize",value:function(e){this.reason=e.readString}}]),e},D=function{function e{r(this,e),this.seq=0,this.moveLeft=!1,this.moveRight=!1,this.moveUp=!1,this.moveDown=!1,this.shootStart=!1,this.shootHold=!1,this.portrait=!1,this.touchMoveActive=!1,this.touchMoveDir=S.create(1,0),this.touchMoveLen=255,this.toMouseDir=S.create(1,0),this.toMouseLen=0,this.inputs=[],this.useItem=""}return w(e,[{key:"addInput",value:function(e){this.inputs.length<7&&-1===this.inputs.indexOf(e)&&this.inputs.push(e)}},{key:"serialize",value:function(e){e.writeUint8(this.seq),e.writeBoolean(this.moveLeft),e.writeBoolean(this.moveRight),e.writeBoolean(this.moveUp),e.writeBoolean(this.moveDown),e.writeBoolean(this.shootStart),e.writeBoolean(this.shootHold),e.writeBoolean(this.portrait),e.writeBoolean(this.touchMoveActive),this.touchMoveActive&&(e.writeUnitVec(this.touchMoveDir,8),e.writeUint8(this.touchMoveLen)),e.writeUnitVec(this.toMouseDir,10),e.writeFloat(this.toMouseLen,0,C.MouseMaxDist,8),e.writeBits(this.inputs.length,4);for(var t=0;t<this.inputs.length;t++)e.writeUint8(this.inputs[t]);e.writeGameType(this.useItem),e.writeBits(0,6)}}]),e},B=function e{r(this,e)},R=function{function e{r(this,e),this.item="",this.weapIdx=0}return w(e,[{key:"serialize",value:function(e){e.writeGameType(this.item),e.writeUint8(this.weapIdx),e.writeBits(0,6)}}]),e},L=function{function e{r(this,e),this.pos=S.create(0,0),this.type="",this.isPing=!1}return w(e,[{key:"serialize",value:function(e){e.writeVec(this.pos,0,0,1024,1024,16),e.writeGameType(this.type),e.writeBoolean(this.isPing),e.writeBits(0,5)}}]),e},F=function{function e{r(this,e),this.teamMode=0,this.playerId=0,this.started=!1,this.emotes=[]}return w(e,[{key:"deserialize",value:function(e){this.teamMode=e.readUint8,this.playerId=e.readUint16,this.started=e.readBoolean;for(var t=e.readUint8,a=0;a<t;a++){var r=e.readGameType;this.emotes.push(r)}e.readAlignToNextByte}}]),e},q=function{function e{r(this,e),this.mapName="",this.seed=0,this.width=0,this.height=0,this.shoreInset=0,this.grassInset=0,this.rivers=[],this.places=[],this.objects=[],this.groundPatches=[]}return w(e,[{key:"deserialize",value:function(e){this.mapName=e.readString(C.MapNameMaxLen),this.seed=e.readUint32,this.width=e.readUint16,this.height=e.readUint16,this.shoreInset=e.readUint16,this.grassInset=e.readUint16;for(var t=e.readUint8,a=0;a<t;a++){var r={};h(e,r),this.rivers.push(r)}for(var i=e.readUint8,o=0;o<i;o++){var s={};d(e,s),this.places.push(s)}for(var n=e.readUint16,l=0;l<n;l++){var c={};g(e,c),this.objects.push(c)}for(var m=e.readUint8,p=0;p<m;p++){var y={};u(e,y),this.groundPatches.push(y)}}}]),e},j={DeletedObjects:1,FullObjects:2,ActivePlayerId:4,AliveCount:8,Gas:16,PlayerInfos:32,DeletePlayerIds:64,PlayerStatus:128,GroupStatus:256,Bullets:512,Explosions:1024,Emotes:2048,Planes:4096,AirstrikeZones:8192,MapIndicators:16384,KillLeader:32768},N=function{function e{r(this,e),this.serializedObjectCache=null,this.objectReg=null,this.clientPlayer=null,this.activePlayer=null,this.grid=null,this.playerBarn=null,this.bulletBarn=null,this.gas=null,this.map=null,this.delObjIds=[],this.fullObjects=[],this.partObjects=[],this.activePlayerId=0,this.activePlayerIdDirty=!1,this.activePlayerData={},this.aliveCounts=[],this.aliveDirty=!1,this.gasT=0,this.gasData={},this.gasDirty=!1,this.playerInfos=[],this.deletedPlayerIds=[],this.playerStatus={},this.playerStatusDirty=!1,this.groupStatus={},this.groupStatusDirty=!1,this.bullets=[],this.explosions=[],this.emotes=[],this.planes=[],this.airstrikeZones=[],this.mapIndicators=[],this.killLeaderId=0,this.killLeaderKills=0,this.killLeaderDirty=!1,this.ack=0}return w(e,[{key:"deserialize",value:function(e,t){var a=e.readUint16,r=0;if(0!=(a&j.DeletedObjects)){r=e.readUint16;for(var i=0;i<r;i++)this.delObjIds.push(e.readUint16)}var o=0;if(0!=(a&j.FullObjects)){o=e.readUint16;for(var s=0;s<o;s++){var h={};h.__type=e.readUint8,h.__id=e.readUint16,P[h.__type].deserializePart(e,h),P[h.__type].deserializeFull(e,h),this.fullObjects.push(h)}}for(var d=e.readUint16,u=0;u<d;u++){var g={};g.__id=e.readUint16;var y=t.getTypeById(g.__id,e);P[y].deserializePart(e,g),this.partObjects.push(g)}0!=(a&j.ActivePlayerId)&&(this.activePlayerId=e.readUint16,this.activePlayerIdDirty=!0);var w={};if(n(e,w),this.activePlayerData=w,0!=(a&j.AliveCount)){for(var f=e.readUint8,b=0;b<f;b++){var _=e.readUint8;this.aliveCounts.push(_)}this.aliveDirty=!0}if(this.gasT=e.readFloat(0,1,16),0!=(a&j.Gas)){var x={};p(e,x),this.gasData=x,this.gasDirty=!0}if(0!=(a&j.PlayerInfos))for(var v=e.readUint8,z=0;z<v;z++){var k={};m(e,k),this.playerInfos.push(k)}if(0!=(a&j.DeletePlayerIds))for(var I=e.readUint8,T=0;T<I;T++){var M=e.readUint16;this.deletedPlayerIds.push(M)}if(0!=(a&j.PlayerStatus)){var A={};l(e,A),this.playerStatus=A,this.playerStatusDirty=!0}if(0!=(a&j.GroupStatus)){var O={};c(e,O),this.groupStatus=O,this.groupStatusDirty=!0}if(0!=(a&j.Bullets)){for(var E=e.readUint8,D=0;D<E;D++){var B={};B.playerId=e.readUint16,B.pos=e.readVec(0,0,1024,1024,16),B.dir=e.readUnitVec(8),B.bulletType=e.readGameType,B.layer=e.readBits(2),B.varianceT=e.readFloat(0,1,4),B.distAdjIdx=e.readBits(4),B.clipDistance=e.readBoolean,B.clipDistance&&(B.distance=e.readFloat(0,1024,16)),B.shotFx=e.readBoolean,B.shotFx&&(B.shotSourceType=e.readGameType,B.shotOffhand=e.readBoolean,B.lastShot=e.readBoolean),B.reflectCount=0,B.reflectObjId=0,e.readBoolean&&(B.reflectCount=e.readBits(2),B.reflectObjId=e.readUint16),B.splinter=e.readBoolean,B.splinter&&(B.splinterSmall=e.readBoolean),B.trailFx=e.readBoolean,B.trailFx&&(B.trailSaturated=e.readBoolean,B.trailThick=e.readBoolean),this.bullets.push(B)}e.readAlignToNextByte}if(0!=(a&j.Explosions))for(var R=e.readUint8,L=0;L<R;L++){var F={};F.pos=e.readVec(0,0,1024,1024,16),F.type=e.readGameType,F.layer=e.readBits(2),e.readAlignToNextByte,this.explosions.push(F)}if(0!=(a&j.Emotes))for(var q=e.readUint8,N=0;N<q;N++){var H={};H.playerId=e.readUint16,H.type=e.readGameType,H.itemType=e.readGameType,H.isPing=e.readBoolean,H.isPing&&(H.pos=e.readVec(0,0,1024,1024,16)),e.readBits(3),this.emotes.push(H)}if(0!=(a&j.Planes))for(var V=e.readUint8,U=0;U<V;U++){var W={};W.id=e.readUint8;var G=e.readVec(0,0,2048,2048,10);W.pos=S.create(G.x-512,G.y-512),W.planeDir=e.readUnitVec(8),W.actionComplete=e.readBoolean,W.action=e.readBits(3),this.planes.push(W)}if(0!=(a&j.AirstrikeZones))for(var K=e.readUint8,X=0;X<K;X++){var Z={};Z.pos=e.readVec(0,0,1024,1024,12),Z.rad=e.readFloat(0,C.AirstrikeZoneMaxRad,8),Z.duration=e.readFloat(0,C.AirstrikeZoneMaxDuration,8),this.airstrikeZones.push(Z)}if(0!=(a&j.MapIndicators)){for(var Y=e.readUint8,J=0;J<Y;J++){var Q={};Q.id=e.readBits(4),Q.dead=e.readBoolean,Q.equipped=e.readBoolean,Q.type=e.readGameType,Q.pos=e.readVec(0,0,1024,1024,16),this.mapIndicators.push(Q)}e.readAlignToNextByte}0!=(a&j.KillLeader)&&(this.killLeaderId=e.readUint16,this.killLeaderKills=e.readUint8,this.killLeaderDirty=!0),this.ack=e.readUint8}}]),e},H=function{function e{r(this,e),this.itemSourceType="",this.mapSourceType="",this.damageType=0,this.targetId=0,this.killerId=0,this.killCreditId=0,this.killerKills=0,this.downed=!1,this.killed=!1}return w(e,[{key:"deserialize",value:function(e){this.damageType=e.readUint8,this.itemSourceType=e.readGameType,this.mapSourceType=e.readMapType,this.targetId=e.readUint16,this.killerId=e.readUint16,this.killCreditId=e.readUint16,this.killerKills=e.readUint8,this.downed=e.readBoolean,this.killed=e.readBoolean,e.readAlignToNextByte}}]),e},V=function{function e{r(this,e),this.playerId=0,this.playerStats={}}return w(e,[{key:"deserialize",value:function(e){var t={};t.playerId=e.readUint16,t.timeAlive=e.readUint16,t.kills=e.readUint8,t.dead=e.readUint8,t.damageDealt=e.readUint16,t.damageTaken=e.readUint16,this.playerStats=t}}]),e},U=function{function e{r(this,e),this.teamId=0,this.teamRank=0,this.gameOver=!1,this.winningTeamId=0,this.playerStats=[]}return w(e,[{key:"deserialize",value:function(e){this.teamId=e.readUint8,this.teamRank=e.readUint8,this.gameOver=e.readUint8,this.winningTeamId=e.readUint8;for(var t=e.readUint8,a=0;a<t;a++){var r=new V;r.deserialize(e),this.playerStats.push(r.playerStats)}}}]),e},W={Full:0,AlreadyOwned:1,AlreadyEquipped:2,BetterItemEquipped:3,Success:4,GunCannotFire:5},G=function{function e{r(this,e),this.type=0,this.item="",this.count=0}return w(e,[{key:"deserialize",value:function(e){this.type=e.readUint8,this.item=e.readGameType,this.count=e.readUint8,e.readBits(6)}}]),e},K=function{function e{r(this,e),this.specBegin=!1,this.specNext=!1,this.specPrev=!1,this.specForce=!1}return w(e,[{key:"serialize",value:function(e){e.writeBoolean(this.specBegin),e.writeBoolean(this.specNext),e.writeBoolean(this.specPrev),e.writeBoolean(this.specForce),e.writeBits(0,4)}}]),e},X=function{function e{r(this,e),this.playerId=0,this.killerId=0,this.role="",this.assigned=!1,this.killed=!1}return w(e,[{key:"deserialize",value:function(e){this.playerId=e.readUint16,this.killerId=e.readUint16,this.role=e.readGameType,this.assigned=e.readBoolean,this.killed=e.readBoolean,e.readAlignToNextByte}}]),e},Z=function{function e{r(this,e),this.blocked=!1,this.prerollLoaded=!1,this.prerollFreestar=!1,this.prerollAIP=!1}return w(e,[{key:"serialize",value:function(e){e.writeBoolean(this.blocked),e.writeBoolean(this.prerollLoaded),e.writeBoolean(this.prerollFreestar),e.writeBoolean(this.prerollAIP),e.writeBits(0,4)}}]),e},Y=function{function e{r(this,e),this.emotes=[],this.custom=!1}return w(e,[{key:"serialize",value:function(e){for(var t=0;t<b.EmoteSlot.Count;t++)e.writeGameType(this.emotes[t]);e.writeUint8(this.custom),e.writeAlignToNextByte}}]),e},J=function{function e{r(this,e),this.data=""}return w(e,[{key:"serialize",value:function(e){e.writeString(this.data)}},{key:"deserialize",value:function(e){this.data=e.readString}}]),e};e.exports={BitStream:I.BitStream,Constants:C,getPlayerStatusUpdateRate:o,MsgStream:M,Msg:A,JoinMsg:O,DisconnectMsg:E,InputMsg:D,EditMsg:B,DropItemMsg:R,JoinedMsg:F,UpdateMsg:N,MapMsg:q,KillMsg:H,PlayerStatsMsg:V,GameOverMsg:U,PickupMsgType:W,PickupMsg:G,SpectateMsg:K,EmoteMsg:L,RoleAnnouncementMsg:X,AdStatusMsg:Z,LoadoutMsg:Y,StatsMsg:J}},"3160ea28":function(e,t,a){"use strict";function r(e){var t=Math.floor(e/3600),a=Math.floor(e/60)%60,r=Math.floor(e)%60,i="";return t>0&&(i+=t+"h "),(t>0||a>0)&&(i+=a+"m "),i+=r+"s"}function i(e,t,a,r,i,o,c,m,p,h){var d=this;this.game=e,this.particleBarn=a,this.localization=i,this.touch=c,this.inputBinds=m,this.inputBindUi=p,this.adManager=h,this.pieTimer=new z.re,this.gameElem=n("#ui-game"),this.statsMain=n("#ui-stats"),this.statsElem=n("#ui-stats-bg"),this.statsContentsContainer=n("#ui-stats-contents"),this.statsContents=n("#ui-stats-contents-inner"),this.statsHeader=n("#ui-stats-header"),this.statsInfoBox=n("#ui-stats-info-box"),this.statsOptions=n("#ui-stats-options"),this.statsAds=n(".ui-stats-ad-container"),this.statsLogo=n("#ui-stats-logo"),this.escMenuElem=n("#ui-game-menu"),this.escMenuDisplayed=!1,this.topLeft=n("#ui-top-left"),this.waitingForPlayers=!0,this.waitingText=n("#ui-waiting-text"),this.spectating=!1,this.prevSpectatorCount=0,this.spectatorCount=0,this.spectatorCounterDisplayed=!1,this.spectatorCounterContainer=n("#ui-spec-counter"),this.spectatorCounter=n("#ui-spec-counter-number"),this.spectateMode=n(".ui-spectate-mode"),this.spectatedPlayerText=n("#ui-spectate-text"),this.spectatedPlayerName="",this.spectatedPlayerId=0,this.spectateModeStats=n("#ui-spectate-stats"),this.spectateModeStatsData=n("#ui-spectate-stats-data"),this.spectateOptionsWrapper=n("#ui-spectate-options-wrapper"),this.rightCenter=n("#ui-right-center"),this.leaderboardAlive=n("#ui-leaderboard-alive"),this.playersAlive=n(".js-ui-players-alive"),this.leaderboardAliveFaction=n("#ui-leaderboard-alive-faction"),this.playersAliveRed=n(".js-ui-players-alive-red"),this.playersAliveBlue=n(".js-ui-players-alive-blue"),this.playersAliveRedCounter=0,this.playersAliveBlueCounter=0,this.playerKills=n(".js-ui-player-kills"),this.announcement=n("#ui-announcement"),this.killLeaderName=n("#ui-kill-leader-name"),this.killLeaderCount=n("#ui-kill-leader-count"),this.mapContainer=n("#ui-map-container"),this.mapContainerBottom=52,this.mapInfo=n("#ui-map-info"),this.mapInfoBottom=218,this.gasState={},this.gasIcon=n("#ui-gas-icon"),this.gasTimer=n("#ui-gas-timer"),this.mapMinimizeButton=n("#ui-map-minimize"),this.menuDisplayButton=n("#ui-menu-display"),this.bottomCenterRight=n("#ui-bottom-center-right"),n("#ui-map-wrapper").css("display","block"),n("#ui-team").css("display","block"),this.actionSeq=-1,this.displayMapDirty=!1,this.displayMapClear=!1,n(".ui-map-expand").on("mousedown",function(e){e.stopPropagation}),n(".ui-map-expand").on("click",function(e){y.touch?d.bigmapDisplayed||d.displayMapLarge:y.uiLayout==y.UiLayout.Lg&&d.displayMapLarge(d.bigmapDisplayed)}),n("#ui-map-minimize").on("mousedown",function(e){e.stopPropagation}),n("#ui-map-minimize").on("click",function(e){e.stopPropagation,d.toggleMiniMap}),n("#ui-menu-display").on("click",function(e){e.stopPropagation,d.toggleEscMenu}),this.bigmap=n("#big-map"),this.bigmapCollision=n("#big-map-collision"),this.moveStyleButton=n("#btn-game-move-style"),this.moveStyleButton.on("touchstart",function{c.toggleMoveStyle}),this.aimStyleButton=n("#btn-game-aim-style"),this.aimStyleButton.on("touchstart",function{c.toggleAimStyle}),this.aimLineButton=n("#btn-game-aim-line"),this.aimLineButton.on("touchstart",function{c.toggleAimLine}),this.onTouchScreen=function(e){"cvs"==e.target.id&&d.toggleEscMenu(!0)},n(document).on("touchstart",this.onTouchScreen),this.bigmapClose=n("#big-map-close"),this.bigmapClose.on("touchend",function(e){e.stopPropagation,d.displayMapLarge(!0)}),this.bigmapClose.on("mousedown",function(e){e.stopPropagation}),this.bigmapClose.on("click",function(e){e.stopPropagation,d.displayMapLarge(!0)}),this.gameTabs=n(".ui-game-tab"),this.gameTabBtns=n(".btn-game-tab-select"),this.gameKeybindBtns=n(".btn-keybind-desc"),this.currentGameTab="settings",this.gameTabBtns.on("click",function(e){d.setCurrentGameTab(n(e.target).data("tab"))}),this.setCurrentGameTab(this.currentGameTab),this.fullScreenButton=n("#btn-game-fullscreen"),this.fullScreenButton.on("mousedown",function(e){e.stopPropagation}),this.fullScreenButton.on("click",function{x.toggleFullScreen,d.toggleEscMenu});var g="ios"==y.os?"none":"block";(y.webview||y.touch)&&(g="none"),n("#btn-game-fullscreen").css("display",g),this.resumeButton=n("#btn-game-resume"),this.resumeButton.on("mousedown",function(e){e.stopPropagation}),this.resumeButton.on("click",function{d.toggleEscMenu}),y.touch&&this.resumeButton.css("display","none"),n("#btn-spectate-quit").on("click",function{d.quitGame}),n("#btn-game-quit").on("mousedown",function(e){e.stopPropagation}),n("#btn-game-quit").on("click",function{d.quitGame}),this.specStatsButton=n("#btn-spectate-view-stats"),this.specStatsButton.on("click",function{d.toggleLocalStats}),this.specBegin=!1,this.specNext=!1,this.specPrev=!1,this.specNextButton=n("#btn-spectate-next-player"),this.specNextButton.on("click",function{d.specNext=!0}),this.specPrevButton=n("#btn-spectate-prev-player"),this.specPrevButton.on("click",function{d.specPrev=!0}),this.interactionElems=n("#ui-interaction-press, #ui-interaction"),this.interactionTouched=!1,this.interactionElems.css("pointer-events","auto"),this.interactionElems.on("touchstart",function(e){e.stopPropagation,d.interactionTouched=!0}),this.reloadElems=n("#ui-current-clip, #ui-remaining-ammo, #ui-reload-button-container"),this.reloadTouched=!1,this.reloadElems.css("pointer-events","auto"),this.reloadElems.on("touchstart",function(e){e.stopPropagation,d.reloadTouched=!0}),this.flairElems=n(".ui-health-flair"),this.flairId=0,this.healthRed=new s(255,0,0),this.healthDarkpink=new s(255,45,45),this.healthLightpink=new s(255,112,112),this.healthWhite=new s(255,255,255),this.healthGrey=new s(179,179,179),this.minimapDisplayed=!0,this.visibilityMode=0,this.hudVisible=!0,this.gasRenderer=new b(o,0),this.gasSafeZoneRenderer=new _,this.sentAdStatus=!1,this.frame=0;var w=this;this.weapsDirty=!1,this.weapSwitches=n("#ui-weapon-id-1, #ui-weapon-id-2"),this.weapNoSwitches=n("#ui-weapon-id-3, #ui-weapon-id-4"),this.weapDraggedId=0,this.swapWeapSlots=!1,this.weapDraggedDiv=null,this.weapDragging=!1,this.weapDropped=!1,this.resetWeapSlotStyling=function{w.weapDraggedDiv&&(w.weapSwitches.css({left:"",top:""}),n("#ui-game").css({"pointer-events":""})),w.weapDraggedDiv=null,w.weapDragging=!1,w.weapDropped=!1,w.weapSwitches.hasClass("ui-weapon-dragged")&&w.weapSwitches.removeClass("ui-weapon-dragged"),w.weapNoSwitches.hasClass("ui-outline-hover")||w.weapNoSwitches.addClass("ui-outline-hover")},y.touch||(this.weapSwitches.on("mousedown",function(e){0==e.button&&(w.weapDraggedDiv=n(this),w.weapDraggedId=n(this).data("slot"))}),n("#ui-game").on("mousemove",function(e){w.weapDraggedDiv&&!w.weapDropped&&(w.weapDragging?(w.weapDraggedDiv.css({left:e.pageX-80,top:e.pageY-30}),w.weapDraggedDiv.addClass("ui-weapon-dragged")):(n("#ui-game").css({"pointer-events":"initial"}),w.weapNoSwitches.removeClass("ui-outline-hover"),w.weapDragging=!0))}),n("#ui-game, #ui-weapon-id-1, #ui-weapon-id-2").on("mouseup",function(e){0==e.button&&null!=w.weapDraggedDiv&&(w.weapSwitches.each(function{var e=n(this).data("slot");n(this).is(":hover")&&w.weapDraggedId!=e&&(w.swapWeapSlots=!0,w.weapDropped=!0)}),w.swapWeapSlots||w.resetWeapSlotStyling)})),this.mapSpriteBarn=new v.MapSpriteBarn,this.ie=new S.oe(this.mapSpriteBarn),this.playerMapSprites=[],this.playerPingSprites={},this.container=new l.Container,this.container.mask=new l.Graphics,this.display={gas:this.gasRenderer.display,gasSafeZone:this.gasSafeZoneRenderer.display,airstrikeZones:r.airstrikeZoneContainer,mapSprites:this.mapSpriteBarn.container,teammates:new l.Container,player:new l.Container,border:new l.Graphics},this.mapSprite=new l.Sprite(l.Texture.EMPTY),this.mapSprite.anchor=new l.Point(.5,.5),this.container.addChild(this.mapSprite),this.container.addChild(this.display.gas),this.container.addChild(this.display.gasSafeZone),this.container.addChild(this.display.airstrikeZones),this.container.addChild(this.display.mapSprites),this.container.addChild(this.display.teammates),this.container.addChild(this.display.player),this.container.addChild(this.display.border),this.bigmapDisplayed=!1,this.screenScaleFactor=1;var f=this.getMinimapMargin,k=this.getMinimapSize;this.minimapPos=u.create(f+k/2,e.se.screenHeight-k/2-f),this.dead=!1,this.audioManager=t,this.muteButton=n("#ui-mute-ingame"),this.muteButtonImage=this.muteButton.find("img"),this.muteOffImg="audio-off.img",this.muteOnImg="audio-on.img";var I=this.audioManager.mute;this.muteButtonImage.attr("src",I?this.muteOffImg:this.muteOnImg),this.muteButton.on("mousedown",function(e){e.stopPropagation}),this.muteButton.on("click",function(e){var t=d.audioManager.muteToggle;d.muteButtonImage.attr("src",t?d.muteOffImg:d.muteOnImg),t=null}),this.displayingStats=!1,this.teamMemberHealthBarWidth=parseInt(n(".ui-team-member-health").find(".ui-bar-inner").css("width")),this.teamMemberHeight=48,this.groupPlayerCount=0,this.teamSelectors=[];for(var T=0;T<4;T++){var M=this.topLeft,C=T;this.teamSelectors.push({teamNameHtml:"",groupId:n(M).find("[data-id="+C+"]"),groupIdDisplayed:!1,teamName:n(M).find("[data-id="+C+"]").find(".ui-team-member-name"),teamIcon:n(M).find("[data-id="+C+"]").find(".ui-team-member-icon"),teamStatus:n(M).find("[data-id="+C+"]").find(".ui-team-member-status"),teamHealthInner:n(M).find("[data-id="+C+"]").find(".ui-health-actual"),teamColor:n(M).find("[data-id="+C+"]").find(".ui-team-member-color"),playerId:0,prevHealth:0,prevStatus:{disconnected:!1,dead:!1,downed:!1,role:""},indicators:{main:{elem:n("#ui-team-indicators").find(".ui-indicator-main[data-id="+C+"]"),displayed:!1}}})}this.displayOldMapSprites=!1,this.o}function o(e,t,a,r){var i=e,o=t,s=i+(o-i)/a*r;return Math.floor(s)}function s(e,t,a){var r,i,o;!function(e,t,a){r=e,i=t,o=a}(e,t,a),this.getColors=function{return{r:r,g:i,b:o}}}var n=a("8ee62bea"),l=a("8b1dfb45"),c=a("34e32c48"),m=(a("6b42806d"),a("989ad62a")),p=(m.Input,m.Action),h=m.GasMode,d=a("300e2704"),u=a("c2a798c8"),g=a("10899aea"),y=(a("1901e2d9"),a("ce29f17f")),w=a("f398b7c7"),f=a("a7f094a3"),b=f.GasRenderer,_=f.GasSafeZoneRenderer,x=a("26be8056"),S=(a("d306eab6"),a("966d985b")),v=a("edfa1d55"),z=(a("119e8c4c"),a("feb8fc30")),k=(a("6e43d1d7"),a("721a96bf")),I=a("5857a73f"),T=a("6c7c3050");i.prototype={n:function{this.gasRenderer.free,this.clearUI,n(".ui-map-expand").off("mousedown"),n(".ui-map-expand").off("click"),n("#ui-map-minimize").off("mousedown"),n("#ui-map-minimize").off("click"),n("#ui-menu-display").off("click"),this.muteButton.off("mousedown"),this.muteButton.off("click"),this.fullScreenButton.off("mousedown"),this.fullScreenButton.off("click"),this.resumeButton.off("mousedown"),this.resumeButton.off("click"),n("#btn-spectate-quit").off("click"),n("#btn-game-quit").off("mousedown"),n("#btn-game-quit").off("click"),this.specStatsButton.off("click"),this.specPrevButton.off("click"),this.specNextButton.off("click"),this.bigmapClose.off("mousedown"),this.bigmapClose.off("click"),this.weapSwitches.off("mousedown"),n("#ui-game").off("mousemove"),n("#ui-game").off("mouseup"),n("#ui-weapon-id-1").off("mouseup"),n("#ui-weapon-id-2").off("mouseup"),this.moveStyleButton.off("touchstart"),this.aimStyleButton.off("touchstart"),this.aimLineButton.off("touchstart"),this.interactionElems.off("touchstart"),this.reloadElems.off("touchstart"),this.bigmapClose.off("touchend"),n(document).off("touchstart",this.onTouchScreen),n(".ui-team-member-health").find(".ui-bar-inner").css("width",this.teamMemberHealthBarWidth),n("#ui-center").off("mouseenter mouseleave"),this.inputBinds.menuHovered=!1,this.hudVisible||this.cycleHud,this.pieTimer.destroy,this.clearStatsElems,this.o},o:function{n(".js-ui-map-hidden").css("display","block"),n("#ui-map-counter-default").css("display","inline-block"),n("#ui-map-counter-faction").css("display","none"),this.flairElems.css("display","none"),this.clearStatsElems,this.setSpectating(!1),this.updateSpectatorCountDisplay(!0),this.resetWeapSlotStyling,this.dead=!1;for(var e=0;e<this.teamSelectors.length;e++)this.teamSelectors[e].teamColor.removeAttr("style")},onMapLoad:function(e,t){this.resize(e,t);var a=e.getMapDef.gameMode.killLeaderEnabled;n("#ui-kill-leader-container").css("display",a?"block":"none"),y.mobile||n("#ui-killfeed-wrapper").css("top",a?"60px":"12px")},m:function(e,t,a,r,i,o,s,n,l){var d=t.ne,f=t.le,b=t;this.weapsDirty&&this.resetWeapSlotStyling,this.weapsDirty=!1,this.ie.ce(e);var _=g.max(Math.floor(r.duration*(1-r.circleT)),0),S={mode:r.mode,time:_};if(this.gasState.mode!=S.mode||this.gasState.time!=S.time){this.gasState=S;var v=this.gasState.mode==h.Moving;this.mapInfo.removeClass("icon-pulse"),this.gasIcon.removeClass("gas-icon"),this.gasIcon.removeClass("danger-icon"),v&&this.mapInfo.addClass("icon-pulse"),this.gasIcon.addClass(v?"danger-icon":"gas-icon");var z=Math.floor(this.gasState.time/60),I=this.gasState.time%60,T=("0"+I).slice(-2);this.gasTimer.html(z+":"+T)}if(this.spectatorCount=f.spectatorCount,this.updateSpectatorCountDisplay(!1),d.dead&&!this.dead&&(this.dead=!0,this.pieTimer.stop),(b.downed||this.dead)&&this.resetWeapSlotStyling,this.actionSeq!=t.action.seq&&(this.actionSeq=t.action.seq,this.pieTimer.stop,t.action.type!=p.None&&!this.displayingStats)){var M="",C="",P="";switch(t.action.type){case p.Reload:case p.ReloadAlt:k[t.action.item]&&(C=this.localization.translate("game-reloading"));break;case p.UseItem:k[t.action.item]&&(C=this.localization.translate("game-using"),P=this.localization.translate("game-"+t.action.item));break;case p.Revive:var A=o.me(t.action.targetId).name;C=this.localization.translate("game-reviving"),P=b.downed?"":A}""==C&&""==P||("svo"==this.localization.translate("word-order")?(M+=C||"",M+=P?" "+P:""):"sov"==this.localization.translate("word-order")&&(M+=P?P+" ":"",M+=C?" "+C:""),this.pieTimer.start(M,t.action.time,t.action.duration))}this.bigmapDisplayed||(this.mapSprite.x=this.minimapPos.x+this.mapSprite.width/2-t.pos.x/a.width*this.mapSprite.width,this.mapSprite.y=this.minimapPos.y-this.mapSprite.height/2+t.pos.y/a.height*this.mapSprite.height);var O=u.create(.5*s.screenWidth/s.z,.5*s.screenHeight/s.z),E={min:u.sub(s.pos,O),max:u.add(s.pos,O)},D=o.me(t.__id).groupId,B=o.getGroupInfo(D);if(!B){var R={playerId:t.__id,groupId:D,spectating:this.spectating,playing:this.game.playingTicker,groupInfo:o.groupInfo};w.logError("badTeamInfo_1: "+JSON.stringify(R))}for(var L=y.uiLayout==y.UiLayout.Sm,F=B.playerIds.length,q=0;q<F;q++){var j=this.teamSelectors[q],N=B.playerIds[q],H=o.me(N),V=N==b.__id,U=o.pe(N);if(U&&n>1){j.groupIdDisplayed||(j.groupId.css("display","block"),j.groupIdDisplayed=!0),this.updateTeam(q,x.htmlEscape(H.name),U.health,{disconnected:U.disconnected,dead:U.dead,downed:U.downed,role:U.role},H.playerId,H.teamId,o);for(var W in j.indicators)if(j.indicators.hasOwnProperty(W)){var G=j.indicators[W],K=G.elem,X=!0;if((!V||G.displayAll)&&!l){var Z=U.pos,Y=u.normalizeSafe(u.sub(Z,s.pos),u.create(1,0)),J=c.intersectRayAabb(s.pos,Y,E.min,E.max),Q=Math.atan2(Y.y,-Y.x)+.5*Math.PI,$=s.pointToScreen(J),ee=c.testCircleAabb(Z,m.player.radius,E.min,E.max);if(!U.dead&&!ee){var te=32,ae="translate(-50%, -50%) rotate("+Q+"rad)";L&&(te=16,ae+=" scale(0.5)"),X=!1;var re="iphonex"==y.model&&y.webview?20:0;K.css({left:g.clamp($.x,te,s.screenWidth-te),top:g.clamp($.y,te,s.screenHeight-te-re),transform:ae}),G.displayed||(K.css("display","block"),G.displayed=!0)}}X&&G.displayed&&(K.css("display","none"),G.displayed=!1)}}}for(var ie=F;ie<this.teamSelectors.length;ie++){var oe=this.teamSelectors[ie];for(var se in oe.indicators)if(oe.indicators.hasOwnProperty(se)){var ne=oe.indicators[se];ne.displayed&&(ne.elem.css("display","none"),ne.displayed=!1)}oe.groupIdDisplayed&&(oe.groupId.css("display","none"),oe.groupIdDisplayed=!1)}if(a.factionMode){var le=o.me(b.__id);if(this.flairId!=le.teamId){this.flairId=le.teamId;var ce=1==this.flairId?"red":"blue";this.flairElems.css({display:"block","background-image":"url(../img/gui/player-patch-"+ce+".svg)"})}}n>1&&this.groupPlayerCount!=F&&y.uiLayout==y.UiLayout.Lg?(this.groupPlayerCount=F,this.spectateOptionsWrapper.css({top:this.groupPlayerCount*this.teamMemberHeight+12})):1==n&&this.spectateOptionsWrapper.css({top:12}),this.updatePlayerMapSprites(e,t,o,a),this.mapSpriteBarn.update(e,this,a),this.pieTimer.update(e,s),this.trySendAdStatus},updatePlayerMapSprites:function(e,t,a,r){for(var i=this,o=a.me(t.__id),s=(a.getGroupInfo(o.groupId),a.getTeamInfo(o.teamId),0),n=function(e,t,a,r,o,n,c){if(s>=i.playerMapSprites.length){var m=i.mapSpriteBarn.addSprite;i.playerMapSprites.push(m)}var p=i.playerMapSprites[s++];p.pos=u.copy(e),p.scale=t,p.alpha=a,p.visible=r,p.zOrder=o,p.sprite.texture=l.Texture.fromImage(n),p.sprite.tint=c},c=Object.keys(a.playerStatus),m=0;m<c.length;m++){var p=a.playerStatus[c[m]],h=p.playerId,d=a.me(h),g=d.groupId==o.groupId,w=65535+2*h;h==o.playerId&&(w+=131070);var f=T[p.role],b=f&&f.mapIcon;b&&(w+=65535);var _="player-map-inner.img";b&&(_=f.mapIcon.alive),p.dead?(_="skull-outlined.img",b&&(_=f.mapIcon.dead)):p.downed&&(_=g?"player-map-inner.img":"player-map-downed.img");var x=g?a.getGroupColor(h):a.getTeamColor(d.teamId);r.factionMode&&b&&(x=a.getTeamColor(d.teamId));var S=y.uiLayout==y.UiLayout.Sm?.15:.2,v=S;if(v=g?p.dead?1.5*S:b?1.25*S:1*S:p.dead||p.downed||b?1.25*S:.75*S,n(p.pos,v,p.minimapAlpha,p.minimapVisible,w,_,x),g){var z=y.uiLayout==y.UiLayout.Sm?.25:.3,k=p.minimapVisible&&!b;n(p.pos,z,p.minimapAlpha,k,w-1,"player-map-outer.img",16777215)}}for(var I=this.playerMapSprites.length-1;I>=s;I--)this.playerMapSprites[I].visible=!1},getMinimapMargin:function{return y.uiLayout==y.UiLayout.Sm?4:16},getMinimapSize:function{return y.uiLayout==y.UiLayout.Sm?192:256},getMinimapBorderWidth:function{return y.uiLayout==y.UiLayout.Sm?1:4},createPing:function(e,t,a,r,i,o){var s=this,n=I[e];if(n){var c=function(e,a){var r=s.mapSpriteBarn.addSprite;return r.pos=u.copy(t),r.scale=e,r.lifetime=n.mapLife,r.pulse=!1,r.zOrder=100,r.sprite.texture=l.Texture.fromImage(n.mapTexture),r.sprite.tint=a,r},m=function(e){var a=s.mapSpriteBarn.addSprite;return a.pos=u.copy(t),a.scale=0,a.lifetime=n.pingLife,a.pulse=!0,a.zOrder=99,a.sprite.texture=l.Texture.fromImage("ping-map-pulse.img"),a.sprite.tint=e,a};if(n.mapEvent)c(1.5*(y.uiLayout==y.UiLayout.Sm?.15:.2),n.tint).release,m(n.tint).release;else{var p=16777215,h=i.me(r),d=i.me(a),g=i.pe(a);h&&d&&g&&(p="leader"==g.role?65280:h.groupId==d.groupId?i.getGroupColor(a):i.getTeamColor(d.teamId)),this.playerPingSprites[a]||(this.playerPingSprites[a]=[]);for(var w=this.playerPingSprites[a],f=0;f<w.length;f++)w[f].free;var b=y.uiLayout==y.UiLayout.Sm?.15:.2,_=c(b,p),x=m(p);w.push(_),w.push(x)}}},updateMapSprite:function(e,t,a,r){e.displayed&&(void 0!=e.life&&(e.life-=r,e.displayed=e.life>0,e.maxLife-e.life<.1?t.alpha=(e.maxLife-e.life)/.1:e.life<.5?t.alpha=g.max(e.life/.5,0):t.alpha=1),e.pulse&&e.displayed&&(e.scale=e.scale+r/2.5,t.scale.set(e.scale,e.scale)),t.visible=a&&t.alpha>0)},he:function(e){this.ie.ue(e)},getMapPosFromWorldPos:function(e,t){var a=this.mapSprite.x-this.mapSprite.width/2+e.x/t.width*this.mapSprite.width,r=this.mapSprite.y+this.mapSprite.height/2-e.y/t.height*this.mapSprite.height;return u.create(a,r)},getWorldPosFromMapPos:function(e,t,a){var r=!1;if(y.screenWidth,this.bigmapDisplayed){var i=(a.screenWidth-this.mapSprite.width)/2,o=(a.screenHeight-this.mapSprite.height)/2;y.uiLayout!=y.UiLayout.Sm||y.isLandscape||(o=0),r=e.x>i&&e.x<a.screenWidth-i&&e.y>o&&e.y<a.screenHeight-o}else if(this.minimapDisplayed){var s=this.getMinimapSize,n=this.getMinimapMargin,l=s*this.screenScaleFactor,c=.5*(l+n);r=e.x>this.minimapPos.x-c&&e.x<this.minimapPos.x+c&&e.y>this.minimapPos.y-c&&e.y<this.minimapPos.y+c}if(r){var m=u.create(this.mapSprite.x-this.mapSprite.width/2,this.mapSprite.y+this.mapSprite.height/2),p=(e.x-m.x)/this.mapSprite.width*t.width,h=(m.y-e.y)/this.mapSprite.height*t.height;return u.create(p,h)}return!1},hideAll:function{this.gameElem.css("display","none")},showAll:function{this.gameElem.css("display","block")},removeAds:function{if(y.webview&&y.version>="1.0.8")this.adManager.hideBannerAd;else if(window.aiptag){var e=[];e=y.mobile?["surviv-io_300x250","surviv-io_728x90","surviv-io_300x250_mobile_2"]:["surviv-io_300x250","surviv-io_728x90","surviv-io_300x250_2"],y.mobile||e.push("surviv-io_300x600");for(var t=0;t<e.length;t++)!function(t){var a=e[t];window.aiptag.cmd.display.push(function{window.aipDisplayTag.destroy(a)})}(t)}},refreshMainPageAds:function{if(y.webview&&y.version>="1.0.8")this.adManager.showBannerAd;else if(window.aiptag){var e=[];y.mobile?(e=["surviv-io_300x250"],y.tablet&&e.push("surviv-io_728x90")):e=["surviv-io_300x250","surviv-io_728x90"];for(var t=0;t<e.length;t++)!function(t){var a=e[t];window.aiptag.cmd.display.push(function{window.aipDisplayTag.display(a)})}(t)}},trySendAdStatus:function{if(++this.frame%180==0&&!this.sentAdStatus&&(window.aiptagPreroll||window.freestarPreroll||this.game.H)){this.sentAdStatus=!0;var e=new d.AdStatusMsg;e.blocked=window.adsBlocked,e.prerollLoaded=void 0!==window.preroll,e.prerollFreestar=!!window.freestarPreroll,e.prerollAIP=!!window.aiptagPreroll,this.game.J(d.Msg.AdStatus,e)}},setLocalKills:function(e){this.playerKills.html(e)},clearUI:function{this.pieTimer.stop,this.curAction={type:p.None},this.displayMapLarge(!0),this.displayMiniMap,this.clearStatsElems,this.clearTeamUI,this.toggleEscMenu(!0),this.toggleLocalStats(!0),this.visibilityMode=0,this.spectatorCount=0,this.setLocalKills(0)},beginSpectating:function{this.specBegin=!0},hideStats:function{this.displayingStats=!1,this.statsMain.css("display","none"),this.statsElem.stop.css({display:"none",opacity:0}),this.statsContents.stop.hide,y.webview&&y.version>="1.0.8"&&this.adManager.hideBannerAd},teamModeToString:function(e){var t={unknown:"game-rank",1:"game-solo-rank",2:"game-duo-rank",4:"game-squad-rank"},a=t[e]||t.unknown;return this.localization.translate(a)},getTitleVictoryText:function(e){return e?this.spectatedPlayerName+" "+this.localization.translate("game-won-the-game"):this.localization.translate("game-chicken")},getTitleDefeatText:function(e,t){return t?this.spectatedPlayerName+" "+this.localization.translate("game-player-died")+".":e>1?this.localization.translate("game-team-eliminated"):this.localization.translate("game-You")+" "+this.localization.translate("game-you-died")+"."},getOverviewElems:function(e,t,a,r){if(r){var i=this.localization.translate("game-red-team"),o=this.localization.translate("game-blue-team");return' '+i+' '+this.playersAliveRedCounter+'   '+o+' '+this.playersAliveBlueCounter+"  "}return 1==e?' '+this.teamModeToString(e)+' #'+t+"  ":'  '+this.teamModeToString(e)+' #'+t+'   '+this.localization.translate("game-team-kills")+' '+a+"  "},quitGame:function{var e=this;this.game.gameOver=!0;var t=function{e.refreshMainPageAds,e.game.onQuit};this.adManager.onGameComplete(t)},showStats:function(e,t,a,i,o,s,l,c,m,p,h,d){var u=this;if(!c||t==s||o){this.toggleEscMenu(!0),this.displayingStats=!0,this.pieTimer.stop,this.displayMapLarge(!0),this.clearStatsElems,this.setSpectating(!1,l),this.removeAds,this.statsMain.css("display","block"),this.statsLogo.css("display","block"),this.statsContentsContainer.css({top:""}),this.statsInfoBox.css({height:""});var w=s==i,f=w?1750:2500;this.setBannerAd(f,d,!0);for(var b=s==i||c&&i==t,_=c&&s!=t,S=b?this.getTitleVictoryText(_):this.getTitleDefeatText(l,_),v=0,z=0;z<e.length;z++)v+=e[z].kills;var k=this.getOverviewElems(l,a,v,h),I=n(" ").append(n(" ",{class:"ui-stats-header-title",html:S})).append(n(" ",{class:"ui-stats-header-overview",html:k}));this.statsHeader.html(I);var T=function(e,t){return n(" ",{class:"ui-stats-info"}).append(n(" ",{html:e})).append(n(" ",{html:t}))},M=y.uiLayout!=y.UiLayout.Sm||y.tablet?250:125,C=0;C-=(e.length-1)*M/2,C-=10*(e.length-1);for(var P=0;P<e.length;P++){var A=e[P],O=m.me(A.playerId),E=r(A.timeAlive),D="ui-stats-info-player";D+=A.dead?" ui-stats-info-status":"";var B=function(e){return n(" ",{class:e})}(D);if(B.css("left",C),B.append(n(" ",{class:"ui-stats-info-player-name",html:x.htmlEscape(O.name)})),B.append(T(this.localization.translate("game-kills"),""+A.kills)).append(T(this.localization.translate("game-damage-dealt"),A.damageDealt)).append(T(this.localization.translate("game-damage-taken"),A.damageTaken)).append(T(this.localization.translate("game-survived"),E)),h&&o)switch(P){case 1:B.append(n(" ",{class:"ui-stats-info-player-badge ui-stats-info-player-red-leader"}));break;case 2:B.append(n(" ",{class:"ui-stats-info-player-badge ui-stats-info-player-blue-leader"}));break;case 3:var R=1==O.teamId?"ui-stats-info-player-red-ribbon":"ui-stats-info-player-blue-ribbon";B.append(n(" ",{class:"ui-stats-info-player-badge "+R}))}this.statsInfoBox.append(B),C+=10}var L=n("<a/>",{class:"ui-stats-restart btn-green btn-darken menu-option",html:this.localization.translate("game-play-new-game")});if(L.on("click",function{u.quitGame}),this.statsOptions.append(L),o||this.waitingForPlayers)L.css({width:y.uiLayout!=y.UiLayout.Sm||y.tablet?225:130});else{L.css({left:y.uiLayout!=y.UiLayout.Sm||y.tablet?-72:-46});var F=n("<a/>",{class:"btn-green btn-darken menu-option ui-stats-spectate",html:this.localization.translate("game-spectate")});F.on("click",this.beginSpectating.bind(this)),this.statsOptions.append(F)}var q=0,j=250/g.max(1,e.length),N=750/g.max(1,e.length);this.statsInfoBox.children.each(function(e,t){var a=n(t);a.css("opacity",0),a.delay(f+N+(q+e)*j).animate({opacity:1},500,function{a.children.each(function(e,t){n(t).delay(e*j).animate({opacity:1},500)})}),a.children.each(function(e,t){n(t).css("opacity",0),q++}),q++}),this.statsOptions.children.each(function(e,t){var a=n(t);a.hide;var r=f+N+(q+e)*j+500;a.delay(r).fadeIn(500),q++}),this.statsElem.stop,this.statsElem.css("display","block"),this.statsElem.delay(f).animate({opacity:1},1e3),this.statsContents.stop,this.statsContents.css("display","block"),this.statsContents.delay(f).animate({opacity:1},1e3)}},clearStatsElems:function{this.statsHeader.empty,this.statsInfoBox.empty,this.statsOptions.empty,this.statsAds.css("display","none"),this.statsContents.stop,this.statsContents.css({display:"none",opacity:0}),this.statsElem.stop,this.statsElem.css({display:"none",opacity:0}),this.statsMain.css("display","none")},showTeamAd:function(e,t){var a=this;this.toggleEscMenu(!0),this.displayMapLarge(!0),this.clearStatsElems,this.statsMain.css("display","block"),this.statsLogo.css("display","none"),this.pieTimer.stop,this.displayingStats=!0,this.statsHeader.html(function{var t=a.localization.translate("game-You");t+=" ",t+=a.localization.translate("game-you-died"),t+=".";var r=' '+a.localization.translate("game-kills")+" ";return r+=' '+e.kills+" ",n(" ",{class:""}).append(n(" ",{class:"ui-stats-header-title",html:t})).append(n(" ",{class:"ui-stats-header-overview",html:r}))}),this.statsContentsContainer.css({top:"10%"}),this.statsInfoBox.css({height:0});var r=n("<a/>",{class:"ui-stats-restart btn-green btn-darken menu-option",html:this.localization.translate("game-play-new-game")});r.on("click",function{a.quitGame}),this.statsOptions.append(r),r.css({left:y.uiLayout!=y.UiLayout.Sm||y.tablet?-72:-46});var i=n("<a/>",{class:"btn-green btn-darken menu-option ui-stats-spectate",html:this.localization.translate("game-spectate")});i.on("click",this.beginSpectating.bind(this)),this.statsOptions.append(i),this.setBannerAd(2500,t,!1);var o=0;this.statsOptions.children.each(function(e,t){var a=n(t);a.hide;var r=4100+300*(o+e)+300;a.delay(r).fadeIn(750),o++}),this.statsElem.stop,this.statsElem.css("display","block"),this.statsElem.delay(2500).animate({opacity:1},1e3),this.statsContents.stop,this.statsContents.css("display","block"),this.statsContents.delay(2500).animate({opacity:1},1e3)},setBannerAd:function(e,t,a){var r=this,i=Math.max(e-150,0);window.adsBlocked&&(i+=500),setTimeout(function{if(y.webview&&y.version>="1.0.8")r.adManager.showBannerAd;else if(window.adsBlocked){var e=n(y.mobile?"#ui-stats-ad-container-mobile":"#ui-stats-ad-container-desktop");e.css("display","inline-block");var a="";if(a=n(y.mobile?"#surviv-io_300x250_mobile_2":"#surviv-io_300x250_2")){a.html("");var i=n(".ui-stats-adblock").clone;i.css("display","block"),a.html(i)}}else if(window.aiptag){var o=n(y.mobile?"#ui-stats-ad-container-mobile":"#ui-stats-ad-container-desktop");o.css("display","inline-block");var s="";(s=y.mobile?"surviv-io_300x250_mobile_2":"surviv-io_300x250_2")&&window.aiptag.cmd.display.push(function{window.aipDisplayTag.display(s)})}t.hideKillMessage},i)},setSpectateTarget:function(e,t,a,r){if(e!=this.spectatedPlayerId){this.setSpectating(!0,a);var i=r.getPlayerName(e,t,!1);this.spectatedPlayerId=e,this.spectatedPlayerName=x.htmlEscape(i),this.spectatedPlayerText.find("#spectate-player").html(this.spectatedPlayerName),this.actionSeq=-1,this.pieTimer.stop}},setSpectating:function(e,t){if(this.spectating!=e)if(this.spectating=e,this.spectating){this.spectateMode.css("display","block"),n(".ui-zoom").removeClass("ui-zoom-hover");var a=1==t;this.specPrevButton.css("display",a?"none":"block"),this.specNextButton.css("display",a?"none":"block"),this.hideStats}else this.spectateMode.css("display","none"),n(".ui-zoom").addClass("ui-zoom-hover")},setLocalStats:function(e){var t={kills:this.localization.translate("game-kills"),damageDealt:this.localization.translate("game-damage-dealt"),damageTaken:this.localization.translate("game-damage-taken"),timeAlive:this.localization.translate("game-survived")};this.spectateModeStatsData.empty;for(var a in t)if(t.hasOwnProperty(a)){var i=t[a],o="timeAlive"==a?r(e[a]):e[a],s=' <td class="ui-spectate-stats-category">'+i+' <td class="ui-spectate-stats-value">'+o+"  ";this.spectateModeStatsData.append(s)}},toggleLocalStats:function{var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="none"==this.spectateModeStats.css("display")&&!e;this.spectateModeStats.css("display",t?"inline-block":"none"),this.specStatsButton.html(t?this.localization.translate("game-hide-match-stats"):this.localization.translate("game-view-match-stats"))},updatePlayersAlive:function(e){this.playersAlive.html(e),this.leaderboardAlive.css("display","block"),this.leaderboardAliveFaction.css("display","none")},updatePlayersAliveRed:function(e){this.playersAliveRed.html(e),this.playersAliveRedCounter=e,this.leaderboardAlive.css("display","none"),this.leaderboardAliveFaction.css("display","block"),n("#ui-map-counter-default").css("display","none"),n("#ui-map-counter-faction").css("display","inline-block")},updatePlayersAliveBlue:function(e){this.playersAliveBlue.html(e),this.playersAliveBlueCounter=e,this.leaderboardAlive.css("display","none"),this.leaderboardAliveFaction.css("display","block"),n("#ui-map-counter-default").css("display","none"),n("#ui-map-counter-faction").css("display","inline-block")},updateKillLeader:function(e,t,a){var r=0!=e;this.killLeaderName.html(r?t:"Waiting for new leader"),this.killLeaderCount.html(r?a:0)},displayMapLarge:function(e){this.bigmapDisplayed=!e&&!this.bigmapDisplayed,this.bigmapDisplayed?this.container.alpha=1:this.container.alpha=this.minimapDisplayed?1:0;var t=y.uiLayout==y.UiLayout.Sm?".js-ui-mobile-map-hidden":"js-ui-desktop-map-hidden";t+=", .js-ui-map-hidden",n(2==this.visibilityMode?".js-ui-hud-show":t).css("display",this.bigmapDisplayed?"none":"block"),n(".js-ui-map-show").css("display",this.bigmapDisplayed?"block":"none"),this.updateSpectatorCountDisplay(!0),this.redraw(this.game.se)},updateSpectatorCountDisplay:function(e){var t=!this.bigmapDisplayed&&this.spectatorCount>0;e=e||this.spectatorCount>0&&!this.spectatorCounterDisplayed||0==this.spectatorCount&&this.spectatorCounterDisplayed,this.spectatorCount!=this.prevSpectatorCount&&(this.spectatorCounter.html(this.spectatorCount),this.prevSpectatorCount=this.spectatorCount),e&&(this.spectatorCounterContainer.css("display",t?"block":"none"),this.spectatorCounterDisplayed=t)},toggleMiniMap:function{this.minimapDisplayed?this.hideMiniMap:this.displayMiniMap},cycleVisibilityMode:function{if(!this.bigmapDisplayed)switch(this.visibilityMode){case 0:this.hideMiniMap,this.visibilityMode=1;break;case 1:this.displayMiniMap,this.visibilityMode=0}},cycleHud:function{"none"==this.gameElem.css("display")?(this.gameElem.css("display","block"),this.displayMiniMap,this.hudVisible=!0):(this.gameElem.css("display","none"),this.hideMiniMap,this.hudVisible=!1)},hideMiniMap:function{this.bigmapDisplayed||(this.minimapDisplayed=!1,this.container.alpha=0,this.mapInfo.css("bottom","auto"),this.spectatorCounterContainer.css({bottom:6,left:98}))},displayMiniMap:function{if(!this.bigmapDisplayed){var e=y.uiLayout==y.UiLayout.Sm;this.minimapDisplayed=!0,this.container.alpha=1,this.mapInfo.css("bottom",this.mapInfoBottom),this.spectatorCounterContainer.css({bottom:e?0:218,left:e?0:6})}},displayAnnouncement:function(e){var t=this;e&&(this.announcement.html(e),this.announcement.fadeIn(400,function{setTimeout(function{t.announcement.fadeOut(800)},3e3)}))},displayGasAnnouncement:function(e,t){var a="";switch(e){case h.Waiting:a=this.localization.translate("game-red-zone-advances");var r=Math.floor(t/60),i=t-60*r;a+=r>1?" "+r+" "+this.localization.translate("game-minutes"):"",a+=1==r?" "+r+" "+this.localization.translate("game-minute"):"",a+=i>0?" "+Math.floor(i)+" "+this.localization.translate("game-seconds"):"";break;case h.Moving:a=this.localization.translate("game-red-zone-advancing")}this.displayAnnouncement(a)},setWaitingForPlayers:function(e){this.waitingForPlayers=e,this.waitingText.css("display",e?"block":"none")},render:function(e,t,a,r,i,o){var s=t.getCircle,n=this.getMapPosFromWorldPos(s.pos,r),l=this.getMapPosFromWorldPos(u.add(s.pos,u.create(s.rad,0)),r),c=u.length(u.sub(l,n));this.gasRenderer.render(n,c,t.isActive);var m=t.circleNew,p=this.getMapPosFromWorldPos(m.pos,r),h=this.getMapPosFromWorldPos(u.add(m.pos,u.create(m.rad,0)),r),d=u.length(u.sub(h,p)),g=this.getMapPosFromWorldPos(e,r),y=t.isActive,w=t.isActive&&!this.bigmapDisplayed;this.gasSafeZoneRenderer.render(p,d,g,y,w),i.renderAirstrikeZones(this,r,o)},updateHealthBar:function(e,t,a,r){var i=e,s=.01*r.health*i;s=r.dead?0:g.max(s,1),t.css("width",s),s>0&&a&&a.css("width",s);var n=r.health,l=this.healthRed,c=this.healthDarkpink;if(n>25){if(r.downed)t.css({backgroundColor:"red"});else{g.eqAbs(n,100,.2)?(l=this.healthGrey,c=this.healthGrey):g.eqAbs(n,75,.2)||n>=75?(l=this.healthWhite,c=this.healthWhite):(l=this.healthDarkpink,c=this.healthLightpink);var m=l.getColors,p=c.getColors,h=o(m.r,p.r,45,n),d=o(m.g,p.g,45,n),u=o(m.b,p.b,45,n);t.css({backgroundColor:"rgba("+h+","+d+","+u+",1)"})}t.removeClass("ui-bar-danger")}else t.addClass("ui-bar-danger")},updateTeam:function(e,t,a,r,i,o,s){var n=this.teamSelectors[e].groupId,l=this.teamSelectors[e].teamName,c=this.teamSelectors[e].prevHealth,m=this.teamSelectors[e].prevStatus,p=r.dead!=m.dead||r.disconnected!=m.disconnected||r.downed!=m.downed||r.role!=m.role;if(this.teamSelectors[e].playerId!=i||a!=c||p){var h=(this.teamSelectors[e].teamIcon,this.teamSelectors[e].teamStatus),d=this.teamSelectors[e].teamHealthInner;this.teamSelectors[e].playerId=i,this.teamSelectors[e].teamNameHtml=t,l.html(t),this.updateHealthBar(this.teamMemberHealthBarWidth,d,null,{health:a,dead:r.dead,downed:r.downed}),p&&(h.attr("class","ui-team-member-status"),r.disconnected?h.addClass("ui-team-member-status-disconnected"):r.dead?h.addClass("ui-team-member-status-dead"):r.downed&&h.addClass("ui-team-member-status-downed").addClass("icon-pulse"),l.css("opacity",r.disconnected||r.dead?.3:1)),n.css("display","block"),this.teamSelectors[e].prevStatus=r,this.teamSelectors[e].prevHealth=a}},clearTeamUI:function{n(".ui-team-member").css("display","none"),n(".ui-team-indicator").css("display","none"),n(".ui-team-member-name").removeAttr("style"),n(".ui-team-member-status").removeAttr("style"),n(".ui-team-member-status").removeClass("ui-team-member-status-downed ui-team-member-status-dead ui-team-member-status-disconnected icon-pulse"),this.teamSelectors=[]},resize:function(e,t){this.screenScaleFactor=y.uiLayout==y.UiLayout.Sm?.5626:g.min(1,g.clamp(t.screenWidth/1280,.75,1)*g.clamp(t.screenHeight/1024,.75,1)),this.pieTimer.resize(this.touch,this.screenScaleFactor),this.gasRenderer.resize,this.mapSprite.texture=e.getMapTexture,this.redraw(t)},redraw:function(e){var t=e.screenWidth,a=e.screenHeight,r=this.getMinimapMargin,i=0,o=0;"iphonex"==y.model&&(y.isLandscape?i+=28:o+=32);var s=this.getMinimapSize,n=this.getMinimapBorderWidth,l=y.uiLayout==y.UiLayout.Sm;if(this.display.border.clear,this.container.mask.clear,this.bigmapDisplayed){var c=g.min(t,a);this.mapSprite.width=c,this.mapSprite.height=c,this.mapSprite.x=t/2,this.mapSprite.y=a/2,this.mapSprite.alpha=1,this.container.mask.beginFill(16777215,1),this.container.mask.drawRect(this.mapSprite.x-this.mapSprite.width/2,this.mapSprite.y-this.mapSprite.height/2,this.mapSprite.width,this.mapSprite.height),this.container.mask.endFill,y.touch&&this.bigmapCollision.css({width:a,height:t})}else{var m=1600*this.screenScaleFactor/1.2,p=s*this.screenScaleFactor;this.mapSprite.width=m,this.mapSprite.height=m,this.mapSprite.alpha=.8;var h={zoom:this.screenScaleFactor};document.body&&("WebkitTransform"in document.body.style?h={"-webkit-transform":"scale("+this.screenScaleFactor+")"}:"transform"in document.body.style&&(h={transform:"scale("+this.screenScaleFactor+")"})),this.mapContainer.css(h),this.mapContainer.css("bottom",this.mapContainerBottom*this.screenScaleFactor);var d=l?p/2+r:a-p/2-r;this.minimapPos.x=r+p/2+i,this.minimapPos.y=d+o,this.display.border.lineStyle(n,0),this.display.border.beginFill(0,0);var u=l?r+n/2:a-p-r+n/2;this.display.border.drawRect(r+n/2+i,u+o,p-n,p-n),this.display.border.endFill;var w=l?r:a-p-r;this.container.mask.beginFill(16777215,1),this.container.mask.drawRect(r+i,w-.5+o,p,p),this.container.mask.endFill}},toggleEscMenu:function{var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.displayingStats){if(this.escMenuDisplayed||t)return this.escMenuDisplayed=!1,this.escMenuElem.css("display","none"),this.setCurrentGameTab("settings"),n("#ui-center").off("mouseenter mouseleave"),void(this.inputBinds.menuHovered=!1);if(this.bigmapDisplayed)return void this.displayMapLarge(!0);2==this.visibilityMode&&this.cycleVisibilityMode,this.escMenuDisplayed=!0,this.escMenuElem.css("display","block"),n("#ui-center").hover(function{e.inputBinds.menuHovered=!0},function{e.inputBinds.menuHovered=!1}),this.inputBinds.menuHovered=!1}},setCurrentGameTab:function(e){this.currentGameTab=e,this.gameTabs.css("display","none"),this.gameTabBtns.removeClass("btn-game-menu-selected"),n("#ui-game-tab-"+this.currentGameTab).css("display","block"),n("#btn-game-"+this.currentGameTab).addClass("btn-game-menu-selected"),"keybinds"==this.currentGameTab?this.inputBindUi.refresh:this.inputBindUi.cancelBind}},e.exports={ge:i}},"33375c30":function(e,t,a){"use strict";function r(e,t,a){var r=t-e,i=r*a;return Math.abs(i)<.001?r:i}function i{this.sprites=[],this.particleEmitters=[],this.soundEmitters=[]}var o=(a("0e566746"),a("8b1dfb45")),s=a("6b42806d"),n=a("10899aea"),l=a("7510cc08"),c=a("1901e2d9"),m=a("c2a798c8"),p=a("6d494b5c"),h=(a("c347b8dd"),a("af8ba00f"),a("03f4982a"));i.prototype={o:function{this.isNew=!1,this.residue=null,this.ceilingDead=!1,this.ceilingDamaged=!1,this.playedCeilingDeadFx=!1,this.playedSolvedPuzzleFx=!1,this.hasPuzzle=!1,this.puzzleErrSeqModified=!1,this.puzzleErrSeq=0,this.puzzleSolved=!1,this.soundEmitterTicker=0},n:function{for(var e=0;e<this.sprites.length;e++){var t=this.sprites[e];t.active=!1,t.sprite.visible=!1,t.sprite.parent&&t.sprite.parent.removeChild(t.sprite),t.sprite.removeChildren}for(var a=0;a<this.particleEmitters.length;a++)this.particleEmitters[a].stop;this.particleEmitters=[];for(var r=0;r<this.soundEmitters.length;r++)this.soundEmitters[r].instance&&this.soundEmitters[r].instance.stop;this.soundEmitters=[]},allocSprite:function{for(var e=0;e<this.sprites.length;e++){var t=this.sprites[e];if(!t.active)return t.active=!0,t.sprite}var a=new o.Sprite;return a.anchor.set(.5,.5),this.sprites.push({active:!0,sprite:a}),a},c:function(e,t,a,r){var i=this;t&&(this.type=e.type,this.pos=m.copy(e.pos),this.ori=e.ori,this.rot=n.oriToRad(e.ori),this.scale=1,this.layer=e.layer),this.ceilingDead=e.ceilingDead,this.ceilingDamaged=e.ceilingDamaged,this.occupied=e.occupied,this.hasPuzzle=e.hasPuzzle,this.hasPuzzle&&(this.puzzleErrSeqModified=e.puzzleErrSeq!=this.puzzleErrSeq,this.puzzleSolved=e.puzzleSolved,this.puzzleErrSeq=e.puzzleErrSeq);var p=h[this.type];if(a){this.isNew=!0,this.playedCeilingDeadFx=void 0!==p.ceiling.destroy&&-1!=r.map.deadCeilingIds.indexOf(this.__id),this.playedSolvedPuzzleFx=this.hasPuzzle&&-1!=r.map.solvedPuzzleIds.indexOf(this.__id);var d=function(e){var t=e.pos||m.create(0,0),a=n.oriToRad(e.rot||0),s=i.allocSprite;s.texture=o.Texture.fromImage(e.sprite),s.tint=e.tint;var l=r.map.getMapDef.biome.valueAdjust;return l<1&&(s.tint=c.adjustValue(s.tint,l)),s.posOffset=m.rotate(t,i.rot),s.rotOffset=a,s.imgAlpha=e.alpha,s.alpha=s.imgAlpha,s.defScale=e.scale,s.mirrorY=!!e.mirrorY,s.visible=!0,s};this.bounds=s.transform(l.getBoundingCollider(this.type),this.pos,this.rot,this.scale),this.zIdx=p.zIdx||0,this.surfaces=[];for(var u=0;u<p.floor.surfaces.length;u++){for(var g=p.floor.surfaces[u],y={type:g.type,data:g.data||{},colliders:[]},w=0;w<g.collision.length;w++)y.colliders.push(s.transform(g.collision[w],this.pos,this.rot,this.scale));this.surfaces.push(y)}var f=Object.assign({},{dist:5.5,width:2.75,linger:0,fadeRate:12},p.ceiling.vision);this.ceiling={zoomRegions:[],vision:f,visionTicker:0,fadeAlpha:1};for(var b=0;b<p.ceiling.zoomRegions.length;b++){var _=p.ceiling.zoomRegions[b];this.ceiling.zoomRegions.push({zoomIn:_.zoomIn?s.transform(_.zoomIn,this.pos,this.rot,this.scale):null,zoomOut:_.zoomOut?s.transform(_.zoomOut,this.pos,this.rot,this.scale):null})}this.imgs=[];for(var x=0;x<p.floor.imgs.length;x++)this.imgs.push({sprite:d(p.floor.imgs[x]),isCeiling:!1,zOrd:this.zIdx,zIdx:100*this.__id+x});for(var S=0;S<p.ceiling.imgs.length;S++){var v=p.ceiling.imgs[S];this.imgs.push({sprite:d(v),isCeiling:!0,removeOnDamaged:!!v.removeOnDamaged,zOrd:750-this.zIdx,zIdx:100*this.__id+S})}for(var z=p.occupiedEmitters||[],k=0;k<z.length;k++){var I=z[k],T=void 0!==I.rot?I.rot:0,M=this.rot+T,C=m.add(this.pos,m.rotate(I.pos,M)),P=I.dir||m.create(1,0),A=m.rotate(P,M),O=I.scale,E=null;if(I.parentToCeiling){for(var D=-1,B=0;B<this.imgs.length;B++)this.imgs[B].isCeiling&&(D=B);if(D>=0){var R=this.imgs[D];E=R.sprite,C=m.mul(I.pos,32),C.y*=-1,A=m.rotate(m.create(1,0),I.rot),O=1/R.sprite.defScale}}var L=r.particleBarn.addEmitter(I.type,{pos:C,dir:A,scale:O,layer:I.layer,parent:E});this.particleEmitters.push(L)}for(var F=p.soundEmitters||[],q=0;q<F.length;q++){var j=F[q],N=m.add(this.pos,m.rotate(j.pos,this.rot));this.soundEmitters.push({instance:null,sound:j.sound,channel:j.channel,pos:N,range:j.range,falloff:j.falloff,volume:j.volume})}}},m:function(e,t,a,i,s,l,d,u){if(this.hasPuzzle){var g=h[this.type];if(this.puzzleErrSeqModified&&(this.puzzleErrSeqModified=!1,!this.isNew)){for(var y=this,w=m.length(m.sub(l.pos,y.pos)),f=t.ye.p,b=0;b<f.length;b++){var _=f[b];if(_.active&&_.isPuzzlePiece&&_.parentBuildingId==this.__id){var x=m.length(m.sub(l.pos,_.pos));x<w&&(y=_,w=x)}}i.playSound(g.puzzle.sound.fail,{channel:"sfx",soundPos:y.pos,layer:y.layer,filter:"muffled"})}this.puzzleSolved&&!this.playedSolvedPuzzleFx&&(t.solvedPuzzleIds.push(this.__id),this.playedSolvedPuzzleFx=!0,this.isNew||"none"==g.puzzle.sound.complete||i.playSound(g.puzzle.sound.complete,{channel:"sfx",soundPos:this.pos,layer:this.layer,filter:"muffled"}))}if(this.ceilingDead&&!this.playedCeilingDeadFx&&(t.deadCeilingIds.push(this.__id),this.playedCeilingDeadFx=!0,this.isNew||this.destroyCeilingFx(a,i)),this.isNew=!1,this.ceilingDead&&!this.residue){var S=h[this.type];if(void 0!==S.ceiling.destroy){var v=this.allocSprite;v.texture=o.Texture.fromImage(S.ceiling.destroy.residue),v.position.set(0,0),v.scale.set(1,1),v.rotation=0,v.tint=16777215,v.visible=!0,this.imgs[0].sprite.addChild(v),this.residue=v}}this.ceiling.visionTicker-=e;for(var z=this.ceiling.vision,k=!1,I=0;I<this.ceiling.zoomRegions.length;I++){var T=this.ceiling.zoomRegions[I].zoomIn;if(T&&(this.layer==l.layer||2&l.layer)&&p.scanCollider(T,t.ye.p,l.pos,l.layer,.5,2*z.width,z.dist,5)){k=!0;break}}this.ceilingDead&&(k=!0),k&&(this.ceiling.visionTicker=z.linger+1e-4),l.noCeilingRevealTicker>0&&!this.ceilingDead&&(this.ceiling.visionTicker=0);var M=this.ceiling.visionTicker>0,C=r(this.ceiling.fadeAlpha,M?0:1,e*(M?12:z.fadeRate));this.ceiling.fadeAlpha+=C,k&&l.noCeilingRevealTicker<=0&&2&l.layer&&!c.sameLayer(l.layer,this.layer)&&(this.ceiling.fadeAlpha=0);for(var P=0;P<this.particleEmitters.length;P++)this.particleEmitters[P].enabled=this.occupied;if(this.soundEmitterTicker+=e,this.soundEmitterTicker>.1){this.soundEmitterTicker=0;for(var A=0;A<this.soundEmitters.length;A++){var O=this.soundEmitters[A];if(!O.instance&&i.isSoundLoaded(O.sound,O.channel)&&(O.instance=i.playSound(O.sound,{channel:O.channel,loop:!0,forceStart:!0,startSilent:!0})),O.instance){var E=m.sub(u.pos,O.pos),D=m.length(E),B=n.remap(D,O.range.min,O.range.max,1,0),R=Math.pow(B,O.falloff),L=n.lerp(this.ceiling.fadeAlpha,1,.25),F=i.baseVolume*i.getTypeVolume("sound")*O.volume*R*L;c.sameAudioLayer(this.layer,l.layer)||(F=0),F<.003&&(F=0),O.instance.volume=F}}}for(var q=0;q<this.imgs.length;q++){var j=this.imgs[q],N=j.isCeiling?this.ceiling.fadeAlpha:1;this.positionSprite(j.sprite,N,u),j.removeOnDamaged&&this.ceilingDamaged&&(j.sprite.visible=!this.ceilingDamaged);var H=this.layer;j.isCeiling&&(this.layer==l.layer||2&l.layer&&1==this.layer)&&(H|=2),d.addPIXIObj(j.sprite,H,j.zOrd,j.zIdx)}},isInsideCeiling:function(e){for(var t=0;t<this.ceiling.zoomRegions.length;t++){var a=this.ceiling.zoomRegions[t].zoomIn;if(a&&s.intersect(a,e))return!0}return!1},getDistanceToBuilding:function(e,t){for(var a=t,r=0;r<this.ceiling.zoomRegions.length;r++){var i=this.ceiling.zoomRegions[r].zoomIn;if(i){var o=s.intersectCircle(i,e,t);o&&(a=n.clamp(t-o.pen,0,a))}}return a},destroyCeilingFx:function(e,t){for(var a=h[this.type].ceiling.destroy,r=this.surfaces[0],i=0;i<r.colliders.length;i++){for(var o=s.toAabb(r.colliders[i]),n=0;n<a.particleCount;n++){var l=m.create(c.random(o.min.x,o.max.x),c.random(o.min.y,o.max.y)),p=m.mul(m.randomUnit,c.random(0,15));e.addParticle(a.particle,this.layer,l,p)}break}t.playSound(a.sound||"ceiling_break_01",{channel:"sfx",soundPos:this.pos})},positionSprite:function(e,t,a){var r=a.pointToScreen(m.add(this.pos,e.posOffset)),i=a.pixels(this.scale*e.defScale);e.position.set(r.x,r.y),e.scale.set(i,i),e.mirrorY&&(e.scale.y*=-1),e.rotation=-this.rot+e.rotOffset,e.alpha=e.imgAlpha*t},render:function(e,t,a){}},e.exports=i},"34e32c48":function(e,t,a){"use strict";var r=a("10899aea"),i=a("c2a798c8"),o={circleToAabb:function(e,t){var a=i.create(t);return{min:i.sub(e,a),max:i.add(e,a)}},aabbToCircle:function(e,t){var a=i.mul(i.sub(t,e),.5);return{pos:i.add(e,a),rad:i.length(a)}},lineSegmentToAabb:function(e,t){return{min:i.create(e.x<t.x?e.x:t.x,e.y<t.y?e.y:t.y),max:i.create(e.x>t.x?e.x:t.x,e.y>t.y?e.y:t.y)}},boundingAabb:function(e){for(var t=i.create(Number.MAX_VALUE,Number.MAX_VALUE),a=i.create(-Number.MAX_VALUE,-Number.MAX_VALUE),o=0;o<e.length;o++){var s=e[o];t.x=r.min(t.x,s.min.x),t.y=r.min(t.y,s.min.y),a.x=r.max(a.x,s.max.x),a.y=r.max(a.y,s.max.y)}return{min:t,max:a}},splitAabb:function(e,t){var a=i.mul(i.sub(e.max,e.min),.5),r=i.add(e.min,a),o={min:i.copy(e.min),max:i.copy(e.max)},s={min:i.copy(e.min),max:i.copy(e.max)};Math.abs(t.y)>Math.abs(t.x)?(o.max=i.create(e.max.x,r.y),s.min=i.create(e.min.x,r.y)):(o.max=i.create(r.x,e.max.y),s.min=i.create(r.x,e.min.y));var n=i.sub(e.max,e.min);return i.dot(n,t)>0?[s,o]:[o,s]},scaleAabbAlongAxis:function(e,t,a){var r=i.mul(i.sub(e.max,e.min),.5),o=i.add(e.min,r),s=Math.abs(t.y)>Math.abs(t.x);return{min:i.create(s?e.min.x:o.x-r.x*a,s?o.y-r.y*a:e.min.y),max:i.create(s?e.max.x:o.x+r.x*a,s?o.y+r.y*a:e.max.y)}},clampPosToAabb:function(e,t){return i.minElems(i.maxElems(e,t.min),t.max)},clampPolygonToAabb:function(e,t){for(var a=[],r=0;r<e.length;r++)a.push(o.clampPosToAabb(e[r],t));return a},testPointAabb:function(e,t,a){return e.x>=t.x&&e.y>=t.y&&e.x<=a.x&&e.y<=a.y},testCircleAabb:function(e,t,a,o){var s=i.create(r.clamp(e.x,a.x,o.x),r.clamp(e.y,a.y,o.y));return i.lengthSqr(i.sub(e,s))<t*t||e.x>=a.x&&e.x<=o.x&&e.y>=a.y&&e.y<=o.y},testCircleCircle:function(e,t,a,r){var o=t+r;return i.lengthSqr(i.sub(a,e))<o*o},testAabbAabb:function(e,t,a,r){return e.x<r.x&&e.y<r.y&&a.x<t.x&&a.y<t.y},testAabbPolygon:function(e,t,a){for(var r=0;r<a.length;r++){var i=a[r],s=r==a.length-1?a[0]:a[r+1];if(o.intersectSegmentAabb(i,s,e,t))return!0}return!1},aabbInsideAabb:function(e,t,a,r){return e.x>=a.x&&e.y>=a.y&&t.x<=r.x&&t.y<=r.y},signedAreaTri:function(e,t,a){return(e.x-a.x)*(t.y-a.y)-(e.y-a.y)*(t.x-a.x)},intersectSegmentSegment:function(e,t,a,r){var s=o.signedAreaTri(e,t,r),n=o.signedAreaTri(e,t,a);if(0!=s&&0!=n&&s*n<0){var l=o.signedAreaTri(a,r,e),c=l+n-s;if(l*c<0){var m=l/(l-c);return{point:i.add(e,i.mul(i.sub(t,e),m))}}}return null},intersectSegmentCircle:function(e,t,a,o){var s=i.sub(t,e),n=r.max(i.length(s),1e-6);s=i.div(s,n);var l=i.sub(e,a),c=i.dot(l,s),m=i.dot(l,l)-o*o;if(m>0&&c>0)return null;var p=c*c-m;if(p<0)return null;var h=Math.sqrt(p),d=-c-h;if(d<0&&(d=-c+h),d<=n){var u=i.add(e,i.mul(s,d));return{point:u,normal:i.normalize(i.sub(u,a))}}return null},intersectSegmentAabb:function(e,t,a,o){var s=0,n=Number.MAX_VALUE,l=e,c=i.sub(t,e),m=i.length(c);c=m>1e-5?i.div(c,m):i.create(1,0);var p=Math.abs(c.x),h=Math.abs(c.y);if(p<1e-5&&(c.x=2e-5,p=c.x),h<1e-5&&(c.y=2e-5,h=c.y),p>1e-5){var d=(a.x-l.x)/c.x,u=(o.x-l.x)/c.x;if(s=r.max(s,r.min(d,u)),n=r.min(n,r.max(d,u)),s>n)return null}if(h>1e-5){var g=(a.y-l.y)/c.y,y=(o.y-l.y)/c.y;if(s=r.max(s,r.min(g,y)),n=r.min(n,r.max(g,y)),s>n)return null}if(s>m)return null;var w=i.add(e,i.mul(c,s)),f=i.add(a,i.mul(i.sub(o,a),.5)),b=i.sub(w,f),_=i.mul(i.sub(a,o),.5),x=b.x/Math.abs(_.x)*1.001,S=b.y/Math.abs(_.y)*1.001;return{point:w,normal:i.normalizeSafe(i.create(x<0?Math.ceil(x):Math.floor(x),S<0?Math.ceil(S):Math.floor(S)),i.create(1,0))}},intersectSegmentAabb2:function(e,t,a,r){for(var s=[{a:i.create(a.x,a.y),b:i.create(r.x,a.y)},{a:i.create(r.x,a.y),b:i.create(r.x,r.y)},{a:i.create(r.x,r.y),b:i.create(a.x,r.y)},{a:i.create(a.x,r.y),b:i.create(a.x,a.y)}],n=0;n<s.length;n++){var l=s[n],c=o.intersectSegmentSegment(e,t,l.a,l.b);if(c)return c}return null},intersectRayAabb:function(e,t,a,o){Math.abs(t.x)<1e-5&&(t.x=2e-5),Math.abs(t.y)<1e-5&&(t.y=2e-5);var s=i.divElems(i.sub(a,e),t),n=i.divElems(i.sub(o,e),t),l=i.minElems(s,n),c=i.maxElems(s,n),m=r.min(c.x,c.y);return m>=r.max(l.x,l.y)?i.add(e,i.mul(t,m)):null},intersectCircleCircle:function(e,t,a,r){var o=t+r,s=i.sub(a,e),n=i.lengthSqr(s);if(n<o*o){var l=Math.sqrt(n);return{dir:l>1e-5?i.div(s,l):i.create(1,0),pen:o-l}}return null},intersectAabbCircle:function(e,t,a,o){if(a.x>=e.x&&a.x<=t.x&&a.y>=e.y&&a.y<=t.y){var s=i.mul(i.sub(t,e),.5),n=i.add(e,s),l=i.sub(a,n),c=Math.abs(l.x)-s.x-o,m=Math.abs(l.y)-s.y-o;return c>m?{dir:i.create(l.x>0?1:-1,0),pen:-c}:{dir:i.create(0,l.y>0?1:-1),pen:-m}}var p=i.create(r.clamp(a.x,e.x,t.x),r.clamp(a.y,e.y,t.y)),h=i.sub(a,p),d=i.lengthSqr(h);if(d<o*o){var u=Math.sqrt(d);return{dir:u>1e-4?i.div(h,u):i.create(1,0),pen:o-u}}return null},intersectAabbAabb:function(e,t,a,r){var o=i.mul(i.sub(t,e),.5),s=i.add(e,o),n=i.mul(i.sub(r,a),.5),l=i.add(a,n),c=i.sub(l,s),m=o.x+n.x-Math.abs(c.x);if(m>0){var p=o.y+n.y-Math.abs(c.y);if(p>0)return m>p?{dir:c.x<0?i.create(-1,0):i.create(1,0),pen:m}:{dir:c.y<0?i.create(0,-1):i.create(0,1),pen:p}}return null}};e.exports=o},"3c92d644":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,a,r){var i=e.find(".login-options-content");i.empty,i.append(s(" ",{class:"account-login-desc"}).append(s(" ",{html:r.translate(t?"index-link-account-to":"index-log-in-with")})));var o=s(" ",{class:"account-buttons"});i.append(o);var n=function(e,a,i){var n=s(" ",{class:"menu-option btn-darken btn-standard btn-login-"+e});n.append(s(" ",{class:"login-button-name"}).append(s(" ",{html:r.translate("index-"+e)})).append(s(" ",{class:"icon"}))),t&&a?(n.addClass("btn-login-linked"),n.find("span.login-button-name").html(' ')):n.click(function(e){i}),o.append(n)};n("facebook",a.profile.linkedFacebook,function{l.webview&&l.version>"1.0.0"?a.loginWithAccessToken("/api/user/auth/facebook/token",p.facebookLogin,function(e){return e.authResponse.accessToken}):window.location.href="/api/user/auth/facebook"}),n("google",a.profile.linkedGoogle,function{l.webview&&l.version>"1.0.0"?a.loginWithAccessToken("/api/user/auth/google/token",p.googleLogin,function(e){return e.accessToken}):window.location.href="/api/user/auth/google"}),n("twitch",a.profile.linkedTwitch,function{window.location.href="/api/user/auth/twitch"}),n("discord",a.profile.linkedDiscord,function{window.location.href="/api/user/auth/discord"})}var o=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},s=a("8ee62bea"),n=(a("c4d99f11"),a("259eae5b")),l=a("ce29f17f"),c=a("26be8056"),m=a("fa71fb59"),p=a("f4d48896"),h=a("0503bedc"),d=function{function e(t,a,i,o){r(this,e),this.account=t,this.localization=a,this.loadoutMenu=i,this.errorModal=o,this.setNameModal=null,this.resetStatsModal=null,this.userSettingsModal=null,this.loginOptionsModal=null,this.createAccountModal=null,t.addEventListener("error",this.onError.bind(this)),t.addEventListener("login",this.onLogin.bind(this)),t.addEventListener("loadout",this.onLoadoutUpdated.bind(this)),t.addEventListener("items",this.onItemsUpdated.bind(this)),t.addEventListener("request",this.render.bind(this)),this.initUi,this.render}return o(e,[{key:"initUi",value:function{var e=this,t=function{s("#modal-body-warning").css("display","none"),s("#modal-account-name-input").val("")};this.setNameModal=new m(s("#modal-account-name-change")),this.setNameModal.onShow(t),this.setNameModal.onHide(t),s("#modal-account-name-finish").click(function(t){t.stopPropagation;var a=s("#modal-account-name-input").val;e.account.setUsername(a,function(t){if(t){var a={failed:"Failed setting username.",invalid:"Invalid username.",taken:"Name already taken!",change_time_not_expired:"Username has already been set recently."},r=a[t]||a.failed;s("#modal-body-warning").hide,s("#modal-body-warning").html(r),s("#modal-body-warning").fadeIn}else e.setNameModal.hide})}),s("#modal-account-name-input").on("keypress",function(e){13===(e.which||e.keyCode)&&s("#modal-account-name-finish").trigger("click")}),this.resetStatsModal=new m(s("#modal-account-reset-stats")),this.resetStatsModal.onShow(function{s("#modal-account-reset-stats-input").val(""),e.modalMobileAccount.hide}),s("#modal-account-reset-stats-finish").click(function(t){t.stopPropagation,"RESET STATS"==s("#modal-account-reset-stats-input").val&&(e.account.resetStats,e.resetStatsModal.hide)}),s("#modal-account-reset-stats-input").on("keypress",function(e){13===(e.which||e.keyCode)&&s("#modal-account-reset-stats-finish").trigger("click")}),this.userSettingsModal=new m(s(".account-buttons-settings")),this.userSettingsModal.checkSelector=!1,this.userSettingsModal.skipFade=!0,this.userSettingsModal.onShow(function{s(".account-details-top").css("display","none")}),this.userSettingsModal.onHide(function{s(".account-details-top").css("display","block")}),this.loginOptionsModal=new m(s("#account-login-options")),this.loginOptionsModal.checkSelector=!1,this.loginOptionsModal.skipFade=!0,this.loginOptionsModal.onShow(function{s(".account-details-top").css("display","none")}),this.loginOptionsModal.onHide(function{s(".account-details-top").css("display","block")}),this.loginOptionsModalMobile=new m(s("#account-login-options-mobile")),this.loginOptionsModalMobile.checkSelector=!1,this.loginOptionsModalMobile.skipFade=!0,this.loginOptionsModalMobile.onShow(function{s(".account-details-top").css("display","none")}),this.loginOptionsModalMobile.onHide(function{s(".account-details-top").css("display","block")}),this.createAccountModal=new m(s("#modal-create-account")),this.createAccountModal.onHide(function{e.loadoutMenu.hide}),this.modalMobileAccount=new m(s("#modal-mobile-account")),this.modalMobileAccount.onShow(function{s("#start-top-right").css("display","none"),s(".account-details-top").css("display","none")}),this.modalMobileAccount.onHide(function{s("#start-top-right").css("display","block"),s(".account-details-top").css("display","block"),e.userSettingsModal.hide}),s(".account-leaderboard-link").click(function(e){return window.open(n.resolveUrl("/stats"),"_blank"),!1}),s(".account-stats-link").click(function(t){return e.waitOnLogin(function{if(e.account.loggedIn)if(e.account.profile.usernameSet){var t=e.account.profile.slug||"";window.open("/stats/"+t,"_blank")}else e.setNameModal.show(!0);else e.showLoginMenu({modal:!0})}),!1}),s(".account-loadout-link, #btn-customize").click(function{return e.loadoutMenu.show,e.waitOnLogin(function{e.account.loggedIn||e.showLoginMenu({modal:!0})}),!1}),s(".account-details-user").click(function{return e.userSettingsModal.isVisible||e.loginOptionsModal.isVisible?(e.userSettingsModal.hide,e.loginOptionsModal.hide):e.waitOnLogin(function{l.mobile&&e.modalMobileAccount.show,e.account.loggedIn?(e.loginOptionsModal.hide,e.userSettingsModal.show):e.showLoginMenu({modal:!1})}),!1}),s(".btn-account-link").click(function{return e.userSettingsModal.hide,e.showLoginMenu({modal:!1,link:!0}),!1}),s(".btn-account-change-name").click(function{return e.account.profile.usernameChangeTime<=0&&(e.userSettingsModal.hide,e.modalMobileAccount.hide,s("#modal-account-name-title").html(e.localization.translate("index-change-account-name")),e.setNameModal.show),!1}),s(".btn-account-reset-stats").click(function{return e.userSettingsModal.hide,e.resetStatsModal.show,!1}),s(".btn-account-logout").click(function{return e.account.logout,!1})}},{key:"onError",value:function(e){var t={server_error:"Operation failed, please try again later.",facebook_account_in_use:"Failed linking Facebook account. Account already in use!",google_account_in_use:"Failed linking Google account. Account already in use!",twitch_account_in_use:"Failed linking Twitch account. Account already in use!",discord_account_in_use:"Failed linking Discord account. Account already in use!",account_banned:"Account banned.",login_failed:"Login failed."},a=t[e];a&&(this.errorModal.selector.find(".modal-body-text").html(a),this.errorModal.show)}},{key:"onLogin",value:function{this.account.profile.usernameSet||this.setNameModal.show(!0)}},{key:"onLoadoutUpdated",value:function(e){this.updateUserIcon}},{key:"onItemsUpdated",value:function(e){for(var t=0,a=0,r=0;r<e.length;r++){var i=e[r];i.status<h.ItemStatus.Confirmed&&t++,i.status<h.ItemStatus.Ackd&&a++}var o=(e.filter(function(e){return e.status<h.ItemStatus.Confirmed}),e.filter(function(e){return e.status<h.ItemStatus.Ackd}),t>0||a>0);s("#loadout-alert-main").css({display:o?"block":"none"})}},{key:"waitOnLogin",value:function(e){var t=this;if(this.account.loggingIn&&!this.account.loggedIn){var a=function a{e,t.account.removeEventListener("requestsComplete",a)};this.account.addEventListener("requestsComplete",a)}else e}},{key:"showLoginMenu",value:function(e){e=Object.assign({modal:!1,link:!1},e);var t=e.modal?this.createAccountModal:l.mobile?this.loginOptionsModalMobile:this.loginOptionsModal;i(t.selector,e.link,this.account,this.localization),t.show}},{key:"updateUserIcon",value:function{var e=c.getSvgFromGameType(this.account.loadout.player_icon)||"img/gui/player-gui.svg";s(".account-details-user .account-avatar").css("background-image","url("+e+")")}},{key:"render",value:function{var e=this.account.requestsInFlight>0;s(".account-loading").css("opacity",e?1:0);var t=c.htmlEscape(this.account.profile.username||"");this.account.loggedIn||(t=this.account.loggingIn?this.localization.translate("index-logging-in")+"...":this.localization.translate("index-log-in-desc")),s("#account-player-name").html(t),s("#account-player-name").css("display",this.account.loggedIn?"block":"none"),s("#account-login").css("display",this.account.loggedIn?"none":"block"),this.updateUserIcon,this.account.profile.usernameChangeTime<=0?s(".btn-account-change-name").removeClass("btn-account-disabled"):s(".btn-account-change-name").addClass("btn-account-disabled")}}]),e};e.exports=d},"45f86a38":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={mapId:2,desc:{name:"Woods",icon:"img/gui/player-king-woods.svg",buttonCss:"btn-mode-woods"},assets:{audio:[{name:"vault_change_02",channel:"sfx"},{name:"footstep_08",channel:"sfx"},{name:"footstep_09",channel:"sfx"},{name:"helmet03_forest_pickup_01",channel:"ui"},{name:"ability_stim_01",channel:"sfx"},{name:"leader_dead_01",channel:"ui"}],atlases:["gradient","loadout","shared","woods"]},biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:15709019,riverbank:7812619,grass:9339690,underground:1772803,playerSubmerge:2854052},particles:{camera:"falling_leaf"}},gameMode:{maxPlayers:80,woodsMode:!0}};e.exports=r.mergeDeep({},i,o)},"484b3444":function(e,t,a){"use strict";function r(e,t,a,r){var i=l(" ",{class:"copy-toast",html:e});t.append(i),i.css({left:r.pageX-parseInt(i.css("width"))/2,top:a.offset.top}),i.animate({top:"-=25",opacity:1},{queue:!1,duration:300,complete:function{l(this).fadeOut(250,function{l(this).remove})}})}function i(e,t){var a=l("#start-menu");l("#btn-help").click(function{var e=l("#start-help");a.addClass("display-help");var t=(e.position.top,a.css("height"));return e.css("display","block"),a.animate({scrollTop:t},1e3),p.storeGeneric("info","help"),!1});var i=l("#team-mobile-link"),o=l("#team-mobile-link-desc"),s=l("#team-mobile-link-warning"),n=l("#team-link-input"),d=l("#social-share-block"),u=l("#news-block");l("#btn-join-team").click(function{return l("#server-warning").css("display","none"),n.val(""),i.css("display","block"),o.css("display","block"),s.css("display","none"),a.css("display","none"),u.css("display","none"),d.css("display","none"),!1}),l("#btn-team-mobile-link-leave").click(function{return i.css("display","none"),n.val(""),a.css("display","block"),u.css("display","block"),d.css("display","block"),!1}),l("#team-link-input").on("keypress",function(e){13===(e.which||e.keyCode)&&(l("#btn-team-mobile-link-join").trigger("click"),l(this).blur)}),l("#player-name-input-solo").on("keypress",function(e){13===(e.which||e.keyCode)&&l(this).blur}),c.mobile&&"ios"!=c.os&&(l("#player-name-input-solo").on("focus",function{if(c.isLandscape){var e=c.screenHeight,t=e<=282?18:36;document.body.scrollTop=l(this).offset.top-t}}),l("#player-name-input-solo").on("blur",function{document.body.scrollTop=0}));var g=l("#start-bottom-right"),y=l("#start-top-left"),w=l("#start-top-right"),f=new h(l("#ui-modal-keybind"));f.onShow(function{g.fadeOut(200),w.fadeOut(200),l("#ui-modal-keybind-share").css("display","none"),l("#keybind-warning").css("display","none"),l("#ui-modal-keybind-list").css("height","420px"),l("#keybind-code-input").html(""),t.refresh}),f.onHide(function{g.fadeIn(200),w.fadeIn(200),t.cancelBind}),l(".btn-keybind").click(function{return f.show,!1}),l(".js-btn-keybind-share").click(function{"block"==l("#ui-modal-keybind-share").css("display")?(l("#ui-modal-keybind-share").css("display","none"),l("#ui-modal-keybind-list").css("height","420px")):(l("#ui-modal-keybind-share").css("display","block"),l("#ui-modal-keybind-list").css("height","275px"))}),l("#keybind-link, #keybind-copy").click(function(e){r("Copied!",f.selector,l("#keybind-link"),e);var t=l("#keybind-link").html;m.copyTextToClipboard(t)}),l("#btn-keybind-code-load").on("click",function(a){var i=l("#keybind-code-input").val;l("#keybind-code-input").val("");var o=e.fromBase64(i);l("#keybind-warning").css("display",o?"none":"block"),o&&(r("Loaded!",f.selector,l("#btn-keybind-code-load"),a),e.saveBinds),t.refresh});var b=new h(l("#modal-settings"));b.onShow(function{g.fadeOut(200),w.fadeOut(200)}),b.onHide(function{g.fadeIn(200),w.fadeIn(200)}),l(".btn-settings").click(function{return b.show,!1}),l(".modal-settings-text").click(function(e){var t=l(this).siblings("input:checkbox");t.prop("checked",!t.is(":checked")),t.trigger("change")});var _=new h(l("#modal-hamburger"));_.onShow(function{y.fadeOut(200)}),_.onHide(function{y.fadeIn(200)}),l("#btn-hamburger").click(function{return _.show,!1}),l(".modal-body-text").click(function{var e=l(this).siblings("input:checkbox");e.prop("checked",!e.is(":checked")),e.trigger("change")}),l("#force-refresh").click(function{window.location.href="/?t="+Date.now});var x=new h(l("#modal-notification")),S=function{return"WebSocket"in window?m.Z?"ie"==c.browser?'Please use the <a href="https://www.google.com/chrome/browser/desktop/index.html" target="_blank">Chrome browser</a> for a better playing experience! Â¡Usa el <a href="https://www.google.com/chrome/browser/desktop/index.html" target="_blank">navegador Chrome</a> para una mejor experiencia de juego! <a href="https://www.google.com/chrome/browser/desktop/index.html" target="_blank">êµ¬ê¸€ í¬ë¡¬</a> ë¸Œë¼ìš°ì €ë¡œì´ ê²Œìž„ì„ ì¦ê²¨ë³´ì„¸ìš”.':void 0:'Please use the <a href="https://surviv.io" target="_blank">official surviv.io site</a> for a better playing experience!':'WebSockets are required to play. Please use the <a href="https://www.google.com/chrome/browser/desktop/index.html" target="_blank">Chrome browser</a> for a better playing experience!'};if(S&&(x.selector.find(".modal-settings-text").html(S),x.show),m.K,/Android.*; wv\)/.test(navigator.userAgent)&&!c.webview){var v=function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")},z=document.body;if(z){for(z.firstChild;)z.removeChild(z.firstChild);var k=[68,111,119,110,108,111,97,100,32,116,104,101,32,111,102,102,105,99,105,97,108,32,65,110,100,114,111,105,100,32,97,112,112,32,104,101,114,101,58],I=l(" ",{css:{marginTop:"10%",width:"100%",textAlign:"center"}}),T=l(" ",{text:v(k),css:{textAlign:"center",fontSize:"24px"}}),M=[104,116,116,112,115,58,47,47,112,108,97,121,46,103,111,111,103,108,101,46,99,111,109,47,115,116,111,114,101,47,97,112,112,115,47,100,101,116,97,105,108,115,63,105,100,61,105,111,46,115,117,114,118,105,118,46,115,117,114,118,105,118,95,105,111,95,109,111,98,105,108,101],C=l("<a/>",{href:v(M),class:"btn-download-android btn-download-app btn-darken",css:{marginTop:"20px",position:"absolute",left:"50%",transform:"translateX(-50%)"}});I.append(T),I.append(C),z.appendChild(I[0])}}if(window.adsBlocked){var P=document.getElementById("main-med-rect-blocked");P&&(P.style.display="block");var A=document.getElementById("survivio_300x250_main");A&&(A.style.display="none");var O=document.getElementById("surviv-io_300x250");O&&(O.style.display="none")}window.aiptag&&(window.aiptag.gdprConsent=window.cookiesConsented,window.aiptag.consented=window.cookiesConsented)}function o{"ios"==c.os&&("iphonex"==c.model?c.isLandscape?l(".main-volume-slider").css("width","90%"):l(".main-volume-slider").css("width",""):window.navigator.standalone||(c.isLandscape?(l("#start-main-center").attr("style",""),l("#modal-customize .modal-content").attr("style","")):l("#modal-customize .modal-content").css({transform:"translate(-50%, -50%) scale(0.45)",top:"38%"}))),c.tablet&&(l("#featured-youtuber").remove,l(".btn-youtube").remove),c.touch?l(".btn-start-fullscreen").css("display","none"):l(".btn-start-fullscreen").css("display","block"),l(".btn-keybind").css("display",c.mobile?"none":"inline-block")}function s(e){var t=l("#modal-hamburger-bottom");t.children.slice(-3).remove,t.children.last.removeClass("footer-after"),l("#invite-link-text").attr("data-l10n","index-invite-code"),l("#team-code-text").css("display","none"),l("#invite-code-text").css("display","none"),l("#team-hide-url").css("display","none"),l(".btn-download-ios").css("display","none"),l(".btn-download-android").css("display","none"),l("#mobile-download-app").css("display","none"),l("#start-bottom-middle").css("display","none"),e||(l("#btn-help").css("display","none"),l("#news-block, #start-menu").css({height:186}),l("#team-menu").css({height:186,padding:10}))}function n(e){l("#team-hide-url").css("display","none"),e?l("#start-bottom-middle").addClass("start-bottom-middle-tablet"):l("#news-block").css({height:165}),"android"==c.os?(l(".btn-download-android").css("display","block"),l(".btn-download-ios").css("display","none")):"ios"==c.os&&(l(".btn-download-ios").css("display","block"),l(".btn-download-android").css("display","none")),l("#mobile-download-app").css("display","block")}var l=a("8ee62bea"),c=a("ce29f17f"),m=a("26be8056"),p=a("f398b7c7"),h=a("fa71fb59");e.exports={setupModals:i,onResize:o,applyWebviewStyling:s,applyMobileBrowserStyling:n}},"48eca919":function(e,t,a){"use strict";function r(e){c(e>=0);var t=[];do{t.push(m[e%p]),e=Math.floor(e/p)}while(e>0);return t.reverse.join("")}function i(e){for(var t=0,a=0;a<e.length;a++)t=t*p+m.indexOf(e.charAt(a));return t}function o(e,t){return c(e>=0&&e<16),c(t>=0&&t<134217728),r(t<<4|15&e)}function s(e){var t=i(e);return{appId:15&t,roomId:t>>4}}function n(e){return("00"+e).slice(-2)}function l(e){return Math.min((Math.pow(p,e)>>4)-1,134217727)}var c=a("0e566746"),m="abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ0123456789".split(""),p=m.length;e.exports={encodeUrl:o,decodeUrl:s,appIdToString:n,maxRoomId:l}},"4b528868":function(e,t,a){"use strict";function r(e){this.mute=!1,this.masterVolume=1,this.soundVolume=1,this.musicVolume=1,this.baseVolume=.5,this.sounds={},this.loadedFiles={},this.preloadedSounds=!1,this.cameraPos=o.create(0,0),this.activeLayer=0,this.underground=!1,this.soundInstances=[],i.Sound.volume=.5,i.Sound.on("fileload",this.loadHandler,this)}var i=a("f4ccd911"),o=a("c2a798c8"),s=a("10899aea"),n=a("1901e2d9"),l=a("0d807371");r.prototype={preloadSounds:function{if(!this.preloadedSounds){this.preloadedSounds=!0;for(var e={},t=Object.keys(l.Sounds),a=0;a<t.length;a++)for(var r=t[a],o=l.Sounds[r],s=Object.keys(o),n=0;n<s.length;n++){var c=s[n];void 0!==e[c]&&console.log("Sound "+c+" defined multiple times!"),e[c]=!0}for(var m=[],p=Object.keys(l.Channels),h=0;h<p.length;h++)for(var d=p[h],u=l.Channels[d],g=l.Sounds[u.list],y=Object.keys(g),w=0;w<y.length;w++){var f=y[w],b=g[f];if(void 0===b.preload||b.preload){var _={};_.canCoalesce=b.canCoalesce,_.channels=b.maxInstances,_.volume=b.volume,m.push({name:f,channel:d,path:b.path,options:_,priority:b.loadPriority||0})}}m.sort(function(e,t){return t.priority-e.priority});for(var x=0;x<m.length;x++){var S=m[x];this.loadSound(S)}for(var v=l.Reverbs,z=Object.keys(v),k=0;k<z.length;k++){var I=z[k],T=v[I];i.Sound.registerReverb(T.path,I,T)}}},loadSound:function(e){var t=e.name+e.channel;this.sounds[t]||(i.Sound.registerSound(e.path,t,e.options||{}),this.sounds[t]={path:e.path,name:e.name,channel:e.channel})},loadHandler:function(e){this.loadedFiles[e]=!0},m:function(e){for(var t=this.soundInstances.length-1;t>=0;t--){var a=this.soundInstances[t];"playFinished"!=a.instance.playState&&"playInterrupted"!=a.instance.playState&&"playFailed"!=a.instance.playState||this.soundInstances.splice(t,1)}var r=[0,1,1/3,2/3],o=this.underground?r[this.activeLayer]:0;i.Sound.setReverbs({cathedral:o}),i.Sound.update(e)},playSound:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"none"==e)return null;t.channel=t.channel||"activePlayer",t.startSilent=t.startSilent||!1,t.forceStart=t.forceStart||!1,t.loop=t.loop||!1,t.soundPos=t.soundPos||null,t.fallOff=t.fallOff||0,t.filter=t.filter||"",t.delay=t.delay||0,t.ignoreMinAllowable=t.ignoreMinAllowable||!1,t.rangeMult=t.rangeMult||1,t.offset=t.offset||0,t.ambient="ambient"==t.channel||"music"==t.channel,t.detune=t.detune||0,t.volumeScale=t.volumeScale||1;var a=null,r=l.Channels[t.channel];if(r&&(!this.mute||t.forceStart)){var c=1*this.baseVolume*this.getTypeVolume(r.type)*t.volumeScale,m=void 0!==t.layer&&!n.sameAudioLayer(t.layer,this.activeLayer),p=t.filter?m||t.forceFilter?t.filter:"reverb":"none";if("activePlayer"!=t.channel&&t.soundPos){var h=o.sub(this.cameraPos,t.soundPos),d=o.length(h),u=r.maxRange*t.rangeMult;s.eqAbs(u,0)&&(u=1);var g=s.clamp(Math.abs(d/u),0,1),y=Math.pow(1-g,1+2*t.fallOff),w=r.volume*y*c;if((w=m?.5*w:w)>.003||t.ignoreMinAllowable){var f=s.clamp(h.x/u*-1,-1,1);a=i.Sound.play(e+t.channel,{filter:p,loop:t.loop?-1:0,volume:t.startSilent?0:w,pan:f,delay:t.delay,offset:t.offset,ambient:t.ambient,detune:t.detune})}}else{var b=r.volume*c;b=m?.5*b:b,a=i.Sound.play(e+t.channel,{filter:p,loop:t.loop?-1:0,volume:t.startSilent?0:b,delay:t.delay,offset:t.offset,ambient:t.ambient,detune:t.detune})}if(a&&(t.loop||"music"==t.channel)){var _="music"==t.channel?"music":"sound";this.soundInstances.push({instance:a,type:_})}}return a},playGroup:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=l.Groups[e];if(a){var r=a.sounds,i=Math.floor(n.random(0,r.length));return t.channel=a.channel,this.playSound(r[i],t)}return null},updateSound:function(e,t,a){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};r.fallOff=r.fallOff||0,r.rangeMult=r.rangeMult||1,r.ignoreMinAllowable=r.ignoreMinAllowable||!1;var i=l.Channels[t];if(e&&i){var c=1*this.baseVolume*this.getTypeVolume(i.type),m=o.sub(this.cameraPos,a),p=o.length(m),h=i.maxRange*r.rangeMult;s.eqAbs(h,0)&&(h=1);var d=s.clamp(Math.abs(p/h),0,1),u=Math.pow(1-d,1+2*r.fallOff),g=i.volume*u*c;if((g=void 0===r.layer||n.sameAudioLayer(r.layer,this.activeLayer)?g:.5*g)>.003||r.ignoreMinAllowable){var y=s.clamp(m.x/h*-1,-1,1);e.volume=g,e.pan=y}}},setMasterVolume:function(e){e=s.clamp(e,0,1),i.Sound.volume=e},_setInstanceTypeVolume:function(e,t){t=s.clamp(t,0,1);for(var a=this.getTypeVolume(e),r=a>1e-4?t/a:0,i=0;i<this.soundInstances.length;i++){var o=this.soundInstances[i];o.type==e&&(o.instance.volume*=r)}},setSoundVolume:function(e){this._setInstanceTypeVolume("sound",e),this.soundVolume=e},setMusicVolume:function(e){this._setInstanceTypeVolume("music",e),this.musicVolume=e},setVolume:function(e,t,a){if(e){a=a||"sound";var r=this.getTypeVolume(a);e.volume=t*r}},getVolume:function(e){return e?e.volume:0},setMute:function(e){return this.mute=e,i.Sound.setMute(this.mute),this.mute},muteToggle:function{return this.setMute(!this.mute)},setDelay:function(e,t){e&&(e.delay=t)},stopSound:function(e){e&&e.stop},stopAll:function{i.Sound.stop},allLoaded:function{for(var e=Object.keys(this.sounds),t=0;t<e.length;t++){var a=this.sounds[e[t]];if(!this.isSoundLoaded(a.name,a.channel))return!1}return!0},isSoundLoaded:function(e,t){var a=this.sounds[e+t];return a&&this.loadedFiles[a.path]},isSoundPlaying:function(e){return!!e&&e.playState==i.Sound.PLAY_SUCCEEDED},getSoundDefVolume:function(e,t){var a=l.Sounds[t][e],r=l.Channels[t];return a&&r?a.volume*r.volume:1},getTypeVolume:function(e){switch(e){case"music":return this.musicVolume;case"sound":default:return this.soundVolume}}},e.exports=r},"4b8d140f":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i{this.id=0,this.pos={x:0,y:0},this.posOld={x:0,y:0},this.posDown={x:0,y:0},this.startTime=0,this.lastUpdateTime=0,this.isNew=!0,this.isDead=!1,this.osId=0}function o(e){var t=this;this.touchElem=e,this.keys={},this.keysOld={},this.we=n.create(0,0),this.mouseButtons={},this.mouseButtonsOld={},this.mouseWheelState=0,this.touches=[],this.touchIdCounter=0,this.leftTouch=null,this.rightTouch=null,this.lostFocus=!1,this.captureNextInputCb=null,this.bOnWindowFocus=function(e){t.onWindowFocus(e)},this.bOnKeyDown=function(e){t.onKeyDown(e)},this.bOnKeyUp=function(e){t.onKeyUp(e)},this.bOnMouseMove=function(e){t.onMouseMove(e)},this.bOnMouseDown=function(e){t.onMouseDown(e)},this.bOnMouseUp=function(e){t.onMouseUp(e)},this.bOnMouseWheel=function(e){t.onMouseWheel(e)},this.bOnTouchMove=function(e){t.onTouchMove(e)},this.bOnTouchStart=function(e){t.onTouchStart(e)},this.bOnTouchEnd=function(e){t.onTouchEnd(e)},this.bOnTouchCancel=function(e){t.onTouchCancel(e)},window.addEventListener("focus",this.bOnWindowFocus,!1),window.addEventListener("blur",this.bOnWindowFocus,!1),window.addEventListener("keydown",this.bOnKeyDown,!1),window.addEventListener("keyup",this.bOnKeyUp,!1),window.addEventListener("mousemove",this.bOnMouseMove,!1),window.addEventListener("mousedown",this.bOnMouseDown,!1),window.addEventListener("mouseup",this.bOnMouseUp,!1),window.addEventListener("wheel",this.bOnMouseWheel,{capture:!1,passive:!0}),this.touchElem.addEventListener("touchmove",this.bOnTouchMove,!1),this.touchElem.addEventListener("touchstart",this.bOnTouchStart,!1),this.touchElem.addEventListener("touchend",this.bOnTouchEnd,!1),this.touchElem.addEventListener("touchcancel",this.bOnTouchCancel,!1)}var s=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},n=a("c2a798c8"),l=Object.freeze({Backspace:8,Enter:13,Shift:16,Control:17,Alt:18,Escape:27,Space:32,Left:37,Up:38,Right:39,Down:40,Zero:48,One:49,Two:50,Three:51,Four:52,Five:53,Six:54,Seven:55,Eight:56,Nine:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,L:76,M:77,N:78,P:80,Q:81,R:82,S:83,T:84,V:86,W:87,X:88,Windows:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,Plus:187,Minus:189,FwdSlash:191,Tilde:192}),c=Object.freeze({Left:0,Middle:1,Right:2,Thumb1:3,Thumb2:4}),m=Object.freeze({None:0,Up:1,Down:2}),p={None:0,Key:1,MouseButton:2,MouseWheel:3},h=["","","","Cancel","","","Help","","Backspace","Tab","","","Clear","Enter","Enter","","Shift","Control","Alt","Pause","Capslock","Kana","Eisu","Junja","Final","Hanja","","ESC","Convert","Nonconvert","Accept","Modechange","Space","Page Up","Page Down","End","Home","â†","â†‘","â†’","â†“","Select","Print","Execute","Printscreen","Insert","Delete","","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","Windows Key","","Context Menu","","Sleep","Numpad 0","Numpad 1","Numpad 2","Numpad 3","Numpad 4","Numpad 5","Numpad 6","Numpad 7","Numpad 8","Numpad 9","*","+","Separator","-",".","/","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","F16","F17","F18","F19","F20","F21","F22","F23","F24","","","","","","","","","Num Lock","Scroll Lock","WIN_OEM_FJ_JISHO","WIN_OEM_FJ_MASSHOU","WIN_OEM_FJ_TOUROKU","WIN_OEM_FJ_LOYA","WIN_OEM_FJ_ROYA","","","","","","","","","","Circumflex","!",'"',"#","$","%","&","_","(",")","*","+","|","Hyphen Minus","{","}","~","","","","","Volume Mute","Volume Down","Volume Up","","",";","=",",","-",".","/","Backquote","","","","","","","","","","","","","","","","","","","","","","","","","","","[","\\","]","'","","Meta","ALTGR","","WIN_ICO_HELP","WIN_ICO_00","","WIN_ICO_CLEAR","","","WIN_OEM_RESET","WIN_OEM_JUMP","WIN_OEM_PA1","WIN_OEM_PA2","WIN_OEM_PA3","WIN_OEM_WSCTRL","WIN_OEM_CUSEL","WIN_OEM_ATTN","WIN_OEM_FINISH","WIN_OEM_COPY","WIN_OEM_AUTO","WIN_OEM_ENLW","WIN_OEM_BACKTAB","ATTN","CRSEL","EXSEL","EREOF","PLAY","ZOOM","","PA1","WIN_OEM_CLEAR",""],d=["Left Mouse","Middle Mouse","Right Mouse","Thumb Mouse 1","Thumb Mouse 2"],u=["","Mouse Wheel Up","Mouse Wheel Down"],g=function{function e(t,a){r(this,e),this.type=t,this.code=a}return s(e,[{key:"equals",value:function(e){return this.type==e.type&&this.code==e.code}},{key:"toString",value:function{return this.type==p.None?"":this.type==p.Key?h[this.code]||"Key "+this.code:this.type==p.MouseButton?d[this.code]||"Mouse "+this.code:u[this.code]||"Mouse Wheel "+this.code}}]),e},y=Object.freeze({Move:0,Start:1,End:2,Cancel:3});o.prototype={n:function{window.removeEventListener("focus",this.bOnWindowFocus),window.removeEventListener("blur",this.bOnWindowFocus),window.removeEventListener("keydown",this.bOnKeyDown),window.removeEventListener("keyup",this.bOnKeyUp),window.removeEventListener("mousemove",this.bOnMouseMove),window.removeEventListener("mousedown",this.bOnMouseDown),window.removeEventListener("mouseup",this.bOnMouseUp),window.removeEventListener("wheel",this.bOnMouseWheel),this.touchElem.removeEventListener("touchmove",this.bOnTouchMove),this.touchElem.removeEventListener("touchstart",this.bOnTouchStart),this.touchElem.removeEventListener("touchend",this.bOnTouchEnd),this.touchElem.removeEventListener("touchcancel",this.bOnTouchCancel)},onWindowFocus:function{this.keys={},this.keysOld={},this.mouseButtons={},this.mouseButtonsOld={},this.mouseWheelState=0,this.touches.length=0,this.lostFocus=!0},flush:function{this.keysOld=Object.assign({},this.keys),this.mouseButtonsOld=Object.assign({},this.mouseButtons),this.mouseWheelState=0;for(var e=0;e<this.touches.length;e++)this.touches[e].posOld.x=this.touches[e].pos.x,this.touches[e].posOld.y=this.touches[e].pos.y,this.touches[e].isNew=!1,this.touches[e].isDead&&(this.touches.splice(e,1),--e);this.lostFocus=!1},captureNextInput:function(e){this.captureNextInputCb=e},checkCaptureInput:function(e,t,a){return!(!this.captureNextInputCb||!this.captureNextInputCb(e,new g(t,a))||(this.captureNextInputCb=null,0))},isInputValuePressed:function(e){switch(e.type){case p.Key:return this.fe(e.code);case p.MouseButton:return this.be(e.code);case p.MouseWheel:return this._e==e.code;default:return!1}},isInputValueReleased:function(e){switch(e.type){case p.Key:return this.xe(e.code);case p.MouseButton:return this.Se(e.code);case p.MouseWheel:return this._e==e.code;default:return!1}},isInputValueDown:function(e){switch(e.type){case p.Key:return this.ve(e.code);case p.MouseButton:return this.ze(e.code);case p.MouseWheel:return this._e==e.code;default:return!1}},onKeyDown:function(e){var t=e.keyCode;9==t&&e.preventDefault,this.checkCaptureInput(e,p.Key,t)||(this.keys[t]=!0)},onKeyUp:function(e){this.keys[e.keyCode]=!1},ve:function(e){return!!this.keys[e]},fe:function(e){return!this.keysOld[e]&&!!this.keys[e]},xe:function(e){return!!this.keysOld[e]&&!this.keys[e]},onMouseMove:function(e){this.we.x=e.clientX,this.we.y=e.clientY},onMouseDown:function(e){var t=0;t="which"in e?e.which-1:e.button,this.checkCaptureInput(e,p.MouseButton,t)||(this.mouseButtons[t]=!0)},onMouseUp:function(e){var t=0;t="which"in e?e.which-1:e.button,this.mouseButtons[t]=!1,3!=t&&4!=t||e.preventDefault},onMouseWheel:function(e){var t=e.deltaY<0?m.Up:m.Down;this.checkCaptureInput(e,p.MouseWheel,t)||(this.mouseWheelState=t)},ze:function(e){return!!this.mouseButtons[e]},be:function(e){return!this.mouseButtonsOld[e]&&!!this.mouseButtons[e]},Se:function(e){return!!this.mouseButtonsOld[e]&&!this.mouseButtons[e]},_e:function{return this.mouseWheelState},onTouchShared:function(e,t){e.cancelable&&t!=y.Cancel&&e.preventDefault;for(var a=e.timeStamp||performance.now,r=0;r<e.changedTouches.length;r++){for(var o=e.changedTouches[r],s=o.identifier,n=o.clientX,l=o.clientY,c=null,m=0;m<this.touches.length;m++)if(this.touches[m].osId==s&&!this.touches[m].isDead){c=this.touches[m];break}t!=y.Start||c||(c=new i,this.touches.push(c),++this.touchIdCounter,c.id=this.touchIdCounter,c.osId=s,c.posOld.x=n,c.posOld.y=l,c.posDown.x=n,c.posDown.y=l,c.startTime=a,c.isNew=!0,c.isDead=!1),t!=y.End&&t!=y.Cancel||!c||(c.isDead=!0),c&&(c.pos.x=n,c.pos.y=l,c.lastUpdateTime=a)}},onTouchMove:function(e){this.onTouchShared(e,y.Move)},onTouchStart:function(e){this.onTouchShared(e,y.Start)},onTouchEnd:function(e){this.onTouchShared(e,y.End)},onTouchCancel:function(e){this.onTouchShared(e,y.Cancel)},getTouchById:function(e){for(var t=0;t<this.touches.length;t++)if(this.touches[t].id==e)return this.touches[t];return null}},e.exports={ke:o,InputType:p,InputValue:g,Key:l,MouseButton:c,MouseWheel:m,Touch:i}},"4bc2cf35":function(e,t,a){"use strict";function r(e,t){this.config=e,this.localization=t,this.info={},this.loaded=!1}var i=a("8ee62bea"),o=(a("10899aea"),a("259eae5b")),s=a("ce29f17f"),n=a("d84c74f8"),l=a("b1f6ba3c");r.prototype={load:function{var e=this,t=this.localization.getLocale,a=o.resolveUrl("/api/site_info?language="+t);i.ajax(a).done(function(t,a){e.info=t||{},e.loaded=!0,e.updatePageFromInfo})},getGameModeStyles:function{for(var e={1:"solo",2:"duo",4:"squad"},t=[],a=this.info.modes||[],r=0;r<a.length;r++){var i=a[r],o=(l[i.mapName]||l.main).desc,s="index-play-"+e[i.teamMode];t.push({icon:o.icon,buttonCss:o.buttonCss,l10nKey:s,l10nText:this.localization.translate(s)})}return t},updatePageFromInfo:function{for(var e=this.getGameModeStyles,t=0;t<e.length;t++){var a=e[t],r=i("#btn-start-mode-"+t);r.data("l10n",a.l10nKey),r.html(a.l10nText),(a.icon||a.buttonCss)&&(0==t?r.addClass("btn-custom-mode-no-indent"):r.addClass("btn-custom-mode-main"),r.addClass(a.buttonCss),r.css({"background-image":"url("+a.icon+")"}));var o=i("#btn-team-queue-mode-"+t);o.length&&(o.data("l10n",a.l10nKey),o.html(a.l10nText),a.icon&&(o.addClass("btn-custom-mode-select"),o.css({"background-image":"url("+a.icon+")"})))}var l=this.info.pops;if(l)for(var c=Object.keys(l),m=0;m<c.length;m++){var p=c[m],h=l[p],d=i("#server-opts").children('option[value="'+p+'"]');d.text(d.data("label")+" ["+h+"]")}var u=!1,g=i("#featured-streamers"),y=i(".streamer-list");if(!s.mobile&&this.info.twitch){y.empty;for(var w=0;w<this.info.twitch.length;w++){var f=this.info.twitch[w],b=i("#featured-streamer-template").clone;b.attr("class","featured-streamer streamer-tooltip").attr("id","");var _=b.find("a"),x=this.localization.translate(1==f.viewers?"index-viewer":"index-viewers");_.html(f.name+" "+f.viewers+" "+x+" "),_.css("background-image","url("+f.img+")"),_.attr("href",f.url),y.append(b),u=!0}}g.css("visibility",u?"visible":"hidden");var S=i("#featured-youtuber"),v=this.info.youtube;if(v&&i(".btn-youtuber").attr("href",this.info.youtube.link).html(this.info.youtube.name),S.css("display",v?"block":"none"),this.info.promptConsent&&n.showCookieConsent(this.config),window.adsBlocked){var z=["US","GB","DE"],k=["en","en","de"],I=["https://www.amazon.com/s?rh=n%3A7141123011%2Cp_4%3Asurviv.io&ref=w_bl_sl_s_ap_web_7141123011","https://www.amazon.co.uk/s?rh=n%3A83450031%2Cp_4%3Asurviv.io&ref=w_bl_sl_s_ap_web_83450031","https://www.amazon.de/s?rh=n%3A77028031%2Cp_4%3Asurviv.io&ref=w_bl_sl_s_ap_web_77028031"],T=z.indexOf(this.info.country);if(-1!=T){var M=i(".surviv-shirts");if(M){var C="surviv-shirts-"+k[T];M.addClass("surviv-shirts "+C),M.find("a").attr("href",I[T]),i("#ad-block-left").find(".surviv-shirts").css("display","block")}i(".adblock-plea").remove}else{var P=i("#ad-block-left").find(".adblock-plea");P&&(P.addClass("adblock-plea"),P.css("display","block")),i(".surviv-shirts").remove}var A=document.getElementById("survivio_300x250_main");A&&(A.style.display="none");var O=document.getElementById("surviv-io_300x250");O&&(O.style.display="none")}}},e.exports=r},"4e269062":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={assets:{audio:[{name:"snowball_01",channel:"sfx"},{name:"snowball_02",channel:"sfx"},{name:"plane_02",channel:"sfx"},{name:"bells_01",channel:"ui"},{name:"snowball_pickup_01",channel:"ui"}],atlases:["gradient","loadout","shared","snow"]},biome:{colors:{background:603705,water:806225,waterRipple:11792639,beach:13480795,riverbank:9461284,grass:12434877,underground:1772803,playerSubmerge:2854052},particles:{camera:"falling_snow_fast"},airdrop:{planeImg:"map-plane-01x.img",planeSound:"plane_02",airdropImg:"map-chute-01x.img"},frozenSprites:["player-snow-01.img","player-snow-02.img","player-snow-03.img"]}};e.exports=r.mergeDeep({},i,o)},"5857a73f":function(e,t,a){"use strict";var r={ping_danger:{type:"ping",texture:"ping-team-danger.img",mapTexture:"ping-map-danger.img",sound:"ping_danger_01",soundLeader:"ping_leader_01",pingMap:!0,pingLife:4,mapLife:4,mapEvent:!1,worldDisplay:!0},ping_coming:{type:"ping",texture:"ping-team-coming.img",mapTexture:"ping-map-coming.img",sound:"ping_coming_01",soundLeader:"ping_leader_01",pingMap:!0,pingLife:4,mapLife:300,mapEvent:!1,worldDisplay:!0},ping_help:{type:"ping",texture:"ping-team-help.img",mapTexture:"ping-map-help.img",sound:"ping_help_01",soundLeader:"ping_leader_01",pingMap:!0,pingLife:4,mapLife:4,mapEvent:!1,worldDisplay:!0},ping_airdrop:{type:"ping",texture:"ping-team-airdrop.img",mapTexture:"ping-map-airdrop.img",sound:"ping_airdrop_01",pingMap:!0,pingLife:4,mapLife:10,mapEvent:!0,worldDisplay:!1,tint:16737792},ping_airstrike:{type:"ping",texture:"ping-team-airstrike.img",mapTexture:"ping-map-airstrike.img",sound:"ping_airstrike_01",pingMap:!0,pingLife:2,mapLife:2,mapEvent:!0,worldDisplay:!0,tint:15400704},ping_woodsking:{type:"ping",texture:"player-king-woods.img",mapTexture:"ping-map-woods-king.img",sound:"helmet03_forest_pickup_01",pingMap:!0,pingLife:4,mapLife:10,mapEvent:!0,worldDisplay:!1,tint:1244928}};e.exports=r},"590afbba":function(e,t,a){"use strict";var r={leadership:{name:"Leadership",type:"perk",lootImg:{sprite:"loot-perk-leadership.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},firepower:{name:"Firepower",type:"perk",lootImg:{sprite:"loot-perk-firepower.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},gotw:{name:"Gift of the Wild",type:"perk",lootImg:{sprite:"loot-perk-gotw.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},windwalk:{name:"Windwalk",type:"perk",lootImg:{sprite:"loot-perk-windwalk.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},rare_potato:{name:"Rare Potato",type:"perk",lootImg:{sprite:"loot-perk-rare-potato.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},aoe_heal:{name:"Mass Medicate",type:"perk",lootImg:{sprite:"loot-perk-aoe-heal.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},endless_ammo:{name:"Endless Ammo",type:"perk",lootImg:{sprite:"loot-perk-endless-ammo.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},steelskin:{name:"Steelskin",type:"perk",lootImg:{sprite:"loot-perk-steelskin.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},splinter:{name:"Splinter Rounds",type:"perk",lootImg:{sprite:"loot-perk-splinter.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},small_arms:{name:"Small Arms",type:"perk",lootImg:{sprite:"loot-perk-small-arms.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},takedown:{name:"Takedown",type:"perk",lootImg:{sprite:"loot-perk-takedown.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},field_medic:{name:"Field Medic",type:"perk",lootImg:{sprite:"loot-perk-field-medic.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},tree_climbing:{name:"Tree Climbing",type:"perk",lootImg:{sprite:"loot-perk-tree-climbing.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},scavenger:{name:"Scavenger",type:"perk",lootImg:{sprite:"loot-perk-scavenger.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},hunted:{name:"The Hunted",type:"perk",lootImg:{sprite:"loot-perk-hunted.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},chambered:{name:"One In The Chamber",type:"perk",lootImg:{sprite:"loot-perk-chambered.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},martyrdom:{name:"Martyrdom",type:"perk",lootImg:{sprite:"loot-perk-martyrdom.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},targeting:{name:"Targeting",type:"perk",lootImg:{sprite:"loot-perk-targeting.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},"45_bonus":{name:".45 In The Chamber",type:"perk",lootImg:{sprite:"loot-perk-45-bonus.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},broken_arrow:{name:"Broken Arrow",type:"perk",lootImg:{sprite:"loot-perk-broken-arrow.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}},fabricate:{name:"Fabricate",type:"perk",lootImg:{sprite:"loot-perk-fabricate.img",tint:16777215,border:"loot-circle-outer-03.img",borderTint:16777215,scale:.275},sound:{pickup:"perk_pickup_01"}}};e.exports=r},"5a255578":function(e,t,a){"use strict";var r={heal_01:{type:"heal_effect",name:"Basic Healing",rarity:0,texture:"part-heal-01.img",emitter:"heal_01"},heal_02:{type:"heal_effect",name:"Healing Hearts",rarity:1,texture:"part-heal-02.img",emitter:"heal_02"},boost_01:{type:"boost_effect",name:"Basic Boost",rarity:0,texture:"part-boost-01.img",emitter:"boost_01"},boost_02:{type:"boost_effect",name:"Starboost",rarity:1,texture:"part-boost-02.img",emitter:"boost_02"}};e.exports=r},"604cff9c":function(e,t,a){"use strict";function r{this.active=!1}function i(e){this.active=!1}function o{this.explosions=[],this.physicsParticles=[]}var s=(a("8b1dfb45"),a("6b42806d")),n=(a("34e32c48"),a("10899aea")),l=a("1901e2d9"),c=a("c2a798c8"),m=(a("ce29f17f"),a("af8ba00f"),a("ea3b9366")),p={frag:{burst:{particle:"explosionBurst",scale:1,sound:{grass:"explosion_01",water:"explosion_02"}},rippleCount:10,shakeStr:.2,shakeDur:.35,lifetime:2},smoke:{burst:{particle:"explosionBurst",scale:0,sound:{grass:"explosion_smoke_01",water:"explosion_smoke_01"}},rippleCount:10,shakeStr:0,shakeDur:0,lifetime:6},strobe:{burst:{particle:"explosionBurst",scale:.25,sound:{grass:"explosion_04",water:"explosion_02"}},rippleCount:3,shakeStr:0,shakeDur:0,lifetime:2},barrel:{burst:{particle:"explosionBurst",scale:1,sound:{grass:"explosion_01",water:"explosion_02"}},rippleCount:10,shakeStr:.2,shakeDur:.35,lifetime:2},usas:{burst:{particle:"explosionUSAS",scale:.75,sound:{grass:"explosion_03",water:"explosion_02"}},rippleCount:10,shakeStr:.12,shakeDur:.25,lifetime:1.25},mirv:{burst:{particle:"explosionMIRV",scale:1,sound:{grass:"explosion_01",water:"explosion_02"}},rippleCount:10,shakeStr:.2,shakeDur:.35,lifetime:2},mirv_mini:{burst:{particle:"explosionMIRV",scale:.75,sound:{grass:"explosion_03",water:"explosion_02"}},rippleCount:3,shakeStr:.1,shakeDur:.2,lifetime:1.25},martyr_nade:{burst:{particle:"explosionBurst",scale:.75,sound:{grass:"explosion_03",water:"explosion_02"}},rippleCount:3,shakeStr:.1,shakeDur:.2,lifetime:1.25},snowball:{burst:{particle:"",scale:.75,sound:{grass:"snowball_01",water:"frag_water_01"}},scatter:{particle:"snowball_impact",count:5,speed:{min:5,max:25}},rippleCount:1,shakeStr:0,shakeDur:0,lifetime:1},snowball_heavy:{burst:{particle:"",scale:.75,sound:{grass:"snowball_02",water:"frag_water_01"}},scatter:{particle:"snowball_impact",count:8,speed:{min:5,max:25}},rippleCount:1,shakeStr:0,shakeDur:0,lifetime:1},potato:{burst:{particle:"",scale:.75,sound:{grass:"potato_01",water:"frag_water_01"}},scatter:{particle:"potato_impact",count:5,speed:{min:5,max:25}},rippleCount:1,shakeStr:0,shakeDur:0,lifetime:1},potato_heavy:{burst:{particle:"",scale:.75,sound:{grass:"potato_02",water:"frag_water_01"}},scatter:{particle:"potato_impact",count:8,speed:{min:5,max:25}},rippleCount:1,shakeStr:0,shakeDur:0,lifetime:1},potato_cannonball:{burst:{particle:"explosionPotato",scale:.75,sound:{grass:"explosion_05",water:"explosion_02"}},scatter:{particle:"potato_impact",count:8,speed:{min:5,max:25}},rippleCount:10,shakeStr:.12,shakeDur:.25,lifetime:1.25},bomb_iron:{burst:{particle:"explosionBomb",scale:2,sound:{grass:"explosion_01",water:"explosion_02"}},rippleCount:12,shakeStr:.25,shakeDur:.4,lifetime:2}};r.prototype={init:function(e,t,a,r){this.pos=c.copy(e),this.vel=c.copy(t),this.layer=a,this.particle=r,this.ticker=0,this.colCount=0,this.active=!0},update:function(e,t,a){var r=c.copy(this.pos);this.pos=c.add(this.pos,c.mul(this.vel,e)),this.vel=c.mul(this.vel,1/(1+5*e));for(var i=[],o=t.ye.p,n=0;n<o.length;n++){var m=o[n];m.active&&!m.dead&&l.sameLayer(this.layer,m.layer)&&i.push(m.collider)}for(var p=a.Ie.p,h=0;h<p.length;h++){var d=p[h];d.active&&!d.dead&&l.sameLayer(this.layer,d.layer)&&i.push(s.createCircle(d.pos,d.rad,0))}for(var u=[],g=0;g<i.length;g++){var y=s.intersectSegment(i[g],r,this.pos);if(y){var w=c.length(c.sub(y.point,r));u.push({point:y.point,normal:y.normal,dist:w})}}if(u.sort(function(e,t){return e.dist-t.dist}),u.length>0){var f=u[0],b=c.normalizeSafe(this.vel,c.create(1,0)),_=c.length(this.vel),x=c.sub(b,c.mul(f.normal,2*c.dot(f.normal,b))),S=this.colCount++>0?.35:1;this.pos=c.add(f.point,c.mul(f.normal,.01)),this.vel=c.mul(x,_*S)}this.particle.pos=c.copy(this.pos),this.ticker+=e,this.ticker>=this.particle.life&&(this.particle.n,this.active=!1)}},i.prototype={o:function(e,t,a){var r=m[e].explosionEffectType,i=p[r];this.active=!0,this.done=!1,this.type=e,this.pos=c.copy(t),this.layer=a,this.ticker=0,this.lifetime=i.lifetime,this.soundInstance=null,this.soundUpdateThrottle=0},n:function{this.active=!1},m:function(e,t,a,r,i,o){var h=m[this.type].explosionEffectType,d=p[h];if(0==this.ticker){var u=!0;if("explosion_bomb_iron"==this.type){var g=s.createCircle(this.pos,.5);i.insideBuildingCeiling(g,this.layer,!0)&&(u=!1)}if(u&&(d.burst.particle&&a.addParticle(d.burst.particle,this.layer,this.pos,c.create(0,0),d.burst.scale,0,null),d.scatter))for(var y=0;y<d.scatter.count;y++){var w=a.addParticle(d.scatter.particle,this.layer,this.pos,c.create(0,0),1,0,null),f=t.addPhysicsParticle,b=c.mul(c.randomUnit,l.random(d.scatter.speed.min,d.scatter.speed.max));f.init(this.pos,b,this.layer,w)}var _=i.getGroundSurface(this.pos,this.layer),x="water"==_.type?d.burst.sound.water:d.burst.sound.grass;if(this.soundInstance=r.playSound(x,{channel:"sfx",soundPos:this.pos,layer:this.layer,filter:"muffled",rangeMult:2,ignoreMinAllowable:!0}),"water"==_.type)for(var S=0;S<d.rippleCount;S++){var v=.5*d.rippleCount,z=c.add(this.pos,c.mul(c.randomUnit,l.random(0,v))),k=a.addRippleParticle(z,this.layer,_.data.rippleColor);k.setDelay(.06*S)}}this.soundInstance&&this.soundUpdateThrottle<0?(this.soundUpdateThrottle=.1,r.updateSound(this.soundInstance,"sfx",this.pos,{layer:this.layer,filter:"muffled"})):this.soundUpdateThrottle-=e,this.ticker+=e;var I=n.min(this.ticker/d.shakeDur,1),T=n.lerp(I,d.shakeStr,0);o.addShake(this.pos,T),this.ticker>=this.lifetime&&(this.active=!1)}},o.prototype={addExplosion:function(e,t,a){for(var r=null,o=0;o<this.explosions.length;o++)if(!this.explosions[o].active){r=this.explosions[o];break}r||(r=new i(this),this.explosions.push(r)),r.o(e,t,a)},addPhysicsParticle:function{for(var e=null,t=0;t<this.physicsParticles.length;t++){var a=this.physicsParticles[t];if(!a.active){e=a;break}}return e||(e=new r,this.physicsParticles.push(e)),e},m:function(e,t,a,r,i,o,s){for(var n=0;n<this.explosions.length;n++){var l=this.explosions[n];l.active&&(l.m(e,this,i,o,t,r),l.active||l.n)}for(var c=0;c<this.physicsParticles.length;c++){var m=this.physicsParticles[c];m.active&&m.update(e,t,a)}}},e.exports={Te:o}},"61fc98e9":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){var a={join_full:t.translate("index-team-is-full"),join_not_found:t.translate("index-failed-joining-team"),create_failed:t.translate("index-failed-creating-team"),join_failed:t.translate("index-failed-joining-team"),join_game_failed:t.translate("index-failed-joining-game"),lost_conn:t.translate("index-lost-connection"),find_game_error:t.translate("index-failed-finding-game"),find_game_full:t.translate("index-failed-finding-game"),find_game_invalid_protocol:t.translate("index-invalid-protocol"),kicked:t.translate("index-team-kicked")};return a[e]||a.lost_conn}var o=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},s=a("8ee62bea"),n=a("989ad62a"),l=(a("10899aea"),a("300e2704")),c=(a("48eca919"),a("259eae5b")),m=a("ce29f17f"),p=a("26be8056"),h=(a("b1f6ba3c"),function{function e(t,a,i,o,n,l,c){var h=this;r(this,e),this.playBtn=s("#btn-start-team"),this.serverWarning=s("#server-warning"),this.teamOptions=s("#btn-team-queue-mode-1, #btn-team-queue-mode-2, #btn-team-fill-auto, #btn-team-fill-none"),this.serverSelect=s("#team-server-select"),this.queueMode1=s("#btn-team-queue-mode-1"),this.queueMode2=s("#btn-team-queue-mode-2"),this.fillAuto=s("#btn-team-fill-auto"),this.fillNone=s("#btn-team-fill-none"),this.config=t,this.pingTest=a,this.siteInfo=i,this.localization=o,this.audioManager=n,this.joinGameCb=l,this.leaveCb=c,this.active=!1,this.joined=!1,this.create=!1,this.joiningGame=!1,this.ws=null,this.keepAliveTimeout=0,this.playerData={},this.roomData={},this.players=[],this.prevPlayerCount=0,this.localPlayerId=0,this.isLeader=!0,this.editingName=!1,this.displayedInvalidProtocolModal=!1,this.serverSelect.change(function{var e=h.serverSelect.find(":selected").val;h.pingTest.start([e]),h.setRoomProperty("region",e)}),this.queueMode1.click(function{h.setRoomProperty("gameModeIdx",1)}),this.queueMode2.click(function{h.setRoomProperty("gameModeIdx",2)}),this.fillAuto.click(function{h.setRoomProperty("autoFill",!0)}),this.fillNone.click(function{h.setRoomProperty("autoFill",!1)}),this.playBtn.on("click",function{h.tryStartGame}),s("#team-copy-url, #team-desc-text").click(function(e){var t=s(" ",{class:"copy-toast",html:"Copied!"});s("#start-menu-wrapper").append(t),t.css({left:e.pageX-parseInt(t.css("width"))/2,top:s("#team-copy-url").offset.top}),t.animate({top:"-=20",opacity:1},{queue:!1,duration:300,complete:function{s(this).fadeOut(250,function{s(this).remove})}});var a=s("#team-url").html;p.copyTextToClipboard(a)}),m.webview||m.mobile||(this.hideUrl=!1,s("#team-hide-url").click(function(e){var t=e.currentTarget;h.hideUrl=!h.hideUrl,s("#team-desc-text, #team-code-text").css({opacity:h.hideUrl?0:1}),s(t).css({"background-image":h.hideUrl?"url(../img/gui/hide.svg)":"url(../img/gui/eye.svg)"})}))}return o(e,[{key:"getPlayerById",value:function(e){return this.players.find(function(t){return t.playerId==e})}},{key:"update",value:function(e){this.joined&&(this.keepAliveTimeout-=e,this.keepAliveTimeout<0&&(this.keepAliveTimeout=30,this.sendMessage("keepAlive",{})))}},{key:"connect",value:function(e,t){var a=this;if(!this.active||t!==this.roomData.roomUrl){var r="https:"==window.location.protocol,i=r?"wss:":"ws:",o=c.resolveRoomHost(e,t),s=i+"//"+o+"/team";this.active=!0,this.joined=!1,this.create=e,this.joiningGame=!1,this.editingName=!1,this.playerData={name:this.config.get("playerName")},this.roomData={roomUrl:t,region:this.config.get("region"),gameModeIdx:this.config.get("gameModeIdx"),autoFill:this.config.get("teamAutoFill"),findingGame:!1,lastError:""},this.displayedInvalidProtocolModal=!1,this.refreshUi,this.ws&&(this.ws.onclose=function{},this.ws.close,this.ws=null);try{this.ws=new WebSocket(s),this.ws.onerror=function(e){a.ws&&a.ws.close},this.ws.onclose=function{var e="";a.joiningGame||(e=a.joined?"lost_conn":a.create?"create_failed":"join_failed"),a.leave(e)},this.ws.onopen=function{a.create?a.sendMessage("create",{roomData:a.roomData,playerData:a.playerData}):a.sendMessage("join",{roomUrl:a.roomData.roomUrl,playerData:a.playerData})},this.ws.onmessage=function(e){if(a.active){var t=JSON.parse(e.data);a.onMessage(t.type,t.data)}}}catch(e){this.leave(this.create?"create_failed":"join_failed")}}}},{key:"leave",value:function(e){if(this.active){this.ws&&this.ws.close,this.ws=null,this.active=!1,this.joined=!1,this.joiningGame=!1,this.refreshUi,this.config.set("gameModeIdx",this.roomData.gameModeIdx),this.config.set("teamAutoFill",this.roomData.autoFill),this.isLeader&&this.config.set("region",this.roomData.region);var t="";e&&""!=e&&(t=i(e,this.localization)),this.leaveCb(t)}}},{key:"onGameComplete",value:function{this.active&&(this.joiningGame=!1,this.sendMessage("gameComplete"))}},{key:"onMessage",value:function(e,t){switch(e){case"state":this.joined=!0;var a=this.roomData;this.roomData=t.room,this.players=t.players,this.localPlayerId=t.localPlayerId,this.isLeader=this.getPlayerById(this.localPlayerId).isLeader,this.isLeader&&(this.roomData.region=a.region,this.roomData.autoFill=a.autoFill),this.refreshUi;break;case"joinGame":this.joiningGame=!0,this.joinGameCb(t);break;case"keepAlive":break;case"kicked":this.leave("kicked");break;case"error":this.leave(t.type)}}},{key:"sendMessage",value:function(e,t){if(this.ws)if(this.ws.readyState===this.ws.OPEN){var a=JSON.stringify({type:e,data:t});this.ws.send(a)}else this.ws.close}},{key:"setRoomProperty",value:function(e,t){this.isLeader&&this.roomData[e]!=t&&(this.roomData[e]=t,this.sendMessage("setRoomProps",this.roomData))}},{key:"tryStartGame",value:function{if(this.isLeader&&!this.roomData.findingGame){var e=n.protocolVersion,t=this.roomData.region,a=p.getParameterByName("region");void 0!==a&&a.length>0&&(t=a);var r=this.pingTest.getZones(t),i=p.getParameterByName("zone");void 0!==i&&i.length>0&&(r=[i]);var o={version:e,region:t,zones:r};this.sendMessage("playGame",o),this.roomData.findingGame=!0,this.refreshUi}}},{key:"refreshUi",value:function{var e=this,t=function(e,t,a){e.removeClass("btn-darken btn-disabled btn-opaque btn-hollow-selected"),a?e.addClass("btn-darken"):(e.addClass("btn-disabled"),t||e.addClass("btn-opaque")),t&&e.addClass("btn-hollow-selected"),e.prop("disabled",!a)};s("#team-menu").css("display",this.active?"block":"none"),s("#start-menu").css("display",this.active?"none":"block"),s("#news-block").css("display",this.active?"none":"block"),s("#social-share-block").css("display",this.active?"none":"block");var a=""!=this.roomData.lastError,r=i(this.roomData.lastError,this.localization);if(this.serverWarning.css("opacity",a?1:0),this.serverWarning.html(r),"find_game_invalid_protocol"!=this.roomData.lastError||this.displayedInvalidProtocolModal||(s("#modal-refresh").fadeIn(200),this.displayedInvalidProtocolModal=!0),this.active&&(s("#team-menu-joining-text").css("display",this.create?"none":"block"),s("#team-menu-creating-text").css("display",this.create?"block":"none"),s("#team-menu-connecting").css("display",this.joined?"none":"block"),s("#team-menu-contents").css("display",this.joined?"block":"none"),s("#btn-team-leave").css("display",this.joined?"block":"none")),this.joined){for(var o=this.siteInfo.info.pops||{},n=Object.keys(o),c=0;c<n.length;c++){var h=n[c],d=o[h],u=s("#team-server-opts").children('option[value="'+h+'"]');u.html(u.attr("data-label")+" ["+d+"]")}if(this.serverSelect.find("option").each(function(t,a){a.selected=a.value==e.roomData.region}),t(this.queueMode1,1==this.roomData.gameModeIdx,this.isLeader&&-1!==this.roomData.enabledGameModeIdxs.indexOf(1)),t(this.queueMode2,2==this.roomData.gameModeIdx,this.isLeader&&-1!==this.roomData.enabledGameModeIdxs.indexOf(2)),t(this.fillAuto,this.roomData.autoFill,this.isLeader),t(this.fillNone,!this.roomData.autoFill,this.isLeader),this.serverSelect.prop("disabled",!this.isLeader),this.roomData.roomUrl){var g=window.location.origin+"/"+this.roomData.roomUrl,y=this.roomData.roomUrl.substring(1);m.webview?s("#team-url").html(y):(s("#team-url").html(g),s("#team-code").html(y)),window.history&&window.history.replaceState("","",this.roomData.roomUrl)}this.playBtn.html(this.roomData.findingGame||this.joiningGame?' ':this.playBtn.attr("data-label"));for(var w=this.siteInfo.getGameModeStyles,f=0;f<w.length;f++)this.playBtn.removeClass(w[f].buttonCss);var b=w[this.roomData.gameModeIdx];b?(this.playBtn.addClass("btn-custom-mode-no-indent"),this.playBtn.addClass(b.buttonCss),this.playBtn.css({"background-image":"url("+b.icon+")"})):this.playBtn.css({"background-image":""});for(var _=!1,x=0;x<this.players.length;x++)_|=this.players[x].inGame;var S=s("#msg-wait-reason");if(this.isLeader){S.html(this.localization.translate("index-game-in-progress")+" ... ");var v=_&&!this.joiningGame;S.css("display",v?"block":"none"),this.playBtn.css("display",v?"none":"block")}else this.roomData.findingGame||this.joiningGame?S.html(' '+this.localization.translate("index-joining-game")+" ... "):_?S.html(this.localization.translate("index-game-in-progress")+" ... "):S.html(this.localization.translate("index-waiting-for-leader")+" ... "),S.css("display","block"),this.playBtn.css("display","none");var z=s("#team-menu-member-list");z.empty;for(var k=0;k<this.roomData.maxPlayers;k++)!function(t){var a={name:"",playerId:0,isLeader:!1,inGame:!1,self:!1};if(t<e.players.length){var r=e.players[t];a={name:r.name,playerId:r.playerId,isLeader:r.isLeader,inGame:r.inGame,self:r.playerId==e.localPlayerId}}var i=s(" ",{class:"team-menu-member"}),o="";a.isLeader?o=" icon-leader":e.isLeader&&0!=a.playerId&&(o=" icon-kick"),i.append(s(" ",{class:"icon"+o,"data-playerid":a.playerId}));var n=null,c=null;if(e.editingName&&a.self){n=s(" ",{type:"text",tabindex:0,class:"name menu-option name-text name-self-input",maxLength:l.Constants.PlayerNameMaxLen}),n.val(a.name);var m=function(t){var r=p.sanitizeNameInput(n.val);a.name=r,e.config.set("playerName",r),e.sendMessage("changeName",{name:r}),e.editingName=!1,e.refreshUi},h=function(t){e.editingName=!1,e.refreshUi};n.keypress(function(e){if(13===e.which)return m,!1}),n.on("blur",h),i.append(n),c=s(" ",{class:"icon icon-submit-name-change"}),c.on("click",m),c.on("mousedown",function(e){e.preventDefault,e.stopPropagation})}else{var d="name-text";a.self&&(d+=" name-self"),a.inGame&&(d+=" name-in-game");var u=s(" ",{class:"name menu-option "+d,html:p.htmlEscape(a.name)});a.self&&u.on("click",function{console.log("editing name"),e.editingName=!0,e.refreshUi}),i.append(u)}c?i.append(c):i.append(s(" ",{class:"icon "+(a.inGame?"icon-in-game":"")})),z.append(i),n&&n.focus}(k);s(".icon-kick",z).click(function(t){var a=s(t.currentTarget).attr("data-playerid");e.sendMessage("kick",{playerId:a})});var I=this.players.find(function(t){return t.playerId==e.localPlayerId}),T=I&&!I.inGame;!document.hasFocus&&this.prevPlayerCount<this.players.length&&this.players.length>1&&T&&this.audioManager.playSound("notification_join_01",{channel:"ui"}),this.prevPlayerCount=this.players.length}}}]),e});e.exports=h},"63d67e9d":function(e,t,a){"use strict";function r(e,t){return i.mergeDeep({},o[e],{baseType:e},t)}var i=a("1901e2d9"),o={outfitBase:{name:"Basic Outfit",type:"outfit",skinImg:{baseTint:16303476,baseSprite:"player-base-01.img",handTint:16303476,handSprite:"player-hands-01.img",footTint:16303476,footSprite:"player-feet-01.img",backpackTint:8480055,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitBase.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"clothes_pickup_01"}}},s={outfitBase:r("outfitBase",{noDropOnDeath:!0,name:"Basic Outfit",rarity:0,lore:"Pure and simple."}),outfitDev:r("outfitBase",{name:"Developer Swag",noDropOnDeath:!0,skinImg:{baseTint:3442216,baseSprite:"player-base-outfitDC.img",handTint:6937122,handSprite:"player-hands-02.img",footTint:6937122,footSprite:"player-feet-02.img",backpackTint:2902793,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-outfitDev.img",tint:16777215},rarity:5,lore:"Two-time limited edition print."}),outfitMod:r("outfitBase",{name:"Discord Moderatr",noDropOnDeath:!0,skinImg:{baseTint:3380187,baseSprite:"player-base-outfitDC.img",handTint:9684974,handSprite:"player-hands-02.img",footTint:9684974,footSprite:"player-feet-02.img",backpackTint:1529478,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-outfitMod.img",tint:16777215},rarity:3,lore:"For those who wield the power of the pan."}),outfitWheat:r("outfitBase",{name:"Splintered Wheat",skinImg:{baseTint:16777215,baseSprite:"player-base-outfitWheat.img",handTint:15785362,handSprite:"player-hands-01.img",footTint:15785362,footSprite:"player-feet-01.img",backpackTint:13346845,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitWheat.img",tint:16777215}}),outfitNoir:r("outfitBase",{name:"Neo Noir",skinImg:{baseTint:1776411,baseSprite:"player-base-02.img",handTint:16777215,handSprite:"player-hands-02.img",footTint:16777215,footSprite:"player-feet-02.img",backpackTint:7829367,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:1776411}}),outfitRedLeaderAged:r("outfitBase",{name:"Weathered Red",skinImg:{baseTint:10098712,baseSprite:"player-base-02.img",handTint:16711680,handSprite:"player-hands-02.img",footTint:16711680,footSprite:"player-feet-02.img",backpackTint:5442572,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:10098712}}),outfitBlueLeaderAged:r("outfitBase",{name:"Stifled Blue",skinImg:{baseTint:1523353,baseSprite:"player-base-02.img",handTint:20223,handSprite:"player-hands-02.img",footTint:20223,footSprite:"player-feet-02.img",backpackTint:794700,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:1523353}}),outfitRedLeader:r("outfitBase",{name:"Red Leader",noDrop:!0,skinImg:{baseTint:10158080,baseSprite:"player-base-02.img",handTint:16711680,handSprite:"player-hands-02.img",footTint:16711680,footSprite:"player-feet-02.img",backpackTint:5439488,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:8650752}}),outfitBlueLeader:r("outfitBase",{name:"Blue Leader",noDrop:!0,skinImg:{baseTint:12187,baseSprite:"player-base-02.img",handTint:20223,handSprite:"player-hands-02.img",footTint:20223,footSprite:"player-feet-02.img",backpackTint:5964,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:13223}}),outfitSpetsnaz:r("outfitBase",{name:"Siberian Assault",skinImg:{baseTint:16777215,baseSprite:"player-base-outfitSpetsnaz.img",handTint:15000804,handSprite:"player-hands-01.img",footTint:15000804,footSprite:"player-feet-01.img",backpackTint:13816530,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitSpetsnaz.img",tint:16777215}}),outfitWoodsCloak:r("outfitBase",{name:"GreenCloak",skinImg:{baseTint:2817792,baseSprite:"player-base-02.img",handTint:16711594,handSprite:"player-hands-02.img",footTint:16711594,footSprite:"player-feet-02.img",backpackTint:15635271,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:2817792}}),outfitElf:r("outfitBase",{name:"Tallow's Little Helper",skinImg:{baseTint:12845056,baseSprite:"player-base-01.img",handTint:1489152,handSprite:"player-hands-01.img",footTint:1489152,footSprite:"player-feet-01.img",backpackTint:365312,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:1489152}}),outfitImperial:r("outfitBase",{name:"Imperial Seal",skinImg:{baseTint:12320813,baseSprite:"player-base-01.img",handTint:16777215,handSprite:"player-hands-01.img",footTint:16777215,footSprite:"player-feet-01.img",backpackTint:12625727,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:12320813}}),outfitLumber:r("outfitBase",{name:"Woodcutter's Wrap",skinImg:{baseTint:16777215,baseSprite:"player-base-outfitLumber.img",handTint:8258312,handSprite:"player-hands-02.img",footTint:8258312,footSprite:"player-feet-02.img",backpackTint:4854547,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-outfitLumber.img",tint:16777215}}),outfitVerde:r("outfitBase",{name:"Poncho Verde",skinImg:{baseTint:1785868,baseSprite:"player-base-02.img",handTint:11912587,handSprite:"player-hands-02.img",footTint:11912587,footSprite:"player-feet-02.img",backpackTint:11238441,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:1785868}}),outfitPineapple:r("outfitBase",{name:"Valiant Pineapple",skinImg:{baseTint:10027008,baseSprite:"player-base-02.img",handTint:4985105,handSprite:"player-hands-02.img",footTint:4985105,footSprite:"player-feet-02.img",backpackTint:16763904,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:10027008}}),outfitTarkhany:r("outfitBase",{name:"Tarkhany Regal",skinImg:{baseTint:4927107,baseSprite:"player-base-02.img",handTint:16757760,handSprite:"player-hands-02.img",footTint:16757760,footSprite:"player-feet-02.img",backpackTint:4661344,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:4927107}}),outfitWaterElem:r("outfitBase",{name:"Water Elemental",skinImg:{baseTint:7143401,baseSprite:"player-base-02.img",handTint:15990876,handSprite:"player-hands-02.img",footTint:15990876,footSprite:"player-feet-02.img",backpackTint:32644,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:7143401}}),outfitHeaven:r("outfitBase",{name:"Celestial Garb",skinImg:{baseTint:16777215,baseSprite:"player-base-outfitHeaven.img",handTint:13762639,handSprite:"player-hands-02.img",footTint:13762639,footSprite:"player-feet-02.img",backpackTint:36503,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-outfitHeaven.img",tint:16777215}}),outfitMeteor:r("outfitBase",{name:"Falling Star",skinImg:{baseTint:9764864,baseSprite:"player-base-02.img",handTint:16742400,handSprite:"player-hands-02.img",footTint:16742400,footSprite:"player-feet-02.img",backpackTint:4727582,backpackSprite:"player-circle-base-02.img"},lootImg:{sprite:"loot-shirt-01.img",tint:9764864}}),outfitIslander:r("outfitBase",{name:"Island Time",skinImg:{baseTint:16762368,baseSprite:"player-base-01.img",handTint:148992,handSprite:"player-hands-01.img",footTint:148992,footSprite:"player-feet-01.img",backpackTint:4495104,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:16762368}}),outfitAqua:r("outfitBase",{name:"Aquatic Avenger",skinImg:{baseTint:47778,baseSprite:"player-base-01.img",handTint:65502,handSprite:"player-hands-01.img",footTint:65502,footSprite:"player-feet-01.img",backpackTint:536620,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:47778}}),outfitCoral:r("outfitBase",{name:"Coral Guise",skinImg:{baseTint:16736103,baseSprite:"player-base-01.img",handTint:16746895,handSprite:"player-hands-01.img",footTint:16746895,footSprite:"player-feet-01.img",backpackTint:16772298,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:16736103}}),outfitKhaki:r("outfitBase",{name:"The Initiative",rarity:1,skinImg:{baseTint:12824197,baseSprite:"player-base-01.img",handTint:9404516,handSprite:"player-hands-01.img",footTint:9404516,footSprite:"player-feet-01.img",backpackTint:4208940,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:12824197}}),outfitParma:r("outfitBase",{name:"PARMA Jumpsuit",rarity:1,skinImg:{baseTint:8746585,baseSprite:"player-base-01.img",handTint:12824197,handSprite:"player-hands-01.img",footTint:12824197,footSprite:"player-feet-01.img",backpackTint:4208940,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitParma.img",tint:12824197}}),outfitCasanova:r("outfitBase",{name:"Casanova Silks",skinImg:{baseTint:4327436,baseSprite:"player-base-01.img",handTint:7602183,handSprite:"player-hands-01.img",footTint:7602183,footSprite:"player-feet-01.img",backpackTint:1052688,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:4327436}}),outfitPrisoner:r("outfitBase",{name:"The New Black",skinImg:{baseTint:16735266,baseSprite:"player-base-01.img",handTint:16545059,handSprite:"player-hands-01.img",footTint:16545059,footSprite:"player-feet-01.img",backpackTint:16756224,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:16735266}}),outfitJester:r("outfitBase",{name:"Jester's Folly",skinImg:{baseTint:7798904,baseSprite:"player-base-01.img",handTint:4915276,handSprite:"player-hands-01.img",footTint:4915276,footSprite:"player-feet-01.img",backpackTint:936960,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:7798904}}),outfitWoodland:r("outfitBase",{name:"Woodland Combat",rarity:1,lore:"Common component of PARMA survival caches.",skinImg:{baseTint:2831146,baseSprite:"player-base-01.img",handTint:5925970,handSprite:"player-hands-01.img",footTint:5925970,footSprite:"player-feet-01.img",backpackTint:5056e3,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitWoodland.img",tint:16777215}}),outfitRoyalFortune:r("outfitBase",{name:"Royal Fortune",rarity:3,skinImg:{baseTint:8333091,baseSprite:"player-base-01.img",handTint:15254058,handSprite:"player-hands-01.img",footTint:15254058,footSprite:"player-feet-01.img",backpackTint:9981696,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitRoyalFortune.img",tint:16777215}}),outfitKeyLime:r("outfitBase",{name:"Key Lime",rarity:1,lore:"Not for eating.",skinImg:{baseTint:13107007,baseSprite:"player-base-01.img",handTint:15662941,handSprite:"player-hands-01.img",footTint:15662941,footSprite:"player-feet-01.img",backpackTint:12355383,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitKeyLime.img",tint:16777215}}),outfitCobaltShell:r("outfitBase",{name:"Cobalt Shell",rarity:1,lore:"It means bluish.",skinImg:{baseTint:11095,baseSprite:"player-base-01.img",handTint:2711164,handSprite:"player-hands-01.img",footTint:2711164,footSprite:"player-feet-01.img",backpackTint:19093,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitCobaltShell.img",tint:16777215}}),outfitCarbonFiber:r("outfitBase",{name:"Carbon Fiber",rarity:1,lore:"Military-grade, fine spun filament.",skinImg:{baseTint:2171169,baseSprite:"player-base-01.img",handTint:1842204,handSprite:"player-hands-01.img",footTint:1842204,footSprite:"player-feet-01.img",backpackTint:3552822,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitCarbonFiber.img",tint:16777215}}),outfitDarkGloves:r("outfitBase",{name:"The Professional",rarity:1,lore:"True survivrs wear the dark gloves.",skinImg:{baseTint:16303476,baseSprite:"player-base-01.img",handTint:12482560,handSprite:"player-hands-01.img",footTint:12482560,footSprite:"player-feet-01.img",backpackTint:10708736,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitDarkGloves.img",tint:16777215}}),outfitDarkShirt:r("outfitBase",{name:"The Semi-Pro",noDropOnDeath:!0,rarity:1,lore:"Some survivrs wear the dark shirt.",skinImg:{baseTint:12482560,baseSprite:"player-base-01.img",handTint:16303476,handSprite:"player-hands-01.img",footTint:16303476,footSprite:"player-feet-01.img",backpackTint:15183443,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitDarkShirt.img",tint:16777215}}),outfitGhillie:r("outfitBase",{name:"Ghillie Suit",ghillie:!0,skinImg:{baseTint:8630096,baseSprite:"player-base-01.img",handTint:8630096,handSprite:"player-hands-01.img",footTint:8630096,footSprite:"player-feet-01.img",backpackTint:6697728,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-01.img",tint:8630096}}),outfitDesertCamo:r("outfitBase",{name:"Desert Camo",rarity:1,skinImg:{baseTint:13736782,baseSprite:"player-base-01.img",handTint:11169046,handSprite:"player-hands-01.img",footTint:11169046,footSprite:"player-feet-01.img",backpackTint:16763778,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitDesertCamo.img",tint:16777215}}),outfitCamo:r("outfitBase",{name:"Forest Camo",rarity:1,lore:"Be one with the trees.",skinImg:{baseTint:10066278,baseSprite:"player-base-01.img",handTint:8684631,handSprite:"player-hands-01.img",footTint:8684631,footSprite:"player-feet-01.img",backpackTint:6710835,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitCamo.img",tint:16777215}}),outfitRed:r("outfitBase",{name:"Target Practice",rarity:1,lore:"On the plus side, they won't see you bleed.",skinImg:{baseTint:16711680,baseSprite:"player-base-01.img",handTint:13893632,handSprite:"player-hands-01.img",footTint:13893632,footSprite:"player-feet-01.img",backpackTint:11993088,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitRed.img",tint:16777215}}),outfitWhite:r("outfitBase",{name:"Arctic Avenger",rarity:1,lore:"No business like snow business.",skinImg:{baseTint:14935011,baseSprite:"player-base-01.img",handTint:15658734,handSprite:"player-hands-01.img",footTint:15658734,footSprite:"player-feet-01.img",backpackTint:14474460,backpackSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-shirt-outfitWhite.img",tint:16777215}}),outfitBarrel:r("outfitBase",{name:"Fish in a Barrel",obstacleType:"barrel_01",baseScale:.8,lootImg:{tint:3750201}}),outfitWoodBarrel:r("outfitBase",{name:"Fish in a Wood Barrel",obstacleType:"barrel_02",baseScale:1,lootImg:{tint:11235106}}),outfitStone:r("outfitBase",{name:"Stoneskin",obstacleType:"stone_01",baseScale:.9,lootImg:{tint:7434609}}),outfitTree:r("outfitBase",{name:"Barkskin",obstacleType:"tree_07",baseScale:1,lootImg:{tint:4599058}}),outfitTreeSpooky:r("outfitBase",{name:"Spooky Barkskin",obstacleType:"tree_05",baseScale:1,lootImg:{tint:1775895}}),outfitStump:r("outfitBase",{name:"Stump Costume",obstacleType:"tree_09",baseScale:1,lootImg:{tint:8602624}}),outfitBush:r("outfitBase",{name:"Bush Wookie",obstacleType:"bush_01b",baseScale:1,lootImg:{tint:3889951}}),outfitLeafPile:r("outfitBase",{name:"Leaf Pile Wookie",obstacleType:"bush_06b",baseScale:1,lootImg:{tint:16731392}}),outfitCrate:r("outfitBase",{name:"Guy in a Box",obstacleType:"crate_01",baseScale:1,lootImg:{tint:6697728}}),outfitTable:r("outfitBase",{name:"Yard Sale",obstacleType:"table_01",baseScale:1,lootImg:{tint:6697728}}),outfitSoviet:r("outfitBase",{name:"Comrade in a Box",obstacleType:"crate_02",baseScale:1,lootImg:{tint:6697728}}),outfitAirdrop:r("outfitBase",{name:"Air Drop Costume",obstacleType:"crate_10",baseScale:1,lootImg:{tint:6579300}}),outfitOven:r("outfitBase",{name:"Oven Costume",obstacleType:"oven_01",baseScale:1,lootImg:{tint:14935011}}),outfitRefrigerator:r("outfitBase",{name:"Fridge Costume",obstacleType:"refrigerator_01b",baseScale:1,lootImg:{tint:7733259}}),outfitVending:r("outfitBase",{name:"Vending Costume",obstacleType:"vending_01",baseScale:1,lootImg:{tint:10925}}),outfitPumpkin:r("outfitBase",{name:"Pumpkin Costume",obstacleType:"pumpkin_01",baseScale:1,lootImg:{tint:15889667}}),outfitWoodpile:r("outfitBase",{name:"Woodpile Costume",obstacleType:"woodpile_01",baseScale:1,lootImg:{tint:9455616}}),outfitToilet:r("outfitBase",{name:"Toilet Costume",obstacleType:"toilet_02",baseScale:1,lootImg:{tint:16777215}})},n=i.mergeDeep({},o,s);e.exports=n},"66141f52":function(e,t,a){"use strict";function r(e,t,a){a=a||2;var r=t&&t.length,o=r?t[0]*a:e.length,n=i(e,0,o,a,!0),l=[];if(!n)return l;var c,m,h,d,u,g,y;if(r&&(n=p(e,t,n,a)),e.length>80*a){c=h=e[0],m=d=e[1];for(var w=a;w<o;w+=a)u=e[w],g=e[w+1],u<c&&(c=u),g<m&&(m=g),u>h&&(h=u),g>d&&(d=g);y=Math.max(h-c,d-m),y=0!==y?1/y:0}return s(n,l,a,c,m,y),l}function i(e,t,a,r,i){var o,s;if(i===A(e,t,a,r)>0)for(o=t;o<a;o+=r)s=M(o,e[o],e[o+1],s);else for(o=a-r;o>=t;o-=r)s=M(o,e[o],e[o+1],s);return s&&S(s,s.next)&&(C(s),s=s.next),s}function o(e,t){if(!e)return e;t||(t=e);var a,r=e;do{if(a=!1,r.steiner||!S(r,r.next)&&0!==x(r.prev,r,r.next))r=r.next;else{if(C(r),(r=t=r.prev)===r.next)break;a=!0}}while(a||r!==t);return t}function s(e,t,a,r,i,p,h){if(e){!h&&p&&g(e,r,i,p);for(var d,u,y=e;e.prev!==e.next;)if(d=e.prev,u=e.next,p?l(e,r,i,p):n(e))t.push(d.i/a),t.push(e.i/a),t.push(u.i/a),C(e),e=u.next,y=u.next;else if((e=u)===y){h?1===h?(e=c(e,t,a),s(e,t,a,r,i,p,2)):2===h&&m(e,t,a,r,i,p):s(o(e),t,a,r,i,p,1);break}}}function n(e){var t=e.prev,a=e,r=e.next;if(x(t,a,r)>=0)return!1;for(var i=e.next.next;i!==e.prev;){if(b(t.x,t.y,a.x,a.y,r.x,r.y,i.x,i.y)&&x(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(e,t,a,r){var i=e.prev,o=e,s=e.next;if(x(i,o,s)>=0)return!1;for(var n=i.x<o.x?i.x<s.x?i.x:s.x:o.x<s.x?o.x:s.x,l=i.y<o.y?i.y<s.y?i.y:s.y:o.y<s.y?o.y:s.y,c=i.x>o.x?i.x>s.x?i.x:s.x:o.x>s.x?o.x:s.x,m=i.y>o.y?i.y>s.y?i.y:s.y:o.y>s.y?o.y:s.y,p=w(n,l,t,a,r),h=w(c,m,t,a,r),d=e.prevZ,u=e.nextZ;d&&d.z>=p&&u&&u.z<=h;){if(d!==e.prev&&d!==e.next&&b(i.x,i.y,o.x,o.y,s.x,s.y,d.x,d.y)&&x(d.prev,d,d.next)>=0)return!1;if(d=d.prevZ,u!==e.prev&&u!==e.next&&b(i.x,i.y,o.x,o.y,s.x,s.y,u.x,u.y)&&x(u.prev,u,u.next)>=0)return!1;u=u.nextZ}for(d&&d.z>=p;){if(d!==e.prev&&d!==e.next&&b(i.x,i.y,o.x,o.y,s.x,s.y,d.x,d.y)&&x(d.prev,d,d.next)>=0)return!1;d=d.prevZ}for(u&&u.z<=h;){if(u!==e.prev&&u!==e.next&&b(i.x,i.y,o.x,o.y,s.x,s.y,u.x,u.y)&&x(u.prev,u,u.next)>=0)return!1;u=u.nextZ}return!0}function c(e,t,a){var r=e;do{var i=r.prev,o=r.next.next;!S(i,o)&&v(i,r,r.next,o)&&k(i,o)&&k(o,i)&&(t.push(i.i/a),t.push(r.i/a),t.push(o.i/a),C(r),C(r.next),r=e=o),r=r.next}while(r!==e);return r}function m(e,t,a,r,i,n){var l=e;do{for(var c=l.next.next;c!==l.prev;){if(l.i!==c.i&&_(l,c)){var m=T(l,c);return l=o(l,l.next),m=o(m,m.next),s(l,t,a,r,i,n),void s(m,t,a,r,i,n)}c=c.next}l=l.next}while(l!==e)}function p(e,t,a,r){var s,n,l,c,m,p=[];for(s=0,n=t.length;s<n;s++)l=t[s]*r,c=s<n-1?t[s+1]*r:e.length,m=i(e,l,c,r,!1),m===m.next&&(m.steiner=!0),p.push(f(m));for(p.sort(h),s=0;s<p.length;s++)d(p[s],a),a=o(a,a.next);return a}function h(e,t){return e.x-t.x}function d(e,t){if(t=u(e,t)){var a=T(t,e);o(a,a.next)}}function u(e,t){var a,r=t,i=e.x,o=e.y,s=-1/0;do{if(o<=r.y&&o>=r.next.y&&r.next.y!==r.y){var n=r.x+(o-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(n<=i&&n>s){if(s=n,n===i){if(o===r.y)return r;if(o===r.next.y)return r.next}a=r.x<r.next.x?r:r.next}}r=r.next}while(r!==t);if(!a)return null;if(i===s)return a.prev;var l,c=a,m=a.x,p=a.y,h=1/0;for(r=a.next;r!==c;)i>=r.x&&r.x>=m&&i!==r.x&&b(o<p?i:s,o,m,p,o<p?s:i,o,r.x,r.y)&&((l=Math.abs(o-r.y)/(i-r.x))<h||l===h&&r.x>a.x)&&k(r,e)&&(a=r,h=l),r=r.next;return a}function g(e,t,a,r){var i=e;do{null===i.z&&(i.z=w(i.x,i.y,t,a,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,y(i)}function y(e){var t,a,r,i,o,s,n,l,c=1;do{for(a=e,e=null,o=null,s=0;a;){for(s++,r=a,n=0,t=0;t<c&&(n++,r=r.nextZ);t++);for(l=c;n>0||l>0&&r;)0!==n&&(0===l||!r||a.z<=r.z)?(i=a,a=a.nextZ,n--):(i=r,r=r.nextZ,l--),o?o.nextZ=i:e=i,i.prevZ=o,o=i;a=r}o.nextZ=null,c*=2}while(s>1);return e}function w(e,t,a,r,i){return e=32767*(e-a)*i,t=32767*(t-r)*i,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1}function f(e){var t=e,a=e;do{t.x<a.x&&(a=t),t=t.next}while(t!==e);return a}function b(e,t,a,r,i,o,s,n){return(i-s)*(t-n)-(e-s)*(o-n)>=0&&(e-s)*(r-n)-(a-s)*(t-n)>=0&&(a-s)*(o-n)-(i-s)*(r-n)>=0}function _(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!z(e,t)&&k(e,t)&&k(t,e)&&I(e,t)}function x(e,t,a){return(t.y-e.y)*(a.x-t.x)-(t.x-e.x)*(a.y-t.y)}function S(e,t){return e.x===t.x&&e.y===t.y}function v(e,t,a,r){return!!(S(e,t)&&S(a,r)||S(e,r)&&S(a,t))||x(e,t,a)>0!=x(e,t,r)>0&&x(a,r,e)>0!=x(a,r,t)>0}function z(e,t){var a=e;do{if(a.i!==e.i&&a.next.i!==e.i&&a.i!==t.i&&a.next.i!==t.i&&v(a,a.next,e,t))return!0;a=a.next}while(a!==e);return!1}function k(e,t){return x(e.prev,e,e.next)<0?x(e,t,e.next)>=0&&x(e,e.prev,t)>=0:x(e,t,e.prev)<0||x(e,e.next,t)<0}function I(e,t){var a=e,r=!1,i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{a.y>o!=a.next.y>o&&a.next.y!==a.y&&i<(a.next.x-a.x)*(o-a.y)/(a.next.y-a.y)+a.x&&(r=!r),a=a.next}while(a!==e);return r}function T(e,t){var a=new P(e.i,e.x,e.y),r=new P(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,a.next=i,i.prev=a,r.next=a,a.prev=r,o.next=r,r.prev=o,r}function M(e,t,a,r){var i=new P(e,t,a);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function C(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function P(e,t,a){this.i=e,this.x=t,this.y=a,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A(e,t,a,r){for(var i=0,o=t,s=a-r;o<a;o+=r)i+=(e[s]-e[o])*(e[o+1]+e[s+1]),s=o;return i}e.exports=r,e.exports.default=r,r.deviation=function(e,t,a,r){var i=t&&t.length,o=i?t[0]*a:e.length,s=Math.abs(A(e,0,o,a));if(i)for(var n=0,l=t.length;n<l;n++){var c=t[n]*a,m=n<l-1?t[n+1]*a:e.length;s-=Math.abs(A(e,c,m,a))}var p=0;for(n=0;n<r.length;n+=3){var h=r[n]*a,d=r[n+1]*a,u=r[n+2]*a;p+=Math.abs((e[h]-e[u])*(e[d+1]-e[h+1])-(e[h]-e[d])*(e[u+1]-e[h+1]))}return 0===s&&0===p?0:Math.abs((p-s)/s)},r.flatten=function(e){for(var t=e[0][0].length,a={vertices:[],holes:[],dimensions:t},r=0,i=0;i<e.length;i++){for(var o=0;o<e[i].length;o++)for(var s=0;s<t;s++)a.vertices.push(e[i][o][s]);i>0&&(r+=e[i-1].length,a.holes.push(r))}return a}},"692a679e":function(e,t){/*! * ========================================================== * COLOR PICKER PLUGIN 1.4.1 * ========================================================== * Author: Taufik Nurrohman <https://github.com/tovic> * License: MIT * -- */ !function(e,t,a){function r(e){return void 0!==e}function i(e){return"string"==typeof e}function o(e){return"object"==typeof e}function s(e){return Object.keys(e).length}function n(e,t,a){return e<t?t:e>a?a:e}function l(e,t){return parseInt(e,t||10)}function c(e){return Math.round(e)}function m(e){var t,a,r,i,o,s,n,l,m=+e[0],p=+e[1],h=+e[2];switch(i=Math.floor(6*m),o=6*m-i,s=h*(1-p),n=h*(1-o*p),l=h*(1-(1-o)*p),i=i||0,n=n||0,l=l||0,i%6){case 0:t=h,a=l,r=s;break;case 1:t=n,a=h,r=s;break;case 2:t=s,a=h,r=l;break;case 3:t=s,a=n,r=h;break;case 4:t=l,a=s,r=h;break;case 5:t=h,a=s,r=n}return[c(255*t),c(255*a),c(255*r)]}function p(e){return d(m(e))}function h(e){var t,a=+e[0],r=+e[1],i=+e[2],o=Math.max(a,r,i),s=Math.min(a,r,i),n=o-s,l=0===o?0:n/o,c=o/255;switch(o){case s:t=0;break;case a:t=r-i+n*(r<i?6:0),t/=6*n;break;case r:t=i-a+2*n,t/=6*n;break;case i:t=a-r+4*n,t/=6*n}return[t,l,c]}function d(e){var t=+e[2]|+e[1]<<8|+e[0]<<16;return t="000000"+t.toString(16),t.slice(-6)}function u(e){return h(g(e))}function g(e){return 3===e.length&&(e=e.replace(/./g,"$&$&")),[l(e[0]+e[1],16),l(e[2]+e[3],16),l(e[4]+e[5],16)]}function y(e){return[+e[0]/360,+e[1]/100,+e[2]/100]}function w(e){return[c(360*+e[0]),c(100*+e[1]),c(100*+e[2])]}function f(e){return[+e[0]/255,+e[1]/255,+e[2]/255]}function b(e){if(o(e))return e;var t=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i.exec(e),a=/\s*hsv\s*\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)\s*$/i.exec(e);return"#"===e[0]&&e.match(/^#([\da-f]{3}|[\da-f]{6})$/i)?u(e.slice(1)):a?y([+a[1],+a[2],+a[3]]):t?h([+t[1],+t[2],+t[3]]):[0,1,1]}var _="firstChild",x=setTimeout;!function(e){e.version="1.4.1",e.__instance__={},e.each=function(t,a){return x(function{var a,r=e.__instance__;for(a in r)t.call(r[a],a,r)},0===a?0:a||1),e},e.parse=b,e._HSV2RGB=m,e._HSV2HEX=p,e._RGB2HSV=h,e._HEX2HSV=u,e._HEX2RGB=function(e){return f(g(e))},e.HSV2RGB=function(e){return m(y(e))},e.HSV2HEX=function(e){return p(y(e))},e.RGB2HSV=function(e){return w(h(e))},e.RGB2HEX=d,e.HEX2HSV=function(e){return w(u(e))},e.HEX2RGB=g}(e.CP=function(a,l,c){function h(e,t,a){e=e.split(/\s+/);for(var r=0,i=e.length;r<i;++r)t.addEventListener(e[r],a,!1)}function d(e,t,a){e=e.split(/\s+/);for(var r=0,i=e.length;r<i;++r)t.removeEventListener(e[r],a)}function u(e,t){var a="touches",r="clientX",i="clientY",o=t[a]?t[a][0][r]:t[r],s=t[a]?t[a][0][i]:t[i],n=g(e);return{x:o-n.l,y:s-n.t}}function g(t){var a,r,i;return t===e?(a=e.pageXOffset||A.scrollLeft,r=e.pageYOffset||A.scrollTop):(i=t.getBoundingClientRect,a=i.left,r=i.top),{l:a,t:r}}function y(e,t){for((e=e.parentElement)&&e!==t;);return e}function w(e){e&&e.preventDefault}function f(t){return t===e?{w:e.innerWidth,h:e.innerHeight}:{w:t.offsetWidth,h:t.offsetHeight}}function b(e){return D||!!r(e)&&e}function S(e){D=e}function v(e,t,a){return r(e)?r(t)?(r(B[e])||(B[e]={}),r(a)||(a=s(B[e])),B[e][a]=t,O):B[e]:B}function z(e,t){return r(e)?r(t)?(delete B[e][t],O):(B[e]={},O):(B={},O)}function k(e,t,a){if(!r(B[e]))return O;if(r(a))r(B[e][a])&&B[e][a].apply(O,t);else for(var i in B[e])B[e][i].apply(O,t);return O}function I(e,t){e&&"h"!==e||k("change:h",t),e&&"sv"!==e||k("change:sv",t),k("change",t)}function T{return R.parentNode}function M(r,i){function o(e){var t=e.target;t===a||y(t,a)===a?(M,k("enter")):O.exit}function s(e){var t=(m(V),m([V[0],1,1]));W.style.backgroundColor="rgb("+t.join(",")+")",S(V),w(e)}function g(e){var t=n(u(U,e).y,0,B);V[0]=(B-t)/B,G.style.top=t-$/2+"px",s(e)}function _(e){var t=u(W,e),a=n(t.x,0,H),r=n(t.y,0,Q);V[1]=1-(H-a)/H,V[2]=(Q-r)/Q,K.style.right=H-a-re/2+"px",K.style.top=r-ie/2+"px",s(e)}function x(e){Y&&(g(e),ae=[p(V)],X||(k("drag:h",ae),k("drag",ae),I("h",ae))),J&&(_(e),ae=[p(V)],Z||(k("drag:sv",ae),k("drag",ae),I("sv",ae))),X=0,Z=0}function v(e){var t=e.target,r=Y?"h":"sv",i=[p(V),O],o=t===a||y(t,a)===a,s=t===R||y(t,R)===R;o||s?s&&(k("stop:"+r,i),k("stop",i),I(r,i)):T&&!1!==l&&(O.exit,I(0,i)),Y=0,J=0}function z(e){X=1,Y=1,x(e),w(e),k("start:h",ae),k("start",ae),I("h",ae)}function A(e){Z=1,J=1,x(e),w(e),k("start:sv",ae),k("start",ae),I("sv",ae)}r||((c||i||P).appendChild(R),O.visible=!0),ee=f(R).w,te=f(R).h;var E=f(W),D=f(K),B=f(U).h,H=E.w,Q=E.h,$=f(G).h,re=D.w,ie=D.h;r?(R.style.left=R.style.top="-9999px",!1!==l&&h(l,a,o),O.create=function{return M(1),k("create"),O},O.destroy=function{return!1!==l&&d(l,a,o),O.exit,S(!1),k("destroy"),O}):C,N=function{V=b(V),s,G.style.top=B-$/2-B*+V[0]+"px",K.style.right=H-re/2-H*+V[1]+"px",K.style.top=Q-ie/2-Q*+V[2]+"px"},O.exit=function(a){return T&&(T.removeChild(R),O.visible=!1),d(L,U,z),d(L,W,A),d(F,t,x),d(q,t,v),d(j,e,C),k("exit"),O},N,r||(h(L,U,z),h(L,W,A),h(F,t,x),h(q,t,v),h(j,e,C))}function C{return O.fit}var P=t.body,A=t.documentElement,O=this,E=e.CP,D=!1,B={},R=t.createElement("div"),L="touchstart mousedown",F="touchmove mousemove",q="touchend mouseup",j="orientationchange resize";if(!(O instanceof E))return new E(a,l);E.__instance__[a.id||a.name||s(E.__instance__)]=O,r(l)&&!0!==l||(l=L),S(E.parse(a.getAttribute("data-color")||a.value||[0,1,1])),R.className="color-picker",R.innerHTML=' ' '  ';var N,H=R[_].children,V=b([0,1,1]),U=H[0],W=H[1],G=U[_],K=W[_],X=0,Z=0,Y=0,J=0,Q=0,$=0,ee=0,te=0,ae=[p(V)];return M(1),x(function{var e=[p(V)];k("create",e),I(0,e)},0),O.fit=function(t){var i=f(e),s=f(A),l=i.w-s.w,c=i.h-A.clientHeight,m=g(e),p=g(a);if(Q=p.l+m.l,$=p.t+m.t+f(a).h,o(t))r(t[0])&&(Q=t[0]),r(t[1])&&($=t[1]);else{var h=m.l,d=m.t,u=m.l+i.w-ee-l,y=m.t+i.h-te-c;Q=n(Q,h,u)>>0,$=n($,d,y)>>0}return R.style.left=Q+"px",R.style.top=$+"px",k("fit"),O},O.set=function(e){return r(e)?(i(e)&&(e=E.parse(e)),S(e),N,O):b},O.get=function(e){return b(e)},O.source=a,O.self=R,O.visible=!1,O.on=v,O.off=z,O.fire=k,O.hooks=B,O.enter=function(e){return M(0,e),k("enter"),O},O})}(window,document)},"6a4e7802":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={mapId:5,desc:{name:"Savannah",icon:"img/gui/player-the-hunted.svg",buttonCss:"btn-mode-savannah"},assets:{audio:[],atlases:["gradient","loadout","shared","savannah"]},biome:{colors:{background:1858399,water:4301994,waterRipple:9892086,beach:13332786,riverbank:11689508,grass:11841582,underground:4001027,playerSubmerge:5151631,playerGhillie:11578411},particles:{}},gameMode:{maxPlayers:80,sniperMode:!0}};e.exports=r.mergeDeep({},i,o)},"6afea591":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={assets:{audio:[],atlases:["gradient","loadout","shared","main"]},biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:16035400,riverbank:9079434,grass:6066442,underground:1772803,playerSubmerge:2854052,playerGhillie:4285194},sound:{riverShore:"stone"},particles:{camera:"falling_leaf_spring"}}};e.exports=r.mergeDeep({},i,o)},"6b42806d":function(e,t,a){"use strict";var r=a("34e32c48"),i=a("10899aea"),o=a("c2a798c8"),s={Type:{Circle:0,Aabb:1},createCircle:function(e,t,a){return{type:s.Type.Circle,pos:o.copy(e),rad:t,height:void 0!==a?a:0}},createAabb:function(e,t,a){return{type:s.Type.Aabb,min:o.copy(e),max:o.copy(t),height:void 0!==a?a:0}},createAabbExtents:function(e,t,a){var r=o.sub(e,t),i=o.add(e,t);return s.createAabb(r,i,a)},createBounding:function(e){if(1==e.length)return s.copy(e[0]);for(var t=[],a=0,o=0;o<e.length;o++){var n=e[o];t.push(s.toAabb(n)),a=i.max(a,n.height)}var l=r.boundingAabb(t);return s.createAabb(l.min,l.max,a)},toAabb:function(e){if(e.type==s.Type.Aabb)return s.createAabb(e.min,e.max,e.height);var t=r.circleToAabb(e.pos,e.rad);return s.createAabb(t.min,t.max,e.height)},copy:function(e){return e.type==s.Type.Circle?s.createCircle(e.pos,e.rad,e.height):s.createAabb(e.min,e.max,e.height)},transform:function(e,t,a,r){if(e.type==s.Type.Aabb){for(var n=o.mul(o.sub(e.max,e.min),.5),l=o.add(e.min,n),c=[o.create(l.x-n.x,l.y-n.y),o.create(l.x-n.x,l.y+n.y),o.create(l.x+n.x,l.y-n.y),o.create(l.x+n.x,l.y+n.y)],m=o.create(Number.MAX_VALUE,Number.MAX_VALUE),p=o.create(-Number.MAX_VALUE,-Number.MAX_VALUE),h=0;h<c.length;h++){var d=o.add(o.rotate(o.mul(c[h],r),a),t);m.x=i.min(m.x,d.x),m.y=i.min(m.y,d.y),p.x=i.max(p.x,d.x),p.y=i.max(p.y,d.y)}return s.createAabb(m,p,e.height)}return s.createCircle(o.add(o.rotate(o.mul(e.pos,r),a),t),e.rad*r,e.height)},intersectCircle:function(e,t,a){return e.type==s.Type.Aabb?r.intersectAabbCircle(e.min,e.max,t,a):r.intersectCircleCircle(e.pos,e.rad,t,a)},intersectAabb:function(e,t,a){return e.type==s.Type.Aabb?r.intersectAabbAabb(e.min,e.max,t,a):r.intersectAabbCircle(t,a,e.pos,e.rad)},intersectSegment:function(e,t,a){return e.type==s.Type.Aabb?r.intersectSegmentAabb(t,a,e.min,e.max):r.intersectSegmentCircle(t,a,e.pos,e.rad)},intersect:function(e,t){return t.type==s.Type.Aabb?s.intersectAabb(e,t.min,t.max):s.intersectCircle(e,t.pos,t.rad)}};e.exports=s},"6bad552e":function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){return{time:e,bones:t}}function s(e,t,a){return{time:e,fn:t,args:a}}var n,l,c,m,p,h,d,u,g,y,w,f,b,_,x,S,v,z,k,I,T,M,C,P,A,O,E,D,B,R,L,F,q,j,N,H,V,U,W,G,K,X,Z,Y,J,Q,$,ee,te,ae,re,ie,oe=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},se=a("989ad62a"),ne=(se.Anim,a("0e566746")),le=a("10899aea"),ce=a("c2a798c8"),me=a("721a96bf"),pe=function{function e(t,a,r){i(this,e),this.pivot=ce.copy(t||ce.create(0,0)),this.rot=0,this.pos=ce.copy(r||ce.create(0,0))}return oe(e,[{key:"copy",value:function(e){ce.set(this.pivot,e.pivot),this.rot=e.rot,ce.set(this.pos,e.pos)}},{key:"rotate",value:function(e){return this.rot=e,this}},{key:"offset",value:function(e){return this.pos=ce.copy(e),this}}]),e};pe.identity=new pe(ce.create(0,0)),pe.lerp=function(e,t,a){var r=new pe;return r.pos=ce.lerp(e,t.pos,a.pos),r.rot=le.lerp(e,t.rot,a.rot),r.pivot=ce.lerp(e,t.pivot,a.pivot),r};var he={HandL:0,HandR:1,FootL:2,FootR:3};ne(Object.keys(he).length%2==0);var de={fists:(n={},r(n,he.HandL,new pe(ce.create(14,-12.25))),r(n,he.HandR,new pe(ce.create(14,12.25))),n),slash:(l={},r(l,he.HandL,new pe(ce.create(18,-8.25))),r(l,he.HandR,new pe(ce.create(6,20.25))),l),meleeTwoHanded:(c={},r(c,he.HandL,new pe(ce.create(10.5,-14.25))),r(c,he.HandR,new pe(ce.create(18,6.25))),c),meleeKatana:(m={},r(m,he.HandL,new pe(ce.create(8.5,13.25))),r(m,he.HandR,new pe(ce.create(-3,17.75))),m),meleeNaginata:(p={},r(p,he.HandL,new pe(ce.create(19,-7.25))),r(p,he.HandR,new pe(ce.create(8.5,24.25))),p),machete:(h={},r(h,he.HandL,new pe(ce.create(14,-12.25))),r(h,he.HandR,new pe(ce.create(1,17.75))),h),rifle:(d={},r(d,he.HandL,new pe(ce.create(28,5.25))),r(d,he.HandR,new pe(ce.create(14,1.75))),d),dualRifle:(u={},r(u,he.HandL,new pe(ce.create(5.75,-16))),r(u,he.HandR,new pe(ce.create(5.75,16))),u),bullpup:(g={},r(g,he.HandL,new pe(ce.create(28,5.25))),r(g,he.HandR,new pe(ce.create(24,1.75))),g),launcher:(y={},r(y,he.HandL,new pe(ce.create(20,10))),r(y,he.HandR,new pe(ce.create(2,22))),y),pistol:(w={},r(w,he.HandL,new pe(ce.create(14,1.75))),r(w,he.HandR,new pe(ce.create(14,1.75))),w),dualPistol:(f={},r(f,he.HandL,new pe(ce.create(15.75,-8.75))),r(f,he.HandR,new pe(ce.create(15.75,8.75))),f),throwable:(b={},r(b,he.HandL,new pe(ce.create(15.75,-9.625))),r(b,he.HandR,new pe(ce.create(15.75,9.625))),b),downed:(_={},r(_,he.HandL,new pe(ce.create(14,-12.25))),r(_,he.HandR,new pe(ce.create(14,12.25))),r(_,he.FootL,new pe(ce.create(-15.75,-9))),r(_,he.FootR,new pe(ce.create(-15.75,9))),_)},ue=me.fists.attack,ge=me.hook.attack,ye=me.woodaxe.attack,we=me.stonehammer.attack,fe=me.katana.attack,be=me.naginata.attack,_e=me.pan.attack,xe=me.saw.attack,Se={none:{keyframes:[],effects:[]},fists:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(14,12.25)))),o(ue.damageTimes[0],r({},he.HandR,new pe(ce.create(29.75,1.75)))),o(ue.cooldownTime,r({},he.HandR,new pe(ce.create(14,12.25))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(ue.damageTimes[0],"animMeleeCollision",{})]},cut:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(14,12.25)))),o(.25*ue.damageTimes[0],r({},he.HandR,new pe(ce.create(14,12.25)).rotate(.35*-Math.PI))),o(1.25*ue.damageTimes[0],r({},he.HandR,new pe(ce.create(14,12.25)).rotate(.35*Math.PI))),o(ue.cooldownTime,r({},he.HandR,new pe(ce.create(14,12.25))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(ue.damageTimes[0],"animMeleeCollision",{})]},cutReverse:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(1,17.75)))),o(.4*ue.damageTimes[0],r({},he.HandR,new pe(ce.create(25,6.25)).rotate(.3*Math.PI))),o(1.4*ue.damageTimes[0],r({},he.HandR,new pe(ce.create(25,6.25)).rotate(.5*-Math.PI))),o(ue.cooldownTime,r({},he.HandR,new pe(ce.create(1,17.75))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(ue.damageTimes[0],"animMeleeCollision",{})]},thrust:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(14,12.25)))),o(.4*ue.damageTimes[0],r({},he.HandR,new pe(ce.create(5,12.25)).rotate(.1*Math.PI))),o(1.4*ue.damageTimes[0],r({},he.HandR,new pe(ce.create(25,6.25)).rotate(0*-Math.PI))),o(ue.cooldownTime,r({},he.HandR,new pe(ce.create(14,12.25))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(ue.damageTimes[0],"animMeleeCollision",{})]},slash:{keyframes:[o(0,(x={},r(x,he.HandL,new pe(ce.create(18,-8.25))),r(x,he.HandR,new pe(ce.create(6,20.25))),x)),o(ue.damageTimes[0],(S={},r(S,he.HandL,new pe(ce.create(6,-22.25))),r(S,he.HandR,new pe(ce.create(6,20.25)).rotate(.6*-Math.PI)),S)),o(ue.cooldownTime,(v={},r(v,he.HandL,new pe(ce.create(18,-8.25))),r(v,he.HandR,new pe(ce.create(6,20.25)).rotate(0)),v))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(ue.damageTimes[0],"animMeleeCollision",{})]},hook:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(14,12.25)))),o(.25*ge.damageTimes[0],r({},he.HandR,new pe(ce.create(14,12.25)).rotate(.1*Math.PI))),o(ge.damageTimes[0],r({},he.HandR,new pe(ce.create(24,1.75)))),o(ge.damageTimes[0]+.05,r({},he.HandR,new pe(ce.create(14,12.25)).rotate(-.3*Math.PI))),o(ge.damageTimes[0]+.1,r({},he.HandR,new pe(ce.create(14,12.25))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(ge.damageTimes[0],"animMeleeCollision",{})]},pan:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(14,12.25)))),o(.15,r({},he.HandR,new pe(ce.create(22,-8.25)).rotate(.2*-Math.PI))),o(.25,r({},he.HandR,new pe(ce.create(28,-8.25)).rotate(.5*Math.PI))),o(.55,r({},he.HandR,new pe(ce.create(14,12.25))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(_e.damageTimes[0],"animMeleeCollision",{})]},axeSwing:{keyframes:[o(0,(z={},r(z,he.HandL,new pe(ce.create(10.5,-14.25))),r(z,he.HandR,new pe(ce.create(18,6.25))),z)),o(.4*ye.damageTimes[0],(k={},r(k,he.HandL,new pe(ce.create(9,-14.25)).rotate(.4*Math.PI)),r(k,he.HandR,new pe(ce.create(18,6.25)).rotate(.4*Math.PI)),k)),o(ye.damageTimes[0],(I={},r(I,he.HandL,new pe(ce.create(9,-14.25)).rotate(.4*-Math.PI)),r(I,he.HandR,new pe(ce.create(18,6.25)).rotate(.4*-Math.PI)),I)),o(ye.cooldownTime,(T={},r(T,he.HandL,new pe(ce.create(10.5,-14.25))),r(T,he.HandR,new pe(ce.create(18,6.25))),T))],effects:[s(ye.damageTimes[0],"animPlaySound",{sound:"swing"}),s(ye.damageTimes[0],"animMeleeCollision",{})]},hammerSwing:{keyframes:[o(0,(M={},r(M,he.HandL,new pe(ce.create(10.5,-14.25))),r(M,he.HandR,new pe(ce.create(18,6.25))),M)),o(.4*we.damageTimes[0],(C={},r(C,he.HandL,new pe(ce.create(9,-14.25)).rotate(.4*Math.PI)),r(C,he.HandR,new pe(ce.create(18,6.25)).rotate(.4*Math.PI)),C)),o(we.damageTimes[0],(P={},r(P,he.HandL,new pe(ce.create(9,-14.25)).rotate(.4*-Math.PI)),r(P,he.HandR,new pe(ce.create(18,6.25)).rotate(.4*-Math.PI)),P)),o(we.cooldownTime,(A={},r(A,he.HandL,new pe(ce.create(10.5,-14.25))),r(A,he.HandR,new pe(ce.create(18,6.25))),A))],effects:[s(we.damageTimes[0],"animPlaySound",{sound:"swing"}),s(we.damageTimes[0],"animMeleeCollision",{})]},katanaSwing:{keyframes:[o(0,(O={},r(O,he.HandL,new pe(ce.create(8.5,13.25))),r(O,he.HandR,new pe(ce.create(-3,17.75))),O)),o(.3*fe.damageTimes[0],(E={},r(E,he.HandL,new pe(ce.create(8.5,13.25)).rotate(.2*Math.PI)),r(E,he.HandR,new pe(ce.create(-3,17.75)).rotate(.2*Math.PI)),E)),o(.9*fe.damageTimes[0],(D={},r(D,he.HandL,new pe(ce.create(8.5,13.25)).rotate(1.2*-Math.PI)),r(D,he.HandR,new pe(ce.create(-3,17.75)).rotate(1.2*-Math.PI)),D)),o(fe.cooldownTime,(B={},r(B,he.HandL,new pe(ce.create(8.5,13.25))),r(B,he.HandR,new pe(ce.create(-3,17.75))),B))],effects:[s(fe.damageTimes[0],"animPlaySound",{sound:"swing"}),s(fe.damageTimes[0],"animMeleeCollision",{})]},naginataSwing:{keyframes:[o(0,(R={},r(R,he.HandL,new pe(ce.create(19,-7.25))),r(R,he.HandR,new pe(ce.create(8.5,24.25))),R)),o(.3*be.damageTimes[0],(L={},r(L,he.HandL,new pe(ce.create(19,-7.25)).rotate(.3*Math.PI)),r(L,he.HandR,new pe(ce.create(8.5,24.25)).rotate(.3*Math.PI)),L)),o(.9*be.damageTimes[0],(F={},r(F,he.HandL,new pe(ce.create(19,-7.25)).rotate(.85*-Math.PI)),r(F,he.HandR,new pe(ce.create(8.5,24.25)).rotate(.85*-Math.PI)),F)),o(be.cooldownTime,(q={},r(q,he.HandL,new pe(ce.create(19,-7.25))),r(q,he.HandR,new pe(ce.create(8.5,24.25))),q))],effects:[s(ye.damageTimes[0],"animPlaySound",{sound:"swing"}),s(ye.damageTimes[0],"animMeleeCollision",{})]},sawSwing:{keyframes:[o(0,r({},he.HandR,new pe(ce.create(1,17.75)))),o(.4*xe.damageTimes[0],r({},he.HandR,new pe(ce.create(25,6.25)).rotate(.3*Math.PI))),o(xe.damageTimes[0],r({},he.HandR,new pe(ce.create(25,6.25)).rotate(.3*-Math.PI))),o(xe.damageTimes[1]-.1,r({},he.HandR,new pe(ce.create(25,17.75)).rotate(.25*-Math.PI))),o(.6*xe.damageTimes[1],r({},he.HandR,new pe(ce.create(-36,7.75)).rotate(.25*-Math.PI))),o(xe.damageTimes[1]+.2,r({},he.HandR,new pe(ce.create(1,17.75))))],effects:[s(0,"animPlaySound",{sound:"swing"}),s(.4,"animPlaySound",{sound:"swing"}),s(xe.damageTimes[0],"animMeleeCollision",{}),s(xe.damageTimes[1],"animMeleeCollision",{playerHit:"playerHit2"})]},cook:{keyframes:[o(0,(j={},r(j,he.HandL,new pe(ce.create(15.75,-9.625))),r(j,he.HandR,new pe(ce.create(15.75,9.625))),j)),o(.1,(N={},r(N,he.HandL,new pe(ce.create(14,-1.75))),r(N,he.HandR,new pe(ce.create(14,1.75))),N)),o(.3,(H={},r(H,he.HandL,new pe(ce.create(14,-1.75))),r(H,he.HandR,new pe(ce.create(14,1.75))),H)),o(.4,(V={},r(V,he.HandL,new pe(ce.create(22.75,-1.75))),r(V,he.HandR,new pe(ce.create(1.75,14))),V)),o(99999,(U={},r(U,he.HandL,new pe(ce.create(22.75,-1.75))),r(U,he.HandR,new pe(ce.create(1.75,14))),U))],effects:[s(0,"animPlaySound",{sound:"pullPin"}),s(.1,"animSetThrowableState",{state:"cook"})]},throw:{keyframes:[o(0,(W={},r(W,he.HandL,new pe(ce.create(22.75,-1.75))),r(W,he.HandR,new pe(ce.create(1.75,14.175))),W)),o(.15,(G={},r(G,he.HandL,new pe(ce.create(5.25,-15.75))),r(G,he.HandR,new pe(ce.create(29.75,1.75))),G)),o(.15+se.player.throwTime,(K={},r(K,he.HandL,new pe(ce.create(15.75,-9.625))),r(K,he.HandR,new pe(ce.create(15.75,9.625))),K))],effects:[s(0,"animPlaySound",{sound:"throwing"}),s(0,"animSetThrowableState",{state:"throwing"}),s(0,"animThrowableParticles",{})]},crawl_forward:{keyframes:[o(0,(X={},r(X,he.HandL,new pe(ce.create(14,-12.25))),r(X,he.FootL,new pe(ce.create(-15.75,-9))),X)),o(.33*se.player.crawlTime,(Z={},r(Z,he.HandL,new pe(ce.create(19.25,-10.5))),r(Z,he.FootL,new pe(ce.create(-20.25,-9))),Z)),o(.66*se.player.crawlTime,(Y={},r(Y,he.HandL,new pe(ce.create(5.25,-15.75))),r(Y,he.FootL,new pe(ce.create(-11.25,-9))),Y)),o(1*se.player.crawlTime,(J={},r(J,he.HandL,new pe(ce.create(14,-12.25))),r(J,he.FootL,new pe(ce.create(-15.75,-9))),J))],effects:[]},crawl_backward:{keyframes:[o(0,(Q={},r(Q,he.HandL,new pe(ce.create(14,-12.25))),r(Q,he.FootL,new pe(ce.create(-15.75,-9))),Q)),o(.33*se.player.crawlTime,($={},r($,he.HandL,new pe(ce.create(5.25,-15.75))),r($,he.FootL,new pe(ce.create(-11.25,-9))),$)),o(.66*se.player.crawlTime,(ee={},r(ee,he.HandL,new pe(ce.create(19.25,-10.5))),r(ee,he.FootL,new pe(ce.create(-20.25,-9))),ee)),o(1*se.player.crawlTime,(te={},r(te,he.HandL,new pe(ce.create(14,-12.25))),r(te,he.FootL,new pe(ce.create(-15.75,-9))),te))],effects:[]},revive:{keyframes:[o(0,(ae={},r(ae,he.HandL,new pe(ce.create(14,-12.25))),r(ae,he.HandR,new pe(ce.create(14,12.25))),ae)),o(.2,(re={},r(re,he.HandL,new pe(ce.create(24.5,-8.75))),r(re,he.HandR,new pe(ce.create(5.25,21))),re)),o(.2+se.player.reviveDuration,(ie={},r(ie,he.HandL,new pe(ce.create(24.5,-8.75))),r(ie,he.HandR,new pe(ce.create(5.25,21))),ie))],effects:[]}};e.exports={Pose:pe,Bones:he,IdlePoses:de,Animations:Se}},"6c7c3050":function(e,t,a){"use strict";var r={leader:{type:"role",announce:!0,killFeed:{assign:!0,dead:!0},sound:{assign:"leader_assigned_01",dead:"leader_dead_01"},mapIcon:{alive:"player-star.img",dead:"skull-leader.img"},perks:["leadership"]},lieutenant:{type:"role",announce:!0,killFeed:{assign:!0},sound:{assign:"lt_assigned_01"},perks:["firepower"]},medic:{type:"role",announce:!0,killFeed:{assign:!0},sound:{assign:"medic_assigned_01"},mapIcon:{alive:"player-medic.img",dead:"skull-leader.img"},perks:["aoe_heal"]},marksman:{type:"role",announce:!0,killFeed:{assign:!0},sound:{assign:"marksman_assigned_01"},perks:["targeting"]},last_man:{type:"role",announce:!0,killFeed:{assign:!0},sound:{assign:"last_man_assigned_01"},perks:["steelskin","splinter","takedown"]},woods_king:{type:"role",announce:!1,killFeed:{dead:!0,color:"#12ff00"},sound:{dead:"leader_dead_01"},perks:["gotw","windwalk"]},kill_leader:{type:"role",announce:!1,killFeed:{assign:!0,dead:!0,color:"#ff8400"},sound:{assign:"leader_assigned_01",dead:"leader_dead_01"}},the_hunted:{type:"role",announce:!0,killFeed:{assign:!0,dead:!0,color:"#ff8400"},sound:{assign:"leader_assigned_01",dead:"leader_dead_01"},mapIndicator:{sprite:"player-the-hunted.img",tint:16745472,pulse:!0,pulseTint:16745472},perks:["hunted"]}};e.exports=r},"6d494b5c":function(e,t,a){"use strict";function r(e,t,a,r,i,s){var l=e;return!l.active||l.dead||!l.collidable||l.isWindow||l.height<r||!n.sameLayer(l.layer,i)?null:s&&2&i&&0==l.layer?null:o.intersectSegment(l.collider,t,a)}function i(e,t,a,r,i){var o=p.intersectSegmentDist(e,t,a,r,0,i,!1);return l.add(t,l.mul(a,o))}var o=a("6b42806d"),s=a("10899aea"),n=a("1901e2d9"),l=a("c2a798c8"),c=a("ce29f17f"),m=a("af8ba00f"),p={intersectSegment:function(e,t,a,i,o,s,n){for(var c=l.add(t,l.mul(a,i)),m=[],p=0;p<e.length;p++){var h=e[p],d=r(h,t,c,o,s,n);if(d){var u=l.length(l.sub(d.point,t));m.push({id:h.__id,dist:u})}}return m.sort(function(e,t){return e.dist-t.dist}),m.length>0?m[0]:null},intersectSegmentDist:function(e,t,a,i,o,n,c){for(var m=i,p=l.add(t,l.mul(a,i)),h=0;h<e.length;h++){var d=e[h],u=r(d,t,p,o,n,c);u&&(m=s.min(m,l.length(l.sub(u.point,t))))}return m},scanCollider:function(e,t,a,r,n,h,d,u){var g=o.intersectCircle(e,a,d);if(!g)return null;if(g.pen>=d)return{dist:0};var y=l.perp(g.dir),w=i(t,a,l.neg(y),.5*h,r),f=i(t,a,y,.5*h,r),b=l.sub(f,w),_=l.length(b);b=_>1e-4?l.div(b,_):l.create(1,0);for(var x=[],S=0;S<u;S++){var v=S/s.max(u-1,1);x.push(l.add(w,l.mul(b,_*v)))}for(var z=n,k=0;k<x.length;k++){var I=x[k],T=o.intersectCircle(e,I,d);if(T){var M=l.neg(T.dir),C=p.intersectSegmentDist(t,I,M,d,z,r,!0),P=o.intersectSegment(e,I,l.add(I,l.mul(M,d))),A=P?l.length(l.sub(P.point,I)):0,O=P&&A<=C;if(c.debug){var E=O?65280:16711680;m.addRay(I,M,d,E)}if(O)return{dist:A}}}return null}};e.exports=p},"6d61bfc0":function(e,t,a){"use strict";function r(e){for(var t=0,a=0;a<e.length;a++){var r=e[a];t=65535&(i[255&(t^r)]^t>>8)}return t}var i=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];e.exports={crc16:r}},"6e13f3b7":function(e,t){e.exports={shared:,loadout:,snow:,faction:,desert:,gradient:,savannah:,main:,potato:,woods:,halloween:}},"6e43d1d7":function(e,t,a){"use strict";function r(e,t,a,r,i,l,c,m){var p=n[e];if(p){var h=s.rotate(i,t),d=s.mul(h,9.5*a);d=s.rotate(d,(Math.random-.5)*Math.PI/3);var u=s.add(r,s.mul(i,o.player.radius+p.particle.shellOffset));p.particle.shellOffsetY&&(u=s.add(u,s.mul(h,p.particle.shellOffsetY))),p.particle.shellReverse&&(d=s.mul(d,-1)),m.addParticle(p.ammo,l,u,d,p.particle.shellScale,-Math.atan2(h.y,h.x),null,c)}}function i{this.shots=[]}var o=(a("8b1dfb45"),a("989ad62a")),s=(a("10899aea"),a("c2a798c8")),n=(a("1901e2d9"),a("721a96bf"));i.prototype={addShot:function(e){for(var t=null,a=0;a<this.shots.length;a++)if(!this.shots[a].active){t=this.shots[a];break}t||(t={},this.shots.push(t));var r=e.shotSourceType,i=n[r];t.active=!0,t.pos=s.copy(e.pos),t.layer=e.layer,t.playerId=e.playerId,t.weaponType=r,t.offhand=e.shotOffhand,t.lastShot=e.lastShot,t.ticker=0,t.pullDelay=void 0!==i.pullDelay?.45*i.pullDelay:0,t.splinter=e.splinter,t.trailSaturated=e.trailSaturated},m:function(e,t,a,i,o){for(var s=0;s<this.shots.length;s++){var l=this.shots[s];if(l.active){var c=n[l.weaponType];if(0==l.ticker){var m=a.Me(l.playerId),p=c.sound.shoot;l.lastShot&&c.sound.shootLast&&(p=c.sound.shootLast);var h=0;if(l.trailSaturated?h=300:l.splinter&&(h=-300),o.playSound(p,{channel:l.playerId==t?"activePlayer":"otherPlayers",soundPos:l.pos,layer:m?m.layer:l.layer,filter:"muffled",fallOff:c.sound.fallOff?c.sound.fallOff:0,detune:h,volumeScale:l.splinter?.75:1}),l.splinter&&o.playSound(p,{channel:l.playerId==t?"activePlayer":"otherPlayers",soundPos:l.pos,layer:m?m.layer:l.layer,filter:"muffled",fallOff:c.sound.fallOff?c.sound.fallOff:0,detune:1200,delay:30,volumeScale:.75}),m){if(m.__id==t&&"single"==c.fireMode&&c.pullDelay){var d=m.le.weapons[m.le.curWeapIdx].ammo,u=d>0?c.sound.cycle:c.sound.pull;o.stopSound(m.cycleSoundInstance),m.cycleSoundInstance=o.playSound(u)}var g=l.offhand||!c.isDual,y=!l.offhand||!c.isDual;m.addRecoil(c.worldImg.recoil,g,y),m.fireDelay=c.fireDelay}}if(l.ticker+=e,l.ticker>=l.pullDelay){var w=a.Me(l.playerId);w&&!w.ne.dead&&w.ne.curWeapType==l.weaponType&&"shoot"==c.caseTiming&&r(l.weaponType,Math.PI/2*-1,1,w.ne.pos,w.ne.dir,w.renderLayer,w.renderZOrd+1,i),l.active=!1}}}}},e.exports={createCasingParticle:r,Ce:i}},"6ffe8b70":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=(a("989ad62a"),a("1901e2d9")),s=a("ce29f17f"),n=(a("26be8056"),a("f4d48896")),l={muteAudio:!1,masterVolume:1,soundVolume:1,musicVolume:1,highResTex:!0,screenShake:!0,anonPlayerNames:!1,touchMoveStyle:"anywhere",touchAimStyle:"anywhere",touchAimLine:!0,profile:null,playerName:"",region:"na",gameModeIdx:2,teamAutoFill:!0,language:"",prerollGamesPlayed:0,totalGamesPlayed:0,promptAppRate:!0,cookiesConsented:!0,regionSelected:!1,lastNewsTimestamp:0,loadId:"",unloadId:""},c=function{function e{r(this,e),this.loaded=!1,this.localStorageAvailable=!0,this.config={},this.onModifiedListeners=[]}return i(e,[{key:"load",value:function(e){var t=this,a=function(a){var r={};try{r=JSON.parse(a)}catch(e){}t.config=o.mergeDeep({},l,r),t.checkUpgradeConfig,t.onModified,t.loaded=!0,e};if(s.webview&&n.hasNativeStorage)n.storageGetItem("surviv_config",function(e,t){e?(console.log("Failed loading config"),a({})):a(t)});else{var r={};try{r=localStorage.getItem("surviv_config")}catch(e){this.localStorageAvailable=!1}a(r)}}},{key:"store",value:function{var e=JSON.stringify(this.config);if(s.webview&&n.hasNativeStorage)n.storageSetItem("surviv_config",e,function(e,t){e&&console.log("Failed storing config")});else if(this.localStorageAvailable)try{localStorage.setItem("surviv_config",e)}catch(e){}}},{key:"set",value:function(e,t){if(e){for(var a=e.split("."),r=this.config;a.length>1;)r=r[a.shift];r[a.shift]=t,this.store,this.onModified(e)}}},{key:"get",value:function(e){if(e){for(var t=e.split("."),a=this.config,r=0;r<t.length;r++)a=a[t[r]];return a}}},{key:"addModifiedListener",value:function(e){this.onModifiedListeners.push(e)}},{key:"onModified",value:function(e){for(var t=0;t<this.onModifiedListeners.length;t++)this.onModifiedListeners[t](e)}},{key:"checkUpgradeConfig",value:function{this.get("version"),this.set("version",1)}}]),e};e.exports=c},"721a96bf":function(e,t,a){"use strict";for(var r=[a("beeed8a4"),a("f3db70d7"),a("5a255578"),a("0d20ab8e"),a("ea3b9366"),a("764654e6"),a("ad1c4e70"),a("ccb6ad93"),a("63d67e9d"),a("590afbba"),a("5857a73f"),a("6c7c3050"),a("035f2ecb"),a("bdd17930")],i={},o=0;o<r.length;o++)for(var s=r[o],n=Object.keys(s),l=0;l<n.length;l++){var c=n[l];if(void 0!==i[c])throw new Error("GameObject "+c+" is already defined");i[c]=s[c]}e.exports=i},"72409abe":function(e,t,a){"use strict";function r{var e={fontFamily:"Arial",fontWeight:"bold",fontSize:m.pixelRatio>1?30:24,align:"center",fill:16777215,stroke:0,strokeThickness:0,dropShadow:!0,dropShadowColor:"#000000",dropShadowBlur:1,dropShadowAngle:Math.PI/3,dropShadowDistance:1},t=new s.Text("",e);return t.anchor.set(.5,.5),t.scale.set(.5,.5),t}function i{this.active=!1,this.pos=c.create(0,0),this.container=new s.Container,this.sprite=s.Sprite.fromImage("skull.img"),this.sprite.anchor.set(.5,.5),this.sprite.scale.set(.4,.4),this.sprite.tint=5921370,this.container.addChild(this.sprite),this.nameText=r,this.nameText.anchor.set(.5,-1),this.nameText.tint=l.rgbToInt(l.hsvToRgb(0,0,.5)),this.container.addChild(this.nameText),this.container.visible=this.sprite}function o{this.Pe=new p.Pool(i)}var s=(a("0e566746"),a("8b1dfb45")),n=a("6b42806d"),l=(a("989ad62a"),a("10899aea"),a("1901e2d9")),c=a("c2a798c8"),m=a("ce29f17f"),p=(a("af8ba00f"),a("753d6e4b"));i.prototype={o:function{},n:function{this.container.visible=!1},c:function(e,t,a,r){this.pos=c.copy(e.pos),t&&(this.layer=e.layer,this.playerId=e.playerId),a&&(this.nameTextSet=!1,this.container.visible=!0)}},o.prototype={m:function(e,t,a,r,i,o){for(var s=this.Pe.p,l=0;l<s.length;l++){var c=s[l];if(c.active){c.nameTextSet||(c.nameText.text=t.getPlayerName(c.playerId,a.__id,!1),c.nameTextSet=!0);var m=n.createCircle(c.pos,1),p=r.insideStructureStairs(m),h=c.layer,d=12;0==c.layer&&0==a.layer&&p&&(h|=2,d+=100),o.addPIXIObj(c.container,h,d,c.__id);var u=i.pointToScreen(c.pos),g=i.pixels(1);c.container.position.set(u.x,u.y),c.container.scale.set(g,g)}}},getDeadBodyById:function(e){for(var t=this.Pe.p,a=0;a<t.length;a++){var r=t[a];if(r.active&&r.playerId==e)return r}return null}},e.exports={Ae:o}},"7510cc08":function(e,t,a){"use strict";function r(e){var t=c[e];if("structure"==t.type){for(var a=[],r=0;r<t.layers.length;r++){var m=t.layers[r],h=n.oriToRad(m.ori),d=s.transform(p.getBoundingCollider(m.type),m.pos,h,1);a.push(s.toAabb(d))}for(var u=0;u<t.stairs.length;u++)a.push(t.stairs[u].collision);var g=o.boundingAabb(a),y=l.create(1,1);return g.min=l.sub(g.min,y),g.max=l.add(g.max,y),s.createAabb(g.min,g.max)}if("building"==t.type){for(var w=[],f=0;f<t.floor.surfaces.length;f++)for(var b=t.floor.surfaces[f].collision,_=0;_<b.length;_++)w.push(b[_]);for(var x=0;x<t.ceiling.zoomRegions.length;x++){var S=t.ceiling.zoomRegions[x];S.zoomIn&&w.push(S.zoomIn),S.zoomOut&&w.push(S.zoomOut)}for(var v=0;v<t.mapObjects.length;v++){var z=t.mapObjects[v],k=z.type;if("function"==typeof k&&(k=k),""!=k){var I=n.oriToRad(z.ori),T=s.transform(p.getBoundingCollider(k),z.pos,I,z.scale);w.push(s.toAabb(T))}}var M=o.boundingAabb(w);return s.createAabb(M.min,M.max)}return"decal"==t.type?s.toAabb(t.collision):"loot_spawner"==t.type?s.createCircle(l.create(0,0),3):(i(t.collision),t.collision)}var i=a("0e566746"),o=a("34e32c48"),s=a("6b42806d"),n=a("10899aea"),l=a("c2a798c8"),c=a("03f4982a"),m={},p={getBoundingCollider:function(e){if(m[e])return m[e];var t=r(e);return m[e]=t,t},getBridgeDims:function(e){var t=p.getBoundingCollider(e),a=s.toAabb(t),r=l.mul(l.sub(a.max,a.min),.5),i=(l.add(a.min,r),r.x>r.y),o=l.create(i?1:0,i?0:1);return{length:2*l.dot(o,r),width:2*l.dot(l.perp(o),r)}},getBridgeOverlapCollider:function(e,t,a,r){var i=c[e],o=p.getBridgeDims(e),n=l.create(1,0),m=l.add(l.mul(n,1.5*o.length),l.mul(l.perp(n),o.width*i.terrain.bridge.nearbyWidthMult)),h=s.createAabbExtents(l.create(0,0),l.mul(m,.5));return s.transform(h,t,a,r)},Oe:.8,Ee:.9,De:function(e,t){return e.sprite&&e.sprite.visible&&e.sprite.alpha<t}};e.exports=p},"753d6e4b":function(e,t,a){"use strict";function r(e){o(void 0!==e),this.creator={type:e},this.Be=[],this.activeCount=0}function i(e){this.idToObj={},this.types={},this.seenCount=0}var o=a("0e566746"),s=a("f398b7c7");r.prototype={alloc:function{for(var e=null,t=0;t<this.Be.length;t++)if(!this.Be[t].active){e=this.Be[t];break}return e||(e=new this.creator.type,this.Be.push(e)),e.active=!0,e.o,this.activeCount++,e},free:function(e){if(e.n,e.active=!1,this.activeCount--,this.Be.length>128&&this.activeCount<this.Be.length/2){for(var t=[],a=0;a<this.Be.length;a++)this.Be[a].active&&t.push(this.Be[a]);this.Be=t}},p:function{return this.Be}},i.prototype={registerType:function(e,t){this.types[e]=t},getObjById:function(e){return this.idToObj[e]},getTypeById:function(e,t){var a=this.getObjById(e);if(!a){var r={instId:s.instanceId,id:e,ids:Object.keys(this.idToObj),stream:t._view._view};return s.logError("getTypeById"+JSON.stringify(r)),s.storeGeneric("objectPoolErr","getTypeById"),0}return a.__type},updateObjFull:function(e,t,a,r){var i=this.getObjById(t),o=!1;return void 0===i&&(i=this.types[e].alloc,i.__id=t,i.__type=e,this.idToObj[t]=i,this.seenCount++,o=!0),i.c(a,!0,o,r),i},updateObjPart:function(e,t,a){var r=this.getObjById(e);r?r.c(t,!1,!1,a):(console.log("updateObjPart, missing object",e),s.storeGeneric("objectPoolErr","updateObjPart"))},deleteObj:function(e){var t=this.getObjById(e);void 0===t?(console.log("deleteObj, missing object",e),s.storeGeneric("objectPoolErr","deleteObj")):(this.types[t.__type].free(t),delete this.idToObj[e])}},e.exports={Pool:r,Creator:i}},"76205fa7":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){var a=l.Texture.fromImage(t,void 0,void 0,1),r=a.baseTexture,i=0;return r.hasLoaded||(r.on("loaded",function(a){console.log("Loaded texture",t),e.plugins.prepare.upload(a)}),r.on("error",function(e){console.log("BaseTex load error, retrying",t),i++<=3&&setTimeout(function{e.source&&(e.updateSourceImage(""),e.updateSourceImage(t.substring(5,t.length)))},1e3*(i-1))})),r}function o(e,t){var a=i(e,"assets/"+t.meta.image),r=new l.Spritesheet(a,t);return r.resolution=a.resolution,r.parse(function{}),r}function s(e,t){var a=Math.min(window.screen.width,window.screen.height),r=Math.max(window.screen.width,window.screen.height);a*=window.devicePixelRatio,r*=window.devicePixelRatio;var i=r<1366&&a<768,o=t.get("highResTex")?"high":"low";if((i||c.mobile&&!c.tablet||e.type==l.RENDERER_TYPE.CANVAS)&&(o="low"),e.type==l.RENDERER_TYPE.WEBGL){var s=e.gl;s.getParameter(s.MAX_TEXTURE_SIZE)<4096&&(o="low")}return console.log("TextureRes",o,"screenDims",window.screen.width,window.screen.height),o}var n=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},l=(a("0e566746"),a("8b1dfb45")),c=a("ce29f17f"),m=a("f398b7c7"),p=a("b1f6ba3c"),h=a("0d807371"),d={low:a("aaf70d05"),high:a("6e13f3b7")},u=function{function e(t,a,i){r(this,e),this.renderer=t,this.audioManager=a,this.config=i,this.textureRes=s(this.renderer,this.config),this.atlases={},this.preloadMap=!0,this.preloadMapTicker=0,this.loadTicker=0,this.loaded=!1,t.plugins.prepare.limiter.maxItemsPerFrame=1}return n(e,[{key:"preloadAssets",value:function{this.loadMapAssets("main")}},{key:"isAtlasLoaded",value:function(e){return this.atlases[e]&&this.atlases[e].loaded}},{key:"atlasTexturesLoaded",value:function(e){if(!this.isAtlasLoaded(e))return!1;for(var t=this.atlases[e],a=0;a<t.spritesheets.length;a++){var r=t.spritesheets[a];if(!r.baseTexture||!r.baseTexture.hasLoaded)return!1}return!0}},{key:"loadAtlas",value:function(e){if(!this.isAtlasLoaded(e)){console.log("Load atlas",e),this.atlases[e]=this.atlases[e]||{loaded:!1,spritesheets:[]};for(var t=d[this.textureRes]||d.low,a=t[e],r=0;r<a.length;r++){var i=o(this.renderer,a[r]);this.atlases[e].spritesheets.push(i)}this.atlases[e].loaded=!0}}},{key:"unloadAtlas",value:function(e){if(this.isAtlasLoaded(e)){console.log("Unload atlas",e);for(var t=this.atlases[e],a=0;a<t.spritesheets.length;a++)t.spritesheets[a].destroy(!0);t.loaded=!1,t.spritesheets=[]}}},{key:"loadMapAssets",value:function(e){var t=this;console.log("Load map",e);var a=p[e];if(!a)throw new Error("Failed loading mapDef "+this.mapName);for(var r=a.assets.atlases,i=Object.keys(this.atlases),o=0;o<i.length;o++){var s=i[o];-1===r.indexOf(s)&&this.unloadAtlas(s)}for(var n=0;n<r.length;n++){var l=r[n];this.isAtlasLoaded(l)||this.loadAtlas(l)}setTimeout(function{t.audioManager.preloadSounds;for(var e=a.assets.audio,r=0;r<e.length;r++){var i=e[r],o=h.Sounds[i.channel][i.name],s={canCoalesce:o.canCoalesce,channels:o.maxInstances,volume:o.volume};t.audioManager.loadSound({name:i.name,channel:i.channel,path:o.path,options:s})}},0),this.preloadMap=!1}},{key:"update",value:function(e){if(this.preloadMap&&(this.preloadMapTicker+=e,(this.audioManager.isSoundLoaded("menu_music","music")&&this.atlasTexturesLoaded("loadout")||this.preloadMapTicker>1)&&(this.preloadMapTicker>1&&m.storeGeneric("load","preload_timeout"),this.loadMapAssets("main"),this.preloadMap=!1)),!this.loaded){this.loadTicker+=e;for(var t=!this.preloadMap,a=Object.keys(this.atlases),r=0;r<a.length;r++){var i=a[r];this.atlasTexturesLoaded(i)||(t=!1)}this.audioManager.allLoaded||(t=!1),t&&(console.log("Resource load complete",this.loadTicker.toFixed(2)),this.loaded=!0)}}}]),e};e.exports={ResourceManager:u}},"764654e6":function(e,t,a){"use strict";function r(e,t){return i.mergeDeep({},o[e],{baseType:e},t)}var i=a("1901e2d9"),o={"9mm":{name:"9mm",type:"ammo",minStackSize:15,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:16756224,tintDark:12550912},sound:{pickup:"ammo_pickup_01"}},"762mm":{name:"7.62mm",type:"ammo",minStackSize:10,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:26367,tintDark:19903},sound:{pickup:"ammo_pickup_01"}},"556mm":{name:"5.56mm",type:"ammo",minStackSize:10,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:237056,tintDark:161536},sound:{pickup:"ammo_pickup_01"}},"12gauge":{name:"12 gauge",type:"ammo",minStackSize:5,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:16711680,tintDark:12517376},sound:{pickup:"ammo_pickup_01"}},"50AE":{name:".50 AE",type:"ammo",special:!0,minStackSize:10,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:2697513,tintDark:2039583},sound:{pickup:"ammo_pickup_01"}},"308sub":{name:".308 Subsonic",type:"ammo",special:!0,minStackSize:10,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:3225600,tintDark:2435840},sound:{pickup:"ammo_pickup_01"}},flare:{name:"Flare",type:"ammo",special:!0,minStackSize:1,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:13911552,tintDark:13911552},sound:{pickup:"ammo_pickup_01"}},"45acp":{name:".45 ACP",type:"ammo",special:!0,minStackSize:10,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:7930111,tintDark:5963967},sound:{pickup:"ammo_pickup_01"}},potato_ammo:{name:"Potato Ammo",type:"ammo",special:!0,hideUi:!0,minStackSize:10,lootImg:{sprite:"loot-ammo-box.img",scale:.2,tint:7618334,tintDark:7618334},sound:{pickup:"ammo_pickup_01"}},bandage:{name:"Bandage",type:"heal",useTime:3,heal:15,maxHeal:100,lootImg:{sprite:"loot-medical-bandage.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"bandage_pickup_01",use:"bandage_use_01"},emitter:"heal",aura:{sprite:"part-aura-circle-01.img",tint:16711680}},healthkit:{name:"Med Kit",type:"heal",useTime:6,heal:100,maxHeal:100,lootImg:{sprite:"loot-medical-healthkit.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"healthkit_pickup_01",use:"healthkit_use_01"},emitter:"heal",aura:{sprite:"part-aura-circle-01.img",tint:16711680}},soda:{name:"Soda",type:"boost",useTime:3,boost:25,lootImg:{sprite:"loot-medical-soda.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"soda_pickup_01",use:"soda_use_01"},emitter:"boost",aura:{sprite:"part-aura-circle-01.img",tint:1676544}},painkiller:{name:"Pills",type:"boost",useTime:5,boost:50,lootImg:{sprite:"loot-medical-pill.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"pills_pickup_01",use:"pills_use_01"},emitter:"boost",aura:{sprite:"part-aura-circle-01.img",tint:1676544}},backpack00:{name:"Pouch",type:"backpack",level:0,playerRad:.55,tint:16777215,lootImg:{sprite:"loot-pack-00.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"pack_pickup_01"}},backpack01:{name:"Small Pack",type:"backpack",level:1,playerRad:.65,tint:6697728,lootImg:{sprite:"loot-pack-01.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"pack_pickup_01"}},backpack02:{name:"Regular Pack",type:"backpack",level:2,tint:26112,playerRad:.85,lootImg:{sprite:"loot-pack-02.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"pack_pickup_01"}},backpack03:{name:"Military Pack",type:"backpack",level:3,tint:6710835,playerRad:1,lootImg:{sprite:"loot-pack-03.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"pack_pickup_01"}},helmet01:{name:"Level 1 Helmet",type:"helmet",level:1,damageReduction:.25,skinImg:{baseTint:3244031,baseTintRed:10972011,baseTintBlue:6459582,baseSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-helmet-01.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"helmet_pickup_01"}},helmet02:{name:"Level 2 Helmet",type:"helmet",level:2,damageReduction:.4,skinImg:{baseTint:13027014,baseTintRed:10027008,baseTintBlue:20642,baseSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-helmet-02.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"helmet_pickup_01"}},helmet03:{name:"Level 3 Helmet",type:"helmet",level:3,damageReduction:.55,skinImg:{baseTint:2434341,baseTintRed:2491396,baseTintBlue:334125,baseSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-helmet-03.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"helmet_pickup_01"}},helmet04:{name:"Level 4 Helmet",type:"helmet",level:4,damageReduction:.7,skinImg:{baseTint:2434341,baseTintRed:2491396,baseTintBlue:334125,baseSprite:"player-circle-base-01.img"},lootImg:{sprite:"loot-helmet-03.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"helmet_pickup_01"}},chest01:{name:"Level 1 Vest",type:"chest",level:1,damageReduction:.25,skinImg:{baseTint:11842740,baseSprite:"player-armor-base-01.img"},lootImg:{sprite:"loot-chest-01.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"chest_pickup_01"}},chest02:{name:"Level 2 Vest",type:"chest",level:2,damageReduction:.38,skinImg:{baseTint:4934475,baseSprite:"player-armor-base-01.img"},lootImg:{sprite:"loot-chest-02.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"chest_pickup_01"}},chest03:{name:"Level 3 Vest",type:"chest",level:3,damageReduction:.45,skinImg:{baseTint:0,baseSprite:"player-armor-base-01.img"},lootImg:{sprite:"loot-chest-03.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"chest_pickup_01"}},chest04:{name:"Level 4 Vest",type:"chest",noDrop:!0,level:4,damageReduction:.6,skinImg:{baseTint:1846790,baseSprite:"player-armor-base-01.img"},lootImg:{sprite:"loot-chest-03.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"chest_pickup_01"}},"1xscope":{name:"1x Scope",type:"scope",level:1,lootImg:{sprite:"loot-scope-00.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"scope_pickup_01"}},"2xscope":{name:"2x Scope",type:"scope",level:2,lootImg:{sprite:"loot-scope-01.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"scope_pickup_01"}},"4xscope":{name:"4x Scope",type:"scope",level:4,lootImg:{sprite:"loot-scope-02.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"scope_pickup_01"}},"8xscope":{name:"8x Scope",type:"scope",level:8,lootImg:{sprite:"loot-scope-03.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"scope_pickup_01"}},"15xscope":{name:"15x Scope",type:"scope",level:15,lootImg:{sprite:"loot-scope-04.img",tint:16777215,border:"loot-circle-outer-01.img",borderTint:0,scale:.2},sound:{pickup:"scope_pickup_01"}}},s={helmet03_leader:r("helmet03",{name:"Leader Helmet",skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-leader.img"}}),helmet03_forest:r("helmet03",{name:"Shishigami no Kabuto",role:"woods_king",mapIndicator:{sprite:"player-king-woods.img",tint:65280,pulse:!0,pulseTint:65280},skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-forest.img",spriteScale:.3},lootImg:{sprite:"player-helmet-forest.img",border:"loot-circle-outer-01.img",scale:.3,rot:.5*Math.PI}}),helmet03_moon:r("helmet03",{name:"Tsukuyomi no Kabuto",skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-moon.img",spriteScale:.3}}),helmet03_lt:r("helmet03",{name:"Lieutenant Helmet",noDrop:!0,skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-lieutenant.img",spriteScale:.3}}),helmet03_lt_aged:r("helmet03",{name:"Lieutenant Helmet",perk:"firepower",skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-lieutenant.img",spriteScale:.3},lootImg:{sprite:"player-helmet-lieutenant.img",rot:.5*Math.PI}}),helmet03_potato:r("helmet03",{name:"K-pot-ato",perk:"rare_potato",skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-potato.img",spriteScale:.3},lootImg:{sprite:"player-helmet-potato.img",rot:.5*Math.PI}}),helmet03_marksman:r("helmet04",{name:"Marksman Helmet",noDrop:!0,skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-marksman.img",spriteScale:.3},lootImg:{sprite:"player-helmet-marksman.img",scale:.3,rot:.5*Math.PI}}),helmet04_medic:r("helmet04",{name:"Medic Helmet",noDrop:!0,skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-medic.img",spriteScale:.3},lootImg:{sprite:"player-helmet-medic.img",scale:.3,rot:.5*Math.PI}}),helmet04_last_man_red:r("helmet04",{name:"Lone Survivr Helmet",noDrop:!0,skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-last-man-01.img",spriteScale:.3},lootImg:{sprite:"player-helmet-last-man-01.img",scale:.3,rot:.5*Math.PI}}),helmet04_last_man_blue:r("helmet04",{name:"Lone Survivr Helmet",noDrop:!0,skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-last-man-02.img",spriteScale:.3},lootImg:{sprite:"player-helmet-last-man-02.img",scale:.3,rot:.5*Math.PI}}),helmet04_leader:r("helmet04",{name:"Leader Helmet",noDrop:!0,skinImg:{baseTint:16777215,baseTintRed:16777215,baseTintBlue:16777215,baseSprite:"player-helmet-leader.img",spriteScale:.3},lootImg:{sprite:"player-helmet-leader.img",scale:.3,rot:.5*Math.PI}})},n=i.mergeDeep({},o,s);e.exports=n},"7b5bbf6e":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,a){var r=t.length,i=void 0,o=void 0,s=void 0,n=void 0,l=void 0;return a?(e=c.fmod(e,1),i=(e*(r-1)),s=i,n=(s+1)%(r-1),o=s>0?s-1:r-2,l=(n+1)%(r-1)):(e=c.clamp(e,0,1),i=(e*(r-1)),s=i==r-1?i-1:i,n=s+1,o=s>0?s-1:s,l=n<r-1?n+1:n),{pt:e*(r-1)-s,p0:t[o],p1:t[s],p2:t[n],p3:t[l]}}function o(e,t,a,r,i){return.5*(2*a+e*(-t+r)+e*e*(2*t-5*a+4*r-i)+e*e*e*(3*a-t-3*r+i))}function s(e,t,a,r,i){return.5*(-t+r+2*e*(2*t-5*a+4*r-i)+3*e*e*(3*a-t-3*r+i))}var n=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},l=a("0e566746"),c=a("10899aea"),m=a("c2a798c8"),p=function{function e(t,a){r(this,e),l(t.length>1),this.points=[],this.arcLens=[],this.totalArcLen=0,this.looped=a;for(var i=0;i<t.length;i++)this.points.push(m.copy(t[i]));for(var o=4*t.length,s=this.points[0],n=0;n<=o;n++){var c=n/o,p=this.getPos(c),h=0==n?0:this.arcLens[n-1];this.arcLens[n]=h+m.length(m.sub(p,s)),s=m.copy(p)}this.totalArcLen=this.arcLens[this.arcLens.length-1]}return n(e,[{key:"getPos",value:function(e){var t=i(e,this.points,this.looped),a=t.pt,r=t.p0,s=t.p1,n=t.p2,l=t.p3;return m.create(o(a,r.x,s.x,n.x,l.x),o(a,r.y,s.y,n.y,l.y))}},{key:"getTangent",value:function(e){var t=i(e,this.points,this.looped),a=t.pt,r=t.p0,o=t.p1,n=t.p2,l=t.p3;return m.create(s(a,r.x,o.x,n.x,l.x),s(a,r.y,o.y,n.y,l.y))}},{key:"getNormal",value:function(e){var t=this.getTangent(e);return m.perp(m.normalizeSafe(t,m.create(1,0)))}},{key:"getClosestTtoPoint",value:function(e){for(var t=Number.MAX_VALUE,a=0,r=0;r<this.points.length-1;r++){var i=c.distToSegmentSq(e,this.points[r],this.points[r+1]);i<t&&(t=i,a=r)}for(var o=a,s=o+1,n=this.points[o],l=this.points[s],p=m.sub(l,n),h=c.clamp(m.dot(m.sub(e,n),p)/m.dot(p,p),0,1),d=this.points.length-1,u=c.clamp((o+h-.1)/d,0,1),g=c.clamp((o+h+.1)/d,0,1),y=(o+h)/d,w=Number.MAX_VALUE,f=0;f<=8;f++){var b=c.lerp(f/8,u,g),_=this.getPos(b),x=m.lengthSqr(m.sub(_,e));x<w&&(y=b,w=x)}var S=this.getTangent(y),v=m.length(S);if(v>0){var z=this.getPos(y),k=m.dot(S,m.sub(e,z))/v,I=y+k/(v*d);m.lengthSqr(m.sub(e,this.getPos(I)))<m.lengthSqr(m.sub(e,z))&&(y=I)}return y}},{key:"getTfromArcLen",value:function(e){e=c.clamp(e,0,this.totalArcLen);for(var t=0;e>this.arcLens[t];)t++;if(0==t)return 0;var a=c.delerp(e,this.arcLens[t-1],this.arcLens[t]),r=this.arcLens.length-1,i=(t-1)/r,o=t/r;return c.lerp(a,i,o)}},{key:"getArcLen",value:function(e){e=c.clamp(e,0,1);var t=this.arcLens.length-1,a=Math.floor(e*t),r=a<t-1?a+1:a,i=c.fmod(e,1/t)/(1/t);return c.lerp(i,this.arcLens[a],this.arcLens[r])}}]),e};e.exports=p},"7d64d541":function(e,t,a){"use strict";function r(e,t){var a={url:s.resolveUrl(e),type:"GET"};o.ajax(a).done(function(e){t(null,e)}).fail(function(e){t(e)})}function i{this.acceptedLocales=Object.keys(c),this.translations={},this.translations.en=l,this.locale="en"}var o=a("8ee62bea"),s=a("259eae5b"),n=a("ce29f17f"),l=a("085a71b7"),c={da:"Dansk",de:"Deutsch",en:"English",es:"EspaÃ±ol",fr:"FranÃ§ais",it:"Italiano",nl:"Nederlands",pl:"Polski",pt:"PortuguÃªs",ru:"Ð ÑƒÑÑÐºÐ¸Ð¹",sv:"Svenska",vn:"Tiáº¿ng Viá»‡t",tr:"TÃ¼rkÃ§e",jp:"æ—¥æœ¬èªž",ko:"í•œêµ­ì–´",th:"à¸ à¸²à¸©à¸²à¹„à¸—à¸¢","zh-cn":"ä¸­æ–‡ç®€ä½“","zh-tw":"ä¸­æ–‡ç¹é«”"};i.prototype={detectLocale:function{for(var e=(navigator.language||navigator.userLanguage).toLowerCase,t=["pt","de","es","fr","ko","ru","en"],a=0;a<t.length;a++)if(-1!=e.indexOf(t[a])){e=t[a];break}for(var r=0;r<this.acceptedLocales.length;r++)if(-1!=e.indexOf(this.acceptedLocales[r]))return this.acceptedLocales[r];return"en"},setLocale:function(e){var t=this,a=-1!=this.acceptedLocales.indexOf(e)?e:"en";a!=this.locale&&(void 0===this.translations[e]?r("/l10n/"+e+".json",function(a,r){if(a)return void console.error("Failed loading translation data for locale "+e);t.translations[e]=r,t.setLocale(e)}):(this.locale=a,this.localizeIndex))},getLocale:function{return this.locale},translate:function(e){return this.translations[this.locale][e]||this.translations.en[e]||""},localizeIndex:function{var e=this;o("*[data-l10n]").each(function(t,a){var r=o(a),i=r.attr("data-l10n");r.hasClass("help-control")&&n.touch&&(i+="-touch");var s=e.translate(i);s&&(r.attr("label")?r.attr("label",s):(r.html(s),r.attr("data-label")&&r.attr("data-label",s)))})},populateLanguageSelect:function{var e=o(".language-select");e.empty;for(var t=Object.keys(c),a=0;a<t.length;a++){var r=t[a],i=c[r];e.append(o(" ",{value:r,text:i}))}}},e.exports=i},"81a1fce4":function(e,t){!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var a=" ";return 1===e.nodeType&&(a+e.className+a).replace(/[\n\t]/g,a).indexOf(a+t+a)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var a=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(a,"")},interpolateString:function(e,t){var a=//gi;return e.replace(a,function(e){return t(arguments[1])||""})},getCookie:function(e){var t="; "+document.cookie,a=t.split("; "+e+"=");return 2!=a.length?void 0:a.pop.split(";").shift},setCookie:function(e,t,a,r,i){var o=new Date;o.setDate(o.getDate+(a||365));var s=[e+"="+t,"expires="+o.toUTCString,"path="+(i||"/")];r&&s.push("domain="+r),document.cookie=s.join(";")},deepExtend:function(e,t){for(var a in t)t.hasOwnProperty(a)&&(a in e&&this.isPlainObject(e[a])&&this.isPlainObject(t[a])?this.deepExtend(e[a],t[a]):e[a]=t[a]);return e},throttle:function(e,t){var a=!1;return function{a||(e.apply(this,arguments),a=!0,setTimeout(function{a=!1},t))}},hash:function(e){var t,a,r,i=0;if(0===e.length)return i;for(t=0,r=e.length;t<r;++t)a=e.charCodeAt(t),i=(i<<5)-i+a,i|=0;return i},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),a=38+(t>>16),r=38+(t>>8&255),i=38+(255&t);return"#"+(16777216+65536*(a<255?a<1?0:a:255)+256*(r<255?r<1?0:r:255)+(i<255?i<1?0:i:255)).toString(16).slice(1)},isMobile:function{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function{var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var a in t)if(t.hasOwnProperty(a)&&void 0!==e.style[a+"ransition"])return t[a];return""},e.hasTransition=!!e.transitionEnd;var a=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function{function r{this.initialise.apply(this,arguments)}function i(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function o(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function s{var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var a=Object.keys(e.status),r=this.getStatus,i=a.indexOf(r)>=0;return i&&t(r),i}function n{var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function l{var e=this.options,a="top"==e.position||"bottom"==e.position?"banner":"floating";t.isMobile&&(a="floating");var r=["cc-"+a,"cc-type-"+e.type,"cc-theme-"+e.theme];return e.static&&r.push("cc-static"),r.push.apply(r,n.call(this)),h.call(this,this.options.palette),this.customStyleSelector&&r.push(this.customStyleSelector),r}function c{var e={},a=this.options;a.showLink||(a.elements.link="",a.elements.messagelink=a.elements.message),Object.keys(a.elements).forEach(function(r){e[r]=t.interpolateString(a.elements[r],function(e){var t=a.content[e];return e&&"string"==typeof t&&t.length?t:""})});var r=a.compliance[a.type];r||(r=a.compliance.info),e.compliance=t.interpolateString(r,function(t){return e[t]});var i=a.layouts[a.layout];return i||(i=a.layouts.basic),t.interpolateString(i,function(t){return e[t]})}function m(a){var r=this.options,i=document.createElement("div"),o=r.container&&1===r.container.nodeType?r.container:document.body;i.innerHTML=a;var s=i.children[0];return s.style.display="none",t.hasClass(s,"cc-window")&&e.hasTransition&&t.addClass(s,"cc-invisible"),this.onButtonClick=p.bind(this),s.addEventListener("click",this.onButtonClick),r.autoAttach&&(o.firstChild?o.insertBefore(s,o.firstChild):o.appendChild(s)),s}function p(r){var i=r.target;if(t.hasClass(i,"cc-btn")){var o=i.className.match(new RegExp("\\bcc-("+a.join("|")+")\\b")),s=o&&o[1]||!1;s&&(this.setStatus(s),this.close(!0))}t.hasClass(i,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(i,"cc-revoke")&&this.revokeChoice}function h(e){var a=t.hash(JSON.stringify(e)),r="cc-color-override-"+a,i=t.isPlainObject(e);return this.customStyleSelector=i?r:null,i&&d(a,e,"."+r),i}function d(a,r,i){if(e.customStyles[a])return void++e.customStyles[a].references;var o={},s=r.popup,n=r.button,l=r.highlight;s&&(s.text=s.text?s.text:t.getContrast(s.background),s.link=s.link?s.link:s.text,o[i+".cc-window"]=["color: "+s.text,"background-color: "+s.background],o[i+".cc-revoke"]=["color: "+s.text,"background-color: "+s.background],o[i+" .cc-link,"+i+" .cc-link:active,"+i+" .cc-link:visited"]=["color: "+s.link],n&&(n.text=n.text?n.text:t.getContrast(n.background),n.border=n.border?n.border:"transparent",o[i+" .cc-btn"]=["color: "+n.text,"border-color: "+n.border,"background-color: "+n.background],"transparent"!=n.background&&(o[i+" .cc-btn:hover, "+i+" .cc-btn:focus"]=["background-color: "+u(n.background)]),l?(l.text=l.text?l.text:t.getContrast(l.background),l.border=l.border?l.border:"transparent",o[i+" .cc-highlight .cc-btn:first-child"]=["color: "+l.text,"border-color: "+l.border,"background-color: "+l.background]):o[i+" .cc-highlight .cc-btn:first-child"]=["color: "+s.text]));var c=document.createElement("style");document.head.appendChild(c),e.customStyles[a]={references:1,element:c.sheet};var m=-1;for(var p in o)o.hasOwnProperty(p)&&c.sheet.insertRule(p+"{"+o[p].join(";")+"}",++m)}function u(e){return e=t.normaliseHex(e),"000000"==e?"#222":t.getLuminance(e)}function g(a){if(t.isPlainObject(a)){var r=t.hash(JSON.stringify(a)),i=e.customStyles[r];if(i&&!--i.references){var o=i.element.ownerNode;o&&o.parentNode&&o.parentNode.removeChild(o),e.customStyles[r]=null}}}function y(e,t){for(var a=0,r=e.length;a<r;++a){var i=e[a];if(i instanceof RegExp&&i.test(t)||"string"==typeof i&&i.length&&i===t)return!0}return!1}function w{var t=this.setStatus.bind(this),a=this.options.dismissOnTimeout;"number"==typeof a&&a>=0&&(this.dismissTimeout=window.setTimeout(function{t(e.status.dismiss)},Math.floor(a)));var r=this.options.dismissOnScroll;if("number"==typeof r&&r>=0){var i=function(a){window.pageYOffset>Math.floor(r)&&(t(e.status.dismiss),window.removeEventListener("scroll",i),this.onWindowScroll=null)};this.onWindowScroll=i,window.addEventListener("scroll",i)}}var f={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365},onPopupOpen:function{},onPopupClose:function{},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function{},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"http://cookiesandyou.com",close:"&#x274c;"},elements:{header:'  ',message:'  ',messagelink:'  <a aria-label="learn more about cookies" role=button tabindex="0" class="btn-cookie-settings cc-link" href="" rel="noopener noreferrer nofollow" target="_blank"></a> ',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss"></a>',allow:'<a aria-label="allow cookies" role=button tabindex="0"  class="cc-btn cc-allow"></a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny"></a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="" target="_blank"></a>',close:'  '},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window ">\x3c!--googleoff: all--\x3e\x3c!--googleon: all--\x3e ',revokeBtn:'<div class="cc-revoke ">Cookie Policy ',compliance:{info:'  ',"opt-in":'  ',"opt-out":'  '},type:"info",layouts:{basic:"","basic-close":"","basic-header":""},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return r.prototype.initialise=function(e){this.options&&this.destroy,t.deepExtend(this.options={},f),t.isPlainObject(e)&&t.deepExtend(this.options,e),s.call(this)&&(this.options.enabled=!1),y(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),y(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var a=this.options.window.replace("",l.call(this).join(" ")).replace("",c.call(this)),r=this.options.overrideHTML;if("string"==typeof r&&r.length&&(a=r),this.options.static){var i=m.call(this,' '+a+" ");i.style.display="",this.element=i.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=m.call(this,a);w.call(this),this.options.autoOpen&&this.autoOpen},r.prototype.destroy=function{this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,g(this.options.palette),this.options=null},r.prototype.open=function(t){if(this.element)return this.isOpen||(e.hasTransition?this.fadeIn:this.element.style.display="",this.options.revokable&&this.toggleRevokeButton,this.options.onPopupOpen.call(this)),this},r.prototype.close=function(t){if(this.element)return this.isOpen&&(e.hasTransition?this.fadeOut:this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},r.prototype.fadeIn=function{var a=this.element;if(e.hasTransition&&a&&(this.afterTransition&&o.call(this,a),t.hasClass(a,"cc-invisible"))){if(a.style.display="",this.options.static){var r=this.element.clientHeight;this.element.parentNode.style.maxHeight=r+"px"}this.openingTimeout=setTimeout(i.bind(this,a),20)}},r.prototype.fadeOut=function{var a=this.element;e.hasTransition&&a&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),i.bind(this,a)),t.hasClass(a,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=o.bind(this,a),a.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(a,"cc-invisible")))},r.prototype.isOpen=function{return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},r.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},r.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus,this.options.onRevokeChoice.call(this),e||this.autoOpen},r.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus)>=0},r.prototype.hasConsented=function(t){var a=this.getStatus;return a==e.status.allow||a==e.status.dismiss},r.prototype.autoOpen=function(e){!this.hasAnswered&&this.options.enabled&&this.open},r.prototype.setStatus=function(a){var r=this.options.cookie,i=t.getCookie(r.name),o=Object.keys(e.status).indexOf(i)>=0;Object.keys(e.status).indexOf(a)>=0?(t.setCookie(r.name,a,r.expiryDays,r.domain,r.path),this.options.onStatusChange.call(this,a,o)):this.clearStatus},r.prototype.getStatus=function{return t.getCookie(this.options.cookie.name)},r.prototype.clearStatus=function{var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},r},e.Location=function{function e(e){t.deepExtend(this.options={},o),t.isPlainObject(e)&&t.deepExtend(this.options,e),this.currentServiceIndex=-1}function a(e,t,a){var r,i=document.createElement("script");i.type="text/"+(e.type||"javascript"),i.src=e.src||e,i.async=!1,i.onreadystatechange=i.onload=function{var e=i.readyState;clearTimeout(r),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t,i.onreadystatechange=i.onload=null)},document.body.appendChild(i),r=setTimeout(function{t.done=!0,t,i.onreadystatechange=i.onload=null},a)}function r(e,t,a,r,i){var o=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(o.open(r?"POST":"GET",e,1),o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(i))for(var s=0,n=i.length;s<n;++s){var l=i[s].split(":",2);o.setRequestHeader(l[0].replace(/^\s+|\s+$/g,""),l[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(o.onreadystatechange=function{o.readyState>3&&t(o)}),o.send(r)}function i(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}var o={timeout:5e3,services:["freegeoip","ipinfo","maxmind"],serviceDefinitions:{freegeoip:function{return{url:"//freegeoip.net/json/?callback={callback}",isScript:!0,callback:function(e,t){try{var a=JSON.parse(t);return a.error?i(a):{code:a.country_code}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},ipinfo:function{return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var a=JSON.parse(t);return a.error?i(a):{code:a.country}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var a=JSON.parse(t);return"ERROR"==a.statusCode?i({error:a.statusMessage}):{code:a.countryCode}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},maxmind:function{return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){if(!window.geoip2)return void e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"));geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(i(t))}},function(t){e(i(t))})}}}}};return e.prototype.getNextService=function{var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e},e.prototype.getServiceByIdx=function(e){var a=this.options.services[e];if("function"==typeof a){var r=a;return r.name&&t.deepExtend(r,this.options.serviceDefinitions[r.name](r)),r}return"string"==typeof a?this.options.serviceDefinitions[a]:t.isPlainObject(a)?this.options.serviceDefinitions[a.name](a):null},e.prototype.locate=function(e,t){var a=this.getNextService;if(!a)return void t(new Error("No services to run"));this.callbackComplete=e,this.callbackError=t,this.runService(a,this.runNextServiceOnError.bind(this))},e.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts;return e.url.replace(/\{(.*?)\}/g,function(a,r){if("callback"===r){var i="callback"+Date.now;return window[i]=function(t){e.__JSONP_DATA=JSON.stringify(t)},i}if(r in t.interpolateUrl)return t.interpolateUrl[r]})},e.prototype.runService=function(e,t){var i=this;e&&e.url&&e.callback&&(e.isScript?a:r)(this.setupUrl(e),function(a){var r=a?a.responseText:"";e.__JSONP_DATA&&(r=e.__JSONP_DATA,delete e.__JSONP_DATA),i.runServiceCallback.call(i,t,e,r)},this.options.timeout,e.data,e.headers)},e.prototype.runServiceCallback=function(e,t,a){var r=this,i=function(t){o||r.onServiceResult.call(r,e,t)},o=t.callback(i,a);o&&this.onServiceResult.call(this,e,o)},e.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},e.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var a=this.getNextService;a?this.runService(a,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},e.prototype.getCurrentServiceOpts=function{var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e:t.isPlainObject(e)?e:{}},e.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},e.prototype.logError=function(e){var t=this.currentServiceIndex,a=this.getServiceByIdx(t);console.error("The service["+t+"] ("+a.url+") responded with the following error",e)},e},e.Law=function{function e(e){this.initialise.apply(this,arguments)}var a={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","SI","ES","SE","GB","UK"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return e.prototype.initialise=function(e){t.deepExtend(this.options={},a),t.isPlainObject(e)&&t.deepExtend(this.options,e)},e.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},e.prototype.applyLaw=function(e,t){var a=this.get(t);return a.hasLaw||(e.enabled=!1),this.options.regionalLaw&&(a.revokable&&(e.revokable=!0),a.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},e},e.initialise=function(t,a,r){var i=new e.Law(t.law);a||(a=function{}),r||(r=function{}),e.getCountryCode(t,function(r){delete t.law,delete t.location,r.code&&(t=i.applyLaw(t,r.code)),a(new e.Popup(t))},function(a){delete t.law,delete t.location,r(a,new e.Popup(t))})},e.getCountryCode=function(t,a,r){return t.law&&t.law.countryCode?void a({code:t.law.countryCode}):t.location?void new e.Location(t.location).locate(function(e){a(e||{})},r):void a({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{})},"8649e148":function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("0e566746"),s={Invalid:0,Player:1,Obstacle:2,Loot:3,LootSpawner:4,DeadBody:5,Building:6,Structure:7,Decal:8,Projectile:9,Smoke:10,Airdrop:11},n=65535,l=function{function e{r(this,e),this.objects=[],this.idToObj=[];for(var t=0;t<n;t++)this.idToObj[t]=null;this.idToType=new Uint8Array(n),this.dirtyPart=new Uint8Array(n),this.dirtyFull=new Uint8Array(n),this.idNext=1,this.freeLists={}}return i(e,[{key:"allocId",value:function(e){var t=1;if(this.idNext<n)t=this.idNext++;else{var a=this.freeLists[e]||[];a.length>0?t=a.shift:o(!1)}return t}},{key:"freeId",value:function(e,t){this.freeLists[e]=this.freeLists[e]||[],this.freeLists[e].push(t)}},{key:"register",value:function(e,t){var a=this.allocId(t);e.__id=a,e.__type=t,e.__arrayIdx=this.objects.length,this.objects[e.__arrayIdx]=e,this.idToObj[a]=e,this.idToType[a]=t,this.dirtyPart[a]=1,this.dirtyFull[a]=1}},{key:"unregister",value:function(e){o(e.__id>0);var t=this.objects.pop;e!==t&&(this.objects[e.__arrayIdx]=t,t.__arrayIdx=e.__arrayIdx),this.idToObj[e.__id]=null,this.freeId(e.__type,e.__id),this.idToType[e.__id]=0,this.dirtyPart[e.__id]=0,this.dirtyFull[e.__id]=0,e.__id=0,e.__type=0}}]),e};e.exports={MAX_ID:n,Type:s,Registrar:l}},"903f46c9":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={mapId:3,desc:{name:"50v50",icon:"img/gui/star.svg",buttonCss:"btn-mode-faction"},assets:{audio:[{name:"lt_assigned_01",channel:"ui"},{name:"medic_assigned_01",channel:"ui"},{name:"marksman_assigned_01",channel:"ui"},{name:"last_man_assigned_01",channel:"ui"},{name:"ping_leader_01",channel:"ui"}],atlases:["gradient","loadout","shared","faction"]},biome:{colors:{background:333348,water:465718,waterRipple:11792639,beach:9328178,riverbank:6632211,grass:5136680,underground:1772803,playerSubmerge:1192009,playerGhillie:5005348}},gameMode:{maxPlayers:100,factionMode:!0,factions:2}};e.exports=r.mergeDeep({},i,o)},"927ff3fc":function(e,t){},"966d985b":function(e,t,a){"use strict";function r(e){this.Re=e,this.Le=[],this.Fe={}}var i=a("8b1dfb45"),o=(a("989ad62a"),a("c2a798c8")),s=a("ce29f17f"),n=a("10899aea"),l=a("721a96bf");r.prototype={ue:function(e){for(var t=0;t<e.length;t++){var a=e[t];a.dead?this.qe(a.id):this.je(a)}},Ne:function(e){var t={id:e.id,type:e.type,pos:o.copy(e.pos),equipped:e.equipped,mapSprite:this.Re.addSprite,pulseSprite:this.Re.addSprite,pulseScale:.5,pulseScaleMin:.5,pulseScaleMax:1,pulseTicker:0,pulseDir:1,pulseSpeed:.3};return this.Le.push(t),this.Fe[e.id]=t,t},qe:function(e){for(var t=0;t<this.Le.length;t++){var a=this.Le[t];if(a.id==e){a.mapSprite.free,a.pulseSprite.free,this.Le.splice(t,1),delete this.Fe[e];break}}},je:function(e){var t=this.Fe[e.id];t||(t=this.Ne(e)),t.pos=o.copy(e.pos),t.equipped=e.equipped;var a=l[t.type],r=1.25*(s.uiLayout==s.UiLayout.Sm?.15:.2),n=t.equipped?655350:1,c=t.mapSprite;if(c.pos=o.copy(t.pos),c.scale=r,c.alpha=1,c.zOrder=n,c.visible=!0,c.sprite.texture=i.Texture.fromImage(a.mapIndicator.sprite),c.sprite.tint=a.mapIndicator.tint,a.mapIndicator.pulse){var m=t.pulseSprite;m.pos=o.copy(t.pos),m.scale=1,m.zOrder=n-1,m.visible=!0,m.sprite.texture=i.Texture.fromImage("part-pulse-01.img"),m.sprite.tint=a.mapIndicator.pulseTint}},ce:function(e){for(var t=0;t<this.Le.length;t++){var a=this.Le[t];a.pulseTicker=n.clamp(a.pulseTicker+e*a.pulseDir*a.pulseSpeed,a.pulseScaleMin,1),a.pulseScale=a.pulseTicker*a.pulseScaleMax,(a.pulseScale>=a.pulseScaleMax||a.pulseTicker<=a.pulseScaleMin)&&(a.pulseDir*=-1),a.pulseSprite.scale=a.pulseScale,a.pulseSprite.visible=a.equipped}}},e.exports={oe:r}},"989ad62a":function(e,t,a){"use strict";e.exports={protocolVersion:67,Input:{MoveLeft:0,MoveRight:1,MoveUp:2,MoveDown:3,Fire:4,Reload:5,Cancel:6,Interact:7,Revive:8,Use:9,Loot:10,EquipPrimary:11,EquipSecondary:12,EquipMelee:13,EquipThrowable:14,EquipFragGrenade:15,EquipSmokeGrenade:16,EquipNextWeap:17,EquipPrevWeap:18,EquipLastWeap:19,EquipOtherGun:20,EquipPrevScope:21,EquipNextScope:22,UseBandage:23,UseHealthKit:24,UseSoda:25,UsePainkiller:26,StowWeapons:27,SwapWeapSlots:28,ToggleMap:29,CycleUIMode:30,EmoteMenu:31,TeamPingMenu:32,Fullscreen:33,HideUI:34,TeamPingSingle:35,Count:36},EmoteSlot:{Top:0,Right:1,Bottom:2,Left:3,Win:4,Death:5,Count:6},WeaponSlot:{Primary:0,Secondary:1,Melee:2,Throwable:3,Count:4},WeaponType:["gun","gun","melee","throwable"],DamageType:{Player:0,Bleeding:1,Gas:2,Airdrop:3,Airstrike:4},Action:{None:0,Reload:1,ReloadAlt:2,UseItem:3,Revive:4},Anim:{None:0,Melee:1,Cook:2,Throw:3,CrawlForward:4,CrawlBackward:5,Revive:6},GasMode:{Inactive:0,Waiting:1,Moving:2},Plane:{Airdrop:0,Airstrike:1},map:{gridSize:16,shoreVariation:3,grassVariation:2},player:{radius:1,maxVisualRadius:3.75,maxInteractionRad:3.5,health:100,reviveHealth:24,boostBreakpoints:[1,1,1.5,.5],baseSwitchDelay:.25,freeSwitchCooldown:1,bleedTickRate:1,reviveDuration:8,reviveRange:5,crawlTime:.75,emoteSoftCooldown:2,emoteHardCooldown:6,emoteThreshold:6,throwableMaxMouseDist:18,cookTime:.1,throwTime:.3,meleeHeight:.25,touchLootRadMult:1.4,medicHealRange:8,medicReviveRange:6},defaultEmoteLoadout:["emote_happyface","emote_thumbsup","emote_surviv","emote_sadface","",""],airdrop:{actionOffset:0,fallTime:8,crushDamage:100,planeVel:48,planeRad:150,soundRangeMult:2.5,soundRangeDelta:.25,soundRangeMax:92,fallOff:0},airstrike:{actionOffset:0,bombJitter:4,bombOffset:2,bombVel:3,bombCount:20,planeVel:350,planeRad:120,soundRangeMult:18,soundRangeDelta:18,soundRangeMax:48,fallOff:1.25},groupColors:[16776960,16711935,65535,16733184],teamColors:[13369344,32511],bullet:{maxReflect:3,reflectDistDecay:1.5,height:.25},projectile:{maxHeight:5},structureLayerCount:2,tracerColors:{"9mm":{regular:16704198,saturated:16767411,chambered:16744192,alphaRate:.92,alphaMin:.14},"762mm":{regular:12965630,saturated:11257087,chambered:19711,alphaRate:.94,alphaMin:.2},"12gauge":{regular:16702684,saturated:16702684,chambered:16711680},"556mm":{regular:11141010,saturated:11141010,chambered:3604224,alphaRate:.92,alphaMin:.14},"50AE":{regular:16773256,saturated:16773256,chambered:16768768},"308sub":{regular:2435840,saturated:4608e3,chambered:1250816,alphaRate:.92,alphaMin:.07},flare:{regular:14869218,saturated:14869218,chambered:12895428},"45acp":{regular:15515391,saturated:15183103,chambered:11862271},shrapnel:{regular:3355443,saturated:3355443},frag:{regular:13303808,saturated:13303808},potato:{regular:0,saturated:0,chambered:0}},scopeZoomRadius:{desktop:{"1xscope":28,"2xscope":36,"4xscope":48,"8xscope":68,"15xscope":104},mobile:{"1xscope":32,"2xscope":40,"4xscope":48,"8xscope":64,"15xscope":88}},bagSizes:{"9mm":[120,240,330,420],"762mm":[90,180,240,300],"556mm":[90,180,240,300],"12gauge":[15,30,60,90],"50AE":[49,98,147,196],"308sub":[10,20,40,80],flare:[2,4,6,8],"45acp":[90,180,240,300],frag:[3,6,9,12],smoke:[3,6,9,12],strobe:[2,3,4,5],mirv:[2,4,6,8],snowball:[10,20,30,40],potato:[10,20,30,40],bandage:[5,10,15,30],healthkit:[1,2,3,4],soda:[2,5,10,15],painkiller:[1,2,3,4],"1xscope":[1,1,1,1],"2xscope":[1,1,1,1],"4xscope":[1,1,1,1],"8xscope":[1,1,1,1],"15xscope":[1,1,1,1]},lootRadius:{outfit:1,melee:1.25,gun:1.25,throwable:1,ammo:1.2,heal:1,boost:1,backpack:1,helmet:1,chest:1,scope:1,perk:1.25}}},"9b5f96fd":function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t,a,r,i,o,s,n,l,c,m,p){this.initialized=!1,this.teamMode=0,this.onJoin=m,this.onQuit=p,this.pixi=e,this.He=t,this.Ve=l,this.localization=a,this.config=r,this.Ue=i,this.We=o,this.Ge=s,this.adManager=n,this.resourceManager=c,this.victoryMusic=null,this.ws=null,this.connecting=!1,this.connected=!1}var o=a("8b1dfb45"),s=a("989ad62a"),n=s.Input,l=(s.EmoteSlot,a("8649e148")),c=a("7510cc08"),m=a("10899aea"),p=a("300e2704"),h=(a("1901e2d9"),a("c2a798c8")),d=a("ce29f17f"),u=a("26be8056"),g=a("2701b048"),y=a("c73dee75"),w=a("1ad3d2a4"),f=a("72409abe"),b=a("af8ba00f"),_=a("172c57dc"),x=(a("e98400ad"),a("e5d16b4d")),S=a("604cff9c"),v=a("f398b7c7"),z=a("f034d167"),k=a("a7f094a3"),I=a("4b8d140f"),T=a("a48f3bb2"),M=a("d49cd95c"),C=a("753d6e4b"),P=a("119e8c4c"),A=a("fc6a992a"),O=a("a508b62a"),E=a("bc83ef37"),D=a("c60b5e9f"),B=a("6e43d1d7"),R=a("0955a76e"),L=(a("ce089fd5"),a("e2094860")),F=a("3160ea28"),q=a("d3da5587"),j=a("6c7c3050");i.prototype={Ke:function(e,t,a,r){var i=this;if(!(this.connecting||this.connected||this.initialized)){this.ws&&(this.ws.onerror=function{},this.ws.onopen=function{},this.ws.onmessage=function{},this.ws.onclose=function{},this.ws.close,this.ws=null),this.connecting=!0,this.connected=!1;try{this.ws=new WebSocket(e),this.ws.binaryType="arraybuffer",this.ws.onerror=function(e){i.ws&&i.ws.close},this.ws.onopen=function{i.connecting=!1,i.connected=!0;var e=i.config.get("playerName"),r=new p.JoinMsg;r.protocol=s.protocolVersion,r.matchPriv=t,r.loadoutPriv=a,r.name=e,r.useTouch=d.touch,r.isMobile=d.mobile||window.mobile,r.bot=!1,i.J(p.Msg.Join,r,8192)},this.ws.onmessage=function(e){for(var t=new p.MsgStream(e.data);;){var a=t.deserializeMsgType;if(a==p.Msg.None)break;i.Xe(a,t.getStream)}},this.ws.onclose=function{var e=i.Ze&&i.Ze.displayingStats,t=i.connecting,a=i.connected;if(i.connecting=!1,i.connected=!1,t)r;else if(a&&!i.gameOver&&!e){var o=i.disconnectMsg||"index-host-closed";i.onQuit(o)}}}catch(e){this.connecting=!1,this.connected=!1,r}}},o:function{var e;this.canvasMode=this.pixi.renderer.type==o.RENDERER_TYPE.CANVAS,this.k=!1,this.Ye=0,this.H=!1,this.Je=!1,this.Qe=new L.$e(this.Ue,this.config),this.se=new w.j,this.et=new D.tt(this,this.canvasMode),this.at=new P.u(this.et),this.rt=new _._,this.ot=new M.st(this.rt),this.nt=new O.lt,this.ct=new y.mt,this.ht=new z.dt,this.ut=new E.gt,this.yt=new S.Te,this.wt=new A.ft(this.He),this.bt=new g.ae,this._t=new R.d,this.xt=new f.Ae,this.St=new T.vt,this.zt=new k.kt(this.canvasMode),this.Ze=new F.ge(this,this.He,this.at,this.wt,this.localization,this.canvasMode,this.Qe,this.We,this.Ge,this.adManager),this.It=new q.Tt(this.localization,this.We),this.Mt=new x.Ct(this.He,this.Ze,this.nt,this.se,this.ot),this.Pt=new B.Ce(this.at,this.He,this.Ze);var t=(e={},r(e,l.Type.Player,this.nt.Ie),r(e,l.Type.Obstacle,this.ot.ye),r(e,l.Type.Loot,this.St.At),r(e,l.Type.DeadBody,this.xt.Pe),r(e,l.Type.Building,this.ot.Ot),r(e,l.Type.Structure,this.ot.Et),r(e,l.Type.Decal,this.rt.f),r(e,l.Type.Projectile,this.ut.Dt),r(e,l.Type.Smoke,this._t.e),r(e,l.Type.Airdrop,this.bt.te),e);this.Bt=new C.Creator;for(var a in t)t.hasOwnProperty(a)&&this.Bt.registerType(a,t[a]);this.debugDisplay=new o.Graphics;for(var i=[this.ot.display.ground,this.et.layers[0],this.et.ground,this.et.layers[1],this.et.layers[2],this.et.layers[3],this.debugDisplay,this.zt.gasRenderer.display,this.Qe.container,this.Mt.container,this.Ze.container,this.Ze.pieTimer.container,this.Mt.indContainer],s=0;s<i.length;s++){var n=i[s];n&&(n.interactiveChildren=!1,this.pixi.stage.addChild(n))}this.disconnectMsg="",this.playing=!1,this.gameOver=!1,this.spectating=!1,this.inputMsgTimeout=0,this.prevInputMsg=new p.InputMsg,this.playingTicker=0,this.updateRecvCount=0,this.Rt=0,this.Lt=0,this.Ft=null,this.qt=!1,this.O=1,this.debugZoom=1,this.useDebugZoom=!1,this.seq=0,this.seqInFlight=!1,this.seqSendTime=0,this.pings=[],this.debugPingTime=0,this.se.setShakeEnabled(this.config.get("screenShake")),this.nt.anonPlayerNames=this.config.get("anonPlayerNames"),this.jt,this.initialized=!0},n:function{if(this.ws&&(this.ws.onmessage=function{},this.ws.close,this.ws=null),this.connecting=!1,this.connected=!1,this.initialized)for(this.initialized=!1,this.Mt.n,this.It.n,this.Ze.n,this.zt.free,this.bt.n,this.wt.n,this.ot.n,this.at.n,this.et.n,this.He.stopAll;this.pixi.stage.children.length>0;){var e=this.pixi.stage.children[0];this.pixi.stage.removeChild(e),e.destroy({children:!0})}},Nt:function{return this.initialized&&this.playing&&!this.spectating&&!this.Ze.displayingStats},m:function(e){var t=this._t.particles,a=this.ot.ye.p,r=0;this.k=!0;var i={};i.render=i.render||{},this.playing&&(this.playingTicker+=e),this.nt.m(e,this.Lt,this.teamMode,this.et,this.at,this.se,this.ot,this.We,this.He,this.It,this.Mt.wheelKeyTriggered,this.Ze.displayingStats,this.spectating),this.updateAmbience,this.se.pos=h.copy(this.Ft.pos),this.se.applyShake;var o=this.Ft.Ht,l=m.min(this.se.screenWidth,this.se.screenHeight),g=m.max(this.se.screenWidth,this.se.screenHeight),y=m.max(l*(16/9),g);this.se.O=.5*y/(o*this.se.ppu);var w=this.Ft.zoomFast?3:2,f=this.Ft.zoomFast?3:1.4,b=this.se.O>this.se.I?w:f;this.se.I=m.lerp(e*b,this.se.I,this.se.O),this.He.cameraPos=h.copy(this.se.pos),this.Ue.fe(I.Key.Escape)&&this.Ze.toggleEscMenu,(this.We.isBindPressed(n.ToggleMap)||this.Ue.fe(I.Key.G)&&!this.We.isKeyBound(I.Key.G))&&this.Ze.displayMapLarge(!1),this.We.isBindPressed(n.CycleUIMode)&&this.Ze.cycleVisibilityMode,(this.We.isBindPressed(n.HideUI)||this.Ue.fe(I.Key.Escape)&&!this.Ze.hudVisible)&&this.Ze.cycleHud;var _=this.Ft.pos,x=this.se.q(this.Ue.we),S=h.sub(x,_),v=h.length(S),z=v>1e-5?h.div(S,v):h.create(1,0);this.Mt.wheelDisplayed&&(v=this.prevInputMsg.toMouseLen,z=this.prevInputMsg.toMouseDir);var k=new p.InputMsg;if(k.seq=this.seq,!this.spectating){if(d.touch){var T=this.Qe.getTouchMovement(this.se),M=this.Qe.getAimMovement(this.Ft,this.se),C=h.copy(M.aimMovement.toAimDir);if(this.Qe.turnDirTicker-=e,this.Qe.moveDetected&&!M.touched){var P=h.normalizeSafe(T.toMoveDir,h.create(1,0)),A=this.Qe.turnDirTicker<0?P:M.aimMovement.toAimDir;this.Qe.setAimDir(A),C=A}M.touched&&(this.Qe.turnDirTicker=this.Qe.turnDirCooldown),this.Qe.moveDetected?(k.touchMoveDir=h.normalizeSafe(T.toMoveDir,h.create(1,0)),k.touchMoveLen=Math.round(255*m.clamp(T.toMoveLen,0,1))):k.touchMoveLen=0,k.touchMoveActive=!0;var O=M.aimMovement.toAimLen,E=m.clamp(O/this.Qe.padPosRange,0,1)*s.player.throwableMaxMouseDist;k.toMouseLen=E,k.toMouseDir=C}else k.moveLeft=this.We.isBindDown(n.MoveLeft)||this.Ue.ve(I.Key.Left)&&!this.We.isKeyBound(I.Key.Left),k.moveRight=this.We.isBindDown(n.MoveRight)||this.Ue.ve(I.Key.Right)&&!this.We.isKeyBound(I.Key.Right),k.moveUp=this.We.isBindDown(n.MoveUp)||this.Ue.ve(I.Key.Up)&&!this.We.isKeyBound(I.Key.Up),k.moveDown=this.We.isBindDown(n.MoveDown)||this.Ue.ve(I.Key.Down)&&!this.We.isKeyBound(I.Key.Down),k.toMouseDir=h.copy(z),k.toMouseLen=v;k.touchMoveDir=h.normalizeSafe(k.touchMoveDir,h.create(1,0)),k.touchMoveLen=m.clamp(k.touchMoveLen,0,255),k.toMouseDir=h.normalizeSafe(k.toMouseDir,h.create(1,0)),k.toMouseLen=m.clamp(k.toMouseLen,0,p.Constants.MouseMaxDist),k.shootStart=this.We.isBindPressed(n.Fire)||this.Qe.Vt,k.shootHold=this.We.isBindDown(n.Fire)||this.Qe.Vt,k.portrait=this.se.screenWidth<this.se.screenHeight;for(var D=[n.Reload,n.Revive,n.Use,n.Loot,n.Cancel,n.EquipPrimary,n.EquipSecondary,n.EquipThrowable,n.EquipMelee,n.EquipNextWeap,n.EquipPrevWeap,n.EquipLastWeap,n.EquipOtherGun,n.EquipPrevScope,n.EquipNextScope,n.StowWeapons],B=0;B<D.length;B++){var R=D[B];this.We.isBindPressed(R)&&k.addInput(R)}if(this.We.isBindPressed(n.Interact)){for(var L=[n.Revive,n.Use,n.Loot],F=[],q=0;q<L.length;q++){var j=L[q];this.We.getBind(j)||F.push(j)}if(F.length==L.length)k.addInput(n.Interact);else for(var N=0;N<F.length;N++)k.addInput(F[N])}(this.We.isBindPressed(n.SwapWeapSlots)||this.Ze.swapWeapSlots)&&(k.addInput(n.SwapWeapSlots),this.Ft.gunSwitchCooldown=0),this.Ze.reloadTouched&&k.addInput(n.Reload),this.Ze.interactionTouched&&(k.addInput(n.Interact),k.addInput(n.Cancel));for(var H=0;H<this.It.uiEvents.length;H++){var V=this.It.uiEvents[H];if("use"==V.action)if("weapon"==V.type){var U={0:n.EquipPrimary,1:n.EquipSecondary,2:n.EquipMelee,3:n.EquipThrowable},W=U[V.data];W&&k.addInput(W)}else k.useItem=V.data}this.We.isBindPressed(n.UseBandage)?k.useItem="bandage":this.We.isBindPressed(n.UseHealthKit)?k.useItem="healthkit":this.We.isBindPressed(n.UseSoda)?k.useItem="soda":this.We.isBindPressed(n.UsePainkiller)&&(k.useItem="painkiller");for(var G=!1,K=0;K<this.It.uiEvents.length;K++){var X=this.It.uiEvents[K];if("drop"==X.action){var Z=new p.DropItemMsg;if("weapon"==X.type){var Y=this.Ft.le.weapons;Z.item=Y[X.data].type,Z.weapIdx=X.data}else if("perk"==X.type){var J=this.Ft.ne.perks,Q=J.length>X.data?J[X.data]:null;Q&&Q.droppable&&(Z.item=Q.type)}else{var $="";$="helmet"==X.data?this.Ft.ne.helmet:"chest"==X.data?this.Ft.ne.chest:X.data,Z.item=$}""!=Z.item&&(this.J(p.Msg.DropItem,Z,128),"fists"!=Z.item&&(G=!0))}}G&&this.He.playSound("loot_drop_01",{channel:"ui"})}var ee=this.Ze.specBegin,te=this.Ze.specNext||this.spectating&&this.Ue.fe(I.Key.Right),ae=this.Ze.specPrev||this.spectating&&this.Ue.fe(I.Key.Left),re=this.Ue.fe(I.Key.Right)||this.Ue.fe(I.Key.Left);if(ee||this.spectating&&te||ae){var ie=new p.SpectateMsg;ie.specBegin=ee,ie.specNext=te,ie.specPrev=ae,ie.specForce=re,this.J(p.Msg.Spectate,ie,128)}this.Ze.specBegin=!1,this.Ze.specNext=!1,this.Ze.specPrev=!1,this.Ze.reloadTouched=!1,this.Ze.interactionTouched=!1,this.Ze.swapWeapSlots=!1;var oe=!1;for(var se in k)if(k.hasOwnProperty(se)){if("inputs"==se)oe=k[se].length>0;else if("toMouseDir"==se||"touchMoveDir"==se){var ne=m.clamp(h.dot(k[se],this.prevInputMsg[se]),-1,1),le=m.rad2deg(Math.acos(ne));oe=le>.1}else"toMouseLen"==se?oe=Math.abs(this.prevInputMsg[se]-k[se])>.5:"shootStart"==se?oe=k[se]||k[se]!=this.prevInputMsg[se]:this.prevInputMsg[se]!=k[se]&&(oe=!0);if(oe)break}if(this.inputMsgTimeout-=e,(oe||this.inputMsgTimeout<0)&&(this.seqInFlight||(this.seq=(this.seq+1)%256,this.seqSendTime=Date.now,this.seqInFlight=!0,k.seq=this.seq),this.J(p.Msg.Input,k,128),this.inputMsgTimeout=1,this.prevInputMsg=k),this.It.flushInput,this.ot.m(e,this.Ft,this.nt,this.at,this.He,this.Ve,this.et,this.se,t,i),this.St.m(e,this.Ft,this.se,i),this.ct.m(e,this.nt,this.ot,this.se,this.Ft,this.et,this.at,this.He),this.ht.m(e,this.nt,this.ot,this.se,this.Ft,this.et,this.at,this.He),this.ut.m(e,this.at,this.He,this.Ft,this.ot,this.et,this.se),this.yt.m(e,this.ot,this.nt,this.se,this.at,this.He,i),this.bt.m(e,this.Ft,this.se,this.ot,this.at,this.et,this.He),this.wt.m(e,this.se,this.Ft,this.ot,this.et),this._t.m(e,this.se,this.Ft,this.ot,this.et),this.Pt.m(e,this.Lt,this.nt,this.at,this.He),this.at.m(e,this.se,i),this.xt.m(e,this.nt,this.Ft,this.ot,this.se,this.et),this.rt.m(e,this.se,this.et,i),this.Ze.m(e,this.Ft,this.ot,this.zt,this.St,this.nt,this.se,this.teamMode,this.ot.factionMode),this.It.m(e,this.Ft,this.spectating,this.nt,this.St,this.ot,this.We),this.Mt.m(e,this.Rt,this.Ft,this.teamMode,this.xt,this.et,this.Ue,this.We,this.spectating),this.Qe.update(e,this.Ft,this.ot,this.se,this.et),this.et.m(e,this.se,this.ot,i),!this.Je&&this.ot.Ut&&this.ot.H){this.Je=!0;var ce=new p.LoadoutMsg;ce.emotes=[];for(var me=0;me<this.Mt.emoteLoadout.length;me++)ce.emotes.push(this.Mt.emoteLoadout[me]);ce.custom=this.Mt.hasCustomEmotes,this.J(p.Msg.Loadout,ce,128)}for(var pe=0;pe<this.Mt.newPings.length;pe++){var he=this.Mt.newPings[pe],de=new p.EmoteMsg;de.type=he.type,de.pos=he.pos,de.isPing=!0,this.J(p.Msg.Emote,de,128)}this.Mt.newPings=[];for(var ue=0;ue<this.Mt.newEmotes.length;ue++){var ge=this.Mt.newEmotes[ue],ye=new p.EmoteMsg;ye.type=ge.type,ye.pos=ge.pos,ye.isPing=!1,this.J(p.Msg.Emote,ye,128)}if(this.Mt.newEmotes=[],this.Wt(e,i),++this.Ye%30==0){for(var we=c.De,fe=0;fe<t.length;fe++){var be=t[fe];be.active&&!be.fade&&we(be,c.Oe)&&r++}for(var _e=0;_e<a.length;_e++){var xe=a[_e];xe.active&&!xe.dead&&we(xe,c.Ee)&&r++}r&&(this.H=!0),r&&this.qt&&u.H(this)}},Wt:function(e,t){var a=this.ot.mapLoaded?this.ot.getMapDef.biome.colors.grass:8433481;this.pixi.renderer.backgroundColor=a,this.nt.render(this.se,t),this.ct.render(this.se,t),this.ht.render(this.se),this.rt.render(this.se,t,this.Ft.layer),this.ot.render(this.se),this.zt.render(this.se),this.Ze.render(this.Ft.pos,this.zt,this.se,this.ot,this.wt,t),this.Mt.render(this.se),b.flush},updateAmbience:function{var e=this.Ft.pos,t=0,a=0,r=1;if(this.ot.isInOcean(e))t=1,a=0,r=0;else{var i=this.ot.distanceToShore(e);t=m.delerp(i,50,0),a=0;for(var o=0;o<this.ot.terrain.rivers.length;o++){var s=this.ot.terrain.rivers[o],n=s.spline.getClosestTtoPoint(e),l=s.spline.getPos(n),c=h.length(h.sub(l,e)),p=s.waterWidth+2,d=m.delerp(c,30+p,p),u=m.clamp(s.waterWidth/8,.25,1);a=m.max(d*u,a)}1==this.Ft.layer&&(a=0),r=1}this.Ve.getTrack("wind").weight=r,this.Ve.getTrack("river").weight=a,this.Ve.getTrack("waves").weight=t},jt:function{this.se.screenWidth=d.screenWidth,this.se.screenHeight=d.screenHeight,this.ot.resize(this.pixi.renderer,this.canvasMode),this.zt.resize,this.Ze.resize(this.ot,this.se),this.Qe.resize,this.et.resize(this.ot,this.se)},Gt:function(e){var t=(this.Lt,{audioManager:this.He,renderer:this.et,particleBarn:this.at,map:this.ot,smokeBarn:this._t,decalBarn:this.rt});e.activePlayerIdDirty&&(this.Lt=e.activePlayerId);for(var a=0;a<e.playerInfos.length;a++)this.nt.Kt(e.playerInfos[a]);for(var r=0;r<e.deletedPlayerIds.length;r++){var i=e.deletedPlayerIds[r];this.nt.Xt(i)}if((e.playerInfos.length>0||e.deletedPlayerIds.length>0)&&this.nt.Zt,e.playerStatusDirty){var o=this.nt.me(this.Lt).teamId;this.nt.Yt(o,e.playerStatus,this.ot.factionMode)}if(e.groupStatusDirty){var s=this.nt.me(this.Lt).groupId;this.nt.Jt(s,e.groupStatus)}for(var n=0;n<e.delObjIds.length;n++)e.delObjIds[n],this.Bt.deleteObj(e.delObjIds[n]);for(var l=0;l<e.fullObjects.length;l++){var c=e.fullObjects[l];this.Bt.updateObjFull(c.__type,c.__id,c,t)}for(var m=0;m<e.partObjects.length;m++){var p=e.partObjects[m];this.Bt.updateObjPart(p.__id,p,t)}this.spectating=this.Lt!=this.Rt,this.Ft=this.nt.Me(this.Lt),this.Ft.Qt(e.activePlayerData,this.nt),e.activePlayerData.weapsDirty&&(this.Ze.weapsDirty=!0),this.spectating&&(this.Ze.setSpectateTarget(this.Lt,this.Rt,this.teamMode,this.nt),this.Qe.hideAll),this.Ft.layer=this.Ft.ne.layer,this.et.setActiveLayer(this.Ft.layer),this.He.activeLayer=this.Ft.layer;var h=this.Ft.isUnderground(this.ot);this.et.setUnderground(h),this.He.underground=h,e.aliveDirty&&(1==e.aliveCounts.length?this.Ze.updatePlayersAlive(e.aliveCounts[0]):e.aliveCounts.length>=2&&(this.Ze.updatePlayersAliveRed(e.aliveCounts[0]),this.Ze.updatePlayersAliveBlue(e.aliveCounts[1]))),this.zt.setProgress(e.gasT),e.gasDirty&&this.zt.setFullState(e.gasT,e.gasData,this.ot,this.Ze);for(var d=0;d<e.bullets.length;d++){var g=e.bullets[d];y.createBullet(g,this.ct,this.ht,this.nt,this.et),g.shotFx&&this.Pt.addShot(g)}for(var w=0;w<e.explosions.length;w++){var f=e.explosions[w];this.yt.addExplosion(f.type,f.pos,f.layer)}for(var b=0;b<e.emotes.length;b++){var _=e.emotes[b];_.isPing?this.Mt.addPing(_,this.ot.factionMode):this.Mt.addEmote(_)}this.wt.$t(e.planes,this.ot);for(var x=0;x<e.airstrikeZones.length;x++)this.wt.ea(e.airstrikeZones[x]);if(this.Ze.he(e.mapIndicators),e.killLeaderDirty){var S=u.htmlEscape(this.nt.getPlayerName(e.killLeaderId,this.Lt,!0));this.Ze.updateKillLeader(e.killLeaderId,S,e.killLeaderKills)}this.updateRecvCount++},Xe:function(e,t){switch(e){case p.Msg.Joined:var a=new p.JoinedMsg;a.deserialize(t),this.onJoin,this.teamMode=a.teamMode,this.Rt=a.playerId,this.qt=!0,this.Mt.updateEmoteWheel(a.emotes),a.started||this.Ze.setWaitingForPlayers(!0),this.Ze.removeAds,this.victoryMusic&&(this.victoryMusic.stop,this.victoryMusic=null),document.hasFocus||this.He.playSound("notification_start_01",{channel:"ui"}),(u.$||u.ee)&&(this.H=!0);break;case p.Msg.Map:var r=new p.MapMsg;r.deserialize(t),this.ot.loadMap(r,this.se,this.canvasMode,this.at),this.resourceManager.loadMapAssets(this.ot.mapName),this.ot.renderMap(this.pixi.renderer,this.canvasMode),this.nt.onMapLoad(this.ot),this.ct.onMapLoad(this.ot),this.at.onMapLoad(this.ot),this.Ze.onMapLoad(this.ot,this.se);break;case p.Msg.Update:var i=new p.UpdateMsg;i.deserialize(t,this.Bt),this.playing=!0,this.Gt(i);break;case p.Msg.Kill:var o=new p.KillMsg;o.deserialize(t);var n=o.itemSourceType||o.mapSourceType,l=this.nt.me(this.Lt).teamId,c=o.downed&&!o.killed||o.damageType==s.DamageType.Gas||o.damageType==s.DamageType.Bleeding||o.damageType==s.DamageType.Airdrop,m=this.nt.me(o.targetId),h=this.nt.me(o.killCreditId),d=c?h:this.nt.me(o.killerId),g=this.nt.getPlayerName(m.playerId,this.Lt,!0),y=this.nt.getPlayerName(h.playerId,this.Lt,!0),w=this.nt.getPlayerName(d.playerId,this.Lt,!0);if(g=u.htmlEscape(g),y=u.htmlEscape(y),w=u.htmlEscape(w),o.killCreditId==this.Lt){var f=o.killerId==this.Lt,b=o.killerId==o.targetId||o.killCreditId==o.targetId,_=this.It.getKillText(y,g,f,o.downed,o.killed,b,n,o.damageType,this.spectating),x=o.killed&&!b?this.It.getKillCountText(o.killerKills):"";this.It.displayKillMessage(_,x)}else if(o.targetId==this.Lt&&o.downed&&!o.killed){var S=this.It.getDownedText(y,g,n,o.damageType,this.spectating);this.It.displayKillMessage(S,"")}o.killCreditId==this.Rt&&this.Ze.setLocalKills(o.killerKills);var v=this.It.getKillFeedText(g,d.teamId?w:"",n,o.damageType,o.downed&&!o.killed),z=this.It.getKillFeedColor(l,m.teamId,h.teamId,this.ot.factionMode);this.It.addKillFeedMessage(v,z),o.type==s.DamageType.Player&&this.ct.createBulletHit(this.nt,o.targetId,this.He);break;case p.Msg.RoleAnnouncement:var k=new p.RoleAnnouncementMsg;k.deserialize(t);var I=j[k.role];if(!I)break;var T=this.nt.me(k.playerId),M=u.htmlEscape(this.nt.getPlayerName(k.playerId,this.Lt,!0));if(k.assigned){if(I.sound&&I.sound.assign&&this.He.playSound(I.sound.assign,{channel:"ui"}),I.killFeed&&I.killFeed.assign){var C=this.It.getRoleAssignedKillFeedText(k.role,T.teamId,M),P=this.It.getRoleKillFeedColor(k.role,T.teamId,this.nt);this.It.addKillFeedMessage(C,P)}if(I.announce&&this.Rt==k.playerId){var A=this.It.getRoleAnnouncementText(k.role,T.teamId);this.Ze.displayAnnouncement(A.toUpperCase)}}else if(k.killed){if(I.killFeed&&I.killFeed.dead){var O=u.htmlEscape(this.nt.getPlayerName(k.killerId,this.Lt,!0));k.playerId==k.killerId&&(O="");var E=this.It.getRoleKilledKillFeedText(k.role,T.teamId,O),D=this.It.getRoleKillFeedColor(k.role,T.teamId,this.nt);this.It.addKillFeedMessage(E,D)}I.sound&&I.sound.dead&&this.He.playSound(I.sound.dead,{channel:"ui"})}break;case p.Msg.PlayerStats:var B=new p.PlayerStatsMsg;B.deserialize(t),this.Ze.setLocalStats(B.playerStats),this.Ze.showTeamAd(B.playerStats,this.It);break;case p.Msg.Stats:var R=new p.StatsMsg;R.deserialize(t),u.Y(R.data,this);break;case p.Msg.GameOver:var L=new p.GameOverMsg;L.deserialize(t),this.gameOver=L.gameOver;for(var F=this.nt.me(this.Rt).teamId,q=0;q<L.playerStats.length;q++){var N=L.playerStats[q];if(N.playerId==this.Rt){this.Ze.setLocalStats(N);break}}this.Ze.showStats(L.playerStats,L.teamId,L.teamRank,L.winningTeamId,L.gameOver,F,this.teamMode,this.spectating,this.nt,this.He,this.ot.factionMode,this.It),F==L.winningTeamId&&(this.victoryMusic=this.He.playSound("menu_music",{channel:"music",delay:1300,forceStart:!0})),this.Qe.hideAll;break;case p.Msg.Pickup:var H=new p.PickupMsg;H.deserialize(t),H.type==p.PickupMsgType.Success&&H.item?this.Ft.playItemPickupSound(H.item,this.He):this.It.displayPickupMessage(H.type);break;case p.Msg.Disconnect:var V=new p.DisconnectMsg;V.deserialize(t),this.disconnectMsg=V.reason}},J:function(e,t,a){var r=a||128,i=new p.MsgStream(new ArrayBuffer(r));i.serializeMsg(e,t),this.ta(i)},ta:function(e){if(this.ws&&this.ws.readyState==this.ws.OPEN)try{this.ws.send(e.getBuffer)}catch(e){v.storeGeneric("error","sendMessageException"),this.ws.close}}},e.exports={aa:i}},"9d3c0d8b":function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={assets:{audio:[{name:"log_01",channel:"sfx"},{name:"log_02",channel:"sfx"},{name:"pumpkin_break_01",channel:"sfx"},{name:"vault_change_02",channel:"sfx"}],atlases:["gradient","loadout","shared","halloween"]},biome:{colors:{background:1507328,water:2621440,waterRipple:1048833,beach:6570254,riverbank:3939077,grass:2171908,underground:1181697,playerSubmerge:1310720},particles:{camera:"falling_leaf_halloween"},valueAdjust:.3}};e.exports=r.mergeDeep({},i,o)},a48f3bb2:function(e,t,a){"use strict";function r{this.ticker=0,this.container=new o.Sprite,this.container.anchor.set(.5,.5),this.container.scale.set(1,1),this.sprite=new o.Sprite,this.sprite.anchor.set(.5,.5),this.sprite.scale.set(.8,.8),this.container.addChild(this.sprite)}function i{this.k=!1,this.At=new p.Pool(r),this.ra=null}var o=a("8b1dfb45"),s=a("989ad62a"),n=a("10899aea"),l=a("1901e2d9"),c=a("c2a798c8"),m=(a("af8ba00f"),a("ce29f17f")),p=a("753d6e4b"),h=a("721a96bf");r.prototype={o:function{this.updatedData=!1},n:function{this.container.visible=!1},c:function(e,t,a,r){if(this.updatedData=!0,this.pos=c.copy(e.pos),t&&(this.layer=e.layer,this.type=e.type,this.count=e.count,this.isOld=e.isOld),a){this.ticker=0,this.isOld&&(this.ticker=10);var i=h[this.type];this.rad=s.lootRadius[i.type],this.imgScale=1.25*i.lootImg.scale;var n=i.lootImg.innerScale||.8;this.sprite.scale.set(n,n),this.sprite.texture=o.Texture.fromImage(i.lootImg.sprite),this.sprite.tint=i.lootImg.tint,this.container.texture=i.lootImg.border?o.Texture.fromImage(i.lootImg.border):o.Texture.EMPTY;var l=h[i.ammo];l?this.container.tint=l.lootImg.tintDark:i.lootImg.borderTint?this.container.tint=i.lootImg.borderTint:this.container.tint=0,this.sprite.rotation=i.lootImg.rot?i.lootImg.rot:0,this.sprite.scale.x=i.lootImg.mirror?-n:n,this.container.visible=!0}(a||t)&&r.renderer.addPIXIObj(this.container,this.layer,13,this.__id)}},i.prototype={m:function(e,t,a,r){this.k=!0,this.ra=null;for(var i=Number.MAX_VALUE,o=this.At.p,p=0;p<o.length;p++){var h=o[p];if(h.active){if(l.sameLayer(h.layer,t.layer)){var d=h.pos,u=m.touch?t.rad+h.rad*s.player.touchLootRadMult:h.rad,g=c.sub(t.pos,d),y=c.lengthSqr(g);y<u*u&&y<i&&(i=y,this.ra=h)}h.ticker+=e;var w=n.delerp(h.ticker,0,1),f=n.easeOutElastic(w,.75),b=a.pointToScreen(h.pos),_=a.pixels(h.imgScale*f);h.container.position.set(b.x,b.y),h.container.scale.set(_,_)}}},ia:function{return this.ra}},e.exports={vt:i}},a508b62a:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(e.length!=t.length)return!1;for(var a=0;a<e.length;a++)if(e[a].type!=t[a].type)return!1;return!0}function o{var e={fontFamily:"Arial",fontWeight:"bold",fontSize:v.pixelRatio>1?30:22,align:"center",fill:65535,stroke:0,strokeThickness:0,dropShadow:!0,dropShadowColor:"#000000",dropShadowBlur:1,dropShadowAngle:Math.PI/3,dropShadowDistance:1},t=new m.Text("",e);return t.anchor.set(.5,.5),t.scale.set(.5,.5),t.position.set(0,30),t.visible=!1,t}function s{var e=new m.Sprite;return e.texture=m.Texture.EMPTY,e.anchor.set(.5,.5),e.scale.set(1,1),e.tint=16777215,e.visible=!1,e}function n{this.bodySprite=s,this.chestSprite=s,this.steelskinSprite=s,this.helmetSprite=s,this.backpackSprite=s,this.handLSprite=s,this.handRSprite=s,this.footLSprite=s,this.footRSprite=s,this.hipSprite=s,this.gunLSprites=new L,this.gunRSprites=new L,this.objectLSprite=s,this.objectRSprite=s,this.meleeSprite=s,this.bodySubmergeSprite=s,this.handLSubmergeSprite=s,this.handRSubmergeSprite=s,this.footLSubmergeSprite=s,this.footRSubmergeSprite=s,this.bodyEffectSprite=s,this.patchSprite=s,this.bodySprite.addChild(this.bodySubmergeSprite),this.handLSprite.addChild(this.handLSubmergeSprite),this.handRSprite.addChild(this.handRSubmergeSprite),this.footLSprite.addChild(this.footLSubmergeSprite),this.footRSprite.addChild(this.footRSubmergeSprite),this.handLContainer=new m.Container,this.handLContainer.addChild(this.gunLSprites.container),this.handLContainer.addChild(this.handLSprite),this.handLContainer.addChild(this.objectLSprite),this.handRContainer=new m.Container,this.handRContainer.addChild(this.gunRSprites.container),this.handRContainer.addChild(this.meleeSprite),this.handRContainer.addChild(this.handRSprite),this.handRContainer.addChild(this.objectRSprite),this.footLContainer=new m.Container,this.footLContainer.addChild(this.footLSprite),this.footRContainer=new m.Container,this.footRContainer.addChild(this.footRSprite),this.bodyContainer=new m.Container,this.bodyContainer.addChild(this.footLContainer),this.bodyContainer.addChild(this.footRContainer),this.bodyContainer.addChild(this.backpackSprite),this.bodyContainer.addChild(this.bodySprite),this.bodyContainer.addChild(this.chestSprite),this.bodyContainer.addChild(this.steelskinSprite),this.bodyContainer.addChild(this.hipSprite),this.bodyContainer.addChild(this.patchSprite),this.bodyContainer.addChild(this.bodyEffectSprite),this.bodyContainer.addChild(this.handLContainer),this.bodyContainer.addChild(this.handRContainer),this.bodyContainer.addChild(this.helmetSprite),this.container=new m.Container,this.container.addChild(this.bodyContainer),this.nameText=o,this.container.addChild(this.nameText),this.auraContainer=new m.Container,this.auraCircle=s,this.auraContainer.addChild(this.auraCircle),this.initSubmergeSprites,this.bones=[],this.anim={type:d.None,data:{},seq:-1,ticker:0,bones:[]};for(var e=Object.keys(A).length,t=0;t<e;t++)this.bones.push(new P),this.anim.bones.push({weight:0,pose:new P});this.perks=[],this.perkTypes=[],this.perksDirty=!1,this.surface=null,this.wasInWater=!1,this.weapTypeOld="",this.visualsDirty=!1,this.stepDistance=0,this.zoomFast=!1,this.playedDryFire=!1,this.lastSwapIdx=-1,this.cycleSoundInstance=null,this.actionSoundInstance=null,this.useItemEmitter=null,this.windwalkEmitter=null,this.passiveHealEmitter=null,this.downed=!1,this.wasDowned=!1,this.bleedTicker=0,this.submersion=0,this.gunRecoilL=0,this.gunRecoilR=0,this.fireDelay=0,this.throwableState="equip",this.throwableStatePrev=this.throwableState,this.lastThrowablePickupSfxTicker=0,this.isNearDoorError=!1,this.doorErrorTicker=0,this.noCeilingRevealTicker=0,this.frozenTicker=0,this.updateFrozenImage=!0,this.viewAabb={min:w.create(0,0),max:w.create(0,0)},this.auraViewFade=0,this.auraPulseTicker=0,this.auraPulseDir=1,this.renderLayer=0,this.renderZOrd=18,this.renderZIdx=0,this.k=0,this.action={},this.ne={},this.le={},this.rad=p.player.radius,this.bodyRad=this.rad,this.pos=w.create(0,0),this.posOld=w.create(0,0),this.dir=w.create(1,0),this.dirOld=w.create(1,0),this.layer=0}function l{this.Ie=new I.Pool(n),this.oa={},this.playerIds=[],this.teamInfo={},this.groupInfo={},this.playerStatus={},this.anonPlayerNames=!1}for(var c=(function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}),m=a("8b1dfb45"),p=a("989ad62a"),h=p.Action,d=p.Anim,u=p.Input,g=(p.Role,a("300e2704")),y=a("1901e2d9"),w=a("c2a798c8"),f=a("10899aea"),b=a("34e32c48"),_=a("6b42806d"),x=a("6bad552e"),S=a("6d494b5c"),v=a("ce29f17f"),z=(a("af8ba00f"),a("f398b7c7")),k=a("26be8056"),I=a("753d6e4b"),T=a("6e43d1d7"),M=a("721a96bf"),C=a("03f4982a"),P=x.Pose,A=x.Bones,O=[],E=[],D=Object.keys(p.scopeZoomRadius.mobile),B=0;B<D.length;B++){var R=D[B];O.push(p.scopeZoomRadius.desktop[R]),E.push(p.scopeZoomRadius.mobile[R])}var L=function{function e{r(this,e),this.gunBarrel=s,this.gunMag=s,this.container=new m.Container,this.container.addChild(this.gunBarrel),this.container.addChild(this.gunMag),this.container.rotation=.5*Math.PI,this.container.visible=!1,this.magTop=!1}return c(e,[{key:"setVisible",value:function(e){this.container.visible=e}},{key:"setType",value:function(e,t){var a=M[e],r=a.worldImg;if(this.gunBarrel.texture=m.Texture.fromImage(r.sprite),this.gunBarrel.anchor.set(.5,1),this.gunBarrel.position.set(0,0),this.gunBarrel.scale.set(.5*r.scale.x/t,.5*r.scale.y/t),this.gunBarrel.tint=r.tint,this.gunBarrel.visible=!0,r.magImg){var i=r.magImg;this.gunMag.texture=m.Texture.fromImage(i.sprite),this.gunMag.anchor.set(.5,.5),this.gunMag.position.set(i.pos.x/t,i.pos.y/t),this.gunMag.scale.set(.25/t,.25/t),this.gunMag.tint=16777215,this.gunMag.visible=!0,i.top?this.container.addChild(this.gunMag):this.container.addChildAt(this.gunMag,0)}else this.gunMag.visible=!1;this.magTop=r.magImg&&r.magImg.top;var o=a.isDual?w.create(-5.95,0):w.create(-4.25,-1.75);r.gunOffset&&(o.x+=r.gunOffset.x,o.y+=r.gunOffset.y),this.container.position.set(o.x,o.y)}}]),e};n.prototype={o:function{this.isNew=!1,this.wasInsideObstacle=!1,this.insideObstacleType="",this.lastInsideObstacleTime=0,this.lastSwapIdx=-1,this.actionSoundInstance=null,this.action={type:h.None,seq:-1,seqOld:-1,item:"",skin:"",targetId:0,time:0,duration:0,throttleCount:0,throttleTicker:0},this.playAnim(d.None,-1),this.ne={pos:w.create(0,0),dir:w.create(1,0),outfit:"",backpack:"",helmet:"",chest:"",curWeapType:"",actionItem:"",layer:0,dead:!1,downed:!1,animType:0,animSeq:0,actionType:0,actionSeq:0,wearingPan:!1,frozen:!1,frozenOri:0,isLarge:!1,windwalk:!1,passiveHeal:!1,role:"",perks:[]},this.le={health:100,boost:0,zoom:0,scope:"",curWeapIdx:0,weapons:[],inventory:[],spectatorCount:0}},n:function{this.container.visible=!1,this.auraContainer.visible=!1,this.useItemEmitter&&(this.useItemEmitter.stop,this.useItemEmitter=null),this.windwalkEmitter&&(this.windwalkEmitter.stop,this.windwalkEmitter=null),this.passiveHealEmitter&&(this.passiveHealEmitter.stop,this.passiveHealEmitter=null)},c:function(e,t,a,r){this.ne.pos=w.copy(e.pos),this.ne.dir=w.copy(e.dir),t&&(this.ne.outfit=e.outfit,this.ne.backpack=e.backpack,this.ne.helmet=e.helmet,this.ne.chest=e.chest,this.ne.curWeapType=e.curWeapType,this.ne.actionItem=e.actionItem,this.ne.layer=e.layer,this.ne.dead=e.dead,this.ne.downed=e.downed,this.ne.animType=e.animType,this.ne.animSeq=e.animSeq,this.ne.actionType=e.actionType,this.ne.actionSeq=e.actionSeq,this.ne.wearingPan=e.wearingPan,this.ne.frozen=e.frozen,this.ne.frozenOri=e.frozenOri,this.ne.isLarge=e.isLarge,this.ne.isSmall=e.isSmall,this.ne.windwalk=e.windwalk,this.ne.passiveHeal=e.passiveHeal,this.ne.role=e.role,!a&&i(this.ne.perks,e.perks)||(this.perksDirty=!0),this.ne.perks=e.perks,e.animSeq!=this.anim.seq&&this.playAnim(e.animType,e.animSeq),this.action.type=e.actionType,this.action.seq=e.actionSeq,this.action.item=e.actionItem,this.visualsDirty=!0),a&&(this.isNew=!0,this.renderLayer=this.ne.layer,this.renderZOrd=18,this.renderZIdx=this.__id)},Qt:function(e,t){var a=this.le.scope;if(e.healthDirty&&(this.le.health=e.health),e.boostDirty&&(this.le.boost=e.boost),e.zoomDirty&&(this.le.zoom=e.zoom,this.zoomFast=!1),e.actionDirty&&(this.action.time=e.action.time,this.action.duration=e.action.duration,this.action.targetId=e.action.targetId),e.inventoryDirty){this.le.scope=e.scope,this.le.inventory={};for(var r in p.bagSizes)p.bagSizes.hasOwnProperty(r)&&(this.le.inventory[r]=e.inventory[r])}if(e.weapsDirty){this.le.curWeapIdx=e.curWeapIdx,this.le.weapons=[];for(var i=0;i<p.WeaponSlot.Count;i++){var o={};o.type=e.weapons[i].type,o.ammo=e.weapons[i].ammo,this.le.weapons.push(o)}}e.spectatorCountDirty&&(this.le.spectatorCount=e.spectatorCount),this.le.scope!=a&&(this.zoomFast=!0)},Ht:function{var e=this.le.zoom;if(v.mobile){var t=O.indexOf(e);-1!==t&&(e=E[t])}return e},sa:function{return this.ne.helmet?M[this.ne.helmet].level:0},na:function{return this.ne.chest?M[this.ne.chest].level:0},la:function{return M[this.ne.backpack].level},ca:function{return M[this.ne.curWeapType].type},ma:function(e){return""!==this.le.weapons[e].type},hasActivePan:function{return this.ne.wearingPan||"pan"==this.ne.curWeapType&&this.currentAnim!=d.Melee},getPanSegment:function{var e=this.ne.wearingPan?"unequipped":"equipped";return M.pan.reflectSurface[e]},pa:function(e,t,a){for(var r=this,i=0;i<this.perks.length;i++)this.perks[i].isNew=!1;if(this.perksDirty){if(e&&!t){for(var o=0;o<this.ne.perks.length;o++)!function(e){var t=r.ne.perks[e];-1===r.perks.findIndex(function(e){return e.type==t.type})&&a.addPerkMessage(t.type)}(o);for(var s=0;s<this.perks.length;s++)!function(e){var t=r.perks[e];-1===r.ne.perks.findIndex(function(e){return e.type==t.type})&&a.removePerkMessage(t.type)}(s)}for(var n=[],l=0;l<this.ne.perks.length;l++)!function(e){var t=r.ne.perks[e],a=-1===r.perks.findIndex(function(e){return e.type==t.type});n.push({type:t.type,droppable:t.droppable,isNew:a&&!r.isNew})}(l);this.perks=n,this.perkTypes=[];for(var c=0;c<this.ne.perks.length;c++)this.perkTypes.push(this.ne.perks[c].type);this.perksDirty=!1}},hasPerk:function(e){return-1!==this.perkTypes.indexOf(e)},m:function(e,t,a,r,i,o,s,n,l,c,m,g,b){var S=M[this.ne.curWeapType],v=this.__id==c,z=t.Me(c);this.posOld=w.copy(this.pos),this.dirOld=w.copy(this.dir),this.pos=w.copy(this.ne.pos),this.dir=w.copy(this.ne.dir),this.layer=this.ne.layer,this.downed=this.ne.downed;var k=this.ne.isLarge?1.25:this.ne.isSmall?.75:1;if(this.rad=k*p.player.radius,!f.eqAbs(this.rad,this.bodyRad)){var I=this.rad-this.bodyRad,T=Math.abs(I)>1e-4?I*e*6:I;this.isNew&&(T=I),this.bodyRad+=T,this.visualsDirty=!0}if(v){var A=s.q(w.create(s.screenWidth,0)),O=w.sub(A,s.pos);this.viewAabb.min=w.sub(s.pos,O),this.viewAabb.max=w.add(s.pos,O)}this.pa(v,b,l);var E=this.weapTypeOld!=this.ne.curWeapType;this.weapTypeOld=this.ne.curWeapType,this.lastThrowablePickupSfxTicker-=e,this.noCeilingRevealTicker-=e;var D=t.me(c).groupId,B=t.me(this.__id),R=B.groupId==D;this.nameText.text=B.name,this.nameText.visible=!v&&R;for(var L=null,F=null,q=a.ye.p,j=0;j<q.length;j++){var N=q[j];if(N.active&&!N.dead&&N.layer==this.ne.layer)if(N.isBush){var H=.25*this.rad;_.intersectCircle(N.collider,this.pos,H)&&(L=N)}else if(N.isDoor&&!N.door.open&&N.door.playErrorFx){var V=this.rad+.25,U=w.rotate(w.create(1,0),N.rot),W=w.sub(N.pos,this.pos);w.dot(W,U)<0&&_.intersectCircle(N.collider,this.pos,V)&&(F=N)}}var G=null!=L;if(G&&(this.insideObstacleType=L.type),this.lastInsideObstacleTime-=e,this.wasInsideObstacle!=G&&this.lastInsideObstacleTime<0&&!this.isNew){var K=C[this.insideObstacleType];this.lastInsideObstacleTime=.2,r.playSound(K.sound.enter,{channel:"sfx",soundPos:this.pos,falloff:1,layer:this.layer,filter:"muffled"});for(var X=w.normalizeSafe(w.sub(this.posOld,this.pos),w.create(1,0)),Z=G?1:-1,Y=Math.floor(y.random(3,5)),J=0;J<Y;J++){var Q=w.mul(w.rotate(w.mul(X,Z),(Math.random-.5)*Math.PI/1.5),y.random(6,8));i.addParticle(K.hitParticle,this.layer,this.pos,Q)}}this.wasInsideObstacle=G;var $=this.isNearDoorError;if(this.isNearDoorError=null!=F,this.doorErrorTicker-=e,this.isNearDoorError&&!$&&this.doorErrorTicker<=0){this.doorErrorTicker=.5;var ee=C[F.type],te=ee.door.sound.error;r.playSound(te,{channel:"sfx",soundPos:this.pos,falloff:1,layer:this.layer,filter:"muffled"})}this.surface=a.getGroundSurface(this.pos,this.layer);var ae="water"==this.surface.type;if(this.updateSubmersion(e,a),this.updateFrozenState(e),this.ne.dead||(this.stepDistance+=w.length(w.sub(this.posOld,this.pos)),this.stepDistance>5&&ae||ae&&!this.wasInWater?(this.stepDistance=0,i.addRippleParticle(this.pos,this.layer,this.surface.data.rippleColor),r.playGroup("footstep_water",{soundPos:this.pos,fallOff:3,layer:this.layer,filter:"muffled"})):this.stepDistance>4&&!ae&&(this.stepDistance=0,r.playGroup("footstep_"+this.surface.type,{soundPos:this.pos,fallOff:3,layer:this.layer,filter:"muffled"})),this.wasInWater=ae),this.bleedTicker-=e,this.ne.downed&&!this.ne.dead&&this.action.type==h.None&&this.bleedTicker<0){this.bleedTicker=p.player.bleedTickRate;var re=w.rotate(w.mul(this.dir,-1),(Math.random-.5)*Math.PI/3);re.y*=-1,i.addParticle("bloodSplat",this.renderLayer,w.create(0,0),w.mul(re,s.ppu),1,Math.random*Math.PI*2,this.container,this.renderZOrd+1),g||r.playSound("player_bullet_hit_02",{channel:"hits",soundPos:this.pos,fallOff:3,layer:this.layer,filter:"muffled"})}if(this.gunSwitchCooldown-=e,this.fireDelay-=e,v&&(E||this.lastSwapIdx!=this.le.curWeapIdx)){var ie=this.lastSwapIdx;this.lastSwapIdx=this.le.curWeapIdx;var oe=M[this.ne.curWeapType];if("melee"==oe.type||"throwable"==oe.type)("throwable"!=oe.type||this.lastThrowablePickupSfxTicker<=0)&&r.playSound(oe.sound.deploy,{channel:"sfx",soundPos:this.pos,fallOff:3});else if("gun"==oe.type){var se="gun_switch_01",ne=!1;if((0==ie||1==ie)&&(0==this.lastSwapIdx||1==this.lastSwapIdx)&&this.fireDelay>0){var le=M[this.le.weapons[ie].type];oe&&le&&void 0!==oe.deployGroup&&void 0!==le.deployGroup&&oe.deployGroup==le.deployGroup&&(ne=!0)}this.gunSwitchCooldown>0||ne?se=oe.sound.deploy:this.gunSwitchCooldown=p.player.freeSwitchCooldown,r.stopSound(this.cycleSoundInstance),this.cycleSoundInstance=r.playSound(se,{channel:"activePlayer"}),this.fireDelay=0}}if(r.isSoundPlaying(this.cycleSoundInstance)||(this.cycleSoundInstance=null),this.action.seq!=this.action.seqOld&&!this.isNew){var ce=!0;v||this.action.type==h.None||(this.action.throttleTicker=.5,this.action.throttleCount<5?this.action.throttleCount++:ce=!1),ce&&this.playActionStartEffect(v,i,r)}if(this.action.seqOld=this.action.seq,this.updateActionEffect(v,B,i,r),this.action.throttleTicker-=e,this.action.throttleTicker<0&&this.action.throttleCount>0&&(this.action.throttleCount--,this.action.throttleTicker=.25),this.ne.windwalk&&!this.windwalkEmitter){this.isNew||r.playSound("ability_stim_01",{channel:"sfx",soundPos:this.pos,fallOff:1,layer:this.layer,filter:"muffled"});var me="stim_01";this.hasPerk("takedown")&&(me="takedown_01"),this.windwalkEmitter=i.addEmitter(me,{pos:this.pos,layer:this.layer})}else!this.ne.windwalk&&this.windwalkEmitter&&(this.windwalkEmitter.stop,this.windwalkEmitter=null);if(this.windwalkEmitter&&(this.windwalkEmitter.pos=w.add(this.pos,w.create(0,.1)),this.windwalkEmitter.layer=this.renderLayer,this.windwalkEmitter.zOrd=this.renderZOrd+1),this.ne.passiveHeal&&!this.passiveHealEmitter?this.passiveHealEmitter=i.addEmitter("heal_01",{pos:this.pos,layer:this.layer}):!this.ne.passiveHeal&&this.passiveHealEmitter&&(this.passiveHealEmitter.stop,this.passiveHealEmitter=null),this.passiveHealEmitter&&(this.passiveHealEmitter.pos=w.add(this.pos,w.create(0,.1)),this.passiveHealEmitter.layer=this.renderLayer,this.passiveHealEmitter.zOrd=this.renderZOrd+1),v&&!b){var pe=this.le.curWeapIdx,he=this.le.weapons[pe],de=M[he.type];if(!this.playedDryFire&&"gun"==this.ca&&(o.isBindPressed(u.Fire)||o.isBindDown(u.Fire)&&"auto"==de.fireMode)&&this.action.type==h.None&&!m&&!de.ammoInfinite){var ue=this.le.inventory[de.ammo],ge=he.ammo;0===ue&&0===ge&&(r.playSound(de.sound.empty),this.playedDryFire=!0)}o.isBindDown(u.Fire)||(this.playedDryFire=!1)}this.gunRecoilL=f.max(0,this.gunRecoilL-this.gunRecoilL*e*5-e),this.gunRecoilR=f.max(0,this.gunRecoilR-this.gunRecoilR*e*5-e);var ye={playerBarn:t,map:a,audioManager:r,particleBarn:i};this.updateAnim(e,ye),this.currentAnim==d.None&&(this.throwableState="equip"),this.currentAnim!=d.Cook&&this.currentAnim!=d.Throw||"throwable"==S.type||this.playAnim(d.None,this.anim.seq);for(var we=this.selectIdlePose,fe=x.IdlePoses[we],be=0;be<this.bones.length;be++){var _e=be,xe=fe[_e]||P.identity,Se=this.anim.bones[_e];Se.weight>0?this.bones[be].copy(P.lerp(Se.weight,xe,Se.pose)):this.bones[be].copy(xe)}this.throwableStatePrev!=this.throwableState&&(this.visualsDirty=!0),this.throwableStatePrev=this.throwableState,this.visualsDirty&&this.ha(t,a),this.visualsDirty=!1,this.ua(e,v,z),this.ga,this.ya(v,z,a),n.addPIXIObj(this.auraContainer,this.renderLayer,this.renderZOrd-1,this.renderZIdx);var ve=2&z.layer||1==(1&z.layer)||0==(1&this.layer);this.auraContainer.visible=!this.ne.dead&&ve,n.addPIXIObj(this.container,this.renderLayer,this.renderZOrd,this.renderZIdx),this.isNew=!1},Wt:function(e,t){var a=e.pointToScreen(this.pos),r=e.pixels(1);this.container.position.set(a.x,a.y),this.container.scale.set(r,r),this.container.visible=!this.ne.dead,this.auraContainer.position.set(a.x,a.y),this.auraContainer.scale.set(r,r)},ya:function(e,t,a){for(var r=_.createCircle(this.pos,p.player.maxVisualRadius),i=!1,o=!1,s=!1,n=a.Et.p,l=0;l<n.length;l++){var c=n[l];if(c.active){for(var m=0;m<c.stairs.length;m++){var h=c.stairs[m],d=_.intersect(h.collision,r);if(d){o=!0;var u=w.add(h.center,w.mul(h.downDir,-2.5)),g=w.sub(u,this.pos),y=w.length(g);g=y>1e-4?w.div(g,y):w.create(1,0),s=S.intersectSegmentDist(a.ye.p,this.pos,g,y,.5,this.layer,!1)<y}e&&h.noCeilingReveal&&d&&0!=this.layer&&(this.noCeilingRevealTicker=.25)}for(var f=0;f<c.mask.length;f++)if(_.intersect(c.mask[f],r)){i=!0;break}}}var b=this.layer,x=18;o&&(1&b&&(1&t.layer||!s)||2&t.layer&&!i)&&(b|=2),!o||(1&b)!=(1&t.layer)||i&&0!=t.layer||(b|=2,x+=100);var v=this.__id+(this.ne.downed?0:262144)+(e?65536:0)+(this.rad>1?131072:0);this.renderLayer=b,this.renderZOrd=x,this.renderZIdx=v},ha:function(e,t){var a=M[this.ne.outfit],r=a.skinImg,i=this.bodyRad/p.player.radius;if(this.bodySprite.texture=m.Texture.fromImage(r.baseSprite),this.bodySprite.tint=a.ghillie?t.getMapDef.biome.colors.playerGhillie:r.baseTint,this.bodySprite.scale.set(.25,.25),this.bodySprite.visible=!0,this.ne.frozen&&this.updateFrozenImage){var o=t.getMapDef.biome.frozenSprites||[];if(o.length>0){var s=o[Math.floor(Math.random*o.length)],n=f.oriToRad(this.ne.frozenOri)+.5*Math.PI+(Math.random-.5)*Math.PI*.25;this.bodyEffectSprite.texture=m.Texture.fromImage(s),this.bodyEffectSprite.rotation=n,this.bodyEffectSprite.tint=16777215,this.bodyEffectSprite.scale.set(.25,.25)}this.updateFrozenImage=!1}if(t.factionMode&&!a.ghillie){var l=e.me(this.__id),c=l.teamId,u=["player-patch-01.img","player-patch-02.img"],g=(c-1)%u.length,y=u[g],w=p.teamColors[g],b=f.oriToRad(3)+.5*Math.PI;this.patchSprite.texture=m.Texture.fromImage(y),this.patchSprite.rotation=b,this.patchSprite.tint=w,this.patchSprite.scale.set(.25,.25),this.patchSprite.visible=!0}else this.patchSprite.visible=!1;var _=function(e,t,a){e.texture=m.Texture.fromImage(t),e.scale.set(.175,.175),e.tint=a,e.visible=!0},x=a.ghillie?t.getMapDef.biome.colors.playerGhillie:r.handTint;_(this.handLSprite,r.handSprite,x),_(this.handRSprite,r.handSprite,x);var S=function(e,t,a){e.texture=m.Texture.fromImage("player-feet-01.img"),e.scale.set(.45,.45),e.rotation=.5*Math.PI,e.tint=t,e.visible=a},v=a.ghillie?t.getMapDef.biome.colors.playerGhillie:r.footTint;if(S(this.footLSprite,v,this.downed),S(this.footRSprite,v,this.downed),""==this.ne.chest||a.ghillie)this.chestSprite.visible=!1;else{var z=M[this.ne.chest],k=z.skinImg;this.chestSprite.texture=m.Texture.fromImage(k.baseSprite),this.chestSprite.scale.set(.25,.25),this.chestSprite.tint=k.baseTint,this.chestSprite.visible=!0}if(this.hasPerk("steelskin")?(this.steelskinSprite.texture=m.Texture.fromImage("loot-melee-pan-black.img"),this.steelskinSprite.scale.set(.4,.4),this.steelskinSprite.anchor.set(.575,.5),this.steelskinSprite.tint=16777215,this.steelskinSprite.visible=!0):this.steelskinSprite.visible=!1,""==this.ne.helmet||a.ghillie)this.helmetSprite.visible=!1;else{var I=M[this.ne.helmet],T=I.skinImg,C=3.33*(this.downed?1:-1);this.helmetSprite.texture=m.Texture.fromImage(T.baseSprite),this.helmetSprite.position.set(C,0),T.spriteScale?this.helmetSprite.scale.set(T.spriteScale,T.spriteScale):this.helmetSprite.scale.set(.15,.15);var P=T.baseTint;t.factionMode&&(P=1==e.me(this.__id).teamId?T.baseTintRed:T.baseTintBlue),this.helmetSprite.tint=P,this.helmetSprite.visible=!0}if(this.la>0&&!a.ghillie&&!this.downed){var A=(M[this.ne.backpack],[10.25,11.5,12.75]),O=this.la,E=A[f.min(O-1,A.length-1)],D=.5*(.4+.03*O);this.backpackSprite.texture=m.Texture.fromImage("player-circle-base-01.img"),this.backpackSprite.position.set(-E,0),this.backpackSprite.scale.set(D,D),this.backpackSprite.tint=r.backpackTint,this.backpackSprite.visible=!0,function(e,t,a){e.texture=m.Texture.fromImage(t),e.tint=a}(this.backpackSprite,r.backpackSprite,r.backpackTint)}else this.backpackSprite.visible=!1;if(this.ne.wearingPan){var B=M.pan.hipImg;this.hipSprite.texture=m.Texture.fromImage(B.sprite),this.hipSprite.position.set(B.pos.x,B.pos.y),this.hipSprite.scale.set(B.scale.x,B.scale.y),this.hipSprite.rotation=B.rot,this.hipSprite.tint=B.tint,this.hipSprite.visible=!0}else this.hipSprite.visible=!1;var R=M[this.ne.curWeapType];if("gun"==R.type){this.gunRSprites.setType(this.ne.curWeapType,i),this.gunRSprites.setVisible(!0),R.isDual?(this.gunLSprites.setType(this.ne.curWeapType,i),this.gunLSprites.setVisible(!0)):this.gunLSprites.setVisible(!1);var L=this.bodyContainer.getChildIndex(this.handRContainer),F=this.bodyContainer.getChildIndex(this.handRContainer),q=L+1;(this.gunRSprites.magTop||R.worldImg.handsBelow)&&(q=L-1),q=f.max(q,0),F!=q&&this.bodyContainer.addChildAt(this.handLContainer,q);var j=this.handRContainer.getChildIndex(this.gunRSprites.container),N=R.worldImg.handsBelow?this.handRContainer.children.length:0;j!=N&&this.handRContainer.addChildAt(this.gunRSprites.container,N)}else this.gunLSprites.setVisible(!1),this.gunRSprites.setVisible(!1);if(this.downed!=this.wasDowned)if(this.wasDowned=this.downed,this.downed){var H=this.bodyContainer.getChildIndex(this.footLContainer);this.bodyContainer.addChildAt(this.handLContainer,H),this.bodyContainer.addChildAt(this.handRContainer,H)}else this.bodyContainer.addChild(this.handLContainer),this.bodyContainer.addChild(this.handRContainer);if("melee"==R.type&&"fists"!=this.ne.curWeapType){var V=R.worldImg;this.meleeSprite.texture=m.Texture.fromImage(V.sprite),this.meleeSprite.pivot.set(-V.pos.x,-V.pos.y),this.meleeSprite.scale.set(V.scale.x/i,V.scale.y/i),this.meleeSprite.rotation=V.rot,this.meleeSprite.tint=V.tint,this.meleeSprite.visible=!0;var U=this.handRContainer.getChildIndex(this.handRSprite),W=f.max(V.renderOnHand?U+1:U-1,0);this.handRContainer.getChildIndex(this.meleeSprite)!=W&&this.handRContainer.addChildAt(this.meleeSprite,W);var G=this.bodyContainer.getChildIndex(this.handRContainer),K=f.max(V.leftHandOntop?G+1:G-1,0);this.bodyContainer.getChildIndex(this.handLContainer)!=K&&this.bodyContainer.addChildAt(this.handLContainer,K)}else this.meleeSprite.visible=!1;if("throwable"==R.type){var X=function(e,t){t.sprite&&"none"!=t.sprite?(e.texture=m.Texture.fromImage(t.sprite),e.position.set(t.pos.x,t.pos.y),e.scale.set(t.scale,t.scale),e.rotation=.5*Math.PI,e.visible=!0):e.visible=!1},Z=R.handImg[this.throwableState];X(this.objectLSprite,Z.left),X(this.objectRSprite,Z.right)}else this.objectLSprite.visible=!1,this.objectRSprite.visible=!1;if((this.downed||this.currentAnim==d.Revive)&&(this.gunLSprites.setVisible(!1),this.gunRSprites.setVisible(!1),this.meleeSprite.visible=!1,this.objectLSprite.visible=!1,this.objectRSprite.visible=!1),this.downed&&(this.backpackSprite.visible=!1),this.action.type!=h.UseItem&&this.action.type!=h.Revive||this.ne.dead||this.ne.downed||!this.hasPerk("aoe_heal"))this.auraPulseTicker=0,this.auraPulseDir=1,this.auraCircle.visible=!1;else{var Y=M[this.action.item],J=Y&&Y.aura?Y.aura.sprite:"part-aura-circle-01.img",Q=Y&&Y.aura?Y.aura.tint:16711935,$=Y?p.player.medicHealRange:p.player.medicReviveRange;$*=.125,this.auraCircle.texture=m.Texture.fromImage(J),this.auraCircle.scale.set($,$),this.auraCircle.tint=Q,this.auraCircle.visible=!0}this.bodyContainer.scale.set(i,i)},ua:function(e,t,a){var r=!0;if(t||(r=b.testCircleAabb(this.pos,this.rad,a.viewAabb.min,a.viewAabb.max)),this.auraViewFade=f.lerp(6*e,this.auraViewFade,r?1:0),this.auraCircle.visible){this.auraPulseTicker=f.clamp(this.auraPulseTicker+e*this.auraPulseDir*1.5,0,1);var i=.75*f.easeOutExpo(this.auraPulseTicker)+.25;(this.auraPulseTicker>=1||this.auraPulseTicker<=0)&&(this.auraPulseDir*=-1),this.auraCircle.alpha=i*this.auraViewFade}},ga:function{var e=function(e,t){e.position.set(t.pos.x,t.pos.y),e.pivot.set(-t.pivot.x,-t.pivot.y),e.rotation=t.rot};e(this.handLContainer,this.bones[A.HandL]),e(this.handRContainer,this.bones[A.HandR]),e(this.footLContainer,this.bones[A.FootL]),e(this.footRContainer,this.bones[A.FootR]);var t=M[this.ne.curWeapType];this.downed||this.currentAnim==d.Revive||"gun"!=t.type||t.worldImg.leftHandOffset&&(this.handLContainer.position.x+=t.worldImg.leftHandOffset.x,this.handLContainer.position.y+=t.worldImg.leftHandOffset.y),this.handLContainer.position.x-=1.125*this.gunRecoilL,this.handRContainer.position.x-=1.125*this.gunRecoilR,this.bodyContainer.rotation=-Math.atan2(this.dir.y,this.dir.x)},playActionStartEffect:function(e,t,a){var r=null;switch(this.action.type){case h.Reload:case h.ReloadAlt:var i=M[this.action.item];i&&(r={sound:this.action.type==h.ReloadAlt?i.sound.reloadAlt:i.sound.reload,channel:e?"activePlayer":"otherPlayers"});break;case h.UseItem:var o=M[this.action.item];o&&(r={sound:o.sound.use,channel:e?"activePlayer":"otherPlayers"})}if(a.stopSound(this.actionSoundInstance),r&&(this.actionSoundInstance=a.playSound(r.sound,{channel:r.channel,soundPos:this.pos,fallOff:2,layer:this.layer,filter:"muffled"})),this.action.type==h.Reload||this.action.type==h.ReloadAlt){var s=M[this.action.item];if(s&&"reload"==s.caseTiming)for(var n=0;n<s.maxReload;n++){var l=n%2==0?-1:1,c=Math.PI+Math.PI/4*l,m=s.maxReload<=2?1:f.lerp(Math.random,.8,1.2);T.createCasingParticle(this.action.item,c,m,this.pos,this.dir,this.renderLayer,this.renderZOrd+1,t)}}},updateActionEffect:function(e,t,a,r){var i="",o={};switch(this.action.type){case h.UseItem:var s=M[this.action.item],n=t.loadout;"heal"==s.type?i=M[n.heal].emitter:"boost"==s.type&&(i=M[n.boost].emitter),this.hasPerk("aoe_heal")&&(o.scale=1.5,o.radius=p.player.medicHealRange/o.scale,o.rateMult=.25);break;case h.Revive:this.ne.downed&&(i="revive_01")}!i||this.useItemEmitter&&this.useItemEmitter.type==i||(this.useItemEmitter&&this.useItemEmitter.stop,o.pos=this.pos,o.layer=this.layer,this.useItemEmitter=a.addEmitter(i,o)),this.useItemEmitter&&(this.useItemEmitter.pos=w.add(this.pos,w.create(0,.1)),this.useItemEmitter.layer=this.renderLayer,this.useItemEmitter.zOrd=this.renderZOrd+1),this.useItemEmitter&&!i&&(this.useItemEmitter.stop,this.useItemEmitter=null),r.isSoundPlaying(this.actionSoundInstance)||(this.actionSoundInstance=null),this.actionSoundInstance&&!e&&r.updateSound(this.actionSoundInstance,"otherPlayers",this.pos,{layer:this.layer,fallOff:2,filter:"muffled"})},playItemPickupSound:function(e,t){var a=M[e];a&&(t.playSound(a.sound.pickup,{channel:"ui"}),"throwable"==a.type&&(this.lastThrowablePickupSfxTicker=.3))},selectIdlePose:function{var e=M[this.ne.curWeapType],t="fists";return t=this.downed?"downed":e.anim&&e.anim.idlePose?e.anim.idlePose:"gun"==e.type?e.pistol?e.isDual?"dualPistol":"pistol":e.isBullpup?"bullpup":e.isLauncher?"launcher":e.isDual?"dualRifle":"rifle":"throwable"==e.type?"throwable":"fists",x.IdlePoses[t]?t:"fists"},selectAnim:function(e){var t=function(e,t){return{type:e,mirror:!!t&&Math.random<.5}};switch(e){case d.None:return t("none",!1);case d.Cook:return t("cook",!1);case d.Throw:return t("throw",!1);case d.Revive:return t("revive",!1);case d.CrawlForward:return t("crawl_forward",!0);case d.CrawlBackward:return t("crawl_backward",!0);case d.Melee:var a=M[this.ne.curWeapType];if(!a.anim||!a.anim.attackAnims)return t("fists",!0);var r=a.anim.attackAnims,i=Math.floor(Math.random*r.length),o=r[i];return t(o,"fists"==o&&1==r.length);default:return t("none",!1)}},currentAnim:function{return this.anim.type},playAnim:function(e,t){this.anim.type=e,this.anim.data=this.selectAnim(e),this.anim.seq=t,this.anim.ticker=0;for(var a=0;a<this.bones.length;a++){var r=this.anim.bones[a];r.weight=0,r.pose.copy(this.bones[a])}},updateAnim:function(e,t){if("none"==this.anim.data.type&&this.playAnim(d.None,this.anim.seq),this.currentAnim!=d.None){var a=this.anim.ticker;this.anim.ticker+=1*e;for(var r=x.Animations[this.anim.data.type],i=r.keyframes,o=-1,s=0;this.anim.ticker>=i[s].time&&s<i.length-1;)o++,s++;o=f.max(o,0);for(var n=i[o].time,l=i[s].time,c=f.min((this.anim.ticker-n)/(l-n),1),m=i[o].bones,p=i[s].bones,h=this.anim.data.mirror,u=0;u<this.anim.bones.length;u++){var g=this.anim.bones[u],y=u;h&&(y=u%2==0?u+1:u-1),void 0!==m[y]&&void 0!==p[y]&&(g.weight=o==s?c:1,g.pose.copy(P.lerp(c,m[y],p[y])),h&&(g.pose.pos.y*=-1,g.pose.pivot.y*=-1,g.pose.rot*=-1))}var w=s==i.length-1&&f.eqAbs(c,1),b=this.anim.ticker;w&&(b+=1);for(var _=0;_<r.effects.length;_++){var S=r.effects[_];S.time>=a&&S.time<b&&this[S.fn].apply(this,[t,S.args])}w&&this.playAnim(d.None,this.anim.seq)}},animPlaySound:function(e,t){var a=M[this.ne.curWeapType],r=a.sound[t.sound];r&&e.audioManager.playSound(r,{channel:"sfx",soundPos:this.pos,fallOff:3,layer:this.layer,filter:"muffled"})},animSetThrowableState:function(e,t){this.throwableState=t.state},animThrowableParticles:function(e,t){if(M[this.ne.curWeapType].useThrowParticles){var a=w.rotate(w.create(.75,.75),Math.atan2(this.dir.y,this.dir.x));e.particleBarn.addParticle("fragPin",this.renderLayer,w.add(this.pos,a),w.mul(w.rotate(this.dir,.5*Math.PI),4.5),1,Math.random*Math.PI*2,null,this.renderZOrd+1);var r=w.rotate(w.create(.75,-.75),Math.atan2(this.dir.y,this.dir.x));e.particleBarn.addParticle("fragLever",this.renderLayer,w.add(this.pos,r),w.mul(w.rotate(this.dir,.25*-Math.PI),3.5),1,Math.random*Math.PI*2,null,this.renderZOrd+1)}},animMeleeCollision:function(e,t){var a=M[this.ne.curWeapType];if(a&&"melee"==a.type){for(var r=Math.atan2(this.dir.y,this.dir.x),i=w.add(this.pos,w.rotate(a.attack.offset,r)),o=a.attack.rad,s=o+w.length(a.attack.offset),n=[],l=e.map.ye.p,c=0;c<l.length;c++){var m=l[c];if(!(!m.active||m.dead||m.height<p.player.meleeHeight)&&y.sameLayer(m.layer,1&this.layer)){var h=_.intersectCircle(m.collider,i,o);if(a.cleave||a.wallCheck){var d=w.normalizeSafe(w.sub(m.pos,this.pos),w.create(1,0)),u=S.intersectSegment(e.map.ye.p,this.pos,d,s,1,this.layer,!1);u&&u.id!==m.__id&&(h=null)}if(h){var g=C[m.type],x=w.add(i,w.mul(w.neg(h.dir),o-h.pen)),v=w.rotate(w.mul(h.dir,7.5),(Math.random-.5)*Math.PI/3);n.push({pen:h.pen,prio:1,pos:x,vel:v,layer:this.renderLayer,zOrd:this.renderZOrd,particle:g.hitParticle,sound:g.sound.punch,soundFn:"playGroup"})}}}for(var z=e.playerBarn.me(this.__id).teamId,k=e.playerBarn.Ie.p,I=0;I<k.length;I++){var T=k[I];if(T.active&&T.__id!=this.__id&&!T.ne.dead&&y.sameLayer(T.layer,this.layer)){var P=w.normalizeSafe(w.sub(T.pos,this.pos),w.create(1,0)),A=b.intersectCircleCircle(i,o,T.pos,T.rad);if(A&&f.eqAbs(s,S.intersectSegmentDist(e.map.ye.p,this.pos,P,s,p.player.meleeHeight,this.layer,!1))){var O=e.playerBarn.me(T.__id).teamId,E=w.rotate(P,(Math.random-.5)*Math.PI/3),D=a.sound[t.playerHit]||a.sound.playerHit;n.push({pen:A.pen,prio:O==z?2:0,pos:w.copy(T.pos),vel:E,layer:T.renderLayer,zOrd:T.renderZOrd,particle:"bloodSplat",sound:D,soundFn:"playSound"})}}}n.sort(function(e,t){return e.prio==t.prio?t.pen-e.pen:e.prio-t.prio});var B=n.length;a.cleave||(B=f.min(B,1));for(var R=0;R<B;R++){var L=n[R];e.particleBarn.addParticle(L.particle,L.layer,L.pos,L.vel,1,Math.random*Math.PI*2,null,L.zOrd+1),e.audioManager[L.soundFn](L.sound,{channel:"hits",soundPos:L.pos,layer:this.layer,filter:"muffled"})}}},initSubmergeSprites:function{var e=function(e,t){e.texture=m.Texture.fromImage(t),e.anchor.set(.5,.5),e.tint=16777215,e.alpha=0,e.visible=!1};e(this.bodySubmergeSprite,"player-wading-01.img"),e(this.handLSubmergeSprite,"player-hands-01.img"),e(this.handRSubmergeSprite,"player-hands-01.img"),e(this.footLSubmergeSprite,"player-feet-01.img"),e(this.footRSubmergeSprite,"player-feet-01.img");var t=new m.Graphics;t.beginFill(16711680,.5),t.drawCircle(0,0,76*.1),t.position.set(0,0),this.bodySubmergeSprite.addChild(t),this.bodySubmergeSprite.mask=t,this.bodySubmergeSprite.scale.set(.5,.5)},updateSubmersion:function(e,t){var a="water"==this.surface.type,r=0;if(a){var i=this.surface.data.river,o=i&&!t.isInOcean(this.pos),s=o?i.distanceToShore(this.pos):t.distanceToShore(this.pos),n=o?12:16;r=f.remap(s,0,n,.6,1)}this.submersion=f.lerp(4*e,this.submersion,r);var l=.8*this.submersion,c=2*(.9-.4*this.submersion),m=1/(.1*c);this.bodySubmergeSprite.scale.set(c,c),this.bodySubmergeSprite.mask.scale.set(m,m),this.bodySubmergeSprite.alpha=l,this.bodySubmergeSprite.visible=l>.001,a&&(this.bodySubmergeSprite.tint=this.surface.data.waterColor);for(var p=[this.handLSubmergeSprite,this.handRSubmergeSprite,this.footLSubmergeSprite,this.footRSubmergeSprite],h=0;h<p.length;h++){var d=p[h];d.alpha=this.downed?l:0,d.visible=d.alpha>.001,a&&(d.tint=this.surface.data.waterColor)}},updateFrozenState:function(e){this.ne.frozen?this.frozenTicker=.25:(this.frozenTicker-=e,this.updateFrozenImage=!0),this.bodyEffectSprite.alpha=this.ne.frozen?1:f.remap(this.frozenTicker,0,.25,0,1),this.bodyEffectSprite.visible=this.frozenTicker>0},addRecoil:function(e,t,a){t&&(this.gunRecoilL+=e),a&&(this.gunRecoilR+=e)},isUnderground:function(e){if(1!=this.layer)return!1;for(var t=e.Et.p,a=0;a<t.length;a++){var r=t[a];if(!(r.layers.length<2)){var i=r.layers[1];if(_.intersectCircle(i.collision,this.pos,this.rad))return i.underground}}return!0}},l.prototype={onMapLoad:function(e){},m:function(e,t,a,r,i,o,s,n,l,c,m,p,h){for(var d=this.Ie.p,u=0;u<d.length;u++){var y=d[u];y.active&&y.m(e,this,s,l,i,n,o,r,c,t,m,p,h)}var b=this.me(t),_=this.Me(t);this.wa(t,{pos:w.copy(_.ne.pos),health:_.le.health,disconnected:!1,dead:_.ne.dead,downed:_.ne.downed,role:_.ne.role,visible:!0});for(var x=g.getPlayerStatusUpdateRate(s.factionMode),S=Object.keys(this.playerStatus),v=0;v<S.length;v++){var z=this.playerStatus[S[v]],k=z.playerId,I=this.me(k),T=this.Me(k);T?(z.posDelta=w.length(w.sub(T.ne.pos,z.pos)),z.posTarget=w.copy(T.ne.pos),z.posInterp=f.clamp(z.posInterp+.2*e,e/x,1),z.dead=T.ne.dead,z.downed=T.ne.downed):z.posInterp=e/x;var M=w.sub(z.posTarget,z.pos),C=w.length(M),P=C>1e-4?w.div(M,C):w.create(1,0),A=f.min(C,z.posDelta*z.posInterp);z.pos=w.add(z.pos,w.mul(P,A)),z.timeSinceVisible+=e,z.timeSinceUpdate+=e;var O=!z.dead||I.teamId!=b.teamId&&"leader"!=z.role?0:.6;z.minimapAlpha=f.smoothstep(z.timeSinceVisible,0,.1)*f.lerp(f.smoothstep(z.timeSinceUpdate,2,2.5),1,O),s.factionMode||I.teamId==b.teamId||(z.minimapAlpha=0),z.minimapVisible=z.minimapAlpha>.01}},render:function(e,t){for(var a=this.Ie.p,r=0;r<a.length;r++){var i=a[r];i.active&&i.Wt(e,t)}},Me:function(e){for(var t=this.Ie.p,a=0;a<t.length;a++){var r=t[a];if(r.active&&r.__id===e)return r}return null},Kt:function(e){this.oa[e.playerId]={playerId:e.playerId,teamId:e.teamId,groupId:e.groupId,name:e.name,nameTruncated:k.truncateString(e.name||"","bold 16px arial",180),anonName:"Player"+(e.playerId-2750),loadout:y.cloneDeep(e.loadout)},this.playerIds.push(e.playerId),this.playerIds.sort(function(e,t){return e-t})},Xt:function(e){var t=this.playerIds.indexOf(e);-1!==t&&this.playerIds.splice(t,1),delete this.oa[e],delete this.playerStatus[e]},me:function(e){return this.oa[e]||{playerId:0,group:0,teamId:0,name:"",nameTruncated:"",anonName:"",loadout:{}}},Zt:function{this.teamInfo={},this.groupInfo={};for(var e=Object.keys(this.oa),t=0;t<e.length;t++){var a=this.oa[e[t]],r=a.playerId,i=a.teamId;this.teamInfo[i]=this.teamInfo[i]||{teamId:i,playerIds:[]},this.teamInfo[i].playerIds.push(r);var o=a.groupId;this.groupInfo[o]=this.groupInfo[o]||{groupId:o,playerIds:[]},this.groupInfo[o].playerIds.push(r)}for(var s=Object.keys(this.teamInfo),n=0;n<s.length;n++)this.teamInfo[s[n]].playerIds.sort(function(e,t){return e-t});for(var l=Object.keys(this.groupInfo),c=0;c<l.length;c++)this.groupInfo[l[c]].playerIds.sort(function(e,t){return e-t})},getTeamInfo:function(e){return this.teamInfo[e]},getGroupInfo:function(e){return this.groupInfo[e]},Yt:function(e,t,a){var r=this.getTeamInfo(e),i=a?this.playerIds:r.playerIds;if(i.length!=t.players.length)return void z.logError("PlayerIds and playerStatus.players out of sync. OurLen: "+i.length+" MsgLen: "+t.players.length+" FactionMode: "+a);for(var o=0;o<i.length;o++){var s=i[o],n=t.players[o];n.hasData&&this.wa(s,n)}},wa:function(e,t){var a=this.playerStatus[e]||{playerId:e,pos:w.copy(t.pos),posTarget:w.copy(t.pos),posDelta:w.create(0,0),health:100,posInterp:0,visible:!1,dead:!1,downed:!1,disconnected:!1,role:"",timeSinceUpdate:0,timeSinceVisible:0,minimapAlpha:0,minimapVisible:!1};a.visible,a.minimapVisible||(a.pos=w.copy(t.pos),!a.visible&&t.visible&&(a.timeSinceVisible=0)),a.visible=t.visible,a.visible&&(a.timeSinceUpdate=0),a.posTarget=w.copy(t.pos),a.posDelta=w.length(w.sub(t.pos,a.pos)),a.dead=t.dead,a.downed=t.downed,a.role=t.role,void 0!==t.health&&(a.health=t.health),void 0!==t.disconnected&&(a.disconnected=t.disconnected),this.playerStatus[e]=a},pe:function(e){return this.playerStatus[e]},Jt:function(e,t){var a=this.getGroupInfo(e);if(a.playerIds.length!=t.players.length)return void z.logError("PlayerIds and groupStatus.players out of sync");for(var r=0;r<a.playerIds.length;r++){var i=a.playerIds[r],o=t.players[r],s=this.pe(i);s&&(s.health=o.health,s.disconnected=o.disconnected)}},getGroupColor:function(e){var t=this.me(e),a=this.getGroupInfo(t.groupId),r=a?a.playerIds.indexOf(e):0;return r>=0&&r<p.groupColors.length?p.groupColors[r]:16777215},getTeamColor:function(e){var t=e-1;return t>=0&&t<p.teamColors.length?p.teamColors[t]:16777215},getPlayerName:function(e,t,a){var r=this.me(e);if(!r)return"";var i=r.name;return a&&(i=r.nameTruncated),this.anonPlayerNames&&this.me(t).groupId!=r.groupId&&(i=r.anonName),i}},e.exports={lt:l}},a68e9107:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,a){"function"==typeof t&&(a=t,t=null);var r={url:n.resolveUrl(e),type:"POST",timeout:1e4,headers:{"X-Requested-With":"XMLHttpRequest"}};t&&(r.contentType="application/json; charset=utf-8",r.data=JSON.stringify(t)),s.ajax(r).done(function(e,t){a(null,e)}).fail(function(e){a(e)})}var o=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},s=a("8ee62bea"),n=a("259eae5b"),l=a("26be8056"),c=a("f398b7c7"),m=a("0503bedc"),p=function{function e(t){var a=this;r(this,e),this.config=t,this.events={},this.requestsInFlight=0,this.loggingIn=!1,this.loggedIn=!1,this.profile={},this.loadout=m.defaultLoadout,this.loadoutPriv="",this.items=[],window.loadProfile=function{a.loadProfile},window.deleteAccount=function{a.config.set("profile",null),a.config.set("sessionCookie",null),a.ajaxRequest("/api/user/delete",function(e,t){if(e)return c.storeGeneric("account","delete_error"),void a.emit("error","server_error");window.location.reload})},window.deleteItems=function{a.ajaxRequest("/api/user/delete_items",{},function(e,t){a.loadProfile})},window.unlock=function(e){console.log("Unlocking "+e),a.unlock(e)}}return o(e,[{key:"ajaxRequest",value:function(e,t,a){var r=this;"function"==typeof t&&(a=t,t=null),this.requestsInFlight++,this.emit("request",this),i(e,t,function(e,t){a(e,t),r.requestsInFlight--,r.emit("request",r),0==r.requestsInFlight&&r.emit("requestsComplete")})}},{key:"addEventListener",value:function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}},{key:"removeEventListener",value:function(e,t){for(var a=this.events[e]||[],r=a.length-1;r>=0;r--)a[r]==t&&a.splice(r,1)}},{key:"emit",value:function(e,t){for(var a=(this.events[e]||[]).slice(0),r=0;r<a.length;r++)a[r](t)}},{key:"init",value:function{this.config.get("sessionCookie")&&this.setSessionCookies,l.getCookie("app-data")&&this.loadProfile}},{key:"setSessionCookies",value:function{this.clearSessionCookies,document.cookie=this.config.get("sessionCookie"),document.cookie="app-data="+Date.now}},{key:"clearSessionCookies",value:function{document.cookie="app-sid=;expires=Thu, 01 Jan 1970 00:00:01 GMT;",document.cookie="app-data=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"}},{key:"loginWithAccessToken",value:function(e,t,a){var r=this;t(function(t,i){if(t)return void r.emit("error","login_failed");var o=a(i);r.ajaxRequest(e+"?access_token="+o,function(e,t){e?r.emit("error","login_failed"):(r.config.set("sessionCookie",t.cookie),r.setSessionCookies,r.loadProfile)})})}},{key:"loadProfile",value:function{var e=this;l.getCookie("app-data")&&(this.loggingIn=!this.loggedIn,this.ajaxRequest("/api/user/profile",function(t,a){var r=e.loggingIn;if(e.loggingIn=!1,e.loggedIn=!1,e.profile={},e.loadout=m.defaultLoadout,e.loadoutPriv="",e.items=[],t)c.storeGeneric("account","load_profile_error");else if(a.banned)e.emit("error","account_banned");else if(a.success){e.loggedIn=!0,e.profile=a.profile,e.loadout=a.loadout,e.loadoutPriv=a.loadoutPriv,e.items=a.items;var i=e.config.get("profile")||{};i.slug=a.profile.slug,e.config.set("profile",i)}e.loggedIn||e.config.set("sessionCookie",null),r&&e.loggedIn&&e.emit("login",e),e.emit("loadout",e.loadout),e.emit("items",e.items)}))}},{key:"logout",value:function{this.config.set("profile",null),this.config.set("sessionCookie",null),this.ajaxRequest("/api/user/logout",function(e,t){window.location.reload})}},{key:"resetStats",value:function{var e=this;this.ajaxRequest("/api/user/reset_stats",function(t,a){if(t)return c.storeGeneric("account","reset_stats_error"),void e.emit("error","server_error")})}},{key:"setUsername",value:function(e,t){var a=this;this.ajaxRequest("/api/user/username",{username:e},function(e,r){if(e)return c.storeGeneric("account","set_username_error"),void t(e);"success"==r.result?(a.loadProfile,t):t(r.result)})}},{key:"setLoadout",value:function(e){var t=this,a=this.loadout;this.loadout=e,this.emit("loadout",this.loadout),this.ajaxRequest("/api/user/loadout",{loadout:e},function(e,r){e&&(c.storeGeneric("account","set_loadout_error"),t.emit("error","server_error")),e||!r.loadout?t.loadout=a:(t.loadout=r.loadout,t.loadoutPriv=r.loadoutPriv),t.emit("loadout",t.loadout)})}},{key:"setItemStatus",value:function(e,t){var a=this;if(0!=t.length){for(var r=0;r<t.length;r++)!function(r){var i=a.items.find(function(e){return e.type==t[r]});i&&(i.status=Math.max(i.status,e))}(r);this.emit("items",this.items),this.ajaxRequest("/api/user/set_item_status",{status:e,itemTypes:t},function(e,t){e&&c.storeGeneric("account","set_item_status_error")})}}},{key:"unlock",value:function(e){var t=this;this.ajaxRequest("/api/user/unlock",{unlockType:e},function(e,a){if(e||!a.success)return c.storeGeneric("account","unlock_error"),void t.emit("error","server_error");t.items=a.items,t.emit("items",t.items)})}}]),e};e.exports=p},a7f094a3:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("8b1dfb45"),s=a("989ad62a"),n=s.GasMode,l=a("10899aea"),c=a("c2a798c8"),m=a("26be8056"),p=1e5,h=512,d=function{function e(t,a){if(r(this,e),this.gasColorDOMString="",this.display=null,this.canvas=null,t)this.canvas=document.createElement("canvas"),this.canvas.width=window.innerWidth,this.canvas.height=window.innerHeight,this.display=new o.Sprite(o.Texture.fromCanvas(this.canvas)),this.gasColorDOMString=m.colorToDOMString(a,.6);else{this.display=new o.Graphics;var i=this.display;i.clear,i.beginFill(a,.6),i.moveTo(-p,-p),i.lineTo(p,-p),i.lineTo(p,p),i.lineTo(-p,p),i.closePath,i.moveTo(0,1);for(var s=1;s<h;s++){var n=s/h,l=Math.sin(2*Math.PI*n),c=Math.cos(2*Math.PI*n);i.lineTo(l,c)}i.closePath,i.addHole}this.display.visible=!1}return i(e,[{key:"free",value:function{this.display.destroy(!0)}},{key:"resize",value:function{null!=this.canvas&&(this.canvas.width=window.innerWidth,this.canvas.height=window.innerHeight,this.display.texture.update)}},{key:"render",value:function(e,t,a){if(null!=this.canvas){var r=this.canvas,i=r.getContext("2d");i.clearRect(0,0,r.width,r.height),i.beginPath,i.fillStyle=this.gasColorDOMString,i.rect(0,0,r.width,r.height),i.arc(e.x,e.y,t,0,2*Math.PI,!0),i.fill}else{var o=c.copy(e),s=t;s<.1&&(s=1,o.x+=.5*p);var n=this.display;n.position.set(o.x,o.y),n.scale.set(s,s)}this.display.visible=a}}]),e},u=function{function e{r(this,e),this.display=new o.Container,this.circleGfx=new o.Graphics,this.lineGfx=new o.Graphics,this.display.addChild(this.circleGfx),this.display.addChild(this.lineGfx),this.circleGfx.visible=!1,this.lineGfx.visible=!1,this.safePos=c.create(0,0),this.safeRad=0,this.playerPos=c.create(0,0)}return i(e,[{key:"render",value:function(e,t,a,r,i){if(this.circleGfx.visible=r,this.lineGfx.visible=i,r||i){var o=!c.eq(this.safePos,e,1e-4),s=Math.abs(this.safeRad-t)>1e-4,n=!c.eq(this.playerPos,a,1e-4);if(o&&(this.safePos.x=e.x,this.safePos.y=e.y),s&&(this.safeRad=t),n&&(this.playerPos.x=a.x,this.playerPos.y=a.y),o&&this.circleGfx.position.set(this.safePos.x,this.safePos.y),s&&(this.circleGfx.clear,this.circleGfx.lineStyle(1.5,16777215),this.circleGfx.drawCircle(0,0,t)),o||s||n){var l=c.length(c.sub(a,e))<t,m=l?.5:1;this.lineGfx.clear,this.lineGfx.lineStyle(2,65280,m),this.lineGfx.moveTo(a.x,a.y),this.lineGfx.lineTo(e.x,e.y)}}}}]),e},g=function{function e(t){r(this,e);var a=1024*(Math.sqrt(2)+.01);this.mode=n.Inactive,this.circleT=0,this.duration=0,this.circleOld={pos:c.create(0,0),rad:a},this.circleNew={pos:c.create(0,0),rad:a},this.gasRenderer=new d(t,16711680)}return i(e,[{key:"free",value:function{this.gasRenderer.free}},{key:"resize",value:function{this.gasRenderer.resize}},{key:"isActive",value:function{return this.mode!=n.Inactive}},{key:"getCircle",value:function{var e=this.mode==n.Moving?this.circleT:0;return{pos:c.lerp(e,this.circleOld.pos,this.circleNew.pos),rad:l.lerp(e,this.circleOld.rad,this.circleNew.rad)}}},{key:"setProgress",value:function(e){this.circleT=e}},{key:"setFullState",value:function(e,t,a,r){if(t.mode!=this.mode){var i=Math.ceil(t.duration*(1-e));r.setWaitingForPlayers(!1),r.displayGasAnnouncement(t.mode,i)}this.mode=t.mode,this.duration=t.duration,this.circleT=e,this.circleOld.pos=c.copy(t.posOld),this.circleOld.rad=t.radOld,this.circleNew.pos=c.copy(t.posNew),this.circleNew.rad=t.radNew}},{key:"render",value:function(e){var t=this.getCircle,a=e.pointToScreen(t.pos),r=e.scaleToScreen(t.rad);this.gasRenderer.render(a,r,this.isActive)}}]),e};e.exports={GasRenderer:d,GasSafeZoneRenderer:u,kt:g}},aaf70d05:function(e,t){e.exports={shared:,loadout:,snow:,faction:,desert:,gradient:,savannah:,main:,potato:,woods:,halloween:}},ad1c4e70:function(e,t,a){"use strict";var r={mp5:{name:"MP5",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2,fireDelay:.09,switchDelay:.75,barrelLength:2.625,barrelOffset:0,recoilTime:1e10,moveSpread:4,shotSpread:3,bulletCount:1,bulletType:"bullet_mp5",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-mp5.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.49},tint:1184274,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.375},sound:{shoot:"mp5_01",reload:"mp5_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"mp5_switch_01"}},mac10:{name:"MAC-10",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:96,maxClip:32,maxReload:32,extendedClip:50,extendedReload:50,reloadTime:1.8,fireDelay:.045,switchDelay:.75,barrelLength:2.45,barrelOffset:0,recoilTime:1e10,moveSpread:11,shotSpread:10,bulletCount:1,bulletType:"bullet_mac10",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-mac10.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.44},tint:3684408,leftHandOffset:{x:1.4,y:0},recoil:1},particle:{shellScale:1,shellOffset:.35},sound:{shoot:"mac10_01",reload:"mac10_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"mac10_switch_01"}},ump9:{name:"UMP9",type:"gun",quality:0,fireMode:"burst",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:1.9,fireDelay:.35,burstDelay:.07,switchDelay:.75,barrelLength:2.7,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1.5,bulletCount:1,burstCount:3,bulletType:"bullet_ump9",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-ump9.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.515},tint:1184274,leftHandOffset:{x:5.6,y:0},recoil:1},particle:{shellScale:1,shellOffset:.4},sound:{shoot:"ump9_01",reload:"ump9_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"ump9_switch_01"}},vector:{name:"Vector",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:99,maxClip:33,maxReload:33,extendedClip:40,extendedReload:40,reloadTime:1.6,fireDelay:.038,switchDelay:.75,barrelLength:2.5,barrelOffset:0,recoilTime:1e10,moveSpread:4.5,shotSpread:2.5,bulletCount:1,bulletType:"bullet_vector",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-vector.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.5},tint:9009504,leftHandOffset:{x:7,y:0},recoil:.89},particle:{shellScale:1,shellOffset:.4},sound:{shoot:"vector_01",reload:"vector_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"vector_switch_01"}},vector45:{name:"Vector",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"45acp",ammoSpawnCount:75,maxClip:25,maxReload:25,extendedClip:32,extendedReload:32,reloadTime:1.6,fireDelay:.044,switchDelay:.75,barrelLength:2.5,barrelOffset:0,recoilTime:1e10,moveSpread:6.5,shotSpread:4.5,bulletCount:1,bulletType:"bullet_vector45",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-vector45.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.5},tint:9009504,leftHandOffset:{x:7,y:0},recoil:.89},particle:{shellScale:1.2,shellOffset:.4},sound:{shoot:"vector_02",reload:"vector_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"vector_switch_01"}},scorpion:{name:"CZ-3A1",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2.2,fireDelay:.055,switchDelay:.75,barrelLength:3.6,barrelOffset:0,recoilTime:1e10,moveSpread:5,shotSpread:4,bulletCount:1,bulletType:"bullet_scorpion",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-scorpion.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-scorpion-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:8,y:0},recoil:1},particle:{shellScale:1,shellOffset:.375},sound:{shoot:"scorpion_01",reload:"scorpion_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"scorpion_switch_01"}},vss:{name:"VSS",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:60,maxClip:20,maxReload:20,extendedClip:30,extendedReload:30,reloadTime:2.3,fireDelay:.16,switchDelay:.75,barrelLength:3.7,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:2,bulletCount:1,bulletType:"bullet_vss",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-vss.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-vss-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:9,y:0},recoil:1},particle:{shellScale:1,shellOffset:.375},sound:{shoot:"vss_01",reload:"vss_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"vss_switch_01"}},famas:{name:"FAMAS",type:"gun",quality:0,fireMode:"burst",caseTiming:"shoot",isBullpup:!0,ammo:"556mm",ammoSpawnCount:75,maxClip:25,maxReload:25,extendedClip:35,extendedReload:35,reloadTime:2.3,fireDelay:.35,burstDelay:.07,switchDelay:.75,barrelLength:3.1,barrelOffset:0,recoilTime:1e10,moveSpread:2,shotSpread:1.1,bulletCount:1,burstCount:3,bulletType:"bullet_famas",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-famas.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-famas-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:12,y:0},gunOffset:{x:-8,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.425},sound:{shoot:"famas_01",reload:"famas_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"famas_switch_01"}},hk416:{name:"M416",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"556mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2.3,fireDelay:.075,switchDelay:.75,barrelLength:2.7,barrelOffset:0,recoilTime:1e10,moveSpread:8,shotSpread:4,bulletCount:1,bulletType:"bullet_hk416",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-hk416.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.52},tint:14402714,leftHandOffset:{x:4.2,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.4},sound:{shoot:"hk416_01",reload:"hk416_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"hk416_switch_01"}},m4a1:{name:"M4A1-S",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"556mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:3.1,fireDelay:.082,switchDelay:.75,barrelLength:3.5,barrelOffset:0,recoilTime:1e10,moveSpread:4,shotSpread:2,bulletCount:1,bulletType:"bullet_m4a1",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m4a1.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-m4a1-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:7.9,y:0},recoil:1.3},particle:{shellScale:1,shellOffset:.4},sound:{shoot:"m4a1_01",reload:"m4a1_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m4a1_switch_01",fallOff:3}},mk12:{name:"Mk 12 SPR",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"556mm",ammoSpawnCount:60,maxClip:20,maxReload:20,extendedClip:30,extendedReload:30,reloadTime:2.4,fireDelay:.18,switchDelay:.75,barrelLength:3.5,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1,bulletCount:1,bulletType:"bullet_mk12",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-mk12.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.485},tint:10984586,leftHandOffset:{x:4.2,y:0},recoil:1.66},particle:{shellScale:1.3,shellOffset:.55},sound:{shoot:"mk12_01",reload:"mk12_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"mk12_switch_01"}},l86:{name:"L86A2",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"556mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2.9,fireDelay:.19,switchDelay:.75,barrelLength:3.25,barrelOffset:0,recoilTime:1e10,moveSpread:3.5,shotSpread:1,bulletCount:1,bulletType:"bullet_l86",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-l86.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.46},tint:14469287,leftHandOffset:{x:-3,y:0},recoil:1.66},particle:{shellScale:1.3,shellOffset:.55},sound:{shoot:"l86_01",reload:"l86_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"l86_switch_01"}},m249:{name:"M249",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"556mm",ammoSpawnCount:200,maxClip:100,maxReload:100,extendedClip:150,extendedReload:150,reloadTime:6.7,fireDelay:.08,switchDelay:.75,barrelLength:3.75,barrelOffset:0,recoilTime:1e10,moveSpread:6,shotSpread:1.5,bulletCount:1,bulletType:"bullet_m249",headshotMult:2,speed:{equip:0,attack:-4},lootImg:{sprite:"loot-weapon-m249.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-m249-top-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:13.2,y:0},recoil:1.33,magImg:{sprite:"gun-m249-bot-01.img",pos:{x:0,y:-20.5}}},particle:{shellScale:1,shellOffset:.5875},sound:{shoot:"m249_01",reload:"m249_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"m249_switch_01"}},qbb97:{name:"QBB-97",type:"gun",fireMode:"auto",caseTiming:"shoot",ammo:"556mm",ammoSpawnCount:150,maxClip:75,maxReload:75,extendedClip:95,extendedReload:95,reloadTime:3.9,fireDelay:.1,switchDelay:.75,barrelLength:3.1,barrelOffset:0,recoilTime:1e10,moveSpread:.5,shotSpread:4,bulletCount:1,bulletType:"bullet_qbb97",headshotMult:2,speed:{equip:0,attack:-2},lootImg:{sprite:"loot-weapon-qbb97.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.425},tint:1973790,leftHandOffset:{x:8.4,y:0},recoil:1.33,magImg:{sprite:"gun-qbb97-bot-01.img",pos:{x:-1.5,y:-14.25}}},particle:{shellScale:1,shellOffset:.5875},sound:{shoot:"qbb97_01",reload:"qbb97_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"qbb97_switch_01"}},scout:{name:"Scout Elite",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"556mm",aimDelay:!0,ammoSpawnCount:20,maxClip:5,maxReload:5,extendedClip:10,extendedReload:10,reloadTime:2.6,fireDelay:1,switchDelay:1,pullDelay:1,barrelLength:3.5,barrelOffset:0,recoilTime:1e10,moveSpread:1,shotSpread:1,bulletCount:1,bulletType:"bullet_scout",headshotMult:1.5,speed:{equip:0,attack:5},lootImg:{sprite:"loot-weapon-scout.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.52},tint:3290683,leftHandOffset:{x:2.8,y:0},recoil:2.33},particle:{shellScale:1.6,shellOffset:.6},sound:{shoot:"scout_01",reload:"scout_reload_01",cycle:"scout_cycle_01",pull:"scout_pull_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"scout_cycle_01"}},ak47:{name:"AK-47",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2.5,fireDelay:.1,switchDelay:.75,barrelLength:3.15,barrelOffset:0,recoilTime:1e10,moveSpread:7.5,shotSpread:2.5,bulletCount:1,bulletType:"bullet_ak47",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-ak.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.435},tint:6433298,leftHandOffset:{x:2.8,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"ak47_01",reload:"ak47_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"ak47_switch_01"}},scar:{name:"SCAR-H",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:80,maxClip:20,maxReload:20,extendedClip:30,extendedReload:30,reloadTime:2.7,fireDelay:.09,switchDelay:.75,barrelLength:3.15,barrelOffset:0,recoilTime:1e10,moveSpread:5,shotSpread:2,bulletCount:1,bulletType:"bullet_scar",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-scar.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.435},tint:10189640,leftHandOffset:{x:2.8,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"scar_01",reload:"scar_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"scar_switch_01"}},scarssr:{name:"SCAR-SSR",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"308sub",ammoSpawnCount:40,maxClip:10,maxReload:10,extendedClip:20,extendedReload:20,reloadTime:2.7,fireDelay:.3,switchDelay:.75,barrelLength:3.9,barrelOffset:0,recoilTime:1e10,moveSpread:5.5,shotSpread:1.5,bulletCount:1,bulletType:"bullet_scarssr",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-scarssr.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-scarssr-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:6,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"scarssr_01",reload:"scar_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"scar_switch_01"}},an94:{name:"AN-94",type:"gun",quality:1,fireMode:"burst",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:90,maxClip:45,maxReload:45,extendedClip:60,extendedReload:60,reloadTime:2.35,fireDelay:.24,burstDelay:.025,switchDelay:.75,barrelLength:3.25,barrelOffset:0,recoilTime:1e10,moveSpread:4,shotSpread:1.5,bulletCount:1,burstCount:2,burstSounds:1,bulletType:"bullet_an94",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-an94.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.46},tint:2960685,leftHandOffset:{x:2.85,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"an94_01",reload:"an94_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"an94_switch_01"}},groza:{name:"Groza",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",isBullpup:!0,ammo:"762mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2.8,fireDelay:.078,switchDelay:.75,barrelLength:2.6,barrelOffset:0,recoilTime:1e10,moveSpread:9,shotSpread:5,bulletCount:1,bulletType:"bullet_groza",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-groza.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-groza-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:12,y:0},gunOffset:{x:-8,y:0},recoil:1.4},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"groza_01",reload:"groza_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"groza_switch_01"}},grozas:{name:"Groza-S",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",isBullpup:!0,ammo:"762mm",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:40,extendedReload:40,reloadTime:2.8,fireDelay:.078,switchDelay:.75,barrelLength:3.3,barrelOffset:0,recoilTime:1e10,moveSpread:7.5,shotSpread:3.5,bulletCount:1,bulletType:"bullet_grozas",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-grozas.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-grozas-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:12,y:0},gunOffset:{x:-8,y:0},recoil:1.4},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"grozas_01",reload:"groza_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"groza_switch_01"}},dp28:{name:"DP-28",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:120,maxClip:60,maxReload:60,extendedClip:80,extendedReload:80,reloadTime:3.3,fireDelay:.115,switchDelay:.75,barrelLength:3.75,barrelOffset:0,recoilTime:1e10,moveSpread:9,shotSpread:2,bulletCount:1,bulletType:"bullet_dp28",headshotMult:2,speed:{equip:0,attack:-2},lootImg:{sprite:"loot-weapon-dp28.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.53},tint:1710618,leftHandOffset:{x:8.4,y:0},recoil:1.33,magImg:{sprite:"gun-dp28-top-01.img",pos:{x:0,y:-22.5},top:!0}},particle:{shellScale:1,shellOffset:.6},sound:{shoot:"dp28_01",reload:"dp28_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"dp28_switch_01"}},bar:{name:"BAR M1918",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:80,maxClip:20,maxReload:20,extendedClip:40,extendedReload:40,reloadTime:2.7,fireDelay:.12,switchDelay:.75,barrelLength:3.7,barrelOffset:0,recoilTime:1e10,moveSpread:8,shotSpread:2,bulletCount:1,bulletType:"bullet_bar",headshotMult:2,speed:{equip:0,attack:-1.5},lootImg:{sprite:"loot-weapon-bar.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.52},tint:5065810,leftHandOffset:{x:6.8,y:0},recoil:1.4},particle:{shellScale:1,shellOffset:.6},sound:{shoot:"bar_01",reload:"bar_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"bar_switch_01"}},pkp:{name:"PKP Pecheneg",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:200,maxClip:200,maxReload:200,extendedClip:250,extendedReload:250,reloadTime:5,fireDelay:.1,switchDelay:.75,barrelLength:3.6,barrelOffset:0,recoilTime:1e10,moveSpread:7.5,shotSpread:2.5,bulletCount:1,bulletType:"bullet_pkp",headshotMult:2,speed:{equip:0,attack:-5},lootImg:{sprite:"loot-weapon-pkp.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-pkp-top-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:12.5,y:0},recoil:1.33,magImg:{sprite:"gun-pkp-bot-01.img",pos:{x:0,y:-17.5}}},particle:{shellScale:1,shellOffset:.5875,shellReverse:!0},sound:{shoot:"pkp_01",reload:"pkp_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"pkp_switch_01"}},model94:{name:"Model 94",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"45acp",ammoSpawnCount:64,maxClip:8,maxReload:1,extendedClip:8,extendedReload:1,reloadTime:.5,fireDelay:.7,switchDelay:1,pullDelay:1,barrelLength:3.7,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1.5,bulletCount:1,bulletType:"bullet_model94",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-model94.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.5175},tint:10510624,leftHandOffset:{x:3.2,y:0},recoil:2.33},particle:{shellScale:1.4,shellOffset:.6},sound:{shoot:"model94_01",reload:"model94_reload_01",cycle:"model94_cycle_01",pull:"model94_cycle_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"model94_cycle_01"}},mkg45:{name:"Mk45G",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"45acp",ammoSpawnCount:52,maxClip:13,maxReload:13,extendedClip:26,extendedReload:26,reloadTime:2.1,fireDelay:.17,switchDelay:.75,barrelLength:3.3,barrelOffset:0,recoilTime:.2,moveSpread:7.5,shotSpread:3.5,bulletCount:1,bulletType:"bullet_mkg45",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-mkg45.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.47},tint:3487029,leftHandOffset:{x:4.2,y:0},recoil:1.66},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"mkg45_01",reload:"mkg45_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"mkg45_switch_01"}},blr:{name:"BLR 81",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:30,maxClip:3,maxReload:3,extendedClip:5,extendedReload:5,reloadTime:1.7,fireDelay:.8,switchDelay:1,pullDelay:1,barrelLength:3.8,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1.5,bulletCount:1,bulletType:"bullet_blr",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-blr.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.53},tint:4663046,leftHandOffset:{x:6.4,y:0},recoil:2.75},particle:{shellScale:1.4,shellOffset:.6},sound:{shoot:"blr_01",reload:"blr_reload_01",cycle:"blr_cycle_01",pull:"blr_cycle_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"blr_cycle_01"}},mosin:{name:"Mosin-Nagant",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"762mm",aimDelay:!0,ammoSpawnCount:20,maxClip:5,maxReload:1,maxReloadAlt:5,extendedClip:5,extendedReload:1,extendedReloadAlt:5,reloadTime:.9,reloadTimeAlt:3,fireDelay:1.75,switchDelay:1,pullDelay:1,barrelLength:3.75,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1,bulletCount:1,bulletType:"bullet_mosin",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-mosin.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.52},tint:3348992,leftHandOffset:{x:2.8,y:0},recoil:2.33},particle:{shellScale:1.6,shellOffset:.6},sound:{shoot:"mosin_01",reload:"mosin_reload_01",reloadAlt:"mosin_reload_02",cycle:"mosin_cycle_01",pull:"mosin_pull_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"mosin_cycle_01"}},sv98:{name:"SV-98",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"762mm",aimDelay:!0,ammoSpawnCount:30,maxClip:10,maxReload:10,extendedClip:15,extendedReload:15,reloadTime:2.7,fireDelay:1.5,switchDelay:1,pullDelay:.8,barrelLength:3.5,barrelOffset:0,recoilTime:1e10,moveSpread:2.5,shotSpread:1,bulletCount:1,bulletType:"bullet_sv98",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-sv98.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.4925},tint:6654279,leftHandOffset:{x:2.8,y:0},recoil:2.33},particle:{shellScale:1.6,shellOffset:.6},sound:{shoot:"sv98_01",reload:"sv98_reload_01",cycle:"sv98_cycle_01",pull:"sv98_pull_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"sv98_cycle_01"}},awc:{name:"AWM-S",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"308sub",aimDelay:!0,ammoSpawnCount:20,maxClip:5,maxReload:5,extendedClip:7,extendedReload:7,reloadTime:3.6,fireDelay:1.5,switchDelay:1,pullDelay:1.4,barrelLength:3.8,barrelOffset:0,recoilTime:1e10,moveSpread:4,shotSpread:.5,bulletCount:1,bulletType:"bullet_awc",headshotMult:1,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-awc.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-awc-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:11,y:0},recoil:2.66},particle:{shellScale:1.5,shellOffset:.6},sound:{shoot:"awc_01",reload:"awc_reload_01",cycle:"awc_cycle_01",pull:"awc_pull_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"awc_cycle_01",fallOff:3}},m39:{name:"M39 EMR",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:60,maxClip:20,maxReload:20,extendedClip:30,extendedReload:30,reloadTime:2.5,fireDelay:.23,switchDelay:.75,barrelLength:3.5,barrelOffset:0,recoilTime:1e10,moveSpread:4.25,shotSpread:1,bulletCount:1,bulletType:"bullet_m39",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m39.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.4925},tint:3355443,leftHandOffset:{x:2.8,y:0},recoil:1.66},particle:{shellScale:1.3,shellOffset:.575},sound:{shoot:"m39_01",reload:"m39_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"m39_switch_01"}},svd:{name:"SVD-63",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:60,maxClip:10,maxReload:10,extendedClip:20,extendedReload:20,reloadTime:2.5,fireDelay:.25,switchDelay:.75,barrelLength:4,barrelOffset:0,recoilTime:1e10,moveSpread:4.5,shotSpread:1,bulletCount:1,bulletType:"bullet_svd",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-svd.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.56},tint:1842204,leftHandOffset:{x:8,y:0},recoil:2},particle:{shellScale:1.3,shellOffset:.575},sound:{shoot:"svd_01",reload:"svd_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"svd_switch_01"}},garand:{name:"M1 Garand",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"762mm",ammoSpawnCount:40,maxClip:8,maxReload:8,extendedClip:8,extendedReload:8,reloadTime:2.1,fireDelay:.23,switchDelay:.75,barrelLength:3.6,barrelOffset:0,recoilTime:.36,moveSpread:4,shotSpread:1,bulletCount:1,bulletType:"bullet_garand",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-garand.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-garand-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:8,y:0},recoil:1.66},particle:{shellScale:1.3,shellOffset:.575},sound:{shoot:"garand_01",shootLast:"garand_02",reload:"garand_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"garand_switch_01"}},m870:{name:"M870",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"12gauge",deployGroup:1,ammoSpawnCount:10,maxClip:5,maxReload:1,extendedClip:10,extendedReload:1,reloadTime:.75,fireDelay:.9,switchDelay:.9,pullDelay:.9,barrelLength:3.15,barrelOffset:0,recoilTime:1e10,moveSpread:2,shotSpread:10,bulletCount:9,jitter:1,bulletType:"bullet_buckshot",headshotMult:1.5,lootImg:{sprite:"loot-weapon-pumpshotgun.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},speed:{equip:0,attack:0},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.435},tint:3348992,leftHandOffset:{x:7,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"m870_01",reload:"m870_reload_01",cycle:"m870_cycle_01",pull:"m870_pull_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m870_cycle_01"}},m1100:{name:"M1100",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"12gauge",ammoSpawnCount:12,maxClip:4,maxReload:1,extendedClip:8,extendedReload:1,reloadTime:.7,fireDelay:.3,switchDelay:.9,barrelLength:3.15,barrelOffset:0,recoilTime:1e10,moveSpread:2,shotSpread:25,bulletCount:18,jitter:1,bulletType:"bullet_birdshot",headshotMult:1.5,lootImg:{sprite:"loot-weapon-m1100.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},speed:{equip:0,attack:0},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.435},tint:3032110,leftHandOffset:{x:7,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"m1100_01",reload:"m1100_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m1100_deploy_01"}},mp220:{name:"MP220",type:"gun",quality:0,fireMode:"single",caseTiming:"reload",ammo:"12gauge",ammoSpawnCount:10,maxClip:2,maxReload:2,extendedClip:2,extendedReload:2,reloadTime:2.7,fireDelay:.2,switchDelay:.3,barrelLength:2.7,barrelOffset:0,recoilTime:1e10,moveSpread:2,shotSpread:10,bulletCount:9,jitter:1,bulletType:"bullet_buckshot",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-mp220.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-mp220-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:0,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.35},sound:{shoot:"mp220_01",reload:"mp220_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"mp220_deploy_01"}},saiga:{name:"Saiga-12",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"12gauge",ammoSpawnCount:20,maxClip:5,maxReload:5,extendedClip:8,extendedReload:8,reloadTime:2.5,fireDelay:.4,switchDelay:.75,barrelLength:3.75,barrelOffset:0,recoilTime:1e10,moveSpread:2,shotSpread:10,bulletCount:9,jitter:1,bulletType:"bullet_buckshot",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-saiga.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-saiga-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:8,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"saiga_01",reload:"saiga_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"saiga_switch_01"}},spas12:{name:"SPAS-12",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"12gauge",deployGroup:1,ammoSpawnCount:18,maxClip:9,maxReload:1,extendedClip:12,extendedReload:1,reloadTime:.55,fireDelay:.75,switchDelay:.75,pullDelay:.75,barrelLength:2.8,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:4,bulletCount:9,jitter:.2,bulletType:"bullet_flechette",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-spas12.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.4},tint:2966097,leftHandOffset:{x:4.9,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"spas12_01",reload:"spas12_reload_01",cycle:"spas12_cycle_01",pull:"spas12_pull_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"spas12_cycle_01"}},m1014:{name:"M1014",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"12gauge",ammoSpawnCount:16,maxClip:8,maxReload:1,extendedClip:10,extendedReload:1,reloadTime:.52,fireDelay:.4,switchDelay:.75,barrelLength:3.2,barrelOffset:0,recoilTime:.5,moveSpread:4,shotSpread:4,bulletCount:1,jitter:.2,bulletType:"bullet_slug",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m1014.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-long-01.img",scale:{x:.5,y:.44},tint:5656632,leftHandOffset:{x:4.8,y:0},recoil:1.33},particle:{shellScale:1,shellOffset:.45},sound:{shoot:"m1014_01",reload:"m1014_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m1014_deploy_01"}},usas:{name:"USAS-12",type:"gun",quality:1,fireMode:"auto",caseTiming:"shoot",ammo:"12gauge",toMouseHit:!0,ammoSpawnCount:30,maxClip:10,maxReload:10,extendedClip:20,extendedReload:20,reloadTime:2.9,fireDelay:.5,switchDelay:.75,barrelLength:3.65,barrelOffset:0,recoilTime:1e10,moveSpread:6,shotSpread:7,bulletCount:1,jitter:1,bulletType:"bullet_frag",noSplinter:!0,headshotMult:1,speed:{equip:0,attack:-1},lootImg:{sprite:"loot-weapon-usas.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-usas-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:16,y:0},recoil:1.5},particle:{shellScale:1,shellOffset:.35},sound:{shoot:"usas_01",reload:"usas_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_02",deploy:"usas_switch_01"}},m9:{name:"M9",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:45,dualWieldType:"m9_dual",pistol:!0,maxClip:15,maxReload:15,extendedClip:30,extendedReload:30,reloadTime:1.6,fireDelay:.12,switchDelay:.25,barrelLength:2.2,barrelOffset:0,recoilTime:1e10,moveSpread:8,shotSpread:8,bulletCount:1,bulletType:"bullet_m9",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m9.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.505},tint:1973790,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"m9_01",reload:"m9_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m9_switch_01"}},m9_dual:{name:"Dual M9",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",isDual:!0,pistol:!0,ammo:"9mm",ammoSpawnCount:45,maxClip:30,maxReload:30,extendedClip:60,extendedReload:60,reloadTime:3.1,fireDelay:.08,switchDelay:.25,barrelLength:2.2,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:9,shotSpread:11,bulletCount:1,bulletType:"bullet_m9",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m9-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.505},tint:1973790,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"m9_01",reload:"m9_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m9_switch_01"}},m93r:{name:"M93R",type:"gun",quality:0,fireMode:"burst",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:60,dualWieldType:"m93r_dual",pistol:!1,maxClip:20,maxReload:20,extendedClip:30,extendedReload:30,reloadTime:1.8,fireDelay:.28,burstDelay:.04,switchDelay:.25,barrelLength:2.3,barrelOffset:0,recoilTime:1e10,moveSpread:4,shotSpread:4,bulletCount:1,burstCount:3,bulletType:"bullet_m93r",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m93r.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.51},tint:2766875,leftHandOffset:{x:.8,y:0},recoil:.5},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"m93r_01",reload:"m93r_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m93r_switch_01"}},m93r_dual:{name:"Dual M93R",type:"gun",quality:0,fireMode:"burst",caseTiming:"shoot",isDual:!0,pistol:!0,ammo:"9mm",ammoSpawnCount:60,maxClip:40,maxReload:40,extendedClip:60,extendedReload:60,reloadTime:3.3,fireDelay:.18,burstDelay:.04,switchDelay:.25,barrelLength:2.2,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:6,shotSpread:7,bulletCount:1,burstCount:3,bulletType:"bullet_m93r",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m93r-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.51},tint:2766875,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"m93r_01",reload:"m93r_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m93r_switch_01"}},glock:{name:"G18C",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:51,dualWieldType:"glock_dual",pistol:!0,maxClip:17,maxReload:17,extendedClip:31,extendedReload:31,reloadTime:1.95,fireDelay:.06,switchDelay:.25,barrelLength:2.2,barrelOffset:0,recoilTime:1e10,moveSpread:10,shotSpread:12,bulletCount:1,bulletType:"bullet_glock",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-glock.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.49},tint:1973790,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"glock_01",reload:"glock_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"glock_switch_01"}},glock_dual:{name:"Dual G18C",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:51,isDual:!0,pistol:!0,maxClip:34,maxReload:34,extendedClip:62,extendedReload:62,reloadTime:3.8,fireDelay:.03,switchDelay:.25,barrelLength:2.2,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:16,shotSpread:18,bulletCount:1,bulletType:"bullet_glock",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-glock-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.49},tint:1973790,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"glock_01",reload:"glock_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"glock_switch_01"}},p30l:{name:"P30L",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:45,dualWieldType:"p30l_dual",pistol:!0,maxClip:15,maxReload:15,extendedClip:30,extendedReload:30,reloadTime:1.2,fireDelay:.14,switchDelay:.25,barrelLength:2.3,barrelOffset:0,recoilTime:1e10,moveSpread:1,shotSpread:2,bulletCount:1,bulletType:"bullet_p30l",headshotMult:2,speed:{equip:1,attack:1},lootImg:{sprite:"loot-weapon-p30l.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-p30l-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"p30l_01",reload:"p30l_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"p30l_switch_01"}},p30l_dual:{name:"Dual P30L",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"9mm",ammoSpawnCount:90,isDual:!0,pistol:!0,maxClip:30,maxReload:30,extendedClip:60,extendedReload:60,reloadTime:2.65,fireDelay:.09,switchDelay:.3,barrelLength:2.3,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:2,shotSpread:3,bulletCount:1,bulletType:"bullet_p30l",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-p30l-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-p30l-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.25},sound:{shoot:"p30l_01",reload:"p30l_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"p30l_switch_01"}},ot38:{name:"OT-38",type:"gun",quality:0,fireMode:"single",caseTiming:"reload",ammo:"762mm",ammoSpawnCount:20,dualWieldType:"ot38_dual",pistol:!0,maxClip:5,maxReload:5,extendedClip:5,extendedReload:5,reloadTime:2,fireDelay:.4,switchDelay:.3,barrelLength:2.05,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1.25,bulletCount:1,bulletType:"bullet_ot38",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-ot38.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.4625},tint:7368816,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.225},sound:{shoot:"ot38_01",reload:"ot38_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"ot38_switch_01"}},ot38_dual:{name:"Dual OT-38",type:"gun",quality:0,fireMode:"single",caseTiming:"reload",ammo:"762mm",ammoSpawnCount:20,isDual:!0,pistol:!0,maxClip:10,maxReload:10,extendedClip:10,extendedReload:10,reloadTime:3.8,fireDelay:.2,switchDelay:.3,barrelLength:2,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:4,shotSpread:1.75,bulletCount:1,bulletType:"bullet_ot38",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-ot38-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.4625},tint:7368816,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.225},sound:{shoot:"ot38_01",reload:"ot38_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"ot38_switch_01"}},ots38:{name:"OTs-38",type:"gun",quality:0,fireMode:"single",caseTiming:"reload",ammo:"762mm",ammoSpawnCount:20,dualWieldType:"ots38_dual",pistol:!0,maxClip:5,maxReload:5,extendedClip:5,extendedReload:5,reloadTime:2,fireDelay:.36,switchDelay:.3,barrelLength:2.05,barrelOffset:0,recoilTime:1e10,moveSpread:2.4,shotSpread:1.2,bulletCount:1,bulletType:"bullet_ots38",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-ots38.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-ots38-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.225},sound:{shoot:"ots38_01",reload:"ot38_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"ot38_switch_01"}},ots38_dual:{name:"Dual OTs-38",type:"gun",quality:1,fireMode:"single",caseTiming:"reload",ammo:"762mm",ammoSpawnCount:40,isDual:!0,pistol:!0,maxClip:10,maxReload:10,extendedClip:10,extendedReload:10,reloadTime:3.8,fireDelay:.18,switchDelay:.3,barrelLength:2,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:2.8,shotSpread:1.4,bulletCount:1,bulletType:"bullet_ots38",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-ots38-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-ots38-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.225},sound:{shoot:"ots38_01",reload:"ot38_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"ot38_switch_01"}},colt45:{name:"Peacemaker",type:"gun",quality:0,fireMode:"auto",caseTiming:"reload",ammo:"45acp",ammoSpawnCount:48,dualWieldType:"colt45_dual",pistol:!0,maxClip:6,maxReload:6,extendedClip:6,extendedReload:6,reloadTime:3,fireDelay:.12,switchDelay:.3,barrelLength:2.26,barrelOffset:0,recoilTime:.35,moveSpread:3,shotSpread:16,bulletCount:1,bulletType:"bullet_colt45",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-colt45.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.52},tint:12895428,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1.2,shellOffset:.225},sound:{shoot:"colt45_01",reload:"colt45_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"colt45_switch_01"}},colt45_dual:{name:"Dual Peacemaker",type:"gun",quality:0,fireMode:"auto",caseTiming:"reload",ammo:"45acp",ammoSpawnCount:48,isDual:!0,pistol:!0,maxClip:12,maxReload:12,extendedClip:12,extendedReload:12,reloadTime:5.1,fireDelay:.13,switchDelay:.3,barrelLength:2.26,barrelOffset:0,dualOffset:.6,recoilTime:.35,moveSpread:3,shotSpread:16,bulletCount:1,bulletType:"bullet_colt45",headshotMult:1.5,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-colt45-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.52},tint:12895428,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1.2,shellOffset:.225},sound:{shoot:"colt45_01",reload:"colt45_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"colt45_switch_01"}},m1911:{name:"M1911",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"45acp",ammoSpawnCount:28,dualWieldType:"m1911_dual",pistol:!0,maxClip:7,maxReload:7,extendedClip:12,extendedReload:12,reloadTime:2.1,fireDelay:.13,switchDelay:.25,barrelLength:2.1,barrelOffset:0,recoilTime:1e10,moveSpread:7,shotSpread:6,bulletCount:1,bulletType:"bullet_m1911",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m1911.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.5},tint:9605778,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1.2,shellOffset:.25},sound:{shoot:"m1911_01",reload:"m1911_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m1911_switch_01"}},m1911_dual:{name:"Dual M1911",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",isDual:!0,pistol:!0,ammo:"45acp",ammoSpawnCount:28,maxClip:14,maxReload:14,extendedClip:24,extendedReload:24,reloadTime:3.6,fireDelay:.085,switchDelay:.25,barrelLength:2.1,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:8,shotSpread:9.5,bulletCount:1,bulletType:"bullet_m1911",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m1911-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.5},tint:9605778,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1.2,shellOffset:.25},sound:{shoot:"m1911_01",reload:"m1911_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m1911_switch_01"}},m1a1:{name:"M1A1",type:"gun",quality:0,fireMode:"auto",caseTiming:"shoot",ammo:"45acp",ammoSpawnCount:90,maxClip:30,maxReload:30,extendedClip:50,extendedReload:50,reloadTime:2.8,fireDelay:.095,switchDelay:.75,barrelLength:2.8,barrelOffset:0,recoilTime:1e10,moveSpread:6,shotSpread:6,bulletCount:1,bulletType:"bullet_m1a1",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-m1a1.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-med-01.img",scale:{x:.5,y:.53},tint:3674112,leftHandOffset:{x:5.8,y:0},recoil:1},particle:{shellScale:1.2,shellOffset:.375},sound:{shoot:"m1a1_01",reload:"m1a1_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"m1a1_switch_01"}},deagle:{name:"DEagle 50",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"50AE",ammoSpawnCount:56,dualWieldType:"deagle_dual",pistol:!0,maxClip:7,maxReload:7,extendedClip:9,extendedReload:9,reloadTime:2.3,fireDelay:.16,switchDelay:.3,barrelLength:1.855,barrelOffset:0,recoilTime:.5,moveSpread:6,shotSpread:2.5,bulletCount:1,bulletType:"bullet_deagle",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-deagle.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.54},tint:14791743,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1.4,shellOffset:.265},sound:{shoot:"deagle_01",reload:"deagle_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"deagle_switch_01"}},deagle_dual:{name:"Dual DEagle 50",type:"gun",quality:1,fireMode:"single",caseTiming:"shoot",ammo:"50AE",ammoSpawnCount:98,isDual:!0,pistol:!0,maxClip:14,maxReload:14,extendedClip:18,extendedReload:18,reloadTime:4,fireDelay:.12,switchDelay:.3,barrelLength:1.855,barrelOffset:0,dualOffset:.6,recoilTime:.5,moveSpread:7.5,shotSpread:3.5,bulletCount:1,bulletType:"bullet_deagle",headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-deagle-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.54},tint:14791743,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.265},sound:{shoot:"deagle_01",reload:"deagle_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"deagle_switch_01"}},flare_gun:{name:"Flare Gun",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"flare",dualWieldType:"flare_gun_dual",pistol:!0,outsideOnly:!0,ammoSpawnCount:1,ignoreEndlessAmmo:!0,maxClip:1,maxReload:1,extendedClip:1,extendedReload:1,reloadTime:2,fireDelay:.4,switchDelay:.3,barrelLength:2,barrelOffset:0,recoilTime:1e10,moveSpread:3,shotSpread:1.25,bulletCount:1,bulletType:"bullet_flare",noSplinter:!0,headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-flare-gun.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.4625},tint:16733184,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.225},sound:{shoot:"flare_gun_01",reload:"flare_gun_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"gun_switch_01"}},flare_gun_dual:{name:"Dual Flare Gun",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",ammo:"flare",isDual:!0,pistol:!0,outsideOnly:!0,ammoSpawnCount:2,ignoreEndlessAmmo:!0,maxClip:2,maxReload:2,extendedClip:2,extendedReload:2,reloadTime:3.5,fireDelay:.3,switchDelay:.3,barrelLength:2,barrelOffset:0,dualOffset:.6,recoilTime:1e10,moveSpread:3,shotSpread:1.25,bulletCount:1,bulletType:"bullet_flare",noSplinter:!0,headshotMult:2,speed:{equip:0,attack:0},lootImg:{sprite:"loot-weapon-flare-gun-dual.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-short-01.img",scale:{x:.5,y:.4625},tint:16733184,leftHandOffset:{x:0,y:0},recoil:1},particle:{shellScale:1,shellOffset:.225},sound:{shoot:"flare_gun_01",reload:"flare_gun_reload_02",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"gun_switch_01"}},potato_cannon:{name:"Potato Cannon",type:"gun",quality:0,fireMode:"single",caseTiming:"shoot",isLauncher:!0,noPotatoSwap:!0,deployGroup:3,ammo:"potato_ammo",ammoSpawnCount:0,ammoInfinite:!0,maxClip:4,maxReload:1,extendedClip:4,extendedReload:1,reloadTime:1,fireDelay:1.2,switchDelay:.9,barrelLength:3,barrelOffset:-1,recoilTime:1e10,moveSpread:2,shotSpread:1,bulletCount:1,bulletType:"bullet_potato",projType:"potato_cannonball",noSplinter:!0,headshotMult:1,speed:{equip:-3,attack:0},lootImg:{sprite:"loot-weapon-potato-cannon.img",tint:65280,border:"loot-circle-outer-01.img",borderTint:0,scale:.3},worldImg:{sprite:"gun-potato-cannon-01.img",scale:{x:.5,y:.5},tint:16777215,leftHandOffset:{x:7,y:2},gunOffset:{x:-10,y:-4},recoil:8,handsBelow:!0},particle:{shellScale:1,shellOffset:-1,shellOffsetY:1},sound:{shoot:"potato_cannon_01",reload:"potato_cannon_reload_01",pickup:"gun_pickup_01",empty:"empty_fire_01",deploy:"potato_cannon_switch_01"}}};e.exports=r},af8ba00f:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("6b42806d"),s=(a("10899aea"),a("c2a798c8")),n={Line:0,Ray:1,Circle:2,Aabb:3},l=function{function e{r(this,e),this.shapes=[]}return i(e,[{key:"addLine",value:function(e,t,a,r){this.shapes.push({type:n.Line,start:s.copy(e),end:s.copy(t),color:a,fill:r})}},{key:"addRay",value:function(e,t,a,r,i){this.shapes.push({type:n.Ray,pos:s.copy(e),dir:s.copy(t),len:a,color:r,fill:i})}},{key:"addCircle",value:function(e,t,a,r){this.shapes.push({type:n.Circle,pos:s.copy(e),rad:t,color:a,fill:r})}},{key:"addAabb",value:function(e,t,a,r){this.shapes.push({type:n.Aabb,min:s.copy(e),max:s.copy(t),color:a,fill:r})}},{key:"addCollider",value:function(e,t,a){e.type==o.Type.Aabb?this.addAabb(e.min,e.max,t,a):this.addCircle(e.pos,e.rad,t,a)}},{key:"render",value:function(e,t){}},{key:"flush",value:function{this.shapes=[]}}]),e},c=new l;e.exports=c},b1f6ba3c:function(e,t,a){"use strict";var r={main:a("d5ec3c16"),main_spring:a("6afea591"),main_summer:a("0444401b"),desert:a("ef7c973f"),faction:a("903f46c9"),halloween:a("9d3c0d8b"),potato:a("fc096113"),potato_spring:a("fea0a94e"),snow:a("4e269062"),woods:a("45f86a38"),woods_snow:a("0354ead9"),woods_spring:a("b895abfa"),woods_summer:a("d0dd0bd7"),savannah:a("6a4e7802")};e.exports=r},b4f03d8a:function(e,t,a){t=e.exports=a("95cc1214")(!1),t.push},b895abfa:function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("45f86a38")),o={biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:15709019,riverbank:9079434,grass:4351497,underground:1772803,playerSubmerge:2854052},sound:{riverShore:"stone"},particles:{camera:"falling_leaf_spring"}}};e.exports=r.mergeDeep({},i,o)},bc83ef37:function(e,t,a){"use strict";function r{this.container=new o.Container,this.container.visible=!1,this.trail=o.Sprite.fromImage("player-bullet-trail-02.img"),this.trail.anchor.set(1,.5),this.trail.scale.set(1,1),this.trail.visible=!1,this.container.addChild(this.trail),this.sprite=new o.Sprite,this.sprite.anchor.set(.5,.5),this.container.addChild(this.sprite),this.strobeSprite=null}function i{this.Dt=new h.Pool(r)}var o=a("8b1dfb45"),s=a("989ad62a"),n=a("6b42806d"),l=a("10899aea"),c=a("1901e2d9"),m=a("c2a798c8"),p=a("c73dee75"),h=(a("ce29f17f"),a("af8ba00f"),a("753d6e4b")),d=a("721a96bf"),u=a("03f4982a"),g={grass:"frag_grass",sand:"frag_sand",water:"frag_water"};r.prototype={o:function{},n:function{this.container.visible=!1,this.strobeSprite&&(this.strobeSprite.visible=!1)},c:function(e,t,a,r){if(t){var i=d[e.type];this.layer=e.layer,this.type=e.type,this.rad=.5*i.rad}if(this.posOld=a?m.copy(e.pos):m.copy(this.pos),this.posZOld=a?e.posZ:this.posZ,this.pos=m.copy(e.pos),this.posZ=e.posZ,this.dir=m.copy(e.dir),a){var s=d[e.type],l=s.worldImg;this.imgScale=l.scale,this.rot=0,this.rotVel=s.throwPhysics.spinVel,s.throwPhysics.randomizeSpinDir&&Math.random<.5&&(this.rotVel*=-1),this.rotDrag=s.throwPhysics.spinDrag*c.random(1,2),this.velZ=0,this.grounded=!1,this.inWater=!1,this.lastSoundObjId=0,this.playHitSfx=!s.explodeOnImpact,this.alwaysRenderOntop=!1;var p=!0;if("bomb_iron"==this.type){this.alwaysRenderOntop=!0;var h=n.createCircle(this.pos,.5);r.map.insideBuildingCeiling(h,this.layer,!0)&&(p=!1)}this.sprite.texture=o.Texture.fromImage(l.sprite),this.sprite.tint=l.tint,this.sprite.alpha=1,this.container.visible=p,"strobe"==e.type&&(this.strobeSprite||(this.strobeSprite=new o.Sprite,this.strobeSprite.texture=o.Texture.fromImage("part-strobe-01.img"),this.strobeSprite.anchor.set(.5,.5),this.container.addChild(this.strobeSprite)),this.strobeSprite.scale.set(0,0),this.strobeSprite.visible=!0,this.strobeScale=0,this.strobeScaleMax=12,this.strobeTicker=0,this.strobeDir=1,this.strobeSpeed=1.25)}}},i.prototype={m:function(e,t,a,r,i,o,h){for(var y=this.Dt.p,w=0;w<y.length;w++){var f=y[w];if(f.active){var b=d[f.type],_=f.rotDrag;f.inWater&&(_*=3),f.rotVel*=1/(1+e*_),f.rot+=f.rotVel*e;for(var x={obj:null,pen:0},S={obj:null,pen:0},v=n.createCircle(f.pos,f.rad),z=i.ye.p,k=0;k<z.length;k++){var I=z[k];if(I.active&&!I.dead&&c.sameLayer(I.layer,f.layer)){var T=n.intersect(I.collider,v);if(T){var M=I.height>f.posZ?x:S;T.pen>M.pen&&(!M.obj||M.obj.height<=I.height)&&(M.obj=I,M.pen=T.pen)}}}var C=m.div(m.sub(f.pos,f.posOld),e),P=m.length(C);if(x.obj&&x.obj.__id!=f.lastSoundObjId&&P>7.5&&(f.lastSoundObjId=x.obj.__id,f.playHitSfx)){var A=m.mul(m.normalizeSafe(C,m.create(1,0)),-1),O=u[x.obj.type];p.playHitFx(O.hitParticle,O.sound.bullet,f.pos,A,f.layer,t,a)}var E=i.getGroundSurface(f.pos,f.layer);f.posZ<=.01&&(f.inWater||"water"!=E.type||t.addRippleParticle(f.pos,f.layer,E.data.rippleColor),f.inWater="water"==E.type);var D=f.velZ;if(f.velZ=(f.posZ-f.posZOld)/e,!f.isNew&&!f.grounded&&f.velZ>=0&&D<0){var B={fn:"playGroup",channel:"hits",name:""};if(S.obj){if(f.lastSoundObjId!=S.obj.__id){f.lastSoundObjId=S.obj.__id;var R=u[S.obj.type];B.name=R.sound.bullet}}else f.grounded=!0,B.name=g[E.type],void 0===B.name&&(B.name="footstep_"+E.type,B.fn="playGroup",B.channel="sfx");B.name&&f.playHitSfx&&a[B.fn](B.name,{channel:B.channel,soundPos:f.pos,layer:f.layer,filter:"muffled"})}if("strobe"==f.type&&f.strobeSprite&&(f.strobeTicker=l.clamp(f.strobeTicker+e*f.strobeDir*f.strobeSpeed,0,1),f.strobeScale=l.easeInExpo(f.strobeTicker)*f.strobeScaleMax,f.strobeSprite.scale.set(f.strobeScale,f.strobeScale),(f.strobeScale>=f.strobeScaleMax||f.strobeTicker<=0)&&(f.strobeDir*=-1)),f.sprite.rotation=f.rot,f.sprite.alpha=f.inWater?.3:1,b.trail){var L=m.length(C),F=l.remap(L,.25*b.throwPhysics.speed,1*b.throwPhysics.speed,0,1)*l.remap(f.posZ,.1,.5*s.projectile.maxHeight,0,1);f.trail.scale.set(b.trail.maxLength*F,b.trail.width),f.trail.rotation=-Math.atan2(f.dir.y,f.dir.x),f.trail.tint=b.trail.tint,f.trail.alpha=b.trail.alpha*F,f.trail.visible=!0}else f.trail.visible=!1;var q=f.layer,j=f.posZ<.25?14:25,N=n.createCircle(f.pos,3*f.rad),H=i.insideStructureStairs(N),V=i.insideStructureMask(N);!(f.posZ>=.25&&H&&(1&f.layer)==(1&r.layer))||V&&2&r.layer||(q|=2,j+=100),f.alwaysRenderOntop&&0==r.layer&&(j=1e3,q|=2),o.addPIXIObj(f.container,q,j);var U=f.imgScale*l.remap(f.posZ,0,s.projectile.maxHeight,1,4.75),W=h.pointToScreen(f.pos),G=h.pixels(U);f.container.position.set(W.x,W.y),f.container.scale.set(G,G)}}}},e.exports={gt:i}},bdd17930:function(e,t,a){"use strict";var r={unlock_default:{type:"unlock",name:"standard-issue",unlocks:["outfitBase","fists","crosshair_default","crosshair_001","crosshair_005","crosshair_007","crosshair_086","crosshair_027","crosshair_080","crosshair_098","crosshair_101","crosshair_158","emote_thumbsup","emote_sadface","emote_happyface","emote_surviv","emote_gg","emote_question","emote_tombstone","emote_joyface","emote_sobface","emote_thinkingface","emote_flagus","emote_flagthailand","emote_flaggermany","emote_flagfrance","emote_flagsouthkorea","emote_flagbrazil","emote_flagcanada","emote_flagspain","emote_flagrussia","emote_flagmexico","emote_flagpoland","emote_flaguk","emote_flagcolombia","emote_flagukraine","emote_flagturkey","emote_flagphilippines","emote_flagczechia","emote_flagperu","emote_flagaustria","emote_flagargentina","emote_flagjapan","emote_flagvenezuela","emote_flagvietnam","emote_flagswitzerland","emote_flagnetherlands","emote_flagchina","emote_flagtaiwan","emote_flagchile","emote_flagaustralia","emote_flagdenmark","emote_flagitaly","emote_flagsweden","emote_flagecuador","emote_flagslovakia","emote_flaghungary","emote_flagromania","emote_flaghongkong","emote_flagindonesia","emote_flagfinland","emote_flagnorway","emote_heart","emote_sleepy","emote_flex","emote_angryface","emote_upsidedownface","emote_teabag","emote_alienface","emote_flagbelarus","emote_flagbelgium","emote_flagkazakhstan","emote_egg","emote_police","emote_dabface","emote_flagmalaysia","emote_flagnewzealand","emote_logosurviv","emote_logoegg","emote_logoswine","emote_logohydra","emote_logostorm","emote_flaghonduras","emote_logocaduceus","emote_impface","emote_monocleface","emote_sunglassface","emote_headshotface","emote_potato","emote_leek","emote_eggplant","emote_baguette","emote_chick","emote_flagbolivia","emote_flagcroatia","emote_flagindia","emote_flagisrael","emote_flaggeorgia","emote_flaggreece","emote_flagguatemala","emote_flagportugal","emote_flagserbia","emote_flagsingapore","emote_flagtrinidad","emote_flaguruguay","emote_logoconch","emote_pineapple","emote_coconut","emote_crab","emote_whale","emote_logometeor","emote_salt","emote_disappointface","emote_logocrossing","emote_fish","emote_campfire","emote_chickendinner","emote_cattle","emote_icecream","emote_cupcake","emote_donut","emote_logohatchet","emote_acorn","emote_trunk","emote_forest","emote_pumpkin","emote_candycorn","emote_pilgrimhat","emote_turkeyanimal","emote_heartface","emote_logochrysanthemum","emote_santahat","emote_snowman","emote_snowflake","emote_flagmorocco","emote_flagestonia","emote_flagalgeria","emote_flagegypt","emote_flagazerbaijan","emote_flagalbania","emote_flaglithuania","emote_flaglatvia","emote_flaguae","emote_flagdominicanrepublic","emote_logocloud"]},unlock_new_account:{type:"unlock",name:"new-account",free:!0,unlocks:["outfitDarkShirt"]}};e.exports=r},be22c643:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=(a("989ad62a"),a("34e32c48")),s=a("6b42806d"),n=a("10899aea"),l=a("7b5bbf6e"),c=a("c2a798c8"),m=function{function e(t,a,i,m,p){r(this,e),this.spline=new l(t,i),this.waterWidth=a,this.shoreWidth=n.clamp(.75*a,4,8),this.looped=i,this.center=c.create(0,0);for(var h=0;h<this.spline.points.length;h++)this.center=c.add(this.center,this.spline.points[h]);this.center=c.div(this.center,this.spline.points.length);for(var d=0,u=0;u<this.spline.points.length;u++)d+=c.length(c.sub(this.spline.points[u],this.center));d/=this.spline.points.length;var g=c.mul(c.sub(p.max,p.min),.5),y=c.add(p.min,g);this.waterPoly=[],this.shorePoly=[],this.waterWidths=[],this.shoreWidths=[];for(var w=0;w<t.length;w++){var f=t[w],b=this.spline.getNormal(w/(t.length-1)),_=!1;if(!this.looped&&(0==w||w==t.length-1)){var x=c.sub(f,y),S=c.create(0,0),v=c.create(1,0);if(Math.abs(x.x)>Math.abs(x.y)?(S=c.create(x.x>0?p.max.x:p.min.x,f.y),v=c.create(x.x>0?1:-1,0)):(S=c.create(f.x,x.y>0?p.max.y:p.min.y),v=c.create(0,x.y>0?1:-1)),c.lengthSqr(c.sub(S,f))<1){var z=c.perp(v);c.dot(b,z)<0&&(z=c.neg(z)),b=z,_=!0}}var k=this.waterWidth;if(!this.looped){var I=t.length,T=2*(Math.max(1-w/I,w/I)-.5);k=(1+1.5*Math.pow(T,3))*this.waterWidth}this.waterWidths.push(k);for(var M=this.shoreWidth,C=null,P=0;P<m.length;P++){var A=m[P],O=A.spline.getClosestTtoPoint(f),E=A.spline.getPos(O),D=c.length(c.sub(E,f));D<2*A.waterWidth&&(M=n.max(M,A.shoreWidth)),(0==w||w==t.length-1)&&D<1.5&&!_&&(C=A)}w>0&&(M=(this.shoreWidths[w-1]+M)/2),this.shoreWidths.push(M),M+=k;var B=function(e,t,a){var r=c.add(e,t);if(!n.pointInsidePolygon(r,a)){var i=n.rayPolygonIntersect(e,t,a);if(i)return c.mul(t,i)}return t},R=void 0,L=void 0,F=void 0,q=void 0;if(this.looped){var j=c.sub(f,this.center),N=c.length(j);j=N>1e-4?c.div(j,N):c.create(1,0);var H=n.lerp(Math.pow(n.min(k/d,1),.5),k,(1-(d-k)/N)*N),V=n.lerp(Math.pow(n.min(M/d,1),.5),M,(1-(d-M)/N)*N);R=c.add(f,c.mul(j,k)),L=c.add(f,c.mul(j,-H)),F=c.add(f,c.mul(j,M)),q=c.add(f,c.mul(j,-V))}else{var U=c.mul(b,k),W=c.mul(b,-k),G=c.mul(b,M),K=c.mul(b,-M);C&&(U=B(f,U,C.waterPoly),W=B(f,W,C.waterPoly),G=B(f,G,C.shorePoly),K=B(f,K,C.shorePoly)),R=c.add(f,U),L=c.add(f,W),F=c.add(f,G),q=c.add(f,K)}R=o.clampPosToAabb(R,p),L=o.clampPosToAabb(L,p),F=o.clampPosToAabb(F,p),q=o.clampPosToAabb(q,p),this.waterPoly.splice(w,0,R),this.waterPoly.splice(this.waterPoly.length-w,0,L),this.shorePoly.splice(w,0,F),this.shorePoly.splice(this.shorePoly.length-w,0,q)}for(var X=c.create(Number.MAX_VALUE,Number.MAX_VALUE),Z=c.create(-Number.MAX_VALUE,-Number.MAX_VALUE),Y=0;Y<this.shorePoly.length;Y++)X=c.minElems(X,this.shorePoly[Y]),Z=c.maxElems(Z,this.shorePoly[Y]);this.aabb=s.createAabb(X,Z,0)}return i(e,[{key:"distanceToShore",value:function(e){var t=this.spline.getClosestTtoPoint(e),a=c.length(c.sub(e,this.spline.getPos(t)));return n.max(this.waterWidth-a,0)}},{key:"getWaterWidth",value:function(e){var t=this.spline.points.length,a=n.clamp(Math.floor(e*t),0,t);return this.waterWidths[a]}}]),e};e.exports=m},beeed8a4:function(e,t,a){"use strict";var r={bullet_mp5:{type:"bullet",damage:11,obstacleDamage:1,falloff:.8,distance:100,speed:85,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_ak47:{type:"bullet",damage:13.5,obstacleDamage:1,falloff:.9,distance:200,speed:100,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_scar:{type:"bullet",damage:15,obstacleDamage:1,falloff:.85,distance:175,speed:108,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_an94:{type:"bullet",damage:17.5,obstacleDamage:1,falloff:.94,distance:300,speed:110,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_groza:{type:"bullet",damage:12.5,obstacleDamage:1,falloff:.85,distance:175,speed:104,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_grozas:{type:"bullet",damage:13,obstacleDamage:1,falloff:.87,distance:185,speed:106,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_model94:{type:"bullet",damage:44,obstacleDamage:1,falloff:.75,distance:175,speed:156,variance:0,shrapnel:!1,tracerColor:"45acp",tracerWidth:.12,tracerLength:1},bullet_blr:{type:"bullet",damage:56,obstacleDamage:1,falloff:.9,distance:400,speed:160,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.14,tracerLength:1},bullet_mosin:{type:"bullet",damage:72,obstacleDamage:1.5,falloff:.95,distance:500,speed:178,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.16,tracerLength:1},bullet_sv98:{type:"bullet",damage:80,obstacleDamage:1.5,falloff:.96,distance:520,speed:182,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.2,tracerLength:1},bullet_awc:{type:"bullet",damage:180,obstacleDamage:1.5,falloff:.94,distance:300,speed:136,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"308sub",tracerWidth:.2,tracerLength:1},bullet_scarssr:{type:"bullet",damage:60,obstacleDamage:1.5,falloff:.85,distance:200,speed:108,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"308sub",tracerWidth:.14,tracerLength:1},bullet_m39:{type:"bullet",damage:27,obstacleDamage:1,falloff:.9,distance:400,speed:125,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_svd:{type:"bullet",damage:36,obstacleDamage:1,falloff:.9,distance:425,speed:127,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_garand:{type:"bullet",damage:35,obstacleDamage:1,falloff:.9,distance:400,speed:130,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.12,tracerLength:.9},bullet_buckshot:{type:"bullet",damage:12.5,obstacleDamage:1,falloff:.3,speed:66,distance:27,variance:0,shrapnel:!1,tracerColor:"12gauge",tracerWidth:.1,tracerLength:.8},bullet_flechette:{type:"bullet",damage:8.75,obstacleDamage:1,falloff:.85,speed:88,distance:45,variance:0,shrapnel:!1,tracerColor:"12gauge",tracerWidth:.075,tracerLength:.5},bullet_frag:{type:"bullet",damage:12,obstacleDamage:1,falloff:.3,speed:72,distance:24,variance:0,shrapnel:!1,tracerColor:"frag",tracerWidth:.1,tracerLength:.5,onHit:"explosion_usas"},bullet_slug:{type:"bullet",damage:77,obstacleDamage:1,falloff:.85,speed:118,distance:60,variance:0,shrapnel:!1,tracerColor:"12gauge",tracerWidth:.2,tracerLength:.4},bullet_birdshot:{type:"bullet",damage:4,obstacleDamage:1,falloff:.25,speed:66,distance:25,variance:0,shrapnel:!1,tracerColor:"12gauge",tracerWidth:.1,tracerLength:.1},bullet_m9:{type:"bullet",damage:12,obstacleDamage:1,falloff:.7,speed:85,distance:100,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_m93r:{type:"bullet",damage:12,obstacleDamage:1,falloff:.7,speed:85,distance:100,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_p30l:{type:"bullet",damage:21,obstacleDamage:1,falloff:.75,speed:94,distance:100,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.12,tracerLength:.8},bullet_ot38:{type:"bullet",damage:26,obstacleDamage:1,falloff:.75,speed:112,distance:125,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.09,tracerLength:.8},bullet_ots38:{type:"bullet",damage:32,obstacleDamage:1,falloff:.77,speed:115,distance:135,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"762mm",tracerWidth:.1,tracerLength:.8},bullet_colt45:{type:"bullet",damage:29,obstacleDamage:1,falloff:.7,speed:106,distance:110,variance:0,shrapnel:!1,tracerColor:"45acp",tracerWidth:.09,tracerLength:.8},bullet_m1911:{type:"bullet",damage:14,obstacleDamage:1,falloff:.7,speed:80,distance:88,variance:0,shrapnel:!1,tracerColor:"45acp",tracerWidth:.1,tracerLength:.7},bullet_m1a1:{type:"bullet",damage:13,obstacleDamage:1,falloff:.8,distance:88,speed:80,variance:0,shrapnel:!1,tracerColor:"45acp",tracerWidth:.1,tracerLength:.7},bullet_mkg45:{type:"bullet",damage:28,obstacleDamage:1,falloff:.75,distance:145,speed:126,variance:0,shrapnel:!1,tracerColor:"45acp",tracerWidth:.1,tracerLength:.9},bullet_deagle:{type:"bullet",damage:35,obstacleDamage:1,falloff:.75,speed:115,distance:120,variance:0,shrapnel:!1,tracerColor:"50AE",tracerWidth:.12,tracerLength:.8},bullet_mac10:{type:"bullet",damage:9.25,obstacleDamage:1,falloff:.6,distance:50,speed:75,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_ump9:{type:"bullet",damage:15,obstacleDamage:1,falloff:.75,distance:100,speed:100,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_vector:{type:"bullet",damage:7.5,obstacleDamage:1,falloff:.6,distance:46,speed:88,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_vector45:{type:"bullet",damage:9.5,obstacleDamage:1,falloff:.6,distance:45,speed:82,variance:0,shrapnel:!1,tracerColor:"45acp",tracerWidth:.1,tracerLength:.7},bullet_scorpion:{type:"bullet",damage:10.75,obstacleDamage:1,falloff:.77,distance:120,speed:90,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_vss:{type:"bullet",damage:22,obstacleDamage:1,falloff:.8,distance:125,speed:95,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"9mm",tracerWidth:.1,tracerLength:.8},bullet_dp28:{type:"bullet",damage:14,obstacleDamage:1.5,falloff:.9,distance:225,speed:110,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_bar:{type:"bullet",damage:17.5,obstacleDamage:1.75,falloff:.9,distance:275,speed:114,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_pkp:{type:"bullet",damage:18,obstacleDamage:2,falloff:.9,distance:200,speed:120,variance:0,shrapnel:!1,tracerColor:"762mm",tracerWidth:.1,tracerLength:.9},bullet_glock:{type:"bullet",damage:9,obstacleDamage:1,falloff:.5,speed:70,distance:44,variance:0,shrapnel:!1,tracerColor:"9mm",tracerWidth:.1,tracerLength:.7},bullet_famas:{type:"bullet",damage:17,obstacleDamage:1,falloff:.8,distance:150,speed:110,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_hk416:{type:"bullet",damage:11,obstacleDamage:1,falloff:.85,distance:175,speed:105,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_m4a1:{type:"bullet",damage:14,obstacleDamage:1,falloff:.82,distance:165,speed:98,variance:0,shrapnel:!1,suppressed:!0,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_mk12:{type:"bullet",damage:22.5,obstacleDamage:1,falloff:.9,distance:400,speed:132,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_l86:{type:"bullet",damage:26.5,obstacleDamage:1,falloff:.9,distance:425,speed:134,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_m249:{type:"bullet",damage:14,obstacleDamage:1.75,falloff:.9,distance:220,speed:125,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_qbb97:{type:"bullet",damage:14,obstacleDamage:1.5,falloff:.9,distance:200,speed:118,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.1,tracerLength:.9},bullet_scout:{type:"bullet",damage:56,obstacleDamage:1,falloff:.92,distance:450,speed:164,variance:0,shrapnel:!1,tracerColor:"556mm",tracerWidth:.14,tracerLength:.95},bullet_flare:{type:"bullet",damage:0,obstacleDamage:1,falloff:10,distance:16,speed:4,variance:0,shrapnel:!1,tracerColor:"flare",tracerWidth:.3,tracerLength:1.2,flareColor:16733184,addFlare:!0,maxFlareScale:2,skipCollision:!0},bullet_potato:{type:"bullet",damage:0,obstacleDamage:1,falloff:1,distance:1,speed:100,variance:0,shrapnel:!1,tracerColor:"potato",tracerWidth:0,tracerLength:1.2,skipCollision:!0},shrapnel_barrel:{type:"bullet",damage:2,obstacleDamage:1,falloff:1,speed:20,distance:8,variance:1.5,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.125,tracerLength:.6},shrapnel_stove:{type:"bullet",damage:5,obstacleDamage:2.5,falloff:1,speed:30,distance:24,variance:1.5,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.125,tracerLength:.6},shrapnel_frag:{type:"bullet",damage:20,obstacleDamage:1,falloff:1,speed:20,distance:8,variance:1.5,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.125,tracerLength:.6},shrapnel_strobe:{type:"bullet",damage:3,obstacleDamage:1,falloff:1,speed:20,distance:3,variance:1.5,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.1,tracerLength:.3},shrapnel_usas:{type:"bullet",damage:5,obstacleDamage:1,falloff:1,speed:20,distance:5,variance:1.2,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.1,tracerLength:.5},shrapnel_mirv_mini:{type:"bullet",damage:6,obstacleDamage:1,falloff:1,speed:20,distance:5,variance:1.3,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.1,tracerLength:.5},shrapnel_bomb_iron:{type:"bullet",damage:40,obstacleDamage:1,falloff:1,speed:24,distance:12,variance:1.5,shrapnel:!0,tracerColor:"shrapnel",tracerWidth:.125,tracerLength:.6}};e.exports=r},c2a798c8:function(e,t,a){"use strict";function r(e,t){return e<t?e:t}function i(e,t){return e>t?e:t}var o={create:function(e,t){return{x:e,y:void 0!==t?t:e}},copy:function(e){return{x:e.x,y:e.y}},set:function(e,t){e.x=t.x,e.y=t.y},add:function(e,t){return{x:e.x+t.x,y:e.y+t.y}},sub:function(e,t){return{x:e.x-t.x,y:e.y-t.y}},mul:function(e,t){return{x:e.x*t,y:e.y*t}},div:function(e,t){return{x:e.x/t,y:e.y/t}},neg:function(e){return{x:-e.x,y:-e.y}},lengthSqr:function(e){return e.x*e.x+e.y*e.y},length:function(e){return Math.sqrt(o.lengthSqr(e))},normalize:function(e){var t=o.length(e);return{x:t>1e-6?e.x/t:e.x,y:t>1e-6?e.y/t:e.y}},normalizeSafe:function(e,t){t=t||o.create(1,0);var a=o.length(e);return{x:a>1e-6?e.x/a:t.x,y:a>1e-6?e.y/a:t.y}},dot:function(e,t){return e.x*t.x+e.y*t.y},perp:function(e){return{x:-e.y,y:e.x}},proj:function(e,t){return o.mul(t,o.dot(e,t)/o.dot(t,t))},rotate:function(e,t){var a=Math.cos(t),r=Math.sin(t);return{x:e.x*a-e.y*r,y:e.x*r+e.y*a}},mulElems:function(e,t){return{x:e.x*t.x,y:e.y*t.y}},divElems:function(e,t){return{x:e.x/t.x,y:e.y/t.y}},minElems:function(e,t){return{x:r(e.x,t.x),y:r(e.y,t.y)}},maxElems:function(e,t){return{x:i(e.x,t.x),y:i(e.y,t.y)}},randomUnit:function{return o.normalizeSafe(o.create(Math.random-.5,Math.random-.5),o.create(1,0))},lerp:function(e,t,a){return o.add(o.mul(t,1-e),o.mul(a,e))},eq:function(e,t,a){var r=void 0!==a?a:1e-4;return Math.abs(e.x-t.x)<=r&&Math.abs(e.y-t.y)<=r}};e.exports=o},c347b8dd:function(e,t,a){"use strict";function r(e){var t=h[e.type],a="building"==t.type||"structure"==t.type?1.15:1,r=[l.transform(c.getBoundingCollider(e.type),e.pos,e.rot,e.scale*a)];if(void 0!==t.bridgeLandBounds)for(var i=0;i<t.bridgeLandBounds.length;i++)r.push(l.transform(t.bridgeLandBounds[i],e.pos,e.rot,e.scale));for(var o=0;o<r.length;o++)p.addCollider(r[o],16777215,0)}function i(e){var t=h[e.type],a="building"==t.type||"structure"==t.type?1.1:1,r=[l.transform(c.getBoundingCollider(e.type),e.pos,e.rot,e.scale*a)];if(void 0!==t.mapObstacleBounds){r=[];for(var i=0;i<t.mapObstacleBounds.length;i++)r.push(l.transform(t.mapObstacleBounds[i],e.pos,e.rot,e.scale))}for(var o=0;o<r.length;o++)p.addCollider(r[o],255,.1)}function o(e){var t=h[e.type];if(void 0!==t.terrain.waterEdge){var a=t.terrain.waterEdge,r=l.transform(c.getBoundingCollider(e.type),e.pos,e.rot,1.15*e.scale),i=m.add(r.min,m.mul(m.sub(r.max,r.min),.5)),o=m.rotate(a.dir,e.rot),s=function(e,t,a){a<0&&(t=m.neg(t)),p.addRay(e,t,Math.abs(a),16777215,0)};s(i,o,a.distMin),s(m.add(i,m.mul(m.perp(o),.5)),o,a.distMax)}}function s(e){var t=h[e.type];if(void 0!==t.terrain.bridge){for(var a=t.bridgeLandBounds||[],r=0;r<a.length;r++){var i=l.transform(a[r],e.pos,e.rot,e.scale);p.addCollider(i,16742144,0)}for(var o=t.bridgeWaterBounds||[],s=0;s<o.length;s++){var n=l.transform(o[s],e.pos,e.rot,e.scale);p.addCollider(n,30719,0)}var d=c.getBridgeDims(e.type),u=m.rotate(m.create(1,0),e.rot);p.addRay(e.pos,u,.5*d.length,16711680,0),p.addRay(e.pos,m.perp(u),.5*d.width,65280,0);var g=c.getBridgeOverlapCollider(e.type,e.pos,e.rot,e.scale);p.addCollider(g,7799039,0)}}function n(e,t){t=Math.floor(t);for(var a=0;a<t;a++){var r=e.getPos(a/t),i=e.getPos((a+1)/t);p.addLine(r,i,65280,0)}}var l=a("6b42806d"),c=a("7510cc08"),m=a("c2a798c8"),p=a("af8ba00f"),h=a("03f4982a");e.exports={renderMapBuildingBounds:r,renderMapObstacleBounds:i,renderWaterEdge:o,renderBridge:s,renderSpline:n}},c4623452:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=(a("26be8056"),[{region:"na",zone:"sfo",url:"na-sfo-p1.surviv.io"},{region:"na",zone:"mia",url:"na-mia-p1.surviv.io"},{region:"na",zone:"nyc",url:"na-nyc-p1.surviv.io"},{region:"na",zone:"chi",url:"na-chi-p1.surviv.io"},{region:"sa",zone:"sao",url:"sa-sao-p1.surviv.io"},{region:"eu",zone:"fra",url:"eu-fra-p1.surviv.io"},{region:"eu",zone:"waw",url:"eu-waw-p1.surviv.io"},{region:"as",zone:"sgp",url:"as-sgp-p1.surviv.io"},{region:"as",zone:"nrt",url:"as-nrt-p1.surviv.io"},{region:"as",zone:"hkg",url:"as-hkg-p1.surviv.io"},{region:"kr",zone:"sel",url:"kr-sel-p1.surviv.io"}]),s=function{function e{r(this,e),this.ptcDataBuf=new ArrayBuffer(1),this.tests=o.map(function(e){return{region:e.region,zone:e.zone,url:e.url,ping:9999,active:!1,complete:!1,ws:null,sendDelay:0,sendTime:0,sendCount:0,recvCount:0,recvCountMax:6,retryCount:0,retryCountMax:1}}),this.testsStarted=0,this.testsCompleted=0,this.printSummary=!0}return i(e,[{key:"start",value:function(e){if("WebSocket"in window){for(var t=0,a=0;a<this.tests.length;a++){var r=this.tests[a];!r.active&&!r.complete&&-1!==e.indexOf(r.region)&&(r.active=!0,this.testsStarted++,t++)}t>0&&(this.printSummary=!0)}}},{key:"update",value:function(e){for(var t=this,a=function(e){e.active=!1,e.complete=!0,t.testsCompleted++},r=0;r<this.tests.length;r++)!function(r){var i=t.tests[r];if(!i.active)return"continue";if(!i.ws){var o="https:"==window.location.protocol?"wss://":"ws://",s=new WebSocket(o+i.url+"/ptc");s.binaryType="arraybuffer",s.onopen=function{},s.onmessage=function(e){var t=(Date.now-i.sendTime)/1e3;i.ping=Math.min(i.ping,t),i.recvCount++,i.sendDelay=.125},s.onerror=function(e){s.close},s.onclose=function{i.ws=null,i.complete||i.retryCount++>=i.retryCountMax&&a(i)},i.ws=s,i.sendDelay=0,i.sendCount=0,i.recvCount=0}if(i.ws.readyState==i.ws.OPEN){if(i.sendDelay-=e,i.sendCount==i.recvCount&&i.sendDelay<0){i.sendTime=Date.now,i.sendCount++;try{i.ws.send(t.ptcDataBuf)}catch(e){i.ws.close}}i.recvCount>=i.recvCountMax&&(a(i),i.ws.close)}}(r);if(this.printSummary&&this.isComplete){var i=this.tests.sort(function(e,t){return e.ping-t.ping});console.log("Ping test results"),console.log("");for(var r=0;r<i.length;r++){var o=i[r];console.log("region",o.region,"zone ",o.zone,"ping  ",o.ping)}this.printSummary=!1}}},{key:"isComplete",value:function{return this.testsCompleted==this.testsStarted&&this.testsStarted>0}},{key:"getRegionList",value:function{for(var e=[],t=0;t<o.length;t++){var a=o[t].region;-1===e.indexOf(a)&&e.push(a)}return e}},{key:"getRegion",value:function{return this.tests.sort(function(e,t){return e.ping-t.ping}),this.tests[0].region}},{key:"getZones",value:function(e){for(var t=this.tests.sort(function(e,t){return e.ping-t.ping}),a=[],r=0;r<t.length;r++){var i=t[r];i.region==e&&a.push(i.zone)}return a}}]),e};e.exports=s},c60b5e9f:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,a){var r=t-e,i=r*a;return Math.abs(i)<.01?r:i}function n{var e=new h.Graphics;return e.position.set(0,0),e.scale.set(1,1),e.__zOrd=0,e.__zIdx=0,e}function l(e,t,a,r,i){e.moveTo(t,a),e.lineTo(t,a+i),e.lineTo(t+r,a+i),e.lineTo(t+r,a),e.lineTo(t,a),e.closePath}function c(e,t){this.game=e,this.canvasMode=t,this.zIdx=0,this.layer=0,this.layerAlpha=0,this.groundAlpha=0,this.underground=!1,this.layers=[];for(var a=0;a<4;a++)this.layers.push(new g("layer_"+a));this.ground=new h.Graphics,this.ground.alpha=0,this.layerMask=n,this.debugLayerMask=null,this.layerMaskDirty=!0,this.layerMaskActive=!1}var m=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},p=function e(t,a,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,a);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,a,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},h=(a("0e566746"),a("8b1dfb45")),d=(a("6b42806d"),a("10899aea"),a("1901e2d9"),a("c2a798c8")),u=a("f398b7c7"),g=function(e){function t(e){r(this,t);var a=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.debugName=e||"",a.dirty=!0,a}return o(t,e),m(t,[{key:"addSortedChild",value:function(e){p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addChild",this).call(this,e),this.dirty=!0}},{key:"checkSort",value:function{return!!this.dirty&&(this.children.sort(function(e,t){return e.__zOrd==t.__zOrd?e.__zIdx-t.__zIdx:e.__zOrd-t.__zOrd}),this.dirty=!1,!0)}}]),t}(h.Container);c.prototype={n:function{this.layerMask.parent&&this.layerMask.parent.removeChild(this.layerMark),this.layerMask.destroy(!0)},addPIXIObj:function(e,t,a,r){if(!e.transform){var i=new Error,o=JSON.stringify({type:"addChild",stack:i.stack,id:u.instanceId,browser:navigator.userAgent,playing:this.game.playing,gameOver:this.game.gameOver,spectating:this.game.spectating,time:this.game.playingTicker,mode:this.game.teamMode,video:this.game.adManager.isPlayingVideo,layer:t,zOrd:a,zIdx:r});u.logError(o)}void 0===e.__layerIdx&&(e.__layerIdx=-1,e.__zOrd=-1,e.__zIdx=-1);var s=t;2&t&&(s=a>=100?3:2),(e.parent!=this.layers[s]||e.__zOrd!=a||void 0!==r&&e.__zIdx!=r)&&(e.__layerIdx=s,e.__zOrd=a,e.__zIdx=void 0!==r?r:this.zIdx++,this.layers[s].addSortedChild(e))},setActiveLayer:function(e){this.layer=e},setUnderground:function(e){this.underground=e},resize:function(e,t){var a=e.mapLoaded?e.getMapDef.biome.colors.underground:1772803;this.ground.clear,this.ground.beginFill(a),this.ground.drawRect(0,0,t.screenWidth,t.screenHeight),this.ground.endFill,this.layerMaskDirty=!0},redrawLayerMask:function(e,t){var a=this.layerMask;if(this.canvasMode){if(a.clear,this.layerMaskActive){a.beginFill(16777215,1),a.drawRect(0,0,e.screenWidth,e.screenHeight);for(var r=t.Et.p,i=0;i<r.length;i++){var o=r[i];if(o.active)for(var s=0;s<o.mask.length;s++){var n=o.mask[s],c=d.mul(d.sub(n.max,n.min),.5),m=d.add(n.min,c),p=e.pointToScreen(d.sub(m,c)),h=e.pointToScreen(d.add(m,c));a.drawRect(p.x,p.y,h.x-p.x,h.y-p.y)}}a.endFill}}else{if(this.layerMaskDirty){this.layerMaskDirty=!1,a.clear,a.beginFill(16777215,1),l(a,0,0,1024,1024);for(var u=t.Et.p,g=0;g<u.length;g++){var y=u[g];if(y.active)for(var w=0;w<y.mask.length;w++){var f=y.mask[w],b=d.mul(d.sub(f.max,f.min),.5),_=d.add(f.min,b),x=_.x-b.x,S=_.y-b.y,v=2*b.x,z=2*b.y;l(a,x,S,v,z),a.addHole}}a.endFill}var k=e.pointToScreen(d.create(0,0)),I=(e.pointToScreen(d.create(1,0)),e.scaleToScreen(1));a.position.set(k.x,k.y),a.scale.set(I,-I)}},redrawDebugLayerMask:function(e,t){var a=this.debugLayerMask;a.clear,a.beginFill(16711935,1);for(var r=t.Et.p,i=0;i<r.length;i++){var o=r[i];if(o.active)for(var s=0;s<o.mask.length;s++){var n=o.mask[s],c=d.mul(d.sub(n.max,n.min),.5),m=d.add(n.min,c),p=m.x-c.x,h=m.y-c.y,u=2*c.x,g=2*c.y;l(a,p,h,u,g)}}a.endFill;var y=e.pointToScreen(d.create(0,0)),w=(e.pointToScreen(d.create(1,0)),e.scaleToScreen(1));a.position.set(y.x,y.y),a.scale.set(w,-w)},m:function(e,t,a,r){var i=this.layer>0?1:0;this.layerAlpha+=s(this.layerAlpha,i,12*e);var o=1==this.layer&&this.underground?1:0;this.groundAlpha+=s(this.groundAlpha,o,12*e),this.layers[0].alpha=1,this.layers[1].alpha=this.layerAlpha,this.layers[2].alpha=1,this.layers[3].alpha=1,this.ground.alpha=this.groundAlpha,this.layers[0].visible=this.groundAlpha<1,this.layers[1].visible=this.layerAlpha>0,this.ground.visible=this.groundAlpha>0,this.redrawLayerMask(t,a);var n=0==this.layer;n&&!this.layerMaskActive?(this.layers[2].mask=this.layerMask,this.layers[2].addChild(this.layerMask),this.layerMaskActive=!0):!n&&this.layerMaskActive&&(this.layers[2].mask=null,this.layers[2].removeChild(this.layerMask),this.layerMaskActive=!1);for(var l=0,c=0;c<this.layers.length;c++)this.layers[c].checkSort&&l++}},e.exports={RenderGroup:g,tt:c}},c73dee75:function(e,t,a){"use strict";function r(e,t,a,r){var i=Math.atan2(r.y,r.x);return{p0:d.add(a,d.rotate(e,i)),p1:d.add(a,d.rotate(t,i))}}function i(e,t,a,r,i){u[e.bulletType].addFlare?a.addFlare(e,r,i):t.addBullet(e,r,i)}function o(e,t,a,r,i,o,s){for(var n=Math.floor(h.random(1,2)),l=d.mul(r,9.5),c=0;c<n;c++)l=d.rotate(l,(Math.random-.5)*Math.PI/3),o.addParticle(e,i,a,l);s.playGroup(t,{channel:"hits",soundPos:a,layer:i,filter:"muffled"})}function s{this.bullets=[],this.tracerColors={}}var n=a("8b1dfb45"),l=a("34e32c48"),c=a("6b42806d"),m=a("989ad62a"),p=(a("8649e148"),a("10899aea")),h=a("1901e2d9"),d=a("c2a798c8"),u=(a("af8ba00f"),a("beeed8a4")),g=a("721a96bf"),y=a("03f4982a");s.prototype={onMapLoad:function(e){this.tracerColors=h.mergeDeep({},m.tracerColors,e.getMapDef.biome.tracerColors)},addBullet:function(e,t,a){for(var r=null,i=0;i<this.bullets.length;i++)if(!this.bullets[i].alive&&!this.bullets[i].collided){r=this.bullets[i];break}r||(r={},r.alive=!1,r.container=new n.Container,r.container.pivot.set(14.5,0),r.container.visible=!1,r.bulletTrail=n.Sprite.fromImage("player-bullet-trail-02.img"),r.bulletTrail.anchor.set(.5,.5),r.container.addChild(r.bulletTrail),this.bullets.push(r));var o=u[e.bulletType],s=1+e.varianceT*o.variance,l=p.remap(e.distAdjIdx,0,16,-1,1),c=o.distance/Math.pow(m.bullet.reflectDistDecay,e.reflectCount);e.clipDistance&&(c=e.distance),r.alive=!0,r.isNew=!0,r.collided=!1,r.scale=1,r.playerId=e.playerId,r.startPos=d.copy(e.pos),r.pos=d.copy(e.pos),r.dir=d.copy(e.dir),r.layer=e.layer,r.speed=o.speed*s,r.distance=c*s+l,r.damageSelf=o.shrapnel||e.reflectCount>0,r.reflectCount=e.reflectCount,r.reflectObjId=e.reflectObjId,r.whizHeard=!1;var h=Math.atan2(r.dir.x,r.dir.y);r.container.rotation=h-Math.PI/2,r.layer=e.layer;var g=t.Me(r.playerId);g&&2&g.layer&&(r.layer|=2);var y=o.tracerWidth;e.splinterSmall&&(y*=.5),e.trailThick&&(y*=2),r.bulletTrail.scale.set(.8,y),r.tracerLength=o.tracerLength,r.suppressed=!!o.suppressed;var w=this.tracerColors[o.tracerColor],f=w.regular;e.trailSaturated?f=w.chambered||w.saturated:g&&g.surface&&g.surface.data.isBright&&(f=w.saturated),r.bulletTrail.tint=f,r.tracerAlphaRate=w.alphaRate,r.tracerAlphaMin=w.alphaMin,r.bulletTrail.alpha=1,r.reflectCount>0&&(r.bulletTrail.alpha*=.5),r.container.visible=!0,a.addPIXIObj(r.container,r.layer,20)},m:function(e,t,a,i,s,n,u,w){for(var f=t.Ie.p,b=0;b<this.bullets.length;b++){var _=this.bullets[b];if(_.collided&&(_.scale=p.max(_.scale-6*e,0),_.scale<=0&&(_.collided=!1,_.container.visible=!1)),_.alive){var x=_.distance-d.length(d.sub(_.startPos,_.pos)),S=p.min(x,e*_.speed),v=d.copy(_.pos);if(_.pos=d.add(_.pos,d.mul(_.dir,S)),!s.ne.dead&&h.sameAudioLayer(s.layer,_.layer)&&d.length(d.sub(i.pos,_.pos))<7.5&&!_.whizHeard&&_.playerId!=s.__id&&(w.playGroup("bullet_whiz",{soundPos:_.pos,fallOff:4}),_.whizHeard=!0),_.tracerAlphaRate&&_.suppressed){var z=_.tracerAlphaRate;_.bulletTrail.alpha=p.max(_.tracerAlphaMin,_.bulletTrail.alpha*z)}for(var k=[],I=a.ye.p,T=0;T<I.length;T++){var M=I[T];if(!(!M.active||M.dead||!h.sameLayer(M.layer,_.layer)||M.height<m.bullet.height||_.reflectCount>0&&M.__id==_.reflectObjId)){var C=c.intersectSegment(M.collider,v,_.pos);C&&k.push({type:"obstacle",obstacleType:M.type,collidable:M.collidable,point:C.point,normal:C.normal})}}for(var P=0;P<f.length;P++){var A=f[P];if(A.active&&!A.ne.dead&&(h.sameLayer(A.ne.layer,_.layer)||2&A.ne.layer)&&(A.__id!=_.playerId||_.damageSelf)){var O=null;if(A.hasActivePan){var E=A,D=E.getPanSegment,B=r(D.p0,D.p1,E.posOld,E.dirOld),R=r(D.p0,D.p1,E.pos,E.dir),L=l.intersectSegmentSegment(v,_.pos,B.p0,B.p1),F=l.intersectSegmentSegment(v,_.pos,R.p0,R.p1),q=F||L;if(q){var j=d.normalize(d.perp(d.sub(R.p1,R.p0)));O={point:q.point,normal:j}}}var N=l.intersectSegmentCircle(v,_.pos,A.pos,A.rad);if(N&&(!O||d.length(d.sub(N.point,_.startPos))<d.length(d.sub(O.point,_.startPos)))?(k.push({type:"player",player:A,point:N.point,normal:N.normal,layer:A.layer,collidable:!0}),A.hasPerk("steelskin")&&k.push({type:"pan",point:d.add(N.point,d.mul(N.normal,.1)),normal:N.normal,layer:A.layer,collidable:!1})):O&&k.push({type:"pan",point:O.point,normal:O.normal,layer:A.layer,collidable:!0}),N||O)break}}for(var H=0;H<k.length;H++){var V=k[H];V.dist=d.length(d.sub(V.point,v))}k.sort(function(e,t){return e.dist-t.dist});var U=!1,W=t.Me(_.playerId);W&&(W.ne.dead||W.ne.downed)&&(U=!0);for(var G=!1,K=0;K<k.length;K++){var X=k[K];if("obstacle"==X.type){var Z=y[X.obstacleType];o(Z.hitParticle,Z.sound.bullet,X.point,X.normal,_.layer,u,w),G=X.collidable}else if("player"==X.type){if(!U){var Y=X.player,J=d.sub(X.point,Y.pos);J.y*=-1,u.addParticle("bloodSplat",Y.layer,d.mul(J,i.ppu),d.create(0,0),1,1,Y.container),w.playGroup("player_bullet_hit",{soundPos:Y.pos,fallOff:1,layer:Y.layer,filter:"muffled"})}G=X.collidable}else"pan"==X.type&&(o("barrelChip",g.pan.sound.bullet,X.point,X.normal,X.layer,u,w),G=X.collidable);if(G){_.pos=X.point;break}}if(!(2&_.layer)){for(var Q=a.Et.p,$=_.layer,ee=0;ee<Q.length;ee++){var te=Q[ee];if(te.active){for(var ae=!1,re=!1,ie=0;ie<te.stairs.length;ie++){var oe=te.stairs[ie];if(!oe.lootOnly&&c.intersectSegment(oe.collision,_.pos,v)){ae=!0;break}}for(var se=0;se<te.mask.length;se++)if(c.intersectSegment(te.mask[se],_.pos,v)){re=!0;break}ae&&!re&&($|=2)}}$!=_.layer&&(_.layer=$,n.addPIXIObj(_.container,_.layer,20))}(G||p.eqAbs(x,S))&&(_.collided=!0,_.alive=!1),_.isNew=!1}}},createBulletHit:function(e,t,a){var r=e.Me(t);r&&a.playGroup("player_bullet_hit",{soundPos:r.pos,fallOff:1,layer:r.layer,filter:"muffled"})},render:function(e,t){for(var a=(e.pixels(1),0);a<this.bullets.length;a++){var r=this.bullets[a];if(r.alive||r.collided){var i=d.length(d.sub(r.pos,r.startPos)),o=e.pointToScreen(r.pos);r.container.position.set(o.x,o.y);var s=e.pixels(1),n=p.min(15*r.tracerLength,i/2);r.container.scale.set(s*n*r.scale,s)}}}},e.exports={mt:s,createBullet:i,playHitFx:o}},c99e6613:function(e,t,a){"use strict";function r{var e=this;this.nameInput=s("#player-name-input-solo"),this.serverSelect=s("#server-select-main"),this.playMode0Btn=s("#btn-start-mode-0"),this.playMode1Btn=s("#btn-start-mode-1"),this.playMode2Btn=s("#btn-start-mode-2"),this.muteBtns=s(".btn-sound-toggle"),this.aimLineBtn=s("#btn-game-aim-line"),this.masterSliders=s(".sl-master-volume"),this.soundSliders=s(".sl-sound-volume"),this.musicSliders=s(".sl-music-volume"),this.serverWarning=s("#server-warning"),this.languageSelect=s(".language-select"),this.startMenuWrapper=s("#start-menu-wrapper"),this.gameAreaWrapper=s("#game-area-wrapper"),this.playButtons=s(".play-button-container"),this.playLoading=s(".play-loading-outer"),this.errorModal=new I(s("#modal-notification")),this.refreshModal=new I(s("#modal-refresh")),this.config=new y,this.localization=new z,this.adManager=new h.AdManager(this.config),this.account=new p(this.config),this.loadoutMenu=new v(this.account,this.localization,this.adManager),this.profileUi=new M(this.account,this.localization,this.loadoutMenu,this.errorModal),this.pingTest=new T,this.siteInfo=new P(this.config,this.localization),this.audioManager=new g,this.ambience=new u,this.teamMenu=new A(this.config,this.pingTest,this.siteInfo,this.localization,this.audioManager,this.onTeamMenuJoinGame.bind(this),this.onTeamMenuLeave.bind(this)),this.pixi=null,this.resourceManager=null,this.input=null,this.inputBinds=null,this.inputBindUi=null,this.game=null,this.loadoutDisplay=null,this.domContentLoaded=!1,this.configLoaded=!1,this.initialized=!1,this.active=!1,this.sessionId=o.random64,this.contextListener=function(e){e.preventDefault},this.errorMessage="",this.quickPlayPendingModeIdx=-1,this.findGameAttempts=0,this.findGameTime=0,this.pauseTime=0,this.wasPlayingVideo=!1,this.checkedPingTest=!1,this.hasFocus=!0;var t=function{e.config.load(function{e.configLoaded=!0,e.fa})};w.webview&&w.version>"1.0.0"?this.loadWebviewDeps(t):this.loadBrowserDeps(t)}function i{E.domContentLoaded=!0,E.fa}var o=a("26be8056");o.getParameterByName("debug")||(console.log=function{});var s=a("8ee62bea"),n=a("8b1dfb45");n.utils.skipHello;var l=a("989ad62a"),c=a("10899aea"),m=a("300e2704"),p=a("a68e9107"),h=a("2d958752"),d=a("259eae5b"),u=a("0b12821e"),g=a("4b528868"),y=a("6ffe8b70"),w=a("ce29f17f"),f=(a("e5d16b4d"),a("f398b7c7")),b=a("9b5f96fd"),_=a("4b8d140f"),x=a("d306eab6"),S=a("d15c07f3"),v=a("153d9481"),z=a("7d64d541"),k=a("484b3444"),I=a("fa71fb59"),T=a("c4623452"),M=a("3c92d644"),C=a("76205fa7"),P=a("4bc2cf35"),A=a("61fc98e9"),O=a("d3da5587");a("f4d48896"),r.prototype={loadBrowserDeps:function(e){e},loadWebviewDeps:function(e){var t=this;document.addEventListener("deviceready",function{document.addEventListener("pause",function{t.onPause}),document.addEventListener("resume",function{t.onResume}),e},!1),function(e,t,a){var r,i=w.version>="1.0.8"?"cordova/"+w.version:"cordova",o=i+"/"+w.os+"/cordova.js",s=e.getElementsByTagName(t)[0];e.getElementById(a)||(r=e.createElement(t),r.id=a,r.onload=function{},r.src=o,s.parentNode.insertBefore(r,s))}(document,"script","cordova-js")},fa:function{var e=this;if(this.domContentLoaded&&this.configLoaded&&!this.initialized){this.initialized=!0,this.config.teamAutoFill=!0,w.webview?k.applyWebviewStyling(w.tablet):w.mobile&&k.applyMobileBrowserStyling(w.tablet);var t=this.config.get("language")||this.localization.detectLocale;this.config.set("language",t),this.localization.setLocale(t),this.localization.populateLanguageSelect,this.startPingTest,this.siteInfo.load,this.localization.localizeIndex,this.account.init,this.adManager.init,w.webview&&w.version>="1.0.8"&&setTimeout(function{e.adManager.showBannerAd},0),this.nameInput.maxLength=m.Constants.PlayerNameMaxLen,this.playMode0Btn.on("click",function{e.tryQuickStartGame(0)}),this.playMode1Btn.on("click",function{e.tryQuickStartGame(1)}),this.playMode2Btn.on("click",function{e.tryQuickStartGame(2)}),this.serverSelect.change(function{var t=e.serverSelect.find(":selected").val;e.config.set("region",t)}),this.nameInput.on("blur",function(t){e.setConfigFromDOM}),this.muteBtns.on("click",function(t){e.config.set("muteAudio",!e.config.get("muteAudio"))}),this.muteBtns.on("mousedown",function(e){e.stopPropagation}),s(this.masterSliders).on("mousedown",function(e){e.stopPropagation}),s(this.soundSliders).on("mousedown",function(e){e.stopPropagation}),s(this.musicSliders).on("mousedown",function(e){e.stopPropagation}),this.masterSliders.on("input",function(t){var a=s(t.target).val/100;e.audioManager.setMasterVolume(a),e.config.set("masterVolume",a)}),this.soundSliders.on("input",function(t){var a=s(t.target).val/100;e.audioManager.setSoundVolume(a),e.config.set("soundVolume",a)}),this.musicSliders.on("input",function(t){var a=s(t.target).val/100;e.audioManager.setMusicVolume(a),e.config.set("musicVolume",a)}),s(".modal-settings-item").children("input").each(function(t,a){var r=s(a);r.prop("checked",e.config.get(r.prop("id")))}),s(".modal-settings-item > input:checkbox").change(function(t){var a=s(t.target);e.config.set(a.prop("id"),a.is(":checked"))}),s(".btn-fullscreen-toggle").on("click",function{o.toggleFullScreen}),this.languageSelect.on("change",function(t){var a=t.target.value;a&&e.config.set("language",a)}),s("#btn-create-team").on("click",function{e.tryJoinTeam(!0)}),s("#btn-team-mobile-link-join").on("click",function{var t=s("#team-link-input").val.trim,a=t.indexOf("#");a>=0&&(t=t.slice(a+1)),t.length>0?(s("#team-mobile-link").css("display","none"),e.tryJoinTeam(!1,t)):(s("#team-mobile-link-desc").css("display","none"),s("#team-mobile-link-warning").css("display","none").fadeIn(100))}),s("#btn-team-leave").on("click",function{window.history&&window.history.replaceState("","","/"),e.game&&e.game.n,e.teamMenu.leave}),this.setDOMFromConfig,this.setAppActive(!0);var a=document.getElementById("cvs"),r=window.devicePixelRatio>1?2:1;"ios"==w.os&&(n.settings.PRECISION_FRAGMENT="highp");var i=function(e){return new n.Application({width:window.innerWidth,height:window.innerHeight,view:a,antialias:!1,resolution:r,forceCanvas:e})},l=null;try{l=i(!1)}catch(e){l=i(!0)}this.pixi=l,this.pixi.renderer.plugins.interaction.destroy,this.pixi.ticker.add(this.update,this),this.pixi.renderer.backgroundColor=7378501,this.resourceManager=new C.ResourceManager(this.pixi.renderer,this.audioManager,this.config),this.resourceManager.preloadAssets,this.input=new _.ke(document.getElementById("game-touch-area")),this.inputBinds=new x.InputBinds(this.input,this.config),this.inputBindUi=new x.InputBindUi(this.input,this.inputBinds);var c=function{e.loadoutDisplay.n,e.game.o,e.findGameAttempts=0,e.ambience.onGameStart,e.adManager.onGameStart},p=function(t){e.game.n,e.errorMessage=e.localization.translate(t||""),e.teamMenu.onGameComplete,e.ambience.onGameComplete(e.audioManager),e.setAppActive(!0),e.setPlayLockout(!1),e.loadoutMenu.resetAdRefresh,"index-invalid-protocol"==t&&e.showInvalidProtocolModal};this.game=new b.aa(this.pixi,this.audioManager,this.localization,this.config,this.input,this.inputBinds,this.inputBindUi,this.adManager,this.ambience,this.resourceManager,c,p),this.loadoutDisplay=new S.LoadoutDisplay(this.pixi,this.audioManager,this.config,this.inputBinds,this.account),this.loadoutMenu.loadoutDisplay=this.loadoutDisplay,this.onResize,this.tryJoinTeam(!1),k.setupModals(this.inputBinds,this.inputBindUi),O.loadStaticDomImages,this.onConfigModified,this.config.addModifiedListener(this.onConfigModified.bind(this))}},onUnload:function{this.teamMenu.leave},onResize:function{w.onResize,k.onResize,this.loadoutMenu.onResize,this.pixi&&this.pixi.renderer.resize(w.screenWidth,w.screenHeight),this.game&&this.game.initialized&&this.game.jt,this.loadoutDisplay&&this.loadoutDisplay.initialized&&this.loadoutDisplay.jt,this.refreshUi},onPause:function{w.webview&&(this.pauseTime=Date.now,this.audioManager.setMute(!0),"ios"==w.os&&this.pixi&&this.pixi.ticker.remove(this.pixi.render,this.pixi))},onResume:function{w.webview&&(this.game&&this.game.playing&&Date.now-this.pauseTime>3e4?window.location.reload(!0):this.audioManager.setMute(this.config.get("muteAudio")),"ios"==w.os&&this.pixi&&this.pixi.ticker.add(this.pixi.render,this.pixi,n.UPDATE_PRIORITY.LOW))},startPingTest:function{var e=this.config.get("regionSelected")?[this.config.get("region")]:this.pingTest.getRegionList;this.pingTest.start(e)},setAppActive:function(e){this.active=e,this.quickPlayPendingModeIdx=-1,this.sessionGames++,this.refreshUi,e&&this.errorModal.hide},setPlayLockout:function(e){var t=this,a=e?0:1e3;this.playButtons.stop.delay(a).animate({opacity:e?.5:1},250),this.playLoading.stop.delay(a).animate({opacity:e?1:0},{duration:250,start:function{t.playLoading.css({"pointer-events":e?"initial":"none"})}})},onTeamMenuJoinGame:function(e){var t=this;this.waitOnAccount(function{t.joinGame(e)})},onTeamMenuLeave:function(e){e&&""!=e&&window.history&&window.history.replaceState("","","/"),this.errorMessage=e,this.setDOMFromConfig,this.refreshUi},setConfigFromDOM:function{var e=o.sanitizeNameInput(this.nameInput.val);this.config.set("playerName",e);var t=this.serverSelect.find(":selected").val;this.config.set("region",t)},setDOMFromConfig:function{var e=this;this.nameInput.val(this.config.get("playerName")),this.serverSelect.find("option").each(function(t,a){a.selected=a.value==e.config.get("region")}),this.languageSelect.val(this.config.get("language"))},onConfigModified:function(e){var t=this.config.get("muteAudio");t!=this.audioManager.mute&&(this.muteBtns.removeClass(t?"audio-on-icon":"audio-off-icon"),this.muteBtns.addClass(t?"audio-off-icon":"audio-on-icon"),this.audioManager.setMute(t));var a=this.config.get("masterVolume");this.masterSliders.val(100*a),this.audioManager.setMasterVolume(a);var r=this.config.get("soundVolume");this.soundSliders.val(100*r),this.audioManager.setSoundVolume(r);var i=this.config.get("musicVolume");if(this.musicSliders.val(100*i),this.audioManager.setMusicVolume(i),"language"==e){var o=this.config.get("language");this.localization.setLocale(o)}"region"==e&&(this.config.set("regionSelected",!0),this.startPingTest),"highResTex"==e&&location.reload},refreshUi:function{var e=this;this.startMenuWrapper.css("display",this.active?"flex":"none"),this.gameAreaWrapper.css({display:this.active?"none":"block",opacity:this.active?0:1}),this.active?(s("body").removeClass("user-select-none"),document.removeEventListener("contextmenu",this.contextListener)):(s("body").addClass("user-select-none"),s("#start-main").stop(!0),document.addEventListener("contextmenu",this.contextListener)),s("#ad-block-left").css("display",!w.isLandscape&&this.teamMenu.active?"none":"block");var t=this.active&&""!=this.errorMessage;this.serverWarning.css({display:"block",opacity:t?1:0}),this.serverWarning.html(this.errorMessage);var a=function(t,a){t.html(e.quickPlayPendingModeIdx===a?' ':e.localization.translate(t.data("l10n")))};a(this.playMode0Btn,0),a(this.playMode1Btn,1),a(this.playMode2Btn,2)},waitOnAccount:function(e){var t=this;if(0==this.account.requestsInFlight)e;else{var a=(Date.now,setTimeout(function{r,f.storeGeneric("account","wait_timeout")},2500)),r=function r{e,clearTimeout(a),t.account.removeEventListener("requestsComplete",r)};this.account.addEventListener("requestsComplete",r)}},tryJoinTeam:function(e,t){if(this.active&&-1===this.quickPlayPendingModeIdx){var a=t||window.location.hash.slice(1);(e||""!=a)&&(this.setConfigFromDOM,this.teamMenu.connect(e,a),this.refreshUi)}},tryQuickStartGame:function(e){var t=this;if(-1===this.quickPlayPendingModeIdx){this.errorMessage="",this.quickPlayPendingModeIdx=e,this.setConfigFromDOM,this.refreshUi;var a=0;this.findGameAttempts>0&&Date.now-this.findGameTime<3e4?a=Math.min(2.5*this.findGameAttempts*1e3,7500):this.findGameAttempts=0,this.findGameTime=Date.now,this.findGameAttempts++;var r=l.protocolVersion,i=this.config.get("region"),s=o.getParameterByName("region");void 0!==s&&s.length>0&&(i=s);var n=this.pingTest.getZones(i),c=o.getParameterByName("zone");void 0!==c&&c.length>0&&(n=[c]);var m={version:r,region:i,zones:n,playerCount:1,autoFill:!0,gameModeIdx:e},p=function{t.waitOnAccount(function{t.findGame(m,function(e,a){if(e)return void t.onJoinGameError(e);t.joinGame(a)})})};0==a?p:setTimeout(function{p},a)}},findGame:function(e,t){!function a(r,i){if(r>=i)return void t("full");var o=function{setTimeout(function{a(r+1,i)},500)};s.ajax({type:"POST",url:d.resolveUrl("/api/find_game"),data:JSON.stringify(e),contentType:"application/json; charset=utf-8",timeout:1e4,success:function(e){if(e&&e.err&&"full"!=e.err)return void t(e.err);var a=e&&e.res?e.res[0]:null;a&&a.hosts&&a.addrs?t(null,a):o},error:function(e){o}})}(0,2)},joinGame:function(e){var t=this;if(!this.game)return void setTimeout(function{t.joinGame(e)},250);for(var a="https:"==window.location.protocol||e&&e.useHttps,r=a?"wss:":"ws:",i=(a?e.hosts:e.addrs)||[],o=[],s=0;s<i.length;s++)o.push(r+"//"+i[s]+"/play?gameId="+e.gameId);!function e(a,r){var i=a.shift;if(!i)return void t.onJoinGameError("join_game_failed");console.log("Joining",i,r.zone);var o=function{e(a,r)};t.game.Ke(i,r.data,t.account.loadoutPriv,o)}(o,e)},onJoinGameError:function(e){var t={full:this.localization.translate("index-failed-finding-game"),invalid_protocol:this.localization.translate("index-invalid-protocol"),join_game_failed:this.localization.translate("index-failed-joining-game")};"invalid_protocol"==e&&this.showInvalidProtocolModal,this.errorMessage=t[e]||t.full,this.quickPlayPendingModeIdx=-1,this.teamMenu.leave("join_game_failed"),this.refreshUi},showInvalidProtocolModal:function{this.refreshModal.show(!0)},update:function{var e=c.clamp(this.pixi.ticker.elapsedMS/1e3,.001,1/8);if(this.pingTest.update(e),!this.checkedPingTest&&this.pingTest.isComplete){if(!this.config.get("regionSelected")){var t=this.pingTest.getRegion;t&&(this.config.set("region",t),this.setDOMFromConfig)}this.checkedPingTest=!0}if(this.resourceManager.update(e),this.audioManager.m(e),this.ambience.update(e,this.audioManager,!this.active),this.teamMenu.update(e),this.wasPlayingVideo!=this.adManager.isPlayingVideo){var a=this.adManager.isPlayingVideo?0:this.config.get("masterVolume");this.audioManager.setMasterVolume(a)}this.wasPlayingVideo=this.adManager.isPlayingVideo,this.game&&this.game.initialized&&this.game.playing&&(this.active&&(this.setAppActive(!1),this.setPlayLockout(!0)),this.game.m(e)),this.active&&this.loadoutDisplay&&this.game&&!this.game.initialized&&(this.loadoutMenu.active?(this.loadoutDisplay.initialized||this.loadoutDisplay.o,this.loadoutDisplay.show,this.loadoutDisplay.m(e,this.hasFocus)):this.loadoutDisplay.hide),!this.active&&this.loadoutMenu.active&&this.loadoutMenu.hide,this.input.flush}},a("927ff3fc"),function{var e=a("b4f03d8a");!function(e){var t=document.createElement("style");t.innerHTML=e.toString,document.body.appendChild(t)}(e)};var E=new r;document.addEventListener("DOMContentLoaded",i),window.addEventListener("load",i),window.addEventListener("unload",function(e){E.onUnload}),"#_=_"==window.location.hash&&(window.location.hash="",history.pushState("",document.title,window.location.pathname)),window.addEventListener("resize",function{E.onResize}),window.addEventListener("hashchange",function{E.tryJoinTeam(!1)}),window.addEventListener("beforeunload",function(e){if(E.game&&E.game.Nt&&!w.webview){var t="Do you want to reload the game?";return e.returnValue=t,t}}),window.addEventListener("onfocus",function{E.hasFocus=!0}),window.addEventListener("onblur",function{E.hasFocus=!1});var D=[];window.onerror=function(e,t,a,r,i){e=e||"undefined_error_msg";var s=i?i.stack:"";if(-1!=e.indexOf("').innerText")||-1!=s.indexOf("cdn.rawgit.com")||-1!=s.indexOf("chrome-extension://"))return void o.H;var n={msg:e,id:E.sessionId,url:t,line:a,column:r,stacktrace:s,browser:navigator.userAgent,protocol:l.protocolVersion},c=JSON.stringify(n);-1===D.indexOf(c)&&(D.push(c),/tpc.googlesyndication.com/.test(c)||"Script error."==e||(/surviv\.io\/js\/.*\.js/.test(c)?-1!==n.msg.indexOf("TypeError: null is not an object (evaluating 'e.transform._parentID=-1')")?f.logError(c):f.logWindowOnAppError(c):f.logWindowOnError(c)))}},c9e7c67c:function(e,t,a){"use strict";function r(e){var t={width:64,height:64};return{width:4*Math.round(t.width*e.size/4),height:4*Math.round(t.height*e.size/4)}}function i(e){var t=l[e.type],a=r(e),i=n.rgbToHex(n.intToRgb(e.color)),o=e.stroke,s=t.code.replace(/white/g,i);return s=s.replace(/stroke-width=".5"/g,'stroke-width="'+o+'"'),s=s.replace(/width="64"/g,'width="'+a.width+'"'),s=s.replace(/height="64"/g,'height="'+a.height+'"'),"url('data:image/svg+xml;utf8,"+(s=s.replace(/#/g,"%23"))+"')"}function o(e){var t=r(e);return i(e)+" "+t.width/2+" "+t.height/2+", crosshair"}var s=a("8ee62bea"),n=a("1901e2d9"),l=(a("26be8056"),a("f3db70d7")),c={getCursorURL:function(e){return i(e)},setElemCrosshair:function(e,t){var a="crosshair",r=l[t.type];r&&(a=r.cursor?r.cursor:o(t)),e.css({cursor:a})},setGameCrosshair:function(e){c.setElemCrosshair(s("#game-area-wrapper"),e);var t=l[e.type],a=!t||t.cursor?"pointer":"inherit";s(".ui-zoom, .ui-medical, .ui-settings-button, .ui-weapon-switch").css({cursor:a})}};e.exports=c},ccb6ad93:function(e,t,a){"use strict";function r(e,t){return i.mergeDeep({},o[e],{baseType:e},t)}var i=a("1901e2d9"),o={fists:{name:"Fists",type:"melee",quality:0,autoAttack:!1,switchDelay:.25,damage:24,obstacleDamage:1,headshotMult:1,attack:{offset:{x:1.35,y:0},rad:.9,damageTimes:[.1],cooldownTime:.25},speed:{equip:1},anim:{idlePose:"fists",attackAnims:["fists"]},sound:{swing:"punch_swing_01",deploy:"stow_weapon_01",playerHit:"punch_hit_01"},lootImg:{sprite:"loot-weapon-fists.img",scale:.3,rad:25,tint:65280}},karambit:{name:"Karambit",type:"melee",quality:0,autoAttack:!1,switchDelay:.25,damage:24,obstacleDamage:1,headshotMult:1,noPotatoSwap:!0,attack:{offset:{x:1.35,y:0},rad:.9,damageTimes:[.1],cooldownTime:.25},speed:{equip:1},anim:{idlePose:"slash",attackAnims:["slash","fists"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"knife_deploy_01",playerHit:"knife_hit_01"},lootImg:{sprite:"loot-melee-karambit-rugged.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,mirror:!0,rot:2.35619},worldImg:{sprite:"loot-melee-karambit-rugged.img",pos:{x:15.5,y:-5},rot:.5*Math.PI,scale:{x:.35,y:.35},tint:16777215}},bayonet:{name:"Bayonet",type:"melee",quality:0,autoAttack:!1,switchDelay:.25,damage:24,obstacleDamage:1,headshotMult:1,noPotatoSwap:!0,attack:{offset:{x:1.35,y:0},rad:.9,damageTimes:[.1],cooldownTime:.25},speed:{equip:1},anim:{idlePose:"fists",attackAnims:["cut","thrust"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"knife_deploy_01",playerHit:"knife_hit_01"},lootImg:{sprite:"loot-melee-bayonet-rugged.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:.785},worldImg:{sprite:"loot-melee-bayonet-rugged.img",pos:{x:-.5,y:-32.5},rot:.785,scale:{x:.35,y:.35},tint:16777215}},huntsman:{name:"Huntsman",type:"melee",quality:0,autoAttack:!1,switchDelay:.25,damage:24,obstacleDamage:1,headshotMult:1,noPotatoSwap:!0,attack:{offset:{x:1.35,y:0},rad:.9,damageTimes:[.1],cooldownTime:.25},speed:{equip:1},anim:{idlePose:"fists",attackAnims:["cut","thrust"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"knife_deploy_01",playerHit:"knife_hit_01"},lootImg:{sprite:"loot-melee-huntsman-rugged.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:.785},worldImg:{sprite:"loot-melee-huntsman-rugged.img",pos:{x:2.5,y:-35.5},rot:.82,scale:{x:.35,y:.35},tint:16777215}},bowie:{name:"Bowie",type:"melee",quality:0,autoAttack:!1,switchDelay:.25,damage:24,obstacleDamage:1,headshotMult:1,noPotatoSwap:!0,attack:{offset:{x:1.35,y:0},rad:.9,damageTimes:[.1],cooldownTime:.25},speed:{equip:1},anim:{idlePose:"fists",attackAnims:["cut","thrust"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"knife_deploy_01",playerHit:"knife_hit_01"},lootImg:{sprite:"loot-melee-bowie-vintage.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:.785},worldImg:{sprite:"loot-melee-bowie-vintage.img",pos:{x:-.5,y:-32.5},rot:.785,scale:{x:.35,y:.35},tint:16777215}},machete:{name:"Machete",type:"melee",quality:1,cleave:!0,autoAttack:!1,switchDelay:.25,damage:33,obstacleDamage:1,headshotMult:1,noPotatoSwap:!0,attack:{offset:{x:1.5,y:0},rad:1.75,damageTimes:[.12],cooldownTime:.3},speed:{equip:1},anim:{idlePose:"machete",attackAnims:["cutReverse"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"knife_deploy_01",playerHit:"knife_hit_01"},lootImg:{sprite:"loot-melee-machete-taiga.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:.785},worldImg:{sprite:"loot-melee-machete-taiga.img",pos:{x:-2.5,y:-48.5},rot:1.885,scale:{x:.35,y:.35},tint:16777215}},saw:{name:"Saw",type:"melee",quality:1,cleave:!0,autoAttack:!1,switchDelay:.25,damage:44,obstacleDamage:1,headshotMult:1,noPotatoSwap:!0,attack:{offset:{x:2,y:0},rad:1.75,damageTimes:[.1,.5],cooldownTime:.7},speed:{equip:1},anim:{idlePose:"machete",attackAnims:["sawSwing"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"knife_deploy_01",playerHit:"knife_hit_01",playerHit2:"saw_hit_01"},lootImg:{sprite:"loot-melee-bonesaw-rusted.img",mirror:!0,tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:.785},worldImg:{sprite:"loot-melee-bonesaw-rusted.img",pos:{x:-2.5,y:-48.5},rot:1.885,scale:{x:.35,y:.35},tint:16777215}},woodaxe:{name:"Wood Axe",type:"melee",quality:0,armorPiercing:!0,autoAttack:!1,switchDelay:.25,damage:36,obstacleDamage:1.92,headshotMult:1,attack:{offset:{x:1.35,y:0},rad:1,damageTimes:[.18],cooldownTime:.36},speed:{equip:1},anim:{idlePose:"meleeTwoHanded",attackAnims:["axeSwing"]},sound:{pickup:"heavy_pickup_01",swing:"heavy_swing_01",deploy:"stow_weapon_01",playerHit:"axe_hit_01"},lootImg:{sprite:"loot-melee-woodaxe.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,mirror:!0,rot:2.35619},worldImg:{sprite:"loot-melee-woodaxe.img",pos:{x:-12.5,y:-16},rot:1.2,scale:{x:.35,y:.35},tint:16777215,leftHandOntop:!0}},fireaxe:{name:"Fire Axe",type:"melee",quality:1,armorPiercing:!0,autoAttack:!1,switchDelay:.25,damage:44,obstacleDamage:2.4,headshotMult:1,attack:{offset:{x:1.35,y:0},rad:1,damageTimes:[.21],cooldownTime:.42},speed:{equip:1},anim:{idlePose:"meleeTwoHanded",attackAnims:["axeSwing"]},sound:{pickup:"heavy_pickup_01",swing:"heavy_swing_01",deploy:"stow_weapon_01",playerHit:"axe_hit_01"},lootImg:{sprite:"loot-melee-fireaxe.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,mirror:!0,rot:2.35619},worldImg:{sprite:"loot-melee-fireaxe.img",pos:{x:-12.5,y:-4},rot:1.2,scale:{x:.35,y:.35},tint:16777215,leftHandOntop:!0}},katana:{name:"Katana",type:"melee",quality:0,armorPiercing:!0,cleave:!0,autoAttack:!1,switchDelay:.25,damage:40,obstacleDamage:1.5,headshotMult:1,attack:{offset:{x:1.75,y:0},rad:2,damageTimes:[.2],cooldownTime:.4},speed:{equip:1},anim:{idlePose:"meleeKatana",attackAnims:["katanaSwing"]},sound:{pickup:"frag_pickup_01",swing:"medium_swing_01",deploy:"stow_weapon_01",playerHit:"knife_hit_01"},lootImg:{sprite:"loot-melee-katana.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,mirror:!0,rot:2.35619},worldImg:{sprite:"loot-melee-katana.img",pos:{x:52.5,y:-2},rot:3,scale:{x:.35,y:.35},tint:16777215,leftHandOntop:!0}},naginata:{name:"Naginata",type:"melee",quality:1,armorPiercing:!0,cleave:!0,autoAttack:!1,switchDelay:.25,damage:56,obstacleDamage:1.92,headshotMult:1,attack:{offset:{x:3.5,y:0},rad:2,damageTimes:[.27],cooldownTime:.54},speed:{equip:1},anim:{idlePose:"meleeNaginata",attackAnims:["naginataSwing"]},sound:{pickup:"heavy_pickup_01",swing:"heavy_swing_01",deploy:"stow_weapon_01",playerHit:"axe_hit_01"},lootImg:{sprite:"loot-melee-naginata.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,mirror:!0,rot:2.35619},worldImg:{sprite:"loot-melee-naginata.img",pos:{x:42.5,y:-3},rot:1.9,scale:{x:.35,y:.35},tint:16777215,leftHandOntop:!0}},stonehammer:{name:"Stone Hammer",type:"melee",quality:1,armorPiercing:!0,stonePiercing:!0,autoAttack:!1,switchDelay:.25,damage:60,obstacleDamage:1.92,headshotMult:1,attack:{offset:{x:1.35,y:0},rad:1,damageTimes:[.25],cooldownTime:.5},speed:{equip:1},anim:{idlePose:"meleeTwoHanded",attackAnims:["hammerSwing"]},sound:{pickup:"heavy_pickup_01",swing:"heavy_swing_01",deploy:"stow_weapon_01",playerHit:"axe_hit_01"},lootImg:{sprite:"loot-melee-stonehammer.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,mirror:!0,rot:2.35619},worldImg:{sprite:"loot-melee-stonehammer.img",pos:{x:-12.5,y:-4},rot:1.2,scale:{x:.35,y:.35},tint:16777215,leftHandOntop:!0}},hook:{name:"Hook",type:"melee",quality:1,autoAttack:!0,switchDelay:.25,damage:18,obstacleDamage:1,headshotMult:1,attack:{offset:{x:1.5,y:0},rad:1,damageTimes:[.075],cooldownTime:.175},speed:{equip:1},anim:{idlePose:"fists",attackAnims:["hook"]},sound:{pickup:"frag_pickup_01",swing:"knife_swing_01",deploy:"stow_weapon_01",playerHit:"hook_hit_01"},lootImg:{sprite:"loot-melee-hook-silver.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:.785},worldImg:{sprite:"loot-melee-hook-silver.img",pos:{x:0,y:-27},rot:.5*Math.PI,scale:{x:.35,y:.35},tint:16777215,renderOnHand:!0}},pan:{name:"Pan",type:"melee",quality:1,autoAttack:!1,switchDelay:.25,damage:60,obstacleDamage:.8,headshotMult:1,attack:{offset:{x:2,y:0},rad:1.5,damageTimes:[.15],cooldownTime:.5},speed:{equip:1},anim:{idlePose:"fists",attackAnims:["pan"]},sound:{pickup:"pan_pickup_01",swing:"heavy_swing_01",deploy:"pan_pickup_01",playerHit:"pan_hit_01",bullet:"pan_bullet"},lootImg:{sprite:"loot-melee-pan-black.img",tint:16777215,border:"loot-circle-outer-02.img",borderTint:16777215,scale:.3,rot:-.785},worldImg:{sprite:"loot-melee-pan-black-side.img",pos:{x:0,y:-40},rot:1.125,scale:{x:.35,y:.35},tint:16777215},hipImg:{sprite:"loot-melee-pan-black-side.img",pos:{x:-17.25,y:7.5},rot:.78*Math.PI,scale:{x:.3,y:.3},tint:16777215},reflectSurface:{equipped:{p0:{x:2.65,y:-.125},p1:{x:1.35,y:-.74}},unequipped:{p0:{x:-.625,y:-1.2},p1:{x:-1.4,y:-.25}}}}},s={fists:r("fists",{name:"Fists",rarity:0,lore:"The old one-two."}),karambit_rugged:r("karambit",{name:"Karambit Rugged",rarity:3,noPotatoSwap:!1,anim:{idlePose:"slash",attackAnims:["slash","fists"]},lootImg:{sprite:"loot-melee-karambit-rugged.img"},worldImg:{sprite:"loot-melee-karambit-rugged.img"}}),karambit_prismatic:r("karambit",{name:"Karambit Prismatic",rarity:4,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-karambit-prismatic.img"},worldImg:{sprite:"loot-melee-karambit-prismatic.img"}}),karambit_drowned:r("karambit",{name:"Karambit Drowned",rarity:4,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-karambit-drowned.img"},worldImg:{sprite:"loot-melee-karambit-drowned.img"}}),bayonet_rugged:r("bayonet",{name:"Bayonet Rugged",rarity:3,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-bayonet-rugged.img"},worldImg:{sprite:"loot-melee-bayonet-rugged.img"}}),bayonet_woodland:r("bayonet",{name:"Bayonet Woodland",rarity:4,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-bayonet-woodland.img"},worldImg:{sprite:"loot-melee-bayonet-woodland.img"}}),huntsman_rugged:r("huntsman",{name:"Huntsman Rugged",rarity:3,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-huntsman-rugged.img"},worldImg:{sprite:"loot-melee-huntsman-rugged.img"}}),huntsman_burnished:r("huntsman",{name:"Huntsman Burnished",rarity:4,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-huntsman-burnished.img"},worldImg:{sprite:"loot-melee-huntsman-burnished.img"}}),bowie_vintage:r("bowie",{name:"Bowie Vintage",rarity:3,noPotatoSwap:!1,lootImg:{sprite:"loot-melee-bowie-vintage.img"},worldImg:{sprite:"loot-melee-bowie-vintage.img"}}),bowie_frontier:r("bowie",{name:"Bowie Frontier",noPotatoSwap:!1,lootImg:{sprite:"loot-melee-bowie-frontier.img"},worldImg:{sprite:"loot-melee-bowie-frontier.img"}}),machete_taiga:r("machete",{name:"UVSR Taiga",noPotatoSwap:!1,lootImg:{sprite:"loot-melee-machete-taiga.img"},worldImg:{sprite:"loot-melee-machete-taiga.img"}}),kukri_trad:r("machete",{name:"Tallow's Kukri",noPotatoSwap:!1,lootImg:{sprite:"loot-melee-kukri-trad.img"},worldImg:{sprite:"loot-melee-kukri-trad.img",pos:{x:-.5,y:-46.5}}}),bonesaw_rusted:r("saw",{name:"Bonesaw Rusted",noPotatoSwap:!1,lootImg:{sprite:"loot-melee-bonesaw-rusted.img"},worldImg:{sprite:"loot-melee-bonesaw-rusted.img"}}),woodaxe_bloody:r("woodaxe",{name:"Axe Bloodstained",lootImg:{sprite:"loot-melee-woodaxe-bloody.img"},worldImg:{sprite:"loot-melee-woodaxe-bloody.img"}}),katana_rusted:r("katana",{name:"Katana Rusted",lootImg:{sprite:"loot-melee-katana-rusted.img"},worldImg:{sprite:"loot-melee-katana-rusted.img"}}),katana_orchid:r("katana",{name:"Katana Orchid",quality:1,lootImg:{sprite:"loot-melee-katana-orchid.img"},worldImg:{sprite:"loot-melee-katana-orchid.img"}}),sledgehammer:r("stonehammer",{name:"Sledgehammer",lootImg:{sprite:"loot-melee-sledgehammer.img"},worldImg:{sprite:"loot-melee-sledgehammer.img",pos:{x:-12.5,y:-3.5}}})},n=i.mergeDeep({},o,s);e.exports=n},ce089fd5:function(e,t,a){"use strict";function r{}var i=a("34e32c48"),o=a("6b42806d"),s=a("7510cc08"),n=a("10899aea"),l=(a("1901e2d9"),a("c2a798c8")),c=(a("c347b8dd"),a("af8ba00f"),a("03f4982a"));r.prototype={o:function{this.soundTransitionT=0},n:function{},c:function(e,t,a,r){if(t){this.type=e.type,this.layer=0,this.pos=l.copy(e.pos),this.rot=n.oriToRad(e.ori),this.scale=1,this.interiorSoundAlt=e.interiorSoundAlt,this.interiorSoundEnabled=e.interiorSoundEnabled,a&&(this.soundTransitionT=this.interiorSoundAlt?1:0,this.soundEnabledT=this.interiorSoundEnabled?1:0),this.aabb=o.transform(s.getBoundingCollider(this.type),this.pos,this.rot,this.scale);var m=c[this.type];this.layers=[];for(var p=0;p<m.layers.length;p++){var h=m.layers[p],d=e.layerObjIds[p],u=void 0===h.inheritOri||h.inheritOri,g=void 0!==h.underground?h.underground:1==p,y=l.add(this.pos,h.pos),w=n.oriToRad(u?e.ori+h.ori:h.ori),f=o.transform(s.getBoundingCollider(h.type),y,w,1);this.layers.push({objId:d,collision:f,underground:g})}this.stairs=[];for(var b=0;b<m.stairs.length;b++){var _=m.stairs[b],x=o.transform(_.collision,this.pos,this.rot,this.scale),S=l.rotate(_.downDir,this.rot),v=i.splitAabb(x,S);this.stairs.push({collision:x,center:l.add(x.min,l.mul(l.sub(x.max,x.min),.5)),downDir:S,downAabb:o.createAabb(v[0].min,v[0].max),upAabb:o.createAabb(v[1].min,v[1].max),noCeilingReveal:!!_.noCeilingReveal,lootOnly:!!_.lootOnly})}this.mask=[];for(var z=0;z<m.mask.length;z++)this.mask.push(o.transform(m.mask[z],this.pos,this.rot,this.scale));r.renderer.layerMaskDirty=!0}},update:function(e,t,a,r){c[this.type].interiorSound&&this.updateInteriorSounds(e,t,a,r)},updateInteriorSounds:function(e,t,a,r){var i=c[this.type],s=(o.createCircle(a.pos,.001),t.Ot.p,this.layers.length>0?t.getBuildingById(this.layers[0].objId):null),l=this.layers.length>1?t.getBuildingById(this.layers[1].objId):null,m=void 0!==i.interiorSound.outsideMaxDist?i.interiorSound.outsideMaxDist:10,p=void 0!==i.interiorSound.outsideVolume?i.interiorSound.outsideVolume:0,h=void 0!==i.interiorSound.undergroundVolume?i.interiorSound.undergroundVolume:1,d=0,u=0;if(1!=a.layer){if(s){var g=s.getDistanceToBuilding(a.pos,m),y=n.remap(g,m,0,0,1),w=2&a.layer,f=s.ceiling.fadeAlpha;d=y*(1-f),u=y*f*(w?h:p)}}else if(l){var b=l.getDistanceToBuilding(a.pos,m),_=n.remap(b,m,0,0,1);d=0,u=_*h}var x=void 0!==i.interiorSound.transitionTime?i.interiorSound.transitionTime:1;this.interiorSoundAlt&&(this.soundTransitionT=n.clamp(this.soundTransitionT+e/x,0,1));var S=2*Math.abs(this.soundTransitionT-.5);this.interiorSoundEnabled||(this.soundEnabledT=n.clamp(this.soundEnabledT-.5*e,0,1));var v=this.soundTransitionT>.5?i.interiorSound.soundAlt:i.interiorSound.sound,z=r.getTrack("interior_0");z.sound=v,z.filter="",z.weight=v?d*S*this.soundEnabledT:0;var k=r.getTrack("interior_1");k.sound=v,k.filter=i.interiorSound.filter,k.weight=v?u*S*this.soundEnabledT:0},render:function(e,t,a){},insideStairs:function(e){for(var t=0;t<this.stairs.length;t++)if(o.intersect(this.stairs[t].collision,e))return!0;return!1},insideMask:function(e){for(var t=0;t<this.mask.length;t++)if(o.intersect(this.mask[t],e))return!0;return!1}},e.exports=r},ce29f17f:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){t||(t=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=a.exec(t);if(r)return r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):""}function o{var e=!1;return function(t){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}function s{var e=!1,t=navigator.userAgent.toLowerCase;return function(a){/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(t)&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e||/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&window.innerWidth>=1023&&window.innerHeight>=747&&(e=!0),e}function n{return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}function l{return/Android/.test(navigator.userAgent)&&!window.MSStream}function c{var e=window.navigator.userAgent,t=e.indexOf("MSIE "),a=e.indexOf("Trident/");return t>0||a>0}function m{return window.navigator.userAgent.indexOf("Edge/")>0}function p{return n&&(375==screen.width&&812==screen.height||375==screen.height&&812==screen.width||414==screen.width&&896==screen.height||414==screen.height&&896==screen.width)}function h(e,t){try{localStorage.setItem(e,t)}catch(e){}}function d(e){var t=null;try{t=localStorage.getItem(e)}catch(e){}return t}var u=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},g=function{function e{r(this,e),this.os="pc",n?this.os="ios":l&&(this.os="android"),this.browser="unknown",c?this.browser="ie":m&&(this.browser="edge");var t="true"==i("webview");t&&h("surviv_webview","true"),this.webview=t||d("surviv_webview"),this.model="unknown",p&&(this.model="iphonex");var a=i("version");a&&h("surviv_version",a),this.version=d("surviv_version")||"1.0.0",this.mobile=o,this.tablet=s,this.touch=this.mobile||this.tablet,this.pixelRatio=window.devicePixelRatio,this.debug=!1,this.UiLayout={Lg:0,Sm:1},this.uiLayout=this.mobile?this.UiLayout.Sm:this.UiLayout.Lg,this.screenWidth=0,this.screenHeight=0,this.isLandscape=!0,this.onResize}return u(e,[{key:"onResize",value:function{this.isLandscape=window.innerWidth>window.innerHeight||90==window.orientation||-90==window.orientation,this.screenWidth=window.innerWidth,this.screenHeight=window.innerHeight;var e=this.isLandscape?this.screenWidth:this.screenHeight;this.uiLayout=this.mobile||e<=850||e<=900&&this.pixelRatio>=3?this.UiLayout.Sm:this.UiLayout.Lg}}]),e},y=new g;e.exports=y},d0dd0bd7:function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("45f86a38")),o={biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:14458408,riverbank:10711321,grass:6460706,underground:1772803,playerSubmerge:2854052,playerGhillie:6658085},particles:{camera:"falling_leaf_summer"}}};e.exports=r.mergeDeep({},i,o)},d15c07f3:function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t,a,r,i){this.active=!1,this.initialized=!1,this.pixi=e,this.He=t,this.config=a,this.We=r,this.account=i}var o=a("8b1dfb45"),s=a("6b42806d"),n=a("989ad62a"),l=a("8649e148"),c=a("0503bedc"),m=a("10899aea"),p=a("c2a798c8"),h=a("ce29f17f"),d=a("1ad3d2a4"),u=a("af8ba00f"),g=a("172c57dc"),y=(a("f398b7c7"),a("d49cd95c")),w=a("753d6e4b"),f=a("119e8c4c"),b=a("a508b62a"),_=a("c60b5e9f"),x=a("0955a76e"),S=a("721a96bf");i.prototype={o:function{var e,t=this;this.canvasMode=this.pixi.renderer.type==o.RENDERER_TYPE.CANVAS,this.se=new d.j,this.et=new _.tt(this,this.canvasMode),this.at=new f.u(this.et),this.rt=new g._,this.ot=new y.st(this.rt),this.nt=new b.lt,this._t=new x.d;var a=(e={},r(e,l.Type.Player,this.nt.Ie),r(e,l.Type.Obstacle,this.ot.ye),r(e,l.Type.Building,this.ot.Ot),r(e,l.Type.Structure,this.ot.Et),r(e,l.Type.Decal,this.rt.f),r(e,l.Type.Smoke,this._t.e),e);this.Bt=new w.Creator;for(var i in a)a.hasOwnProperty(i)&&this.Bt.registerType(i,a[i]);this.debugDisplay=new o.Graphics;for(var s=[this.ot.display.ground,this.et.layers[0],this.et.ground,this.et.layers[1],this.et.layers[2],this.et.layers[3],this.debugDisplay],n=0;n<s.length;n++){var m=s[n];m&&(m.interactiveChildren=!1,this.pixi.stage.addChild(m))}this.loadout=c.defaultLoadout,this.setLoadout(this.loadout),this.view="outfit",this.viewOld=this.view,this.cameraOffset=p.create(0,0),this.O=1,this.debugZoom=1,this.useDebugZoom=!1,this.outfitOld=this.loadout.outfit;var h={};h.grassInset=18,h.groundPatches=[],h.height=720,h.mapName="main",h.objects=[],h.places=[],h.rivers=[],h.seed=218051654,h.shoreInset=48,h.width=720,this.ot.loadMap(h,this.se,this.canvasMode,this.at),this.Lt=98,this.Ft=this.nt.Me(this.Lt);var u={};u.boost=100,u.boostDirty=!0,u.hasAction=!1,u.health=100,u.inventoryDirty=!1,u.scopedIn=!1,u.spectatorCountDirty=!1,u.weapsDirty=!0,u.curWeapIdx=2,u.weapons=[{name:"",ammo:0},{name:"",ammo:0},{name:"bayonet_rugged",ammo:0},{name:"",ammo:0}],this.Ft.Qt(u,this.nt),this.Ft.layer=this.Ft.ne.layer,this.et.setActiveLayer(this.Ft.layer),this.He.activeLayer=this.Ft.layer,this.animIdleTicker=3,this.animSeq=0,this.hide,this.account.addEventListener("loadout",function(e){t.setLoadout(e,!0)}),this.setLoadout(this.account.loadout,!0),this.initialized=!0,this.jt},n:function{if(this.initialized)for(this.ot.n,this.at.n,this.et.n;this.pixi.stage.children.length>0;){var e=this.pixi.stage.children[0];this.pixi.stage.removeChild(e),e.destroy({children:!0})}this.initialized=!1},setLoadout:function(e,t){this.loadout=c.validate(e),this.updateCharDisplay,t&&(this.outfitOld=this.loadout.outfit)},setView:function(e){this.viewOld=this.view,this.view=e},updateCharDisplay:function{var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={audioManager:this.He,renderer:this.et,particleBarn:this.at,map:this.ot,smokeBarn:this._t,decalBarn:this.rt};this.Ft&&this.Ft.useItemEmitter&&(this.Ft.useItemEmitter.stop,this.Ft.useItemEmitter=null,this.animIdleTicker=0);var a={};a.outfit=this.loadout.outfit,a.backpack="backpack02",a.helmet="helmet01",a.chest="chest03",a.curWeapType=this.loadout.melee,a.layer=0,a.dead=!1,a.downed=!1,a.animType=e.animType||0,a.animSeq=e.animSeq||0,a.actionType=e.actionType||0,a.actionItem=e.actionItem||"",a.wearingPan=!1,a.isLarge=!1,a.isSmall=!1,a.windwalk=!1,a.passiveHeal=!1,a.frozen=!1,a.frozenOri=0,a.role="",a.perks=[],a.perksDirty=!1,a.pos=p.create(50,50),a.dir=p.create(0,-1),this.Bt.updateObjFull(1,98,a,t),this.nt.Kt({playerId:98,teamId:0,groupId:0,name:"",loadout:{heal:this.loadout.heal,boost:this.loadout.boost}})},getCameraTargetZoom:function{return document.getElementById("modal-content-left").getBoundingClientRect.height/this.se.screenHeight*.2*this.se.screenHeight*.5/this.se.ppu},getCameraLoadoutOffset:function{var e=this.se.I,t=this.getCameraTargetZoom;this.se.I=t;var a=document.getElementById("modal-content-left"),r=a.getBoundingClientRect,i=s.createAabb(this.se.q(p.create(r.left,r.top+r.height)),this.se.q(p.create(r.left+r.width,r.top))),o=p.mul(p.sub(i.max,i.min),.5),n=p.add(i.min,o),l=s.createAabb(this.se.q(p.create(0,this.se.screenHeight)),this.se.q(p.create(this.se.screenWidth,0))),c=p.mul(p.sub(l.max,l.min),.5),h=p.add(l.min,c),d=p.sub(n,h),u=c.x-d.x-o.x,g=m.clamp(.5*u,2.5,6),y=p.create(d.x+o.x+g,d.y+.33);return this.se.I=e,y},show:function{this.active||(this.active=!0,this.jt)},hide:function{this.active&&(this.active=!1,this.se.I=2)},m:function(e,t){var a={};if(a.render=a.render||{},this.nt.m(e,this.Lt,this.teamMode,this.et,this.at,this.se,this.ot,this.We,this.He,!1,!1,!1),this.se.pos=p.sub(this.Ft.pos,this.cameraOffset),this.se.I=m.lerp(5*e,this.se.I,this.se.O),this.He.cameraPos=p.copy(this.se.pos),t&&(this.view==this.viewOld||"heal_effect"!=this.view&&"boost_effect"!=this.view||(this.animIdleTicker=0),this.viewOld=this.view,this.animIdleTicker-=e,this.animIdleTicker<0))if("heal_effect"==this.view){var r={};r.actionType=n.Action.UseItem,r.actionItem="bandage",this.updateCharDisplay(r),this.animIdleTicker=2+Math.random}else if("boost_effect"==this.view){var i={};i.actionType=n.Action.UseItem,i.actionItem="soda",this.updateCharDisplay(i),this.animIdleTicker=2+Math.random}else if("emote"!=this.view&&"crosshair"!=this.view){this.animSeq=(this.animSeq+1)%8;var o={};o.animType=n.Anim.Melee,o.animSeq=this.animSeq,this.updateCharDisplay(o),this.animIdleTicker=1.5+Math.random}var s=this.loadout.outfit!=this.outfitOld;if(this.outfitOld=this.loadout.outfit,t&&s){var l=S[this.loadout.outfit];l&&this.He.playSound(l.sound.pickup,{channel:"ui"})}this._t.m(e,this.se,this.Ft,this.ot,this.et),this.at.m(e,this.se,a),this.rt.m(e,this.se,this.et,a),this.et.m(e,this.se,this.ot,a),this.Wt(e,a)},Wt:function(e,t){var a=this.ot.mapLoaded?this.ot.getMapDef.biome.colors.grass:8433481;this.pixi.renderer.backgroundColor=a,this.nt.render(this.se,t),this.ot.render(this.se),u.flush},jt:function{this.initialized&&(this.se.screenWidth=h.screenWidth,this.se.screenHeight=h.screenHeight,this.ot.resize(this.pixi.renderer,this.canvasMode),this.et.resize(this.ot,this.se),this.se.O=this.getCameraTargetZoom,this.cameraOffset=this.getCameraLoadoutOffset)}},e.exports={LoadoutDisplay:i}},d306eab6:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){return{name:e,defaultValue:t}}function s(e){return new b(f.Key,e)}function n(e){return new b(f.MouseButton,e)}function l(e){return new b(f.MouseWheel,e)}var c,m=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},p=a("8ee62bea"),h=a("ca1f6916"),d=a("14a25ec1"),u=a("6d61bfc0"),g=a("989ad62a"),y=g.Input,w=a("4b8d140f"),f=w.InputType,b=w.InputValue,_=w.Key,x=w.MouseButton,S=w.MouseWheel,v=(c={},i(c,y.MoveLeft,o("Move Left",s(_.A))),i(c,y.MoveRight,o("Move Right",s(_.D))),i(c,y.MoveUp,o("Move Up",s(_.W))),i(c,y.MoveDown,o("Move Down",s(_.S))),i(c,y.Fire,o("Fire",n(x.Left))),i(c,y.Reload,o("Reload",s(_.R))),i(c,y.Cancel,o("Cancel",s(_.X))),i(c,y.Interact,o("Interact",s(_.F))),i(c,y.Revive,o("Revive",null)),i(c,y.Use,o("Open/Use",null)),i(c,y.Loot,o("Loot",null)),i(c,y.EquipPrimary,o("Equip Primary",s(_.One))),i(c,y.EquipSecondary,o("Equip Secondary",s(_.Two))),i(c,y.EquipMelee,o("Equip Melee",s(_.Three))),i(c,y.EquipThrowable,o("Equip Throwable",s(_.Four))),i(c,y.EquipNextWeap,o("Equip Next Weapon",l(S.Down))),i(c,y.EquipPrevWeap,o("Equip Previous Weapon",l(S.Up))),i(c,y.EquipLastWeap,o("Equip Last Weapon",s(_.Q))),i(c,y.StowWeapons,o("Stow Weapons",s(_.E))),i(c,y.EquipPrevScope,o("Equip Previous Scope",null)),i(c,y.EquipNextScope,o("Equip Next Scope",null)),i(c,y.UseBandage,o("Use Bandage",s(_.Seven))),i(c,y.UseHealthKit,o("Use Med Kit",s(_.Eight))),i(c,y.UseSoda,o("Use Soda",s(_.Nine))),i(c,y.UsePainkiller,o("Use Pills",s(_.Zero))),i(c,y.SwapWeapSlots,o("Switch Gun Slots",s(_.T))),i(c,y.ToggleMap,o("Toggle Map",s(_.M))),i(c,y.CycleUIMode,o("Toggle Minimap",s(_.V))),i(c,y.EmoteMenu,o("Emote Menu",n(x.Right))),i(c,y.TeamPingMenu,o("Team Ping Hold",s(_.C))),i(c,y.EquipOtherGun,o("Equip Other Gun",null)),i(c,y.Fullscreen,o("Full Screen",s(_.L))),i(c,y.HideUI,o("Hide UI",null)),i(c,y.TeamPingSingle,o("Team Ping Menu",null)),c),z=function{function e(t,a){r(this,e),this.input=t,this.config=a,this.binds=[],this.boundKeys={},this.menuHovered=!1,this.loadBinds}return m(e,[{key:"toArray",value:function{var e=new ArrayBuffer(2*this.binds.length+1),t=new d.BitStream(e);t.writeUint8(1);for(var a=0;a<this.binds.length;a++){var r=this.binds[a],i=r?r.type:0,o=r?r.code:0;t.writeBits(3&i,2),t.writeUint8(255&o)}var s=new Uint8Array(e,0,t.byteIndex),n=u.crc16(s),l=new Uint8Array(s.length+2);return l.set(s),l[l.length-2]=n>>8&255,l[l.length-1]=255&n,l}},{key:"fromArray",value:function(e){var t=new Uint8Array(e);if(!t||t.length<3)return!1;var a=t[t.length-2]<<8|t[t.length-1];if(t=t.slice(0,t.length-2),u.crc16(t)!=a)return!1;for(var r=new ArrayBuffer(t.length),i=new Uint8Array(r),o=0;o<t.length;o++)i[o]=t[o];var s=new d.BitStream(r),n=s.readUint8;this.clearAllBinds;for(var l=0;s.length-s.index>=10;){var c=l++,m=s.readBits(2),p=s.readUint8;c>=0&&c<y.Count&&m!=f.None&&this.setBind(c,0!=m?new b(m,p):null)}return n<1&&(this.upgradeBinds(n),this.saveBinds),!0}},{key:"toBase64",value:function{return h.fromByteArray(this.toArray)}},{key:"fromBase64",value:function(e){var t=!1;try{t=this.fromArray(h.toByteArray(e))}catch(e){console.log("Error",e)}return t}},{key:"saveBinds",value:function{this.config.set("binds",this.toBase64)}},{key:"loadBinds",value:function{this.fromBase64(this.config.get("binds")||"")||(this.loadDefaultBinds,this.saveBinds)}},{key:"upgradeBinds",value:function(e){for(var t=[],a=0;a<t.length;a++){for(var r=t[a],i=v[r].defaultValue,o=!1,s=0;s<this.binds.length;s++)if(this.binds[s]&&this.binds[s].equals(i)){o=!0;break}o||this.setBind(r,i)}}},{key:"clearAllBinds",value:function{for(var e=0;e<y.Count;e++)this.binds[e]=null;this.boundKeys={}}},{key:"setBind",value:function(e,t){if(t)for(var a=0;a<this.binds.length;a++)this.binds[a]&&this.binds[a].equals(t)&&(this.binds[a]=null);var r=this.binds[e];r&&r.type==f.Key&&(this.boundKeys[r.code]=null),this.binds[e]=t,t&&t.type==f.Key&&(this.boundKeys[t.code]=!0)}},{key:"getBind",value:function(e){return this.binds[e]}},{key:"preventMenuBind",value:function(e){return e&&this.menuHovered&&(2==e.type||3==e.type)}},{key:"isKeyBound",value:function(e){return this.boundKeys[e]}},{key:"isBindPressed",value:function(e){var t=this.binds[e];return!this.preventMenuBind(t)&&t&&this.input.isInputValuePressed(t)}},{key:"isBindReleased",value:function(e){var t=this.binds[e];return!this.preventMenuBind(t)&&t&&this.input.isInputValueReleased(t)}},{key:"isBindDown",value:function(e){var t=this.binds[e];return!this.preventMenuBind(t)&&t&&this.input.isInputValueDown(t)}},{key:"loadDefaultBinds",value:function{this.clearAllBinds;for(var e=Object.keys(v),t=0;t<e.length;t++){var a=e[t],r=v[a];this.setBind(parseInt(a),r.defaultValue)}}}]),e},k=function{function e(t,a){var i=this;r(this,e),this.input=t,this.inputBinds=a,p(".js-btn-keybind-restore").on("click",function{i.inputBinds.loadDefaultBinds,i.inputBinds.saveBinds,i.refresh})}return m(e,[{key:"cancelBind",value:function{this.input.captureNextInput(null)}},{key:"refresh",value:function{var e=this,t=Object.keys(v),a=this.inputBinds.binds,r=p(".js-keybind-list");r.empty;for(var i=0;i<t.length;i++)!function(i){var o=t[i],n=v[o],l=a[o],c=p("<a/>",{class:"btn-game-menu btn-darken btn-keybind-desc",text:n.name}),m=p(" ",{class:"btn-keybind-display",text:l?l.toString:""});c.on("click",function(t){var a=p(t.target);a.addClass("btn-keybind-desc-selected"),e.input.captureNextInput(function(t,r){t.preventDefault,t.stopPropagation;var i=[_.Control,_.Shift,_.Alt,_.Windows,_.ContextMenu,_.F1,_.F2,_.F3,_.F4,_.F5,_.F6,_.F7,_.F8,_.F9,_.F10,_.F11,_.F12];if(r.type==f.Key&&-1!=i.indexOf(r.code))return!1;if(a.removeClass("btn-keybind-desc-selected"),!r.equals(s(_.Escape))){var n=r;r.equals(s(_.Backspace))&&(n=null),e.inputBinds.setBind(parseInt(o),n),e.inputBinds.saveBinds,e.refresh}return!0})}),r.append(p(" ",{class:"ui-keybind-container"}).append(c).append(m))}(i);p("#keybind-link").html(this.inputBinds.toBase64)}}]),e};e.exports={InputBinds:z,InputBindUi:k}},d3da5587:function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e){return document.getElementById(e)}function o(e){return 0==e.button}function s(e){return"which"in e?3==e.which:2==e.button}function n(e,t,a){if(e instanceof Array)for(var r=0;r<e.length;r++)n(e[r],void 0!==a?t[a]:t,r);else if(e instanceof Object)for(var i=Object.keys(e),o=0;o<i.length;o++){var s=i[o];n(e[s],void 0!==a?t[a]:t,s)}else t[a]=e}function l(e,t,a){if(t instanceof Array){for(var r=[],i=0;i<t.length;i++)r[i]=l(e[i],t[i],a);return r}if(t instanceof Object){for(var o={},s=Object.keys(t),n=0;n<s.length;n++){var c=s[n];o[c]=l(e[c],t[c],a)}return o}return e!=t||a}function c{for(var e=Object.keys(M),t=[],a=0;a<e.length;a++){var r=e[a];"scope"==M[r].type&&t.push(r)}return t}function m{for(var e=Object.keys(M),t=[],a=0;a<e.length;a++){var r=e[a],i=M[r];i.hideUi||"heal"!=i.type&&"boost"!=i.type&&"ammo"!=i.type||t.push(r)}return t}function p{return["chest","helmet","backpack"]}function h{this.mobile=!1,this.touch=!1,this.perkMessage={perk:"",ticker:0,duration:0,opacity:0},this.pickupMessage={message:"",ticker:0,duration:0,opacity:0},this.killMessage={text:"",count:"",ticker:0,duration:0,opacity:0},this.killFeed=[];for(var e=0;e<P;e++)this.killFeed.push({text:"",color:"#000000",offset:0,opacity:0,ticker:Number.MAX_VALUE});this.weapons=[];for(var t=0;t<w.WeaponSlot.Count;t++)this.weapons[t]={slot:t,type:"",ammo:0,equipped:!1,selectable:!1,opacity:0,width:0,ticker:0,bind:D[t],bindStr:""};this.ammo={current:0,remaining:0,displayCurrent:!1,displayRemaining:!1},this.interaction={type:E.None,text:"",key:"",usable:!1},this.scopes=[];for(var a=c,r=0;r<a.length;r++)this.scopes.push({type:a[r],visible:!1,equipped:!1,selectable:!1});this.loot=[];for(var i=m,o=0;o<i.length;o++)this.loot.push({type:i[o],count:0,maximum:0,selectable:!1,width:0,ticker:0});this.gear=[];for(var s=p,n=0;n<s.length;n++)this.gear.push({type:s[n],item:"",selectable:!1,width:0,ticker:0,rot:0});this.perks=[];for(var l=0;l<O;l++)this.perks.push({type:"",droppable:!1,width:0,ticker:0,pulse:!1});this.health=100,this.boost=0,this.downed=!1}function d(e,t){var a=this;this.localization=e,this.inputBinds=t,this.oldState=new h,this.newState=new h,this.frameCount=0,this.dom={debugButton:i("ui-debug-button"),emoteButton:i("ui-emote-button"),menu:{touchStyles:i("btn-touch-styles"),aimLine:i("btn-game-aim-line")},perkMessage:{icon:i("ui-perk-message-image-icon"),wrapper:i("ui-perk-message-wrapper"),name:i("ui-perk-message-name")},pickupMessage:i("ui-pickup-message"),killMessage:{div:i("ui-kills"),text:i("ui-kill-text"),count:i("ui-kill-count")},killFeed:{div:i("ui-killfeed-contents"),lines:[]},weapons:[],ammo:{current:i("ui-current-clip"),remaining:i("ui-remaining-ammo"),reloadButton:i("ui-reload-button-container")},interaction:{div:i("ui-interaction"),key:i("ui-interaction-press"),text:i("ui-interaction-description")},health:{inner:i("ui-health-actual"),depleted:i("ui-health-depleted")},boost:{div:i("ui-boost-counter"),bars:[i("ui-boost-counter-0").firstElementChild,i("ui-boost-counter-1").firstElementChild,i("ui-boost-counter-2").firstElementChild,i("ui-boost-counter-3").firstElementChild]},scopes:[],loot:[],gear:[],perks:[]};for(var r=0;r<P;r++){var n="ui-killfeed-"+r,l=i(n);if(!l){l=document.createElement("div"),l.id=n,l.classList.add("killfeed-div");var d=document.createElement("div");d.classList.add("killfeed-text"),l.appendChild(d),this.dom.killFeed.div.appendChild(l)}this.dom.killFeed.lines.push({line:l,text:l.firstElementChild})}for(var u=0;u<4;u++){var g=i("ui-weapon-id-"+(u+1)),y={div:g,type:g.getElementsByClassName("ui-weapon-name")[0],number:g.getElementsByClassName("ui-weapon-number")[0],image:g.getElementsByClassName("ui-weapon-image")[0],ammo:g.getElementsByClassName("ui-weapon-ammo-counter")[0]};this.dom.weapons.push(y)}for(var w=c,b=0;b<w.length;b++){var _=w[b],x={scopeType:_,div:i("ui-scope-"+_)};this.dom.scopes.push(x)}for(var S=m,v=0;v<S.length;v++){var I=S[v],T=i("ui-loot-"+I);if(T){var C={lootType:I,div:T,count:T.getElementsByClassName("ui-loot-count")[0],image:T.getElementsByClassName("ui-loot-image")[0],overlay:T.getElementsByClassName("ui-loot-overlay")[0]};this.dom.loot.push(C)}}for(var E=p,D=0;D<E.length;D++){var B=E[D],R=i("ui-armor-"+B),L={gearType:B,div:R,level:R.getElementsByClassName("ui-armor-level")[0],image:R.getElementsByClassName("ui-armor-image")[0]};this.dom.gear.push(L)}for(var F=0;F<O;F++){var q=i("ui-perk-"+F),j={perkType:"",div:q,divTitle:q.getElementsByClassName("tooltip-title")[0],divDesc:q.getElementsByClassName("tooltip-desc")[0],image:q.getElementsByClassName("ui-armor-image")[0]};this.dom.perks.push(j)}this.perkMessageQueue=[],this.uiEvents=[],this.eventListeners=[];var N=function(e,t,r){a.eventListeners.push({event:e,elem:t,fn:r}),t.addEventListener(e,r)};this.itemActions=[];for(var H=function(e,t,r,i){a.itemActions.push({action:e,type:t,data:r,div:i,actionQueued:!1,actionTime:0})},V=0;V<this.dom.weapons.length;V++)H("use","weapon",V,this.dom.weapons[V].div),H("drop","weapon",V,this.dom.weapons[V].div);for(var U=0;U<this.dom.scopes.length;U++){var W=this.dom.scopes[U];H("use","scope",W.scopeType,W.div),"1xscope"!=W.scopeType&&H("drop","loot",W.scopeType,W.div)}for(var G=0;G<this.dom.loot.length;G++){var K=this.dom.loot[G],X=M[K.lootType];"heal"!=X.type&&"boost"!=X.type||H("use","loot",K.lootType,K.div),H("drop","loot",K.lootType,K.div)}for(var Z=0;Z<this.dom.gear.length;Z++){var Y=this.dom.gear[Z];"backpack"!=Y.gearType&&H("drop","loot",Y.gearType,Y.div)}for(var J=0;J<this.dom.perks.length;J++)H("drop","perk",J,this.dom.perks[J].div);for(var Q=0;Q<this.itemActions.length;Q++)!function(e){var t=a.itemActions[e];N("mousedown",t.div,function(e){("use"==t.action&&o(e)||"drop"==t.action&&s(e))&&(e.stopPropagation,t.actionQueued=!0)}),N("mouseup",t.div,function(e){t.actionQueued&&("use"==t.action&&o(e)||"drop"==t.action&&s(e))&&(e.stopPropagation,a.pushAction(t),t.actionQueued=!1)}),N("touchstart",t.div,function(e){e.changedTouches.length>0&&(e.stopPropagation,t.actionQueued=!0,t.actionTime=(new Date).getTime,t.touchOsId=e.changedTouches[0].identifier)}),N("touchend",t.div,function(e){(new Date).getTime-t.actionTime<A&&t.actionQueued&&"use"==t.action&&a.pushAction(t),t.actionQueued=!1}),N("touchcancel",t.div,function(e){t.actionQueued=!1})}(Q);var $=document.getElementById("cvs");this.clearQueuedItemActions=function{for(var e=0;e<a.itemActions.length;e++)a.itemActions[e].actionQueued=!1;z.touch&&$.focus},window.addEventListener("mouseup",this.clearQueuedItemActions),window.addEventListener("focus",this.clearQueuedItemActions),this.onKeyUp=function(e){var t=e.which||e.keyCode,r=a.inputBinds.getBind(f.Fullscreen);r&&t==r.code&&k.toggleFullScreen},window.addEventListener("keyup",this.onKeyUp)}function u{var e=function(e,t){i(e).getElementsByClassName("ui-loot-image")[0].src=t};e("ui-loot-bandage","img/loot/loot-medical-bandage.svg"),e("ui-loot-healthkit","img/loot/loot-medical-healthkit.svg"),e("ui-loot-soda","img/loot/loot-medical-soda.svg"),e("ui-loot-painkiller","img/loot/loot-medical-pill.svg"),e("ui-loot-9mm","img/loot/loot-ammo-box.svg"),e("ui-loot-12gauge","img/loot/loot-ammo-box.svg"),e("ui-loot-762mm","img/loot/loot-ammo-box.svg"),e("ui-loot-556mm","img/loot/loot-ammo-box.svg"),e("ui-loot-50AE","img/loot/loot-ammo-box.svg"),e("ui-loot-308sub","img/loot/loot-ammo-box.svg"),e("ui-loot-flare","img/loot/loot-ammo-box.svg"),e("ui-loot-45acp","img/loot/loot-ammo-box.svg"),i("mag-glass-white").src="img/gui/mag-glass.svg",i("ui-minimize-img").src="img/gui/minimize.svg"}var g,y=a("6b42806d"),w=a("989ad62a"),f=w.Input,b=w.Action,_=a("10899aea"),x=a("300e2704"),S=a("1901e2d9"),v=a("c2a798c8"),z=a("ce29f17f"),k=a("26be8056"),I=w.DamageType,T=x.PickupMsgType,M=a("721a96bf"),C=a("03f4982a"),P=6,A=750,O=3,E={None:0,Cancel:1,Loot:2,Revive:3,Object:4},D=(g={},r(g,w.WeaponSlot.Primary,f.EquipPrimary),r(g,w.WeaponSlot.Secondary,f.EquipSecondary),r(g,w.WeaponSlot.Melee,f.EquipMelee),r(g,w.WeaponSlot.Throwable,f.EquipThrowable),g);d.prototype={n:function{for(var e=0;e<this.eventListeners.length;e++){var t=this.eventListeners[e];t.elem.removeEventListener(t.event,t.fn)}window.removeEventListener("focus",this.clearQueuedItemActions),window.removeEventListener("mouseup",this.clearQueuedItemActions),window.removeEventListener("keyup",this.onKeyUp)},pushAction:function(e){this.uiEvents.push({action:e.action,type:e.type,data:e.data})},flushInput:function{this.uiEvents=[]},m:function(e,t,a,r,i,o,s){var c=this.newState;if(c.mobile=z.mobile,c.touch=z.touch,c.touch)for(var m=0;m<this.itemActions.length;m++){var p=this.itemActions[m];if(p.actionQueued&&"drop"==p.action){var h=(new Date).getTime,d=h-p.actionTime;d>=A&&(this.pushAction(p),p.actionTime=h)}}if(c.perkMessage.ticker>=c.perkMessage.duration&&this.perkMessageQueue.length>0){var u=this.perkMessageQueue.shift;c.perkMessage.perk=u,c.perkMessage.ticker=0,c.perkMessage.duration=this.perkMessageQueue.length>0?2:4,c.perkMessage.opacity=0}c.perkMessage.ticker+=e;var g=c.perkMessage.ticker,f=c.perkMessage.duration;c.perkMessage.opacity=1-_.smoothstep(g,f-.2,f),c.pickupMessage.ticker+=e;var x=c.pickupMessage.ticker,k=c.pickupMessage.duration;c.pickupMessage.opacity=_.smoothstep(x,0,.2)*(1-_.smoothstep(x,k,k+.2))*(1-c.perkMessage.opacity),c.killMessage.ticker+=e;var I=c.killMessage.ticker,T=c.killMessage.duration;c.killMessage.opacity=(1-_.smoothstep(I,T-.2,T))*(1-c.perkMessage.opacity);for(var C=0,P=0;P<c.killFeed.length;P++){var O=c.killFeed[P];O.ticker+=e;var D=O.ticker;O.offset=C,O.opacity=_.smoothstep(D,0,.25)*(1-_.smoothstep(D,6,6.5)),C+=_.min(D/.25,1),z.mobile&&(O.opacity=D<6.5?1:0)}c.health=t.ne.dead?0:_.max(t.le.health,1),c.boost=t.le.boost,c.downed=t.ne.downed;var B=E.None,R=null,L=!0;if(!t.ne.dead){for(var F=null,q=0,j=o.ye.p,N=0;N<j.length;N++){var H=j[N];if(H.active&&!H.dead&&S.sameLayer(H.layer,t.layer)){var V=H.getInteraction;if(V){var U=y.intersectCircle(H.collider,t.ne.pos,V.rad+t.rad);U&&U.pen>=q&&(F=H,q=U.pen)}}}F&&(B=E.Object,R=F,L=!0);var W=i.ia;if(W&&!t.ne.downed){var G=M[W.type],K=t.ma(w.WeaponSlot.Primary),X=t.ma(w.WeaponSlot.Secondary),Z=K&&X,Y="gun"!=G.type||!Z||"gun"==t.ca,J=!1;(c.touch&&"helmet"==G.type&&t.sa==G.level&&W.type!=t.ne.helmet||"chest"==G.type&&t.na==G.level&&W.type!=t.ne.chest)&&(J=!0),(Y||z.uiLayout==z.UiLayout.Sm)&&(B=E.Loot,R=W),L=Y&&(!c.touch||"gun"==G.type||"melee"==G.type||"outfit"==G.type||"perk"==G.type||J)}if(t.action.type==b.None&&!t.ne.downed)for(var Q=r.me(t.__id).teamId,$=r.Ie.p,ee=0;ee<$.length;ee++){var te=$[ee];if(te.active){var ae=r.me(te.__id).teamId;if(te.__id!=t.__id&&Q==ae&&te.ne.downed&&!te.ne.dead&&te.action.type!=b.Revive){var re=v.length(v.sub(te.ne.pos,t.ne.pos));re<w.player.reviveRange&&S.sameLayer(te.layer,t.layer)&&(B=E.Revive,R=t,L=!0)}}}t.action.type==b.Revive&&t.ne.downed&&(B=E.None,R=null,L=!1),t.action.type!=b.UseItem&&(t.action.type!=b.Revive||t.ne.downed)||a||(B=E.Cancel,R=null,L=!0)}c.interaction.type=B,c.interaction.text=this.getInteractionText(B,R),c.interaction.key=this.getInteractionKey(B),c.interaction.usable=L&&!a;for(var ie=0;ie<t.le.weapons.length;ie++){var oe=t.le.weapons[ie],se=c.weapons[ie];se.type=oe.type,se.ammo=oe.ammo,ie==w.WeaponSlot.Throwable&&(se.ammo=t.le.inventory[oe.type]||0);var ne=se.equipped;se.equipped=ie==t.le.curWeapIdx,se.selectable=(""!=oe.type||0==ie||1==ie)&&!a;var le=se.equipped?1:.6,ce=le-se.opacity,me=_.min(ce,_.sign(ce)*e/.15);se.opacity=_.clamp(se.opacity+me,0,1),z.mobile&&(se.opacity=le),se.ticker+=e,se.equipped&&ne||(se.ticker=0),this.frameCount<2&&(se.ticker=1);var pe=_.min(se.ticker/.09,Math.PI),he=Math.sin(pe);se.width=he<.001?0:he,z.mobile&&(se.width=0);var de=s.getBind(se.bind);se.bindStr=de?de.toString:""}var ue=c.weapons[t.le.curWeapIdx],ge=M[ue.type],ye=ue.ammo,we="gun"==ge.type?ge.ammoInfinite||t.hasPerk("endless_ammo")&&!ge.ignoreEndlessAmmo?Number.MAX_VALUE:t.le.inventory[ge.ammo]:0;c.ammo.current=ye,c.ammo.remaining=we,c.ammo.displayCurrent="melee"!=ge.type,c.ammo.displayRemaining=we>0;for(var fe=0;fe<c.scopes.length;fe++){var be=c.scopes[fe];be.visible=t.le.inventory[be.type]>0,be.equipped=be.visible&&t.le.scope==be.type,be.selectable=be.visible&&!a}for(var _e=t.la,xe=0;xe<c.loot.length;xe++){var Se=c.loot[xe],ve=Se.count;Se.count=t.le.inventory[Se.type]||0,Se.maximum=w.bagSizes[Se.type][_e],Se.selectable=Se.count>0&&!a,Se.count>ve&&(Se.ticker=0),this.frameCount<2&&(Se.ticker=1),Se.ticker+=e;var ze=_.min(Se.ticker/.05,Math.PI),ke=Math.sin(ze);Se.width=ke<.001?0:ke,z.mobile&&(Se.width=0)}for(var Ie=0;Ie<c.gear.length;Ie++){var Te=c.gear[Ie],Me="";"chest"==Te.type?Me=t.ne.chest:"helmet"==Te.type?Me=t.ne.helmet:"backpack"==Te.type&&"backpack00"==(Me=t.ne.backpack)&&(Me="");var Ce=Te.item;Te.item=Me,Te.selectable=""!=Me&&!a,Ce!=Te.item&&(Te.ticker=0),this.frameCount<2&&(Te.ticker=1),Te.ticker+=e;var Pe=_.min(Te.ticker/.05,Math.PI),Ae=Math.sin(Pe);Te.width=Ae<.001?0:Ae,z.mobile&&(Te.width=0)}for(var Oe=0;Oe<c.perks.length;Oe++){var Ee=c.perks[Oe];if(t.perks.length>Oe){var De=t.perks[Oe];Ee.type=De.type,Ee.droppable=De.droppable,De.isNew&&(Ee.ticker=0),this.frameCount<2&&(Ee.ticker=1),Ee.ticker+=e;var Be=_.min(Ee.ticker/.05,Math.PI),Re=Math.sin(Be);Ee.width=Re<.001?0:Re,z.mobile&&(Ee.width=0),Ee.pulse=!z.mobile&&Ee.ticker<4}else Ee.type=""}var Le=l(this.oldState,this.newState,0==this.frameCount++);this.render(Le,this.newState),n(this.newState,this.oldState)},render:function(e,t){var a=this.dom;if(e.mobile,e.touch&&(a.interaction.key.style.backgroundImage=t.touch?"url('img/gui/tap.svg')":"none",t.touch&&(a.interaction.key.innerHTML=""),a.menu.touchStyles.style.display=t.touch?"flex":"none",a.menu.aimLine.style.display=t.touch?"block":"none",a.ammo.reloadButton.style.display=t.touch?"block":"none",a.emoteButton.style.display=t.touch?"block":"none",a.debugButton&&(a.debugButton.style.display=t.touch?"block":"none")),e.perkMessage.perk){var r=t.perkMessage.perk,i=this.localization.translate("game-"+r),o=(this.localization.translate("game-"+r+"-desc"),k.getSvgFromGameType(r));a.perkMessage.icon.style.backgroundImage=o?"url('"+o+"')":"none",a.perkMessage.name.innerHTML=""+i}e.perkMessage.opacity&&(a.perkMessage.wrapper.style.opacity=t.perkMessage.opacity),e.pickupMessage.message&&(a.pickupMessage.innerHTML=t.pickupMessage.message),e.pickupMessage.opacity&&(a.pickupMessage.style.opacity=t.pickupMessage.opacity),(e.killMessage.text||e.killMessage.count)&&(a.killMessage.text.innerHTML=t.killMessage.text,a.killMessage.count.innerHTML=t.killMessage.count),e.killMessage.opacity&&(a.killMessage.div.style.opacity=t.killMessage.opacity);for(var s=0;s<e.killFeed.length;s++){var n=e.killFeed[s],l=a.killFeed.lines[s],c=t.killFeed[s];if(n.text&&(l.text.innerHTML=c.text),n.offset){var m=z.uiLayout!=z.UiLayout.Sm||z.tablet?35:15;l.line.style.top=Math.floor(c.offset*m)+"px"}n.color&&(l.text.style.color=c.color),n.opacity&&(l.line.style.opacity=c.opacity)}if(e.health||e.downed){for(var p=[{health:100,color:[179,179,179]},{health:100,color:[255,255,255]},{health:75,color:[255,255,255]},{health:75,color:[255,158,158]},{health:25,color:[255,82,82]},{health:25,color:[255,0,0]},{health:0,color:[255,0,0]}],h=0,d=Math.ceil(t.health);p[h].health>d&&h<p.length-1;)h++;var u=p[_.max(h-1,0)],g=p[h],y=_.delerp(t.health,u.health,g.health),f=[Math.floor(_.lerp(y,u.color[0],g.color[0])),Math.floor(_.lerp(y,u.color[1],g.color[1])),Math.floor(_.lerp(y,u.color[2],g.color[2]))];t.downed&&(f=[255,0,0]),a.health.inner.style.backgroundColor="rgba("+f[0]+", "+f[1]+", "+f[2]+", 1.0)",a.health.inner.style.width=t.health+"%",a.health.depleted.style.width=t.health+"%",a.health.depleted.style.display=t.health>0?"block":"none",t.health>25?a.health.inner.classList.remove("ui-bar-danger"):a.health.inner.classList.add("ui-bar-danger")}if(e.boost){for(var b=w.player.boostBreakpoints,x=0,S=0;S<b.length;S++)x+=b[S];for(var v=t.boost/100,I=0;I<a.boost.bars.length;I++){var T=b[I]/x,C=_.clamp(v/T,0,1);v=_.max(v-T,0),a.boost.bars[I].style.width=100*C+"%"}a.boost.div.style.opacity=0==t.boost?0:1}e.interaction.type&&(a.interaction.div.style.display=t.interaction.type==E.None?"none":"flex"),e.interaction.text&&(a.interaction.text.innerHTML=t.interaction.text),e.interaction.key&&(a.interaction.key.innerHTML=t.touch?"":t.interaction.key,a.interaction.key.className=a.interaction.key.innerHTML.length>1?"ui-interaction-small":"ui-interaction-large"),e.interaction.usable&&(a.interaction.key.style.display=t.interaction.usable?"block":"none");for(var P=0;P<e.weapons.length;P++){var A=e.weapons[P],O=a.weapons[P],D=t.weapons[P];if(A.type){var B="",R="",L=M[D.type];L&&(B=this.localization.translate("game-hud-"+D.type)||this.localization.translate("game-"+D.type),L.lootImg.sprite,R=k.getCssTransformFromGameType(D.type)),O.type.innerHTML=B,O.image.src=k.getSvgFromGameType(D.type),O.image.style.display=L?"inline":"none",O.image.style.transform=R}if(A.equipped&&(O.div.style.backgroundColor=D.equipped?"rgba(0, 0, 0, 0.4)":"rgba(0, 0, 0, 0)"),A.selectable&&(O.div.style.pointerEvents=""!=D.type||D.selectable?"auto":"none"),A.width){var F=_.lerp(D.width,83.33,100);O.div.style.width=F+"%"}A.opacity&&(O.div.style.opacity=D.opacity),A.ammo&&O.ammo&&(O.ammo.innerHTML=D.ammo,O.ammo.style.display=D.ammo>0?"block":"none"),A.bindStr&&(O.number.innerHTML=D.bindStr[0]||"")}if(e.ammo.current){var q=t.ammo.current;a.ammo.current.innerHTML=q,a.ammo.current.style.color=q>0?"white":"red"}if(e.ammo.remaining){var j=t.ammo.remaining;a.ammo.remaining.innerHTML=j==Number.MAX_VALUE?"&#8734;":j,a.ammo.remaining.style.color=0!=j?"white":"red"}e.ammo.displayCurrent&&(a.ammo.current.style.opacity=t.ammo.displayCurrent?1:0),e.ammo.displayRemaining&&(a.ammo.remaining.style.opacity=t.ammo.displayRemaining?1:0,a.ammo.reloadButton.style.opacity=t.ammo.displayRemaining?1:0);for(var N=0;N<e.scopes.length;N++){var H=e.scopes[N],V=a.scopes[N],U=t.scopes[N];H.visible&&(U.visible?V.div.classList.remove("ui-hidden"):V.div.classList.add("ui-hidden")),H.equipped&&(U.equipped?(V.div.classList.add("ui-zoom-active"),V.div.classList.remove("ui-zoom-inactive")):(V.div.classList.remove("ui-zoom-active"),V.div.classList.add("ui-zoom-inactive"))),H.selectable&&(V.div.style.pointerEvents=U.selectable?"auto":"none")}for(var W=0;W<e.loot.length;W++){var G=e.loot[W],K=a.loot[W],X=t.loot[W];if(G&&K&&X){if((G.count||G.maximum)&&(K.count.innerHTML=X.count,K.div.style.opacity=M[K.lootType].special&&0==X.count?0:X.count>0?1:.25,K.div.style.color=X.count==X.maximum?"#ff9900":"#ffffff"),G.width){var Z=1+.33*X.width,Y="scale("+Z+", "+Z+")";K.image.style.transform=Y,K.overlay&&(K.overlay.style.transform=Y)}G.selectable&&(K.div.style.pointerEvents=X.selectable?"auto":"none")}}for(var J=0;J<e.gear.length;J++){var Q=e.gear[J],$=a.gear[J],ee=t.gear[J];if(Q.item){var te=ee.item?M[ee.item]:null,ae=te?te.level:0;$.div.style.display=te?"block":"none",$.level.innerHTML=this.localization.translate("game-level-"+ae),$.level.style.color=ae>=3?"#ff9900":"#ffffff",$.image.src=k.getSvgFromGameType(ee.item)}if(Q.selectable&&($.div.style.pointerEvents=ee.selectable?"auto":"none"),Q.width){var re=1+.33*ee.width,ie="scale("+re+", "+re+")",oe=M[ee.item];oe&&void 0!==oe.lootImg.rot&&(ie+=" rotate("+oe.lootImg.rot+"rad)"),$.image.style.transform=ie}}for(var se=0;se<e.perks.length;se++){var ne=e.perks[se],le=a.perks[se],ce=t.perks[se];if(ne.type&&(M[ce.type],le.perkType=ce.type,le.divTitle.innerHTML=this.localization.translate("game-"+ce.type),le.divDesc.innerHTML=this.localization.translate("game-"+ce.type+"-desc"),le.div.style.display=ce.type?"block":"none",le.image.src=ce.type?k.getSvgFromGameType(ce.type):""),ne.droppable&&(ce.droppable?(le.div.classList.add("ui-outline-hover"),le.div.classList.remove("ui-perk-no-drop")):(le.div.classList.remove("ui-outline-hover"),le.div.classList.add("ui-perk-no-drop"))),ne.pulse&&(ce.pulse?le.div.classList.add("ui-perk-pulse"):le.div.classList.remove("ui-perk-pulse")),ne.width){var me=1+.33*ce.width;le.image.style.transform="scale("+me+", "+me+")"}}},displayPickupMessage:function(e){var t=this.newState.pickupMessage;t.message=this.getPickupMessageText(e),t.ticker=0,t.duration=3},displayKillMessage:function(e,t){var a=this.newState.killMessage;a.text=e,a.count=t,a.ticker=0,a.duration=7},hideKillMessage:function{this.newState.killMessage.ticker=_.max(this.newState.killMessage.ticker,this.newState.killMessage.duration-.2)},addPerkMessage:function(e){this.perkMessageQueue.push(e)},removePerkMessage:function(e){var t=this.perkMessageQueue.indexOf(e);t>=0&&this.perkMessageQueue.splice(t,1),this.newState.perkMessage.perk==e&&(this.newState.perkMessage.ticker=this.newState.perkMessage.duration)},getPerkMessageText:function(e){return M[e]?"Acquired perk: "+this.localization.translate("game-"+e):""},addKillFeedMessage:function(e,t){var a=this.newState.killFeed,r=a[a.length-1];r.text=e,r.color=t,r.ticker=0,a.sort(function(e,t){return e.ticker-t.ticker})},getKillFeedText:function(e,t,a,r,i){switch(r){case I.Player:return t+" "+this.localization.translate(i?"game-knocked-out":"game-killed")+" "+e+" "+this.localization.translate("game-with")+" "+this.localization.translate("game-"+a);case I.Bleeding:var o=this.localization.translate(t?"game-finally-killed":"game-finally-bled-out");return t?t+" "+o+" "+e:e+" "+o;case I.Gas:var s=void 0,n=void 0;return i?(s=this.localization.translate("game-the-red-zone"),n=this.localization.translate("game-knocked-out")):n=this.localization.translate(t?"game-finally-killed":"game-died-outside"),s?s+" "+n+" "+e:e+" "+n;case I.Airdrop:var l=C[a],c=this.localization.translate("game-the-air-drop"),m=void 0;return m=i?this.localization.translate("game-knocked-out"):l&&!l.airdropCrate?this.localization.translate("game-killed"):this.localization.translate("game-crushed"),c+" "+m+" "+e;case I.Airstrike:var p=this.localization.translate(i?"game-knocked-out":"game-killed");return t?t+" "+p+" "+e+" "+this.localization.translate("game-with")+" "+this.localization.translate("game-an-air-strike"):this.localization.translate("game-the-air-strike")+" "+p+" "+e;default:return""}},getKillFeedColor:function(e,t,a,r){return r?"#efeeee":e==t?"#d1777c":e==a?"#00bfff":"#efeeee"},getRoleKillFeedColor:function(e,t,a){var r=M[e];return r&&r.killFeed&&r.killFeed.color?r.killFeed.color:k.colorToHexString(a.getTeamColor(t))},getRoleTranslation:function(e,t){var a="game-"+e;return"leader"==e&&(a=1==t?"game-red-leader":"game-blue-leader"),this.localization.translate(a)},getRoleAnnouncementText:function(e,t){return this.localization.translate("game-youve-been-promoted-to")+" "+this.getRoleTranslation(e,t)+"!"},getRoleAssignedKillFeedText:function(e,t,a){var r=this.getRoleTranslation(e,t);return a+" "+this.localization.translate("game-promoted-to")+" "+r+"!"},getRoleKilledKillFeedText:function(e,t,a){var r=this.getRoleTranslation(e,t);return a?a+" "+this.localization.translate("game-killed")+" "+r+"!":r+" "+this.localization.translate("game-is-dead")+"!"},getKillText:function(e,t,a,r,i,o,s,n,l){var c=r&&!i,m=l?e:this.localization.translate("game-you").toUpperCase,p=c?"game-knocked-out":a?"game-killed":"game-finally-killed",h=this.localization.translate(p),d=o?l?this.localization.translate("game-themselves"):this.localization.translate("game-yourself").toUpperCase:t,u=this.localization.translate(n==w.DamageType.Airstrike?"game-an-air-strike":"game-"+s),g=this.localization.translate("game-with");return u&&(a||c)?m+" "+h+" "+d+" "+g+" "+u:m+" "+h+" "+d},getKillCountText:function(e){return e+" "+this.localization.translate(1!=e?"game-kills":"game-kill")},getDownedText:function(e,t,a,r,i){var o=i?t:this.localization.translate("game-you").toUpperCase,s=e;s||(r==w.DamageType.Gas?s=this.localization.translate("game-the-red-zone"):r==w.DamageType.Airdrop?s=this.localization.translate("game-the-air-drop"):r==w.DamageType.Airstrike&&(s=this.localization.translate("game-the-air-strike")));var n=this.localization.translate("game-"+a);e&&r==w.DamageType.Airstrike&&(n=this.localization.translate("game-an-air-strike"));var l=this.localization.translate("game-with");return n?s+" knocked "+o+" out "+l+" "+n:s+" knocked "+o+" out"},getPickupMessageText:function(e){var t,a=(t={},r(t,T.Full,"game-not-enough-space"),r(t,T.AlreadyOwned,"game-item-already-owned"),r(t,T.AlreadyEquipped,"game-item-already-equipped"),r(t,T.BetterItemEquipped,"game-better-item-equipped"),r(t,T.GunCannotFire,"game-gun-cannot-fire"),t),i=a[e]||a[T.Full];return this.localization.translate(i)},getInteractionText:function(e,t){switch(e){case E.None:return"";case E.Cancel:return this.localization.translate("game-cancel");case E.Revive:return this.localization.translate("game-revive-teammate");case E.Object:var a=t.getInteraction;return this.localization.translate(a.action)+" "+this.localization.translate(a.object);case E.Loot:var r=this.localization.translate("game-"+t.type)||t.type;return t.count>1&&(r+=" ("+t.count+")"),r;default:return""}},getInteractionKey:function(e){var t=null;switch(e){case E.Cancel:t=this.inputBinds.getBind(f.Cancel);break;case E.Loot:t=this.inputBinds.getBind(f.Loot)||this.inputBinds.getBind(f.Interact);break;case E.Object:t=this.inputBinds.getBind(f.Use)||this.inputBinds.getBind(f.Interact);break;case E.Revive:t=this.inputBinds.getBind(f.Revive)||this.inputBinds.getBind(f.Interact);break;case E.None:default:t=this.inputBinds.getBind(f.Use)}return t?t.toString:"<Unbound>"}},e.exports={Tt:d,loadStaticDomImages:u}},d49cd95c:function(e,t,a){"use strict";function r(e,t,a){e.moveTo(t.x,t.y),e.lineTo(a.x,a.y)}function i(e,t){var a=t[0];e.moveTo(a.x,a.y);for(var r=1;r<t.length;++r)a=t[r],e.lineTo(a.x,a.y);e.closePath}function o(e,t,a){var r=t.max.x-t.min.x,o=t.max.y-t.min.y,s=w.max(t.offsetDist,.001),n=t.roughness,l=Math.round(r*n/s),c=Math.round(o*n/s),m=h.seededRand(a);i(e,p.generateJaggedAabbPoints(t,l,c,s,m))}function s(e){this.decalBarn=e,this.k=!1,this.ba=!1,this.display={ground:new n.Graphics},this.mapName="",this.mapDef={},this.factionMode=!1,this.seed=0,this.width=0,this.height=0,this.terrain={},this.mapData={places:[],objects:[],groundPatches:[]},this.mapLoaded=!1,this.mapTexture=null,this.ye=new u.Pool(_),this.Ot=new u.Pool(b),this.Et=new u.Pool(x),this.deadObstacleIds=[],this.deadCeilingIds=[],this.solvedPuzzleIds=[],this.terrain=null,this.cameraEmitter=null,this._a=0,this.Ut=!1,this.H=!1}var n=a("8b1dfb45"),l=a("34e32c48"),c=a("6b42806d"),m=a("7510cc08"),p=(a("7b5bbf6e"),a("e100c355")),h=a("1901e2d9"),d=a("c2a798c8"),u=a("753d6e4b"),g=a("119e8c4c"),y=a("ce29f17f"),w=(a("26be8056"),a("300e2704"),a("10899aea")),f=a("989ad62a"),b=a("33375c30"),_=(a("af8ba00f"),a("c347b8dd"),a("0c8ffd27")),x=a("ce089fd5"),S=a("b1f6ba3c"),v=a("03f4982a");s.prototype={n:function{for(var e=this.Ot.p,t=0;t<e.length;t++)e[t].n;this.mapTexture&&this.mapTexture.destroy(!0),this.display.ground.destroy({children:!0}),this.cameraEmitter&&this.cameraEmitter.stop,this.cameraEmitter=null},resize:function(e,t){this.renderMap(e,t)},loadMap:function(e,t,a,r){this.mapName=e.mapName;var i=S[this.mapName];if(!i)throw new Error("Failed loading mapDef "+this.mapName);this.mapDef=h.cloneDeep(i),this.factionMode=!!this.mapDef.gameMode.factionMode,this.seed=e.seed,this.width=e.width,this.height=e.height,this.terrain=p.generateTerrain(this.width,this.height,e.shoreInset,e.grassInset,e.rivers,this.seed),this.mapData={places:e.places,objects:e.objects,groundPatches:e.groundPatches},this.mapLoaded=!0;var o=this.mapDef.biome.particles.camera;if(o){var s=d.normalize(d.create(1,-1));this.cameraEmitter=r.addEmitter(o,{pos:d.create(0,0),dir:s,layer:99999})}this.display.ground.clear,this.renderTerrain(this.display.ground,2/t.ppu,a,!1)},getMapDef:function{if(!this.mapLoaded)throw new Error("Map not loaded!");return this.mapDef},getMapTexture:function{return this.mapTexture},m:function(e,t,a,r,i,o,s,n,l,c){this.k=!0,this.ba=!0;for(var p=this.ye.p,h=0;h<p.length;h++){var u=p[h];u.active&&(u.m(e,this,a,r,i,t,s),u.render(n,c,t.layer))}for(var y=this.Ot.p,f=0;f<y.length;f++){var b=y[f];b.active&&(b.m(e,this,r,i,o,t,s,n),b.render(n,c,t.layer))}for(var _=this.Et.p,x=0;x<_.length;x++){var S=_[x];S.active&&(S.update(e,this,t,o),S.render(n,c,t.layer))}if(this.cameraEmitter){this.cameraEmitter.pos=d.copy(n.pos),this.cameraEmitter.enabled=!0;var v=2.5*t.Ht;this.cameraEmitter.radius=w.min(v,120);var z=(g.EmitterDefs.falling_leaf,this.cameraEmitter.radius),k=z*z/14400;this.cameraEmitter.rateMult=1/k;var I=0==t.layer?1:0;this.cameraEmitter.alpha=w.lerp(6*e,this.cameraEmitter.alpha,I)}if(++this._a%180==0){this.Ut=!0;for(var T=0,M=m.De,C=0;C<l.length;C++){var P=l[C];P.active&&!P.fade&&M(P,m.Oe)&&T++}for(var A=0;A<p.length;A++){var O=p[A];O.active&&!O.dead&&M(O,m.Ee)&&T++}T&&(this.H=!0)}},renderTerrain:function(e,t,a,s){var n=this.width,l=this.height,c=this.terrain,m={x:0,y:0},p={x:n,y:0},h={x:0,y:l},d={x:n,y:l},u=this.mapDef.biome.colors,g=this.mapData.groundPatches;e.beginFill(u.background),e.drawRect(-120,-120,n+240,120),e.drawRect(-120,l,n+240,120),e.drawRect(-120,-120,120,l+240),e.drawRect(n,-120,120,l+240),e.endFill,e.beginFill(u.beach),i(e,c.shore),i(e,c.grass),e.addHole,e.endFill,a&&(e.beginFill(u.grass),i(e,c.grass),e.endFill);for(var y=0;y<g.length;y++){var w=g[y];0!=w.order||s&&!w.useAsMapShape||(e.beginFill(w.color),o(e,w,this.seed),e.endFill)}e.beginFill(u.riverbank);for(var b=0;b<c.rivers.length;b++)i(e,c.rivers[b].shorePoly);e.endFill,e.beginFill(u.water);for(var _=0;_<c.rivers.length;_++)i(e,c.rivers[_].waterPoly);e.endFill,e.beginFill(u.water),e.moveTo(h.x,h.y),e.lineTo(d.x,d.y),e.lineTo(p.x,p.y),e.lineTo(m.x,m.y),i(e,c.shore),e.addHole,e.closePath,e.endFill;var x=e;x.lineStyle(t,0,.15);for(var S=0;S<=n;S+=f.map.gridSize)r(x,{x:S,y:0},{x:S,y:l});for(var v=0;v<=l;v+=f.map.gridSize)r(x,{x:0,y:v},{x:n,y:v});x.lineStyle(t,0,0);for(var z=0;z<g.length;z++){var k=g[z];1!=k.order||s&&!k.useAsMapShape||(e.beginFill(k.color),o(e,k,this.seed),e.endFill)}},render:function(e){var t=e.pointToScreen(d.create(0,0)),a=e.pointToScreen(d.create(1,1)),r=d.sub(a,t);this.display.ground.position.set(t.x,t.y),this.display.ground.scale.set(r.x,r.y)},getMinimapRender:function(e){var t=v[e.type],a="building"==t.type?750+(t.zIdx||0):t.img.zIdx||0,r=[];if(void 0!==t.map.shapes)r=t.map.shapes;else{var i=null;(i="obstacle"==t.type?t.collision:t.ceiling.zoomRegions.length>0&&t.ceiling.zoomRegions[0].zoomIn?t.ceiling.zoomRegions[0].zoomIn:m.getBoundingCollider(e.type))&&r.push({collider:c.copy(i),scale:t.map.scale||1,color:t.map.color})}return{obj:e,zIdx:a,shapes:r}},renderMap:function(e,t){if(this.mapLoaded){var a=new n.Container,i=new n.Container,o=this.mapDef.biome.colors,s=this.mapData.places,l=this.mapData.objects,m=y.screenHeight;y.mobile&&(y.isLandscape||(m=y.screenWidth),m*=w.min(y.pixelRatio,2));var p=this.height/m,h=new n.Graphics;h.beginFill(o.grass),h.drawRect(0,0,this.width,this.height),h.endFill,this.renderTerrain(h,p,t,!0);var u={x:0,y:0},g={x:this.width,y:0},f={x:0,y:this.height},b={x:this.width,y:this.height};h.lineStyle(2*p,0,1),r(h,u,f),r(h,f,b),r(h,b,g),r(h,g,u),h.position.y=this.height,h.scale.y=-1,a.addChild(h);for(var _=[],x=0;x<l.length;x++){var S=l[x];_.push(this.getMinimapRender(S))}_.sort(function(e,t){return e.zIdx-t.zIdx});for(var v=new n.Graphics,z=0;z<_.length;z++)for(var k=_[z],I=k.obj,T=0;T<k.shapes.length;T++){var M=k.shapes[T],C=c.transform(M.collider,I.pos,w.oriToRad(I.ori),I.scale),P=void 0!==M.scale?M.scale:1;switch(v.beginFill(M.color,1),C.type){case c.Type.Circle:v.drawCircle(C.pos.x,this.height-C.pos.y,C.rad*P);break;case c.Type.Aabb:var A=d.mul(d.sub(C.max,C.min),.5),O=d.add(C.min,A);A=d.mul(A,P),v.drawRect(O.x-A.x,this.height-O.y-A.y,2*A.x,2*A.y)}v.endFill}a.addChild(v);for(var E=new n.Container,D=0;D<s.length;D++){var B=s[D],R=new n.TextStyle({fontFamily:"Arial",fontSize:y.mobile?20:22,fontWeight:"bold",fill:["#ffffff"],stroke:"#000000",strokeThickness:1,dropShadow:!0,dropShadowColor:"#000000",dropShadowBlur:1,dropShadowAngle:Math.PI/3,dropShadowDistance:1,wordWrap:!1,align:"center"}),L=new n.Text(B.name,R);L.anchor.set(.5,.5),L.x=B.pos.x*this.height/p,L.y=B.pos.y*this.height/p,L.alpha=.75,E.addChild(L)}i.addChild(E),this.mapTexture?this.mapTexture.resize(m,m):this.mapTexture=n.RenderTexture.create(m,m,n.SCALE_MODES.LINEAR,1),a.scale=new n.Point(m/this.height,m/this.height),e.render(a,this.mapTexture,!0),e.render(i,this.mapTexture,!1),a.destroy({children:!0,texture:!0,baseTexture:!0}),i.destroy({children:!0,texture:!0,baseTexture:!0})}},getGroundSurface:function(e,t){for(var a=this,r=function(e,t){if(t=t||{},"water"==e){var r=a.getMapDef.biome.colors;t.waterColor=void 0!==t.waterColor?t.waterColor:r.water,t.rippleColor=void 0!==t.rippleColor?t.rippleColor:r.waterRipple}return{type:e,data:t}},i=this.decalBarn.f.p,o=0;o<i.length;o++){var s=i[o];if(s.active&&s.surface&&h.sameLayer(s.layer,t)&&c.intersectCircle(s.collider,e,1e-4))return r(s.surface.type,s.surface.data)}for(var n=null,m=0,p=2&t,d=this.Ot.p,u=0;u<d.length;u++){var g=d[u];if(g.active&&!(g.zIdx<m)&&!(g.layer!=t&&!p||1==g.layer&&p))for(var y=0;y<g.surfaces.length;y++)for(var f=g.surfaces[y],b=0;b<f.colliders.length;b++){var _=c.intersectCircle(f.colliders[b],e,1e-4);if(_){m=g.zIdx,n=f;break}}}if(n)return r(n.type,n.data);var x=!1;if(1!=t)for(var S=this.terrain.rivers,v=0;v<S.length;v++){var z=S[v];if(l.testPointAabb(e,z.aabb.min,z.aabb.max)&&w.pointInsidePolygon(e,z.shorePoly)&&(x=!0,w.pointInsidePolygon(e,z.waterPoly)))return r("water",{river:z})}return r(w.pointInsidePolygon(e,this.terrain.grass)?x?this.mapDef.biome.sound.riverShore:"grass":w.pointInsidePolygon(e,this.terrain.shore)?"sand":"water")},isInOcean:function(e){return!w.pointInsidePolygon(e,this.terrain.shore)},distanceToShore:function(e){return w.distToPolygon(e,this.terrain.shore)},insideStructureStairs:function(e){for(var t=this.Et.p,a=0;a<t.length;a++){var r=t[a];if(r.active&&r.insideStairs(e))return!0}return!1},getBuildingById:function(e){for(var t=this.Ot.p,a=0;a<t.length;a++){var r=t[a];if(r.active&&r.__id==e)return r}return null},insideStructureMask:function(e){for(var t=this.Et.p,a=0;a<t.length;a++){var r=t[a];if(r.active&&r.insideMask(e))return!0}return!1},insideBuildingCeiling:function(e,t){for(var a=this.Ot.p,r=0;r<a.length;r++){var i=a[r];if(i.active&&(!t||!(i.ceiling.visionTicker<=0||i.ceilingDead))&&i.isInsideCeiling(e))return!0}return!1}},e.exports={st:s}},d5ec3c16:function(e,t,a){"use strict";var r=(a("989ad62a"),a("c2a798c8"),{mapId:0,desc:{name:"Normal",icon:"",buttonCss:""},assets:{audio:[{name:"club_music_01",channel:"ambient"},{name:"club_music_02",channel:"ambient"},{name:"ambient_steam_01",channel:"ambient"}],atlases:["gradient","loadout","shared","main"]},biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:13480795,riverbank:9461284,grass:8433481,underground:1772803,playerSubmerge:2854052,playerGhillie:8630096},valueAdjust:1,sound:{riverShore:"sand"},particles:{camera:""},tracerColors:{},airdrop:{planeImg:"map-plane-01.img",planeSound:"plane_01",airdropImg:"map-chute-01.img"}},gameMode:{maxPlayers:80,killLeaderEnabled:!0}});e.exports=r},d84c74f8:function(e,t,a){"use strict";function r(e){var t=null;window.cookieconsent.initialise({palette:{popup:{background:"#3c404d",text:"#d6d6d6"},button:{background:"#8bed4f"}},theme:"classic",position:"bottom-left",content:{message:"This website uses ad monetization services of AdinPlay BV and uses cookies to personalize ads, ad serving, analytics and verification. By clicking 'Got it!' you confirm that you consent to setting cookies and processing your personal data for all the listed purposes. If you are under the age of consent in your jurisdiction for data processing purposes, or if you wish to deny consent, click \"Learn more\".",dismiss:"Got it!",deny:"Decline",link:"Learn more.",href:"/privacy"},revokable:!1,animateRevokable:!1,law:{regionalLaw:!1},location:!1,onStatusChange:function(t){var a=(this.options.type,this.hasConsented),r=e.get("cookiesConsented");e.set("cookiesConsented",a),o.storeGeneric("cookiesConsented",a),r!=a&&window.location.reload(!1)}},function(e){t=e},function(e){console.error(e)}),i("#btn-cookie-opt-out").click(function(a){t&&(t.setStatus("deny"),e.get("cookiesConsented")&&(e.set("cookiesConsented",!1),o.storeGeneric("cookiesConsented",!1),window.location.reload(!1)))}),i(".btn-cookies-close").click(function(a){t&&(t.setStatus("allow"),e.get("cookiesConsented")||(e.set("cookiesConsented",!0),o.storeGeneric("cookiesConsented",!0),window.location.reload(!1)))});var a=new s(i("#modal-cookie-settings"));a.onShow(function{i("#modal-hamburger").fadeOut(200)}),i(".btn-cookie-settings").css("display","inline-block"),i(".btn-cookie-settings").click(function(e){return t&&(void 0==t.getStatus&&i(this).hasClass("cc-link")&&(t.setStatus("dismiss"),t.close),a.show),!1})}var i=a("8ee62bea"),o=(a("81a1fce4"),a("f398b7c7")),s=a("fa71fb59");e.exports={showCookieConsent:r}},e100c355:function(e,t,a){"use strict";function r(e,t,a,r,i){var o=c.create(e.min.x,e.min.y),s=c.create(e.max.x,e.min.y),n=c.create(e.min.x,e.max.y),l=c.create(e.max.x,e.max.y),m=s.x-o.x,p=n.y-o.y,h=m/(t+1),d=p/(a+1),u=[];u.push(c.copy(o));for(var g=1;g<=t;++g)u.push(c.create(o.x+h*g,o.y+i(-r,r)));u.push(c.copy(s));for(var y=1;y<=a;++y)u.push(c.create(s.x+i(-r,r),s.y+d*y));u.push(c.copy(l));for(var w=1;w<=t;++w)u.push(c.create(l.x-h*w,l.y+i(-r,r)));u.push(c.copy(n));for(var f=1;f<=a;++f)u.push(c.create(n.x+i(-r,r),n.y-d*f));return u}function i(e,t,a,i,m,p){for(var h=s.map.shoreVariation,d=s.map.grassVariation,u=l.seededRand(p),g=c.create(a,a),y=(c.create(e-a,a),c.create(a,t-a),c.create(e-a,t-a)),w=c.create(g.x,g.y),f=c.create(y.x,y.y),b=o.createAabb(w,f),_=r(b,64,64,h,u),x=c.create(.5*e,.5*t),S=_.map(function(e){var t=c.normalize(c.sub(x,e)),a=u(-d,d),r=i+a;return c.add(e,c.mul(t,r))}),v={min:c.create(0,0),max:c.create(e,t)},z=[],k=0;k<m.length;k++){var I=m[k],T=new n(I.points,I.width,I.looped,z,v);z.push(T)}return{shore:_,grass:S,rivers:z}}var o=a("6b42806d"),s=a("989ad62a"),n=(a("10899aea"),a("be22c643")),l=a("1901e2d9"),c=a("c2a798c8");e.exports={generateJaggedAabbPoints:r,generateTerrain:i}},e2094860:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("8ee62bea"),s=a("8b1dfb45"),n=a("6b42806d"),l=a("989ad62a"),c=a("10899aea"),m=a("1901e2d9"),p=a("c2a798c8"),h=(a("26be8056"),a("ce29f17f")),d=(a("af8ba00f"),a("beeed8a4")),u=a("721a96bf"),g=function{function e(t,a){var i=this;r(this,e),this.input=t,this.config=a,this.container=new s.Container,this.xa=new y,this.padScaleBase=1,this.padScaleDown=.6,this.padScalePos=.25,this.moveDetected=!1,this.Vt=!1,this.Sa=!1,this.touchingAim=!1,this.display=!0,this.moveStyle="locked",this.aimStyle="locked",this.touchAimLine=!0;var o=function(e,t){var a=s.Sprite.fromImage("pad.img");return a.anchor.set(.5,.5),a.scale.set(1,1),a.alpha=.2,a.visible=!1,a.tint=t,e.addChild(a),a},n=function{return{touched:!1,centerPos:p.create(0,0),touchPos:p.create(0,0),centerSprite:o(i.container,0),touchSprite:o(i.container,16777215)}};this.touchPads=[n,n],this.playerMovement={left:!1,right:!1,up:!1,down:!1,moveLen:0},this.analogMovement={toMoveDir:p.create(1,0),toMoveLen:0},this.aimMovement={toAimDir:p.create(1,0),toAimLen:0},this.leftLockedPadCenter=p.create(0,0),this.rightLockedPadCenter=p.create(0,0),this.padPosBase=48,this.padPosRange=0,this.movePadDetectMult=1,this.shotPadDetectMult=1.075,this.turnDirCooldown=.5,this.turnDirTicker=0,this.mobileOffsetLandscape=25,this.mobileOffsetPortrait=100,this.lockedPadOffsetLandscape=p.create(126,100),this.lockedPadOffsetPortrait=p.create(96,160),this.lockedPadOffsetYLandscapeSafari=120,this.lockedPadOffsetYPortraitSafari=240;var l=function(e){return-1===["locked","anywhere"].indexOf(e)?"anywhere":e},c=l(a.get("touchMoveStyle")),m=l(a.get("touchAimStyle"));this.setMoveStyle(c),this.setAimStyle(m),this.setTouchAimLine(!!a.get("touchAimLine")),this.init}return i(e,[{key:"getTouchMovement",value:function(e){return this.getMovement(e)}},{key:"getAimMovement",value:function(e,t){var a=e.le.curWeapIdx==l.WeaponSlot.Throwable;return this.getAim(a,t)}},{key:"setAimDir",value:function(e){this.aimMovement.toAimDir=p.copy(e)}},{key:"getMovement",value:function(e){var t=null,a=null,r=!1,i=void 0;this.moveDetected=!1;for(var o=0;o<this.input.touches.length;o++){var s=this.input.touches[o];if(!s.isDead&&this.isLeftSideTouch(s.posDown.x,e)){var n="anywhere"==this.moveStyle?s.posDown:this.leftLockedPadCenter,l=p.sub(s.pos,n),c=p.length(l);if(c>2){var m=(c-2)/(this.padPosRange/this.movePadDetectMult-2);i=m>1e-5?p.div(l,m):this.analogMovement.toMoveDir,this.analogMovement={toMoveDir:p.create(i.x,-1*i.y),toMoveLen:m},this.moveDetected=!0}a=this.getConstrainedPos(n,s.pos,c),t=n,r=!0;break}}var h=this.touchPads[0];return h.touched=r,r&&"anywhere"==this.moveStyle?h.centerPos=p.copy(t):h.centerPos=p.copy(this.leftLockedPadCenter),h.touchPos.x=r?a.x:this.leftLockedPadCenter.x,h.touchPos.y=r?a.y:this.leftLockedPadCenter.y,this.analogMovement}},{key:"getAim",value:function(e,t){for(var a=!1,r=null,i=null,o=void 0,s=0;s<this.input.touches.length;s++){var n=this.input.touches[s];if(!n.isDead&&!this.isLeftSideTouch(n.posDown.x,t)){var l="anywhere"==this.aimStyle?n.posDown:this.rightLockedPadCenter,c=p.sub(n.pos,l),m=p.length(c);if(m>2){var h=p.sub(n.pos,l),d=p.length(h);o=d>1e-5?p.div(h,d):this.aimMovement.toAimDir,this.aimMovement={toAimDir:p.create(o.x,-1*o.y),toAimLen:d}}else this.aimMovement.toAimLen=0;i=this.getConstrainedPos(l,n.pos,m),r=l,a=!0;break}}this.Sa=this.Vt,this.Vt=this.aimMovement.toAimLen>this.padPosRange/this.shotPadDetectMult&&a,this.touchingAim=a,e&&this.Sa&&a&&(this.Vt=!0);var u=this.touchPads[1];return u.touched=a,a&&"anywhere"==this.aimStyle?u.centerPos=p.copy(r):u.centerPos=p.copy(this.rightLockedPadCenter),u.touchPos.x=a?i.x:this.rightLockedPadCenter.x,u.touchPos.y=a?i.y:this.rightLockedPadCenter.y,{aimMovement:this.aimMovement,touched:u.touched}}},{key:"update",value:function(e,t,a,r,i){for(var o=0;o<this.touchPads.length;o++){var s=this.touchPads[o];s.centerSprite.position.x=s.centerPos.x,s.centerSprite.position.y=s.centerPos.y,s.centerSprite.scale.x=this.padScaleBase*this.padScaleDown,s.centerSprite.scale.y=this.padScaleBase*this.padScaleDown,s.centerSprite.visible=h.touch&&this.display,s.touchSprite.position.x=s.touchPos.x,s.touchSprite.position.y=s.touchPos.y,s.touchSprite.scale.x=this.padScaleBase*this.padScalePos,s.touchSprite.scale.y=this.padScaleBase*this.padScalePos,s.touchSprite.visible=h.touch&&this.display}this.xa.update(this,t,a,r,i)}},{key:"isLeftSideTouch",value:function(e,t){return e<.5*t.screenWidth}},{key:"getConstrainedPos",value:function(e,t,a){if(a<=this.padPosRange)return t;var r=t.x-e.x,i=t.y-e.y,o=Math.atan2(i,r);return p.create(Math.cos(o)*this.padPosRange+e.x,Math.sin(o)*this.padPosRange+e.y)}},{key:"getConstrainedPosDown",value:function(e,t,a){var r=p.normalizeSafe(t);return p.add(e,p.mul(r,Math.max(0,a-this.padPosRange)))}},{key:"toggleMoveStyle",value:function{this.setMoveStyle("locked"==this.moveStyle?"anywhere":"locked")}},{key:"setMoveStyle",value:function(e){this.moveStyle=e,this.config.set("touchMoveStyle",e);var t=document.getElementById("btn-game-move-style");t&&("locked"==this.moveStyle?(t.classList.remove("unlocked-on-icon"),t.classList.add("locked-on-icon")):(t.classList.remove("locked-on-icon"),t.classList.add("unlocked-on-icon")))}},{key:"toggleAimStyle",value:function{this.setAimStyle("locked"==this.aimStyle?"anywhere":"locked")}},{key:"setAimStyle",value:function(e){this.aimStyle=e,this.config.set("touchAimStyle",e);var t=document.getElementById("btn-game-aim-style");"locked"==this.aimStyle?(t.classList.remove("unlocked-on-icon"),t.classList.add("locked-on-icon")):(t.classList.remove("locked-on-icon"),t.classList.add("unlocked-on-icon"))}},{key:"toggleAimLine",value:function{this.setTouchAimLine(!this.touchAimLine)}},{key:"setTouchAimLine",value:function(e){this.touchAimLine=e,this.config.set("touchAimLine",this.touchAimLine);var t=document.getElementById("btn-game-aim-line");this.touchAimLine?(t.classList.remove("aim-line-off-icon"),t.classList.add("aim-line-on-icon")):(t.classList.remove("aim-line-on-icon"),t.classList.add("aim-line-off-icon"))}},{key:"init",value:function{this.resize}},{key:"resize",value:function{var e=h.isLandscape,t=this.lockedPadOffsetLandscape,a=this.lockedPadOffsetPortrait;h.tablet&&(t.x=1*t.x,a.x=1.25*a.x);var r=p.create(t.x,t.y),i=p.create(a.x,a.y),o=p.create(h.screenWidth-t.x,t.y),s=p.create(h.screenWidth-a.x,a.y);if("ios"==h.os)if("iphonex"==h.model)r.x=r.x+56,o.x=o.x-56,r.y=.9*r.y,o.y=.9*o.y;else if(h.webview)h.tablet&&h.webview&&(r.y=1.1*r.y,o.y=1.1*o.y);else{var n=this.lockedPadOffsetYLandscapeSafari,l=this.lockedPadOffsetYPortraitSafari;h.tablet&&(window.navigator.standalone,n*=1,l*=1),r.y=n,i.y=l,o.y=n,s.y=l}this.padScaleBase=e?1:.8,this.padPosRange=this.padPosBase*this.padScaleBase;var c=e?r:i;this.leftLockedPadCenter=p.create(c.x,h.screenHeight-c.y);var m=e?o:s;this.rightLockedPadCenter=p.create(m.x,h.screenHeight-m.y),this.setMobileStyling(e)}},{key:"setMobileStyling",value:function(e){if(h.touch&&(o("#btn-touch-styles").find(".btn-game-container").css("display","inline-block"),o("#ui-emote-button").css("display","block")),h.uiLayout==h.UiLayout.Sm?(o("#ui-map-wrapper").addClass("ui-map-wrapper-mobile").removeClass("ui-map-wrapper-desktop"),o("#ui-settings-container-mobile").css("display","block"),o("#ui-settings-container-desktop").css("display","none"),o("#ui-right-center").addClass("ui-right-center-mobile").removeClass("ui-right-center-desktop"),o("#ui-leaderboard-wrapper").css("display","none"),o("#big-map-close").css("display","block"),o("#ui-game-menu").removeClass("ui-game-menu-desktop"),o("#btn-game-tabs").css("display","none"),o("#ui-game-tab-settings").removeClass("ui-game-tab-settings-desktop"),o(".ui-ability-key").css("display","none")):(o("#ui-map-wrapper").removeClass("ui-map-wrapper-mobile").addClass("ui-map-wrapper-desktop"),o("#ui-settings-container-mobile").css("display","none"),o("#ui-settings-container-desktop").css("display","block"),o("#ui-right-center").removeClass("ui-right-center-mobile").addClass("ui-right-center-desktop"),o("#ui-leaderboard-wrapper").css("display","block"),o("#big-map-close").css("display","none"),o("#ui-game-menu").addClass("ui-game-menu-desktop"),o("#btn-game-tabs").css("display","flex"),o("#ui-game-tab-settings").addClass("ui-game-tab-settings-desktop"),o(".ui-ability-key").css("display","block")),h.tablet&&(e?("ios"==h.os?h.webview?(o("#ui-bottom-right").addClass("ui-bottom-right-tablet-ipad-webview"),o("#ui-right-center").addClass("ui-right-center-tablet")):(o("#ui-bottom-right").addClass("ui-bottom-right-tablet-ipad-browser"),o("#ui-right-center").addClass("ui-right-center-tablet-ipad-browser")):(o("#ui-bottom-right").addClass("ui-bottom-right-tablet"),o("#ui-right-center").addClass("ui-right-center-tablet")),o("#ui-bottom-center-left").addClass("ui-bottom-center-left-tablet"),o("#ui-bottom-center-right").addClass("ui-bottom-center-right-tablet"),o("#ui-top-left").addClass("ui-top-left-tablet"),o("#ui-spectate-options-wrapper").addClass("ui-spectate-options-wrapper-tablet"),o("#ui-killfeed-wrapper").addClass("ui-killfeed-wrapper-tablet"),o("#ui-kill-leader-wrapper").css("right",144)):(o("#ui-bottom-left").removeClass("ui-bottom-left-tablet"),o("#ui-bottom-right").removeClass("ui-bottom-right-tablet"),o("#ui-right-center").removeClass("ui-right-center-tablet"),o("#ui-bottom-center-right").removeClass("ui-bottom-center-right-tablet"),o("#ui-top-left").removeClass("ui-top-left-tablet"),o("#ui-spectate-options-wrapper").removeClass("ui-spectate-options-wrapper-tablet"),o("#ui-killfeed-wrapper-wrapper").removeClass("ui-killfeed-wrapper-tablet"))),"ios"==h.os)if("iphonex"==h.model){var t=h.isLandscape?"99%":"90%",a=h.isLandscape?0:32;o("#ui-game").css({height:t,top:a}),o("#ui-stats-contents").css({transform:"translate(-50%) scale(0.95)","transform-origin":"top"}),e?o("#ui-game").css({left:"50%",transform:"translateX(-50%)",width:"93%"}):o("#ui-game").css({left:"",transform:"",width:""})}else if(window.navigator.standalone&&!h.tablet)o("#ui-game").css({height:"95%"});else{var r=h.isLandscape?"86%":"82%";h.tablet?r="100%":h.webview&&(r="98%"),o("#ui-game").css({height:r});var i=h.webview&&!h.tablet?0:6,s=o("#ui-right-center, #ui-top-center-scopes-wrapper, #ui-top-center, #ui-menu-display");s.css({"margin-top":i})}h.tablet||e?(o("#ui-loot-50AE").insertBefore("#ui-loot-556mm"),o("#ui-loot-9mm").insertBefore("#ui-loot-556mm"),o("#ui-loot-308sub").insertBefore("#ui-loot-556mm"),o("#ui-loot-12gauge").insertBefore("#ui-loot-556mm"),o("#ui-loot-flare").insertBefore("#ui-loot-556mm"),o("#ui-loot-762mm").insertBefore("#ui-loot-556mm"),o("#ui-loot-45acp").insertBefore("#ui-loot-556mm")):(o("#ui-loot-9mm").insertBefore("#ui-loot-45acp"),o("#ui-loot-12gauge").insertBefore("#ui-loot-45acp"),o("#ui-loot-762mm").insertBefore("#ui-loot-45acp"),o("#ui-loot-556mm").insertBefore("#ui-loot-45acp"),o("#ui-loot-50AE").insertBefore("#ui-loot-45acp"),o("#ui-loot-308sub").insertBefore("#ui-loot-45acp"),o("#ui-loot-flare").insertBefore("#ui-loot-45acp"))}},{key:"hideAll",value:function{this.display=!1}}]),e},y=function{function e{r(this,e),this.container=new s.Container,this.container.visible=!1,this.dots=[]}return i(e,[{key:"createDot",value:function{var e=new s.Sprite;return e.texture=s.Texture.fromImage("dot.img"),e.anchor.set(.5,.5),e.position.set(0,0),e.scale.set(1,1),e.tint=16777215,e.alpha=1,e.visible=!1,e}},{key:"update",value:function(e,t,a,r,i){var o=h.touch&&e.touchingAim&&e.touchAimLine;if(o){var s=t.ne.curWeapType,g=u[s],y=30;if("gun"==g.type){var w=d[g.bulletType].distance;y=g.barrelLength+w}var f=t.Ht,b=Math.sqrt(1.414*f*f);y=c.min(y,b);for(var _=p.copy(t.pos),x=p.add(_,p.mul(t.dir,y)),S=a.ye.p,v=0;v<S.length;v++){var z=S[v];if(!(!z.active||z.dead||z.height<l.bullet.height||!z.collidable||z.isWindow)&&m.sameLayer(t.layer,z.layer)&&!("throwable"==g.type&&z.height<=l.projectile.maxHeight)){var k=n.intersectSegment(z.collider,_,x);if(k){var I=p.length(p.sub(k.point,_));I<y&&(y=I,x=k.point)}}}for(var T=p.length(p.sub(x,_)),M=Math.max(Math.ceil((T-3.5)/1.5),0);this.dots.length<M;){var C=this.createDot;this.container.addChild(C),this.dots.push(C)}for(var P=0;P<this.dots.length;P++){var A=this.dots[P],O=3.5+1.5*P,E=p.add(t.pos,p.mul(t.dir,O));A.position.set(E.x,E.y),A.scale.set(.01171875,.01171875),A.visible=P<M}var D=r.pointToScreen(p.create(0,0)),B=r.pointToScreen(p.create(1,1)),R=p.sub(B,D);this.container.position.set(D.x,D.y),this.container.scale.set(R.x,R.y),this.container.alpha=.3,i.addPIXIObj(this.container,t.layer,19,0)}this.container.visible=o}}]),e};e.exports={$e:g}},e5d16b4d:function(e,t,a){"use strict";function r(e){return e.displayCloseIcon?"img/gui/close.svg":w.getSvgFromGameType(e.ping||e.emote)}function i(e){var t=180*Math.atan2(e.y,e.x)/Math.PI;return t<0&&(t+=360),t}function o(e,t,a){return t<=a?a-t<=180?t<=e&&e<=a:a<=e||e<=t:t-a<=180?a<=e&&e<=t:t<=e||e<=a}function s(e,t,a,r,o){var s=this;this.audioManager=e,this.uiManager=t,this.gameElem=n("#ui-game"),this.disable=!1,this.Ft=null,this.playerBarn=a,this.camera=r,this.map=o,this.worldPos=d.create(0,0),this.zIdxNext=0,this.emoteSelector={ping:"",emote:""},this.emoteSoftTicker=0,this.emoteHardTicker=0,this.emoteCounter=0,this.emoteWheelsGreyed=!1,this.teamEmotesGreyed=!1,this.wheelKeyTriggered=!1,this.emoteTimeoutTicker=0,this.va=!1,this.pingKeyDown=!1,this.pingMouseTriggered=!1,this.wheelDisplayed=!1,this.emoteMouseTriggered=!1,this.emoteScreenPos=d.create(0,0),this.triggerPing=function{if(s.Ft){var e=void 0;if(s.emoteSelector.ping&&!s.emoteWheelsGreyed){var t=_[s.emoteSelector.ping];t&&t.pingMap&&(e=s.uiManager.getWorldPosFromMapPos(s.bigmapPingPos||s.emoteScreenPos,s.map,s.camera),e||(e=s.camera.q(s.emoteScreenPos)),e.x=u.clamp(e.x,0,s.map.width),e.y=u.clamp(e.y,0,s.map.height),s.sendPing({type:s.emoteSelector.ping,pos:e}))}else s.emoteSelector.emote&&!s.emoteWheelsGreyed&&(e=s.Ft.pos,s.sendEmote({type:s.emoteSelector.emote,pos:e}),s.uiManager.displayMapLarge(!0));s.inputReset,s.va=s.pingKeyDown}},this.triggerEmote=function{if(s.Ft){var e=void 0;s.emoteSelector.emote&&!s.emoteWheelsGreyed&&(e=s.Ft.pos,s.sendEmote({type:s.emoteSelector.emote,pos:e})),s.inputReset}},this.emoteTouchedPos=null,this.bigmapPingPos=null,this.onTouchStart=function(e){s.wheelDisplayed&&(e.stopPropagation,s.inputReset)},y.touch&&(this.emoteElems=n(".ui-emote"),this.emoteElems.css("pointer-events","auto"),this.bigmapCollision=n("#big-map-collision"),this.bigmapCollision.on("touchend",function(e){e.stopPropagation,s.bigmapPingPos={x:e.originalEvent.changedTouches[0].pageX,y:e.originalEvent.changedTouches[0].pageY},s.emoteScreenPos=d.create(s.camera.screenWidth/2,s.camera.screenHeight/2),s.pingMouseTriggered=!0}),this.emoteButtonElem=n("#ui-emote-button"),this.emoteButtonElem.css("pointer-events","auto"),this.emoteButtonElem.on("touchstart",function(e){e.stopPropagation,s.emoteScreenPos=d.create(s.camera.screenWidth/2,s.camera.screenHeight/2),s.emoteMouseTriggered=!0}),this.emoteElems.on("touchstart",function(e){e.stopPropagation,s.emoteTouchedPos={x:e.originalEvent.changedTouches[0].pageX,y:e.originalEvent.changedTouches[0].pageY}}),n(document).on("touchstart",this.onTouchStart)),this.emoteWheels=n("#ui-emotes, #ui-team-pings"),this.teamEmotes=n(".ui-emote-bottom-left, .ui-emote-top-left"),this.emoteWheel=n("#ui-emotes"),this.emoteWheelData={middle:{parent:n("#ui-emote-middle"),vA:d.create(-1,1),vC:d.create(1,1),ping:"",emote:"",displayCloseIcon:!0},top:{parent:n("#ui-emote-top"),vA:d.create(-1,1),vC:d.create(1,1),ping:"",emote:"",emoteSlot:m.Top},right:{parent:n("#ui-emote-right"),vA:d.create(1,1),vC:d.create(1,-1),ping:"",emote:"",emoteSlot:m.Right},bottom:{parent:n("#ui-emote-bottom"),vA:d.create(1,-1),vC:d.create(-1,-1),ping:"",emote:"",emoteSlot:m.Bottom},left:{parent:n("#ui-emote-left"),vA:d.create(-1,-1),vC:d.create(-1,1),ping:"",emote:"",emoteSlot:m.Left}},this.teamPingWheel=n("#ui-team-pings");var c={middle:{parent:n("#ui-team-ping-middle"),vA:d.create(-1,1),vC:d.create(1,1),ping:"",emote:"",displayCloseIcon:!0},top:{parent:n("#ui-team-ping-top"),vA:d.create(-1,1),vC:d.create(1,1),ping:"ping_danger",emote:""},right:{parent:n("#ui-team-ping-right"),vA:d.create(1,1),vC:d.create(1,-1),ping:"ping_coming",emote:""},bottom:{parent:n("#ui-team-ping-bottom"),vA:d.create(1,-1),vC:d.create(-1,-1),ping:"ping_help",emote:""},"bottom-left":{parent:n("#ui-team-ping-bottom-left"),vA:d.create(-1,-1),vC:d.create(-1,0),ping:"",emote:"emote_medical"},"top-left":{parent:n("#ui-team-ping-top-left"),vA:d.create(-1,0),vC:d.create(-1,1),ping:"",emote:"emote_ammo",ammoEmote:!0}};this.teamPingSelectors=[];for(var h in c)if(c.hasOwnProperty(h)){var g=c[h],w=(g.ping?_[g.ping]:b[g.emote],i(g.vA)),f=i(g.vC);this.teamPingSelectors.push({parent:g.parent,angleA:w,angleC:f,highlight:g.parent.find(".ui-emote-hl"),highlightDisplayed:!1,ping:g.ping,emote:g.emote,ammoEmote:g.ammoEmote,displayCloseIcon:g.displayCloseIcon})}this.displayedSelectors=this.teamPingSelectors,this.baseScale=1,this.container=new p.Container,this.container.scale.set(this.baseScale,this.baseScale),this.pingContainer=new p.Container,this.container.addChild(this.pingContainer),this.indContainer=new p.Container;var v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16777215,a=new p.Container,r=new p.Container,i=l.groupColors[e]||t,o=p.Sprite.fromImage("ping-border.img");o.scale.set(.4,.4),o.anchor.set(.5,.5),o.tint=i,o.alpha=0,o.visible=!0,a.addChild(o);var s=p.Sprite.fromImage("ping-team-danger.img");s.scale.set(.4,.4),s.anchor.set(.5,.5),s.tint=i,s.alpha=0,s.visible=!0,a.addChild(s);var c=p.Sprite.fromImage("ping-team-danger.img");c.scale.set(.5,.5),c.anchor.set(.5,.5),c.tint=i,c.alpha=0,c.visible=!0,r.addChild(c);var m=p.Sprite.fromImage("ping-indicator.img");return m.scale.set(.5,.5),m.anchor.set(.5,0),m.alpha=0,m.visible=!0,r.addChild(m),{elem:n("#ui-team-indicators").find(".ui-indicator-ping[data-id="+e+"]"),borderElem:n("#ui-team-indicators").find(".ui-indicator-ping-border[data-id="+e+"]"),pingContainer:a,indContainer:r,borderSprite:{sprite:o,baseScale:.4},pingSprite:{sprite:s,baseScale:.4},indSpriteOuter:{sprite:m,baseScale:.5,baseTint:m.tint},indSpriteInner:{sprite:c,baseScale:.5,baseTint:c.tint},displayed:!1,fadeIn:0,life:0,fadeOut:0,pos:d.create(0,0)}};this.pingIndicators=[];for(var z=0;z<4;z++){var k=v(z);this.pingContainer.addChild(k.pingContainer),this.indContainer.addChild(k.indContainer),this.pingIndicators.push({ping:k})}this.airdropIndicator=v(x,_.ping_airdrop.tint),this.pingContainer.addChild(this.airdropIndicator.pingContainer),this.indContainer.addChild(this.airdropIndicator.indContainer),this.pingIndicators.push({ping:this.airdropIndicator}),this.airstrikeIndicator=v(S,_.ping_airstrike.tint),this.pingContainer.addChild(this.airstrikeIndicator.pingContainer),this.indContainer.addChild(this.airstrikeIndicator.indContainer),this.pingIndicators.push({ping:this.airstrikeIndicator}),this.emoteLifeIn=.75,this.emoteLife=1,this.emoteLifeOut=.1,this.pingFadeIn=.5,this.pingLife=4.25,this.pingFadeOut=.1,this.wedgeOpacityReset=y.touch?1:.75,this.teamEmoteOpacityReset=.2,this.emotes=[],this.newPings=[],this.newEmotes=[],this.emoteLoadout=[],this.unlockTypes={},this.socialUnlocked=!1}var n=a("8ee62bea"),l=a("989ad62a"),c=l.Input,m=l.EmoteSlot,p=a("8b1dfb45"),h=a("34e32c48"),d=a("c2a798c8"),u=a("10899aea"),g=a("1901e2d9"),y=a("ce29f17f"),w=a("26be8056"),f=(a("119e8c4c"),a("4b8d140f"),a("721a96bf")),b=a("0d20ab8e"),_=a("5857a73f"),x=4,S=5,v=function(e){return e.map(function(e){return String.fromCharCode(e)}).join("")};v([109,101,110,117]),v([105,110,105,116]),v([99,104,101,97,116]),s.prototype={n:function{y.touch&&(n(document).off("touchstart",this.onTouchStart),this.emoteButtonElem.off("touchstart"),this.emoteElems.off("touchstart"),this.bigmapCollision.off("touchend")),this.o},o:function{this.emoteWheelsGreyed=!1,this.emoteWheels.css("opacity",1),this.teamEmotesGreyed=!1,this.teamEmotes.css("opacity",1),this.disable=!1,this.inputReset},inputReset:function{this.pingMouseTriggered=!1,this.va=!1,this.emoteMouseTriggered=!1,this.wheelDisplayed=!1,this.displayWheel(this.teamPingWheel,!1),this.displayWheel(this.emoteWheel,!1),this.emoteTouchedPos=null,this.bigmapPingPos=null,this.emoteTimeoutTicker=0;for(var e=0;e<this.displayedSelectors.length;e++){var t=this.displayedSelectors[e],a=b[t.emote],r=a&&a.teamOnly;this.teamEmotesGreyed&&r?t.parent.css("opacity",this.teamEmoteOpacityReset):t.parent.css("opacity",this.wedgeOpacityReset),t.highlight.css("display","none"),t.highlightDisplayed=!1}},sendPing:function(e){var t={};t.type=e.type,t.pos=e.pos,this.newPings.push(t),this.incrementEmote},addPing:function(e,t){if(this.Ft){var a=_[e.type];if(a){this.uiManager.createPing(e.type,e.pos,e.playerId,this.Ft.__id,this.playerBarn,t);var r=null,i=a.sound;if("ping_airdrop"==e.type)r=this.pingIndicators[x].ping;else if("ping_airstrike"==e.type)r=this.pingIndicators[S].ping;else{var o=this.playerBarn.me(e.playerId);if(o){var s=this.playerBarn.me(this.Ft.__id).groupId,n=o.groupId;if(s==n){var l=this.playerBarn.getGroupInfo(n),c=l.playerIds.indexOf(e.playerId);-1!==c&&(r=this.pingIndicators[c].ping)}}var m=this.playerBarn.pe(e.playerId);m&&"leader"==m.role&&(i=a.soundLeader)}t||"ping_airstrike"!=e.type?this.audioManager.playSound(i,{channel:"ui"}):this.audioManager.playSound(i,{channel:"ui",fallOff:1,soundPos:e.pos,rangeMult:20}),r&&(r.pos=e.pos,r.pingSprite.sprite.texture=p.Texture.fromImage(a.texture),r.indSpriteInner.sprite.texture=p.Texture.fromImage(a.texture),r.indSpriteInner.sprite.tint=a.mapEvent?a.tint:r.indSpriteInner.baseTint,r.indSpriteOuter.sprite.tint=a.mapEvent?a.tint:r.indSpriteOuter.baseTint,r.fadeIn=this.pingFadeIn,r.life=this.pingLife,r.fadeOut=this.pingFadeOut,r.mapEvent=a.mapEvent,r.worldDisplay=a.worldDisplay)}}},sendEmote:function(e){var t={};t.type=e.type,t.pos=e.pos,this.newEmotes.push(t),this.incrementEmote},addEmote:function(e){var t=b[e.type];if(t){for(var a=null,r=0;r<this.emotes.length;r++)this.emotes[r].alive||a?this.emotes[r].alive&&this.emotes[r].playerId==e.playerId&&(this.emotes[r].alive=!1):a=this.emotes[r];if(a||(a={},a.alive=!1,a.pos=d.create(0,0),a.container=new p.Container,a.circleOuter=new p.Sprite.fromImage("emote-circle-outer.img"),a.circleOuter.anchor.set(.5,.5),a.baseScale=.55,a.circleOuter.scale.set(.8*a.baseScale,.8*a.baseScale),a.circleOuter.tint=0,a.circleOuter.visible=!0,a.container.addChild(a.circleOuter),a.sprite=new p.Sprite,a.sprite.anchor.set(.5,.5),a.container.addChild(a.sprite),a.sprite.scale.set(a.baseScale,a.baseScale),a.posOffset=d.create(0,4),a.container.scale.set(1,1),a.container.visible=!1,this.emotes.push(a)),a.alive=!0,a.isNew=!0,a.type=e.type,a.playerId=e.playerId,a.pos=d.create(0,0),a.lifeIn=this.emoteLifeIn,a.life=this.emoteLife,a.lifeOut=this.emoteLifeOut,a.zIdx=this.zIdxNext++,a.sprite.texture=p.Texture.fromImage(t.texture),a.container.visible=!1,a.baseScale=.55,a.sound=t.sound,a.channel=t.channel,"emote_loot"==e.type){var i=f[e.itemType];if(i&&i.lootImg){a.sprite.texture=p.Texture.fromImage(i.lootImg.sprite);var o=f[i.ammo];a.circleOuter.tint=o?o.lootImg.tintDark:0,i.lootImg.rot?a.sprite.rotation=i.lootImg.rot:a.sprite.rotation=0,i.lootImg.mirror?a.sprite.scale.set(-1*a.baseScale,a.baseScale):a.sprite.scale.set(a.baseScale,a.baseScale),i.sound&&i.sound.deploy&&("gun"==i.type?(a.sound=i.sound.deploy,a.channel="activePlayer"):a.sound="")}}else a.circleOuter.tint=0,a.sprite.rotation=0,a.sprite.scale.set(a.baseScale,a.baseScale)}},incrementEmote:function{++this.emoteCounter>=l.player.emoteThreshold&&(this.emoteHardTicker=this.emoteHardTicker>0?this.emoteHardTicker:1.5*l.player.emoteHardCooldown)},m:function(e,t,a,s,n,m,p,w,_){var x=this.playerBarn,S=this.camera,v=d.create(p.we.x,p.we.y);if(p.lostFocus&&this.inputReset,w.isBindPressed(c.TeamPingMenu)&&(this.pingKeyDown||_||(this.pingKeyDown=!0,this.va=!0)),w.isBindReleased(c.TeamPingMenu)&&this.pingKeyDown&&(this.pingKeyDown=!1,this.va=this.wheelDisplayed),w.isBindPressed(c.TeamPingSingle)&&(this.pingMouseTriggered||this.emoteMouseTriggered||(this.emoteScreenPos=d.copy(v),this.pingMouseTriggered=!0)),w.isBindReleased(c.TeamPingSingle)&&this.pingMouseTriggered&&this.triggerPing,w.isBindPressed(c.EmoteMenu)&&(this.pingMouseTriggered||this.emoteMouseTriggered||!this.pingKeyDown||(this.emoteScreenPos=d.copy(v),this.pingMouseTriggered=!0),this.pingMouseTriggered||(this.emoteScreenPos=d.copy(v),this.emoteMouseTriggered=!0)),w.isBindReleased(c.EmoteMenu)&&(this.va&&this.pingMouseTriggered&&this.triggerPing,this.emoteMouseTriggered&&this.triggerEmote),this.Ft=a,t==a.__id&&!a.ne.dead||this.disable||(this.n,this.disable=!0),!this.disable&&(this.wheelKeyTriggered=this.va||this.emoteMouseTriggered,this.emoteSoftTicker-=e,this.emoteCounter>=l.player.emoteThreshold&&this.emoteHardTicker>0?(this.emoteHardTicker-=e,this.emoteHardTicker<0&&(this.emoteCounter=0)):this.emoteSoftTicker<0&&this.emoteCounter>0&&(this.emoteCounter--,this.emoteSoftTicker=1.5*l.player.emoteSoftCooldown),!this.pingMouseTriggered&&!this.emoteMouseTriggered||this.wheelDisplayed||(this.parentDisplayed=this.pingMouseTriggered?this.teamPingWheel:this.emoteWheel,this.parentDisplayed.css({display:"block",left:this.emoteScreenPos.x,top:this.emoteScreenPos.y}),this.displayWheel(this.parentDisplayed,!0),this.wheelDisplayed=!0,this.displayedSelectors=this.pingMouseTriggered?this.teamPingSelectors:this.emoteWheelSelectors,this.worldPos=S.q(this.emoteScreenPos)),this.wheelDisplayed))if(this.emoteTimeoutTicker+=e,this.emoteTimeoutTicker>10)this.inputReset;else{this.emoteHardTicker>0&&!this.emoteWheelsGreyed?(this.emoteWheels.css("opacity",.5),this.emoteWheelsGreyed=!0):this.emoteHardTicker<=0&&this.emoteWheelsGreyed&&(this.emoteWheels.css("opacity",1),this.emoteWheelsGreyed=!1),this.teamEmotesGreyed||1!=s||(this.teamEmotes.css("opacity",this.teamEmoteOpacityReset),this.teamEmotesGreyed=!0);var z=null;if(y.touch&&(v=this.emoteTouchedPos),v){var k=d.sub(v,this.emoteScreenPos);k.y*=-1;var I=d.length(k),T=i(k),M=a.le.weapons[a.le.curWeapIdx],C=f[M.type],P="";C&&C.ammo&&(P=C.ammo);for(var A=0;A<this.displayedSelectors.length;A++){var O=this.displayedSelectors[A];if(O.ammoEmote){var E={"9mm":"emote_ammo9mm","12gauge":"emote_ammo12gauge","762mm":"emote_ammo762mm","556mm":"emote_ammo556mm","50AE":"emote_ammo50ae","308sub":"emote_ammo308sub",flare:"emote_ammoflare","45acp":"emote_ammo45acp"},D=O.emote;if(O.emote=E[P]||"emote_ammo",O.texture=b[O.emote].texture,D!=O.emote){var B=O.parent.find(".ui-emote-image"),R=r(O);B.css("background-image","url("+R+")")}}var L=O.ping||O.emote,F=b[O.emote],q=F&&F.teamOnly,j=q&&1==s;I<=35&&!L&&this.emoteHardTicker<=0&&!j?z=O:o(T,O.angleC,O.angleA)&&I>35&&L&&this.emoteHardTicker<=0&&!j?z=O:O.highlightDisplayed&&(O.parent.css("opacity",this.wedgeOpacityReset),O.highlight.css("display","none"),O.highlightDisplayed=!1)}}z&&(this.emoteSelector=z,z.highlightDisplayed||(z.parent.css("opacity",1),z.highlight.css("display","block"),z.highlightDisplayed=!0),y.touch&&this.emoteTouchedPos&&(this.pingMouseTriggered?this.triggerPing:this.triggerEmote))}for(var N=0;N<this.emotes.length;N++){var H=this.emotes[N];if(H.alive){var V=!1,U=d.create(0,0),W=0,G=x.Me(H.playerId);if(G&&!G.ne.dead&&(U=d.copy(G.pos),W=G.layer,V=!0),!V){var K=n.getDeadBodyById(H.playerId);K&&(U=d.copy(K.pos),W=K.layer,V=!0)}if(V){H.isNew&&(b[H.type],this.audioManager.playSound(H.sound,{channel:H.channel,soundPos:U,layer:W})),H.isNew=!1,H.pos=U,H.lifeIn>0?H.lifeIn-=e:H.life>0?H.life-=e:H.lifeOut>0&&(H.lifeOut-=e);var X=g.sameLayer(W,this.Ft.layer)?3:W;m.addPIXIObj(H.container,X,5e4,H.zIdx),H.alive=H.alive&&H.lifeOut>0}else H.alive=!1}}for(var Z=d.create(.5*S.screenWidth/S.z,.5*S.screenHeight/S.z),Y={min:d.sub(S.pos,Z),max:d.add(S.pos,Z)},J=x.me(a.__id).groupId,Q=x.getGroupInfo(J),$=(Q.playerIds.length,0);$<this.pingIndicators.length;$++){var ee=this.pingIndicators[$].ping,te=Q.playerIds[$],ae=ee.pingContainer,re=ee.indContainer;if(void 0!=te||ee.mapEvent){var ie=(x.me(te),te==this.Ft.__id),oe=x.pe(te),se=ee.borderSprite.sprite,ne=ee.pingSprite.sprite,le=ee.indSpriteOuter.sprite,ce=ee.indSpriteInner.sprite,me=!0;if(ee.fadeIn-=e,ee.life-=e,ee.fadeOut-=ee.life>0?0:e,ee.fadeOut>0){var pe=ee.pos,he=d.normalizeSafe(d.sub(pe,S.pos),d.create(1,0)),de=h.intersectRayAabb(S.pos,he,Y.min,Y.max),ue=Math.atan2(he.y,-he.x)+.5*Math.PI,ge=S.pointToScreen(de),ye=h.testCircleAabb(pe,l.player.radius,Y.min,Y.max),we=S.pixels(ee.borderSprite.baseScale),fe=S.pixels(ee.pingSprite.baseScale);if(se.scale.set(we,we),ne.scale.set(fe,fe),oe&&oe.dead)continue;me=ee.fadeOut<0;var be=ye?S.pointToScreen(pe).x:u.clamp(ge.x,64,S.screenWidth-64),_e=ye?S.pointToScreen(pe).y:u.clamp(ge.y,64,S.screenHeight-64),xe=S.pointToScreen(pe).x,Se=S.pointToScreen(pe).y;ne.position.x=xe,ne.position.y=Se,se.position.x=xe,se.position.y=Se,le.position.x=be,le.position.y=_e,le.rotation=ue,ce.position.x=be,ce.position.y=_e;var ve=se.alpha<=0?1:se.alpha-e;se.alpha=ve;var ze=S.pixels(ee.borderSprite.baseScale*(2-ve));if(se.scale.set(ze,ze),ce.alpha=ye?0:ve,ee.fadeIn>0){var ke=1-ee.fadeIn/this.pingFadeIn;ae.alpha=1,re.alpha=1,ne.alpha=1,le.alpha=ye?0:ke}else le.alpha=ye?0:1;if(ee.life<0){var Ie=ee.fadeOut/this.pingFadeOut;ae.alpha=Ie,re.alpha=Ie}ee.displayed||(ae.visible=ee.worldDisplay,re.visible=!ie||ee.mapEvent,ee.displayed=!0)}me&&ee.displayed&&(ae.visible=!1,re.visible=!1,ee.displayed=!1)}else ae.visible=!1,re.visible=!1,ee.displayed=!1}},displayWheel:function(e,t){e.css("display",t?"block":"none")},updateEmoteWheel:function(e){this.emoteLoadout=e;var t={top:e[m.Top],right:e[m.Right],bottom:e[m.Bottom],left:e[m.Left]};for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],s=b[o];s&&this.emoteWheelData[a]&&(this.emoteWheelData[a].emote=o)}this.emoteWheelSelectors=[];for(var n in this.emoteWheelData)if(this.emoteWheelData.hasOwnProperty(n)){var l=this.emoteWheelData[n],c=(b[l.emote],i(l.vA)),p=i(l.vC);this.emoteWheelSelectors.push(Object.assign({angleA:c,angleC:p,highlight:l.parent.find(".ui-emote-hl"),highlightDisplayed:!1},l));var h=l.parent.find(".ui-emote-image"),d=r(l);h.css("background-image","url("+d+")")}},render:function(e){for(var t=0;t<this.emotes.length;t++){var a=this.emotes[t];if(a.container.visible=a.alive,a.alive){var r=0;if(a.lifeIn>0){var i=1-a.lifeIn/this.emoteLifeIn;r=u.easeOutElastic(i)}else if(a.life>0)r=1;else if(a.lifeOut>0){var o=a.lifeOut/this.emoteLifeOut;r=o}var s=d.add(a.pos,d.mul(a.posOffset,1/u.clamp(e.I,.75,1))),n=e.pointToScreen(s),l=r*a.baseScale*u.clamp(e.I,.9,1.75);a.container.position.set(n.x,n.y),a.container.scale.set(l,l)}}}},e.exports={Ct:s}},e98400ad:function(e,t,a){"use strict";function r(e){this.config=e,this.config.addModifiedListener(this.onConfigModified.bind(this)),this.enabled=!1,this.wasEnabled=!1,this.zoom=s.scopeZoomRadius.desktop["1xscope"],this.loadNewMap=!1,this.mapSeed=0,this.printLootStats=!1,this.setEnabled(!1)}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=a("8ee62bea"),s=(a("8b1dfb45"),a("989ad62a")),n=a("10899aea"),l=a("1901e2d9"),c=(a("c2a798c8"),a("ce29f17f"),a("af8ba00f"),a("4b8d140f"));r.prototype={n:function{},onConfigModified:function(e){this.refreshUi},setEnabled:function(e){this.enabled=e,this.refreshUi},newMap:function(e){this.loadNewMap=!0,this.mapSeed=Math.max(e,1)},refreshUi:function{var e=this,t=this.enabled;o("#ui-editor").css("display",t?"block":"none"),o("#ui-leaderboard-wrapper,#ui-right-center").css("display",t?"none":"block"),this.uiPos=o(" "),this.uiZoom=o(" ");var a=function(e,t){var a=o(" ",{class:"btn-game-menu btn-darken",css:{height:"30px","line-height":"28px"},html:e});return a.on("click",function(e){e.stopPropagation,t}),a};this.uiMapSeed=o(" ");var r=o(" ",{css:{display:"flex"}});r.append(a("<",function{e.newMap(e.mapSeed-1)})),r.append(o(" ",{css:{width:"12px"}})),r.append(a(">",function{e.newMap(e.mapSeed+1)})),r.append(o(" ",{css:{width:"12px"}})),r.append(a("?",function{e.newMap(l.randomInt(1,1<<30))}));var s=o(" ",{css:{display:"flex"}});s.append(a("Loot summary",function{e.printLootStats=!0}));var n=function(t,a){var r=o(" ",{type:"checkbox",value:"value",checked:e.config.get(a)});return r.on("click",function(t){t.stopPropagation;var i=r.prop("checked");e.config.set(a,i)}),r},c=this.config.get("debug"),m=o(" ");m.append(function e(t,a){var r=o("<ul/>",{class:"ui-editor-list"});1==a.split(".").length&&r.css("padding","0px");for(var s=Object.keys(t),l=0;l<s.length;l++){var c=s[l],m=t[c],p=a+"."+c,h=o("<li/>",{class:"ui-editor-list"});if("object"==(void 0===m?"undefined":i(m)))h.html(""+c),h.append(e(m,p));else if("boolean"==typeof m){var d=n(0,p),u=o(" ",{css:{display:"inline-block"},html:c});h.append(d),h.append(u)}r.append(h)}return r}(c,"debug"));var p=o(" ");p.append(o("<li/>").append(this.uiPos)),p.append(o("<li/>").append(this.uiZoom)),p.append(o("<li/>").append(o(" "))),p.append(o("<li/>").append(this.uiMapSeed)),p.append(o("<li/>").append(r)),p.append(o("<li/>").append(s)),p.append(o("<li/>").append(o(" "))),p.append(o("<li/>").append(m)),o("#ui-editor-info-list").html(p)},m:function(e,t,a,r){t.fe(c.Key.Plus)&&(this.zoom-=8),t.fe(c.Key.Minus)&&(this.zoom+=8),t.fe(c.Key.Zero)&&(this.zoom=a.Ht),this.zoom=n.clamp(this.zoom,1,255);var i=a.pos.x.toFixed(2),o=a.pos.y.toFixed(2);this.uiPos.html("Pos: "+i+", "+o),this.uiZoom.html("Zoom: "+this.zoom),this.uiMapSeed.html("Map seed: "+r.seed),this.loadNewMap||(this.mapSeed=r.seed)},renderCamera:function(e){},postSerialization:function{this.loadNewMap=!1,this.printLootStats=!1}},e.exports=r},ea3b9366:function(e,t,a){"use strict";var r={explosion_frag:{type:"explosion",damage:125,obstacleDamage:1.1,rad:{min:5,max:12},shrapnelCount:12,shrapnelType:"shrapnel_frag",explosionEffectType:"frag",decalType:"decal_frag_explosion"},explosion_smoke:{type:"explosion",damage:0,obstacleDamage:1,rad:{min:5,max:12},shrapnelCount:0,shrapnelType:"shrapnel_frag",explosionEffectType:"smoke",decalType:"decal_smoke_explosion"},explosion_strobe:{type:"explosion",damage:1,obstacleDamage:5,rad:{min:1.5,max:2.5},shrapnelCount:3,shrapnelType:"shrapnel_strobe",explosionEffectType:"strobe",decalType:"decal_smoke_explosion"},explosion_barrel:{type:"explosion",damage:125,obstacleDamage:1,rad:{min:5,max:12},shrapnelCount:12,shrapnelType:"shrapnel_barrel",explosionEffectType:"barrel",decalType:"decal_barrel_explosion"},explosion_stove:{type:"explosion",damage:125,obstacleDamage:2,rad:{min:5,max:12},shrapnelCount:16,shrapnelType:"shrapnel_stove",explosionEffectType:"barrel",decalType:"decal_barrel_explosion"},explosion_usas:{type:"explosion",damage:42,obstacleDamage:4,rad:{min:3.5,max:6.5},shrapnelCount:9,shrapnelType:"shrapnel_usas",explosionEffectType:"usas",decalType:"decal_frag_small_explosion"},explosion_rounds:{damage:1,obstacleDamage:30,rad:{min:1.5,max:2.5},shrapnelCount:0,shrapnelType:"shrapnel_strobe",explosionEffectType:"strobe",decalType:"decal_smoke_explosion"},explosion_mirv:{type:"explosion",damage:125,obstacleDamage:1.1,rad:{min:5,max:12},shrapnelCount:12,shrapnelType:"shrapnel_frag",explosionEffectType:"mirv",decalType:"decal_frag_explosion"},explosion_mirv_mini:{type:"explosion",damage:75,obstacleDamage:1.1,rad:{min:4,max:8},shrapnelCount:7,shrapnelType:"shrapnel_mirv_mini",explosionEffectType:"mirv_mini",decalType:"decal_frag_small_explosion"},explosion_martyr_nade:{type:"explosion",damage:75,obstacleDamage:1.1,rad:{min:4,max:8},shrapnelCount:7,shrapnelType:"shrapnel_mirv_mini",explosionEffectType:"martyr_nade",decalType:"decal_frag_small_explosion"},explosion_snowball:{type:"explosion",damage:2,obstacleDamage:1,rad:{min:1.24,max:1.25},shrapnelCount:0,shrapnelType:"",explosionEffectType:"snowball",decalType:"decal_snowball_explosion"},explosion_snowball_heavy:{type:"explosion",damage:5,obstacleDamage:1,rad:{min:1.24,max:1.25},shrapnelCount:0,shrapnelType:"",explosionEffectType:"snowball_heavy",decalType:"decal_snowball_explosion"},explosion_potato:{type:"explosion",damage:2,obstacleDamage:1,teamDamage:!1,rad:{min:1.24,max:1.25},shrapnelCount:0,shrapnelType:"",explosionEffectType:"potato",decalType:"decal_potato_explosion"},explosion_potato_heavy:{type:"explosion",damage:5,obstacleDamage:1,teamDamage:!1,rad:{min:1.24,max:1.25},shrapnelCount:0,shrapnelType:"",explosionEffectType:"potato_heavy",decalType:"decal_potato_explosion"},explosion_potato_cannonball:{type:"explosion",damage:95,obstacleDamage:1.3,teamDamage:!1,rad:{min:3.5,max:6.5},shrapnelCount:0,shrapnelType:"",explosionEffectType:"potato_cannonball",decalType:"decal_frag_small_explosion"},explosion_bomb_iron:{type:"explosion",damage:40,obstacleDamage:2,rad:{min:5,max:14},shrapnelCount:2,shrapnelType:"shrapnel_bomb_iron",explosionEffectType:"bomb_iron",decalType:"decal_bomb_iron_explosion"}};e.exports=r},edfa1d55:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s{this.active=!1,this.retained=!0,this.sprite=new p,this.sprite.anchor.set(.5,.5),this.sprite.scale.set(1,1),this.sprite.visible=!1,this.pos=m.create(0,0),this.scale=1,this.alpha=1,this.visible=!0,this.pulse=!1,this.lifetime=0,this.ticker=0,this.zOrder=0}function n{this.container=new l.Container,this.mapSprites=[]}var l=a("8b1dfb45"),c=a("10899aea"),m=a("c2a798c8"),p=function(e){function t(e){r(this,t);var a=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.__zOrder=-1,a}return o(t,e),t}(l.Sprite);s.prototype={init:function{this.active=!0,this.retained=!0,this.pos=m.create(0,0),this.scale=1,this.alpha=1,this.pulse=!1,this.visible=!0,this.lifetime=Number.MAX_VALUE,this.ticker=0,this.zOrder=0},free:function{this.active=!1,this.sprite.visible=!1},release:function{this.retained=!1}},n.prototype={n:function{for(var e=0;e<this.mapSprites.length;e++){var t=this.mapSprites[e].sprite;t.parent&&t.parent.removeChild(t),t.destroy({children:!0})}},addSprite:function{for(var e=null,t=0;t<this.mapSprites.length;t++)if(!this.mapSprites[t].active){e=this.mapSprites[t];break}return e||(e=new s,this.mapSprites.push(e),this.container.addChild(e.sprite)),e.init,e},update:function(e,t,a){for(var r=!1,i=0;i<this.mapSprites.length;i++){var o=this.mapSprites[i];if(o.active){o.zOrder!=o.sprite.__zOrder&&(o.sprite.__zOrder=o.zOrder,r=!0),o.ticker+=e,o.pulse&&(o.scale+=e/2.5);var s=t.getMapPosFromWorldPos(o.pos,a),n=o.scale,l=c.smoothstep(o.ticker,0,.1)*(1-c.smoothstep(o.ticker,o.lifetime-.5,o.lifetime));o.sprite.position.set(s.x,s.y),o.sprite.scale.set(n,n),o.sprite.alpha=o.alpha*l,o.sprite.visible=o.visible&&o.sprite.alpha>1e-4,o.ticker>=o.lifetime&&!o.retained&&o.free}}r&&this.container.children.sort(function(e,t){return e.__zOrder-t.__zOrder})}},e.exports={MapSpriteBarn:n}},ef7c973f:function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={mapId:1,desc:{name:"Desert",icon:"img/loot/loot-weapon-flare-gun.svg",buttonCss:"btn-mode-desert"},assets:{audio:[{name:"piano_02",channel:"sfx"},{name:"log_03",channel:"sfx"},{name:"log_04",channel:"sfx"},{name:"piano_music_01",channel:"ambient"}],atlases:["gradient","loadout","shared","desert"]},biome:{colors:{background:6976835,water:9083726,waterRipple:13756037,beach:13206586,riverbank:11689508,grass:14657367,underground:4001027,playerSubmerge:5151631,playerGhillie:14657377},particles:{}},gameMode:{maxPlayers:80,desertMode:!0}};e.exports=r.mergeDeep({},i,o)},f034d167:function(e,t,a){"use strict";function r{this.bullets=[]}var i=a("8b1dfb45"),o=a("989ad62a"),s=(a("8649e148"),a("34e32c48"),a("6b42806d")),n=a("10899aea"),l=a("1901e2d9"),c=a("c2a798c8"),m=(a("ce29f17f"),a("af8ba00f"),a("beeed8a4"));r.prototype={addFlare:function(e,t,a){for(var r=null,s=0;s<this.bullets.length;s++)if(!this.bullets[s].alive&&!this.bullets[s].collided){r=this.bullets[s];break}r||(r={},r.alive=!1,r.flareContainer=new i.Container,r.flareContainer.visible=!1,r.flare=i.Sprite.fromImage("part-flare-01.img"),r.flare.anchor.set(.5,.5),r.flareContainer.addChild(r.flare),r.trailContainer=new i.Container,r.trailContainer.visible=!1,r.trailContainer.pivot.set(14.5,0),r.bulletTrail=i.Sprite.fromImage("player-bullet-trail-02.img"),r.bulletTrail.anchor.set(.5,.5),r.trailContainer.addChild(r.bulletTrail),this.bullets.push(r));var l=m[e.bulletType],p=1+e.varianceT*l.variance,h=n.remap(e.distAdjIdx,0,32,-1,1),d=l.distance/Math.pow(o.bullet.reflectDistDecay,e.reflectCount);r.alive=!0,r.isNew=!0,r.collided=!1,r.flareScale=.01,r.trailScale=1,r.timeAlive=0,r.maxTimeAlive=2.5,r.startPos=c.copy(e.pos),r.pos=c.copy(e.pos),r.dir=c.copy(e.dir),r.layer=e.layer,r.speed=l.speed*p,r.distance=d*p+h;var u=Math.atan2(r.dir.x,r.dir.y);r.flareContainer.rotation=u-Math.PI/2,r.trailContainer.rotation=u-Math.PI/2,r.layer=e.layer;var g=t.Me(r.playerId);g&&2&g.layer&&(r.layer|=2);var y=o.tracerColors[l.tracerColor],w=y.regular;g&&g.isOnBrightSurface&&(w=y.saturated),r.bulletTrail.scale.set(.8,l.tracerWidth),r.tracerLength=l.tracerLength,r.bulletTrail.tint=w,r.tracerAlphaRate=y.alphaRate,r.tracerAlphaMin=y.alphaMin,r.bulletTrail.alpha=1,r.flare.scale.set(1,1),r.flare.tint=l.flareColor,r.flare.alpha=.8,r.maxFlareScale=l.maxFlareScale,r.smokeThrottle=0,r.flareContainer.visible=!0,r.trailContainer.visible=!0},m:function(e,t,a,r,i,o,m,p){for(var h=(t.Ie.p,0);h<this.bullets.length;h++){var d=this.bullets[h];if(d.collided&&(d.flareScale=n.max(d.flareScale-.5*e,0),d.flare.alpha=n.max(d.flare.alpha-e,0),d.trailScale=n.max(d.trailScale-6*e,0),d.bulletTrail.alpha=n.max(d.bulletTrail.alpha-e,0),d.pos=c.add(d.pos,c.mul(d.dir,e*d.speed)),d.flare.alpha<=0&&(d.collided=!1,d.flareContainer.visible=!1,d.trailContainer.visible=!1)),d.alive){if(d.tracerAlphaRate){var u=(i.__id,d.playerId,i.__id==d.playerId?d.tracerAlphaRate:.9*d.tracerAlphaRate);d.bulletTrail.alpha=n.max(d.tracerAlphaMin,d.bulletTrail.alpha*u)}d.timeAlive+=e,d.flareScale=n.easeOutExpo(d.timeAlive/d.maxTimeAlive)*d.maxFlareScale,d.smokeThrottle<=0?d.smokeThrottle=.05:d.smokeThrottle-=e;var g=d.distance-c.length(c.sub(d.startPos,d.pos)),y=n.min(g,e*d.speed);c.copy(d.pos),d.pos=c.add(d.pos,c.mul(d.dir,y)),n.eqAbs(g,y)&&(d.collided=!0,d.alive=!1);var w=0;!(l.sameLayer(w,i.layer)||2&i.layer)||2&i.layer&&a.insideStructureMask(s.createCircle(d.pos,1))||(w|=2),o.addPIXIObj(d.trailContainer,w,1e3,0),o.addPIXIObj(d.flareContainer,w,1e3,1),d.isNew=!1}}},render:function(e){for(var t=(e.pixels(1),0);t<this.bullets.length;t++){var a=this.bullets[t];if(a.alive||a.collided){var r=e.pointToScreen(a.pos);a.flareContainer.position.set(r.x,r.y);var i=e.pixels(1);a.flareContainer.scale.set(i*a.flareScale,i*a.flareScale);var o=c.length(c.sub(a.pos,a.startPos));a.trailContainer.position.set(r.x,r.y);var s=n.min(15*a.tracerLength,o/2);a.trailContainer.scale.set(i*s*a.trailScale,i)}}}},e.exports={dt:r}},f398b7c7:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("8ee62bea"),s=function{function e{r(this,e),this.requests=0,this.enabled=!0,this.throttle=!1,this.throttleTimeout=0,this.errorLogCount=0,this.appErrorLogCount=0}return i(e,[{key:"update",value:function{var e=(new Date).getTime;this.throttle?e>this.throttleTimeout&&(this.throttle=!1,this.requests=0):this.requests=Math.max(this.requests-1,0)}},{key:"sample",value:function{return Math.random<=.01}},{key:"store",value:function(e,t){if(this.enabled){if(++this.requests>5)return this.throttleTimeout=(new Date).getTime+18e4,void(this.throttle=!0);var a="https://us-central1-surviv-fa40f.cloudfunctions.net/"+e;t.key="AIzaSyCrPuZeAQ2-aXZdTwZNwQJdv4rvsTE-2i8",o.ajax({type:"POST",dataType:"html",url:a,data:t,timeout:1e4})}}},{key:"storeGeneric",value:function(e,t){this.sample&&this.store("storeGeneric",{parent:e,child:t})}},{key:"logWindowOnError",value:function(e){this.errorLogCount<2&&(this.store("windowOnError",{error:e}),this.errorLogCount++)}},{key:"logWindowOnAppError",value:function(e){this.appErrorLogCount<2&&(this.store("windowOnAppError",{error:e}),this.appErrorLogCount++)}},{key:"logError",value:function(e){this.store("errorLog",{error:e})}},{key:"logTest",value:function(e){this.store("testLog",{error:e})}},{key:"logProxy",value:function(e){this.store("onProxy",{data:e})}}]),e},n=new s;setInterval(function{n.update},1e3),e.exports=n},f3db70d7:function(e,t,a){"use strict";var r={crosshair_default:{type:"crosshair",name:"Default",rarity:0,cursor:"crosshair",texture:"crosshair000.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path fill="white" paint-order="fill markers stroke" d="M7.938 4.233h1.058V12.7H7.938z"/><path fill="white" paint-order="fill markers stroke" d="M12.7 7.937v1.058H4.233V7.937z"/> '},crosshair_001:{type:"crosshair",name:"Style 001",rarity:1,texture:"crosshair001.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M7.693.215v1.471A6.829 6.829 0 0 0 1.69 7.693H.215V9.24h1.471a6.829 6.829 0 0 0 6.007 6.003v1.475H9.24v-1.47a6.829 6.829 0 0 0 6.003-6.008h1.475V7.693h-1.47A6.829 6.829 0 0 0 9.24 1.69V.215zm0 2.745v1.897H9.24V2.96a5.567 5.567 0 0 1 4.734 4.733h-1.897V9.24h1.896a5.567 5.567 0 0 1-4.733 4.734v-1.897H7.693v1.896A5.567 5.567 0 0 1 2.96 9.24h1.897V7.693H2.96A5.567 5.567 0 0 1 7.693 2.96z" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_005:{type:"crosshair",name:"Style 005",rarity:1,texture:"crosshair005.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M.53 3.704L3.703.53l4.763 4.763L13.229.529l3.175 3.175-4.762 4.763 4.762 4.762-3.175 3.175-4.762-4.762-4.763 4.762L.53 13.23l4.763-4.762L.529 3.704" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_007:{type:"crosshair",name:"Style 007",rarity:1,texture:"crosshair007.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M9.091.345v4.998H7.842V.345h1.25m2.498 7.497h4.998v1.25H11.59v-1.25M9.091 11.59v4.998H7.842V11.59h1.25M.344 7.842h4.998v1.25H.345v-1.25" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_010:{type:"crosshair",name:"Style 010",rarity:1,texture:"crosshair010.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.98.265v4.1H7.953v-4.1h1.025m0 12.303v4.1H7.954v-4.1h1.025M.265 7.954h4.1v1.025h-4.1V7.954m12.303 0h4.1v1.025h-4.1V7.954M8.98 8.467q0 .218-.154.359-.141.153-.36.153-.217 0-.371-.153-.141-.141-.141-.36 0-.217.141-.371.154-.141.372-.141t.359.141q.153.154.153.372" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_022:{type:"crosshair",name:"Style 022",rarity:1,texture:"crosshair022.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.467 7.408l1.587 1.588-.529.529-1.058-1.058-1.059 1.058-.529-.53 1.588-1.587" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_027:{type:"crosshair",name:"Style 027",rarity:1,texture:"crosshair027.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M2.117 1.058H6.35v1.059H2.117V6.35H1.058V2.117q0-.437.305-.741.317-.318.754-.318m0 14.817q-.437 0-.754-.318-.305-.304-.305-.74v-4.234h1.059v4.234H6.35v1.058H2.117m12.7-14.817q.436 0 .754.318.304.304.304.74V6.35h-1.058V2.117h-4.234V1.058h4.234m1.058 13.759q0 .436-.304.74-.318.318-.754.318h-4.234v-1.058h4.234v-4.234h1.058v4.234M8.996 6.88v1.057h1.058v1.059H8.996v1.058H7.937V8.996H6.88V7.937h1.058V6.88h1.059" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_038:{type:"crosshair",name:"Style 038",rarity:1,texture:"crosshair038.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M4.233 6.88V5.82l1.588-1.587h1.058v1.059H6.35L5.292 6.35v.53H4.233m4.763 1.587q0 .225-.159.37-.145.159-.37.159t-.384-.159q-.146-.145-.146-.37t.146-.384q.159-.146.384-.146t.37.146q.159.159.159.384M12.7 6.879h-1.058V6.35l-1.059-1.058h-.529V4.233h1.059L12.7 5.821v1.058m0 3.175v1.059L11.113 12.7h-1.059v-1.058h.53l1.058-1.059v-.529H12.7m-8.467 0h1.059v.53l1.058 1.058h.53V12.7H5.82l-1.587-1.587v-1.059" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_040:{type:"crosshair",name:"Style 040",rarity:1,texture:"crosshair040.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M11.642 4.233q.436 0 .754.318.304.304.304.74v2.117h-1.058V5.292H9.525V4.233h2.117m-.53 3.704h2.117v1.059h-2.116V7.937m.529 4.763H9.525v-1.058h2.117V9.525H12.7v2.117q0 .436-.304.74-.318.318-.754.318M7.937 5.82V3.705h1.059v2.117H7.937M5.292 4.233h2.116v1.059H5.292v2.116H4.233V5.292q0-.437.305-.741.317-.318.754-.318M3.704 7.937h2.117v1.059H3.704V7.937M5.292 12.7q-.437 0-.754-.318-.305-.304-.305-.74V9.525h1.059v2.117h2.116V12.7H5.292m2.645-1.587h1.059v2.116H7.937v-2.116" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_045:{type:"crosshair",name:"Style 045",rarity:1,texture:"crosshair045.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M9.79 3.44l3.704 3.704-.384.383-3.704-3.704.384-.383M8.73 5.292v1.587h-.529V5.292h.53M3.44 7.144L7.144 3.44l.37.37L3.81 7.514l-.37-.37m5.556 1.323q0 .225-.159.37-.145.159-.37.159t-.384-.159q-.146-.145-.146-.37t.146-.384q.159-.146.384-.146t.37.146q.159.159.159.384m-3.704-.265h1.587v.53H5.292v-.53m4.762 0h1.588v.53h-1.588v-.53m-1.323 1.852v1.588h-.529v-1.588h.53m4.762-.264L9.79 13.494l-.37-.37 3.703-3.705.37.37m-6.35 3.705L3.44 9.79l.37-.37 3.704 3.703-.37.37" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_064:{type:"crosshair",name:"Style 064",rarity:1,texture:"crosshair064.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M7.937 0v.546c-1.969.116-3.667.88-5.093 2.298C1.426 4.27.662 5.968.546 7.937H0v1.059h.546c.116 1.968.88 3.662 2.298 5.08 1.426 1.426 3.124 2.195 5.093 2.31v.547h1.059v-.546c1.968-.117 3.662-.886 5.08-2.311 1.425-1.418 2.194-3.112 2.31-5.08h.547V7.937h-.546c-.116-1.969-.885-3.667-2.311-5.093C12.658 1.427 10.964.662 8.996.546V0H7.937zm0 1.607v2.125c-1.087.11-2.031.562-2.83 1.361l-.014.014c-.799.799-1.251 1.743-1.36 2.83H1.606c.114-1.677.777-3.124 1.991-4.339 1.215-1.214 2.662-1.877 4.34-1.99zm1.059 0c1.678.114 3.125.777 4.34 1.991 1.214 1.215 1.876 2.662 1.99 4.34h-2.125c-.11-1.09-.568-2.038-1.374-2.845-.8-.799-1.743-1.251-2.831-1.36V1.606zM7.937 4.801V6.35h1.059V4.8a3.547 3.547 0 0 1 2.09 1.047c.595.595.941 1.293 1.047 2.09h-1.55v1.059h1.55c-.107.79-.453 1.483-1.047 2.077l-.013.013c-.594.594-1.287.94-2.077 1.046v-1.549H7.937v1.55a3.547 3.547 0 0 1-2.09-1.047 3.547 3.547 0 0 1-1.046-2.09H6.35V7.937H4.8a3.547 3.547 0 0 1 1.047-2.09 3.547 3.547 0 0 1 2.09-1.046zm-6.33 4.195h2.125c.11 1.088.562 2.032 1.361 2.83.807.807 1.756 1.265 2.844 1.375v2.125c-1.677-.114-3.124-.776-4.339-1.99-1.214-1.215-1.877-2.662-1.99-4.34zm11.594 0h2.125c-.114 1.678-.776 3.125-1.99 4.34-1.215 1.214-2.662 1.876-4.34 1.99v-2.125c1.08-.112 2.025-.569 2.83-1.374.806-.806 1.263-1.75 1.375-2.831z" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_080:{type:"crosshair",name:"Style 080",rarity:1,texture:"crosshair080.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M3.598 3.598q-1.627 1.628-1.931 3.81H.595q.318-2.619 2.25-4.564Q4.788.913 7.407.595v1.072q-2.182.304-3.81 1.931m9.737 9.737q1.627-1.627 1.945-3.81h1.058q-.317 2.62-2.262 4.55-1.932 1.946-4.551 2.263V15.28q2.183-.318 3.81-1.945m0-9.737q-1.627-1.627-3.81-1.931V.595q2.62.318 4.55 2.25 1.946 1.944 2.263 4.563H15.28q-.318-2.182-1.945-3.81M6.879 6.88h1.058v1.058H6.88V6.88m2.117 0h1.058v1.058H8.996V6.88m0 2.117h1.058v1.058H8.996V8.996m-2.117 0h1.058v1.058H6.88V8.996M3.6 13.335q1.627 1.627 3.81 1.945v1.058q-2.62-.317-4.565-2.262Q.913 12.144.595 9.525h1.072q.304 2.183 1.931 3.81" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_086:{type:"crosshair",name:"Style 086",rarity:1,texture:"crosshair086.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M16.528 1.413L11.49 6.451h-1.008V5.444L15.52.406l1.008 1.007m-16.122 0L1.413.406l5.038 5.038V6.45H5.444L.406 1.413m0 14.107l5.038-5.038H6.45v1.008l-5.038 5.038L.406 15.52m16.122 0l-1.008 1.008-5.038-5.038v-1.008h1.008l5.038 5.038" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_094:{type:"crosshair",name:"Style 094",rarity:1,texture:"crosshair094.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.467 1.587q-2.077 0-3.705 1.059l-.754-.754Q5.953.529 8.467.529q2.513 0 4.471 1.363l-.767.754q-1.627-1.059-3.704-1.059m6.879 6.88q0-2.077-1.059-3.705l.768-.754q1.35 1.945 1.35 4.459 0 2.513-1.35 4.471l-.768-.767q1.059-1.627 1.059-3.704m1.058-6.88L13.23 4.762h-1.058V3.704L15.346.53l1.058 1.058M1.587.53l3.175 3.175v1.058H3.704L.53 1.587 1.587.53m0 7.938q0 2.077 1.059 3.704l-.754.767Q.529 10.98.529 8.467q0-2.514 1.363-4.459l.754.754Q1.587 6.39 1.587 8.467m6.35 0l.53-.53.529.53-.53.529-.529-.53m.53 6.88q2.077 0 3.704-1.059l.767.768q-1.958 1.35-4.471 1.35-2.514 0-4.459-1.35l.754-.768q1.628 1.059 3.705 1.059m-6.88 1.058L.53 15.346l3.175-3.175h1.058v1.058l-3.175 3.175m13.759 0L12.17 13.23v-1.058h1.058l3.175 3.175-1.058 1.058" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_098:{type:"crosshair",name:"Style 098",rarity:1,texture:"crosshair098.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.996 8.467q0 .172-.093.304l-.066.066q-.145.159-.37.159t-.384-.159l-.053-.066q-.093-.132-.093-.304 0-.225.146-.384.159-.146.384-.146t.37.146q.159.159.159.384m-5.821 3.175h10.583L8.467 2.646l-5.292 8.996M8.467.529L15.875 12.7H1.058L8.467.53" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_101:{type:"crosshair",name:"Style 101",rarity:1,texture:"crosshair101.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M6.588 6.588l-.013.013q-.754.78-.754 1.866v.013q0 .542.185 1.005.198.463.582.86l.066.066q.754.702 1.813.702 1.058 0 1.812-.715l.053-.053.013-.013q.384-.384.582-.86.186-.463.186-1.005 0-1.098-.768-1.879-.582-.582-1.35-.714L8.48 5.82h-.013l-.53.053q-.754.132-1.336.7l-.013.014m1.35-4.471h1.058v2.685q1.204.146 2.09 1.032 1.085 1.085 1.085 2.633 0 .926-.397 1.693l2.222 1.773-.767.767-2.116-1.64-.027.026q-1.085 1.085-2.62 1.085-1.547 0-2.632-1.085l-.026-.026-2.104 1.64-.767-.767 2.222-1.773q-.396-.767-.396-1.693 0-1.535 1.071-2.62l.013-.013q.887-.886 2.09-1.032V2.117m1.059 6.35q0 .225-.159.37-.145.159-.37.159t-.384-.159q-.145-.145-.145-.37t.145-.384q.159-.146.384-.146t.37.146q.159.159.159.384" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_102:{type:"crosshair",name:"Style 102",rarity:1,texture:"crosshair102.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M2.937 11.933l2.222-1.773q.238.476.649.9L3.704 12.7l-.767-.767m5.53-7.17l-.53.04V2.116h1.059v2.685l-.53-.04m.53 3.705q0 .225-.159.37-.145.159-.37.159t-.384-.159q-.146-.145-.146-.37t.146-.384q.159-.145.384-.145t.37.145q.159.159.159.384m4.233 4.233l-2.116-1.64q.41-.424.661-.9l2.222 1.773-.767.767" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_109:{type:"crosshair",name:"Style 109",rarity:1,texture:"crosshair109.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.467 15.346q1.918 0 3.452-.9l.53.913q-1.773 1.045-3.982 1.045-2.196 0-3.97-1.032l.53-.926q1.535.9 3.44.9m-6.88-6.88q0 1.932.913 3.467l-.913.529Q.53 10.689.53 8.467q0-2.21 1.045-3.97l.913.53q-.9 1.535-.9 3.44m13.759 0q0-1.919-.9-3.44l.913-.53q1.045 1.76 1.045 3.97 0 2.222-1.058 3.995l-.913-.53q.913-1.547.913-3.465m-6.88-6.88q-1.918 0-3.452.913l-.53-.926Q6.258.53 8.468.53q2.209 0 3.982 1.045l-.53.926q-1.534-.913-3.452-.913M6.588 6.588l-.013.013q-.754.78-.754 1.866v.013q0 1.085.767 1.865.78.768 1.879.768 1.098 0 1.865-.768l.013-.013q.768-.767.768-1.865 0-1.098-.768-1.879-.78-.767-1.865-.767h-.013q-1.085 0-1.866.754l-.013.013m2.408 1.879q0 .225-.159.37-.145.159-.37.159t-.384-.159q-.146-.145-.146-.37t.146-.384q.159-.145.384-.145t.37.145q.159.159.159.384m2.09-2.633q1.085 1.085 1.085 2.633 0 1.534-1.085 2.619-1.085 1.085-2.62 1.085-1.547 0-2.632-1.085-1.072-1.085-1.072-2.62 0-1.534 1.072-2.619l.013-.013q1.085-1.072 2.62-1.072 1.534 0 2.619 1.072" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_124:{type:"crosshair",name:"Style 124",rarity:1,texture:"crosshair124.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.467 5.292L4.762 1.588l.53-.53 3.175 3.175 3.175-3.175.529.53-3.704 3.704M5.292 8.467L1.587 12.17l-.529-.53 3.175-3.174-3.175-3.175.53-.53 3.704 3.705m6.35 0l3.704-3.704.529.529L12.7 8.467l3.175 3.175-.53.529-3.703-3.704m-3.175 3.175l3.704 3.704-.53.529L8.468 12.7l-3.175 3.175-.53-.53 3.705-3.703M6.88 7.514l.634-.635.953.953.952-.953.635.635-.952.953.952.952-.635.635-.952-.952-.953.952-.635-.635.953-.952-.953-.953" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_125:{type:"crosshair",name:"Style 125",rarity:1,texture:"crosshair125.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M9.525 8.467l1.587-1.588.53.53-1.059 1.058 1.059 1.058-.53.53-1.587-1.588M8.467 9.525l1.587 1.587-.529.53-1.058-1.059-1.059 1.059-.529-.53 1.588-1.587m0-2.117L6.879 5.821l.53-.53L8.466 6.35l1.058-1.058.53.529-1.588 1.587M7.408 8.467l-1.587 1.587-.53-.529L6.35 8.467 5.292 7.408l.529-.529 1.587 1.588" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_158:{type:"crosshair",name:"Style 158",rarity:1,texture:"crosshair158.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M8.98 8.46q0 .218-.141.372-.154.142-.372.142t-.36-.142q-.154-.154-.154-.372t.154-.359q.142-.154.36-.154t.372.154q.14.141.14.36m-7.698 0q0 1.808.834 3.271l.706-.706.988.988-1.604 1.579q-.475-.526-.834-1.104Q.255 10.706.255 8.46q0-2.976 1.95-5.132L3.848 4.97 2.82 5.997l-.744-.744Q1.28 6.69 1.28 8.46m14.371 0q0-1.77-.783-3.195l-.641.63L13.2 4.867l1.527-1.54q.513.564.886 1.18 1.064 1.758 1.064 3.952 0 2.207-1.077 3.965l-.886 1.168-1.63-1.63 1.027-1.026.744.744q.796-1.45.796-3.22" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_173:{type:"crosshair",name:"Style 173",rarity:1,texture:"crosshair173.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M11.642 8.467q0-.926-.45-1.654l-.609.595L9.525 6.35l.609-.595q-.741-.463-1.667-.463t-1.654.463l.595.595L6.35 7.408l-.595-.595q-.463.728-.463 1.654 0 .926.463 1.667l.595-.609 1.058 1.058-.595.609q.728.45 1.654.45.926 0 1.667-.45l-.609-.609 1.058-1.058.609.609q.45-.741.45-1.667m1.058 0q0 1.362-.754 2.42l.754.755-1.058 1.058-.754-.754-.305.198q-.939.556-2.116.556-1.363 0-2.421-.754l-.754.754-1.059-1.058.754-.754q-.754-1.059-.754-2.421 0-1.376.754-2.421l-.754-.754 1.059-1.059.754.754q1.045-.754 2.42-.754 1.178 0 2.117.556l.305.198.754-.754L12.7 5.292l-.754.754q.754 1.058.754 2.42" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_177:{type:"crosshair",name:"Style 177",rarity:1,texture:"crosshair177.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M1.058 12.726l1.879-2.91.913.542-.675 1.31h1.588v1.058H1.058M8.467.556l1.733 2.91-.913.542-.82-1.362-.807 1.362-.913-.542 1.72-2.91m.529 7.937q0 .172-.093.304l-.066.067q-.145.158-.37.158t-.384-.158l-.053-.067q-.092-.132-.092-.304 0-.225.145-.384.159-.145.384-.145t.37.145q.159.16.159.384m6.879 4.233h-3.704v-1.058h1.587l-.661-1.31.913-.542 1.865 2.91" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_181:{type:"crosshair",name:"Style 181",rarity:1,texture:"crosshair181.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M12.7 8.467q0 1.746-1.244 2.99-1.243 1.243-2.99 1.243-1.759 0-3.002-1.244-1.23-1.243-1.23-2.99 0-1.759 1.23-3.002 1.243-1.23 3.003-1.23 1.746 0 2.99 1.23Q12.7 6.707 12.7 8.467m-1.984-2.25q-.94-.925-2.25-.925-1.322 0-2.248.926-.926.926-.926 2.249 0 1.31.926 2.249.926.926 2.249.926 1.31 0 2.249-.926.926-.94.926-2.25 0-1.322-.926-2.248m-.133 2.249q0 .873-.621 1.495-.622.621-1.495.621-.873 0-1.495-.621-.622-.622-.622-1.495 0-.873.622-1.495.622-.622 1.495-.622.873 0 1.495.622.621.622.621 1.495m-.992-1.125q-.463-.463-1.124-.463-.662 0-1.125.463-.463.463-.463 1.125 0 .661.463 1.124.463.463 1.125.463.661 0 1.124-.463.463-.463.463-1.124 0-.662-.463-1.125" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '},crosshair_184:{type:"crosshair",name:"Style 184",rarity:1,texture:"crosshair184.img",code:'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16.933 16.933"><path d="M7.937 3.704h1.059V6.88H7.937V3.704M6.88 7.937v1.059H3.704V7.937H6.88m4.207-2.103q.688.688.953 1.574H10.9q-.185-.45-.556-.82-.37-.37-.82-.556V4.908q.873.251 1.561.926m-5.252.013l.013-.013q.688-.675 1.561-.926v1.124q-.436.186-.807.543l-.013.013-.013.013q-.357.37-.542.807H4.908q.251-.873.926-1.56m0 5.238q-.675-.688-.926-1.561h1.125q.185.45.555.82.37.37.82.556v1.138q-.886-.265-1.574-.953m3.162-2.62q0 .226-.159.371-.145.159-.37.159t-.384-.159q-.146-.145-.146-.37t.146-.384q.159-.146.384-.146t.37.146q.159.159.159.384m1.058.529V7.937h3.175v1.059h-3.175m1.032 2.09q-.688.688-1.561.94V10.9q.437-.185.807-.556l.013-.013q.37-.37.556-.807h1.124q-.251.873-.939 1.561m-3.149-1.032h1.059v3.175H7.937v-3.175" fill="white" stroke="black" stroke-width=".5" stroke-linecap="square"/> '}};e.exports=r},f4ccd911:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){try{return e.createGain.disconnect(e.destination),!1}catch(e){return!0}}var o=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},s=window.navigator.userAgent.indexOf("iPod")>-1||window.navigator.userAgent.indexOf("iPhone")>-1||window.navigator.userAgent.indexOf("iPad")>-1,n=null,l=!1,c=128,m=function{function e(t){r(this,e),this.ctx=t,this.sound=null,this.id=0,this.volume=1,this.volumeOld=this.volume,this.pan=0,this.panOld=this.pan,this.sourceNode=null,this.gainNode=this.ctx.createGain,this.pannerNode=this.ctx.createPanner,this.pannerNode.panningModel="equalpower",this.gainNode.connect(this.pannerNode),this.destination=null,this.paramEvents=0,this.stopTime=0,this.stopping=!1,this.playState="playFinished"}return o(e,[{key:"setGain",value:function(e){this.stopping||(s?this.gainNode.gain.value=e:(this.gainNode.gain.setTargetAtTime(e,this.ctx.currentTime,.02),++this.paramEvents))}},{key:"setPan",value:function(e){this.stopping||(this.pannerNode.setPosition(e,0,-.5),this.paramEvents+=3)}},{key:"start",value:function(e,t,a,r,i,o,n,l,c){this.volume=this.volumeOld=a,this.pan=this.panOld=r,this.ambient=l,this.stopping=!1,this.destination=e,this.sourceNode=this.ctx.createBufferSource,this.sourceNode.buffer=t,this.sourceNode.connect(this.gainNode),this.pannerNode.connect(this.destination),this.sourceNode.loop=i,s?this.gainNode.gain.value=a:(this.gainNode.gain.setValueAtTime(a,this.ctx.currentTime),++this.paramEvents),this.setPan(r),this.sourceNode.detune&&(this.sourceNode.detune.value=c),this.sourceNode.start(this.ctx.currentTime+o,n),this.stopTime=i?1e100:this.ctx.currentTime+o+t.duration-n,this.playState="playSucceeded"}},{key:"stop",value:function{this.stopping||(this.setGain(0),this.stopTime=this.ctx.currentTime+.1,this.stopping=!0,this.playState="playInterrupted")}},{key:"disconnect",value:function{if(this.sound.instances.splice(this.sound.instances.indexOf(this),1),this.sound=null,this.sourceNode.stop(0),this.sourceNode.disconnect(this.gainNode),this.pannerNode.disconnect(this.destination),s)try{this.sourceNode.buffer=n}catch(e){}this.destination=null,this.sourceNode=null,this.playState="playFinished"}},{key:"reallocNodes",value:function{this.gainNode.disconnect(this.pannerNode),this.gainNode=this.ctx.createGain,this.pannerNode=this.ctx.createPanner,this.pannerNode.panningModel="equalpower",this.gainNode.connect(this.pannerNode),this.paramEvents=0}}]),e},p=null,h=function{function e(t){r(this,e),this.instance=t,this.id=t.id}return o(e,[{key:"check",value:function(e){this.id!=this.instance.id&&(this.instance=p,this.id=p.id)}},{key:"stop",value:function{this.check,this.instance.stop}},{key:"volume",get:function{return this.check,this.instance.volume},set:function(e){this.check(!0),this.instance.volume=e}},{key:"pan",get:function{return this.check,this.instance.pan},set:function(e){this.check(!0),this.instance.pan=e}},{key:"playState",get:function{return this.check,this.instance.playState}}]),e},d=null,u=function{function e(t,a,i,o,s){if(r(this,e),this.ctx=t,this.inNode=a,this.outNode=i,this.name=o,this.volume=void 0!=s.volume?s.volume:1,this.echoVolume=s.echoVolume||0,this.echoDelay=s.echoDelay||0,this.echoLowPass=s.echoLowPass||3e3,this.stereoSpread=s.stereoSpread||0,!l){var n=this.ctx.createGain;this.inNode.connect(n),this.inNode=n}this.gainNode=null,this.convolverNode=null,this.echoGainNode=null,this.echoLowPassNode=null,this.echoDelayNode=null,this.stereoDelayNode=null,this.mergerNode=null,this.convolverNode=this.ctx.createConvolver,this.echoVolume&&(this.echoLowPassNode=this.ctx.createBiquadFilter,this.echoLowPassNode.type="lowpass",this.echoLowPassNode.frequency.setValueAtTime(this.echoLowPass,0),this.echoLowPassNode.Q.setValueAtTime(-3.0102999566398125,0),this.echoDelayNode=this.ctx.createDelay(this.echoDelay||.01),this.echoDelayNode.delayTime.setValueAtTime(this.echoDelay,0)),this.stereoSpread&&(this.stereoDelayNode=this.ctx.createDelay(this.stereoSpread),this.stereoDelayNode.delayTime.setValueAtTime(this.stereoSpread,0),this.mergerNode=this.ctx.createChannelMerger(2)),this.targetLevel=0,this.gain=0,this.drainEndTime=0,this.active=!1}return o(e,[{key:"isConnected",value:function{return null!=this.gainNode}},{key:"connect",value:function{if(this.gainNode=this.ctx.createGain,this.gainNode.channelCount=1,this.gainNode.channelCountMode="explicit",this.gainNode.gain.setValueAtTime(0,0),this.echoVolume&&(this.echoGainNode=this.ctx.createGain,this.echoGainNode.channelCount=1,this.echoGainNode.channelCountMode="explicit",this.echoGainNode.gain.setValueAtTime(this.echoVolume,0)),this.inNode.connect(this.gainNode),this.gainNode.connect(this.convolverNode),this.echoVolume&&(this.convolverNode.connect(this.echoGainNode),this.echoGainNode.connect(this.echoLowPassNode),this.echoLowPassNode.connect(this.echoDelayNode),this.echoDelayNode.connect(this.convolverNode)),this.stereoSpread){var e=this.convolverNode.buffer;e&&1!=e.numberOfChannels&&console.error("stereoSpread can only be applied to mono IRs"),this.convolverNode.connect(this.stereoDelayNode),this.convolverNode.connect(this.mergerNode,0,0),this.stereoDelayNode.connect(this.mergerNode,0,1),this.mergerNode.connect(this.outNode)}else this.convolverNode.connect(this.outNode)}},{key:"disconnect",value:function{this.inNode.disconnect(this.gainNode),this.gainNode.disconnect(this.convolverNode),this.echoVolume&&(this.convolverNode.disconnect(this.echoGainNode),this.echoGainNode.disconnect(this.echoLowPassNode),this.echoLowPassNode.disconnect(this.echoDelayNode),this.echoDelayNode.disconnect(this.convolverNode)),this.stereoSpread?(this.convolverNode.disconnect(this.stereoDelayNode),this.convolverNode.disconnect(this.mergerNode,0,0),this.stereoDelayNode.disconnect(this.mergerNode,0,1),this.mergerNode.disconnect(this.outNode)):this.convolverNode.disconnect(this.outNode),this.gainNode=null,this.echoGainNode=null}},{key:"setGain",value:function(e,t,a){if(e*=this.volume,this.gain!=e){if(0==e||this.gainNode||this.connect,0==e){this.echoGainNode&&this.echoGainNode.gain.setValueAtTime(0,a);var r=this.convolverNode.buffer,i=r?r.duration:0;this.drainEndTime=a+i+this.echoDelay+this.stereoSpread}0==this.gain&&this.echoGainNode&&this.echoGainNode.gain.setValueAtTime(this.echoVolume,t),this.gainNode.gain.setValueAtTime(this.gain,t),this.gainNode.gain.linearRampToValueAtTime(e,a),this.gain=e}}}]),e},g=function{function e{var t=this;if(r(this,e),this.ctx=new(window.AudioContext||window.webkitAudioContext),s){var a=this.ctx.createBuffer(1,1,44100),o=this.ctx.createBufferSource;o.buffer=a,o.connect(this.ctx.destination),o.start,o.disconnect(this.ctx.destination),this.ctx.close,this.ctx=new(window.AudioContext||window.webkitAudioContext)}l=i(this.ctx),window.audioEngine=this,this.masterGainNode=this.ctx.createGain,this.compressorNode=this.ctx.createDynamicsCompressor,this.masterGainNode.connect(this.compressorNode),this.compressorNode.connect(this.ctx.destination),this.reverbNode=this.ctx.createGain,this.reverbNode.connect(this.masterGainNode),this.eqNodes={};var u={muffled:20,1.4142,-6,"peaking"],[40,1.4142,-7,"peaking"],[80,1.4142,-10,"peaking"],[160,1.4142,-13,"peaking"],[320,1.4142,-22,"peaking"],[640,1.4142,-18,"peaking"],[1280,1.4142,-25,"peaking"],[2560,1.4142,-10,"peaking"],[5120,1.4142,-30,"peaking"],[10240,1.4142,-25,"peaking",club:20,1.4142,-6,"lowshelf"],[63,1.4142,-3,"lowshelf"],[125,1.4142,-3,"lowshelf"],[250,1.4142,-6,"lowshelf"],[500,1.4142,-18,"peaking"],[1e3,1.4142,-36,"peaking"],[2e3,1.4142,-48,"peaking"],[4e3,1.4142,-50,"highshelf"],[8e3,1.4142,-50,"highshelf"],[16e3,1.4142,-50,"highshelf"};Object.keys(u).forEach(function(e){var a=t.ctx.createGain;a.gain.setValueAtTime(16,0);for(var r=u[e],i=a,o=0;o<r.length;o++){var s=t.ctx.createBiquadFilter;i.connect(s),i=s,s.frequency.setValueAtTime(r[o][0],0),s.Q.setValueAtTime(r[o][1],0),s.gain.setValueAtTime(r[o][2],0),s.type=r[o][3]}i.connect(t.reverbNode),t.eqNodes[e]=a}),this.files={},this.sounds={},this.instances=[];for(var g=0;g<c;g++){var y=new m(this.ctx);this.instances[g]=y}if(this.instanceId=0,this.playingInstances=[],p=new m(this.ctx),d=new h(p),this.reverbs={},this.activeReverbs=[],this.reverbFadeEndTime=0,this.volume=1,this.volumeOld=this.volume,this.muted=!1,this.mutedOld=this.muted,"suspended"==this.ctx.state){var w=function e{t.ctx.resume;var a=t.ctx.createBufferSource;a.buffer=t.ctx.createBuffer(1,1,22050),a.connect(t.ctx.destination),a.start,setTimeout(function{"running"==t.ctx.state&&(document.body.removeEventListener("mousedown",e,!1),document.body.removeEventListener("touchend",e,!1))},0)};document.body.addEventListener("mousedown",w,!1),document.body.addEventListener("touchend",w,!1)}s&&(n=this.ctx.createBuffer(1,1,22050)),this.onfileload=function{},this.PLAY_INITED="playInited",this.PLAY_SUCCEEDED="playSucceeded",this.PLAY_INTERRUPTED="playInterrupted",this.PLAY_FINISHED="playFinished",this.PLAY_FAILED="playFailed"}return o(e,),e},y={Sound:new g};e.exports=y},f4d48896:function(e,t,a){"use strict";function r(e){facebookConnectPlugin.login(["public_profile"],function(t){e(null,t)},function(t){e(t)})}function i(e){window.plugins.googleplus.login({},function(t){e(null,t)},function(t){e(t)})}function o(e){window.chrome.system.memory.getInfo(e)}function s(e){AppRate.preferences={useLanguage:"en",displayAppName:"surviv.io",usesUntilPrompt:1,promptAgainForEachNewVersion:!0,inAppReview:!0,storeAppURL:{ios:"1401727934",android:"market://details?id=io.surviv.surviv_io_mobile"},customLocale:{title:"Enjoying surviv.io?",message:"Thanks for playing! It would be a huge help if you rated us. We appreciate your support!",cancelButtonLabel:"No Thanks",laterButtonLabel:"Remind Me Later",rateButtonLabel:"Rate surviv.io"},callbacks:{handleNegativeFeedback:function{window.open("mailto:admin@surviv.io","_system")},onRateDialogShow:function(e){},onButtonClicked:function(t){e(t)}}},AppRate.preferences.simpleMode=!0,AppRate.promptForRating}function n{return void 0!==window.NativeStorage}function l(e,t){NativeStorage.getItem(e,function(e){t(null,e)},function(e){t(e)})}function c(e,t,a){NativeStorage.setItem(e,t,function(e){a(null,e)},function(e){a(e)})}e.exports={facebookLogin:r,getSystemMemoryInfo:o,googleLogin:i,promptAppRate:s,hasNativeStorage:n,storageGetItem:l,storageSetItem:c}},fa71fb59:function(e,t,a){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function{function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}},o=a("8ee62bea"),s=function{function e(t){var a=this;r(this,e),this.selector=t,this.checkSelector=!0,this.skipFade=!1,this.visible=!1,this.onShowFn=function{},this.onHideFn=function{},t.find(".close").click(function(e){a.hide}),this.modalCloseListener=function(e){0!=o(e.target).closest(".modal-close").length||!o(e.target).is(t)&&a.checkSelector||(e.stopPropagation,a.hide)}}return i(e,[{key:"onShow",value:function(e){this.onShowFn=e}},{key:"onHide",value:function(e){this.onHideFn=e}},{key:"isVisible",value:function{return this.visible}},{key:"show",value:function(e){this.visible||(this.visible=!0,this.selector.finish,this.selector.css("display","block"),this.onShowFn,e||o(document).on("click touchend",this.modalCloseListener))}},{key:"hide",value:function{this.visible&&(this.visible=!1,this.skipFade?this.selector.css("display","none"):this.selector.fadeOut(200),this.onHideFn,o(document).off("click touchend",this.modalCloseListener))}}]),e};e.exports=s},fc096113:function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("d5ec3c16")),o={mapId:4,desc:{name:"Potato",icon:"img/loot/loot-throwable-potato.svg",buttonCss:"btn-mode-potato"},assets:{audio:[{name:"pumpkin_break_01",channel:"sfx"},{name:"potato_01",channel:"sfx"},{name:"potato_02",channel:"sfx"},{name:"potato_pickup_01",channel:"ui"},{name:"club_music_01",channel:"ambient"},{name:"club_music_02",channel:"ambient"},{name:"ambient_steam_01",channel:"ambient"},{name:"log_11",channel:"sfx"},{name:"log_12",channel:"sfx"}],atlases:["gradient","loadout","shared","potato"]},biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:13480795,riverbank:9461284,grass:8433481,underground:1772803,playerSubmerge:2854052},particles:{camera:"falling_potato"},frozenSprites:["player-mash-01.img","player-mash-02.img","player-mash-03.img"]},gameMode:{maxPlayers:80,potatoMode:!0}};e.exports=r.mergeDeep({},i,o)},fc6a992a:function(e,t,a){"use strict";function r{this.active=!1,this.sprite=new s.Sprite,this.sprite.anchor.set(.5,.5),this.sprite.visible=!1}function i(e){this.active=!1,this.pos=p.create(0,0),this.rad=0,this.duration=0,this.ticker=0,this.gfx=new s.Graphics,e.addChild(this.gfx)}function o(e){this.za=[],this.ka=[],this.airstrikeZoneContainer=new s.Container,this.audioManager=e}var s=a("8b1dfb45"),n=a("6b42806d"),l=a("989ad62a"),c=a("10899aea"),m=a("1901e2d9"),p=a("c2a798c8");a("af8ba00f"),r.prototype={o:function(e,t){switch(this.id=e.id,this.pos=p.copy(e.pos),this.planeDir=p.copy(e.planeDir),this.actionComplete=e.actionComplete,this.active=!0,this.dirty=!1,this.soundInstance=null,this.soundUpdateThrottle=0,this.alpha=.75,this.renderAlpha=1,this.spriteUpdateTime=0,this.type=e.action,this.config=this.type==l.Plane.Airdrop?l.airdrop:l.airstrike,this.rad=this.config.planeRad,this.type){case l.Plane.Airdrop:this.sprite.texture=s.Texture.fromImage(t.getMapDef.biome.airdrop.planeImg),this.planeSound=t.getMapDef.biome.airdrop.planeSound;break;case l.Plane.Airstrike:this.sprite.texture=s.Texture.fromImage("map-plane-02.img"),this.planeSound="fighter_01"}this.sprite.visible=!0,this.sprite.rotation=Math.atan2(this.planeDir.x,this.planeDir.y)},n:function(e){this.spriteUpdateTime<2||(this.soundInstance&&(e.stopSound(this.soundInstance),this.soundInstance=null),this.sprite.visible=!1,this.active=!1)}},i.prototype={o:function(e,t,a){this.active=!0,this.pos=p.copy(e),this.rad=t,this.duration=a,this.ticker=0,this.renderPos=p.create(0,0),this.renderRad=0,this.gfx.visible=!0},m:function(e,t,a){this.ticker+=e,this.gfx.visible=!0,this.ticker>=this.duration&&(this.gfx.visible=!1,this.active=!1)},Wt:function(e,t,a){var r=e.getMapPosFromWorldPos(this.pos,t),i=e.getMapPosFromWorldPos(p.add(this.pos,p.create(this.rad,0)),t),o=p.length(p.sub(i,r)),s=!p.eq(this.renderPos,r,1e-4),n=!c.eqAbs(this.renderRad,o,1e-4);s&&(this.renderPos=p.copy(r)),n&&(this.renderRad=o),s&&this.gfx.position.set(this.renderPos.x,this.renderPos.y),n&&(this.gfx.clear,this.gfx.lineStyle(1.5,15400704),this.gfx.beginFill(15400704,.2),this.gfx.drawCircle(0,0,this.renderRad),this.gfx.endFill);var l=c.smoothstep(this.ticker,0,.5)*(1-c.smoothstep(this.ticker,this.duration-.5,this.duration));this.gfx.alpha=l}},o.prototype={n:function{for(var e=0;e<this.za.length;e++)this.za[e].n(this.audioManager)},$t:function(e,t){for(var a=0;a<this.za.length;a++)this.za[a].dirty=!0;for(var r=0;r<e.length;r++){for(var i=e[r],o=null,s=0;s<this.za.length;s++){var n=this.za[s];if(n.active&&n.id==i.id){o=n;break}}o||(o=this.Ia(i,t)),o.dirty=!1,o.actionComplete=i.actionComplete}for(var l=0;l<this.za.length;l++){var c=this.za[l];c.active&&c.dirty&&c.n(this.audioManager)}},Ia:function(e,t){for(var a=null,i=0;i<this.za.length;i++)if(!this.za[i].active){a=this.za[i];break}return a||(a=new r,this.za.push(a)),a.o(e,t),a},ea:function(e){for(var t=null,a=0;a<this.ka.length;a++)if(!this.ka[a]){t=this.ka[a];break}return t||(t=new i(this.airstrikeZoneContainer),this.ka.push(t)),t.o(e.pos,e.rad,e.duration),t},m:function(e,t,a,r,i){for(var o=0;o<this.za.length;o++){var s=this.za[o];if(s.active){var h=0;if(!(m.sameLayer(h,a.layer)||2&a.layer)||2&a.layer&&r.insideStructureMask(n.createCircle(s.pos,1))||(h|=2),s.pos=p.add(s.pos,p.mul(s.planeDir,e*s.config.planeVel)),s.actionComplete&&(s.spriteUpdateTime=Math.min(s.spriteUpdateTime+e,2),s.spriteUpdateTime,s.rad=c.lerp(s.spriteUpdateTime,s.config.planeRad,1.25*s.config.planeRad),s.alpha=c.lerp(s.spriteUpdateTime,.75,.5625),s.soundRangeMult=c.max(0,c.lerp(s.spriteUpdateTime,s.config.soundRangeMult,s.config.soundRangeMult-s.config.soundRangeDelta))),s.soundInstance)s.soundUpdateThrottle<0?(this.audioManager.updateSound(s.soundInstance,"sfx",s.pos,{layer:h,rangeMult:s.config.soundRangeMult,ignoreMinAllowable:!0,fallOff:s.config.fallOff}),s.soundUpdateThrottle=.1):s.soundUpdateThrottle-=e;else{var d=p.length(p.sub(a.pos,s.pos)),u=s.config.soundRangeMax*s.config.soundRangeMult,g=0;if(s.type==l.Plane.Airstrike){var y=c.max(150,d);g=2.25*(1-c.clamp(c.max(0,y)/800,0,1))}d<u&&(s.soundInstance=this.audioManager.playSound(s.planeSound,{channel:"sfx",soundPos:s.pos,layer:h,loop:!0,rangeMult:2.5,ignoreMinAllowable:!0,fallOff:s.config.fallOff,offset:g}))}i.addPIXIObj(s.sprite,h,1501,s.id);var w=t.pointToScreen(s.pos),f=t.pixels(s.rad/t.ppu),b=r.insideBuildingCeiling(n.createCircle(a.pos,.01),a.layer,!0),_=s.alpha;1==a.layer?_=0:(b||1&a.layer)&&(_=.15),s.renderAlpha=c.lerp(3*e,s.renderAlpha,_),s.sprite.position.set(w.x,w.y),s.sprite.scale.set(f,f),s.sprite.tint=16776960,s.sprite.alpha=s.renderAlpha,s.sprite.visible=!0}}for(var x=0;x<this.ka.length;x++){var S=this.ka[x];S.active&&S.m(e)}},renderAirstrikeZones:function(e,t,a){for(var r=0;r<this.ka.length;r++){var i=this.ka[r];i.active&&i.Wt(e,t,a)}}},e.exports={ft:o}},fea0a94e:function(e,t,a){"use strict";var r=(a("989ad62a"),a("1901e2d9")),i=(a("c2a798c8"),a("fc096113")),o={assets:{audio:[{name:"pumpkin_break_01",channel:"sfx"},{name:"potato_01",channel:"sfx"},{name:"potato_02",channel:"sfx"},{name:"potato_pickup_01",channel:"ui"}],atlases:["gradient","loadout","shared","potato"]},biome:{colors:{background:2118510,water:3310251,waterRipple:11792639,beach:16035400,riverbank:9079434,grass:6066442,underground:1772803,playerSubmerge:2854052},particles:{camera:"falling_leaf_potato"}}};e.exports=r.mergeDeep({},i,o)},feb8fc30:function(e,t,a){"use strict";function r{this.container=new i.Container,this.container.visible=!1,this.timerBackground=i.Sprite.fromImage("timer-background.img"),this.timerBackground.anchor.set(.5,.5),this.timerBackground.scale.set(1,1),this.container.addChild(this.timerBackground),this.gfx=new i.Graphics,this.container.addChild(this.gfx),this.counterText=new i.Text,this.counterText.anchor.set(.5,.5),this.counterText.style={fontFamily:"Roboto Condensed, Arial, sans-serif",fontWeight:"bold",fontSize:n,align:"center",fill:16777215,stroke:0,strokeThickness:3},this.container.addChild(this.counterText),this.labelText=new i.Text,this.labelText.anchor.set(.5,.5),this.labelText.style={fontFamily:"Roboto Condensed, Arial, sans-serif",fontWeight:"100",fontSize:n,align:"center",fill:16777215},this.container.addChild(this.labelText),this.screenScaleFactor=1,this.mobileOffset=0,this.active=!1,this.label="",this.elapsed=0,this.duration=0}var i=a("8b1dfb45"),o=a("10899aea"),s=a("ce29f17f"),n=24;r.prototype={destroy:function{this.container.removeChild(this.timerBackground),this.timerBackground.destroy({children:!0}),this.container.destroy({children:!0,texture:!0})},start:function(e,t,a){this.active=!0,this.label=e,this.elapsed=t,this.duration=a},stop:function{this.active=!1},resize:function(e,t){this.screenScaleFactor=t,s.uiLayout==s.UiLayout.Sm?(s.tablet||this.container.scale.set(.5,.5),this.mobileOffset=s.isLandscape?e.mobileOffsetLandscape:e.mobileOffsetPortrait):(this.container.scale.set(1,1),this.mobileOffset=0)},update:function(e,t){if(!this.active)return void(this.container.visible=!1);this.elapsed=o.min(this.elapsed+e,this.duration);var a=56+this.label.length*n*.45,r=1.5*n,i=0-a/2,s=87.5-r/2,l=o.min(this.elapsed/this.duration,1)*Math.PI*2-.5*Math.PI;this.gfx.clear,this.gfx.beginFill(0,.5),this.gfx.drawRoundedRect(i,s,a,r,5),this.gfx.endFill,this.gfx.lineStyle(6,16777215),this.gfx.arc(0,0,35,.5*-Math.PI,l,!1),this.counterText.text=o.max(0,this.duration-this.elapsed).toFixed(1),this.labelText.position.y=87.5,this.labelText.text=this.label,this.container.position.set(t.screenWidth/2,t.screenHeight/3*this.screenScaleFactor+this.mobileOffset),this.container.visible=!0}},e.exports={re:r}}},["c99e6613"]); //# sourceMappingURL=app.01ecc4dd.js.map