1
0
forked from sent/waves
waves/public/assets/g/fnfmidfight/Funkin.js
2025-04-09 17:11:14 -05:00

1 line
3.4 MiB
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function($hx_exports,$global){"use strict";var $hx_script=function(exports,global){!function($hx_exports,$global){function $extend(e,t){var i=Object.create(e);for(var l in t)i[l]=t[l];return t.toString!==Object.prototype.toString&&(i.toString=t.toString),i}function $getIterator(e){return e instanceof Array?new haxe_iterators_ArrayIterator(e):e.iterator()}function $bind(e,t){if(null==t)return null;null==t.__id__&&(t.__id__=$global.$haxeUID++);var i;return null==e.hx__closures__?e.hx__closures__={}:i=e.hx__closures__[t.__id__],null==i&&(i=t.bind(e),e.hx__closures__[t.__id__]=i),i}$hx_exports.lime=$hx_exports.lime||{};var $hxClasses={},$estr=function(){return js_Boot.__string_rec(this,"")},$hxEnums=$hxEnums||{},$_,flixel_util_IFlxDestroyable=function(){};$hxClasses["flixel.util.IFlxDestroyable"]=flixel_util_IFlxDestroyable,flixel_util_IFlxDestroyable.__name__="flixel.util.IFlxDestroyable",flixel_util_IFlxDestroyable.__isInterface__=!0,flixel_util_IFlxDestroyable.prototype={destroy:null,__class__:flixel_util_IFlxDestroyable};var flixel_FlxBasic=function(){this.flixelType=0,this.exists=!0,this.alive=!0,this.visible=!0,this.active=!0,this.ID=-1};$hxClasses["flixel.FlxBasic"]=flixel_FlxBasic,flixel_FlxBasic.__name__="flixel.FlxBasic",flixel_FlxBasic.__interfaces__=[flixel_util_IFlxDestroyable],flixel_FlxBasic.prototype={ID:null,active:null,visible:null,alive:null,exists:null,flixelType:null,_cameras:null,destroy:function(){this.set_exists(!1),this._cameras=null},kill:function(){this.set_alive(!1),this.set_exists(!1)},revive:function(){this.set_alive(!0),this.set_exists(!0)},update:function(e){},draw:function(){},toString:function(){var e=this.active,t=flixel_util_LabelValuePair._pool.get();t.label="active",t.value=e;var e=this.visible,i=flixel_util_LabelValuePair._pool.get();i.label="visible",i.value=e;var e=this.alive,l=flixel_util_LabelValuePair._pool.get();l.label="alive",l.value=e;var e=this.exists,n=flixel_util_LabelValuePair._pool.get();return n.label="exists",n.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,n])},set_visible:function(e){return this.visible=e},set_active:function(e){return this.active=e},set_exists:function(e){return this.exists=e},set_alive:function(e){return this.alive=e},get_camera:function(){return null==this._cameras||0==this._cameras.length?flixel_FlxCamera.defaultCameras[0]:this._cameras[0]},set_camera:function(e){return null==this._cameras?this._cameras=[e]:this._cameras[0]=e,e},get_cameras:function(){return null==this._cameras?flixel_FlxCamera.defaultCameras:this._cameras},set_cameras:function(e){return this._cameras=e},__class__:flixel_FlxBasic,__properties__:{set_cameras:"set_cameras",get_cameras:"get_cameras",set_camera:"set_camera",get_camera:"get_camera",set_exists:"set_exists",set_alive:"set_alive",set_visible:"set_visible",set_active:"set_active"}};var flixel_util_IFlxPooled=function(){};$hxClasses["flixel.util.IFlxPooled"]=flixel_util_IFlxPooled,flixel_util_IFlxPooled.__name__="flixel.util.IFlxPooled",flixel_util_IFlxPooled.__isInterface__=!0,flixel_util_IFlxPooled.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util_IFlxPooled.prototype={put:null,_inPool:null,__class__:flixel_util_IFlxPooled};var flixel_util_IFlxPool=function(){};$hxClasses["flixel.util.IFlxPool"]=flixel_util_IFlxPool,flixel_util_IFlxPool.__name__="flixel.util.IFlxPool",flixel_util_IFlxPool.__isInterface__=!0,flixel_util_IFlxPool.prototype={preAllocate:null,clear:null,__class__:flixel_util_IFlxPool};var flixel_util_FlxPool_$flixel_$math_$FlxRect=function(e){this._count=0,this._pool=[],this._class=e};$hxClasses["flixel.util.FlxPool_flixel_math_FlxRect"]=flixel_util_FlxPool_$flixel_$math_$FlxRect,flixel_util_FlxPool_$flixel_$math_$FlxRect.__name__="flixel.util.FlxPool_flixel_math_FlxRect",flixel_util_FlxPool_$flixel_$math_$FlxRect.__interfaces__=[flixel_util_IFlxPool],flixel_util_FlxPool_$flixel_$math_$FlxRect.prototype={_pool:null,_class:null,_count:null,get:function(){return 0==this._count?Type.createInstance(this._class,[]):this._pool[--this._count]},put:function(e){if(null!=e){var t=this._pool.indexOf(e);(-1==t||t>=this._count)&&(e.destroy(),this._pool[this._count++]=e)}},putUnsafe:function(e){null!=e&&(e.destroy(),this._pool[this._count++]=e)},preAllocate:function(e){for(;e-- >0;)this._pool[this._count++]=Type.createInstance(this._class,[])},clear:function(){this._count=0;var e=this._pool;return this._pool=[],e},get_length:function(){return this._count},__class__:flixel_util_FlxPool_$flixel_$math_$FlxRect,__properties__:{get_length:"get_length"}};var flixel_math_FlxRect=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this._inPool=!1,this._weak=!1;var n=e,s=t,a=i,r=l;null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),this.x=n,this.y=s,this.width=a,this.height=r};$hxClasses["flixel.math.FlxRect"]=flixel_math_FlxRect,flixel_math_FlxRect.__name__="flixel.math.FlxRect",flixel_math_FlxRect.__interfaces__=[flixel_util_IFlxPooled],flixel_math_FlxRect.__properties__={get_pool:"get_pool"},flixel_math_FlxRect.get=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0);var n=flixel_math_FlxRect._pool.get(),s=e,a=t,r=i,_=l;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),n.x=s,n.y=a,n.width=r,n.height=_;var o=n;return o._inPool=!1,o},flixel_math_FlxRect.weak=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0);var n=e,s=t,a=i,r=l;null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0);var _=flixel_math_FlxRect._pool.get(),e=n,t=s,i=a;null==(l=r)&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),_.x=e,_.y=t,_.width=i,_.height=l;var o=_;o._inPool=!1;var h=o;return h._weak=!0,h},flixel_math_FlxRect.get_pool=function(){return flixel_math_FlxRect._pool},flixel_math_FlxRect.prototype={x:null,y:null,width:null,height:null,_weak:null,_inPool:null,put:function(){this._inPool||(this._inPool=!0,this._weak=!1,flixel_math_FlxRect._pool.putUnsafe(this))},putWeak:function(){this._weak&&(this._inPool||(this._inPool=!0,this._weak=!1,flixel_math_FlxRect._pool.putUnsafe(this)))},setSize:function(e,t){return this.width=e,this.height=t,this},setPosition:function(e,t){return this.x=e,this.y=t,this},set:function(e,t,i,l){return null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.x=e,this.y=t,this.width=i,this.height=l,this},copyFrom:function(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e))),this},copyTo:function(e){return e.x=this.x,e.y=this.y,e.width=this.width,e.height=this.height,e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e))),e},copyFromFlash:function(e){return this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this},copyToFlash:function(e){return null==e&&(e=new openfl_geom_Rectangle),e.x=this.x,e.y=this.y,e.width=this.width,e.height=this.height,e},overlaps:function(e){var t=e.x+e.width>this.x&&e.x<this.x+this.width&&e.y+e.height>this.y&&e.y<this.y+this.height;return e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e))),t},containsPoint:function(e){var t=flixel_math_FlxMath.pointInFlxRect(e.x,e.y,this);return e._weak&&e.put(),t},union:function(e){var t=Math.min(this.x,e.x),i=Math.min(this.y,e.y),l=Math.max(this.x+this.width,e.x+e.width),n=Math.max(this.y+this.height,e.y+e.height);e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e)));var s=t,a=i,r=l-t,_=n-i;return null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),this.x=s,this.y=a,this.width=r,this.height=_,this},floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.width=Math.round(this.width),this.height=Math.round(this.height),this},fromTwoPoints:function(e,t){var i=Math.min(e.x,t.x),l=Math.min(e.y,t.y),n=Math.max(e.x,t.x),s=Math.max(e.y,t.y);e._weak&&e.put(),t._weak&&t.put();var a=i,r=l,_=n-i,o=s-l;return null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),this.x=a,this.y=r,this.width=_,this.height=o,this},unionWithPoint:function(e){var t=Math.min(this.x,e.x),i=Math.min(this.y,e.y),l=Math.max(this.x+this.width,e.x),n=Math.max(this.y+this.height,e.y);e._weak&&e.put();var s=t,a=i,r=l-t,_=n-i;return null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),this.x=s,this.y=a,this.width=r,this.height=_,this},offset:function(e,t){return this.x+=e,this.y+=t,this},destroy:function(){},equals:function(e){var t=Math.abs(this.x-e.x)<=1e-7&&Math.abs(this.y-e.y)<=1e-7&&Math.abs(this.width-e.width)<=1e-7&&Math.abs(this.height-e.height)<=1e-7;return e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e))),t},intersection:function(e,t){if(null==t){var i=flixel_math_FlxRect._pool.get(),l=0,n=0,s=0;null==(u=0)&&(u=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),i.x=l,i.y=n,i.width=s,i.height=u;var a=i;a._inPool=!1,t=a}var r=this.x<e.x?e.x:this.x,_=this.x+this.width>e.x+e.width?e.x+e.width:this.x+this.width;if(_<=r)return e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e))),t;var o=this.y<e.y?e.y:this.y,h=this.y+this.height>e.y+e.height?e.y+e.height:this.y+this.height;if(h<=o)return e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e))),t;e._weak&&(e._inPool||(e._inPool=!0,e._weak=!1,flixel_math_FlxRect._pool.putUnsafe(e)));var l=r,n=o,s=_-r,u=h-o;return null==u&&(u=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),t.x=l,t.y=n,t.width=s,t.height=u,t},toString:function(){var e=this.x,t=flixel_util_LabelValuePair._pool.get();t.label="x",t.value=e;var e=this.y,i=flixel_util_LabelValuePair._pool.get();i.label="y",i.value=e;var e=this.width,l=flixel_util_LabelValuePair._pool.get();l.label="w",l.value=e;var e=this.height,n=flixel_util_LabelValuePair._pool.get();return n.label="h",n.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,n])},get_left:function(){return this.x},set_left:function(e){return this.width-=e-this.x,this.x=e},get_right:function(){return this.x+this.width},set_right:function(e){return this.width=e-this.x,e},get_top:function(){return this.y},set_top:function(e){return this.height-=e-this.y,this.y=e},get_bottom:function(){return this.y+this.height},set_bottom:function(e){return this.height=e-this.y,e},get_isEmpty:function(){return 0==this.width||0==this.height},__class__:flixel_math_FlxRect,__properties__:{get_isEmpty:"get_isEmpty",set_bottom:"set_bottom",get_bottom:"get_bottom",set_top:"set_top",get_top:"get_top",set_right:"set_right",get_right:"get_right",set_left:"set_left",get_left:"get_left"}};var flixel_FlxObject=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0);var n=flixel_math_FlxRect._pool.get();n.x=0,n.y=0,n.width=0,n.height=0,n._inPool=!1,this._rect=n;var s=flixel_math_FlxPoint._pool.get().set(0,0);s._inPool=!1,this._point=s,this.path=null,this.collisonXDrag=!0,this.allowCollisions=4369,this.wasTouching=0,this.touching=0,this.health=1,this.maxAngular=1e4,this.angularDrag=0,this.angularAcceleration=0,this.angularVelocity=0,this.elasticity=0,this.mass=1,this.immovable=!1,this.moves=!0,this.angle=0,this.pixelPerfectPosition=!0,this.y=0,this.x=0,flixel_FlxBasic.call(this),this.set_x(e),this.set_y(t),this.set_width(i),this.set_height(l),this.initVars()};$hxClasses["flixel.FlxObject"]=flixel_FlxObject,flixel_FlxObject.__name__="flixel.FlxObject",flixel_FlxObject.separate=function(e,t){var i=flixel_FlxObject.separateX(e,t),l=flixel_FlxObject.separateY(e,t);return!!i||l},flixel_FlxObject.updateTouchingFlags=function(e,t){var i=flixel_FlxObject.updateTouchingFlagsX(e,t),l=flixel_FlxObject.updateTouchingFlagsY(e,t);return!!i||l},flixel_FlxObject.computeOverlapX=function(e,t,i){null==i&&(i=!0);var l=0,n=e.x-e.last.x,s=t.x-t.last.x;if(n!=s){var a=n>0?n:-n,r=s>0?s:-s,_=flixel_FlxObject._firstSeparateFlxRect,o=e.x-(n>0?n:0),h=e.last.y,u=e.get_width()+a,d=e.get_height();null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d;var c=_,_=flixel_FlxObject._secondSeparateFlxRect,o=t.x-(s>0?s:0),h=t.last.y,u=t.get_width()+r;null==(d=t.get_height())&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d;var p=_;if(c.x+c.width>p.x&&c.x<p.x+p.width&&c.y+c.height>p.y&&c.y<p.y+p.height){var f=i?a+r+flixel_FlxObject.SEPARATE_BIAS:0;n>s?(l=e.x+e.get_width()-t.x,i&&l>f||0==(16&e.allowCollisions)||0==(1&t.allowCollisions)?l=0:(e.touching|=16,t.touching|=1)):n<s&&(l=e.x-t.get_width()-t.x,i&&-l>f||0==(1&e.allowCollisions)||0==(16&t.allowCollisions)?l=0:(e.touching|=1,t.touching|=16))}}return l},flixel_FlxObject.separateX=function(e,t){var i=e.immovable,l=t.immovable;if(i&&l)return!1;if(3==e.flixelType)return(n=e).overlapsWithCallback(t,flixel_FlxObject.separateX);if(3==t.flixelType){var n=t;return n.overlapsWithCallback(e,flixel_FlxObject.separateX,!0)}var s=flixel_FlxObject.computeOverlapX(e,t);if(0!=s){var a=e.velocity.x,r=t.velocity.x;if(i||l)if(i){if(!l){var _=t;_.set_x(_.x+s),t.velocity.set_x(a-r*t.elasticity)}}else e.set_x(e.x-s),e.velocity.set_x(r-a*e.elasticity);else{s*=.5,e.set_x(e.x-s),(_=t).set_x(_.x+s);var o=Math.sqrt(r*r*t.mass/e.mass)*(r>0?1:-1),h=Math.sqrt(a*a*e.mass/t.mass)*(a>0?1:-1),u=.5*(o+h);o-=u,h-=u,e.velocity.set_x(u+o*e.elasticity),t.velocity.set_x(u+h*t.elasticity)}return!0}return!1},flixel_FlxObject.updateTouchingFlagsX=function(e,t){if(3==e.flixelType)return(i=e).overlapsWithCallback(t,flixel_FlxObject.updateTouchingFlagsX);if(3==t.flixelType){var i=t;return i.overlapsWithCallback(e,flixel_FlxObject.updateTouchingFlagsX,!0)}return 0!=flixel_FlxObject.computeOverlapX(e,t,!1)},flixel_FlxObject.computeOverlapY=function(e,t,i){null==i&&(i=!0);var l=0,n=e.y-e.last.y,s=t.y-t.last.y;if(n!=s){var a=n>0?n:-n,r=s>0?s:-s,_=flixel_FlxObject._firstSeparateFlxRect,o=e.x,h=e.y-(n>0?n:0),u=e.get_width(),d=e.get_height()+a;null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d;var c=_,_=flixel_FlxObject._secondSeparateFlxRect,o=t.x,h=t.y-(s>0?s:0),u=t.get_width();null==(d=t.get_height()+r)&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d;var p=_;if(c.x+c.width>p.x&&c.x<p.x+p.width&&c.y+c.height>p.y&&c.y<p.y+p.height){var f=i?a+r+flixel_FlxObject.SEPARATE_BIAS:0;n>s?(l=e.y+e.get_height()-t.y,i&&l>f||0==(4096&e.allowCollisions)||0==(256&t.allowCollisions)?l=0:(e.touching|=4096,t.touching|=256)):n<s&&(l=e.y-t.get_height()-t.y,i&&-l>f||0==(256&e.allowCollisions)||0==(4096&t.allowCollisions)?l=0:(e.touching|=256,t.touching|=4096))}}return l},flixel_FlxObject.separateY=function(e,t){var i=e.immovable,l=t.immovable;if(i&&l)return!1;if(3==e.flixelType)return(n=e).overlapsWithCallback(t,flixel_FlxObject.separateY);if(3==t.flixelType){var n=t;return n.overlapsWithCallback(e,flixel_FlxObject.separateY,!0)}var s=flixel_FlxObject.computeOverlapY(e,t);if(0!=s){var a=e.y-e.last.y,r=t.y-t.last.y,_=e.velocity.y,o=t.velocity.y;if(i||l)if(i){if(!l){var h=t;h.set_y(h.y+s),t.velocity.set_y(_-o*t.elasticity),t.collisonXDrag&&e.active&&e.moves&&a<r&&(h=t).set_x(h.x+(e.x-e.last.x))}}else e.set_y(e.y-s),e.velocity.set_y(o-_*e.elasticity),e.collisonXDrag&&t.active&&t.moves&&a>r&&(h=e).set_x(h.x+(t.x-t.last.x));else{s*=.5,e.set_y(e.y-s),(h=t).set_y(h.y+s);var u=Math.sqrt(o*o*t.mass/e.mass)*(o>0?1:-1),d=Math.sqrt(_*_*e.mass/t.mass)*(_>0?1:-1),c=.5*(u+d);u-=c,d-=c,e.velocity.set_y(c+u*e.elasticity),t.velocity.set_y(c+d*t.elasticity)}return!0}return!1},flixel_FlxObject.updateTouchingFlagsY=function(e,t){if(3==e.flixelType)return(i=e).overlapsWithCallback(t,flixel_FlxObject.updateTouchingFlagsY);if(3==t.flixelType){var i=t;return i.overlapsWithCallback(e,flixel_FlxObject.updateTouchingFlagsY,!0)}return 0!=flixel_FlxObject.computeOverlapY(e,t,!1)},flixel_FlxObject.__super__=flixel_FlxBasic,flixel_FlxObject.prototype=$extend(flixel_FlxBasic.prototype,{x:null,y:null,width:null,height:null,pixelPerfectRender:null,pixelPerfectPosition:null,angle:null,moves:null,immovable:null,scrollFactor:null,velocity:null,acceleration:null,drag:null,maxVelocity:null,last:null,mass:null,elasticity:null,angularVelocity:null,angularAcceleration:null,angularDrag:null,maxAngular:null,health:null,touching:null,wasTouching:null,allowCollisions:null,collisonXDrag:null,path:null,_point:null,_rect:null,initVars:function(){this.flixelType=1;var e=this.x,t=this.y;null==t&&(t=0),null==e&&(e=0);var i=flixel_math_FlxPoint._pool.get().set(e,t);i._inPool=!1,this.last=i;e=1;null==(t=1)&&(t=0),null==e&&(e=0),(i=flixel_math_FlxPoint._pool.get().set(e,t))._inPool=!1,this.scrollFactor=i,this.pixelPerfectPosition=flixel_FlxObject.defaultPixelPerfectPosition,(i=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.velocity=i,(i=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.acceleration=i,(i=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.drag=i;e=1e4;null==(t=1e4)&&(t=0),null==e&&(e=0),(i=flixel_math_FlxPoint._pool.get().set(e,t))._inPool=!1,this.maxVelocity=i},initMotionVars:function(){var e=flixel_math_FlxPoint._pool.get().set(0,0);e._inPool=!1,this.velocity=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.acceleration=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.drag=e;var t=1e4,i=1e4;null==i&&(i=0),null==t&&(t=0),(e=flixel_math_FlxPoint._pool.get().set(t,i))._inPool=!1,this.maxVelocity=e},destroy:function(){flixel_FlxBasic.prototype.destroy.call(this),this.velocity=flixel_util_FlxDestroyUtil.put(this.velocity),this.acceleration=flixel_util_FlxDestroyUtil.put(this.acceleration),this.drag=flixel_util_FlxDestroyUtil.put(this.drag),this.maxVelocity=flixel_util_FlxDestroyUtil.put(this.maxVelocity),this.scrollFactor=flixel_util_FlxDestroyUtil.put(this.scrollFactor),this.last=flixel_util_FlxDestroyUtil.put(this.last),this._point=flixel_util_FlxDestroyUtil.put(this._point),this._rect=flixel_util_FlxDestroyUtil.put(this._rect)},update:function(e){this.last.set(this.x,this.y),null!=this.path&&this.path.active&&this.path.update(e),this.moves&&this.updateMotion(e),this.wasTouching=this.touching,this.touching=0},updateMotion:function(e){var t=.5*(flixel_math_FlxVelocity.computeVelocity(this.angularVelocity,this.angularAcceleration,this.angularDrag,this.maxAngular,e)-this.angularVelocity);this.angularVelocity+=t;var i=this;i.set_angle(i.angle+this.angularVelocity*e),this.angularVelocity+=t,t=.5*(flixel_math_FlxVelocity.computeVelocity(this.velocity.x,this.acceleration.x,this.drag.x,this.maxVelocity.x,e)-this.velocity.x),(i=this.velocity).set_x(i.x+t);var l=this.velocity.x*e;(i=this.velocity).set_x(i.x+t),(i=this).set_x(i.x+l),t=.5*(flixel_math_FlxVelocity.computeVelocity(this.velocity.y,this.acceleration.y,this.drag.y,this.maxVelocity.y,e)-this.velocity.y),(i=this.velocity).set_y(i.y+t),l=this.velocity.y*e,(i=this.velocity).set_y(i.y+t),(i=this).set_y(i.y+l)},draw:function(){},overlaps:function(e,t,i){null==t&&(t=!1);var l=flixel_group_FlxTypedGroup.resolveGroup(e);if(null!=l)return flixel_group_FlxTypedGroup.overlaps($bind(this,this.overlapsCallback),l,0,0,t,i);if(3==e.flixelType)return e.overlaps(this,t,i);var n=e;if(!t)return n.x+n.get_width()>this.x&&n.x<this.x+this.get_width()&&n.y+n.get_height()>this.y&&n.y<this.y+this.get_height();null==i&&(i=flixel_FlxG.camera);var s=n.getScreenPosition(null,i);return this.getScreenPosition(this._point,i),s.x+n.get_width()>this._point.x&&s.x<this._point.x+this.get_width()&&s.y+n.get_height()>this._point.y&&s.y<this._point.y+this.get_height()},overlapsCallback:function(e,t,i,l,n){return this.overlaps(e,l,n)},overlapsAt:function(e,t,i,l,n){null==l&&(l=!1);var s=flixel_group_FlxTypedGroup.resolveGroup(i);if(null!=s)return flixel_group_FlxTypedGroup.overlaps($bind(this,this.overlapsAtCallback),s,e,t,l,n);if(3==i.flixelType){var a=i;return a.overlapsAt(a.x-(e-this.x),a.y-(t-this.y),this,l,n)}var r=i;if(!l)return r.x+r.get_width()>e&&r.x<e+this.get_width()&&r.y+r.get_height()>t&&r.y<t+this.get_height();null==n&&(n=flixel_FlxG.camera);var _=r.getScreenPosition(null,n);return this.getScreenPosition(this._point,n),_.x+r.get_width()>this._point.x&&_.x<this._point.x+this.get_width()&&_.y+r.get_height()>this._point.y&&_.y<this._point.y+this.get_height()},overlapsAtCallback:function(e,t,i,l,n){return this.overlapsAt(t,i,e,l,n)},overlapsPoint:function(e,t,i){if(null==t&&(t=!1),!t)return e.x>=this.x&&e.x<this.x+this.get_width()&&e.y>=this.y&&e.y<this.y+this.get_height();null==i&&(i=flixel_FlxG.camera);var l=e.x-i.scroll.x,n=e.y-i.scroll.y;return this.getScreenPosition(this._point,i),e._weak&&e.put(),l>=this._point.x&&l<this._point.x+this.get_width()&&n>=this._point.y&&n<this._point.y+this.get_height()},inWorldBounds:function(){var e;if(this.x+this.get_width()>flixel_FlxG.worldBounds.x){t=flixel_FlxG.worldBounds;e=this.x<t.x+t.width}else e=!1;if(e&&this.y+this.get_height()>flixel_FlxG.worldBounds.y){var t=flixel_FlxG.worldBounds;return this.y<t.y+t.height}return!1},getScreenPosition:function(e,t){if(null==e){var i=flixel_math_FlxPoint._pool.get().set(0,0);i._inPool=!1,e=i}null==t&&(t=flixel_FlxG.camera),e.set(this.x,this.y),this.pixelPerfectPosition&&(e.set_x(Math.floor(e.x)),e.set_y(Math.floor(e.y)));var l=t.scroll.x*this.scrollFactor.x,n=t.scroll.y*this.scrollFactor.y;null==n&&(n=0),null==l&&(l=0);var s=e;return s.set_x(s.x-l),(s=e).set_y(s.y-n),e},getPosition:function(e){if(null==e){var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,e=t}return e.set(this.x,this.y)},getMidpoint:function(e){if(null==e){var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,e=t}return e.set(this.x+.5*this.get_width(),this.y+.5*this.get_height())},getHitbox:function(e){if(null==e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0;null==(a=0)&&(a=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=a;var s=t;s._inPool=!1,e=s}var i=this.x,l=this.y,n=this.get_width(),a=this.get_height();return null==a&&(a=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),e.x=i,e.y=l,e.width=n,e.height=a,e},reset:function(e,t){this.touching=0,this.wasTouching=0,this.setPosition(e,t),this.last.set(this.x,this.y),this.velocity.set(),this.revive()},isOnScreen:function(e){null==e&&(e=flixel_FlxG.camera),this.getScreenPosition(this._point,e);var t=this._point,i=this.get_width(),l=this.get_height();return null==l&&(l=0),null==i&&(i=0),t.x+i>e.viewOffsetX&&t.x<e.viewOffsetWidth&&t.y+l>e.viewOffsetY&&t.y<e.viewOffsetHeight},isPixelPerfectRender:function(e){return null==e&&(e=flixel_FlxG.camera),null==this.pixelPerfectRender?e.pixelPerfectRender:this.pixelPerfectRender},isTouching:function(e){return(this.touching&e)>0},justTouched:function(e){return(this.touching&e)>0&&(this.wasTouching&e)<=0},hurt:function(e){this.health-=e,this.health<=0&&this.kill()},screenCenter:function(e){return null==e&&(e=flixel_util_FlxAxes.XY),e!=flixel_util_FlxAxes.Y&&this.set_x(flixel_FlxG.width/2-this.get_width()/2),e!=flixel_util_FlxAxes.X&&this.set_y(flixel_FlxG.height/2-this.get_height()/2),this},setPosition:function(e,t){null==t&&(t=0),null==e&&(e=0),this.set_x(e),this.set_y(t)},setSize:function(e,t){this.set_width(e),this.set_height(t)},getBoundingBox:function(e){this.getScreenPosition(this._point,e);var t=this._rect,i=this._point.x,l=this._point.y,n=this.get_width(),s=this.get_height();return null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s,this._rect=e.transformRect(this._rect),this.isPixelPerfectRender(e)&&((t=this._rect).x=Math.floor(t.x),t.y=Math.floor(t.y),t.width=Math.floor(t.width),t.height=Math.floor(t.height)),this._rect},toString:function(){var e=this.x,t=flixel_util_LabelValuePair._pool.get();t.label="x",t.value=e;var e=this.y,i=flixel_util_LabelValuePair._pool.get();i.label="y",i.value=e;var e=this.get_width(),l=flixel_util_LabelValuePair._pool.get();l.label="w",l.value=e;var e=this.get_height(),n=flixel_util_LabelValuePair._pool.get();n.label="h",n.value=e;var e=this.visible,s=flixel_util_LabelValuePair._pool.get();s.label="visible",s.value=e;var e=this.velocity,a=flixel_util_LabelValuePair._pool.get();return a.label="velocity",a.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,n,s,a])},set_x:function(e){return this.x=e},set_y:function(e){return this.y=e},set_width:function(e){return this.width=e},set_height:function(e){return this.height=e},get_width:function(){return this.width},get_height:function(){return this.height},get_solid:function(){return(4369&this.allowCollisions)>0},set_solid:function(e){return this.set_allowCollisions(e?4369:0),e},set_angle:function(e){return this.angle=e},set_moves:function(e){return this.moves=e},set_immovable:function(e){return this.immovable=e},set_pixelPerfectRender:function(e){return this.pixelPerfectRender=e},set_allowCollisions:function(e){return this.allowCollisions=e},set_path:function(e){return this.path==e?e:(null!=this.path&&(this.path.object=null),null!=e&&(e.object=this),this.path=e)},__class__:flixel_FlxObject,__properties__:$extend(flixel_FlxBasic.prototype.__properties__,{set_path:"set_path",set_allowCollisions:"set_allowCollisions",set_solid:"set_solid",get_solid:"get_solid",set_immovable:"set_immovable",set_moves:"set_moves",set_angle:"set_angle",set_pixelPerfectRender:"set_pixelPerfectRender",set_height:"set_height",get_height:"get_height",set_width:"set_width",get_width:"get_width",set_y:"set_y",set_x:"set_x"})});var flixel_FlxSprite=function(e,t,i){null==t&&(t=0),null==e&&(e=0),this._facingFlip=new haxe_ds_IntMap,this._angleChanged=!0,this._cosAngle=1,this._sinAngle=0,this._facingVerticalMult=1,this._facingHorizontalMult=1,this.useColorTransform=!1,this.color=16777215,this.flipY=!1,this.flipX=!1,this.facing=16,this.alpha=1,this.bakedRotationAngle=0,this.numFrames=0,this.frameHeight=0,this.frameWidth=0,this.dirty=!0,this.antialiasing=!1,this.useFramePixels=!0,flixel_FlxObject.call(this,e,t),this.set_useFramePixels(flixel_FlxG.renderBlit),null!=i&&this.loadGraphic(i)};$hxClasses["flixel.FlxSprite"]=flixel_FlxSprite,flixel_FlxSprite.__name__="flixel.FlxSprite",flixel_FlxSprite.__super__=flixel_FlxObject,flixel_FlxSprite.prototype=$extend(flixel_FlxObject.prototype,{animation:null,framePixels:null,useFramePixels:null,antialiasing:null,dirty:null,frame:null,frameWidth:null,frameHeight:null,numFrames:null,frames:null,graphic:null,bakedRotationAngle:null,alpha:null,facing:null,flipX:null,flipY:null,origin:null,offset:null,scale:null,blend:null,color:null,colorTransform:null,useColorTransform:null,clipRect:null,shader:null,_frame:null,_frameGraphic:null,_facingHorizontalMult:null,_facingVerticalMult:null,_flashPoint:null,_flashRect:null,_flashRect2:null,_flashPointZero:null,_matrix:null,_halfSize:null,_sinAngle:null,_cosAngle:null,_angleChanged:null,_facingFlip:null,initVars:function(){flixel_FlxObject.prototype.initVars.call(this),this.animation=new flixel_animation_FlxAnimationController(this),this._flashPoint=new openfl_geom_Point,this._flashRect=new openfl_geom_Rectangle,this._flashRect2=new openfl_geom_Rectangle,this._flashPointZero=new openfl_geom_Point;var e=flixel_math_FlxPoint._pool.get().set(0,0);e._inPool=!1,this.offset=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.origin=e;var t=1,i=1;null==i&&(i=0),null==t&&(t=0),(e=flixel_math_FlxPoint._pool.get().set(t,i))._inPool=!1,this.scale=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this._halfSize=e,this._matrix=new flixel_math_FlxMatrix,this.colorTransform=new openfl_geom_ColorTransform},destroy:function(){flixel_FlxObject.prototype.destroy.call(this),this.animation=flixel_util_FlxDestroyUtil.destroy(this.animation),this.offset=flixel_util_FlxDestroyUtil.put(this.offset),this.origin=flixel_util_FlxDestroyUtil.put(this.origin),this.scale=flixel_util_FlxDestroyUtil.put(this.scale),this._halfSize=flixel_util_FlxDestroyUtil.put(this._halfSize),this.framePixels=flixel_util_FlxDestroyUtil.dispose(this.framePixels),this._flashPoint=null,this._flashRect=null,this._flashRect2=null,this._flashPointZero=null,this._matrix=null,this.colorTransform=null,this.set_blend(null),this.set_frames(null),this.set_graphic(null),this._frame=flixel_util_FlxDestroyUtil.destroy(this._frame),this._frameGraphic=flixel_util_FlxDestroyUtil.destroy(this._frameGraphic),this.shader=null},clone:function(){return(new flixel_FlxSprite).loadGraphicFromSprite(this)},loadGraphicFromSprite:function(e){return this.set_frames(e.frames),this.bakedRotationAngle=e.bakedRotationAngle,this.bakedRotationAngle>0&&(this.set_width(e.get_width()),this.set_height(e.get_height()),this.centerOffsets()),this.set_antialiasing(e.antialiasing),this.animation.copyFrom(e.animation),this.graphicLoaded(),this.set_clipRect(e.clipRect),this},loadGraphic:function(e,t,i,l,n,s){null==n&&(n=!1),null==l&&(l=0),null==i&&(i=0),null==t&&(t=!1);var a=flixel_FlxG.bitmap.add(e,n,s);if(null==a)return this;if(0==i&&(i=t?a.height:a.width)>a.width&&(i=a.width),0==l&&(l=t?i:a.height)>a.height&&(l=a.height),t){var r=i,_=l;null==_&&(_=0),null==r&&(r=0);var o=flixel_math_FlxPoint._pool.get().set(r,_);o._inPool=!1,this.set_frames(flixel_graphics_frames_FlxTileFrames.fromGraphic(a,o))}else this.set_frames(a.get_imageFrame());return this},loadRotatedGraphic:function(e,t,i,l,n,s){null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=-1),null==t&&(t=16);var a=flixel_FlxG.bitmap.add(e,!1,s);if(null==a)return this;var r=a.bitmap,_=a.key;if(i>=0){var o=r.height,h=r.width/o|0;h<=i&&(i%=h),_+=":"+i;var u=r;r=new openfl_display_BitmapData(o,o,!0,0),this._flashRect.setTo(i*o,0,o,o),r.copyPixels(u,this._flashRect,this._flashPointZero)}_+=":"+t+":"+(null==n?"null":""+n);var d=flixel_FlxG.bitmap._cache.h[_];if(null==d){var c=flixel_util_FlxBitmapDataUtil.generateRotations(r,t,l,n);d=flixel_graphics_FlxGraphic.fromBitmapData(c,!1,_)}var p=r.height>r.width?r.height:r.width;n&&(p=1.5*p|0);var f=p,m=p;null==m&&(m=0),null==f&&(f=0);var x=flixel_math_FlxPoint._pool.get().set(f,m);return x._inPool=!1,this.set_frames(flixel_graphics_frames_FlxTileFrames.fromGraphic(d,x)),n&&(this.set_width(r.width),this.set_height(r.height),this.centerOffsets()),this.bakedRotationAngle=360/t,this.animation.createPrerotated(),this},loadRotatedFrame:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=16);var n=e.parent.key;if(null!=e.name)n+=":"+e.name;else{var s=e.frame,a=s.x,r=flixel_util_LabelValuePair._pool.get();r.label="x",r.value=a;var a=s.y,_=flixel_util_LabelValuePair._pool.get();_.label="y",_.value=a;var a=s.width,o=flixel_util_LabelValuePair._pool.get();o.label="w",o.value=a;a=s.height;(s=flixel_util_LabelValuePair._pool.get()).label="h",s.value=a,n+=":"+flixel_util_FlxStringUtil.getDebugString([r,_,o,s])}var h=flixel_FlxG.bitmap._cache.h[n];return null==h&&(h=flixel_graphics_FlxGraphic.fromBitmapData(e.paint(),!1,n)),this.loadRotatedGraphic(h,t,-1,i,l)},makeGraphic:function(e,t,i,l,n){null==l&&(l=!1),null==i&&(i=-1);var s=flixel_FlxG.bitmap.create(e,t,i,l,n);return this.set_frames(s.get_imageFrame()),this},graphicLoaded:function(){},resetSize:function(){this._flashRect.x=0,this._flashRect.y=0,this._flashRect.width=this.frameWidth,this._flashRect.height=this.frameHeight},resetFrameSize:function(){null!=this.frame&&(this.frameWidth=0|this.frame.sourceSize.x,this.frameHeight=0|this.frame.sourceSize.y),this._halfSize.set(.5*this.frameWidth,.5*this.frameHeight),this._flashRect.x=0,this._flashRect.y=0,this._flashRect.width=this.frameWidth,this._flashRect.height=this.frameHeight},resetSizeFromFrame:function(){this.set_width(this.frameWidth),this.set_height(this.frameHeight)},resetFrame:function(){this.set_frame(this.frame)},setGraphicSize:function(e,t){if(null==t&&(t=0),null==e&&(e=0),!(e<=0&&t<=0)){var i=e/this.frameWidth,l=t/this.frameHeight;this.scale.set(i,l),e<=0?this.scale.set_x(l):t<=0&&this.scale.set_y(i)}},updateHitbox:function(){this.set_width(Math.abs(this.scale.x)*this.frameWidth),this.set_height(Math.abs(this.scale.y)*this.frameHeight),this.offset.set(-.5*(this.get_width()-this.frameWidth),-.5*(this.get_height()-this.frameHeight)),this.origin.set(.5*this.frameWidth,.5*this.frameHeight)},resetHelpers:function(){null!=this.frame&&(this.frameWidth=0|this.frame.sourceSize.x,this.frameHeight=0|this.frame.sourceSize.y),this._halfSize.set(.5*this.frameWidth,.5*this.frameHeight),this._flashRect.x=0,this._flashRect.y=0,this._flashRect.width=this.frameWidth,this._flashRect.height=this.frameHeight,this.set_width(this.frameWidth),this.set_height(this.frameHeight),this._flashRect2.x=0,this._flashRect2.y=0,null!=this.graphic&&(this._flashRect2.width=this.graphic.width,this._flashRect2.height=this.graphic.height),this.origin.set(.5*this.frameWidth,.5*this.frameHeight),flixel_FlxG.renderBlit&&(this.dirty=!0,this.updateFramePixels())},update:function(e){flixel_FlxObject.prototype.update.call(this,e),this.updateAnimation(e)},updateAnimation:function(e){this.animation.update(e)},checkEmptyFrame:function(){null==this._frame&&this.loadGraphic("flixel/images/logo/default.png")},draw:function(){if(this.checkEmptyFrame(),0!=this.alpha&&2!=this._frame.type){this.dirty&&this.calcFrame(this.useFramePixels);for(var e=0,t=this.get_cameras();e<t.length;){var i=t[e];++e,i.visible&&i.exists&&this.isOnScreen(i)&&(this.getScreenPosition(this._point,i).subtractPoint(this.offset),this.isSimpleRender(i)?this.drawSimple(i):this.drawComplex(i))}}},drawSimple:function(e){this.isPixelPerfectRender(e)&&((t=this._point).set_x(Math.floor(t.x)),t.set_y(Math.floor(t.y)));var t=this._point,i=this._flashPoint;null==i&&(i=new openfl_geom_Point),i.x=t.x,i.y=t.y,e.copyPixels(this._frame,this.framePixels,this._flashRect,this._flashPoint,this.colorTransform,this.blend,this.antialiasing)},drawComplex:function(e){var t=this.flipX!=this._frame.flipX,i=this.flipY!=this._frame.flipY;if(this._frame.prepareMatrix(this._matrix,0,null!=this.animation._curAnim?t!=this.animation._curAnim.flipX:t,null!=this.animation._curAnim?i!=this.animation._curAnim.flipY:i),this._matrix.translate(-this.origin.x,-this.origin.y),this._matrix.scale(this.scale.x,this.scale.y),this.bakedRotationAngle<=0){if(this._angleChanged){var l=this.angle*(Math.PI/180);this._sinAngle=Math.sin(l),this._cosAngle=Math.cos(l),this._angleChanged=!1}if(0!=this.angle){var n=this._matrix,s=this._cosAngle,a=this._sinAngle,r=n.a*s-n.b*a;n.b=n.a*a+n.b*s,n.a=r;var _=n.c*s-n.d*a;n.d=n.c*a+n.d*s,n.c=_;var o=n.tx*s-n.ty*a;n.ty=n.tx*a+n.ty*s,n.tx=o}}var n=this._point,h=this.origin.x,u=this.origin.y;null==u&&(u=0),null==h&&(h=0);var d=n;d.set_x(d.x+h),(d=n).set_y(d.y+u),this._matrix.translate(this._point.x,this._point.y),this.isPixelPerfectRender(e)&&(this._matrix.tx=Math.floor(this._matrix.tx),this._matrix.ty=Math.floor(this._matrix.ty)),e.drawPixels(this._frame,this.framePixels,this._matrix,this.colorTransform,this.blend,this.antialiasing,this.shader)},stamp:function(e,t,i){if(null==i&&(i=0),null==t&&(t=0),e.drawFrame(),null==this.graphic||null==e.graphic)throw haxe_Exception.thrown("Cannot stamp to or from a FlxSprite with no graphics.");var l=e.framePixels;if(this.isSimpleRenderBlit())this._flashPoint.x=t+this.frame.frame.x,this._flashPoint.y=i+this.frame.frame.y,this._flashRect2.width=l.width,this._flashRect2.height=l.height,this.graphic.bitmap.copyPixels(l,this._flashRect2,this._flashPoint,null,null,!0),this._flashRect2.width=this.graphic.bitmap.width,this._flashRect2.height=this.graphic.bitmap.height;else{this._matrix.identity(),this._matrix.translate(-e.origin.x,-e.origin.y),this._matrix.scale(e.scale.x,e.scale.y),0!=e.angle&&this._matrix.rotate(e.angle*(Math.PI/180)),this._matrix.translate(t+this.frame.frame.x+e.origin.x,i+this.frame.frame.y+e.origin.y);var n=e.blend;this.graphic.bitmap.draw(l,this._matrix,null,n,null,e.antialiasing)}flixel_FlxG.renderBlit&&(this.dirty=!0,this.calcFrame())},drawFrame:function(e){null==e&&(e=!1),flixel_FlxG.renderBlit?(e||this.dirty)&&(this.dirty=!0,this.calcFrame()):(this.dirty=!0,this.calcFrame(!0))},centerOffsets:function(e){if(null==e&&(e=!1),this.offset.set_x(.5*(this.frameWidth-this.get_width())),this.offset.set_y(.5*(this.frameHeight-this.get_height())),e){var t=this;t.set_x(t.x+this.offset.x),(t=this).set_y(t.y+this.offset.y)}},centerOrigin:function(){this.origin.set(.5*this.frameWidth,.5*this.frameHeight)},replaceColor:function(e,t,i){null==i&&(i=!1);var l=flixel_util_FlxBitmapDataUtil.replaceColor(this.graphic.bitmap,e,t,i);return null!=l&&(this.dirty=!0),l},setColorTransform:function(e,t,i,l,n,s,a,r){null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=1),null==i&&(i=1),null==t&&(t=1),null==e&&(e=1);var _=flixel_util_FlxColor._new(),o=1;null==o&&(o=1);var h=Math.round(255*e);_&=-16711681,_|=(h>255?255:h<0?0:h)<<16,_&=-65281,_|=((h=Math.round(255*t))>255?255:h<0?0:h)<<8,_&=-256,_|=(h=Math.round(255*i))>255?255:h<0?0:h,_&=16777215,_|=((h=Math.round(255*o))>255?255:h<0?0:h)<<24,this.set_color(16777215&_),this.set_alpha(l),flixel_util_FlxColorTransformUtil.setMultipliers(this.colorTransform,e,t,i,l),flixel_util_FlxColorTransformUtil.setOffsets(this.colorTransform,n,s,a,r),this.useColorTransform=1!=this.alpha||16777215!=this.color||flixel_util_FlxColorTransformUtil.hasRGBOffsets(this.colorTransform),this.dirty=!0},updateColorTransform:function(){null==this.colorTransform&&(this.colorTransform=new openfl_geom_ColorTransform),this.useColorTransform=1!=this.alpha||16777215!=this.color,this.useColorTransform?flixel_util_FlxColorTransformUtil.setMultipliers(this.colorTransform,(this.color>>16&255)/255,(this.color>>8&255)/255,(255&this.color)/255,this.alpha):flixel_util_FlxColorTransformUtil.setMultipliers(this.colorTransform,1,1,1,1),this.dirty=!0},pixelsOverlapPoint:function(e,t,i){return null==t&&(t=255),null==i&&(i=flixel_FlxG.camera),this.getScreenPosition(this._point,i),this._point.subtractPoint(this.offset),this._flashPoint.x=e.x-i.scroll.x-this._point.x,this._flashPoint.y=e.y-i.scroll.y-this._point.y,e._weak&&e.put(),!(this._flashPoint.x<0||this._flashPoint.x>this.frameWidth||this._flashPoint.y<0||this._flashPoint.y>this.frameHeight)&&(this.updateFramePixels().getPixel32(0|this._flashPoint.x,0|this._flashPoint.y)>>24&255)*this.alpha>=t},calcFrame:function(e){null==e&&(e=!1),this.checkEmptyFrame(),flixel_FlxG.renderTile&&!e||this.updateFramePixels()},updateFramePixels:function(){if(null==this._frame||!this.dirty)return this.framePixels;if(flixel_FlxG.renderTile&&null!=this._frameGraphic)return this.dirty=!1,this.framePixels;var e=this.flipX!=this._frame.flipX,t=null!=this.animation._curAnim?e!=this.animation._curAnim.flipX:e,i=this.flipY!=this._frame.flipY,l=null!=this.animation._curAnim?i!=this.animation._curAnim.flipY:i;return t||l||0!=this._frame.type?this.framePixels=this._frame.paintRotatedAndFlipped(this.framePixels,this._flashPointZero,0,t,l,!1,!0):this.framePixels=this._frame.paint(this.framePixels,this._flashPointZero,!1,!0),this.useColorTransform&&this.framePixels.colorTransform(this._flashRect,this.colorTransform),flixel_FlxG.renderTile&&this.useFramePixels&&(this._frameGraphic=flixel_util_FlxDestroyUtil.destroy(this._frameGraphic),this._frameGraphic=flixel_graphics_FlxGraphic.fromBitmapData(this.framePixels,!1,null,!1),this._frame=this._frameGraphic.get_imageFrame().get_frame().copyTo(this._frame)),this.dirty=!1,this.framePixels},getGraphicMidpoint:function(e){if(null==e){var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,e=t}return e.set(this.x+.5*this.frameWidth,this.y+.5*this.frameHeight)},isOnScreen:function(e){null==e&&(e=flixel_FlxG.camera);var t=this.x-this.offset.x-e.scroll.x*this.scrollFactor.x,i=this.y-this.offset.y-e.scroll.y*this.scrollFactor.y;if((0==this.angle||this.bakedRotationAngle>0)&&1==this.scale.x&&1==this.scale.y){this._point.set(t,i);var l=this._point,n=this.frameWidth;return null==(f=this.frameHeight)&&(f=0),null==n&&(n=0),l.x+n>e.viewOffsetX&&l.x<e.viewOffsetWidth&&l.y+f>e.viewOffsetY&&l.y<e.viewOffsetHeight}var s=this._halfSize.x,a=this._halfSize.y,r=this.origin.x;if(r!=s){var _=Math.abs(r),o=Math.abs(this.frameWidth-r);s=Math.max(o,_)}var h=this.origin.y;if(h!=a){var u=Math.abs(h),d=Math.abs(this.frameHeight-h);a=Math.max(d,u)}s*=Math.abs(this.scale.x),a*=Math.abs(this.scale.y);var c=Math.max(s,a);t+=r-(c*=1.41421356237),i+=h-c;var p=2*c;this._point.set(t,i);var l=this._point,n=p,f=p;return null==f&&(f=0),null==n&&(n=0),l.x+n>e.viewOffsetX&&l.x<e.viewOffsetWidth&&l.y+f>e.viewOffsetY&&l.y<e.viewOffsetHeight},isSimpleRender:function(e){return!flixel_FlxG.renderTile&&this.isSimpleRenderBlit(e)},isSimpleRenderBlit:function(e){var t=(0==this.angle||this.bakedRotationAngle>0)&&1==this.scale.x&&1==this.scale.y&&null==this.blend;return t=t&&(null!=e?this.isPixelPerfectRender(e):this.pixelPerfectRender)},setFacingFlip:function(e,t,i){this._facingFlip.h[e]={x:t,y:i}},setFrames:function(e,t){if(null==t&&(t=!0),t){var i=this.animation._animations,l=!1,n=0,s=this.animation.frameIndex,a=null;null!=this.animation._curAnim&&(l=this.animation._curAnim.reversed,n=this.animation._curAnim.curFrame,a=this.animation._curAnim.name),this.animation._animations=null,this.set_frames(e),this.set_frame(this.frames.frames[s]),this.animation._animations=i,null!=a&&this.animation.play(a,!1,l,n)}else this.set_frames(e);return this},get_pixels:function(){return null==this.graphic?null:this.graphic.bitmap},set_pixels:function(e){var t=flixel_FlxG.bitmap.findKeyForBitmap(e);return null==t?(t=flixel_FlxG.bitmap.getUniqueKey(),this.set_graphic(flixel_FlxG.bitmap.add(e,!1,t))):this.set_graphic(flixel_FlxG.bitmap._cache.h[t]),this.set_frames(this.graphic.get_imageFrame()),e},set_frame:function(e){if(this.frame=e,null!=this.frame)null!=this.frame&&(this.frameWidth=0|this.frame.sourceSize.x,this.frameHeight=0|this.frame.sourceSize.y),this._halfSize.set(.5*this.frameWidth,.5*this.frameHeight),this._flashRect.x=0,this._flashRect.y=0,this._flashRect.width=this.frameWidth,this._flashRect.height=this.frameHeight,this.dirty=!0;else{if(!(null!=this.frames&&null!=this.frames.frames&&this.numFrames>0))return null;this.frame=this.frames.frames[0],this.dirty=!0}return flixel_FlxG.renderTile&&(this._frameGraphic=flixel_util_FlxDestroyUtil.destroy(this._frameGraphic)),null!=this.clipRect?this._frame=this.frame.clipTo(this.clipRect,this._frame):this._frame=this.frame.copyTo(this._frame),this.frame},set_facing:function(e){var t=this._facingFlip.h[e];return null!=t&&(this.set_flipX(t.x),this.set_flipY(t.y)),this.facing=e},set_alpha:function(e){if(this.alpha==e)return e;var t=e<0?0:e;return this.alpha=t>1?1:t,this.updateColorTransform(),this.alpha},set_color:function(e){return this.color==e?e:(this.color=e,this.updateColorTransform(),this.color)},set_angle:function(e){var t=this.angle!=e,i=flixel_FlxObject.prototype.set_angle.call(this,e);return t&&(this._angleChanged=!0,this.animation.update(0)),i},updateTrig:function(){if(this._angleChanged){var e=this.angle*(Math.PI/180);this._sinAngle=Math.sin(e),this._cosAngle=Math.cos(e),this._angleChanged=!1}},set_blend:function(e){return this.blend=e},set_graphic:function(e){var t=this.graphic;if(this.graphic!=e&&null!=e&&(i=e).set_useCount(i.get_useCount()+1),null!=t&&t!=e){var i=t;i.set_useCount(i.get_useCount()-1)}return this.graphic=e},set_clipRect:function(e){return null!=e?(e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=Math.round(e.width),e.height=Math.round(e.height),this.clipRect=e):this.clipRect=null,null!=this.frames&&this.set_frame(this.frames.frames[this.animation.frameIndex]),e},set_frames:function(e){return null!=this.animation&&this.animation.destroyAnimations(),null!=e?(this.set_graphic(e.parent),this.frames=e,this.set_frame(this.frames.frames[0]),this.numFrames=this.frames.frames.length,this.resetHelpers(),this.bakedRotationAngle=0,this.animation.set_frameIndex(0),this.graphicLoaded()):(this.frames=null,this.set_frame(null),this.set_graphic(null)),e},set_flipX:function(e){return flixel_FlxG.renderTile&&(this._facingHorizontalMult=e?-1:1),this.dirty=this.flipX!=e||this.dirty,this.flipX=e},set_flipY:function(e){return flixel_FlxG.renderTile&&(this._facingVerticalMult=e?-1:1),this.dirty=this.flipY!=e||this.dirty,this.flipY=e},set_antialiasing:function(e){return this.antialiasing=e},set_useFramePixels:function(e){return flixel_FlxG.renderTile?(e!=this.useFramePixels&&(this.useFramePixels=e,this.set_frame(this.frame),e&&this.updateFramePixels()),e):(this.useFramePixels=!0,!0)},checkFlipX:function(){var e=this.flipX!=this._frame.flipX;return null!=this.animation._curAnim?e!=this.animation._curAnim.flipX:e},checkFlipY:function(){var e=this.flipY!=this._frame.flipY;return null!=this.animation._curAnim?e!=this.animation._curAnim.flipY:e},__class__:flixel_FlxSprite,__properties__:$extend(flixel_FlxObject.prototype.__properties__,{set_clipRect:"set_clipRect",set_color:"set_color",set_blend:"set_blend",set_flipY:"set_flipY",set_flipX:"set_flipX",set_facing:"set_facing",set_alpha:"set_alpha",set_graphic:"set_graphic",set_frames:"set_frames",set_frame:"set_frame",set_pixels:"set_pixels",get_pixels:"get_pixels",set_antialiasing:"set_antialiasing",set_useFramePixels:"set_useFramePixels"})});var flixel_group_FlxTypedSpriteGroup=function(e,t,i){null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this._skipTransformChildren=!1,this.directAlpha=!1,flixel_FlxSprite.call(this,e,t),this.group=new flixel_group_FlxTypedGroup(i),this._sprites=this.group.members};$hxClasses["flixel.group.FlxTypedSpriteGroup"]=flixel_group_FlxTypedSpriteGroup,flixel_group_FlxTypedSpriteGroup.__name__="flixel.group.FlxTypedSpriteGroup",flixel_group_FlxTypedSpriteGroup.__super__=flixel_FlxSprite,flixel_group_FlxTypedSpriteGroup.prototype=$extend(flixel_FlxSprite.prototype,{transformChildren_flixel_math_FlxRect:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},transformChildren_flash_display_BlendMode:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},transformChildren_flixel_FlxCamera:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},multiTransformChildren_Float:function(e,t){if(null!=this.group){var i=e.length;if(!(i>t.length))for(var l=0,n=this._sprites;l<n.length;){var s=n[l];if(++l,null!=s&&s.exists)for(var a=0,r=i;a<r;){var _=a++;(0,e[_])(s,t[_])}}}},transformChildren_flixel_math_FlxPoint:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},transformChildren_Int:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},transformChildren_Float:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},transformChildren_Array_flixel_FlxCamera:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},transformChildren_Bool:function(e,t){if(null!=this.group)for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&e(n,t)}},group:null,directAlpha:null,_skipTransformChildren:null,_sprites:null,initVars:function(){this.flixelType=4,this.offset=new flixel_math_FlxCallbackPoint($bind(this,this.offsetCallback)),this.origin=new flixel_math_FlxCallbackPoint($bind(this,this.originCallback)),this.scale=new flixel_math_FlxCallbackPoint($bind(this,this.scaleCallback)),this.scrollFactor=new flixel_math_FlxCallbackPoint($bind(this,this.scrollFactorCallback)),this.scale.set(1,1),this.scrollFactor.set(1,1);var e=flixel_math_FlxPoint._pool.get().set(0,0);e._inPool=!1,this.velocity=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.acceleration=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.drag=e;var t=1e4,i=1e4;null==i&&(i=0),null==t&&(t=0),(e=flixel_math_FlxPoint._pool.get().set(t,i))._inPool=!1,this.maxVelocity=e},destroy:function(){this.offset=flixel_util_FlxDestroyUtil.destroy(this.offset),this.origin=flixel_util_FlxDestroyUtil.destroy(this.origin),this.scale=flixel_util_FlxDestroyUtil.destroy(this.scale),this.scrollFactor=flixel_util_FlxDestroyUtil.destroy(this.scrollFactor),this.group=flixel_util_FlxDestroyUtil.destroy(this.group),this._sprites=null,flixel_FlxSprite.prototype.destroy.call(this)},clone:function(){for(var e=new flixel_group_FlxTypedSpriteGroup(this.x,this.y,this.group.maxSize),t=0,i=this.group.members;t<i.length;){var l=i[t];++t,null!=l&&e.add(l.clone())}return e},isOnScreen:function(e){for(var t=0,i=this._sprites;t<i.length;){var l=i[t];if(++t,null!=l&&l.exists&&l.visible&&l.isOnScreen(e))return!0}return!1},overlapsPoint:function(e,t,i){null==t&&(t=!1);for(var l=!1,n=0,s=this._sprites;n<s.length;){var a=s[n];++n,null!=a&&a.exists&&a.visible&&(l=l||a.overlapsPoint(e,t,i))}return l},pixelsOverlapPoint:function(e,t,i){null==t&&(t=255);for(var l=!1,n=0,s=this._sprites;n<s.length;){var a=s[n];++n,null!=a&&a.exists&&a.visible&&(l=l||a.pixelsOverlapPoint(e,t,i))}return l},update:function(e){this.group.update(e),this.moves&&this.updateMotion(e)},draw:function(){this.group.draw()},replaceColor:function(e,t,i){null==i&&(i=!1);var l=null;i&&(l=[]);for(var n,s=0,a=this._sprites;s<a.length;){var r=a[s];++s,null!=r&&(n=r.replaceColor(e,t,i),i&&(l=l.concat(n)))}return l},add:function(e){return this.preAdd(e),this.group.add(e)},insert:function(e,t){return this.preAdd(t),this.group.insert(e,t)},preAdd:function(e){var t=e,i=t;i.set_x(i.x+this.x),(i=t).set_y(i.y+this.y),(i=t).set_alpha(i.alpha*this.alpha);var l=t.scrollFactor,n=this.scrollFactor;if(l.set_x(n.x),l.set_y(n.y),n._weak&&n.put(),t.set_cameras(this._cameras),null!=this.clipRect){var s=this.clipRect;if(null==s)t.set_clipRect(null);else{var a=s.x-t.x+this.x,r=s.y-t.y+this.y,_=s.width,o=s.height;null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var l=flixel_math_FlxRect._pool.get(),h=a,u=r,d=_,c=o;null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),l.x=h,l.y=u,l.width=d,l.height=c;var p=l;p._inPool=!1,t.set_clipRect(p)}}},recycle:function(e,t,i){return null==i&&(i=!1),this.group.recycle(e,t,i)},remove:function(e,t){null==t&&(t=!1);var i=e,l=i;return l.set_x(l.x-this.x),(l=i).set_y(l.y-this.y),i.set_cameras(null),this.group.remove(e,t)},replace:function(e,t){return this.group.replace(e,t)},sort:function(e,t){null==t&&(t=-1);var i=t;null==i&&(i=-1);var l=e,n=i,s=function(e,t){return l(n,e,t)};this.group.members.sort(s)},getFirstAvailable:function(e,t){return null==t&&(t=!1),this.group.getFirstAvailable(e,t)},getFirstNull:function(){return this.group.getFirstNull()},getFirstExisting:function(){return this.group.getFirstExisting()},getFirstAlive:function(){return this.group.getFirstAlive()},getFirstDead:function(){return this.group.getFirstDead()},countLiving:function(){return this.group.countLiving()},countDead:function(){return this.group.countDead()},getRandom:function(e,t){return null==t&&(t=0),null==e&&(e=0),this.group.getRandom(e,t)},iterator:function(e){return new flixel_group_FlxTypedGroupIterator(this.group.members,e)},forEach:function(e,t){null==t&&(t=!1),this.group.forEach(e,t)},forEachAlive:function(e,t){null==t&&(t=!1),this.group.forEachAlive(e,t)},forEachDead:function(e,t){null==t&&(t=!1),this.group.forEachDead(e,t)},forEachExists:function(e,t){null==t&&(t=!1),this.group.forEachExists(e,t)},forEachOfType:function(e,t,i){null==i&&(i=!1),this.group.forEachOfType(e,t,i)},clear:function(){this.group.clear()},kill:function(){flixel_FlxSprite.prototype.kill.call(this),this.group.kill()},revive:function(){flixel_FlxSprite.prototype.revive.call(this),this.group.revive()},reset:function(e,t){this.revive(),this.setPosition(e,t);for(var i=0,l=this._sprites;i<l.length;){var n=l[i];++i,null!=n&&n.reset(e,t)}},setPosition:function(e,t){null==t&&(t=0),null==e&&(e=0);var i=e-this.x,l=t-this.y;this.multiTransformChildren_Float([$bind(this,this.xTransform),$bind(this,this.yTransform)],[i,l]),this._skipTransformChildren=!0,this.set_x(e),this.set_y(t),this._skipTransformChildren=!1},set_camera:function(e){return this.get_camera()!=e&&this.transformChildren_flixel_FlxCamera($bind(this,this.cameraTransform),e),flixel_FlxSprite.prototype.set_camera.call(this,e)},set_cameras:function(e){return this.get_cameras()!=e&&this.transformChildren_Array_flixel_FlxCamera($bind(this,this.camerasTransform),e),flixel_FlxSprite.prototype.set_cameras.call(this,e)},set_exists:function(e){return this.exists!=e&&this.transformChildren_Bool($bind(this,this.existsTransform),e),flixel_FlxSprite.prototype.set_exists.call(this,e)},set_visible:function(e){return this.exists&&this.visible!=e&&this.transformChildren_Bool($bind(this,this.visibleTransform),e),flixel_FlxSprite.prototype.set_visible.call(this,e)},set_active:function(e){return this.exists&&this.active!=e&&this.transformChildren_Bool($bind(this,this.activeTransform),e),flixel_FlxSprite.prototype.set_active.call(this,e)},set_alive:function(e){return this.alive!=e&&this.transformChildren_Bool($bind(this,this.aliveTransform),e),flixel_FlxSprite.prototype.set_alive.call(this,e)},set_x:function(e){if(!this._skipTransformChildren&&this.exists&&this.x!=e){var t=e-this.x;this.transformChildren_Float($bind(this,this.xTransform),t)}return this.x=e},set_y:function(e){if(!this._skipTransformChildren&&this.exists&&this.y!=e){var t=e-this.y;this.transformChildren_Float($bind(this,this.yTransform),t)}return this.y=e},set_angle:function(e){if(this.exists&&this.angle!=e){var t=e-this.angle;this.transformChildren_Float($bind(this,this.angleTransform),t)}return this.angle=e},set_alpha:function(e){var t=e<0?0:e;if(e=t>1?1:t,this.exists&&this.alpha!=e){var i=this.alpha>0?e/this.alpha:0;this.directAlpha||0==this.alpha?this.transformChildren_Float($bind(this,this.directAlphaTransform),e):this.transformChildren_Float($bind(this,this.alphaTransform),i)}return this.alpha=e},set_facing:function(e){return this.exists&&this.facing!=e&&this.transformChildren_Int($bind(this,this.facingTransform),e),this.facing=e},set_flipX:function(e){return this.exists&&this.flipX!=e&&this.transformChildren_Bool($bind(this,this.flipXTransform),e),this.flipX=e},set_flipY:function(e){return this.exists&&this.flipY!=e&&this.transformChildren_Bool($bind(this,this.flipYTransform),e),this.flipY=e},set_moves:function(e){return this.exists&&this.moves!=e&&this.transformChildren_Bool($bind(this,this.movesTransform),e),this.moves=e},set_immovable:function(e){return this.exists&&this.immovable!=e&&this.transformChildren_Bool($bind(this,this.immovableTransform),e),this.immovable=e},set_solid:function(e){return this.exists&&(4369&this.allowCollisions)>0!=e&&this.transformChildren_Bool($bind(this,this.solidTransform),e),flixel_FlxSprite.prototype.set_solid.call(this,e)},set_color:function(e){return this.exists&&this.color!=e&&this.transformChildren_Int($bind(this,this.gColorTransform),e),this.color=e},set_blend:function(e){return this.exists&&this.blend!=e&&this.transformChildren_flash_display_BlendMode($bind(this,this.blendTransform),e),this.blend=e},set_clipRect:function(e){return this.exists&&this.transformChildren_flixel_math_FlxRect($bind(this,this.clipRectTransform),e),flixel_FlxSprite.prototype.set_clipRect.call(this,e)},set_pixelPerfectRender:function(e){return this.exists&&this.pixelPerfectRender!=e&&this.transformChildren_Bool($bind(this,this.pixelPerfectTransform),e),flixel_FlxSprite.prototype.set_pixelPerfectRender.call(this,e)},set_width:function(e){return e},get_width:function(){if(0==this.group.length)return 0;for(var e=1/0,t=-1/0,i=0,l=this._sprites;i<l.length;){var n=l[i];if(++i,null!=n){var s=n.x,a=s+n.get_width();a>t&&(t=a),s<e&&(e=s)}}return t-e},set_height:function(e){return e},get_height:function(){if(0==this.group.length)return 0;for(var e=1/0,t=-1/0,i=0,l=this._sprites;i<l.length;){var n=l[i];if(++i,null!=n){var s=n.y,a=s+n.get_height();a>t&&(t=a),s<e&&(e=s)}}return t-e},get_length:function(){return this.group.length},get_maxSize:function(){return this.group.maxSize},set_maxSize:function(e){return this.group.set_maxSize(e)},get_members:function(){return this.group.members},xTransform:function(e,t){var i=e;i.set_x(i.x+t)},yTransform:function(e,t){var i=e;i.set_y(i.y+t)},angleTransform:function(e,t){var i=e;i.set_angle(i.angle+t)},alphaTransform:function(e,t){if(0!=e.alpha||0==t){var i=e;i.set_alpha(i.alpha*t)}else e.set_alpha(1/t)},directAlphaTransform:function(e,t){e.set_alpha(t)},facingTransform:function(e,t){e.set_facing(t)},flipXTransform:function(e,t){e.set_flipX(t)},flipYTransform:function(e,t){e.set_flipY(t)},movesTransform:function(e,t){e.set_moves(t)},pixelPerfectTransform:function(e,t){e.set_pixelPerfectRender(t)},gColorTransform:function(e,t){e.set_color(t)},blendTransform:function(e,t){e.set_blend(t)},immovableTransform:function(e,t){e.set_immovable(t)},visibleTransform:function(e,t){e.set_visible(t)},activeTransform:function(e,t){e.set_active(t)},solidTransform:function(e,t){e.set_solid(t)},aliveTransform:function(e,t){e.set_alive(t)},existsTransform:function(e,t){e.set_exists(t)},cameraTransform:function(e,t){e.set_camera(t)},camerasTransform:function(e,t){e.set_cameras(t)},offsetTransform:function(e,t){var i=e.offset;i.set_x(t.x),i.set_y(t.y),t._weak&&t.put()},originTransform:function(e,t){var i=e.origin;i.set_x(t.x),i.set_y(t.y),t._weak&&t.put()},scaleTransform:function(e,t){var i=e.scale;i.set_x(t.x),i.set_y(t.y),t._weak&&t.put()},scrollFactorTransform:function(e,t){var i=e.scrollFactor;i.set_x(t.x),i.set_y(t.y),t._weak&&t.put()},clipRectTransform:function(e,t){if(null==t)e.set_clipRect(null);else{var i=t.x-e.x+this.x,l=t.y-e.y+this.y,n=t.width,s=t.height;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0);var a=flixel_math_FlxRect._pool.get(),r=i,_=l,o=n,h=s;null==h&&(h=0),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),a.x=r,a.y=_,a.width=o,a.height=h;var u=a;u._inPool=!1,e.set_clipRect(u)}},offsetCallback:function(e){this.transformChildren_flixel_math_FlxPoint($bind(this,this.offsetTransform),e)},originCallback:function(e){this.transformChildren_flixel_math_FlxPoint($bind(this,this.originTransform),e)},scaleCallback:function(e){this.transformChildren_flixel_math_FlxPoint($bind(this,this.scaleTransform),e)},scrollFactorCallback:function(e){this.transformChildren_flixel_math_FlxPoint($bind(this,this.scrollFactorTransform),e)},loadGraphicFromSprite:function(e){return this},loadGraphic:function(e,t,i,l,n,s){return null==n&&(n=!1),null==l&&(l=0),null==i&&(i=0),null==t&&(t=!1),this},loadRotatedGraphic:function(e,t,i,l,n,s){return null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=-1),null==t&&(t=16),this},makeGraphic:function(e,t,i,l,n){return null==l&&(l=!1),null==i&&(i=-1),this},set_pixels:function(e){return e},set_frame:function(e){return e},get_pixels:function(){return null},calcFrame:function(e){null==e&&(e=!1)},resetHelpers:function(){},stamp:function(e,t,i){null==i&&(i=0),null==t&&(t=0)},set_frames:function(e){return e},updateColorTransform:function(){},__class__:flixel_group_FlxTypedSpriteGroup,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{set_maxSize:"set_maxSize",get_maxSize:"get_maxSize",get_length:"get_length",get_members:"get_members"})});var Alphabet=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=""),this.personTalking="gf",this.isBold=!1,this.splitWords=[],this.lastWasSpace=!1,this.xPosResetted=!1,this.yMulti=1,this.widthOfWords=flixel_FlxG.width,this._curText="",this._finalText="",this.text="",this.isMenuItem=!1,this.targetY=0,this.paused=!1,this.delay=.05,flixel_group_FlxTypedSpriteGroup.call(this,e,t),this._finalText=i,this.text=i,this.isBold=l,""!=i&&(n?this.startTypedText():this.addText())};$hxClasses.Alphabet=Alphabet,Alphabet.__name__="Alphabet",Alphabet.__super__=flixel_group_FlxTypedSpriteGroup,Alphabet.prototype=$extend(flixel_group_FlxTypedSpriteGroup.prototype,{delay:null,paused:null,targetY:null,isMenuItem:null,text:null,_finalText:null,_curText:null,widthOfWords:null,yMulti:null,lastSprite:null,xPosResetted:null,lastWasSpace:null,splitWords:null,isBold:null,addText:function(){this.doSplitWords();for(var e=0,t=0,i=this.splitWords;t<i.length;){var l=i[t];if(++t," "!=l&&"-"!=l||(this.lastWasSpace=!0),-1!=AlphaCharacter.alphabet.indexOf(l.toLowerCase())){null!=this.lastSprite&&(e=this.lastSprite.x+this.lastSprite.get_width()),this.lastWasSpace&&(e+=40,this.lastWasSpace=!1);var n=new AlphaCharacter(e,0);this.isBold?n.createBold(l):n.createLetter(l),this.add(n),this.lastSprite=n}}},doSplitWords:function(){this.splitWords=this._finalText.split("")},personTalking:null,startTypedText:function(){var e=this;this._finalText=this.text,this.doSplitWords();var t=0,i=0,l=0;(new flixel_util_FlxTimer).start(.05,function(n){10==e._finalText.charCodeAt(t)&&(e.yMulti+=1,e.xPosResetted=!0,i=0,l+=1)," "==e.splitWords[t]&&(e.lastWasSpace=!0);var s=-1!=AlphaCharacter.numbers.indexOf(e.splitWords[t]),a=-1!=AlphaCharacter.symbols.indexOf(e.splitWords[t]);if(-1!=AlphaCharacter.alphabet.indexOf(e.splitWords[t].toLowerCase())||s||a){null==e.lastSprite||e.xPosResetted?e.xPosResetted=!1:(e.lastSprite.updateHitbox(),i+=e.lastSprite.get_width()+3),e.lastWasSpace&&(i+=20,e.lastWasSpace=!1);var r=new AlphaCharacter(i,55*e.yMulti);if(r.row=l,e.isBold)r.createBold(e.splitWords[t]);else{s?r.createNumber(e.splitWords[t]):a?r.createSymbol(e.splitWords[t]):r.createLetter(e.splitWords[t]);var _=r;_.set_x(_.x+90)}var o=40;if(null==o&&(o=50),flixel_FlxG.random.float(0,100)<o){flixel_FlxG.sound.play(Paths.sound("GF_"+flixel_FlxG.random.int(1,4),null))}e.add(r),e.lastSprite=r}t+=1,n.time=flixel_FlxG.random.float(.04,.09)},this.splitWords.length)},update:function(e){if(this.isMenuItem){var t=flixel_math_FlxMath.remapToRange(this.targetY,0,1,0,1.3),i=this.y;this.set_y(i+.16*(120*t+.48*flixel_FlxG.height-i));i=this.x;this.set_x(i+.16*(20*this.targetY+90-i))}flixel_group_FlxTypedSpriteGroup.prototype.update.call(this,e)},__class__:Alphabet});var AlphaCharacter=function(e,t){this.row=0,flixel_FlxSprite.call(this,e,t);var i=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/alphabet.png","IMAGE",null),Paths.getPath("images/alphabet.xml","TEXT",null));this.set_frames(i),this.set_antialiasing(!0)};$hxClasses.AlphaCharacter=AlphaCharacter,AlphaCharacter.__name__="AlphaCharacter",AlphaCharacter.__super__=flixel_FlxSprite,AlphaCharacter.prototype=$extend(flixel_FlxSprite.prototype,{row:null,createBold:function(e){this.animation.addByPrefix(e,e.toUpperCase()+" bold",24),this.animation.play(e),this.updateHitbox()},createLetter:function(e){var t="lowercase";e.toLowerCase()!=e&&(t="capital"),this.animation.addByPrefix(e,e+" "+t,24),this.animation.play(e),this.updateHitbox(),this.set_y(110-this.get_height());var i=this;i.set_y(i.y+60*this.row)},createNumber:function(e){this.animation.addByPrefix(e,e,24),this.animation.play(e),this.updateHitbox()},createSymbol:function(e){switch(e){case"!":this.animation.addByPrefix(e,"exclamation point",24),this.animation.play(e);break;case"'":this.animation.addByPrefix(e,"apostraphie",24),this.animation.play(e),(t=this).set_y(t.y);break;case".":this.animation.addByPrefix(e,"period",24),this.animation.play(e);var t=this;t.set_y(t.y+50);break;case"?":this.animation.addByPrefix(e,"question mark",24),this.animation.play(e)}this.updateHitbox()},__class__:AlphaCharacter});var lime_app_IModule=function(){};$hxClasses["lime.app.IModule"]=lime_app_IModule,lime_app_IModule.__name__="lime.app.IModule",lime_app_IModule.__isInterface__=!0,lime_app_IModule.prototype={__registerLimeModule:null,__unregisterLimeModule:null,__class__:lime_app_IModule};var lime_app_Module=function(){this.onExit=new lime_app__$Event_$Int_$Void};$hxClasses["lime.app.Module"]=lime_app_Module,lime_app_Module.__name__="lime.app.Module",lime_app_Module.__interfaces__=[lime_app_IModule],lime_app_Module.prototype={onExit:null,__registerLimeModule:function(e){},__unregisterLimeModule:function(e){},__class__:lime_app_Module};var lime__$internal_backend_html5_HTML5Application=function(e){this.gameDeviceCache=new haxe_ds_IntMap,this.parent=e,this.currentUpdate=0,this.lastUpdate=0,this.nextUpdate=0,this.framePeriod=-1,lime_media_AudioManager.init(),this.accelerometer=lime_system_Sensor.registerSensor(lime_system_SensorType.ACCELEROMETER,0)};$hxClasses["lime._internal.backend.html5.HTML5Application"]=lime__$internal_backend_html5_HTML5Application,lime__$internal_backend_html5_HTML5Application.__name__="lime._internal.backend.html5.HTML5Application",lime__$internal_backend_html5_HTML5Application.prototype={accelerometer:null,currentUpdate:null,deltaTime:null,framePeriod:null,gameDeviceCache:null,hidden:null,lastUpdate:null,nextUpdate:null,parent:null,convertKeyCode:function(e){if(e>=65&&e<=90)return e+32;switch(e){case 12:return 1073741980;case 16:return 1073742049;case 17:return 1073742048;case 18:return 1073742050;case 19:return 1073741896;case 20:return 1073741881;case 33:return 1073741899;case 34:return 1073741902;case 35:return 1073741901;case 36:return 1073741898;case 37:return 1073741904;case 38:return 1073741906;case 39:return 1073741903;case 40:return 1073741905;case 41:return 1073741943;case 43:return 1073741940;case 44:return 1073741894;case 45:return 1073741897;case 46:return 127;case 91:return 1073742051;case 92:case 93:return 1073742055;case 95:return 1073742106;case 96:return 1073741922;case 97:return 1073741913;case 98:return 1073741914;case 99:return 1073741915;case 100:return 1073741916;case 101:return 1073741917;case 102:return 1073741918;case 103:return 1073741919;case 104:return 1073741920;case 105:return 1073741921;case 106:return 1073741909;case 107:return 1073741911;case 108:return 1073741923;case 109:return 1073741910;case 110:return 1073741923;case 111:return 1073741908;case 112:return 1073741882;case 113:return 1073741883;case 114:return 1073741884;case 115:return 1073741885;case 116:return 1073741886;case 117:return 1073741887;case 118:return 1073741888;case 119:return 1073741889;case 120:return 1073741890;case 121:return 1073741891;case 122:return 1073741892;case 123:return 1073741893;case 124:return 1073741928;case 125:return 1073741929;case 126:return 1073741930;case 127:return 1073741931;case 128:return 1073741932;case 129:return 1073741933;case 130:return 1073741934;case 131:return 1073741935;case 132:return 1073741936;case 133:return 1073741937;case 134:return 1073741938;case 135:return 1073741939;case 144:return 1073741907;case 145:return 1073741895;case 160:return 94;case 161:return 33;case 163:return 35;case 164:return 36;case 166:return 1073742094;case 167:return 1073742095;case 168:return 1073742097;case 169:return 41;case 170:return 42;case 171:return 96;case 172:return 1073741898;case 173:return 45;case 174:return 1073741953;case 175:return 1073741952;case 176:return 1073742082;case 177:return 1073742083;case 178:return 1073742084;case 179:return 1073742085;case 180:return 1073742089;case 181:return 1073742086;case 182:return 1073741953;case 183:return 1073741952;case 186:return 59;case 187:return 61;case 188:return 44;case 189:return 45;case 190:return 46;case 191:return 47;case 192:return 96;case 193:return 63;case 194:return 1073741923;case 219:return 91;case 220:return 92;case 221:return 93;case 222:return 39;case 223:return 96;case 224:return 1073742051;case 226:return 92}return e},exec:function(){if(window.addEventListener("keydown",$bind(this,this.handleKeyEvent),!1),window.addEventListener("keyup",$bind(this,this.handleKeyEvent),!1),window.addEventListener("focus",$bind(this,this.handleWindowEvent),!1),window.addEventListener("blur",$bind(this,this.handleWindowEvent),!1),window.addEventListener("resize",$bind(this,this.handleWindowEvent),!1),window.addEventListener("beforeunload",$bind(this,this.handleWindowEvent),!1),window.addEventListener("devicemotion",$bind(this,this.handleSensorEvent),!1),CanvasRenderingContext2D.prototype.isPointInStroke||(CanvasRenderingContext2D.prototype.isPointInStroke=function(e,t,i){return!1}),CanvasRenderingContext2D.prototype.isPointInPath||(CanvasRenderingContext2D.prototype.isPointInPath=function(e,t,i){return!1}),"performance"in window==0&&(window.performance={}),"now"in window.performance==0){var e=Date.now();performance.timing&&performance.timing.navigationStart&&(e=performance.timing.navigationStart),window.performance.now=function(){return Date.now()-e}}for(var t=0,i=["ms","moz","webkit","o"],l=0;l<i.length&&!window.requestAnimationFrame;++l)window.requestAnimationFrame=window[i[l]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[i[l]+"CancelAnimationFrame"]||window[i[l]+"CancelRequestAnimationFrame"];return window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var l=(new Date).getTime(),n=Math.max(0,16-(l-t)),s=window.setTimeout(function(){e(l+n)},n);return t=l+n,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)}),window.requestAnimFrame=window.requestAnimationFrame,this.lastUpdate=(new Date).getTime(),this.handleApplicationEvent(),0},exit:function(){},handleApplicationEvent:function(e){for(var t=0,i=this.parent.__windows;t<i.length;){l=i[t];++t,l.__backend.updateSize()}if(this.updateGameDevices(),this.currentUpdate=(new Date).getTime(),this.currentUpdate>=this.nextUpdate){this.deltaTime=this.currentUpdate-this.lastUpdate;for(var t=0,i=this.parent.__windows;t<i.length;){var l=i[t];++t,this.parent.onUpdate.dispatch(0|this.deltaTime),null!=l.context&&l.onRender.dispatch(l.context)}this.framePeriod<0?this.nextUpdate=this.currentUpdate:this.nextUpdate=this.currentUpdate-this.currentUpdate%this.framePeriod+this.framePeriod,this.lastUpdate=this.currentUpdate}window.requestAnimationFrame($bind(this,this.handleApplicationEvent))},handleKeyEvent:function(e){if(null!=this.parent.__window){var t=this.convertKeyCode(null!=e.keyCode?e.keyCode:e.which),i=(e.shiftKey?3:0)|(e.ctrlKey?192:0)|(e.altKey?768:0)|(e.metaKey?3072:0);"keydown"==e.type?(this.parent.__window.onKeyDown.dispatch(t,i),this.parent.__window.onKeyDown.canceled&&e.cancelable&&e.preventDefault()):(this.parent.__window.onKeyUp.dispatch(t,i),this.parent.__window.onKeyUp.canceled&&e.cancelable&&e.preventDefault())}},handleSensorEvent:function(e){this.accelerometer.onUpdate.dispatch(e.accelerationIncludingGravity.x,e.accelerationIncludingGravity.y,e.accelerationIncludingGravity.z)},handleWindowEvent:function(e){if(null!=this.parent.__window)switch(e.type){case"beforeunload":break;case"blur":this.hidden||(this.parent.__window.onFocusOut.dispatch(),this.parent.__window.onDeactivate.dispatch(),this.hidden=!0);break;case"focus":this.hidden&&(this.parent.__window.onFocusIn.dispatch(),this.parent.__window.onActivate.dispatch(),this.hidden=!1);break;case"resize":this.parent.__window.__backend.handleResizeEvent(e);break;case"visibilitychange":window.document.hidden?this.hidden||(this.parent.__window.onFocusOut.dispatch(),this.parent.__window.onDeactivate.dispatch(),this.hidden=!0):this.hidden&&(this.parent.__window.onFocusIn.dispatch(),this.parent.__window.onActivate.dispatch(),this.hidden=!1)}},updateGameDevices:function(){var e=lime_ui_Joystick.__getDeviceData();if(null!=e)for(var t,i,l,n,s,a=0,r=e.length;a<r;)if(t=a++,null!=(n=e[t])){if(!this.gameDeviceCache.h.hasOwnProperty(t)){(s=new lime__$internal_backend_html5_GameDeviceData).id=t,s.connected=n.connected;for(var _=0,o=n.buttons.length;_<o;){var h=_++;s.buttons.push(n.buttons[h].value)}for(var u=0,d=n.axes.length;u<d;){var c=u++;s.axes.push(n.axes[c])}"standard"==n.mapping&&(s.isGamepad=!0),this.gameDeviceCache.h[t]=s,n.connected&&(lime_ui_Joystick.__connect(t),s.isGamepad&&lime_ui_Gamepad.__connect(t))}if(s=this.gameDeviceCache.h[t],l=lime_ui_Joystick.devices.h[t],i=lime_ui_Gamepad.devices.h[t],n.connected){for(var p,f,m=0,x=n.buttons.length;m<x;){var g=m++;if((f=n.buttons[g].value)!=s.buttons[g]){if(6==g)l.onAxisMove.dispatch(n.axes.length,f),null!=i&&i.onAxisMove.dispatch(4,f);else if(7==g)l.onAxisMove.dispatch(n.axes.length+1,f),null!=i&&i.onAxisMove.dispatch(5,f);else if(f>0?l.onButtonDown.dispatch(g):l.onButtonUp.dispatch(g),null!=i){switch(g){case 0:p=0;break;case 1:p=1;break;case 2:p=2;break;case 3:p=3;break;case 4:p=9;break;case 5:p=10;break;case 8:p=4;break;case 9:p=6;break;case 10:p=7;break;case 11:p=8;break;case 12:p=11;break;case 13:p=12;break;case 14:p=13;break;case 15:p=14;break;case 16:p=5;break;default:continue}f>0?i.onButtonDown.dispatch(p):i.onButtonUp.dispatch(p)}s.buttons[g]=f}}for(var F=0,y=n.axes.length;F<y;){var S=F++;n.axes[S]!=s.axes[S]&&(l.onAxisMove.dispatch(S,n.axes[S]),null!=i&&i.onAxisMove.dispatch(S,n.axes[S]),s.axes[S]=n.axes[S])}}else s.connected&&(s.connected=!1,lime_ui_Joystick.__disconnect(t),lime_ui_Gamepad.__disconnect(t))}},__class__:lime__$internal_backend_html5_HTML5Application};var lime_app_Application=function(){this.onCreateWindow=new lime_app__$Event_$lime_$ui_$Window_$Void,this.onUpdate=new lime_app__$Event_$Int_$Void,lime_app_Module.call(this),null==lime_app_Application.current&&(lime_app_Application.current=this),this.meta=new haxe_ds_StringMap,this.modules=[],this.__windowByID=new haxe_ds_IntMap,this.__windows=[],this.__backend=new lime__$internal_backend_html5_HTML5Application(this),this.__registerLimeModule(this),this.__preloader=new lime_utils_Preloader,this.__preloader.onProgress.add($bind(this,this.onPreloadProgress)),this.__preloader.onComplete.add($bind(this,this.onPreloadComplete))};$hxClasses["lime.app.Application"]=lime_app_Application,lime_app_Application.__name__="lime.app.Application",lime_app_Application.current=null,lime_app_Application.__super__=lime_app_Module,lime_app_Application.prototype=$extend(lime_app_Module.prototype,{meta:null,modules:null,onUpdate:null,onCreateWindow:null,preloader:null,window:null,windows:null,__backend:null,__preloader:null,__window:null,__windowByID:null,__windows:null,addModule:function(e){e.__registerLimeModule(this),this.modules.push(e)},createWindow:function(e){var t=this.__createWindow(e);return this.__addWindow(t),t},exec:function(){return lime_app_Application.current=this,this.__backend.exec()},onGamepadAxisMove:function(e,t,i){},onGamepadButtonDown:function(e,t){},onGamepadButtonUp:function(e,t){},onGamepadConnect:function(e){},onGamepadDisconnect:function(e){},onJoystickAxisMove:function(e,t,i){},onJoystickButtonDown:function(e,t){},onJoystickButtonUp:function(e,t){},onJoystickConnect:function(e){},onJoystickDisconnect:function(e){},onJoystickHatMove:function(e,t,i){},onJoystickTrackballMove:function(e,t,i,l){},onKeyDown:function(e,t){},onKeyUp:function(e,t){},onModuleExit:function(e){},onMouseDown:function(e,t,i){},onMouseMove:function(e,t){},onMouseMoveRelative:function(e,t){},onMouseUp:function(e,t,i){},onMouseWheel:function(e,t,i){},onPreloadComplete:function(){},onPreloadProgress:function(e,t){},onRenderContextLost:function(){},onRenderContextRestored:function(e){},onTextEdit:function(e,t,i){},onTextInput:function(e){},onTouchCancel:function(e){},onTouchEnd:function(e){},onTouchMove:function(e){},onTouchStart:function(e){},onWindowActivate:function(){},onWindowClose:function(){},onWindowCreate:function(){},onWindowDeactivate:function(){},onWindowDropFile:function(e){},onWindowEnter:function(){},onWindowExpose:function(){},onWindowFocusIn:function(){},onWindowFocusOut:function(){},onWindowFullscreen:function(){},onWindowLeave:function(){},onWindowMove:function(e,t){},onWindowMinimize:function(){},onWindowResize:function(e,t){},onWindowRestore:function(){},removeModule:function(e){null!=e&&(e.__unregisterLimeModule(this),HxOverrides.remove(this.modules,e))},render:function(e){},update:function(e){},__addWindow:function(e){if(null!=e){this.__windows.push(e),this.__windowByID.h[e.id]=e;var t=$bind(this,this.__onWindowClose),i=e,l=function(){t(i)};e.onClose.add(l,!1,-1e4),null==this.__window&&(this.__window=e,e.onActivate.add($bind(this,this.onWindowActivate)),e.onRenderContextLost.add($bind(this,this.onRenderContextLost)),e.onRenderContextRestored.add($bind(this,this.onRenderContextRestored)),e.onDeactivate.add($bind(this,this.onWindowDeactivate)),e.onDropFile.add($bind(this,this.onWindowDropFile)),e.onEnter.add($bind(this,this.onWindowEnter)),e.onExpose.add($bind(this,this.onWindowExpose)),e.onFocusIn.add($bind(this,this.onWindowFocusIn)),e.onFocusOut.add($bind(this,this.onWindowFocusOut)),e.onFullscreen.add($bind(this,this.onWindowFullscreen)),e.onKeyDown.add($bind(this,this.onKeyDown)),e.onKeyUp.add($bind(this,this.onKeyUp)),e.onLeave.add($bind(this,this.onWindowLeave)),e.onMinimize.add($bind(this,this.onWindowMinimize)),e.onMouseDown.add($bind(this,this.onMouseDown)),e.onMouseMove.add($bind(this,this.onMouseMove)),e.onMouseMoveRelative.add($bind(this,this.onMouseMoveRelative)),e.onMouseUp.add($bind(this,this.onMouseUp)),e.onMouseWheel.add($bind(this,this.onMouseWheel)),e.onMove.add($bind(this,this.onWindowMove)),e.onRender.add($bind(this,this.render)),e.onResize.add($bind(this,this.onWindowResize)),e.onRestore.add($bind(this,this.onWindowRestore)),e.onTextEdit.add($bind(this,this.onTextEdit)),e.onTextInput.add($bind(this,this.onTextInput)),this.onWindowCreate()),this.onCreateWindow.dispatch(e)}},__createWindow:function(e){var t=new lime_ui_Window(this,e);return-1==t.id?null:t},__registerLimeModule:function(e){e.onUpdate.add($bind(this,this.update)),e.onExit.add($bind(this,this.onModuleExit),!1,0),e.onExit.add($bind(this,this.__onModuleExit),!1,0);for(var t=lime_ui_Gamepad.devices.iterator();t.hasNext();){var i=t.next();this.__onGamepadConnect(i)}lime_ui_Gamepad.onConnect.add($bind(this,this.__onGamepadConnect));for(var l=lime_ui_Joystick.devices.iterator();l.hasNext();){var n=l.next();this.__onJoystickConnect(n)}lime_ui_Joystick.onConnect.add($bind(this,this.__onJoystickConnect)),lime_ui_Touch.onCancel.add($bind(this,this.onTouchCancel)),lime_ui_Touch.onStart.add($bind(this,this.onTouchStart)),lime_ui_Touch.onMove.add($bind(this,this.onTouchMove)),lime_ui_Touch.onEnd.add($bind(this,this.onTouchEnd))},__removeWindow:function(e){null!=e&&this.__windowByID.h.hasOwnProperty(e.id)&&(this.__window==e&&(this.__window=null),HxOverrides.remove(this.__windows,e),this.__windowByID.remove(e.id),e.close(),0==this.__windows.length&&lime_system_System.exit(0))},__onGamepadConnect:function(e){this.onGamepadConnect(e);var t=$bind(this,this.onGamepadAxisMove),i=e,l=function(e,l){t(i,e,l)};e.onAxisMove.add(l);var n=$bind(this,this.onGamepadButtonDown),s=e,l=function(e){n(s,e)};e.onButtonDown.add(l);var a=$bind(this,this.onGamepadButtonUp),r=e,l=function(e){a(r,e)};e.onButtonUp.add(l);var _=$bind(this,this.onGamepadDisconnect),o=e,l=function(){_(o)};e.onDisconnect.add(l)},__onJoystickConnect:function(e){this.onJoystickConnect(e);var t=$bind(this,this.onJoystickAxisMove),i=e,l=function(e,l){t(i,e,l)};e.onAxisMove.add(l);var n=$bind(this,this.onJoystickButtonDown),s=e,l=function(e){n(s,e)};e.onButtonDown.add(l);var a=$bind(this,this.onJoystickButtonUp),r=e,l=function(e){a(r,e)};e.onButtonUp.add(l);var _=$bind(this,this.onJoystickDisconnect),o=e,l=function(){_(o)};e.onDisconnect.add(l);var h=$bind(this,this.onJoystickHatMove),u=e,l=function(e,t){h(u,e,t)};e.onHatMove.add(l);var d=$bind(this,this.onJoystickTrackballMove),c=e,l=function(e,t,i){d(c,e,t,i)};e.onTrackballMove.add(l)},__onModuleExit:function(e){this.__backend.exit()},__onWindowClose:function(e){this.__window==e&&this.onWindowClose(),this.__removeWindow(e)},__unregisterLimeModule:function(e){e.onUpdate.remove($bind(this,this.update)),e.onExit.remove($bind(this,this.__onModuleExit)),e.onExit.remove($bind(this,this.onModuleExit)),lime_ui_Gamepad.onConnect.remove($bind(this,this.__onGamepadConnect)),lime_ui_Joystick.onConnect.remove($bind(this,this.__onJoystickConnect)),lime_ui_Touch.onCancel.remove($bind(this,this.onTouchCancel)),lime_ui_Touch.onStart.remove($bind(this,this.onTouchStart)),lime_ui_Touch.onMove.remove($bind(this,this.onTouchMove)),lime_ui_Touch.onEnd.remove($bind(this,this.onTouchEnd)),this.onModuleExit(0)},get_preloader:function(){return this.__preloader},get_window:function(){return this.__window},get_windows:function(){return this.__windows},__class__:lime_app_Application,__properties__:{get_windows:"get_windows",get_window:"get_window",get_preloader:"get_preloader"}});var ApplicationMain=function(){};$hxClasses.ApplicationMain=ApplicationMain,ApplicationMain.__name__="ApplicationMain",ApplicationMain.main=function(){lime_system_System.__registerEntryPoint("Funkin",ApplicationMain.create)},ApplicationMain.create=function(e){var t=new openfl_display_Application;ManifestResources.init(e),t.meta.h.build="1",t.meta.h.company="ninjamuffin99",t.meta.h.file="Funkin",t.meta.h.name="Friday Night Funkin'",t.meta.h.packageName="com.ninjamuffin99.funkin",t.meta.h.version="0.2.7.1";var i={allowHighDPI:!1,alwaysOnTop:!1,borderless:!1,element:null,frameRate:null,height:720,hidden:!1,maximized:!1,minimized:!1,parameters:{},resizable:!0,title:"Friday Night Funkin'",width:1280,x:null,y:null};if(i.context={antialiasing:0,background:0,colorDepth:32,depth:!0,hardware:!0,stencil:!0,type:null,vsync:!1},null==t.__window&&null!=e)for(var l=0,n=Reflect.fields(e);l<n.length;){var s=n[l];++l,Object.prototype.hasOwnProperty.call(i,s)?i[s]=Reflect.field(e,s):Object.prototype.hasOwnProperty.call(i.context,s)&&(i.context[s]=Reflect.field(e,s))}t.createWindow(i);var a=new openfl_display_Preloader(new flixel_system_FlxPreloader);t.__preloader.onProgress.add(function(e,t){a.update(e,t)}),t.__preloader.onComplete.add(function(){a.start()});var r=js_Boot.__cast(t.__window,openfl_display_Window).stage,_=function(){ApplicationMain.start(r)};a.onComplete.add(_);for(var l=0,n=ManifestResources.preloadLibraries;l<n.length;){var o=n[l];++l,t.__preloader.addLibrary(o)}for(var l=0,n=ManifestResources.preloadLibraryNames;l<n.length;){var h=n[l];++l,t.__preloader.addLibraryName(h)}t.__preloader.load();t.exec()},ApplicationMain.start=function(e){try{Main.main(),e.dispatchEvent(new openfl_events_Event("resize",!1,!1)),e.window.__fullscreen&&e.dispatchEvent(new openfl_events_FullScreenEvent("fullScreen",!1,!1,!0,!0))}catch(i){haxe_NativeStackTrace.lastError=i;var t=haxe_Exception.caught(i).unwrap();e.__handleError(t)}};var openfl_events_IEventDispatcher=function(){};$hxClasses["openfl.events.IEventDispatcher"]=openfl_events_IEventDispatcher,openfl_events_IEventDispatcher.__name__="openfl.events.IEventDispatcher",openfl_events_IEventDispatcher.__isInterface__=!0,openfl_events_IEventDispatcher.prototype={addEventListener:null,dispatchEvent:null,hasEventListener:null,removeEventListener:null,willTrigger:null,__class__:openfl_events_IEventDispatcher};var openfl_events_EventDispatcher=function(e){null!=e&&(this.__targetDispatcher=e)};$hxClasses["openfl.events.EventDispatcher"]=openfl_events_EventDispatcher,openfl_events_EventDispatcher.__name__="openfl.events.EventDispatcher",openfl_events_EventDispatcher.__interfaces__=[openfl_events_IEventDispatcher],openfl_events_EventDispatcher.prototype={__eventMap:null,__iterators:null,__targetDispatcher:null,addEventListener:function(e,t,i,l,n){if(null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),null!=t)if(null==this.__eventMap&&(this.__eventMap=new haxe_ds_StringMap,this.__iterators=new haxe_ds_StringMap),Object.prototype.hasOwnProperty.call(this.__eventMap.h,e)){for(var s=this.__eventMap.h[e],a=0,r=s.length;a<r;)if(s[a++].match(t,i))return;for(var _=this.__iterators.h[e],a=0;a<_.length;){o=_[a];++a,o.active&&o.copy()}this.__addListenerByPriority(s,new openfl_events__$EventDispatcher_Listener(t,i,l))}else{(s=[]).push(new openfl_events__$EventDispatcher_Listener(t,i,l));var o=new openfl_events__$EventDispatcher_DispatchIterator(s);this.__eventMap.h[e]=s,this.__iterators.h[e]=[o]}},dispatchEvent:function(e){return null!=this.__targetDispatcher?e.target=this.__targetDispatcher:e.target=this,this.__dispatchEvent(e)},hasEventListener:function(e){return null!=this.__eventMap&&Object.prototype.hasOwnProperty.call(this.__eventMap.h,e)},removeEventListener:function(e,t,i){if(null==i&&(i=!1),null!=this.__eventMap&&null!=t){var l=this.__eventMap.h[e];if(null!=l){for(var n=this.__iterators.h[e],s=0,a=l.length;s<a;){var r=s++;if(l[r].match(t,i)){for(var _=0;_<n.length;){var o=n[_];++_,o.remove(l[r],r)}l.splice(r,1);break}}if(0==l.length){h=this.__eventMap;Object.prototype.hasOwnProperty.call(h.h,e)&&delete h.h[e];var h=this.__iterators;Object.prototype.hasOwnProperty.call(h.h,e)&&delete h.h[e]}haxe_ds_StringMap.valueIterator(this.__eventMap.h).hasNext()||(this.__eventMap=null,this.__iterators=null)}}},toString:function(){return"[object "+js_Boot.getClass(this).__name__.split(".").pop()+"]"},willTrigger:function(e){return this.hasEventListener(e)},__dispatchEvent:function(e){if(null==this.__eventMap||null==e)return!0;var t=e.type,i=this.__eventMap.h[t];if(null==i)return!0;null==e.target&&(null!=this.__targetDispatcher?e.target=this.__targetDispatcher:e.target=this),e.currentTarget=this;var l=1==e.eventPhase,n=this.__iterators.h[t],s=n[0];s.active&&(s=new openfl_events__$EventDispatcher_DispatchIterator(i),n.push(s)),s.start();for(var a=s;a.hasNext();){var r=a.next();if(null!=r&&(r.useCapture==l&&(r.callback(e),e.__isCanceledNow)))break}return s.stop(),s!=n[0]?HxOverrides.remove(n,s):s.reset(i),!e.isDefaultPrevented()},__removeAllListeners:function(){this.__eventMap=null,this.__iterators=null},__addListenerByPriority:function(e,t){for(var i=e.length,l=i,n=0,s=i;n<s;){var a=n++;if(e[a].priority<t.priority){l=a;break}}e.splice(l,0,t)},__class__:openfl_events_EventDispatcher};var openfl_display_IBitmapDrawable=function(){};$hxClasses["openfl.display.IBitmapDrawable"]=openfl_display_IBitmapDrawable,openfl_display_IBitmapDrawable.__name__="openfl.display.IBitmapDrawable",openfl_display_IBitmapDrawable.__isInterface__=!0,openfl_display_IBitmapDrawable.prototype={__blendMode:null,__isMask:null,__renderable:null,__renderTransform:null,__transform:null,__worldAlpha:null,__worldColorTransform:null,__worldTransform:null,__getBounds:null,__renderCairo:null,__renderCairoMask:null,__renderCanvas:null,__renderCanvasMask:null,__renderDOM:null,__renderGL:null,__renderGLMask:null,__update:null,__updateTransforms:null,__mask:null,__scrollRect:null,__class__:openfl_display_IBitmapDrawable};var openfl_Vector={};openfl_Vector.__properties__={set_length:"set_length",get_length:"get_length",set_fixed:"set_fixed",get_fixed:"get_fixed"},openfl_Vector.ofArray_Float=function(e){for(var t=openfl_Vector.toFloatVector(null),i=0,l=e.length;i<l;){var n=i++;t.set(n,e[n])}return t},openfl_Vector.ofArray_Int=function(e){for(var t=openfl_Vector.toIntVector(null),i=0,l=e.length;i<l;){var n=i++;t.set(n,e[n])}return t},openfl_Vector.concat=function(e,t){return e.concat(t)},openfl_Vector.copy=function(e){return e.copy()},openfl_Vector.filter=function(e,t){return e.filter(t)},openfl_Vector.get=function(e,t){return e.get(t)},openfl_Vector.indexOf=function(e,t,i){return null==i&&(i=0),e.indexOf(t,i)},openfl_Vector.insertAt=function(e,t,i){e.insertAt(t,i)},openfl_Vector.iterator=function(e){return e.iterator()},openfl_Vector.join=function(e,t){return null==t&&(t=","),e.join(t)},openfl_Vector.lastIndexOf=function(e,t,i){return e.lastIndexOf(t,i)},openfl_Vector.pop=function(e){return e.pop()},openfl_Vector.push=function(e,t){return e.push(t)},openfl_Vector.removeAt=function(e,t){return e.removeAt(t)},openfl_Vector.reverse=function(e){return e.reverse()},openfl_Vector.set=function(e,t,i){return e.set(t,i)},openfl_Vector.shift=function(e){return e.shift()},openfl_Vector.slice=function(e,t,i){return null==t&&(t=0),e.slice(t,i)},openfl_Vector.sort=function(e,t){e.sort(t)},openfl_Vector.splice=function(e,t,i){return e.splice(t,i)},openfl_Vector.toString=function(e){return null!=e?e.toString():null},openfl_Vector.unshift=function(e,t){e.unshift(t)},openfl_Vector.convert=function(e){return e},openfl_Vector.toBoolVector=function(e,t,i,l){return new openfl__$Vector_BoolVector(t,i,l)},openfl_Vector.toIntVector=function(e,t,i,l){return new openfl__$Vector_IntVector(t,i,l)},openfl_Vector.toFloatVector=function(e,t,i,l){return new openfl__$Vector_FloatVector(t,i,l,!0)},openfl_Vector.toFunctionVector=function(e,t,i,l){return new openfl__$Vector_FunctionVector(t,i,l)},openfl_Vector.toObjectVector=function(e,t,i,l){return new openfl__$Vector_ObjectVector(t,i,l,!0)},openfl_Vector.toNullVector=function(e,t,i,l){return new openfl__$Vector_ObjectVector(t,i,l,!0)},openfl_Vector.fromBoolVector=function(e){return e},openfl_Vector.fromIntVector=function(e){return e},openfl_Vector.fromFloatVector=function(e){return e},openfl_Vector.fromFunctionVector=function(e){return e},openfl_Vector.fromObjectVector=function(e){return e},openfl_Vector.get_fixed=function(e){return e.fixed},openfl_Vector.set_fixed=function(e,t){return e.fixed=t},openfl_Vector.get_length=function(e){return e.get_length()},openfl_Vector.set_length=function(e,t){return e.set_length(t)};var lime_utils_ObjectPool=function(e,t,i){this.__pool=new haxe_ds_ObjectMap,this.activeObjects=0,this.inactiveObjects=0,this.__inactiveObject0=null,this.__inactiveObject1=null,this.__inactiveObjectList=new haxe_ds_List,null!=e&&(this.create=e),null!=t&&(this.clean=t),null!=i&&this.set_size(i)};$hxClasses["lime.utils.ObjectPool"]=lime_utils_ObjectPool,lime_utils_ObjectPool.__name__="lime.utils.ObjectPool",lime_utils_ObjectPool.prototype={activeObjects:null,inactiveObjects:null,__inactiveObject0:null,__inactiveObject1:null,__inactiveObjectList:null,__pool:null,__size:null,add:function(e){this.__pool.exists(e)||(this.__pool.set(e,!1),this.clean(e),null==this.__inactiveObject0?this.__inactiveObject0=e:null==this.__inactiveObject1?this.__inactiveObject1=e:this.__inactiveObjectList.add(e),this.inactiveObjects++)},clean:function(e){},clear:function(){this.__pool=new haxe_ds_ObjectMap,this.activeObjects=0,this.inactiveObjects=0,this.__inactiveObject0=null,this.__inactiveObject1=null,this.__inactiveObjectList.clear()},create:function(){return null},get:function(){var e=null;if(this.inactiveObjects>0){var t=null;null!=this.__inactiveObject0?(t=this.__inactiveObject0,this.__inactiveObject0=null):null!=this.__inactiveObject1?(t=this.__inactiveObject1,this.__inactiveObject1=null):(t=this.__inactiveObjectList.pop(),this.__inactiveObjectList.length>0&&(this.__inactiveObject0=this.__inactiveObjectList.pop()),this.__inactiveObjectList.length>0&&(this.__inactiveObject1=this.__inactiveObjectList.pop())),this.inactiveObjects--,this.activeObjects++,e=t}else(null==this.__size||this.activeObjects<this.__size)&&null!=(e=this.create())&&(this.__pool.set(e,!0),this.activeObjects++);return e},release:function(e){this.activeObjects--,null==this.__size||this.activeObjects+this.inactiveObjects<this.__size?(this.clean(e),null==this.__inactiveObject0?this.__inactiveObject0=e:null==this.__inactiveObject1?this.__inactiveObject1=e:this.__inactiveObjectList.add(e),this.inactiveObjects++):this.__pool.remove(e)},remove:function(e){this.__pool.exists(e)&&(this.__pool.remove(e),this.__inactiveObject0==e?(this.__inactiveObject0=null,this.inactiveObjects--):this.__inactiveObject1==e?(this.__inactiveObject1=null,this.inactiveObjects--):this.__inactiveObjectList.remove(e)?this.inactiveObjects--:this.activeObjects--)},__addInactive:function(e){null==this.__inactiveObject0?this.__inactiveObject0=e:null==this.__inactiveObject1?this.__inactiveObject1=e:this.__inactiveObjectList.add(e),this.inactiveObjects++},__getInactive:function(){var e=null;return null!=this.__inactiveObject0?(e=this.__inactiveObject0,this.__inactiveObject0=null):null!=this.__inactiveObject1?(e=this.__inactiveObject1,this.__inactiveObject1=null):(e=this.__inactiveObjectList.pop(),this.__inactiveObjectList.length>0&&(this.__inactiveObject0=this.__inactiveObjectList.pop()),this.__inactiveObjectList.length>0&&(this.__inactiveObject1=this.__inactiveObjectList.pop())),this.inactiveObjects--,this.activeObjects++,e},__removeInactive:function(e){if(!(e<=0||0==this.inactiveObjects)&&(null!=this.__inactiveObject0&&(this.__pool.remove(this.__inactiveObject0),this.__inactiveObject0=null,this.inactiveObjects--,--e),0!=e&&0!=this.inactiveObjects&&(null!=this.__inactiveObject1&&(this.__pool.remove(this.__inactiveObject1),this.__inactiveObject1=null,this.inactiveObjects--,--e),0!=e&&0!=this.inactiveObjects)))for(var t=this.__inactiveObjectList.h;null!=t;){var i=t.item;t=t.next;var l=i;if(this.__pool.remove(l),this.__inactiveObjectList.remove(l),this.inactiveObjects--,0==--e||0==this.inactiveObjects)return}},get_size:function(){return this.__size},set_size:function(e){if(null==e)this.__size=null;else{var t=this.inactiveObjects+this.activeObjects;if(this.__size=e,t>e)this.__removeInactive(t-e);else if(e>t)for(var i,l=0,n=e-t;l<n;){l++;if(null==(i=this.create()))break;this.__pool.set(i,!1),this.__inactiveObjectList.add(i),this.inactiveObjects++}}return e},__class__:lime_utils_ObjectPool,__properties__:{set_size:"set_size",get_size:"get_size"}};var haxe_IMap=function(){};$hxClasses["haxe.IMap"]=haxe_IMap,haxe_IMap.__name__="haxe.IMap",haxe_IMap.__isInterface__=!0,haxe_IMap.prototype={get:null,set:null,exists:null,remove:null,keys:null,iterator:null,keyValueIterator:null,__class__:haxe_IMap};var haxe_ds_ObjectMap=function(){this.h={__keys__:{}}};$hxClasses["haxe.ds.ObjectMap"]=haxe_ds_ObjectMap,haxe_ds_ObjectMap.__name__="haxe.ds.ObjectMap",haxe_ds_ObjectMap.__interfaces__=[haxe_IMap],haxe_ds_ObjectMap.count=null,haxe_ds_ObjectMap.prototype={h:null,set:function(e,t){var i=e.__id__;null==i&&(i=e.__id__=$global.$haxeUID++),this.h[i]=t,this.h.__keys__[i]=e},get:function(e){return this.h[e.__id__]},exists:function(e){return null!=this.h.__keys__[e.__id__]},remove:function(e){var t=e.__id__;return null!=this.h.__keys__[t]&&(delete this.h[t],delete this.h.__keys__[t],!0)},keys:function(){var e=[];for(var t in this.h.__keys__)this.h.hasOwnProperty(t)&&e.push(this.h.__keys__[t]);return new haxe_iterators_ArrayIterator(e)},iterator:function(){return{ref:this.h,it:this.keys(),hasNext:function(){return this.it.hasNext()},next:function(){var e=this.it.next();return this.ref[e.__id__]}}},keyValueIterator:function(){return new haxe_iterators_MapKeyValueIterator(this)},toString:function(){var e="";e+="{";for(var t=this.keys(),i=t;i.hasNext();){var l=i.next();e+=Std.string(Std.string(l)),e+=" => ",e+=Std.string(Std.string(this.h[l.__id__])),t.hasNext()&&(e+=", ")}return e+="}"},__class__:haxe_ds_ObjectMap};var haxe_ds_List=function(){this.length=0};$hxClasses["haxe.ds.List"]=haxe_ds_List,haxe_ds_List.__name__="haxe.ds.List",haxe_ds_List.prototype={h:null,q:null,length:null,add:function(e){var t=new haxe_ds__$List_ListNode(e,null);null==this.h?this.h=t:this.q.next=t,this.q=t,this.length++},push:function(e){var t=new haxe_ds__$List_ListNode(e,this.h);this.h=t,null==this.q&&(this.q=t),this.length++},pop:function(){if(null==this.h)return null;var e=this.h.item;return this.h=this.h.next,null==this.h&&(this.q=null),this.length--,e},clear:function(){this.h=null,this.q=null,this.length=0},remove:function(e){for(var t=null,i=this.h;null!=i;){if(i.item==e)return null==t?this.h=i.next:t.next=i.next,this.q==i&&(this.q=t),this.length--,!0;t=i,i=i.next}return!1},iterator:function(){return new haxe_ds__$List_ListIterator(this.h)},__class__:haxe_ds_List};var openfl_display_DisplayObject=function(){openfl_events_EventDispatcher.call(this),this.__alpha=1,this.__blendMode=10,this.__cacheAsBitmap=!1,this.__transform=new openfl_geom_Matrix,this.__visible=!0,this.__rotation=0,this.__rotationSine=0,this.__rotationCosine=1,this.__scaleX=1,this.__scaleY=1,this.__worldAlpha=1,this.__worldBlendMode=10,this.__worldTransform=new openfl_geom_Matrix,this.__worldColorTransform=new openfl_geom_ColorTransform,this.__renderTransform=new openfl_geom_Matrix,this.__worldVisible=!0,this.set_name("instance"+ ++openfl_display_DisplayObject.__instanceCount),null!=openfl_display_DisplayObject.__initStage&&(this.stage=openfl_display_DisplayObject.__initStage,openfl_display_DisplayObject.__initStage=null,this.stage.addChild(this))};$hxClasses["openfl.display.DisplayObject"]=openfl_display_DisplayObject,openfl_display_DisplayObject.__name__="openfl.display.DisplayObject",openfl_display_DisplayObject.__interfaces__=[openfl_display_IBitmapDrawable],openfl_display_DisplayObject.__initStage=null,openfl_display_DisplayObject.__supportDOM=null,openfl_display_DisplayObject.__calculateAbsoluteTransform=function(e,t,i){i.a=e.a*t.a+e.b*t.c,i.b=e.a*t.b+e.b*t.d,i.c=e.c*t.a+e.d*t.c,i.d=e.c*t.b+e.d*t.d,i.tx=e.tx*t.a+e.ty*t.c+t.tx,i.ty=e.tx*t.b+e.ty*t.d+t.ty},openfl_display_DisplayObject.__super__=openfl_events_EventDispatcher,openfl_display_DisplayObject.prototype=$extend(openfl_events_EventDispatcher.prototype,{opaqueBackground:null,parent:null,stage:null,__alpha:null,__blendMode:null,__cacheAsBitmap:null,__cacheAsBitmapMatrix:null,__cacheBitmap:null,__cacheBitmapBackground:null,__cacheBitmapColorTransform:null,__cacheBitmapData:null,__cacheBitmapData2:null,__cacheBitmapData3:null,__cacheBitmapMatrix:null,__cacheBitmapRenderer:null,__cairo:null,__children:null,__customRenderClear:null,__customRenderEvent:null,__filters:null,__graphics:null,__interactive:null,__isCacheBitmapRender:null,__isMask:null,__loaderInfo:null,__mask:null,__maskTarget:null,__name:null,__objectTransform:null,__renderable:null,__renderDirty:null,__renderParent:null,__renderTransform:null,__renderTransformCache:null,__renderTransformChanged:null,__rotation:null,__rotationCosine:null,__rotationSine:null,__scale9Grid:null,__scaleX:null,__scaleY:null,__scrollRect:null,__shader:null,__tempPoint:null,__transform:null,__transformDirty:null,__visible:null,__worldAlpha:null,__worldAlphaChanged:null,__worldBlendMode:null,__worldClip:null,__worldClipChanged:null,__worldColorTransform:null,__worldShader:null,__worldScale9Grid:null,__worldTransform:null,__worldVisible:null,__worldVisibleChanged:null,__worldTransformInvalid:null,__worldZ:null,__canvas:null,__context:null,__style:null,addEventListener:function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),e){case"activate":case"deactivate":case"enterFrame":case"exitFrame":case"frameConstructed":case"render":Object.prototype.hasOwnProperty.call(openfl_display_DisplayObject.__broadcastEvents.h,e)||(openfl_display_DisplayObject.__broadcastEvents.h[e]=[]);var s=openfl_display_DisplayObject.__broadcastEvents.h[e];-1==s.indexOf(this)&&s.push(this);break;case"clearDOM":case"renderCairo":case"renderCanvas":case"renderDOM":case"renderOpenGL":null==this.__customRenderEvent&&(this.__customRenderEvent=new openfl_events_RenderEvent(null),this.__customRenderEvent.objectColorTransform=new openfl_geom_ColorTransform,this.__customRenderEvent.objectMatrix=new openfl_geom_Matrix,this.__customRenderClear=!0)}openfl_events_EventDispatcher.prototype.addEventListener.call(this,e,t,i,l,n)},dispatchEvent:function(e){if(e instanceof openfl_events_MouseEvent){var t=e,i=this.__getRenderTransform();t.stageX=t.localX*i.a+t.localY*i.c+i.tx;i=this.__getRenderTransform();t.stageY=t.localX*i.b+t.localY*i.d+i.ty}else if(e instanceof openfl_events_TouchEvent){var l=e,i=this.__getRenderTransform();l.stageX=l.localX*i.a+l.localY*i.c+i.tx;i=this.__getRenderTransform();l.stageY=l.localX*i.b+l.localY*i.d+i.ty}return e.target=this,this.__dispatchWithCapture(e)},getBounds:function(e){var t=openfl_geom_Matrix.__pool.get();if(null!=e&&e!=this){t.copyFrom(this.__getWorldTransform());var i=openfl_geom_Matrix.__pool.get();i.copyFrom(e.__getWorldTransform()),i.invert(),t.concat(i),openfl_geom_Matrix.__pool.release(i)}else t.identity();var l=new openfl_geom_Rectangle;return this.__getBounds(l,t),openfl_geom_Matrix.__pool.release(t),l},getRect:function(e){return this.getBounds(e)},globalToLocal:function(e){return this.__globalToLocal(e,new openfl_geom_Point)},hitTestObject:function(e){if(null!=e&&null!=e.parent&&null!=this.parent){var t=this.getBounds(this),i=e.getBounds(this);return t.intersects(i)}return!1},hitTestPoint:function(e,t,i){return null==i&&(i=!1),null!=this.stage&&this.__hitTest(e,t,i,null,!1,this)},invalidate:function(){this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())},localToGlobal:function(e){return this.__getRenderTransform().transformPoint(e)},removeEventListener:function(e,t,i){switch(null==i&&(i=!1),openfl_events_EventDispatcher.prototype.removeEventListener.call(this,e,t,i),e){case"activate":case"deactivate":case"enterFrame":case"exitFrame":case"frameConstructed":case"render":this.hasEventListener(e)||Object.prototype.hasOwnProperty.call(openfl_display_DisplayObject.__broadcastEvents.h,e)&&HxOverrides.remove(openfl_display_DisplayObject.__broadcastEvents.h[e],this);break;case"clearDOM":case"renderCairo":case"renderCanvas":case"renderDOM":case"renderOpenGL":this.hasEventListener("clearDOM")||this.hasEventListener("renderCairo")||this.hasEventListener("renderCanvas")||this.hasEventListener("renderDOM")||this.hasEventListener("renderOpenGL")||(this.__customRenderEvent=null)}},__cleanup:function(){this.__cairo=null,this.__canvas=null,this.__context=null,null!=this.__graphics&&this.__graphics.__cleanup(),null!=this.__cacheBitmap&&(this.__cacheBitmap.__cleanup(),this.__cacheBitmap=null),null!=this.__cacheBitmapData&&(this.__cacheBitmapData.dispose(),this.__cacheBitmapData=null)},__dispatch:function(e){if(null!=this.__eventMap&&this.hasEventListener(e.type)){var t=openfl_events_EventDispatcher.prototype.__dispatchEvent.call(this,e);return!!e.__isCanceled||t}return!0},__dispatchChildren:function(e){},__dispatchEvent:function(e){var t=e.bubbles?this.parent:null,i=openfl_events_EventDispatcher.prototype.__dispatchEvent.call(this,e);return!!e.__isCanceled||(null!=t&&t!=this&&(e.eventPhase=3,null==e.target&&(e.target=this),t.__dispatchEvent(e)),i)},__dispatchWithCapture:function(e){if(null==e.target&&(e.target=this),null!=this.parent)if(e.eventPhase=1,this.parent==this.stage)this.parent.__dispatch(e);else{for(var t=openfl_display_DisplayObject.__tempStack.get(),i=this.parent,l=0;null!=i;)t.set(l,i),i=i.parent,++l;for(var n=0,s=l;n<s;){var a=n++;t.get(l-a-1).__dispatch(e)}openfl_display_DisplayObject.__tempStack.release(t)}return e.eventPhase=2,this.__dispatchEvent(e)},__enterFrame:function(e){},__getBounds:function(e,t){null!=this.__graphics&&this.__graphics.__getBounds(e,t)},__getCursor:function(){return null},__getFilterBounds:function(e,t){if(this.__getRenderBounds(e,t),null!=this.__filters){for(var i=openfl_geom_Rectangle.__pool.get(),l=0,n=this.__filters;l<n.length;){var s=n[l];++l,i.__expand(-s.__leftExtension,-s.__topExtension,s.__leftExtension+s.__rightExtension,s.__topExtension+s.__bottomExtension)}e.width+=i.width,e.height+=i.height,e.x+=i.x,e.y+=i.y,openfl_geom_Rectangle.__pool.release(i)}},__getInteractive:function(e){return!1},__getLocalBounds:function(e){this.__getBounds(e,this.__transform),e.x-=this.__transform.tx,e.y-=this.__transform.ty},__getRenderBounds:function(e,t){if(null==this.__scrollRect)this.__getBounds(e,t);else{var i=openfl_geom_Rectangle.__pool.get();i.copyFrom(this.__scrollRect),i.__transform(i,t),e.__expand(i.x,i.y,i.width,i.height),openfl_geom_Rectangle.__pool.release(i)}},__getRenderTransform:function(){return this.__getWorldTransform(),this.__renderTransform},__getWorldTransform:function(){if(this.__transformDirty||this.__worldTransformInvalid){var e=[],t=this;if(null==this.parent)this.__update(!0,!1);else for(;t!=this.stage&&(e.push(t),null!=(t=t.parent)););for(var i=e.length;--i>=0;)(t=e[i]).__update(!0,!1)}return this.__worldTransform},__globalToLocal:function(e,t){if(this.__getRenderTransform(),e==t)if(0==(n=(l=this.__renderTransform).a*l.d-l.b*l.c))e.x=-l.tx,e.y=-l.ty;else{var i=1/n*(l.c*(l.ty-e.y)+l.d*(e.x-l.tx));e.y=1/n*(l.a*(e.y-l.ty)+l.b*(l.tx-e.x)),e.x=i}else{var l=this.__renderTransform,n=l.a*l.d-l.b*l.c;t.x=0==n?-l.tx:1/n*(l.c*(l.ty-e.y)+l.d*(e.x-l.tx));n=(l=this.__renderTransform).a*l.d-l.b*l.c;t.y=0==n?-l.ty:1/n*(l.a*(e.y-l.ty)+l.b*(l.tx-e.x))}return t},__hitTest:function(e,t,i,l,n,s){if(null!=this.__graphics){if(!s.__visible||this.__isMask)return!1;if(null!=this.get_mask()&&!this.get_mask().__hitTestMask(e,t))return!1;if(this.__graphics.__hitTest(e,t,i,this.__getRenderTransform()))return null==l||n||l.push(s),!0}return!1},__hitTestMask:function(e,t){return!(null==this.__graphics||!this.__graphics.__hitTest(e,t,!0,this.__getRenderTransform()))},__readGraphicsData:function(e,t){null!=this.__graphics&&this.__graphics.__readGraphicsData(e)},__renderCairo:function(e){},__renderCairoMask:function(e){},__renderCanvas:function(e){if(null==this.get_mask()||this.get_mask().get_width()>0&&this.get_mask().get_height()>0)if(this.__updateCacheBitmap(e,!1),null==this.__cacheBitmap||this.__isCacheBitmapRender){if((null!=this.opaqueBackground||null!=this.__graphics)&&this.__renderable){var t=e.__getAlpha(this.__worldAlpha);if(!(t<=0)){if(null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height()>0){e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this);_=e.context;e.setTransform(this.__renderTransform,_);var i=this.opaqueBackground;_.fillStyle="rgb("+(i>>>16&255)+","+(i>>>8&255)+","+(255&i)+")",_.fillRect(0,0,this.get_width(),this.get_height()),e.__popMaskObject(this)}if(null!=this.__graphics&&this.__renderable&&!((t=e.__getAlpha(this.__worldAlpha))<=0)){var l=this.__graphics;if(null!=l){openfl_display__$internal_CanvasGraphics.render(l,e);var n=l.__width,s=l.__height,a=l.__canvas;if(null!=a&&l.__visible&&n>=1&&s>=1){var r=l.__worldTransform,_=e.context,o=this.__scrollRect,h=this.__worldScale9Grid;if(null==o||o.width>0&&o.height>0){if(e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this),_.globalAlpha=t,null!=h&&0==r.b&&0==r.c){_.setTransform(1,0,0,1,r.tx,r.ty);var u=l.__bounds,d=l.__renderTransform.a,c=l.__renderTransform.d,p=r.a,f=r.d,m=Math.max(1,Math.round(h.x*d)),x=Math.round(h.y*c),g=Math.max(1,Math.round((u.get_right()-h.get_right())*d)),F=Math.round((u.get_bottom()-h.get_bottom())*c),y=Math.round(h.width*d),S=Math.round(h.height*c),b=Math.round(h.x*p),U=Math.round(h.y*f),v=Math.round((u.get_right()-h.get_right())*p),T=Math.round((u.get_bottom()-h.get_bottom())*f),N=Math.round(n*p)-b-v,D=Math.round(s*f)-U-T;if(e.applySmoothing(_,!1),0!=y&&0!=S)_.drawImage(a,0,0,m,x,0,0,b,U),_.drawImage(a,m,0,y,x,b,0,N,U),_.drawImage(a,m+y,0,g,x,b+N,0,v,U),_.drawImage(a,0,x,m,S,0,U,b,D),_.drawImage(a,m,x,y,S,b,U,N,D),_.drawImage(a,m+y,x,g,S,b+N,U,v,D),_.drawImage(a,0,x+S,m,F,0,U+D,b,T),_.drawImage(a,m,x+S,y,F,b,U+D,N,T),_.drawImage(a,m+y,x+S,g,F,b+N,U+D,v,T);else if(0==y&&0!=S){var Q=b+N+v;_.drawImage(a,0,0,n,x,0,0,Q,U),_.drawImage(a,0,x,n,S,0,U,Q,D),_.drawImage(a,0,x+S,n,F,0,U+D,Q,T)}else if(0==S&&0!=y){var B=U+D+T;_.drawImage(a,0,0,m,s,0,0,b,B),_.drawImage(a,m,0,y,s,b,0,N,B),_.drawImage(a,m+y,0,g,s,b+N,0,v,B)}}else{if(e.setTransform(r,_),e.__isDOM){var R=1/e.pixelRatio;_.scale(R,R)}_.drawImage(a,0,0,n,s)}e.__popMaskObject(this)}}}}}}}else{var w=this.__cacheBitmap;if(w.__renderable&&(t=e.__getAlpha(w.__worldAlpha))>0&&null!=w.__bitmapData&&w.__bitmapData.__isValid&&w.__bitmapData.readable){_=e.context;e.__setBlendMode(w.__worldBlendMode),e.__pushMaskObject(w,!1),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(w.__bitmapData.image),_.globalAlpha=t;o=w.__scrollRect;e.setTransform(w.__renderTransform,_),e.__allowSmoothing&&w.smoothing||(_.imageSmoothingEnabled=!1),null==o?_.drawImage(w.__bitmapData.image.get_src(),0,0,w.__bitmapData.image.width,w.__bitmapData.image.height):_.drawImage(w.__bitmapData.image.get_src(),o.x,o.y,o.width,o.height),e.__allowSmoothing&&w.smoothing||(_.imageSmoothingEnabled=!0),e.__popMaskObject(w,!1)}}this.__renderEvent(e)},__renderCanvasMask:function(e){null!=this.__graphics&&openfl_display__$internal_CanvasGraphics.renderMask(this.__graphics,e)},__renderDOM:function(e){if(this.__updateCacheBitmap(e,!1),null==this.__cacheBitmap||this.__isCacheBitmapRender){null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height();var t=this.__graphics;if(null!=this.stage&&this.__worldVisible&&this.__renderable&&null!=t){if(openfl_display__$internal_CanvasGraphics.render(t,e.__canvasRenderer),(t.__softwareDirty||this.__worldAlphaChanged||this.__canvas!=t.__canvas)&&(null!=t.__canvas?this.__canvas!=t.__canvas&&(null!=this.__canvas&&e.element.removeChild(this.__canvas),this.__canvas=t.__canvas,this.__context=t.__context,e.__initializeElement(this,this.__canvas)):openfl_display__$internal_DOMShape.clear(this,e)),null!=this.__canvas){e.__pushMaskObject(this);var i=this.__renderTransform;this.__renderTransform=t.__worldTransform,t.__transformDirty&&(t.__transformDirty=!1,this.__renderTransformChanged=!0),e.__updateClip(this),e.__applyStyle(this,!0,!0,!0),this.__renderTransform=i,e.__popMaskObject(this)}}else openfl_display__$internal_DOMShape.clear(this,e)}else{this.__renderDOMClear(e),this.__cacheBitmap.stage=this.stage;var l=this.__cacheBitmap;null!=l.stage&&l.__worldVisible&&l.__renderable&&null!=l.__bitmapData&&l.__bitmapData.__isValid&&l.__bitmapData.readable?(e.__pushMaskObject(l),null!=l.__bitmapData.image.buffer.__srcImage?openfl_display__$internal_DOMBitmap.renderImage(l,e):openfl_display__$internal_DOMBitmap.renderCanvas(l,e),e.__popMaskObject(l)):openfl_display__$internal_DOMBitmap.clear(l,e)}this.__renderEvent(e)},__renderDOMClear:function(e){openfl_display__$internal_DOMDisplayObject.clear(this,e)},__renderEvent:function(e){if(null!=this.__customRenderEvent&&this.__renderable){switch(this.__customRenderEvent.allowSmoothing=e.__allowSmoothing,this.__customRenderEvent.objectMatrix.copyFrom(this.__renderTransform),this.__customRenderEvent.objectColorTransform.__copyFrom(this.__worldColorTransform),this.__customRenderEvent.renderer=e,e.__type){case"cairo":this.__customRenderEvent.type="renderCairo";break;case"canvas":this.__customRenderEvent.type="renderCanvas";break;case"dom":null!=this.stage&&this.__worldVisible?this.__customRenderEvent.type="renderDOM":this.__customRenderEvent.type="clearDOM";break;case"opengl":e.__cleared||e.__clear(),(t=e).setShader(this.__worldShader),t.__context3D.__flushGL(),this.__customRenderEvent.type="renderOpenGL";break;default:return}if(e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this),this.dispatchEvent(this.__customRenderEvent),e.__popMaskObject(this),"opengl"==e.__type){var t=e;t.setViewport()}}},__renderGL:function(e){if(this.__updateCacheBitmap(e,!1),null==this.__cacheBitmap||this.__isCacheBitmapRender){if((null!=this.opaqueBackground||null!=this.__graphics)&&this.__renderable&&!(this.__worldAlpha<=0)){if(null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height()>0){e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this);var t=e.__context3D,i=openfl_geom_Rectangle.__pool.get();i.setTo(0,0,this.get_width(),this.get_height()),e.__pushMaskRect(i,this.__renderTransform);var l=this.opaqueBackground;t.clear((l>>>16&255)/255,(l>>>8&255)/255,(255&l)/255,1,0,0,1),e.__popMaskRect(),e.__popMaskObject(this),openfl_geom_Rectangle.__pool.release(i)}null!=this.__graphics&&openfl_display__$internal_Context3DShape.render(this,e)}}else openfl_display__$internal_Context3DBitmap.render(this.__cacheBitmap,e);this.__renderEvent(e)},__renderGLMask:function(e){null!=this.__graphics&&openfl_display__$internal_Context3DShape.renderMask(this,e)},__setParentRenderDirty:function(){var e=null!=this.__renderParent?this.__renderParent:this.parent;null==e||e.__renderDirty||(e.__renderDirty=!0,e.__setParentRenderDirty())},__setRenderDirty:function(){this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())},__setStageReference:function(e){this.stage=e},__setTransformDirty:function(){this.__transformDirty||(this.__transformDirty=!0,this.__setWorldTransformInvalid(),this.__setParentRenderDirty())},__setWorldTransformInvalid:function(){this.__worldTransformInvalid=!0},__shouldCacheHardware:function(e){return 1==e||null!=this.__filters||!(0==e||null!=this.__graphics&&!openfl_display__$internal_Context3DGraphics.isCompatible(this.__graphics))&&null},__stopAllMovieClips:function(){},__update:function(e,t){var i=null!=this.__renderParent?this.__renderParent:this.parent;if(this.__isMask&&null==i&&(i=this.__maskTarget),this.__renderable=this.__visible&&0!=this.__scaleX&&0!=this.__scaleY&&!this.__isMask&&(null==i||!i.__isMask),this.__updateTransforms(),this.__transformDirty=!1,this.__worldTransformInvalid=!1,!e)if(openfl_display_DisplayObject.__supportDOM&&(this.__renderTransformChanged=!this.__renderTransform.equals(this.__renderTransformCache),null==this.__renderTransformCache?this.__renderTransformCache=this.__renderTransform.clone():this.__renderTransformCache.copyFrom(this.__renderTransform)),null!=i){if(openfl_display_DisplayObject.__supportDOM){var l=i.__worldVisible&&this.__visible;this.__worldVisibleChanged=this.__worldVisible!=l,this.__worldVisible=l;var n=this.get_alpha()*i.__worldAlpha;this.__worldAlphaChanged=this.__worldAlpha!=n,this.__worldAlpha=n}else this.__worldAlpha=this.get_alpha()*i.__worldAlpha;null!=this.__objectTransform?(this.__worldColorTransform.__copyFrom(this.__objectTransform.get_colorTransform()),this.__worldColorTransform.__combine(i.__worldColorTransform)):this.__worldColorTransform.__copyFrom(i.__worldColorTransform),null==this.__blendMode||10==this.__blendMode?this.__worldBlendMode=i.__worldBlendMode:this.__worldBlendMode=this.__blendMode,null==this.__shader?this.__worldShader=i.__shader:this.__worldShader=this.__shader,null==this.__scale9Grid?this.__worldScale9Grid=i.__scale9Grid:this.__worldScale9Grid=this.__scale9Grid}else this.__worldAlpha=this.get_alpha(),openfl_display_DisplayObject.__supportDOM&&(this.__worldVisibleChanged=this.__worldVisible!=this.__visible,this.__worldVisible=this.__visible,this.__worldAlphaChanged=this.__worldAlpha!=this.get_alpha()),null!=this.__objectTransform?this.__worldColorTransform.__copyFrom(this.__objectTransform.get_colorTransform()):this.__worldColorTransform.__identity(),this.__worldBlendMode=this.__blendMode,this.__worldShader=this.__shader,this.__worldScale9Grid=this.__scale9Grid;t&&null!=this.get_mask()&&this.get_mask().__update(e,!0)},__updateCacheBitmap:function(e,t){if(this.__isCacheBitmapRender)return!1;var i=openfl_geom_ColorTransform.__pool.get();i.__copyFrom(this.__worldColorTransform),null!=e.__worldColorTransform&&i.__combine(e.__worldColorTransform);var l=!1;if(this.get_cacheAsBitmap()||"opengl"!=e.__type&&!i.__isDefault(!0)){var n=null,s=null==this.__cacheBitmap||this.__renderDirty&&(t||null!=this.__children&&this.__children.length>0)||this.opaqueBackground!=this.__cacheBitmapBackground,a=s||null!=this.__graphics&&this.__graphics.__softwareDirty||!this.__cacheBitmapColorTransform.__equals(i,!0),r=s||null!=this.__graphics&&this.__graphics.__hardwareDirty,_=e.__type;(a||r)&&("opengl"==_&&0==this.__shouldCacheHardware(null)&&(_="canvas"),!a||"canvas"!=_&&"cairo"!=_||(s=!0),r&&"opengl"==_&&(s=!0));var o=s||!this.__cacheBitmap.__worldTransform.equals(this.__worldTransform),h=null!=this.__filters;if(h&&!s)for(var u=0,d=this.__filters;u<d.length;){O=d[u];if(++u,O.__renderDirty){s=!0;break}}null==this.__cacheBitmapMatrix&&(this.__cacheBitmapMatrix=new openfl_geom_Matrix);var c=null!=this.__cacheAsBitmapMatrix?this.__cacheAsBitmapMatrix:this.__renderTransform;s||c.a==this.__cacheBitmapMatrix.a&&c.b==this.__cacheBitmapMatrix.b&&c.c==this.__cacheBitmapMatrix.c&&c.d==this.__cacheBitmapMatrix.d||(s=!0),!s&&"opengl"!=e.__type&&null!=this.__cacheBitmapData&&null!=this.__cacheBitmapData.image&&this.__cacheBitmapData.image.version<this.__cacheBitmapData.__textureVersion&&(s=!0),this.__cacheBitmapMatrix.copyFrom(c),this.__cacheBitmapMatrix.tx=0,this.__cacheBitmapMatrix.ty=0;var p=0,f=0,m=0,x=0,g=0,F=0;if((o||s)&&(n=openfl_geom_Rectangle.__pool.get(),this.__getFilterBounds(n,this.__cacheBitmapMatrix),m=Math.ceil(n.width),x=Math.ceil(n.height),g=n.x>0?Math.ceil(n.x):Math.floor(n.x),F=n.y>0?Math.ceil(n.y):Math.floor(n.y),null!=this.__cacheBitmapData?m>this.__cacheBitmapData.width||x>this.__cacheBitmapData.height?(p=Math.ceil(Math.max(1.25*m,this.__cacheBitmapData.width)),f=Math.ceil(Math.max(1.25*x,this.__cacheBitmapData.height)),s=!0):(p=this.__cacheBitmapData.width,f=this.__cacheBitmapData.height):(p=m,f=x)),s){if(o=!0,this.__cacheBitmapBackground=this.opaqueBackground,!(m>=.5&&x>=.5))return openfl_geom_ColorTransform.__pool.release(i),this.__cacheBitmap=null,this.__cacheBitmapData=null,this.__cacheBitmapData2=null,this.__cacheBitmapData3=null,this.__cacheBitmapRenderer=null,!0;var y=null!=this.opaqueBackground&&(p!=m||f!=x),S=null!=this.opaqueBackground?-16777216|this.opaqueBackground:0,b=y?0:S,U="opengl"==e.__type;null==this.__cacheBitmapData||p>this.__cacheBitmapData.width||f>this.__cacheBitmapData.height?(this.__cacheBitmapData=new openfl_display_BitmapData(p,f,!0,b),null==this.__cacheBitmap&&(this.__cacheBitmap=new openfl_display_Bitmap),this.__cacheBitmap.__bitmapData=this.__cacheBitmapData,this.__cacheBitmapRenderer=null):this.__cacheBitmapData.__fillRect(this.__cacheBitmapData.rect,b,U),y&&(n.setTo(0,0,m,x),this.__cacheBitmapData.__fillRect(n,S,U))}else this.__cacheBitmapData=this.__cacheBitmap.get_bitmapData(),this.__cacheBitmapData2=null,this.__cacheBitmapData3=null;if((o||s)&&(this.__cacheBitmap.__worldTransform.copyFrom(this.__worldTransform),c==this.__renderTransform?(this.__cacheBitmap.__renderTransform.identity(),this.__cacheBitmap.__renderTransform.tx=this.__renderTransform.tx+g,this.__cacheBitmap.__renderTransform.ty=this.__renderTransform.ty+F):(this.__cacheBitmap.__renderTransform.copyFrom(this.__cacheBitmapMatrix),this.__cacheBitmap.__renderTransform.invert(),this.__cacheBitmap.__renderTransform.concat(this.__renderTransform),this.__cacheBitmap.__renderTransform.tx+=g,this.__cacheBitmap.__renderTransform.ty+=F)),this.__cacheBitmap.smoothing=e.__allowSmoothing,this.__cacheBitmap.__renderable=this.__renderable,this.__cacheBitmap.__worldAlpha=this.__worldAlpha,this.__cacheBitmap.__worldBlendMode=this.__worldBlendMode,this.__cacheBitmap.__worldShader=this.__worldShader,this.__cacheBitmap.set_mask(this.__mask),s){if(null==this.__cacheBitmapRenderer||_!=this.__cacheBitmapRenderer.__type){if("opengl"==_)this.__cacheBitmapRenderer=new openfl_display_OpenGLRenderer(js_Boot.__cast(e,openfl_display_OpenGLRenderer).__context3D,this.__cacheBitmapData);else{if(null==this.__cacheBitmapData.image){var v=null!=this.opaqueBackground?-16777216|this.opaqueBackground:0;this.__cacheBitmapData=new openfl_display_BitmapData(p,f,!0,v),this.__cacheBitmap.__bitmapData=this.__cacheBitmapData}lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this.__cacheBitmapData.image),this.__cacheBitmapRenderer=new openfl_display_CanvasRenderer(this.__cacheBitmapData.image.buffer.__srcContext)}this.__cacheBitmapRenderer.__worldTransform=new openfl_geom_Matrix,this.__cacheBitmapRenderer.__worldColorTransform=new openfl_geom_ColorTransform}if(null==this.__cacheBitmapColorTransform&&(this.__cacheBitmapColorTransform=new openfl_geom_ColorTransform),this.__cacheBitmapRenderer.__stage=this.stage,this.__cacheBitmapRenderer.__allowSmoothing=e.__allowSmoothing,this.__cacheBitmapRenderer.__setBlendMode(10),this.__cacheBitmapRenderer.__worldAlpha=1/this.__worldAlpha,this.__cacheBitmapRenderer.__worldTransform.copyFrom(this.__renderTransform),this.__cacheBitmapRenderer.__worldTransform.invert(),this.__cacheBitmapRenderer.__worldTransform.concat(this.__cacheBitmapMatrix),this.__cacheBitmapRenderer.__worldTransform.tx-=g,this.__cacheBitmapRenderer.__worldTransform.ty-=F,this.__cacheBitmapRenderer.__worldColorTransform.__copyFrom(i),this.__cacheBitmapRenderer.__worldColorTransform.__invert(),this.__isCacheBitmapRender=!0,"opengl"==this.__cacheBitmapRenderer.__type){var T=e,N=this.__cacheBitmapRenderer,D=N.__context3D,Q=D.__state.renderToTexture,B=D.__state.renderToTextureDepthStencil,R=D.__state.renderToTextureAntiAlias,w=D.__state.renderToTextureSurfaceSelector,E=T.__blendMode;if(T.__suspendClipAndMask(),N.__copyShader(T),this.__cacheBitmapData.__setUVRect(D,0,0,m,x),N.__setRenderTarget(this.__cacheBitmapData),null!=this.__cacheBitmapData.image&&(this.__cacheBitmapData.__textureVersion=this.__cacheBitmapData.image.version+1),this.__cacheBitmapData.__drawGL(this,N),h){for(var k=!0,W=!1,u=0,d=this.__filters;u<d.length;){O=d[u];++u,O.__preserveObject&&(W=!0)}var Z=this.__cacheBitmapData,M=null,P=null;null==this.__cacheBitmapData2||p>this.__cacheBitmapData2.width||f>this.__cacheBitmapData2.height?this.__cacheBitmapData2=new openfl_display_BitmapData(p,f,!0,0):(this.__cacheBitmapData2.fillRect(this.__cacheBitmapData2.rect,0),null!=this.__cacheBitmapData2.image&&(this.__cacheBitmapData2.__textureVersion=this.__cacheBitmapData2.image.version+1)),this.__cacheBitmapData2.__setUVRect(D,0,0,m,x),M=this.__cacheBitmapData2,W&&(null==this.__cacheBitmapData3||p>this.__cacheBitmapData3.width||f>this.__cacheBitmapData3.height?this.__cacheBitmapData3=new openfl_display_BitmapData(p,f,!0,0):(this.__cacheBitmapData3.fillRect(this.__cacheBitmapData3.rect,0),null!=this.__cacheBitmapData3.image&&(this.__cacheBitmapData3.__textureVersion=this.__cacheBitmapData3.image.version+1)),this.__cacheBitmapData3.__setUVRect(D,0,0,m,x),P=this.__cacheBitmapData3),N.__setBlendMode(10),N.__worldAlpha=1,N.__worldTransform.identity(),N.__worldColorTransform.__identity();for(var V,u=0,d=this.__filters;u<d.length;){O=d[u];++u,O.__preserveObject&&(N.__setRenderTarget(P),N.__renderFilterPass(Z,N.__defaultDisplayShader,O.__smooth));for(var A=0,G=O.__numShaderPasses;A<G;){var C=A++;V=O.__initShader(N,C,O.__preserveObject?P:null),N.__setBlendMode(O.__shaderBlendMode),N.__setRenderTarget(M),N.__renderFilterPass(Z,V,O.__smooth),I=Z,Z=M,M=I}O.__renderDirty=!1}this.__cacheBitmap.__bitmapData=Z}T.__blendMode=10,T.__setBlendMode(E),T.__copyShader(N),null!=Q?D.setRenderToTexture(Q,B,R,w):D.setRenderToBackBuffer(),T.__resumeClipAndMask(N),T.setViewport(),this.__cacheBitmapColorTransform.__copyFrom(i)}else{if(this.__cacheBitmapData.__drawCanvas(this,this.__cacheBitmapRenderer),h){for(var k=!1,W=!1,u=0,d=this.__filters;u<d.length;){O=d[u];++u,O.__needSecondBitmapData&&(k=!0),O.__preserveObject&&(W=!0)}var Z=this.__cacheBitmapData,M=null,P=null;k?(null==this.__cacheBitmapData2||null==this.__cacheBitmapData2.image||p>this.__cacheBitmapData2.width||f>this.__cacheBitmapData2.height?this.__cacheBitmapData2=new openfl_display_BitmapData(p,f,!0,0):this.__cacheBitmapData2.fillRect(this.__cacheBitmapData2.rect,0),M=this.__cacheBitmapData2):M=Z,W&&(null==this.__cacheBitmapData3||null==this.__cacheBitmapData3.image||p>this.__cacheBitmapData3.width||f>this.__cacheBitmapData3.height?this.__cacheBitmapData3=new openfl_display_BitmapData(p,f,!0,0):this.__cacheBitmapData3.fillRect(this.__cacheBitmapData3.rect,0),P=this.__cacheBitmapData3),null==this.__tempPoint&&(this.__tempPoint=new openfl_geom_Point);for(var I,L,J=this.__tempPoint,u=0,d=this.__filters;u<d.length;){var O=d[u];++u,O.__preserveObject&&P.copyPixels(Z,Z.rect,J),L=O.__applyFilter(M,Z,Z.rect,J),O.__preserveObject&&L.draw(P,null,null!=this.__objectTransform?this.__objectTransform.get_colorTransform():null),O.__renderDirty=!1,k&&L==M&&(I=Z,Z=M,M=I)}this.__cacheBitmapData!=Z&&(I=this.__cacheBitmapData,this.__cacheBitmapData=Z,this.__cacheBitmapData2=I,this.__cacheBitmap.__bitmapData=this.__cacheBitmapData,this.__cacheBitmapRenderer=null),this.__cacheBitmap.__imageVersion=this.__cacheBitmapData.__textureVersion}this.__cacheBitmapColorTransform.__copyFrom(i),this.__cacheBitmapColorTransform.__isDefault(!0)||(this.__cacheBitmapColorTransform.alphaMultiplier=1,this.__cacheBitmapData.colorTransform(this.__cacheBitmapData.rect,this.__cacheBitmapColorTransform))}this.__isCacheBitmapRender=!1}(o||s)&&openfl_geom_Rectangle.__pool.release(n),l=o}else null!=this.__cacheBitmap&&("dom"==e.__type&&this.__cacheBitmap.__renderDOMClear(e),this.__cacheBitmap=null,this.__cacheBitmapData=null,this.__cacheBitmapData2=null,this.__cacheBitmapData3=null,this.__cacheBitmapColorTransform=null,this.__cacheBitmapRenderer=null,l=!0);return openfl_geom_ColorTransform.__pool.release(i),l},__updateTransforms:function(e){var t=null!=e,i=t?e:this.__transform;null==this.__worldTransform&&(this.__worldTransform=new openfl_geom_Matrix),null==this.__renderTransform&&(this.__renderTransform=new openfl_geom_Matrix);var l=null!=this.__renderParent?this.__renderParent:this.parent;if(t||null==this.parent)this.__worldTransform.copyFrom(i);else{n=this.parent.__worldTransform;(s=this.__worldTransform).a=i.a*n.a+i.b*n.c,s.b=i.a*n.b+i.b*n.d,s.c=i.c*n.a+i.d*n.c,s.d=i.c*n.b+i.d*n.d,s.tx=i.tx*n.a+i.ty*n.c+n.tx,s.ty=i.tx*n.b+i.ty*n.d+n.ty}if(t||null==l)this.__renderTransform.copyFrom(i);else{var n=l.__renderTransform,s=this.__renderTransform;s.a=i.a*n.a+i.b*n.c,s.b=i.a*n.b+i.b*n.d,s.c=i.c*n.a+i.d*n.c,s.d=i.c*n.b+i.d*n.d,s.tx=i.tx*n.a+i.ty*n.c+n.tx,s.ty=i.tx*n.b+i.ty*n.d+n.ty}if(null!=this.__scrollRect){var a=this.__renderTransform,r=-this.__scrollRect.x,_=-this.__scrollRect.y;a.tx=r*a.a+_*a.c+a.tx,a.ty=r*a.b+_*a.d+a.ty}},get_alpha:function(){return this.__alpha},set_alpha:function(e){return e>1&&(e=1),e<0&&(e=0),e==this.__alpha||this.get_cacheAsBitmap()||this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__alpha=e},get_blendMode:function(){return this.__blendMode},set_blendMode:function(e){return null==e&&(e=10),e!=this.__blendMode&&(this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__blendMode=e},get_cacheAsBitmap:function(){return null!=this.__filters||this.__cacheAsBitmap},set_cacheAsBitmap:function(e){return e!=this.__cacheAsBitmap&&(this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__cacheAsBitmap=e},get_cacheAsBitmapMatrix:function(){return this.__cacheAsBitmapMatrix},set_cacheAsBitmapMatrix:function(e){return this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__cacheAsBitmapMatrix=null!=e?e.clone():e},get_filters:function(){return null==this.__filters?[]:this.__filters.slice()},set_filters:function(e){return null!=e&&e.length>0?(this.__filters=e,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())):null!=this.__filters&&(this.__filters=null,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),e},get_height:function(){var e=openfl_geom_Rectangle.__pool.get();this.__getLocalBounds(e);var t=e.height;return openfl_geom_Rectangle.__pool.release(e),t},set_height:function(e){var t=openfl_geom_Rectangle.__pool.get(),i=openfl_geom_Matrix.__pool.get();return i.identity(),this.__getBounds(t,i),e!=t.height?this.set_scaleY(e/t.height):this.set_scaleY(1),openfl_geom_Rectangle.__pool.release(t),openfl_geom_Matrix.__pool.release(i),e},get_loaderInfo:function(){return null!=this.stage?openfl__$internal_Lib.current.__loaderInfo:null},get_mask:function(){return this.__mask},set_mask:function(e){if(e==this.__mask)return e;if(e!=this.__mask&&(this.__setTransformDirty(),this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),null!=this.__mask){this.__mask.__isMask=!1,this.__mask.__maskTarget=null,this.__mask.__setTransformDirty();var t=this.__mask;t.__renderDirty||(t.__renderDirty=!0,t.__setParentRenderDirty())}return null!=e&&(e.__isMask=!0,e.__maskTarget=this,e.__setWorldTransformInvalid()),null!=this.__cacheBitmap&&this.__cacheBitmap.get_mask()!=e&&this.__cacheBitmap.set_mask(e),this.__mask=e},get_mouseX:function(){var e=null!=this.stage?this.stage.__mouseX:openfl__$internal_Lib.current.stage.__mouseX,t=null!=this.stage?this.stage.__mouseY:openfl__$internal_Lib.current.stage.__mouseY,i=this.__getRenderTransform(),l=i.a*i.d-i.b*i.c;return 0==l?-i.tx:1/l*(i.c*(i.ty-t)+i.d*(e-i.tx))},get_mouseY:function(){var e=null!=this.stage?this.stage.__mouseX:openfl__$internal_Lib.current.stage.__mouseX,t=null!=this.stage?this.stage.__mouseY:openfl__$internal_Lib.current.stage.__mouseY,i=this.__getRenderTransform(),l=i.a*i.d-i.b*i.c;return 0==l?-i.ty:1/l*(i.a*(t-i.ty)+i.b*(i.tx-e))},get_name:function(){return this.__name},set_name:function(e){return this.__name=e},get_root:function(){return null!=this.stage?openfl__$internal_Lib.current:null},get_rotation:function(){return this.__rotation},set_rotation:function(e){if(e!=this.__rotation){this.__rotation=e;var t=this.__rotation*(Math.PI/180);this.__rotationSine=Math.sin(t),this.__rotationCosine=Math.cos(t),this.__transform.a=this.__rotationCosine*this.__scaleX,this.__transform.b=this.__rotationSine*this.__scaleX,this.__transform.c=-this.__rotationSine*this.__scaleY,this.__transform.d=this.__rotationCosine*this.__scaleY,this.__setTransformDirty()}return e},get_scale9Grid:function(){return null==this.__scale9Grid?null:this.__scale9Grid.clone()},set_scale9Grid:function(e){return null==e&&null==this.__scale9Grid?e:null!=e&&null!=this.__scale9Grid&&this.__scale9Grid.equals(e)?e:(null!=e?(null==this.__scale9Grid&&(this.__scale9Grid=new openfl_geom_Rectangle),this.__scale9Grid.copyFrom(e)):this.__scale9Grid=null,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),e)},get_scaleX:function(){return this.__scaleX},set_scaleX:function(e){if(e!=this.__scaleX)if(this.__scaleX=e,0==this.__transform.b)e!=this.__transform.a&&this.__setTransformDirty(),this.__transform.a=e;else{var t=this.__rotationCosine*e,i=this.__rotationSine*e;this.__transform.a==t&&this.__transform.b==i||this.__setTransformDirty(),this.__transform.a=t,this.__transform.b=i}return e},get_scaleY:function(){return this.__scaleY},set_scaleY:function(e){if(e!=this.__scaleY)if(this.__scaleY=e,0==this.__transform.c)e!=this.__transform.d&&this.__setTransformDirty(),this.__transform.d=e;else{var t=-this.__rotationSine*e,i=this.__rotationCosine*e;this.__transform.d==i&&this.__transform.c==t||this.__setTransformDirty(),this.__transform.c=t,this.__transform.d=i}return e},get_scrollRect:function(){return null==this.__scrollRect?null:this.__scrollRect.clone()},set_scrollRect:function(e){return null==e&&null==this.__scrollRect?e:null!=e&&null!=this.__scrollRect&&this.__scrollRect.equals(e)?e:(null!=e?(null==this.__scrollRect&&(this.__scrollRect=new openfl_geom_Rectangle),this.__scrollRect.copyFrom(e)):this.__scrollRect=null,this.__setTransformDirty(),openfl_display_DisplayObject.__supportDOM&&(this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),e)},get_shader:function(){return this.__shader},set_shader:function(e){return this.__shader=e,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),e},get_transform:function(){return null==this.__objectTransform&&(this.__objectTransform=new openfl_geom_Transform(this)),this.__objectTransform},set_transform:function(e){if(null==e)throw haxe_Exception.thrown(new openfl_errors_TypeError("Parameter transform must be non-null."));return null==this.__objectTransform&&(this.__objectTransform=new openfl_geom_Transform(this)),this.__setTransformDirty(),this.__objectTransform.set_matrix(e.get_matrix()),this.__objectTransform.get_colorTransform().__equals(e.get_colorTransform(),!0)&&(this.get_cacheAsBitmap()||this.__objectTransform.get_colorTransform().alphaMultiplier==e.get_colorTransform().alphaMultiplier)||(this.__objectTransform.get_colorTransform().__copyFrom(e.get_colorTransform()),this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__objectTransform},get_visible:function(){return this.__visible},set_visible:function(e){return e!=this.__visible&&(this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__visible=e},get_width:function(){var e=openfl_geom_Rectangle.__pool.get();this.__getLocalBounds(e);var t=e.width;return openfl_geom_Rectangle.__pool.release(e),t},set_width:function(e){var t=openfl_geom_Rectangle.__pool.get(),i=openfl_geom_Matrix.__pool.get();return i.identity(),this.__getBounds(t,i),e!=t.width?this.set_scaleX(e/t.width):this.set_scaleX(1),openfl_geom_Rectangle.__pool.release(t),openfl_geom_Matrix.__pool.release(i),e},get_x:function(){return this.__transform.tx},set_x:function(e){return e!=this.__transform.tx&&this.__setTransformDirty(),this.__transform.tx=e},get_y:function(){return this.__transform.ty},set_y:function(e){return e!=this.__transform.ty&&this.__setTransformDirty(),this.__transform.ty=e},__class__:openfl_display_DisplayObject,__properties__:{set_y:"set_y",get_y:"get_y",set_x:"set_x",get_x:"get_x",set_width:"set_width",get_width:"get_width",set_visible:"set_visible",get_visible:"get_visible",set_transform:"set_transform",get_transform:"get_transform",set_shader:"set_shader",get_shader:"get_shader",set_scrollRect:"set_scrollRect",get_scrollRect:"get_scrollRect",set_scaleY:"set_scaleY",get_scaleY:"get_scaleY",set_scaleX:"set_scaleX",get_scaleX:"get_scaleX",set_scale9Grid:"set_scale9Grid",get_scale9Grid:"get_scale9Grid",set_rotation:"set_rotation",get_rotation:"get_rotation",get_root:"get_root",set_name:"set_name",get_name:"get_name",get_mouseY:"get_mouseY",get_mouseX:"get_mouseX",set_mask:"set_mask",get_mask:"get_mask",get_loaderInfo:"get_loaderInfo",set_height:"set_height",get_height:"get_height",set_filters:"set_filters",get_filters:"get_filters",set_cacheAsBitmapMatrix:"set_cacheAsBitmapMatrix",get_cacheAsBitmapMatrix:"get_cacheAsBitmapMatrix",set_cacheAsBitmap:"set_cacheAsBitmap",get_cacheAsBitmap:"get_cacheAsBitmap",set_blendMode:"set_blendMode",get_blendMode:"get_blendMode",set_alpha:"set_alpha",get_alpha:"get_alpha"}});var openfl_display_InteractiveObject=function(){openfl_display_DisplayObject.call(this),this.doubleClickEnabled=!1,this.mouseEnabled=!0,this.needsSoftKeyboard=!1,this.__tabEnabled=null,this.__tabIndex=-1};$hxClasses["openfl.display.InteractiveObject"]=openfl_display_InteractiveObject,openfl_display_InteractiveObject.__name__="openfl.display.InteractiveObject",openfl_display_InteractiveObject.__super__=openfl_display_DisplayObject,openfl_display_InteractiveObject.prototype=$extend(openfl_display_DisplayObject.prototype,{doubleClickEnabled:null,focusRect:null,mouseEnabled:null,needsSoftKeyboard:null,softKeyboardInputAreaOfInterest:null,__tabEnabled:null,__tabIndex:null,requestSoftKeyboard:function(){return openfl__$internal_Lib.notImplemented({fileName:"openfl/display/InteractiveObject.hx",lineNumber:57,className:"openfl.display.InteractiveObject",methodName:"requestSoftKeyboard"}),!1},__allowMouseFocus:function(){return this.get_tabEnabled()},__getInteractive:function(e){return null!=e&&(e.push(this),null!=this.parent&&this.parent.__getInteractive(e)),!0},__hitTest:function(e,t,i,l,n,s){return!(!s.get_visible()||this.__isMask||n&&!this.mouseEnabled)&&openfl_display_DisplayObject.prototype.__hitTest.call(this,e,t,i,l,n,s)},__tabTest:function(e){this.get_tabEnabled()&&e.push(this)},get_tabEnabled:function(){return 1==this.__tabEnabled},set_tabEnabled:function(e){return this.__tabEnabled!=e&&(this.__tabEnabled=e,this.dispatchEvent(new openfl_events_Event("tabEnabledChange",!0,!1))),this.__tabEnabled},get_tabIndex:function(){return this.__tabIndex},set_tabIndex:function(e){if(this.__tabIndex!=e){if(e<-1)throw haxe_Exception.thrown(new openfl_errors_RangeError("Parameter tabIndex must be a non-negative number; got "+e));this.__tabIndex=e,this.dispatchEvent(new openfl_events_Event("tabIndexChange",!0,!1))}return this.__tabIndex},__class__:openfl_display_InteractiveObject,__properties__:$extend(openfl_display_DisplayObject.prototype.__properties__,{set_tabIndex:"set_tabIndex",get_tabIndex:"get_tabIndex",set_tabEnabled:"set_tabEnabled",get_tabEnabled:"get_tabEnabled"})});var openfl_display_DisplayObjectContainer=function(){openfl_display_InteractiveObject.call(this),this.mouseChildren=!0,this.__tabChildren=!0,this.__children=[],this.__removedChildren=openfl_Vector.toObjectVector(null)};$hxClasses["openfl.display.DisplayObjectContainer"]=openfl_display_DisplayObjectContainer,openfl_display_DisplayObjectContainer.__name__="openfl.display.DisplayObjectContainer",openfl_display_DisplayObjectContainer.__super__=openfl_display_InteractiveObject,openfl_display_DisplayObjectContainer.prototype=$extend(openfl_display_InteractiveObject.prototype,{mouseChildren:null,__removedChildren:null,__tabChildren:null,addChild:function(e){return this.addChildAt(e,this.get_numChildren())},addChildAt:function(e,t){if(null==e)throw(i=new openfl_errors_TypeError("Error #2007: Parameter child must be non-null.")).errorID=2007,haxe_Exception.thrown(i);if(e.stage==e){var i=new openfl_errors_ArgumentError("Error #3783: A Stage object cannot be added as the child of another object.");throw i.errorID=3783,haxe_Exception.thrown(i)}if(t>this.__children.length||t<0)throw haxe_Exception.thrown("Invalid index position "+t);if(e.parent==this)this.__children[t]!=e&&(HxOverrides.remove(this.__children,e),this.__children.splice(t,0,e),this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()));else{null!=e.parent&&e.parent.removeChild(e),this.__children.splice(t,0,e),e.parent=this;var l=null!=this.stage&&null==e.stage;l&&e.__setStageReference(this.stage),e.__setTransformDirty(),e.__renderDirty||(e.__renderDirty=!0,e.__setParentRenderDirty()),this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty());var n=new openfl_events_Event("added");n.bubbles=!0,n.target=e,e.__dispatchWithCapture(n),l&&(n=new openfl_events_Event("addedToStage",!1,!1),e.__dispatchWithCapture(n),e.__dispatchChildren(n))}return e},areInaccessibleObjectsUnderPoint:function(e){return!1},contains:function(e){for(;e!=this&&null!=e;)e=e.parent;return e==this},getChildAt:function(e){return e>=0&&e<this.__children.length?this.__children[e]:null},getChildByName:function(e){for(var t=0,i=this.__children;t<i.length;){var l=i[t];if(++t,l.get_name()==e)return l}return null},getChildIndex:function(e){for(var t=0,i=this.__children.length;t<i;){var l=t++;if(this.__children[l]==e)return l}return-1},getObjectsUnderPoint:function(e){var t=[];return this.__hitTest(e.x,e.y,!1,t,!1,this),t.reverse(),t},removeChild:function(e){if(null!=e&&e.parent==this){e.__setTransformDirty(),e.__renderDirty||(e.__renderDirty=!0,e.__setParentRenderDirty()),this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty());t=new openfl_events_Event("removed",!0);if(e.__dispatchWithCapture(t),null!=this.stage){null!=e.stage&&this.stage.get_focus()==e&&this.stage.set_focus(null);var t=new openfl_events_Event("removedFromStage",!1,!1);e.__dispatchWithCapture(t),e.__dispatchChildren(t),e.__setStageReference(null)}e.parent=null,HxOverrides.remove(this.__children,e),this.__removedChildren.push(e),e.__setTransformDirty()}return e},removeChildAt:function(e){return e>=0&&e<this.__children.length?this.removeChild(this.__children[e]):null},removeChildren:function(e,t){if(null==t&&(t=2147483647),null==e&&(e=0),!(2147483647==t&&(t=this.__children.length-1)<0||e>this.__children.length-1)){if(t<e||e<0||t>this.__children.length)throw haxe_Exception.thrown(new openfl_errors_RangeError("The supplied index is out of bounds."));for(var i=t-e;i>=0;)this.removeChildAt(e),--i}},resolve:function(e){if(null==this.__children)return null;for(var t=0,i=this.__children;t<i.length;){var l=i[t];if(++t,l.get_name()==e)return l}return null},setChildIndex:function(e,t){t>=0&&t<=this.__children.length&&e.parent==this&&(HxOverrides.remove(this.__children,e),this.__children.splice(t,0,e))},stopAllMovieClips:function(){this.__stopAllMovieClips()},swapChildren:function(e,t){if(e.parent==this&&t.parent==this){var i=this.__children.indexOf(e),l=this.__children.indexOf(t);this.__children[i]=t,this.__children[l]=e,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())}},swapChildrenAt:function(e,t){var i=this.__children[e];this.__children[e]=this.__children[t],this.__children[t]=i,i=null,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())},__cleanup:function(){openfl_display_InteractiveObject.prototype.__cleanup.call(this);for(var e=0,t=this.__children;e<t.length;){var i=t[e];++e,i.__cleanup()}for(var l=this.__removedChildren.iterator();l.hasNext();){var n=l.next();null==n.stage&&n.__cleanup()}this.__removedChildren.set_length(0)},__cleanupRemovedChildren:function(){for(var e=this.__removedChildren.iterator();e.hasNext();){var t=e.next();null==t.stage&&t.__cleanup()}this.__removedChildren.set_length(0)},__dispatchChildren:function(e){if(null!=this.__children)for(var t=0,i=this.__children;t<i.length;){var l=i[t];if(++t,e.target=l,!l.__dispatchWithCapture(e))break;l.__dispatchChildren(e)}},__enterFrame:function(e){for(var t=0,i=this.__children;t<i.length;){var l=i[t];++t,l.__enterFrame(e)}},__getBounds:function(e,t){if(openfl_display_InteractiveObject.prototype.__getBounds.call(this,e,t),0!=this.__children.length){for(var i=openfl_geom_Matrix.__pool.get(),l=0,n=this.__children;l<n.length;){var s=n[l];if(++l,0!=s.__scaleX&&0!=s.__scaleY){var a=s.__transform;i.a=a.a*t.a+a.b*t.c,i.b=a.a*t.b+a.b*t.d,i.c=a.c*t.a+a.d*t.c,i.d=a.c*t.b+a.d*t.d,i.tx=a.tx*t.a+a.ty*t.c+t.tx,i.ty=a.tx*t.b+a.ty*t.d+t.ty,s.__getBounds(e,i)}}openfl_geom_Matrix.__pool.release(i)}},__getFilterBounds:function(e,t){if(openfl_display_InteractiveObject.prototype.__getFilterBounds.call(this,e,t),null==this.__scrollRect&&0!=this.__children.length){for(var i=openfl_geom_Matrix.__pool.get(),l=0,n=this.__children;l<n.length;){var s=n[l];if(++l,0!=s.__scaleX&&0!=s.__scaleY&&!s.__isMask){var a=s.__transform;i.a=a.a*t.a+a.b*t.c,i.b=a.a*t.b+a.b*t.d,i.c=a.c*t.a+a.d*t.c,i.d=a.c*t.b+a.d*t.d,i.tx=a.tx*t.a+a.ty*t.c+t.tx,i.ty=a.tx*t.b+a.ty*t.d+t.ty,s.__getFilterBounds(e,i)}}openfl_geom_Matrix.__pool.release(i)}},__getRenderBounds:function(e,t){if(null==this.__scrollRect){if(openfl_display_InteractiveObject.prototype.__getBounds.call(this,e,t),0!=this.__children.length){for(var i=openfl_geom_Matrix.__pool.get(),l=0,n=this.__children;l<n.length;){var s=n[l];if(++l,0!=s.__scaleX&&0!=s.__scaleY&&!s.__isMask){var a=s.__transform;i.a=a.a*t.a+a.b*t.c,i.b=a.a*t.b+a.b*t.d,i.c=a.c*t.a+a.d*t.c,i.d=a.c*t.b+a.d*t.d,i.tx=a.tx*t.a+a.ty*t.c+t.tx,i.ty=a.tx*t.b+a.ty*t.d+t.ty,s.__getRenderBounds(e,i)}}openfl_geom_Matrix.__pool.release(i)}}else openfl_display_InteractiveObject.prototype.__getRenderBounds.call(this,e,t)},__hitTest:function(e,t,i,l,n,s){if(!s.get_visible()||this.__isMask||n&&!this.mouseEnabled&&!this.mouseChildren)return!1;if(null!=this.get_mask()&&!this.get_mask().__hitTestMask(e,t))return!1;if(null!=this.__scrollRect){var a=openfl_geom_Point.__pool.get();a.setTo(e,t);var r=this.__getRenderTransform(),_=r.a*r.d-r.b*r.c;if(0==_)a.x=-r.tx,a.y=-r.ty;else{var o=1/_*(r.c*(r.ty-a.y)+r.d*(a.x-r.tx));a.y=1/_*(r.a*(a.y-r.ty)+r.b*(r.tx-a.x)),a.x=o}if(!this.__scrollRect.containsPoint(a))return openfl_geom_Point.__pool.release(a),!1;openfl_geom_Point.__pool.release(a)}var h=this.__children.length;if(!n){for(c=!1;--h>=0&&(!this.__children[h].__hitTest(e,t,i,l,!1,this.__children[h])||(c=!0,null!=l)););return c}if(null!=l&&this.mouseChildren){if(null!=l){for(var u=l.length,d=!1,c=!1;--h>=0&&!(((d=this.__children[h].__getInteractive(null))||this.mouseEnabled&&!c)&&this.__children[h].__hitTest(e,t,i,l,!0,this.__children[h])&&(c=!0,d&&l.length>u)););if(c)return l.splice(u,0,s),!0}}else for(;--h>=0;)if(this.__children[h].__hitTest(e,t,i,null,!0,this.__children[h]))return null!=l&&l.push(s),!0;return!1},__hitTestMask:function(e,t){for(var i=this.__children.length;--i>=0;)if(this.__children[i].__hitTestMask(e,t))return!0;return!1},__readGraphicsData:function(e,t){if(openfl_display_InteractiveObject.prototype.__readGraphicsData.call(this,e,t),t)for(var i=0,l=this.__children;i<l.length;){var n=l[i];++i,n.__readGraphicsData(e,t)}},__renderCairo:function(e){},__renderCairoMask:function(e){},__renderCanvas:function(e){for(var t=this.__removedChildren.iterator();t.hasNext();){var i=t.next();null==i.stage&&i.__cleanup()}if(this.__removedChildren.set_length(0),!(!this.__renderable||this.__worldAlpha<=0||null!=this.get_mask()&&(this.get_mask().get_width()<=0||this.get_mask().get_height()<=0))&&(openfl_display_InteractiveObject.prototype.__renderCanvas.call(this,e),null==this.__cacheBitmap||this.__isCacheBitmapRender)){if(e.__pushMaskObject(this),null!=e.__stage){for(var l=0,n=this.__children;l<n.length;){s=n[l];++l,s.__renderCanvas(e),s.__renderDirty=!1}this.__renderDirty=!1}else for(var l=0,n=this.__children;l<n.length;){var s=n[l];++l,s.__renderCanvas(e)}e.__popMaskObject(this)}},__renderCanvasMask:function(e){for(var t=this.__removedChildren.iterator();t.hasNext();){var i=t.next();null==i.stage&&i.__cleanup()}this.__removedChildren.set_length(0),null!=this.__graphics&&openfl_display__$internal_CanvasGraphics.renderMask(this.__graphics,e);for(var l=0,n=this.__children;l<n.length;){var s=n[l];++l,s.__renderCanvasMask(e)}},__renderDOM:function(e){for(t=this.__removedChildren.iterator();t.hasNext();)null==(i=t.next()).stage&&i.__renderDOM(e);for(var t=this.__removedChildren.iterator();t.hasNext();){var i=t.next();null==i.stage&&i.__cleanup()}if(this.__removedChildren.set_length(0),openfl_display_InteractiveObject.prototype.__renderDOM.call(this,e),null==this.__cacheBitmap||this.__isCacheBitmapRender){if(e.__pushMaskObject(this),null!=e.__stage){for(var l=0,n=this.__children;l<n.length;){s=n[l];++l,s.__renderDOM(e),s.__renderDirty=!1}this.__renderDirty=!1}else for(var l=0,n=this.__children;l<n.length;){var s=n[l];++l,s.__renderDOM(e)}e.__popMaskObject(this)}},__renderDOMClear:function(e){for(t=this.__removedChildren.iterator();t.hasNext();)null==(i=t.next()).stage&&i.__renderDOMClear(e);for(var t=this.__removedChildren.iterator();t.hasNext();){var i=t.next();null==i.stage&&i.__cleanup()}this.__removedChildren.set_length(0);for(var l=0,n=this.__children;l<n.length;){var s=n[l];++l,s.__renderDOMClear(e)}},__renderGL:function(e){for(var t=this.__removedChildren.iterator();t.hasNext();){var i=t.next();null==i.stage&&i.__cleanup()}if(this.__removedChildren.set_length(0),this.__renderable&&!(this.__worldAlpha<=0)&&(openfl_display_InteractiveObject.prototype.__renderGL.call(this,e),null==this.__cacheBitmap||this.__isCacheBitmapRender)){if(this.__children.length>0)if(e.__pushMaskObject(this),null!=e.__stage){for(var l=0,n=this.__children;l<n.length;){s=n[l];++l,s.__renderGL(e),s.__renderDirty=!1}this.__renderDirty=!1}else for(var l=0,n=this.__children;l<n.length;){var s=n[l];++l,s.__renderGL(e)}this.__children.length>0&&e.__popMaskObject(this)}},__renderGLMask:function(e){for(var t=this.__removedChildren.iterator();t.hasNext();){var i=t.next();null==i.stage&&i.__cleanup()}this.__removedChildren.set_length(0),null!=this.__graphics&&openfl_display__$internal_Context3DShape.renderMask(this,e);for(var l=0,n=this.__children;l<n.length;){var s=n[l];++l,s.__renderGLMask(e)}},__setStageReference:function(e){if(openfl_display_InteractiveObject.prototype.__setStageReference.call(this,e),null!=this.__children)for(var t=0,i=this.__children;t<i.length;){var l=i[t];++t,l.__setStageReference(e)}},__setWorldTransformInvalid:function(){if(!this.__worldTransformInvalid&&(this.__worldTransformInvalid=!0,null!=this.__children))for(var e=0,t=this.__children;e<t.length;){var i=t[e];++e,i.__setWorldTransformInvalid()}},__shouldCacheHardware:function(e){if(1==e)return!0;if(1==(e=openfl_display_InteractiveObject.prototype.__shouldCacheHardware.call(this,e)))return!0;if(null!=this.__children)for(var t=0,i=this.__children;t<i.length;){var l=i[t];if(++t,1==(e=l.__shouldCacheHardware(e)))return!0}return e},__stopAllMovieClips:function(){for(var e=0,t=this.__children;e<t.length;){var i=t[e];++e,i.__stopAllMovieClips()}},__tabTest:function(e){if(openfl_display_InteractiveObject.prototype.__tabTest.call(this,e),this.get_tabChildren())for(var t=0,i=this.__children;t<i.length;){var l=i[t];++t,l.__getInteractive(null)&&l.__tabTest(e)}},__update:function(e,t){if(openfl_display_InteractiveObject.prototype.__update.call(this,e,t),t)for(var i=0,l=this.__children;i<l.length;){var n=l[i];++i,n.__update(e,!0)}},get_numChildren:function(){return this.__children.length},get_tabChildren:function(){return this.__tabChildren},set_tabChildren:function(e){return this.__tabChildren!=e&&(this.__tabChildren=e,this.dispatchEvent(new openfl_events_Event("tabChildrenChange",!0,!1))),this.__tabChildren},__class__:openfl_display_DisplayObjectContainer,__properties__:$extend(openfl_display_InteractiveObject.prototype.__properties__,{set_tabChildren:"set_tabChildren",get_tabChildren:"get_tabChildren",get_numChildren:"get_numChildren"})});var openfl_display_Sprite=function(){openfl_display_DisplayObjectContainer.call(this),this.__buttonMode=!1,this.useHandCursor=!0};$hxClasses["openfl.display.Sprite"]=openfl_display_Sprite,openfl_display_Sprite.__name__="openfl.display.Sprite",openfl_display_Sprite.__super__=openfl_display_DisplayObjectContainer,openfl_display_Sprite.prototype=$extend(openfl_display_DisplayObjectContainer.prototype,{dropTarget:null,hitArea:null,useHandCursor:null,__buttonMode:null,startDrag:function(e,t){null==e&&(e=!1),null!=this.stage&&this.stage.__startDrag(this,e,t)},stopDrag:function(){null!=this.stage&&this.stage.__stopDrag(this)},__getCursor:function(){return this.__buttonMode&&this.useHandCursor?"button":null},__hitTest:function(e,t,i,l,n,s){if(n&&!this.mouseEnabled&&!this.mouseChildren)return!1;if(!s.get_visible()||this.__isMask)return this.__hitTestHitArea(e,t,i,l,n,s);if(null!=this.get_mask()&&!this.get_mask().__hitTestMask(e,t))return this.__hitTestHitArea(e,t,i,l,n,s);if(null!=this.__scrollRect){var a=openfl_geom_Point.__pool.get();a.setTo(e,t);var r=this.__getRenderTransform(),_=r.a*r.d-r.b*r.c;if(0==_)a.x=-r.tx,a.y=-r.ty;else{var o=1/_*(r.c*(r.ty-a.y)+r.d*(a.x-r.tx));a.y=1/_*(r.a*(a.y-r.ty)+r.b*(r.tx-a.x)),a.x=o}if(!this.__scrollRect.containsPoint(a))return openfl_geom_Point.__pool.release(a),this.__hitTestHitArea(e,t,i,l,!0,s);openfl_geom_Point.__pool.release(a)}return openfl_display_DisplayObjectContainer.prototype.__hitTest.call(this,e,t,i,l,n,s)?null==l||n:null==this.hitArea&&null!=this.__graphics&&this.__graphics.__hitTest(e,t,i,this.__getRenderTransform())?(null==l||n&&!this.mouseEnabled||l.push(s),!0):this.__hitTestHitArea(e,t,i,l,n,s)},__hitTestHitArea:function(e,t,i,l,n,s){if(null!=this.hitArea&&!this.hitArea.mouseEnabled){this.hitArea.mouseEnabled=!0;var a=this.hitArea.__hitTest(e,t,i,null,!0,s);return this.hitArea.mouseEnabled=!1,null!=l&&a&&(l[l.length]=s),a}return!1},__hitTestMask:function(e,t){return!!openfl_display_DisplayObjectContainer.prototype.__hitTestMask.call(this,e,t)||!(null==this.__graphics||!this.__graphics.__hitTest(e,t,!0,this.__getRenderTransform()))},get_graphics:function(){return null==this.__graphics&&(this.__graphics=new openfl_display_Graphics(this)),this.__graphics},get_tabEnabled:function(){return null==this.__tabEnabled?this.__buttonMode:this.__tabEnabled},get_buttonMode:function(){return this.__buttonMode},set_buttonMode:function(e){return this.__buttonMode=e},__class__:openfl_display_Sprite,__properties__:$extend(openfl_display_DisplayObjectContainer.prototype.__properties__,{get_graphics:"get_graphics",set_buttonMode:"set_buttonMode",get_buttonMode:"get_buttonMode"})});var Main=function(){this.startFullscreen=!1,this.skipSplash=!0,this.framerate=120,this.zoom=-1,this.initialState=TitleState,this.gameHeight=720,this.gameWidth=1280,openfl_display_Sprite.call(this),null!=this.stage?this.init():this.addEventListener("addedToStage",$bind(this,this.init))};$hxClasses.Main=Main,Main.__name__="Main",Main.main=function(){openfl_Lib.get_current().addChild(new Main)},Main.__super__=openfl_display_Sprite,Main.prototype=$extend(openfl_display_Sprite.prototype,{gameWidth:null,gameHeight:null,initialState:null,zoom:null,framerate:null,skipSplash:null,startFullscreen:null,init:function(e){this.hasEventListener("addedToStage")&&this.removeEventListener("addedToStage",$bind(this,this.init)),this.setupGame()},setupGame:function(){var e=openfl_Lib.get_current().stage.stageWidth,t=openfl_Lib.get_current().stage.stageHeight;if(-1==this.zoom){var i=e/this.gameWidth,l=t/this.gameHeight;this.zoom=Math.min(i,l),this.gameWidth=Math.ceil(e/this.zoom),this.gameHeight=Math.ceil(t/this.zoom)}this.initialState=TitleState,this.addChild(new flixel_FlxGame(this.gameWidth,this.gameHeight,this.initialState,this.zoom,this.framerate,this.framerate,this.skipSplash,this.startFullscreen)),this.addChild(new openfl_display_FPS(10,3,16777215))},__class__:Main});var DocumentClass=function(e){e.addChild(this),Main.call(this),this.dispatchEvent(new openfl_events_Event("addedToStage",!1,!1))};$hxClasses.DocumentClass=DocumentClass,DocumentClass.__name__="DocumentClass",DocumentClass.__super__=Main,DocumentClass.prototype=$extend(Main.prototype,{__class__:DocumentClass});var BackgroundDancer=function(e,t){this.danceDir=!1,flixel_FlxSprite.call(this,e,t);this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/limo/limoDancer.png","IMAGE",null),Paths.getPath("images/limo/limoDancer.xml","TEXT",null))),this.animation.addByIndices("danceLeft","bg dancer sketch PINK",[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.animation.addByIndices("danceRight","bg dancer sketch PINK",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.animation.play("danceLeft"),this.set_antialiasing(!0)};$hxClasses.BackgroundDancer=BackgroundDancer,BackgroundDancer.__name__="BackgroundDancer",BackgroundDancer.__super__=flixel_FlxSprite,BackgroundDancer.prototype=$extend(flixel_FlxSprite.prototype,{danceDir:null,dance:function(){this.danceDir=!this.danceDir,this.danceDir?this.animation.play("danceRight",!0):this.animation.play("danceLeft",!0)},__class__:BackgroundDancer});var BackgroundGirls=function(e,t){this.danceDir=!1,flixel_FlxSprite.call(this,e,t);this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/bgFreaks.png","IMAGE",null),Paths.getPath("images/weeb/bgFreaks.xml","TEXT",null))),this.animation.addByIndices("danceLeft","BG girls group",CoolUtil.numberArray(14),"",24,!1),this.animation.addByIndices("danceRight","BG girls group",CoolUtil.numberArray(30,15),"",24,!1),this.animation.play("danceLeft")};$hxClasses.BackgroundGirls=BackgroundGirls,BackgroundGirls.__name__="BackgroundGirls",BackgroundGirls.__super__=flixel_FlxSprite,BackgroundGirls.prototype=$extend(flixel_FlxSprite.prototype,{danceDir:null,getScared:function(){this.animation.addByIndices("danceLeft","BG fangirls dissuaded",CoolUtil.numberArray(14),"",24,!1),this.animation.addByIndices("danceRight","BG fangirls dissuaded",CoolUtil.numberArray(30,15),"",24,!1),this.dance()},dance:function(){this.danceDir=!this.danceDir,this.danceDir?this.animation.play("danceRight",!0):this.animation.play("danceLeft",!0)},__class__:BackgroundGirls});var Character=function(e,t,i,l){null==l&&(l=!1),null==i&&(i="bf"),this.danced=!1,this.holdTimer=0,this.curCharacter="bf",this.isPlayer=!1,this.debugMode=!1,flixel_FlxSprite.call(this,e,t),this.animOffsets=new haxe_ds_StringMap,this.curCharacter=i,this.isPlayer=l;var n;switch(this.set_antialiasing(!0),this.curCharacter){case"bf":var s=null,a=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/BOYFRIEND.png","IMAGE",s),Paths.getPath("images/BOYFRIEND.xml","TEXT",s));this.set_frames(a),this.animation.addByPrefix("idle","BF idle dance",24,!1),this.animation.addByPrefix("singUP","BF NOTE UP0",24,!1),this.animation.addByPrefix("singLEFT","BF NOTE LEFT0",24,!1),this.animation.addByPrefix("singRIGHT","BF NOTE RIGHT0",24,!1),this.animation.addByPrefix("singDOWN","BF NOTE DOWN0",24,!1),this.animation.addByPrefix("singUPmiss","BF NOTE UP MISS",24,!1),this.animation.addByPrefix("singLEFTmiss","BF NOTE LEFT MISS",24,!1),this.animation.addByPrefix("singRIGHTmiss","BF NOTE RIGHT MISS",24,!1),this.animation.addByPrefix("singDOWNmiss","BF NOTE DOWN MISS",24,!1),this.animation.addByPrefix("hey","BF HEY",24,!1),this.animation.addByPrefix("firstDeath","BF dies",24,!1),this.animation.addByPrefix("deathLoop","BF Dead Loop",24,!0),this.animation.addByPrefix("deathConfirm","BF Dead confirm",24,!1),this.animation.addByPrefix("scared","BF idle shaking",24),this.addOffset("idle",-5),this.addOffset("singUP",-29,27),this.addOffset("singRIGHT",-38,-7),this.addOffset("singLEFT",12,-6),this.addOffset("singDOWN",-10,-50),this.addOffset("singUPmiss",-29,27),this.addOffset("singRIGHTmiss",-30,21),this.addOffset("singLEFTmiss",12,24),this.addOffset("singDOWNmiss",-11,-19),this.addOffset("hey",7,4),this.addOffset("firstDeath",37,11),this.addOffset("deathLoop",37,5),this.addOffset("deathConfirm",37,69),this.addOffset("scared",-4),this.playAnim("idle"),this.set_flipX(!0);break;case"bf-car":var s=null,a=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/bfCar.png","IMAGE",s),Paths.getPath("images/bfCar.xml","TEXT",s));this.set_frames(a),this.animation.addByPrefix("idle","BF idle dance",24,!1),this.animation.addByPrefix("singUP","BF NOTE UP0",24,!1),this.animation.addByPrefix("singLEFT","BF NOTE LEFT0",24,!1),this.animation.addByPrefix("singRIGHT","BF NOTE RIGHT0",24,!1),this.animation.addByPrefix("singDOWN","BF NOTE DOWN0",24,!1),this.animation.addByPrefix("singUPmiss","BF NOTE UP MISS",24,!1),this.animation.addByPrefix("singLEFTmiss","BF NOTE LEFT MISS",24,!1),this.animation.addByPrefix("singRIGHTmiss","BF NOTE RIGHT MISS",24,!1),this.animation.addByPrefix("singDOWNmiss","BF NOTE DOWN MISS",24,!1),this.addOffset("idle",-5),this.addOffset("singUP",-29,27),this.addOffset("singRIGHT",-38,-7),this.addOffset("singLEFT",12,-6),this.addOffset("singDOWN",-10,-50),this.addOffset("singUPmiss",-29,27),this.addOffset("singRIGHTmiss",-30,21),this.addOffset("singLEFTmiss",12,24),this.addOffset("singDOWNmiss",-11,-19),this.playAnim("idle"),this.set_flipX(!0);break;case"bf-christmas":var s=null,a=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/bfChristmas.png","IMAGE",s),Paths.getPath("images/christmas/bfChristmas.xml","TEXT",s));this.set_frames(a),this.animation.addByPrefix("idle","BF idle dance",24,!1),this.animation.addByPrefix("singUP","BF NOTE UP0",24,!1),this.animation.addByPrefix("singLEFT","BF NOTE LEFT0",24,!1),this.animation.addByPrefix("singRIGHT","BF NOTE RIGHT0",24,!1),this.animation.addByPrefix("singDOWN","BF NOTE DOWN0",24,!1),this.animation.addByPrefix("singUPmiss","BF NOTE UP MISS",24,!1),this.animation.addByPrefix("singLEFTmiss","BF NOTE LEFT MISS",24,!1),this.animation.addByPrefix("singRIGHTmiss","BF NOTE RIGHT MISS",24,!1),this.animation.addByPrefix("singDOWNmiss","BF NOTE DOWN MISS",24,!1),this.animation.addByPrefix("hey","BF HEY",24,!1),this.addOffset("idle",-5),this.addOffset("singUP",-29,27),this.addOffset("singRIGHT",-38,-7),this.addOffset("singLEFT",12,-6),this.addOffset("singDOWN",-10,-50),this.addOffset("singUPmiss",-29,27),this.addOffset("singRIGHTmiss",-30,21),this.addOffset("singLEFTmiss",12,24),this.addOffset("singDOWNmiss",-11,-19),this.addOffset("hey",7,4),this.playAnim("idle"),this.set_flipX(!0);break;case"bf-pixel":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/bfPixel.png","IMAGE",s),Paths.getPath("images/weeb/bfPixel.xml","TEXT",s))),this.animation.addByPrefix("idle","BF IDLE",24,!1),this.animation.addByPrefix("singUP","BF UP NOTE",24,!1),this.animation.addByPrefix("singLEFT","BF LEFT NOTE",24,!1),this.animation.addByPrefix("singRIGHT","BF RIGHT NOTE",24,!1),this.animation.addByPrefix("singDOWN","BF DOWN NOTE",24,!1),this.animation.addByPrefix("singUPmiss","BF UP MISS",24,!1),this.animation.addByPrefix("singLEFTmiss","BF LEFT MISS",24,!1),this.animation.addByPrefix("singRIGHTmiss","BF RIGHT MISS",24,!1),this.animation.addByPrefix("singDOWNmiss","BF DOWN MISS",24,!1),this.addOffset("idle"),this.addOffset("singUP"),this.addOffset("singRIGHT"),this.addOffset("singLEFT"),this.addOffset("singDOWN"),this.addOffset("singUPmiss"),this.addOffset("singRIGHTmiss"),this.addOffset("singLEFTmiss"),this.addOffset("singDOWNmiss"),this.setGraphicSize(6*this.get_width()|0),this.updateHitbox(),this.playAnim("idle");var r=this;r.set_width(r.get_width()-100),(r=this).set_height(r.get_height()-100),this.set_antialiasing(!1),this.set_flipX(!0);break;case"bf-pixel-dead":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/bfPixelsDEAD.png","IMAGE",s),Paths.getPath("images/weeb/bfPixelsDEAD.xml","TEXT",s))),this.animation.addByPrefix("singUP","BF Dies pixel",24,!1),this.animation.addByPrefix("firstDeath","BF Dies pixel",24,!1),this.animation.addByPrefix("deathLoop","Retry Loop",24,!0),this.animation.addByPrefix("deathConfirm","RETRY CONFIRM",24,!1),this.animation.play("firstDeath"),this.addOffset("firstDeath"),this.addOffset("deathLoop",-37),this.addOffset("deathConfirm",-37),this.playAnim("firstDeath"),this.setGraphicSize(6*this.get_width()|0),this.updateHitbox(),this.set_antialiasing(!1),this.set_flipX(!0);break;case"dad":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/DADDY_DEAREST.png","IMAGE",s),Paths.getPath("images/DADDY_DEAREST.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("idle","Dad idle dance",24),this.animation.addByPrefix("singUP","Dad Sing Note UP",24),this.animation.addByPrefix("singRIGHT","Dad Sing Note RIGHT",24),this.animation.addByPrefix("singDOWN","Dad Sing Note DOWN",24),this.animation.addByPrefix("singLEFT","Dad Sing Note LEFT",24),this.addOffset("idle"),this.addOffset("singUP",-6,50),this.addOffset("singRIGHT",0,27),this.addOffset("singLEFT",-10,10),this.addOffset("singDOWN",0,-30),this.playAnim("idle");break;case"gf":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/GF_assets.png","IMAGE",s),Paths.getPath("images/GF_assets.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("cheer","GF Cheer",24,!1),this.animation.addByPrefix("singLEFT","GF left note",24,!1),this.animation.addByPrefix("singRIGHT","GF Right Note",24,!1),this.animation.addByPrefix("singUP","GF Up Note",24,!1),this.animation.addByPrefix("singDOWN","GF Down Note",24,!1),this.animation.addByIndices("sad","gf sad",[0,1,2,3,4,5,6,7,8,9,10,11,12],"",24,!1),this.animation.addByIndices("danceLeft","GF Dancing Beat",[30,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.animation.addByIndices("danceRight","GF Dancing Beat",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.animation.addByIndices("hairBlow","GF Dancing Beat Hair blowing",[0,1,2,3],"",24),this.animation.addByIndices("hairFall","GF Dancing Beat Hair Landing",[0,1,2,3,4,5,6,7,8,9,10,11],"",24,!1),this.animation.addByPrefix("scared","GF FEAR",24),this.addOffset("cheer"),this.addOffset("sad",-2,-2),this.addOffset("danceLeft",0,-9),this.addOffset("danceRight",0,-9),this.addOffset("singUP",0,4),this.addOffset("singRIGHT",0,-20),this.addOffset("singLEFT",0,-19),this.addOffset("singDOWN",0,-20),this.addOffset("hairBlow",45,-8),this.addOffset("hairFall",0,-9),this.addOffset("scared",-2,-17),this.playAnim("danceRight");break;case"gf-car":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/gfCar.png","IMAGE",s),Paths.getPath("images/gfCar.xml","TEXT",s)),this.set_frames(n),this.animation.addByIndices("singUP","GF Dancing Beat Hair blowing CAR",[0],"",24,!1),this.animation.addByIndices("danceLeft","GF Dancing Beat Hair blowing CAR",[30,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.animation.addByIndices("danceRight","GF Dancing Beat Hair blowing CAR",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.addOffset("danceLeft",0),this.addOffset("danceRight",0),this.playAnim("danceRight");break;case"gf-christmas":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/gfChristmas.png","IMAGE",s),Paths.getPath("images/christmas/gfChristmas.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("cheer","GF Cheer",24,!1),this.animation.addByPrefix("singLEFT","GF left note",24,!1),this.animation.addByPrefix("singRIGHT","GF Right Note",24,!1),this.animation.addByPrefix("singUP","GF Up Note",24,!1),this.animation.addByPrefix("singDOWN","GF Down Note",24,!1),this.animation.addByIndices("sad","gf sad",[0,1,2,3,4,5,6,7,8,9,10,11,12],"",24,!1),this.animation.addByIndices("danceLeft","GF Dancing Beat",[30,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.animation.addByIndices("danceRight","GF Dancing Beat",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.animation.addByIndices("hairBlow","GF Dancing Beat Hair blowing",[0,1,2,3],"",24),this.animation.addByIndices("hairFall","GF Dancing Beat Hair Landing",[0,1,2,3,4,5,6,7,8,9,10,11],"",24,!1),this.animation.addByPrefix("scared","GF FEAR",24),this.addOffset("cheer"),this.addOffset("sad",-2,-2),this.addOffset("danceLeft",0,-9),this.addOffset("danceRight",0,-9),this.addOffset("singUP",0,4),this.addOffset("singRIGHT",0,-20),this.addOffset("singLEFT",0,-19),this.addOffset("singDOWN",0,-20),this.addOffset("hairBlow",45,-8),this.addOffset("hairFall",0,-9),this.addOffset("scared",-2,-17),this.playAnim("danceRight");break;case"gf-pixel":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/gfPixel.png","IMAGE",s),Paths.getPath("images/weeb/gfPixel.xml","TEXT",s)),this.set_frames(n),this.animation.addByIndices("singUP","GF IDLE",[2],"",24,!1),this.animation.addByIndices("danceLeft","GF IDLE",[30,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.animation.addByIndices("danceRight","GF IDLE",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.addOffset("danceLeft",0),this.addOffset("danceRight",0),this.playAnim("danceRight"),this.setGraphicSize(this.get_width()*PlayState.daPixelZoom|0),this.updateHitbox(),this.set_antialiasing(!1);break;case"mom":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/Mom_Assets.png","IMAGE",s),Paths.getPath("images/Mom_Assets.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("idle","Mom Idle",24,!1),this.animation.addByPrefix("singUP","Mom Up Pose",24,!1),this.animation.addByPrefix("singDOWN","MOM DOWN POSE",24,!1),this.animation.addByPrefix("singLEFT","Mom Left Pose",24,!1),this.animation.addByPrefix("singRIGHT","Mom Pose Left",24,!1),this.addOffset("idle"),this.addOffset("singUP",14,71),this.addOffset("singRIGHT",10,-60),this.addOffset("singLEFT",250,-23),this.addOffset("singDOWN",20,-160),this.playAnim("idle");break;case"mom-car":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/momCar.png","IMAGE",s),Paths.getPath("images/momCar.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("idle","Mom Idle",24,!1),this.animation.addByPrefix("singUP","Mom Up Pose",24,!1),this.animation.addByPrefix("singDOWN","MOM DOWN POSE",24,!1),this.animation.addByPrefix("singLEFT","Mom Left Pose",24,!1),this.animation.addByPrefix("singRIGHT","Mom Pose Left",24,!1),this.addOffset("idle"),this.addOffset("singUP",14,71),this.addOffset("singRIGHT",10,-60),this.addOffset("singLEFT",250,-23),this.addOffset("singDOWN",20,-160),this.playAnim("idle");break;case"monster":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/Monster_Assets.png","IMAGE",s),Paths.getPath("images/Monster_Assets.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("idle","monster idle",24,!1),this.animation.addByPrefix("singUP","monster up note",24,!1),this.animation.addByPrefix("singDOWN","monster down",24,!1),this.animation.addByPrefix("singLEFT","Monster left note",24,!1),this.animation.addByPrefix("singRIGHT","Monster Right note",24,!1),this.addOffset("idle"),this.addOffset("singUP",-20,50),this.addOffset("singRIGHT",-51),this.addOffset("singLEFT",-30),this.addOffset("singDOWN",-30,-40),this.playAnim("idle");break;case"monster-christmas":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/monsterChristmas.png","IMAGE",s),Paths.getPath("images/christmas/monsterChristmas.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("idle","monster idle",24,!1),this.animation.addByPrefix("singUP","monster up note",24,!1),this.animation.addByPrefix("singDOWN","monster down",24,!1),this.animation.addByPrefix("singLEFT","Monster left note",24,!1),this.animation.addByPrefix("singRIGHT","Monster Right note",24,!1),this.addOffset("idle"),this.addOffset("singUP",-20,50),this.addOffset("singRIGHT",-51),this.addOffset("singLEFT",-30),this.addOffset("singDOWN",-40,-94),this.playAnim("idle");break;case"parents-christmas":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/mom_dad_christmas_assets.png","IMAGE",s),Paths.getPath("images/christmas/mom_dad_christmas_assets.xml","TEXT",s))),this.animation.addByPrefix("idle","Parent Christmas Idle",24,!1),this.animation.addByPrefix("singUP","Parent Up Note Dad",24,!1),this.animation.addByPrefix("singDOWN","Parent Down Note Dad",24,!1),this.animation.addByPrefix("singLEFT","Parent Left Note Dad",24,!1),this.animation.addByPrefix("singRIGHT","Parent Right Note Dad",24,!1),this.animation.addByPrefix("singUP-alt","Parent Up Note Mom",24,!1),this.animation.addByPrefix("singDOWN-alt","Parent Down Note Mom",24,!1),this.animation.addByPrefix("singLEFT-alt","Parent Left Note Mom",24,!1),this.animation.addByPrefix("singRIGHT-alt","Parent Right Note Mom",24,!1),this.addOffset("idle"),this.addOffset("singUP",-47,24),this.addOffset("singRIGHT",-1,-23),this.addOffset("singLEFT",-30,16),this.addOffset("singDOWN",-31,-29),this.addOffset("singUP-alt",-47,24),this.addOffset("singRIGHT-alt",-1,-24),this.addOffset("singLEFT-alt",-30,15),this.addOffset("singDOWN-alt",-30,-27),this.playAnim("idle");break;case"pico":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/Pico_FNF_assetss.png","IMAGE",s),Paths.getPath("images/Pico_FNF_assetss.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("idle","Pico Idle Dance",24),this.animation.addByPrefix("singUP","pico Up note0",24,!1),this.animation.addByPrefix("singDOWN","Pico Down Note0",24,!1),l?(this.animation.addByPrefix("singLEFT","Pico NOTE LEFT0",24,!1),this.animation.addByPrefix("singRIGHT","Pico Note Right0",24,!1),this.animation.addByPrefix("singRIGHTmiss","Pico Note Right Miss",24,!1),this.animation.addByPrefix("singLEFTmiss","Pico NOTE LEFT miss",24,!1)):(this.animation.addByPrefix("singLEFT","Pico Note Right0",24,!1),this.animation.addByPrefix("singRIGHT","Pico NOTE LEFT0",24,!1),this.animation.addByPrefix("singRIGHTmiss","Pico NOTE LEFT miss",24,!1),this.animation.addByPrefix("singLEFTmiss","Pico Note Right Miss",24,!1)),this.animation.addByPrefix("singUPmiss","pico Up note miss",24),this.animation.addByPrefix("singDOWNmiss","Pico Down Note MISS",24),this.addOffset("idle"),this.addOffset("singUP",-29,27),this.addOffset("singRIGHT",-68,-7),this.addOffset("singLEFT",65,9),this.addOffset("singDOWN",200,-70),this.addOffset("singUPmiss",-19,67),this.addOffset("singRIGHTmiss",-60,41),this.addOffset("singLEFTmiss",62,64),this.addOffset("singDOWNmiss",210,-28),this.playAnim("idle"),this.set_flipX(!0);break;case"ruv":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/sacredmass/ruv_sheet.png","IMAGE",s),Paths.getPath("images/sacredmass/ruv_sheet.xml","TEXT",s))),this.animation.addByPrefix("idle","RuvIdle",24,!1),this.animation.addByPrefix("singUP","RuvUp",24,!1),this.animation.addByPrefix("singDOWN","RuvDown",24,!1),this.animation.addByPrefix("singLEFT","RuvLeft",24,!1),this.animation.addByPrefix("singRIGHT","RuvRight",24,!1),this.addOffset("idle"),this.addOffset("singUP"),this.addOffset("singRIGHT"),this.addOffset("singLEFT"),this.addOffset("singDOWN"),this.playAnim("idle");break;case"sarvente":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/sacredmass/sarvente_sheet.png","IMAGE",s),Paths.getPath("images/sacredmass/sarvente_sheet.xml","TEXT",s))),this.animation.addByPrefix("idle","SarventeIdle",24,!1),this.animation.addByPrefix("singUP","SarventeUp",24,!1),this.animation.addByPrefix("singDOWN","SarventeDown",24,!1),this.animation.addByPrefix("singLEFT","SarventeLeft",24,!1),this.animation.addByPrefix("singRIGHT","SarventeRight",24,!1),this.addOffset("idle"),this.addOffset("singUP"),this.addOffset("singRIGHT"),this.addOffset("singLEFT"),this.addOffset("singDOWN"),this.playAnim("idle");break;case"sarvente-dark":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/sacredmass/sarvente_dark.png","IMAGE",s),Paths.getPath("images/sacredmass/sarvente_dark.xml","TEXT",s))),this.animation.addByPrefix("idle","SarvDarkIdle",24,!1),this.animation.addByPrefix("singUP","SarvDarkUp",24,!1),this.animation.addByPrefix("singDOWN","SarvDarkDown",24,!1),this.animation.addByPrefix("singLEFT","SarvDarkLeft",24,!1),this.animation.addByPrefix("singRIGHT","SarvDarkRight",24,!1),this.addOffset("idle"),this.addOffset("singUP"),this.addOffset("singRIGHT"),this.addOffset("singLEFT"),this.addOffset("singDOWN"),this.playAnim("idle");break;case"sarvente-lucifer":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/sacredmass/smokinhotbabe.png","IMAGE",s),Paths.getPath("images/sacredmass/smokinhotbabe.xml","TEXT",s))),this.animation.addByPrefix("idle","LuciferSarvIdle",24,!1),this.animation.addByPrefix("singUP","LuciferSarvUp",24,!1),this.animation.addByPrefix("singDOWN","LuciferSarvDown",24,!1),this.animation.addByPrefix("singLEFT","LuciferSarvLeft",24,!1),this.animation.addByPrefix("singRIGHT","LuciferSarvRight",24,!1),this.addOffset("idle"),this.addOffset("singUP"),this.addOffset("singRIGHT"),this.addOffset("singLEFT"),this.addOffset("singDOWN"),this.playAnim("idle");break;case"senpai":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/senpai.png","IMAGE",s),Paths.getPath("images/weeb/senpai.xml","TEXT",s))),this.animation.addByPrefix("idle","Senpai Idle",24,!1),this.animation.addByPrefix("singUP","SENPAI UP NOTE",24,!1),this.animation.addByPrefix("singLEFT","SENPAI LEFT NOTE",24,!1),this.animation.addByPrefix("singRIGHT","SENPAI RIGHT NOTE",24,!1),this.animation.addByPrefix("singDOWN","SENPAI DOWN NOTE",24,!1),this.addOffset("idle"),this.addOffset("singUP",5,37),this.addOffset("singRIGHT"),this.addOffset("singLEFT",40),this.addOffset("singDOWN",14),this.playAnim("idle"),this.setGraphicSize(6*this.get_width()|0),this.updateHitbox(),this.set_antialiasing(!1);break;case"senpai-angry":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/senpai.png","IMAGE",s),Paths.getPath("images/weeb/senpai.xml","TEXT",s))),this.animation.addByPrefix("idle","Angry Senpai Idle",24,!1),this.animation.addByPrefix("singUP","Angry Senpai UP NOTE",24,!1),this.animation.addByPrefix("singLEFT","Angry Senpai LEFT NOTE",24,!1),this.animation.addByPrefix("singRIGHT","Angry Senpai RIGHT NOTE",24,!1),this.animation.addByPrefix("singDOWN","Angry Senpai DOWN NOTE",24,!1),this.addOffset("idle"),this.addOffset("singUP",5,37),this.addOffset("singRIGHT"),this.addOffset("singLEFT",40),this.addOffset("singDOWN",14),this.playAnim("idle"),this.setGraphicSize(6*this.get_width()|0),this.updateHitbox(),this.set_antialiasing(!1);break;case"spirit":s=null;this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSpriteSheetPacker(Paths.getPath("images/weeb/spirit.png","IMAGE",s),Paths.getPath("images/weeb/spirit.txt","TEXT",s))),this.animation.addByPrefix("idle","idle spirit_",24,!1),this.animation.addByPrefix("singUP","up_",24,!1),this.animation.addByPrefix("singRIGHT","right_",24,!1),this.animation.addByPrefix("singLEFT","left_",24,!1),this.animation.addByPrefix("singDOWN","spirit down_",24,!1),this.addOffset("idle",-220,-280),this.addOffset("singUP",-220,-240),this.addOffset("singRIGHT",-220,-280),this.addOffset("singLEFT",-200,-280),this.addOffset("singDOWN",170,110),this.setGraphicSize(6*this.get_width()|0),this.updateHitbox(),this.playAnim("idle"),this.set_antialiasing(!1);break;case"spooky":s=null;n=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/spooky_kids_assets.png","IMAGE",s),Paths.getPath("images/spooky_kids_assets.xml","TEXT",s)),this.set_frames(n),this.animation.addByPrefix("singUP","spooky UP NOTE",24,!1),this.animation.addByPrefix("singDOWN","spooky DOWN note",24,!1),this.animation.addByPrefix("singLEFT","note sing left",24,!1),this.animation.addByPrefix("singRIGHT","spooky sing right",24,!1),this.animation.addByIndices("danceLeft","spooky dance idle",[0,2,6],"",12,!1),this.animation.addByIndices("danceRight","spooky dance idle",[8,10,12,14],"",12,!1),this.addOffset("danceLeft"),this.addOffset("danceRight"),this.addOffset("singUP",-20,26),this.addOffset("singRIGHT",-130,-14),this.addOffset("singLEFT",130,-10),this.addOffset("singDOWN",-50,-130),this.playAnim("danceRight")}if(this.dance(),l&&(this.set_flipX(!this.flipX),!StringTools.startsWith(this.curCharacter,"bf"))){var _=this.animation._animations.h.singRIGHT.frames;if(this.animation._animations.h.singRIGHT.frames=this.animation._animations.h.singLEFT.frames,this.animation._animations.h.singLEFT.frames=_,null!=this.animation._animations.h.singRIGHTmiss){var o=this.animation._animations.h.singRIGHTmiss.frames;this.animation._animations.h.singRIGHTmiss.frames=this.animation._animations.h.singLEFTmiss.frames,this.animation._animations.h.singLEFTmiss.frames=o}}};$hxClasses.Character=Character,Character.__name__="Character",Character.__super__=flixel_FlxSprite,Character.prototype=$extend(flixel_FlxSprite.prototype,{animOffsets:null,debugMode:null,isPlayer:null,curCharacter:null,holdTimer:null,update:function(e){if(!StringTools.startsWith(this.curCharacter,"bf")){StringTools.startsWith(this.animation._curAnim.name,"sing")&&(this.holdTimer+=e);var t=4;"dad"==this.curCharacter&&(t=6.1),this.holdTimer>=Conductor.stepCrochet*t*.001&&(this.dance(),this.holdTimer=0)}"gf"==this.curCharacter&&"hairFall"==this.animation._curAnim.name&&this.animation._curAnim.finished&&this.playAnim("danceRight"),flixel_FlxSprite.prototype.update.call(this,e)},danced:null,dance:function(){if(!this.debugMode)switch(this.curCharacter){case"gf":case"gf-car":case"gf-christmas":case"gf-pixel":StringTools.startsWith(this.animation._curAnim.name,"hair")||(this.danced=!this.danced,this.danced?this.playAnim("danceRight"):this.playAnim("danceLeft"));break;case"spooky":this.danced=!this.danced,this.danced?this.playAnim("danceRight"):this.playAnim("danceLeft");break;default:this.playAnim("idle")}},playAnim:function(e,t,i,l){null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1),this.animation.play(e,t,i,l);var n=this.animOffsets.h[e];Object.prototype.hasOwnProperty.call(this.animOffsets.h,e)?this.offset.set(n[0],n[1]):this.offset.set(0,0),"gf"==this.curCharacter&&("singLEFT"==e?this.danced=!0:"singRIGHT"==e&&(this.danced=!1),"singUP"!=e&&"singDOWN"!=e||(this.danced=!this.danced))},addOffset:function(e,t,i){null==i&&(i=0),null==t&&(t=0);var l=[t,i];this.animOffsets.h[e]=l},__class__:Character});var Boyfriend=function(e,t,i){null==i&&(i="bf"),this.stunned=!1,Character.call(this,e,t,i,!0)};$hxClasses.Boyfriend=Boyfriend,Boyfriend.__name__="Boyfriend",Boyfriend.__super__=Character,Boyfriend.prototype=$extend(Character.prototype,{stunned:null,update:function(e){this.debugMode||(StringTools.startsWith(this.animation._curAnim.name,"sing")?this.holdTimer+=e:this.holdTimer=0,StringTools.endsWith(this.animation._curAnim.name,"miss")&&this.animation._curAnim.finished&&!this.debugMode&&this.playAnim("idle",!0,!1,10),"firstDeath"==this.animation._curAnim.name&&this.animation._curAnim.finished&&this.playAnim("deathLoop")),Character.prototype.update.call(this,e)},__class__:Boyfriend});var flixel_group_FlxTypedGroup=function(e){null==e&&(e=0),this._marker=0,this.length=0,flixel_FlxBasic.call(this),this.members=[],this.set_maxSize(0|Math.abs(e)),this.flixelType=2};$hxClasses["flixel.group.FlxTypedGroup"]=flixel_group_FlxTypedGroup,flixel_group_FlxTypedGroup.__name__="flixel.group.FlxTypedGroup",flixel_group_FlxTypedGroup.overlaps=function(e,t,i,l,n,s){var a=!1;if(null!=t)for(var r,_=0,o=t.length;_<o;)if(null!=(r=t.members[_++])&&e(r,i,l,n,s)){a=!0;break}return a},flixel_group_FlxTypedGroup.resolveGroup=function(e){var t=null;return null!=e&&(2==e.flixelType?t=e:4==e.flixelType&&(t=e.group)),t},flixel_group_FlxTypedGroup.__super__=flixel_FlxBasic,flixel_group_FlxTypedGroup.prototype=$extend(flixel_FlxBasic.prototype,{members:null,maxSize:null,length:null,_memberAdded:null,_memberRemoved:null,_marker:null,destroy:function(){if(flixel_FlxBasic.prototype.destroy.call(this),flixel_util_FlxDestroyUtil.destroy(this._memberAdded),flixel_util_FlxDestroyUtil.destroy(this._memberRemoved),null!=this.members){for(var e=0,t=null;e<this.length;)null!=(t=this.members[e++])&&t.destroy();this.members=null}},update:function(e){for(var t=0,i=null;t<this.length;)null!=(i=this.members[t++])&&i.exists&&i.active&&i.update(e)},draw:function(){var e=0,t=null,i=flixel_FlxCamera.defaultCameras;for(null!=this.get_cameras()&&(flixel_FlxCamera.defaultCameras=this.get_cameras());e<this.length;)null!=(t=this.members[e++])&&t.exists&&t.visible&&t.draw();flixel_FlxCamera.defaultCameras=i},add:function(e){if(null==e)return null;if(this.members.indexOf(e)>=0)return e;var t=this.getFirstNull();return-1!=t?(this.members[t]=e,t>=this.length&&(this.length=t+1),null!=this._memberAdded&&this._memberAdded.dispatch(e),e):this.maxSize>0&&this.length>=this.maxSize?e:(this.members.push(e),this.length++,null!=this._memberAdded&&this._memberAdded.dispatch(e),e)},insert:function(e,t){return null==t?null:this.members.indexOf(t)>=0?t:e<this.length&&null==this.members[e]?(this.members[e]=t,null!=this._memberAdded&&this._memberAdded.dispatch(t),t):this.maxSize>0&&this.length>=this.maxSize?t:(this.members.splice(e,0,t),this.length++,null!=this._memberAdded&&this._memberAdded.dispatch(t),t)},recycle:function(e,t,i,l){null==l&&(l=!0),null==i&&(i=!1);var n=null;if(this.maxSize>0){if(this.length<this.maxSize){s=null;return null!=t?(s=t(),this.add(s)):null!=e&&(s=Type.createInstance(e,[]),this.add(s)),s}return n=this.members[this._marker++],this._marker>=this.maxSize&&(this._marker=0),l&&n.revive(),n}if(null!=(n=this.getFirstAvailable(e,i)))return l&&n.revive(),n;var s=null;return null!=t?(s=t(),this.add(s)):null!=e&&(s=Type.createInstance(e,[]),this.add(s)),s},recycleCreateObject:function(e,t){var i=null;return null!=t?(i=t(),this.add(i)):null!=e&&(i=Type.createInstance(e,[]),this.add(i)),i},remove:function(e,t){if(null==t&&(t=!1),null==this.members)return null;var i=this.members.indexOf(e);return i<0?null:(t?(this.members.splice(i,1),this.length--):this.members[i]=null,null!=this._memberRemoved&&this._memberRemoved.dispatch(e),e)},replace:function(e,t){var i=this.members.indexOf(e);return i<0?null:(this.members[i]=t,null!=this._memberRemoved&&this._memberRemoved.dispatch(e),null!=this._memberAdded&&this._memberAdded.dispatch(t),t)},sort:function(e,t){null==t&&(t=-1);var i=e,l=t,n=function(e,t){return i(l,e,t)};this.members.sort(n)},getFirstAvailable:function(e,t){null==t&&(t=!1);for(var i=0,l=null;i<this.length;)if(null!=(l=this.members[i++])&&!l.exists&&(null==e||js_Boot.__instanceof(l,e))){if(!!t&&js_Boot.getClass(l).__name__!=e.__name__)continue;return this.members[i-1]}return null},getFirstNull:function(){for(var e=0;e<this.length;){if(null==this.members[e])return e;++e}return-1},getFirstExisting:function(){for(var e=0,t=null;e<this.length;)if(null!=(t=this.members[e++])&&t.exists)return t;return null},getFirstAlive:function(){for(var e=0,t=null;e<this.length;)if(null!=(t=this.members[e++])&&t.exists&&t.alive)return t;return null},getFirstDead:function(){for(var e=0,t=null;e<this.length;)if(null!=(t=this.members[e++])&&!t.alive)return t;return null},countLiving:function(){for(var e=0,t=-1,i=null;e<this.length;)null!=(i=this.members[e++])&&(t<0&&(t=0),i.exists&&i.alive&&++t);return t},countDead:function(){for(var e=0,t=-1,i=null;e<this.length;)null!=(i=this.members[e++])&&(t<0&&(t=0),i.alive||++t);return t},getRandom:function(e,t){return null==t&&(t=0),null==e&&(e=0),e<0&&(e=0),t<=0&&(t=this.length),flixel_FlxG.random.getObject_flixel_group_FlxTypedGroup_T(this.members,null,e,t)},clear:function(){if(this.length=0,null!=this._memberRemoved)for(var e=0,t=this.members;e<t.length;){var i=t[e];++e,null!=i&&this._memberRemoved.dispatch(i)}flixel_util_FlxArrayUtil.clearArray(this.members)},kill:function(){for(var e=0,t=null;e<this.length;)null!=(t=this.members[e++])&&t.exists&&t.kill();flixel_FlxBasic.prototype.kill.call(this)},revive:function(){for(var e=0,t=null;e<this.length;)null==(t=this.members[e++])||t.exists||t.revive();flixel_FlxBasic.prototype.revive.call(this)},iterator:function(e){return new flixel_group_FlxTypedGroupIterator(this.members,e)},forEach:function(e,t){null==t&&(t=!1);for(var i=0,l=null;i<this.length;)if(null!=(l=this.members[i++])){if(t){var n=flixel_group_FlxTypedGroup.resolveGroup(l);null!=n&&n.forEach(e,t)}e(l)}},forEachAlive:function(e,t){null==t&&(t=!1);for(var i=0,l=null;i<this.length;)if(null!=(l=this.members[i++])&&l.exists&&l.alive){if(t){var n=flixel_group_FlxTypedGroup.resolveGroup(l);null!=n&&n.forEachAlive(e,t)}e(l)}},forEachDead:function(e,t){null==t&&(t=!1);for(var i=0,l=null;i<this.length;)if(null!=(l=this.members[i++])&&!l.alive){if(t){var n=flixel_group_FlxTypedGroup.resolveGroup(l);null!=n&&n.forEachDead(e,t)}e(l)}},forEachExists:function(e,t){null==t&&(t=!1);for(var i=0,l=null;i<this.length;)if(null!=(l=this.members[i++])&&l.exists){if(t){var n=flixel_group_FlxTypedGroup.resolveGroup(l);null!=n&&n.forEachExists(e,t)}e(l)}},forEachOfType:function(e,t,i){null==i&&(i=!1);for(var l=0,n=null;l<this.length;)if(null!=(n=this.members[l++])){if(i){var s=flixel_group_FlxTypedGroup.resolveGroup(n);null!=s&&s.forEachOfType(e,t,i)}js_Boot.__instanceof(n,e)&&t(n)}},set_maxSize:function(e){if(this.maxSize=0|Math.abs(e),this._marker>=this.maxSize&&(this._marker=0),0==this.maxSize||null==this.members||this.maxSize>=this.length)return this.maxSize;for(var t=this.maxSize,i=this.length,l=null;t<i;)null!=(l=this.members[t++])&&(null!=this._memberRemoved&&this._memberRemoved.dispatch(l),l.destroy());return flixel_util_FlxArrayUtil.setLength_flixel_group_FlxTypedGroup_T(this.members,this.maxSize),this.length=this.members.length,this.maxSize},get_memberAdded:function(){return null==this._memberAdded&&(this._memberAdded=new flixel_util__$FlxSignal_FlxSignal1),this._memberAdded},get_memberRemoved:function(){return null==this._memberRemoved&&(this._memberRemoved=new flixel_util__$FlxSignal_FlxSignal1),this._memberRemoved},__class__:flixel_group_FlxTypedGroup,__properties__:$extend(flixel_FlxBasic.prototype.__properties__,{get_memberRemoved:"get_memberRemoved",get_memberAdded:"get_memberAdded",set_maxSize:"set_maxSize"})});var flixel_FlxState=function(e){this._requestSubStateReset=!1,this.destroySubStates=!0,this.persistentDraw=!0,this.persistentUpdate=!1,flixel_group_FlxTypedGroup.call(this,e)};$hxClasses["flixel.FlxState"]=flixel_FlxState,flixel_FlxState.__name__="flixel.FlxState",flixel_FlxState.__super__=flixel_group_FlxTypedGroup,flixel_FlxState.prototype=$extend(flixel_group_FlxTypedGroup.prototype,{persistentUpdate:null,persistentDraw:null,destroySubStates:null,subState:null,_requestedSubState:null,_requestSubStateReset:null,create:function(){},draw:function(){(this.persistentDraw||null==this.subState)&&flixel_group_FlxTypedGroup.prototype.draw.call(this),null!=this.subState&&this.subState.draw()},openSubState:function(e){this._requestSubStateReset=!0,this._requestedSubState=e},closeSubState:function(){this._requestSubStateReset=!0},resetSubState:function(){null!=this.subState&&(null!=this.subState.closeCallback&&this.subState.closeCallback(),this.destroySubStates&&this.subState.destroy()),this.subState=this._requestedSubState,this._requestedSubState=null,null!=this.subState&&(this.persistentUpdate||flixel_FlxG.inputs.onStateSwitch(),this.subState._parentState=this,this.subState._created||(this.subState._created=!0,this.subState.create()),null!=this.subState.openCallback&&this.subState.openCallback())},destroy:function(){null!=this.subState&&(this.subState.destroy(),this.subState=null),flixel_group_FlxTypedGroup.prototype.destroy.call(this)},switchTo:function(e){return!0},onFocusLost:function(){},onFocus:function(){},onResize:function(e,t){},tryUpdate:function(e){(this.persistentUpdate||null==this.subState)&&this.update(e),this._requestSubStateReset&&(this._requestSubStateReset=!1,this.resetSubState()),null!=this.subState&&this.subState.tryUpdate(e)},get_bgColor:function(){return flixel_FlxG.cameras.get_bgColor()},set_bgColor:function(e){return flixel_FlxG.cameras.set_bgColor(e)},__class__:flixel_FlxState,__properties__:$extend(flixel_group_FlxTypedGroup.prototype.__properties__,{set_bgColor:"set_bgColor",get_bgColor:"get_bgColor"})});var flixel_addons_transition_FlxTransitionableState=function(e,t){this._exiting=!1,this.transOutFinished=!1,this.transIn=e,this.transOut=t,null==this.transIn&&null!=flixel_addons_transition_FlxTransitionableState.defaultTransIn&&(this.transIn=flixel_addons_transition_FlxTransitionableState.defaultTransIn),null==this.transOut&&null!=flixel_addons_transition_FlxTransitionableState.defaultTransOut&&(this.transOut=flixel_addons_transition_FlxTransitionableState.defaultTransOut),flixel_FlxState.call(this)};$hxClasses["flixel.addons.transition.FlxTransitionableState"]=flixel_addons_transition_FlxTransitionableState,flixel_addons_transition_FlxTransitionableState.__name__="flixel.addons.transition.FlxTransitionableState",flixel_addons_transition_FlxTransitionableState.__super__=flixel_FlxState,flixel_addons_transition_FlxTransitionableState.prototype=$extend(flixel_FlxState.prototype,{transIn:null,transOut:null,destroy:function(){flixel_FlxState.prototype.destroy.call(this),this.transIn=null,this.transOut=null,this._onExit=null},create:function(){flixel_FlxState.prototype.create.call(this),this.transitionIn()},switchTo:function(e){return!this.get_hasTransOut()||(this._exiting||this.transitionToState(e),this.transOutFinished)},transitionToState:function(e){this._exiting=!0,this.transitionOut(function(){flixel_FlxG.game._state.switchTo(e)&&(flixel_FlxG.game._requestedState=e)}),flixel_addons_transition_FlxTransitionableState.skipNextTransOut&&(flixel_addons_transition_FlxTransitionableState.skipNextTransOut=!1,this.finishTransOut())},transitionIn:function(){if(null!=this.transIn&&"none"!=this.transIn.type){if(flixel_addons_transition_FlxTransitionableState.skipNextTransIn)return flixel_addons_transition_FlxTransitionableState.skipNextTransIn=!1,void(null!=this.finishTransIn&&this.finishTransIn());var e=this.createTransition(this.transIn);e.setStatus(3),this.openSubState(e),e.set_finishCallback($bind(this,this.finishTransIn)),e.start(1)}},transitionOut:function(e){if(this._onExit=e,this.get_hasTransOut()){var t=this.createTransition(this.transOut);t.setStatus(2),this.openSubState(t),t.set_finishCallback($bind(this,this.finishTransOut)),t.start(0)}else this._onExit()},transOutFinished:null,_exiting:null,_onExit:null,get_hasTransIn:function(){return null!=this.transIn&&"none"!=this.transIn.type},get_hasTransOut:function(){return null!=this.transOut&&"none"!=this.transOut.type},createTransition:function(e){switch(e.type){case"fade":case"tiles":return new flixel_addons_transition_Transition(e);default:return null}},finishTransIn:function(){this.closeSubState()},finishTransOut:function(){this.transOutFinished=!0,this._exiting||this.closeSubState(),null!=this._onExit&&this._onExit()},__class__:flixel_addons_transition_FlxTransitionableState,__properties__:$extend(flixel_FlxState.prototype.__properties__,{get_hasTransOut:"get_hasTransOut",get_hasTransIn:"get_hasTransIn"})});var flixel_addons_ui_interfaces_IEventGetter=function(){};$hxClasses["flixel.addons.ui.interfaces.IEventGetter"]=flixel_addons_ui_interfaces_IEventGetter,flixel_addons_ui_interfaces_IEventGetter.__name__="flixel.addons.ui.interfaces.IEventGetter",flixel_addons_ui_interfaces_IEventGetter.__isInterface__=!0,flixel_addons_ui_interfaces_IEventGetter.prototype={getEvent:null,getRequest:null,__class__:flixel_addons_ui_interfaces_IEventGetter};var flixel_addons_ui_interfaces_IFlxUIState=function(){};$hxClasses["flixel.addons.ui.interfaces.IFlxUIState"]=flixel_addons_ui_interfaces_IFlxUIState,flixel_addons_ui_interfaces_IFlxUIState.__name__="flixel.addons.ui.interfaces.IFlxUIState",flixel_addons_ui_interfaces_IFlxUIState.__isInterface__=!0,flixel_addons_ui_interfaces_IFlxUIState.__interfaces__=[flixel_addons_ui_interfaces_IEventGetter],flixel_addons_ui_interfaces_IFlxUIState.prototype={forceFocus:null,tooltips:null,cursor:null,_tongue:null,__class__:flixel_addons_ui_interfaces_IFlxUIState};var flixel_addons_ui_FlxUIState=function(e,t){this.getTextFallback=null,this._reload_countdown=0,this._reload=!1,this.reload_ui_on_resize=!1,this._xml_id="",this._cursorHidden=!1,this.hideCursorOnSubstate=!1,this.cursor=null,flixel_addons_transition_FlxTransitionableState.call(this,e,t)};$hxClasses["flixel.addons.ui.FlxUIState"]=flixel_addons_ui_FlxUIState,flixel_addons_ui_FlxUIState.__name__="flixel.addons.ui.FlxUIState",flixel_addons_ui_FlxUIState.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIState,flixel_addons_ui_interfaces_IEventGetter],flixel_addons_ui_FlxUIState.__super__=flixel_addons_transition_FlxTransitionableState,flixel_addons_ui_FlxUIState.prototype=$extend(flixel_addons_transition_FlxTransitionableState.prototype,{destroyed:null,cursor:null,hideCursorOnSubstate:null,_cursorHidden:null,tooltips:null,_xml_id:null,_makeCursor:null,_ui_vars:null,_ui:null,_tongue:null,reload_ui_on_resize:null,_reload:null,_reload_countdown:null,getTextFallback:null,create:function(){null!=flixel_addons_ui_FlxUIState.static_tongue&&(this._tongue=flixel_addons_ui_FlxUIState.static_tongue),1==this._makeCursor&&(this.cursor=this.createCursor()),this.tooltips=new flixel_addons_ui_FlxUITooltipManager(this);if(this._ui=this.createUI(null,this,null,this._tongue),this.add(this._ui),null!=this.getTextFallback&&(this._ui.getTextFallback=this.getTextFallback),null!=this._xml_id&&""!=this._xml_id){var e=null,t="";try{e=flixel_addons_ui_U.xml(this._xml_id)}catch(e){if(haxe_NativeStackTrace.lastError=e,"string"!=typeof(i=haxe_Exception.caught(e).unwrap()))throw e;t=i}if(null==e)try{e=flixel_addons_ui_U.xml(this._xml_id,"xml",!0,"")}catch(e){haxe_NativeStackTrace.lastError=e;var i=haxe_Exception.caught(e).unwrap();if("string"!=typeof i)throw e;t+=", "+i}null==e||this.loadUIFromData(e)}else this.loadUIFromData(null);null!=this.cursor&&null!=this._ui&&(this.add(this.cursor),this.cursor.addWidgetsFromUI(this._ui),this.cursor.findVisibleLocation(0)),this.tooltips.init(),flixel_addons_transition_FlxTransitionableState.prototype.create.call(this),this.cleanup()},update:function(e){flixel_addons_transition_FlxTransitionableState.prototype.update.call(this,e),null!=this.tooltips&&this.tooltips.update(e),this._reload&&this._reload_countdown>0&&0==--this._reload_countdown&&this.reloadUI()},cleanup:function(){this._ui.cleanup()},_cleanupUIVars:function(){if(null!=this._ui_vars){for(var e=haxe_ds_StringMap.keysIterator(this._ui_vars.h);e.hasNext();){var t=e.next(),i=this._ui_vars;Object.prototype.hasOwnProperty.call(i.h,t)&&delete i.h[t]}this._ui_vars=null}},setUIVariable:function(e,t){null!=this._ui?this._ui.setVariable(e,t):(null==this._ui_vars&&(this._ui_vars=new haxe_ds_StringMap),this._ui_vars.h[e]=t)},resizeScreen:function(e,t){null==t&&(t=600),null==e&&(e=800)},openSubState:function(e){null!=this.cursor&&this.hideCursorOnSubstate&&1==this.cursor.visible&&(this._cursorHidden=!0,this.cursor.set_visible(!1)),flixel_addons_transition_FlxTransitionableState.prototype.openSubState.call(this,e)},closeSubState:function(){null!=this.cursor&&this.hideCursorOnSubstate&&this._cursorHidden&&(this._cursorHidden=!1,this.cursor.set_visible(!0)),flixel_addons_transition_FlxTransitionableState.prototype.closeSubState.call(this)},onResize:function(e,t){this.reload_ui_on_resize&&(flixel_FlxG.scaleMode.onMeasure(e,t),this._reload_countdown=1,this._reload=!0)},onShowTooltip:function(e){},destroy:function(){this.destroyed=!0,null!=this._ui&&(this._ui.destroy(),this.remove(this._ui,!0),this._ui=null),null!=this.tooltips&&(this.tooltips.destroy(),this.tooltips=null),flixel_addons_transition_FlxTransitionableState.prototype.destroy.call(this)},forceFocus:function(e,t){null!=this._ui&&(e?this._ui.set_focus(t):this._ui.set_focus(null))},onCursorEvent:function(e,t){this.getEvent(e,t,null)},getEvent:function(e,t,i,l){},getRequest:function(e,t,i,l){return null},getText:function(e,t,i){return null==i&&(i=!0),null==t&&(t="ui"),null!=this._tongue?this._tongue.get(e,t,i):null!=this.getTextFallback?this.getTextFallback(e,t,i):e},createCursor:function(){return new flixel_addons_ui_FlxUICursor($bind(this,this.onCursorEvent))},createUI:function(e,t,i,l,n){null==n&&(n="");var s=new flixel_addons_ui_FlxUI(e,t,i,l,n,this._ui_vars);return this._cleanupUIVars(),s},loadUIFromData:function(e){this._ui.load(e)},reloadUI:function(e){null!=this._ui&&(this.remove(this._ui,!0),this._ui.destroy(),this._ui=null),this._ui=this.createUI(null,this,null,this._tongue),this.add(this._ui);var t=flixel_addons_ui_U.xml(this._xml_id);null!=t&&this.loadUIFromData(t),this._reload=!1,this._reload_countdown=0},__class__:flixel_addons_ui_FlxUIState});var MusicBeatState=function(e,t){this.curBeat=0,this.curStep=0,this.lastStep=0,this.lastBeat=0,flixel_addons_ui_FlxUIState.call(this,e,t)};$hxClasses.MusicBeatState=MusicBeatState,MusicBeatState.__name__="MusicBeatState",MusicBeatState.__super__=flixel_addons_ui_FlxUIState,MusicBeatState.prototype=$extend(flixel_addons_ui_FlxUIState.prototype,{lastBeat:null,lastStep:null,curStep:null,curBeat:null,get_controls:function(){return PlayerSettings.player1.controls},create:function(){null!=this.transIn&&haxe_Log.trace("reg "+Std.string(this.transIn.region),{fileName:"source/MusicBeatState.hx",lineNumber:25,className:"MusicBeatState",methodName:"create"}),flixel_addons_ui_FlxUIState.prototype.create.call(this)},update:function(e){var t=this.curStep;this.updateCurStep(),this.updateBeat(),t!=this.curStep&&this.curStep>0&&this.stepHit(),flixel_addons_ui_FlxUIState.prototype.update.call(this,e)},updateBeat:function(){this.curBeat=Math.floor(this.curStep/4)},updateCurStep:function(){for(var e={stepTime:0,songTime:0,bpm:0},t=0,i=Conductor.bpmChangeMap.length;t<i;){var l=t++;Conductor.songPosition>=Conductor.bpmChangeMap[l].songTime&&(e=Conductor.bpmChangeMap[l])}this.curStep=e.stepTime+Math.floor((Conductor.songPosition-e.songTime)/Conductor.stepCrochet)},stepHit:function(){this.curStep%4==0&&this.beatHit()},beatHit:function(){},__class__:MusicBeatState,__properties__:$extend(flixel_addons_ui_FlxUIState.prototype.__properties__,{get_controls:"get_controls"})});var ChartingState=function(e,t){this.daSpacing=.3,this.writingNotes=!1,this.updatedSection=!1,this.tempBpm=0,this.GRID_SIZE=40,this.amountSteps=0,this.curSong="Dadbattle",this.curSection=0,MusicBeatState.call(this,e,t)};$hxClasses.ChartingState=ChartingState,ChartingState.__name__="ChartingState",ChartingState.__super__=MusicBeatState,ChartingState.prototype=$extend(MusicBeatState.prototype,{_file:null,UI_box:null,curSection:null,bpmTxt:null,strumLine:null,curSong:null,amountSteps:null,bullshitUI:null,writingNotesText:null,highlight:null,GRID_SIZE:null,dummyArrow:null,curRenderedNotes:null,curRenderedSustains:null,gridBG:null,_song:null,typingShit:null,curSelectedNote:null,tempBpm:null,gridBlackLine:null,vocals:null,leftIcon:null,rightIcon:null,create:function(){this.curSection=ChartingState.lastSection,this.gridBG=flixel_addons_display_FlxGridOverlay.create(this.GRID_SIZE,this.GRID_SIZE,8*this.GRID_SIZE,16*this.GRID_SIZE),this.add(this.gridBG),this.leftIcon=new HealthIcon("bf"),this.rightIcon=new HealthIcon("dad"),this.leftIcon.scrollFactor.set(1,1),this.rightIcon.scrollFactor.set(1,1),this.leftIcon.setGraphicSize(0,45),this.rightIcon.setGraphicSize(0,45),this.add(this.leftIcon),this.add(this.rightIcon),this.leftIcon.setPosition(0,-100),this.rightIcon.setPosition(this.gridBG.get_width()/2,-100),this.gridBlackLine=new flixel_FlxSprite(this.gridBG.x+this.gridBG.get_width()/2).makeGraphic(2,0|this.gridBG.get_height(),-16777216),this.add(this.gridBlackLine),this.curRenderedNotes=new flixel_group_FlxTypedGroup,this.curRenderedSustains=new flixel_group_FlxTypedGroup,null!=PlayState.SONG?this._song=PlayState.SONG:this._song={song:"Test",notes:[],bpm:150,needsVoices:!0,player1:"bf",player2:"dad",speed:1,validScore:!1},flixel_FlxG.mouse.set_visible(!0),flixel_FlxG.save.bind("funkin","ninjamuffin99"),this.tempBpm=this._song.bpm,this.addSection(),this.updateGrid(),this.loadSong(this._song.song),Conductor.changeBPM(this._song.bpm),Conductor.mapBPMChanges(this._song),this.bpmTxt=new flixel_text_FlxText(1e3,50,0,"",16),this.bpmTxt.scrollFactor.set(),this.add(this.bpmTxt),this.strumLine=new flixel_FlxSprite(0,50).makeGraphic(flixel_FlxG.width/2|0,4),this.add(this.strumLine),this.dummyArrow=(new flixel_FlxSprite).makeGraphic(this.GRID_SIZE,this.GRID_SIZE),this.add(this.dummyArrow);var e=[{name:"Song",label:"Song"},{name:"Section",label:"Section"},{name:"Note",label:"Note"}];this.UI_box=new flixel_addons_ui_FlxUITabMenu(null,null,e,null,!0),this.UI_box.resize(300,400),this.UI_box.set_x(flixel_FlxG.width/2),this.UI_box.set_y(20),this.add(this.UI_box),this.addSongUI(),this.addSectionUI(),this.addNoteUI(),this.add(this.curRenderedNotes),this.add(this.curRenderedSustains),MusicBeatState.prototype.create.call(this)},addSongUI:function(){var e=this,t=new flixel_addons_ui_FlxUIInputText(10,10,70,this._song.song,8);this.typingShit=t;var i=new flixel_addons_ui_FlxUICheckBox(10,25,null,null,"Has voice track",100);i.set_checked(this._song.needsVoices),i.callback=function(){e._song.needsVoices=i.checked,haxe_Log.trace("CHECKED!",{fileName:"source/ChartingState.hx",lineNumber:190,className:"ChartingState",methodName:"addSongUI"})};var l=new flixel_addons_ui_FlxUICheckBox(10,200,null,null,"Mute Instrumental (in editor)",100);l.set_checked(!1),l.callback=function(){var e=1;l.checked&&(e=0),flixel_FlxG.sound.music.set_volume(e)};var n=new flixel_ui_FlxButton(110,8,"Save",function(){e.saveLevel()}),s=new flixel_ui_FlxButton(n.x+n.get_width()+10,n.y,"Reload Audio",function(){e.loadSong(e._song.song)}),a=new flixel_ui_FlxButton(s.x,n.y+30,"Reload JSON",function(){e.loadJson(e._song.song.toLowerCase())}),r=new flixel_ui_FlxButton(10,140,"Reset",function(){for(var t=0,i=e._song.notes.length;t<i;)for(var l=t++,n=0,s=e._song.notes[l].sectionNotes.length;n<s;){n++;e._song.notes[l].sectionNotes=[]}e.resetSection(!0)}),_=new flixel_ui_FlxButton(a.x,a.y+30,"load autosave",$bind(this,this.loadAutosave)),o=new flixel_addons_ui_FlxUINumericStepper(10,80,.1,1,.1,10,1);o.set_value(this._song.speed),o.name="song_speed";var h=new flixel_addons_ui_FlxUINumericStepper(10,65,.1,1,1,5e3,1);h.set_value(Conductor.bpm),h.name="song_bpm";var u=CoolUtil.coolTextFile(Paths.getPath("data/characterList.txt","TEXT",null)),d=new flixel_addons_ui_FlxUIDropDownMenu(10,100,flixel_addons_ui_FlxUIDropDownMenu.makeStrIdLabelArray(u,!0),function(t){e._song.player1=u[Std.parseInt(t)]});d.set_selectedLabel(this._song.player1);var c=new flixel_addons_ui_FlxUIDropDownMenu(140,100,flixel_addons_ui_FlxUIDropDownMenu.makeStrIdLabelArray(u,!0),function(t){e._song.player2=u[Std.parseInt(t)]});c.set_selectedLabel(this._song.player2);var p=new flixel_addons_ui_FlxUI(null,this.UI_box);p.name="Song",p.add(t),p.add(r),p.add(i),p.add(l),p.add(n),p.add(s),p.add(a),p.add(_),p.add(h),p.add(o),p.add(d),p.add(c),this.UI_box.addGroup(p),this.UI_box.scrollFactor.set(),flixel_FlxG.camera.follow(this.strumLine)},stepperLength:null,check_mustHitSection:null,check_changeBPM:null,stepperSectionBPM:null,check_altAnim:null,addSectionUI:function(){var e=this,t=new flixel_addons_ui_FlxUI(null,this.UI_box);t.name="Section",this.stepperLength=new flixel_addons_ui_FlxUINumericStepper(10,10,4,0,0,999,0),this.stepperLength.set_value(this._song.notes[this.curSection].lengthInSteps),this.stepperLength.name="section_length",this.stepperSectionBPM=new flixel_addons_ui_FlxUINumericStepper(10,80,1,Conductor.bpm,0,999,0),this.stepperSectionBPM.set_value(Conductor.bpm),this.stepperSectionBPM.name="section_bpm";var i=new flixel_addons_ui_FlxUINumericStepper(110,130,1,1,-999,999,0),l=new flixel_ui_FlxButton(10,130,"Copy last section",function(){e.copySection(0|i.value)}),n=new flixel_ui_FlxButton(10,150,"Clear",$bind(this,this.clearSection)),s=new flixel_ui_FlxButton(10,170,"Swap section",function(){for(var t=0,i=e._song.notes[e.curSection].sectionNotes.length;t<i;){var l=t++,n=e._song.notes[e.curSection].sectionNotes[l];n[1]=(n[1]+4)%8,e._song.notes[e.curSection].sectionNotes[l]=n,e.updateGrid()}});this.check_mustHitSection=new flixel_addons_ui_FlxUICheckBox(10,30,null,null,"Must hit section",100),this.check_mustHitSection.name="check_mustHit",this.check_mustHitSection.set_checked(!0),this.check_altAnim=new flixel_addons_ui_FlxUICheckBox(10,400,null,null,"Alt Animation",100),this.check_altAnim.name="check_altAnim",this.check_changeBPM=new flixel_addons_ui_FlxUICheckBox(10,60,null,null,"Change BPM",100),this.check_changeBPM.name="check_changeBPM",t.add(this.stepperLength),t.add(this.stepperSectionBPM),t.add(i),t.add(this.check_mustHitSection),t.add(this.check_altAnim),t.add(this.check_changeBPM),t.add(l),t.add(n),t.add(s),this.UI_box.addGroup(t)},stepperSusLength:null,tab_group_note:null,addNoteUI:function(){this.tab_group_note=new flixel_addons_ui_FlxUI(null,this.UI_box),this.tab_group_note.name="Note",this.writingNotesText=new flixel_addons_ui_FlxUIText(20,100,0,""),this.writingNotesText.setFormat("Arial",20,-1,"left",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.stepperSusLength=new flixel_addons_ui_FlxUINumericStepper(10,10,Conductor.stepCrochet/2,0,0,Conductor.stepCrochet*this._song.notes[this.curSection].lengthInSteps*4),this.stepperSusLength.set_value(0),this.stepperSusLength.name="note_susLength";var e=new flixel_ui_FlxButton(100,10,"Apply");this.tab_group_note.add(this.writingNotesText),this.tab_group_note.add(this.stepperSusLength),this.tab_group_note.add(e),this.UI_box.addGroup(this.tab_group_note)},loadSong:function(e){var t=this;if(null!=flixel_FlxG.sound.music){var i=flixel_FlxG.sound.music;i.cleanup(i.autoDestroy,!0)}flixel_FlxG.sound.playMusic("songs:assets/songs/"+e.toLowerCase()+"/Inst.mp3",.6),this.vocals=(new flixel_system_FlxSound).loadEmbedded("songs:assets/songs/"+e.toLowerCase()+"/Voices.mp3"),flixel_FlxG.sound.list.add(this.vocals),flixel_FlxG.sound.music.pause(),this.vocals.pause(),flixel_FlxG.sound.music.onComplete=function(){t.vocals.pause(),t.vocals.set_time(0),flixel_FlxG.sound.music.pause(),flixel_FlxG.sound.music.set_time(0),t.changeSection()}},generateUI:function(){for(;this.bullshitUI.members.length>0;)this.bullshitUI.remove(this.bullshitUI.members[0],!0);var e=new flixel_text_FlxText(this.UI_box.x+20,this.UI_box.y+20,0);this.bullshitUI.add(e)},getEvent:function(e,t,i,l){if("click_check_box"==e){var n=t;switch(n.getLabel().text){case"Alt Animation":this._song.notes[this.curSection].altAnim=n.checked;break;case"Change BPM":this._song.notes[this.curSection].changeBPM=n.checked;break;case"Must hit section":this._song.notes[this.curSection].mustHitSection=n.checked,this.updateHeads()}}else if("change_numeric_stepper"==e&&t instanceof flixel_addons_ui_FlxUINumericStepper){var s=t,a=s.name;if("section_length"==a)s.value<=4&&s.set_value(4),this._song.notes[this.curSection].lengthInSteps=0|s.value,this.updateGrid();else if("song_speed"==a)s.value<=0&&s.set_value(0),this._song.speed=s.value;else if("song_bpm"==a)s.value<=0&&s.set_value(1),this.tempBpm=0|s.value,Conductor.mapBPMChanges(this._song),Conductor.changeBPM(0|s.value);else if("note_susLength"==a){if(null==this.curSelectedNote)return;s.value<=0&&s.set_value(0),this.curSelectedNote[2]=s.value,this.updateGrid()}else"section_bpm"==a&&(s.value<=.1&&s.set_value(.1),this._song.notes[this.curSection].bpm=0|s.value,this.updateGrid())}},updatedSection:null,sectionStartTime:function(){for(var e=this._song.bpm,t=0,i=0,l=this.curSection;i<l;){var n=i++;this._song.notes[n].changeBPM&&(e=this._song.notes[n].bpm),t+=6e4/e*4}return t},writingNotes:null,update:function(e){var t=this;this.curStep=this.recalculateSteps();var i=flixel_FlxG.keys.justPressed;i.keyManager.checkStatus(18,i.status)&&0==this.UI_box.get_selected_tab()&&(this.writingNotes=!this.writingNotes),this.writingNotes?this.writingNotesText.set_text("WRITING NOTES"):this.writingNotesText.set_text(""),Conductor.songPosition=flixel_FlxG.sound.music._time,this._song.song=this.typingShit.text;var l=PlayerSettings.player1.controls._upP.check(),n=PlayerSettings.player1.controls._rightP.check(),s=PlayerSettings.player1.controls._downP.check(),a=PlayerSettings.player1.controls._leftP.check(),r=[a,s,l,n];if((l||n||s||a)&&this.writingNotes)for(var _=0,o=r.length;_<o;){var h=_++;if(r[h]){for(var u=0,d=this._song.notes[this.curSection].sectionNotes.length;u<d;){var c=u++,p=this._song.notes[this.curSection].sectionNotes[c];null!=p&&(p[0]==Conductor.songPosition&&p[1]%4==h&&(haxe_Log.trace("GAMING",{fileName:"source/ChartingState.hx",lineNumber:545,className:"ChartingState",methodName:"update"}),HxOverrides.remove(this._song.notes[this.curSection].sectionNotes,p)))}haxe_Log.trace("adding note",{fileName:"source/ChartingState.hx",lineNumber:549,className:"ChartingState",methodName:"update"}),this._song.notes[this.curSection].sectionNotes.push([Conductor.songPosition,h,0]),this.updateGrid()}}if(this.strumLine.set_y(this.getYfromStrum((Conductor.songPosition-this.sectionStartTime())%(Conductor.stepCrochet*this._song.notes[this.curSection].lengthInSteps))),this.curBeat%4==0&&this.curStep>=16*(this.curSection+1)&&(haxe_Log.trace(this.curStep,{fileName:"source/ChartingState.hx",lineNumber:561,className:"ChartingState",methodName:"update"}),haxe_Log.trace(this._song.notes[this.curSection].lengthInSteps*(this.curSection+1),{fileName:"source/ChartingState.hx",lineNumber:562,className:"ChartingState",methodName:"update"}),haxe_Log.trace("DUMBSHIT",{fileName:"source/ChartingState.hx",lineNumber:563,className:"ChartingState",methodName:"update"}),null==this._song.notes[this.curSection+1]&&this.addSection(),this.changeSection(this.curSection+1,!1)),2==flixel_FlxG.mouse._leftButton.current&&(flixel_FlxG.mouse.overlaps(this.curRenderedNotes)?this.curRenderedNotes.forEach(function(e){if(flixel_FlxG.mouse.overlaps(e)){var i=flixel_FlxG.keys.pressed;i.keyManager.checkStatus(17,i.status)?t.selectNote(e):(haxe_Log.trace("tryin to delete note",{fileName:"source/ChartingState.hx",lineNumber:590,className:"ChartingState",methodName:"update"}),haxe_Log.trace(e.noteData,{fileName:"source/ChartingState.hx",lineNumber:591,className:"ChartingState",methodName:"update"}),t.deleteNote(e))}}):flixel_FlxG.mouse.x>this.gridBG.x&&flixel_FlxG.mouse.x<this.gridBG.x+this.gridBG.get_width()&&flixel_FlxG.mouse.y>this.gridBG.y&&flixel_FlxG.mouse.y<this.gridBG.y+this.GRID_SIZE*this._song.notes[this.curSection].lengthInSteps&&this.addNote()),flixel_FlxG.mouse.x>this.gridBG.x&&flixel_FlxG.mouse.x<this.gridBG.x+this.gridBG.get_width()&&flixel_FlxG.mouse.y>this.gridBG.y&&flixel_FlxG.mouse.y<this.gridBG.y+this.GRID_SIZE*this._song.notes[this.curSection].lengthInSteps&&(this.dummyArrow.set_x(Math.floor(flixel_FlxG.mouse.x/this.GRID_SIZE)*this.GRID_SIZE),(i=flixel_FlxG.keys.pressed).keyManager.checkStatus(16,i.status)?this.dummyArrow.set_y(flixel_FlxG.mouse.y):this.dummyArrow.set_y(Math.floor(flixel_FlxG.mouse.y/this.GRID_SIZE)*this.GRID_SIZE)),(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(13,i.status)){ChartingState.lastSection=this.curSection,PlayState.SONG=this._song,(i=flixel_FlxG.sound.music).cleanup(i.autoDestroy,!0),(i=this.vocals).cleanup(i.autoDestroy,!0);var f=new PlayState;flixel_FlxG.game._state.switchTo(f)&&(flixel_FlxG.game._requestedState=f)}if((i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(69,i.status)&&this.changeNoteSustain(Conductor.stepCrochet),(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(81,i.status)&&this.changeNoteSustain(-Conductor.stepCrochet),(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(9,i.status)&&((i=flixel_FlxG.keys.pressed).keyManager.checkStatus(16,i.status)?((_=this.UI_box).set_selected_tab(_.get_selected_tab()-1),this.UI_box.get_selected_tab()<0&&this.UI_box.set_selected_tab(2)):((_=this.UI_box).set_selected_tab(_.get_selected_tab()+1),this.UI_box.get_selected_tab()>=3&&this.UI_box.set_selected_tab(0))),!this.typingShit.hasFocus){var m=1;if((i=flixel_FlxG.keys.pressed).keyManager.checkStatus(16,i.status)&&(m=4),!this.writingNotes){(!!(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(39,i.status)||(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(68,i.status))&&this.changeSection(this.curSection+m);(!!(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(37,i.status)||(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(65,i.status))&&this.changeSection(this.curSection-m)}if((i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(32,i.status)&&(null!=flixel_FlxG.sound.music._channel?(flixel_FlxG.sound.music.pause(),this.vocals.pause()):(this.vocals.play(),flixel_FlxG.sound.music.play())),(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(82,i.status)&&((i=flixel_FlxG.keys.pressed).keyManager.checkStatus(16,i.status)?this.resetSection(!0):this.resetSection()),0!=flixel_FlxG.mouse.wheel&&(flixel_FlxG.sound.music.pause(),this.vocals.pause(),(_=flixel_FlxG.sound.music).set_time(_._time-flixel_FlxG.mouse.wheel*Conductor.stepCrochet*.4),this.vocals.set_time(flixel_FlxG.sound.music._time)),(i=flixel_FlxG.keys.pressed).keyManager.checkStatus(16,i.status)){if(!!(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(87,i.status)||(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(83,i.status)){flixel_FlxG.sound.music.pause(),this.vocals.pause();x=2*Conductor.stepCrochet;(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(87,i.status)?(_=flixel_FlxG.sound.music).set_time(_._time-x):(_=flixel_FlxG.sound.music).set_time(_._time+x),this.vocals.set_time(flixel_FlxG.sound.music._time)}}else{if(!!(i=flixel_FlxG.keys.pressed).keyManager.checkStatus(87,i.status)||(i=flixel_FlxG.keys.pressed).keyManager.checkStatus(83,i.status)){flixel_FlxG.sound.music.pause(),this.vocals.pause();var x=700*flixel_FlxG.elapsed;(i=flixel_FlxG.keys.pressed).keyManager.checkStatus(87,i.status)?(_=flixel_FlxG.sound.music).set_time(_._time-x):(_=flixel_FlxG.sound.music).set_time(_._time+x),this.vocals.set_time(flixel_FlxG.sound.music._time)}}}this._song.bpm=this.tempBpm,this.bpmTxt.set_text(this.bpmTxt.set_text(Std.string(flixel_math_FlxMath.roundDecimal(Conductor.songPosition/1e3,2))+" / "+Std.string(flixel_math_FlxMath.roundDecimal(flixel_FlxG.sound.music._length/1e3,2))+"\nSection: "+this.curSection+"\nCurStep: "+this.curStep)),MusicBeatState.prototype.update.call(this,e)},changeNoteSustain:function(e){null!=this.curSelectedNote&&null!=this.curSelectedNote[2]&&(this.curSelectedNote[2]+=e,this.curSelectedNote[2]=Math.max(this.curSelectedNote[2],0)),this.updateNoteUI(),this.updateGrid()},recalculateSteps:function(){for(var e={stepTime:0,songTime:0,bpm:0},t=0,i=Conductor.bpmChangeMap.length;t<i;){var l=t++;flixel_FlxG.sound.music._time>Conductor.bpmChangeMap[l].songTime&&(e=Conductor.bpmChangeMap[l])}return this.curStep=e.stepTime+Math.floor((flixel_FlxG.sound.music._time-e.songTime)/Conductor.stepCrochet),this.updateBeat(),this.curStep},resetSection:function(e){null==e&&(e=!1),this.updateGrid(),flixel_FlxG.sound.music.pause(),this.vocals.pause(),flixel_FlxG.sound.music.set_time(this.sectionStartTime()),e&&(flixel_FlxG.sound.music.set_time(0),this.curSection=0),this.vocals.set_time(flixel_FlxG.sound.music._time),this.updateCurStep(),this.updateGrid(),this.updateSectionUI()},changeSection:function(e,t){null==t&&(t=!0),null==e&&(e=0),haxe_Log.trace("changing section"+e,{fileName:"source/ChartingState.hx",lineNumber:816,className:"ChartingState",methodName:"changeSection"}),null!=this._song.notes[e]?(haxe_Log.trace("naw im not null",{fileName:"source/ChartingState.hx",lineNumber:820,className:"ChartingState",methodName:"changeSection"}),this.curSection=e,this.updateGrid(),t&&(flixel_FlxG.sound.music.pause(),this.vocals.pause(),flixel_FlxG.sound.music.set_time(this.sectionStartTime()),this.vocals.set_time(flixel_FlxG.sound.music._time),this.updateCurStep()),this.updateGrid(),this.updateSectionUI()):haxe_Log.trace("bro wtf I AM NULL",{fileName:"source/ChartingState.hx",lineNumber:847,className:"ChartingState",methodName:"changeSection"})},copySection:function(e){null==e&&(e=1);for(var t=this.curSection,i=t>e?t:e,l=0,n=this._song.notes[i-e].sectionNotes;l<n.length;){var s=n[l];++l;var a=[s[0]+Conductor.stepCrochet*(this._song.notes[i].lengthInSteps*e),s[1],s[2]];this._song.notes[i].sectionNotes.push(a)}this.updateGrid()},updateSectionUI:function(){var e=this._song.notes[this.curSection];this.stepperLength.set_value(e.lengthInSteps),this.check_mustHitSection.set_checked(e.mustHitSection),this.check_altAnim.set_checked(e.altAnim),this.check_changeBPM.set_checked(e.changeBPM),this.stepperSectionBPM.set_value(e.bpm),this.updateHeads()},updateHeads:function(){this.check_mustHitSection.checked?(this.leftIcon.animation.play("bf"),this.rightIcon.animation.play("dad")):(this.leftIcon.animation.play("dad"),this.rightIcon.animation.play("bf"))},updateNoteUI:function(){null!=this.curSelectedNote&&this.stepperSusLength.set_value(this.curSelectedNote[2])},updateGrid:function(){for(this.remove(this.gridBG),this.gridBG=flixel_addons_display_FlxGridOverlay.create(this.GRID_SIZE,this.GRID_SIZE,8*this.GRID_SIZE,this.GRID_SIZE*this._song.notes[this.curSection].lengthInSteps),this.add(this.gridBG),this.remove(this.gridBlackLine),this.gridBlackLine=new flixel_FlxSprite(this.gridBG.x+this.gridBG.get_width()/2).makeGraphic(2,0|this.gridBG.get_height(),-16777216),this.add(this.gridBlackLine);this.curRenderedNotes.members.length>0;)this.curRenderedNotes.remove(this.curRenderedNotes.members[0],!0);for(;this.curRenderedSustains.members.length>0;)this.curRenderedSustains.remove(this.curRenderedSustains.members[0],!0);var e=this._song.notes[this.curSection].sectionNotes;if(this._song.notes[this.curSection].changeBPM&&this._song.notes[this.curSection].bpm>0)Conductor.changeBPM(this._song.notes[this.curSection].bpm);else{for(var t=this._song.bpm,i=0,l=this.curSection;i<l;){n=i++;this._song.notes[n].changeBPM&&(t=this._song.notes[n].bpm)}Conductor.changeBPM(t)}for(i=0;i<e.length;){var n=e[i];++i;var s=n[1],a=n[0],r=n[2],_=new Note(a,s%4);if(_.sustainLength=r,_.setGraphicSize(this.GRID_SIZE,this.GRID_SIZE),_.updateHitbox(),_.set_x(Math.floor(s*this.GRID_SIZE)),_.set_y(Math.floor(this.getYfromStrum((a-this.sectionStartTime())%(Conductor.stepCrochet*this._song.notes[this.curSection].lengthInSteps)))),this.curRenderedNotes.add(_),r>0){var o=new flixel_FlxSprite(_.x+this.GRID_SIZE/2,_.y+this.GRID_SIZE).makeGraphic(8,Math.floor(flixel_math_FlxMath.remapToRange(r,0,Conductor.stepCrochet*this._song.notes[this.curSection].lengthInSteps,0,this.gridBG.get_height())));this.curRenderedSustains.add(o)}}},addSection:function(e){null==e&&(e=16);var t={lengthInSteps:e,bpm:this._song.bpm,changeBPM:!1,mustHitSection:!0,sectionNotes:[],typeOfSection:0,altAnim:!1};this._song.notes.push(t)},selectNote:function(e){for(var t=0,i=0,l=this._song.notes[this.curSection].sectionNotes;i<l.length;){var n=l[i];++i,n.strumTime==e.strumTime&&n.noteData%4==e.noteData&&(this.curSelectedNote=this._song.notes[this.curSection].sectionNotes[t]),++t}this.updateGrid(),this.updateNoteUI()},deleteNote:function(e){haxe_Log.trace(this._song.notes[this.curSection].sectionNotes,{fileName:"source/ChartingState.hx",lineNumber:1008,className:"ChartingState",methodName:"deleteNote"});for(var t=0,i=this._song.notes[this.curSection].sectionNotes.length;t<i;){var l=t++,n=this._song.notes[this.curSection].sectionNotes[l];null!=n&&(n[0]!=e.strumTime+(0==e.strumTime?0:1)&&n[0]!=e.strumTime||n[1]%4!=e.noteData||(haxe_Log.trace("GAMING",{fileName:"source/ChartingState.hx",lineNumber:1020,className:"ChartingState",methodName:"deleteNote"}),HxOverrides.remove(this._song.notes[this.curSection].sectionNotes,n)))}this.updateGrid()},clearSection:function(){this._song.notes[this.curSection].sectionNotes=[],this.updateGrid()},clearSong:function(){for(var e=0,t=this._song.notes.length;e<t;){var i=e++;this._song.notes[i].sectionNotes=[]}this.updateGrid()},addNote:function(){var e=this.getStrumTime(this.dummyArrow.y)+this.sectionStartTime(),t=Math.floor(flixel_FlxG.mouse.x/this.GRID_SIZE);this._song.notes[this.curSection].sectionNotes.push([e,t,0]),this.curSelectedNote=this._song.notes[this.curSection].sectionNotes[this._song.notes[this.curSection].sectionNotes.length-1];var i=flixel_FlxG.keys.pressed;i.keyManager.checkStatus(17,i.status)&&this._song.notes[this.curSection].sectionNotes.push([e,(t+4)%8,0]),haxe_Log.trace(e,{fileName:"source/ChartingState.hx",lineNumber:1060,className:"ChartingState",methodName:"addNote"}),haxe_Log.trace(this.curSection,{fileName:"source/ChartingState.hx",lineNumber:1061,className:"ChartingState",methodName:"addNote"}),this.updateGrid(),this.updateNoteUI(),this.autosaveSong()},getStrumTime:function(e){return flixel_math_FlxMath.remapToRange(e,this.gridBG.y,this.gridBG.y+this.gridBG.get_height(),0,16*Conductor.stepCrochet)},getYfromStrum:function(e){return flixel_math_FlxMath.remapToRange(e,0,16*Conductor.stepCrochet,this.gridBG.y,this.gridBG.y+this.gridBG.get_height())},daSpacing:null,loadLevel:function(){haxe_Log.trace(this._song.notes,{fileName:"source/ChartingState.hx",lineNumber:1106,className:"ChartingState",methodName:"loadLevel"})},getNotes:function(){for(var e=[],t=0,i=this._song.notes;t<i.length;){var l=i[t];++t,e.push(l.sectionNotes)}return e},loadJson:function(e){PlayState.SONG=Song.loadFromJson(e.toLowerCase(),e.toLowerCase());var t=Type.createInstance(js_Boot.getClass(flixel_FlxG.game._state),[]);flixel_FlxG.game._state.switchTo(t)&&(flixel_FlxG.game._requestedState=t)},loadAutosave:function(){PlayState.SONG=Song.parseJSONshit(flixel_FlxG.save.data.autosave);var e=Type.createInstance(js_Boot.getClass(flixel_FlxG.game._state),[]);flixel_FlxG.game._state.switchTo(e)&&(flixel_FlxG.game._requestedState=e)},autosaveSong:function(){flixel_FlxG.save.data.autosave=JSON.stringify({song:this._song}),flixel_FlxG.save.flush()},saveLevel:function(){var e={song:this._song},t=JSON.stringify(e);null!=t&&t.length>0&&(this._file=new openfl_net_FileReference,this._file.addEventListener("complete",$bind(this,this.onSaveComplete)),this._file.addEventListener("cancel",$bind(this,this.onSaveCancel)),this._file.addEventListener("ioError",$bind(this,this.onSaveError)),this._file.save(StringTools.trim(t),this._song.song.toLowerCase()+".json"))},onSaveComplete:function(e){this._file.removeEventListener("complete",$bind(this,this.onSaveComplete)),this._file.removeEventListener("cancel",$bind(this,this.onSaveCancel)),this._file.removeEventListener("ioError",$bind(this,this.onSaveError)),this._file=null},onSaveCancel:function(e){this._file.removeEventListener("complete",$bind(this,this.onSaveComplete)),this._file.removeEventListener("cancel",$bind(this,this.onSaveCancel)),this._file.removeEventListener("ioError",$bind(this,this.onSaveError)),this._file=null},onSaveError:function(e){this._file.removeEventListener("complete",$bind(this,this.onSaveComplete)),this._file.removeEventListener("cancel",$bind(this,this.onSaveCancel)),this._file.removeEventListener("ioError",$bind(this,this.onSaveError)),this._file=null},__class__:ChartingState});var Conductor=function(){};$hxClasses.Conductor=Conductor,Conductor.__name__="Conductor",Conductor.songPosition=null,Conductor.lastSongPos=null,Conductor.mapBPMChanges=function(e){Conductor.bpmChangeMap=[];for(var t=e.bpm,i=0,l=0,n=0,s=e.notes.length;n<s;){var a=n++;if(e.notes[a].changeBPM&&e.notes[a].bpm!=t){var r={stepTime:i,songTime:l,bpm:t=e.notes[a].bpm};Conductor.bpmChangeMap.push(r)}var _=e.notes[a].lengthInSteps;i+=_,l+=60/t*1e3/4*_}haxe_Log.trace("new BPM map BUDDY "+Std.string(Conductor.bpmChangeMap),{fileName:"source/Conductor.hx",lineNumber:59,className:"Conductor",methodName:"mapBPMChanges"})},Conductor.changeBPM=function(e){Conductor.bpm=e,Conductor.crochet=60/Conductor.bpm*1e3,Conductor.stepCrochet=Conductor.crochet/4},Conductor.prototype={__class__:Conductor};var Device=$hxEnums.Device={__ename__:"Device",__constructs__:["Keys","Gamepad"],Keys:{_hx_index:0,__enum__:"Device",toString:$estr},Gamepad:($_=function(e){return{_hx_index:1,id:e,__enum__:"Device",toString:$estr}},$_.__params__=["id"],$_)},Control=$hxEnums.Control={__ename__:"Control",__constructs__:["UP","LEFT","RIGHT","DOWN","RESET","ACCEPT","BACK","PAUSE","CHEAT"],UP:{_hx_index:0,__enum__:"Control",toString:$estr},LEFT:{_hx_index:1,__enum__:"Control",toString:$estr},RIGHT:{_hx_index:2,__enum__:"Control",toString:$estr},DOWN:{_hx_index:3,__enum__:"Control",toString:$estr},RESET:{_hx_index:4,__enum__:"Control",toString:$estr},ACCEPT:{_hx_index:5,__enum__:"Control",toString:$estr},BACK:{_hx_index:6,__enum__:"Control",toString:$estr},PAUSE:{_hx_index:7,__enum__:"Control",toString:$estr},CHEAT:{_hx_index:8,__enum__:"Control",toString:$estr}},KeyboardScheme=$hxEnums.KeyboardScheme={__ename__:"KeyboardScheme",__constructs__:["Solo","Duo","None","Custom"],Solo:{_hx_index:0,__enum__:"KeyboardScheme",toString:$estr},Duo:($_=function(e){return{_hx_index:1,first:e,__enum__:"KeyboardScheme",toString:$estr}},$_.__params__=["first"],$_),None:{_hx_index:2,__enum__:"KeyboardScheme",toString:$estr},Custom:{_hx_index:3,__enum__:"KeyboardScheme",toString:$estr}},flixel_input_actions_FlxActionSet=function(e,t,i){this.active=!0,this.name="",this.name=e,null==t&&(t=[]),null==i&&(i=[]),this.digitalActions=t,this.analogActions=i};$hxClasses["flixel.input.actions.FlxActionSet"]=flixel_input_actions_FlxActionSet,flixel_input_actions_FlxActionSet.__name__="flixel.input.actions.FlxActionSet",flixel_input_actions_FlxActionSet.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_actions_FlxActionSet.fromJson=function(e,t,i){var l=[],n=[];if(null==e)return null;if(null!=e.digitalActions)for(var s=e.digitalActions,a=0;a<s.length;){var r=s[a];++a;h=new flixel_input_actions_FlxActionDigital(r,t);l.push(h)}if(null!=e.analogActions)for(var _=e.analogActions,a=0;a<_.length;){var o=_[a];++a;var h=new flixel_input_actions_FlxActionAnalog(o,i);n.push(h)}if(null!=e.name){var u=e.name;return new flixel_input_actions_FlxActionSet(u,l,n)}return null},flixel_input_actions_FlxActionSet.prototype={name:null,digitalActions:null,analogActions:null,active:null,toJson:function(){return JSON.stringify(this,function(e,t){if(t instanceof flixel_input_actions_FlxAction){var i=t;return{type:i.type,name:i.name,steamHandle:i.steamHandle}}return t},"\t")},attachSteamController:function(e,t){null==t&&(t=!0),this.attachSteamControllerSub(e,t,flixel_input_actions_FlxInputType.DIGITAL,this.digitalActions,null),this.attachSteamControllerSub(e,t,flixel_input_actions_FlxInputType.ANALOG,null,this.analogActions)},add:function(e){if(e.type==flixel_input_actions_FlxInputType.DIGITAL){var t=e;return-1==this.digitalActions.indexOf(t)&&(this.digitalActions.push(t),!0)}if(e.type==flixel_input_actions_FlxInputType.ANALOG){var i=e;return-1==this.analogActions.indexOf(i)&&(this.analogActions.push(i),!0)}return!1},destroy:function(){this.digitalActions=flixel_util_FlxDestroyUtil.destroyArray(this.digitalActions),this.analogActions=flixel_util_FlxDestroyUtil.destroyArray(this.analogActions)},remove:function(e,t){null==t&&(t=!0);var i=!1;return e.type==flixel_input_actions_FlxInputType.DIGITAL?(i=HxOverrides.remove(this.digitalActions,e))&&t&&e.destroy():e.type==flixel_input_actions_FlxInputType.ANALOG&&(i=HxOverrides.remove(this.analogActions,e))&&t&&e.destroy(),i},update:function(){if(this.active){for(var e=0,t=this.digitalActions;e<t.length;){var i=t[e];++e,i.update()}for(var e=0,t=this.analogActions;e<t.length;){var l=t[e];++e,l.update()}}},attachSteamControllerSub:function(e,t,i,l,n){for(var s=0,a=i==flixel_input_actions_FlxInputType.DIGITAL?l.length:n.length;s<a;){var r=s++,_=i==flixel_input_actions_FlxInputType.DIGITAL?l[r]:n[r];if(-1!=_.steamHandle){var o=!1,h=null;if(null!=_.inputs)for(var u=0,d=_.inputs;u<d.length;){var c=d[u];++u,c.device==flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER&&c.deviceID==e&&(o=!0,h=c)}t?o||(i==flixel_input_actions_FlxInputType.DIGITAL?l[r].add(new flixel_input_actions_FlxActionInputDigitalSteam(_.steamHandle,2,e)):i==flixel_input_actions_FlxInputType.ANALOG&&n[r].add(new flixel_input_actions_FlxActionInputAnalogSteam(_.steamHandle,1,3,e))):o&&_.remove(h)}}},__class__:flixel_input_actions_FlxActionSet};var Controls=function(e,t){null==t&&(t=KeyboardScheme.None),this.keyboardScheme=KeyboardScheme.None,this.gamepadsAdded=[],this.byName=new haxe_ds_StringMap,this._cheat=new flixel_input_actions_FlxActionDigital("cheat"),this._reset=new flixel_input_actions_FlxActionDigital("reset"),this._pause=new flixel_input_actions_FlxActionDigital("pause"),this._back=new flixel_input_actions_FlxActionDigital("back"),this._accept=new flixel_input_actions_FlxActionDigital("accept"),this._downR=new flixel_input_actions_FlxActionDigital("down-release"),this._rightR=new flixel_input_actions_FlxActionDigital("right-release"),this._leftR=new flixel_input_actions_FlxActionDigital("left-release"),this._upR=new flixel_input_actions_FlxActionDigital("up-release"),this._downP=new flixel_input_actions_FlxActionDigital("down-press"),this._rightP=new flixel_input_actions_FlxActionDigital("right-press"),this._leftP=new flixel_input_actions_FlxActionDigital("left-press"),this._upP=new flixel_input_actions_FlxActionDigital("up-press"),this._down=new flixel_input_actions_FlxActionDigital("down"),this._right=new flixel_input_actions_FlxActionDigital("right"),this._left=new flixel_input_actions_FlxActionDigital("left"),this._up=new flixel_input_actions_FlxActionDigital("up"),flixel_input_actions_FlxActionSet.call(this,e),this.add(this._up),this.add(this._left),this.add(this._right),this.add(this._down),this.add(this._upP),this.add(this._leftP),this.add(this._rightP),this.add(this._downP),this.add(this._upR),this.add(this._leftR),this.add(this._rightR),this.add(this._downR),this.add(this._accept),this.add(this._back),this.add(this._pause),this.add(this._reset),this.add(this._cheat);for(var i=0,l=this.digitalActions;i<l.length;){var n=l[i];++i,this.byName.h[n.name]=n}this.setKeyboardScheme(t,!1)};$hxClasses.Controls=Controls,Controls.__name__="Controls",Controls.init=function(){var e=new flixel_input_actions_FlxActionManager;flixel_FlxG.inputs.add_flixel_input_actions_FlxActionManager(e)},Controls.addKeys=function(e,t,i){for(var l=0;l<t.length;){var n=t[l];++l,e.addKey(n,i)}},Controls.removeKeys=function(e,t){for(var i=e.inputs.length;i-- >0;){var l=e.inputs[i];l.device==flixel_input_actions_FlxInputDevice.KEYBOARD&&-1!=t.indexOf(l.inputID)&&e.remove(l)}},Controls.addButtons=function(e,t,i,l){for(var n=0;n<t.length;){var s=t[n];++n,e.addGamepad(s,i,l)}},Controls.removeButtons=function(e,t,i){for(var l=e.inputs.length;l-- >0;){var n=e.inputs[l];n.device!=flixel_input_actions_FlxInputDevice.GAMEPAD||-1!=t&&n.deviceID!=t||-1==i.indexOf(n.inputID)||e.remove(n)}},Controls.isDevice=function(e,t){switch(t._hx_index){case 0:return e.device==flixel_input_actions_FlxInputDevice.KEYBOARD;case 1:var i=t.id;return e.device==flixel_input_actions_FlxInputDevice.GAMEPAD&&(-1==i||e.deviceID==i)}},Controls.isGamepad=function(e,t){return e.device==flixel_input_actions_FlxInputDevice.GAMEPAD&&(-1==t||e.deviceID==t)},Controls.__super__=flixel_input_actions_FlxActionSet,Controls.prototype=$extend(flixel_input_actions_FlxActionSet.prototype,{_up:null,_left:null,_right:null,_down:null,_upP:null,_leftP:null,_rightP:null,_downP:null,_upR:null,_leftR:null,_rightR:null,_downR:null,_accept:null,_back:null,_pause:null,_reset:null,_cheat:null,byName:null,gamepadsAdded:null,keyboardScheme:null,get_UP:function(){return this._up.check()},get_LEFT:function(){return this._left.check()},get_RIGHT:function(){return this._right.check()},get_DOWN:function(){return this._down.check()},get_UP_P:function(){return this._upP.check()},get_LEFT_P:function(){return this._leftP.check()},get_RIGHT_P:function(){return this._rightP.check()},get_DOWN_P:function(){return this._downP.check()},get_UP_R:function(){return this._upR.check()},get_LEFT_R:function(){return this._leftR.check()},get_RIGHT_R:function(){return this._rightR.check()},get_DOWN_R:function(){return this._downR.check()},get_ACCEPT:function(){return this._accept.check()},get_BACK:function(){return this._back.check()},get_PAUSE:function(){return this._pause.check()},get_RESET:function(){return this._reset.check()},get_CHEAT:function(){return this._cheat.check()},update:function(){flixel_input_actions_FlxActionSet.prototype.update.call(this)},checkByName:function(e){return this.byName.h[e].check()},getDialogueName:function(e){var t=e.inputs[0],i=t.device;switch(i._hx_index){case 3:return"["+(null==(l=t.inputID)?"null":flixel_input_keyboard_FlxKey.toStringMap.h[l])+"]";case 4:var l=t.inputID;return"("+(null==l?"null":flixel_input_gamepad_FlxGamepadInputID.toStringMap.h[l])+")";default:var n=i;throw haxe_Exception.thrown("unhandled device: "+Std.string(n))}},getDialogueNameFromToken:function(e){return this.getDialogueName(this.getActionFromControl(Type.createEnum(Control,e.toUpperCase(),null)))},getActionFromControl:function(e){switch(e._hx_index){case 0:return this._up;case 1:return this._left;case 2:return this._right;case 3:return this._down;case 4:return this._reset;case 5:return this._accept;case 6:return this._back;case 7:return this._pause;case 8:return this._cheat}},forEachBound:function(e,t){switch(e._hx_index){case 0:t(this._up,1),t(this._upP,2),t(this._upR,-1);break;case 1:t(this._left,1),t(this._leftP,2),t(this._leftR,-1);break;case 2:t(this._right,1),t(this._rightP,2),t(this._rightR,-1);break;case 3:t(this._down,1),t(this._downP,2),t(this._downR,-1);break;case 4:t(this._reset,2);break;case 5:t(this._accept,2);break;case 6:t(this._back,2);break;case 7:t(this._pause,2);break;case 8:t(this._cheat,2)}},replaceBinding:function(e,t,i,l){if(i!=l)switch(t._hx_index){case 0:null!=l&&this.unbindKeys(e,[l]),null!=i&&this.bindKeys(e,[i]);break;case 1:var n=t.id;null!=l&&this.unbindButtons(e,n,[l]),null!=i&&this.bindButtons(e,n,[i])}},copyFrom:function(e,t){for(a=haxe_ds_StringMap.kvIterator(e.byName.h);a.hasNext();)for(var i=(r=a.next()).key,l=0,n=r.value.inputs;l<n.length;){var s=n[l];++l,(null==t||Controls.isDevice(s,t))&&this.byName.h[i].add(s)}if(null==t){for(var a=0,r=e.gamepadsAdded;a<r.length;){var _=r[a];++a,-1==this.gamepadsAdded.indexOf(_)&&this.gamepadsAdded.push(_)}this.mergeKeyboardScheme(e.keyboardScheme)}else switch(t._hx_index){case 0:this.mergeKeyboardScheme(e.keyboardScheme);break;case 1:var o=t.id;this.gamepadsAdded.push(o)}},copyTo:function(e,t){e.copyFrom(this,t)},mergeKeyboardScheme:function(e){e!=KeyboardScheme.None&&(2==this.keyboardScheme._hx_index?this.keyboardScheme=e:this.keyboardScheme=KeyboardScheme.Custom)},bindKeys:function(e,t){switch(e._hx_index){case 0:for(var i=this._up,l=1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._upP,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._upR,l=-1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 1:for(var i=this._left,l=1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._leftP,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._leftR,l=-1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 2:for(var i=this._right,l=1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._rightP,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._rightR,l=-1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 3:for(var i=this._down,l=1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._downP,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}for(var i=this._downR,l=-1,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 6:for(var i=this._back,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<t.length;){s=t[n];++n,i.addKey(s,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<t.length;){var s=t[n];++n,i.addKey(s,l)}}},unbindKeys:function(e,t){switch(e._hx_index){case 0:Controls.removeKeys(this._up,t),Controls.removeKeys(this._upP,t),Controls.removeKeys(this._upR,t);break;case 1:Controls.removeKeys(this._left,t),Controls.removeKeys(this._leftP,t),Controls.removeKeys(this._leftR,t);break;case 2:Controls.removeKeys(this._right,t),Controls.removeKeys(this._rightP,t),Controls.removeKeys(this._rightR,t);break;case 3:Controls.removeKeys(this._down,t),Controls.removeKeys(this._downP,t),Controls.removeKeys(this._downR,t);break;case 4:Controls.removeKeys(this._reset,t);break;case 5:Controls.removeKeys(this._accept,t);break;case 6:Controls.removeKeys(this._back,t);break;case 7:Controls.removeKeys(this._pause,t);break;case 8:Controls.removeKeys(this._cheat,t)}},setKeyboardScheme:function(e,t){switch(null==t&&(t=!0),t&&this.removeKeyboard(),this.keyboardScheme=e,e._hx_index){case 0:s=[74,38];switch(Control.UP._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[70,40];switch(Control.DOWN._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[68,37];switch(Control.LEFT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[75,39];switch(Control.RIGHT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[90,32,13];switch(Control.ACCEPT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[8,27];switch(Control.BACK._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[80,13,27];switch(Control.PAUSE._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[82];switch(Control.RESET._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}break;case 1:if(e.first){s=[87,38];switch(Control.UP._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[83,40];switch(Control.DOWN._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[65,37];switch(Control.LEFT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[68,39];switch(Control.RIGHT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[71,90,32,13];switch(Control.ACCEPT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[8,27];switch(Control.BACK._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[82];switch(Control.RESET._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}}else{s=[38];switch(Control.UP._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[40];switch(Control.DOWN._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[37];switch(Control.LEFT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[39];switch(Control.RIGHT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[79];switch(Control.ACCEPT._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[80];switch(Control.BACK._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}s=[13];switch(Control.PAUSE._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}}var s=[8];switch(Control.RESET._hx_index){case 0:for(var i=this._up,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._upR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 1:for(var i=this._left,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._leftR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 2:for(var i=this._right,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._rightR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 3:for(var i=this._down,l=1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downP,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}for(var i=this._downR,l=-1,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 4:for(var i=this._reset,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 5:for(var i=this._accept,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 6:for(var i=this._back,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 7:for(var i=this._pause,l=2,n=0;n<s.length;){a=s[n];++n,i.addKey(a,l)}break;case 8:for(var i=this._cheat,l=2,n=0;n<s.length;){var a=s[n];++n,i.addKey(a,l)}}}}},removeKeyboard:function(){for(var e=0,t=this.digitalActions;e<t.length;){var i=t[e];++e;for(var l=i.inputs.length;l-- >0;){var n=i.inputs[l];n.device==flixel_input_actions_FlxInputDevice.KEYBOARD&&i.remove(n)}}},addGamepad:function(e,t){this.gamepadsAdded.push(e);for(var i=new haxe_iterators_MapKeyValueIterator(t);i.hasNext();){var l=i.next(),n=l.key,s=e,a=l.value;switch(n._hx_index){case 0:for(var r=this._up,_=0;_<a.length;){var o=a[_];++_,r.addGamepad(o,1,s)}for(var h=this._upP,u=0;u<a.length;){var d=a[u];++u,h.addGamepad(d,2,s)}for(var c=this._upR,p=0;p<a.length;){var f=a[p];++p,c.addGamepad(f,-1,s)}break;case 1:for(var m=this._left,x=0;x<a.length;){var g=a[x];++x,m.addGamepad(g,1,s)}for(var F=this._leftP,y=0;y<a.length;){var S=a[y];++y,F.addGamepad(S,2,s)}for(var b=this._leftR,U=0;U<a.length;){var v=a[U];++U,b.addGamepad(v,-1,s)}break;case 2:for(var T=this._right,N=0;N<a.length;){var D=a[N];++N,T.addGamepad(D,1,s)}for(var Q=this._rightP,B=0;B<a.length;){var R=a[B];++B,Q.addGamepad(R,2,s)}for(var w=this._rightR,E=0;E<a.length;){var k=a[E];++E,w.addGamepad(k,-1,s)}break;case 3:for(var W=this._down,Z=0;Z<a.length;){var M=a[Z];++Z,W.addGamepad(M,1,s)}for(var P=this._downP,V=0;V<a.length;){var A=a[V];++V,P.addGamepad(A,2,s)}for(var G=this._downR,C=0;C<a.length;){var I=a[C];++C,G.addGamepad(I,-1,s)}break;case 4:for(var L=this._reset,J=0;J<a.length;){var O=a[J];++J,L.addGamepad(O,2,s)}break;case 5:for(var $=this._accept,H=0;H<a.length;){var z=a[H];++H,$.addGamepad(z,2,s)}break;case 6:for(var Y=this._back,X=0;X<a.length;){var j=a[X];++X,Y.addGamepad(j,2,s)}break;case 7:for(var K=this._pause,q=0;q<a.length;){var ee=a[q];++q,K.addGamepad(ee,2,s)}break;case 8:for(var te=this._cheat,ie=0;ie<a.length;){var le=a[ie];++ie,te.addGamepad(le,2,s)}}}},addGamepadLiteral:function(e,t){this.gamepadsAdded.push(e);for(var i=new haxe_iterators_MapKeyValueIterator(t);i.hasNext();){var l=i.next(),n=l.key,s=e,a=l.value;switch(n._hx_index){case 0:for(var r=this._up,_=0;_<a.length;){var o=a[_];++_,r.addGamepad(o,1,s)}for(var h=this._upP,u=0;u<a.length;){var d=a[u];++u,h.addGamepad(d,2,s)}for(var c=this._upR,p=0;p<a.length;){var f=a[p];++p,c.addGamepad(f,-1,s)}break;case 1:for(var m=this._left,x=0;x<a.length;){var g=a[x];++x,m.addGamepad(g,1,s)}for(var F=this._leftP,y=0;y<a.length;){var S=a[y];++y,F.addGamepad(S,2,s)}for(var b=this._leftR,U=0;U<a.length;){var v=a[U];++U,b.addGamepad(v,-1,s)}break;case 2:for(var T=this._right,N=0;N<a.length;){var D=a[N];++N,T.addGamepad(D,1,s)}for(var Q=this._rightP,B=0;B<a.length;){var R=a[B];++B,Q.addGamepad(R,2,s)}for(var w=this._rightR,E=0;E<a.length;){var k=a[E];++E,w.addGamepad(k,-1,s)}break;case 3:for(var W=this._down,Z=0;Z<a.length;){var M=a[Z];++Z,W.addGamepad(M,1,s)}for(var P=this._downP,V=0;V<a.length;){var A=a[V];++V,P.addGamepad(A,2,s)}for(var G=this._downR,C=0;C<a.length;){var I=a[C];++C,G.addGamepad(I,-1,s)}break;case 4:for(var L=this._reset,J=0;J<a.length;){var O=a[J];++J,L.addGamepad(O,2,s)}break;case 5:for(var $=this._accept,H=0;H<a.length;){var z=a[H];++H,$.addGamepad(z,2,s)}break;case 6:for(var Y=this._back,X=0;X<a.length;){var j=a[X];++X,Y.addGamepad(j,2,s)}break;case 7:for(var K=this._pause,q=0;q<a.length;){var ee=a[q];++q,K.addGamepad(ee,2,s)}break;case 8:for(var te=this._cheat,ie=0;ie<a.length;){var le=a[ie];++ie,te.addGamepad(le,2,s)}}}},removeGamepad:function(e){null==e&&(e=-1);for(var t=0,i=this.digitalActions;t<i.length;){var l=i[t];++t;for(var n=l.inputs.length;n-- >0;){var s=l.inputs[n];s.device!=flixel_input_actions_FlxInputDevice.GAMEPAD||-1!=e&&s.deviceID!=e||l.remove(s)}}HxOverrides.remove(this.gamepadsAdded,e)},addDefaultGamepad:function(e){var t=new haxe_ds_EnumValueMap;t.set(Control.ACCEPT,[0]),t.set(Control.BACK,[1]),t.set(Control.UP,[11,34]),t.set(Control.DOWN,[12,36]),t.set(Control.LEFT,[13,37]),t.set(Control.RIGHT,[14,35]),t.set(Control.PAUSE,[7]),t.set(Control.RESET,[3]),this.gamepadsAdded.push(e);for(var i=new haxe_iterators_MapKeyValueIterator(t);i.hasNext();){var l=(t=i.next()).key,n=e,s=t.value;switch(l._hx_index){case 0:for(var a=this._up,r=0;r<s.length;){var _=s[r];++r,a.addGamepad(_,1,n)}for(var o=this._upP,h=0;h<s.length;){var u=s[h];++h,o.addGamepad(u,2,n)}for(var d=this._upR,c=0;c<s.length;){var p=s[c];++c,d.addGamepad(p,-1,n)}break;case 1:for(var f=this._left,m=0;m<s.length;){var x=s[m];++m,f.addGamepad(x,1,n)}for(var g=this._leftP,F=0;F<s.length;){var y=s[F];++F,g.addGamepad(y,2,n)}for(var S=this._leftR,b=0;b<s.length;){var U=s[b];++b,S.addGamepad(U,-1,n)}break;case 2:for(var v=this._right,T=0;T<s.length;){var N=s[T];++T,v.addGamepad(N,1,n)}for(var D=this._rightP,Q=0;Q<s.length;){var B=s[Q];++Q,D.addGamepad(B,2,n)}for(var R=this._rightR,w=0;w<s.length;){var E=s[w];++w,R.addGamepad(E,-1,n)}break;case 3:for(var k=this._down,W=0;W<s.length;){var Z=s[W];++W,k.addGamepad(Z,1,n)}for(var M=this._downP,P=0;P<s.length;){var V=s[P];++P,M.addGamepad(V,2,n)}for(var A=this._downR,G=0;G<s.length;){var C=s[G];++G,A.addGamepad(C,-1,n)}break;case 4:for(var I=this._reset,L=0;L<s.length;){var J=s[L];++L,I.addGamepad(J,2,n)}break;case 5:for(var O=this._accept,$=0;$<s.length;){var H=s[$];++$,O.addGamepad(H,2,n)}break;case 6:for(var z=this._back,Y=0;Y<s.length;){var X=s[Y];++Y,z.addGamepad(X,2,n)}break;case 7:for(var j=this._pause,K=0;K<s.length;){var q=s[K];++K,j.addGamepad(q,2,n)}break;case 8:for(var ee=this._cheat,te=0;te<s.length;){var ie=s[te];++te,ee.addGamepad(ie,2,n)}}}},bindButtons:function(e,t,i){switch(e._hx_index){case 0:for(var l=this._up,n=1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._upP,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._upR,n=-1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 1:for(var l=this._left,n=1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._leftP,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._leftR,n=-1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 2:for(var l=this._right,n=1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._rightP,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._rightR,n=-1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 3:for(var l=this._down,n=1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._downP,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}for(var l=this._downR,n=-1,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 4:for(var l=this._reset,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 5:for(var l=this._accept,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 6:for(var l=this._back,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 7:for(var l=this._pause,n=2,s=0;s<i.length;){a=i[s];++s,l.addGamepad(a,n,t)}break;case 8:for(var l=this._cheat,n=2,s=0;s<i.length;){var a=i[s];++s,l.addGamepad(a,n,t)}}},unbindButtons:function(e,t,i){switch(e._hx_index){case 0:Controls.removeButtons(this._up,t,i),Controls.removeButtons(this._upP,t,i),Controls.removeButtons(this._upR,t,i);break;case 1:Controls.removeButtons(this._left,t,i),Controls.removeButtons(this._leftP,t,i),Controls.removeButtons(this._leftR,t,i);break;case 2:Controls.removeButtons(this._right,t,i),Controls.removeButtons(this._rightP,t,i),Controls.removeButtons(this._rightR,t,i);break;case 3:Controls.removeButtons(this._down,t,i),Controls.removeButtons(this._downP,t,i),Controls.removeButtons(this._downR,t,i);break;case 4:Controls.removeButtons(this._reset,t,i);break;case 5:Controls.removeButtons(this._accept,t,i);break;case 6:Controls.removeButtons(this._back,t,i);break;case 7:Controls.removeButtons(this._pause,t,i);break;case 8:Controls.removeButtons(this._cheat,t,i)}},getInputsFor:function(e,t,i){switch(null==i&&(i=[]),t._hx_index){case 0:for(var l=0,n=this.getActionFromControl(e).inputs;l<n.length;){a=n[l];++l,a.device==flixel_input_actions_FlxInputDevice.KEYBOARD&&i.push(a.inputID)}break;case 1:for(var s=t.id,l=0,n=this.getActionFromControl(e).inputs;l<n.length;){var a=n[l];++l,a.deviceID==s&&i.push(a.inputID)}}return i},removeDevice:function(e){switch(e._hx_index){case 0:this.setKeyboardScheme(KeyboardScheme.None);break;case 1:var t=e.id;this.removeGamepad(t)}},__class__:Controls,__properties__:{get_CHEAT:"get_CHEAT",get_RESET:"get_RESET",get_PAUSE:"get_PAUSE",get_BACK:"get_BACK",get_ACCEPT:"get_ACCEPT",get_DOWN_R:"get_DOWN_R",get_RIGHT_R:"get_RIGHT_R",get_LEFT_R:"get_LEFT_R",get_UP_R:"get_UP_R",get_DOWN_P:"get_DOWN_P",get_RIGHT_P:"get_RIGHT_P",get_LEFT_P:"get_LEFT_P",get_UP_P:"get_UP_P",get_DOWN:"get_DOWN",get_RIGHT:"get_RIGHT",get_LEFT:"get_LEFT",get_UP:"get_UP"}});var CoolUtil=function(){};$hxClasses.CoolUtil=CoolUtil,CoolUtil.__name__="CoolUtil",CoolUtil.difficultyString=function(){return CoolUtil.difficultyArray[PlayState.storyDifficulty]},CoolUtil.coolTextFile=function(e){for(var t=StringTools.trim(lime_utils_Assets.getText(e)).split("\n"),i=0,l=t.length;i<l;){var n=i++;t[n]=StringTools.trim(t[n])}return t},CoolUtil.coolStringFile=function(e){for(var t=StringTools.trim(e).split("\n"),i=0,l=t.length;i<l;){var n=i++;t[n]=StringTools.trim(t[n])}return t},CoolUtil.numberArray=function(e,t){null==t&&(t=0);for(var i=[],l=t,n=e;l<n;){var s=l++;i.push(s)}return i};var DialogueBox=function(e,t){null==e&&(e=!0),this.isEnding=!1,this.dialogueStarted=!1,this.dialogueOpened=!1,this.dialogueList=[],this.curCharacter="";var i=this;switch(flixel_group_FlxTypedSpriteGroup.call(this),PlayState.SONG.song.toLowerCase()){case"senpai":flixel_FlxG.sound.playMusic(Paths.getPath("music/Lunchbox.mp3","MUSIC",null),0);var l=flixel_FlxG.sound.music,n=1,s=0;null==(a=.8)&&(a=1),null==s&&(s=0),null==n&&(n=1),null==l._channel&&l.play(),null!=l.fadeTween&&l.fadeTween.cancel(),l.fadeTween=flixel_tweens_FlxTween.num(s,a,n,{onComplete:null},$bind(l,l.volumeTween));break;case"thorns":flixel_FlxG.sound.playMusic(Paths.getPath("music/LunchboxScary.mp3","MUSIC",null),0);var l=flixel_FlxG.sound.music,n=1,s=0,a=.8;null==a&&(a=1),null==s&&(s=0),null==n&&(n=1),null==l._channel&&l.play(),null!=l.fadeTween&&l.fadeTween.cancel(),l.fadeTween=flixel_tweens_FlxTween.num(s,a,n,{onComplete:null},$bind(l,l.volumeTween))}this.bgFade=new flixel_FlxSprite(-200,-200).makeGraphic(1.3*flixel_FlxG.width|0,1.3*flixel_FlxG.height|0,-4988968),this.bgFade.scrollFactor.set(),this.bgFade.set_alpha(0),this.add(this.bgFade),(new flixel_util_FlxTimer).start(.83,function(e){var t=i.bgFade;t.set_alpha(t.alpha+.13999999999999999),i.bgFade.alpha>.7&&i.bgFade.set_alpha(.7)},5),this.box=new flixel_FlxSprite(-20,45);var r=!1;switch(PlayState.SONG.song.toLowerCase()){case"roses":r=!0,flixel_FlxG.sound.play(Paths.sound("ANGRY_TEXT_BOX"));o=null;this.box.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/pixelUI/dialogueBox-senpaiMad.png","IMAGE",o),Paths.getPath("images/weeb/pixelUI/dialogueBox-senpaiMad.xml","TEXT",o))),this.box.animation.addByPrefix("normalOpen","SENPAI ANGRY IMPACT SPEECH",24,!1),this.box.animation.addByIndices("normal","SENPAI ANGRY IMPACT SPEECH",[4],"",24);break;case"senpai":r=!0;o=null;this.box.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/pixelUI/dialogueBox-pixel.png","IMAGE",o),Paths.getPath("images/weeb/pixelUI/dialogueBox-pixel.xml","TEXT",o))),this.box.animation.addByPrefix("normalOpen","Text Box Appear",24,!1),this.box.animation.addByIndices("normal","Text Box Appear",[4],"",24);break;case"thorns":r=!0;o=null;this.box.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/pixelUI/dialogueBox-evil.png","IMAGE",o),Paths.getPath("images/weeb/pixelUI/dialogueBox-evil.xml","TEXT",o))),this.box.animation.addByPrefix("normalOpen","Spirit Textbox spawn",24,!1),this.box.animation.addByIndices("normal","Spirit Textbox spawn",[11],"",24);var _=new flixel_FlxSprite(320,170).loadGraphic(Paths.getPath("images/weeb/spiritFaceForward.png","IMAGE",null));_.setGraphicSize(6*_.get_width()|0),this.add(_)}if(this.dialogueList=t,r){this.portraitLeft=new flixel_FlxSprite(-20,40);o=null;this.portraitLeft.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/senpaiPortrait.png","IMAGE",o),Paths.getPath("images/weeb/senpaiPortrait.xml","TEXT",o))),this.portraitLeft.animation.addByPrefix("enter","Senpai Portrait Enter",24,!1),this.portraitLeft.setGraphicSize(this.portraitLeft.get_width()*PlayState.daPixelZoom*.9|0),this.portraitLeft.updateHitbox(),this.portraitLeft.scrollFactor.set(),this.add(this.portraitLeft),this.portraitLeft.set_visible(!1),this.portraitRight=new flixel_FlxSprite(0,40);var o=null;this.portraitRight.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/bfPortrait.png","IMAGE",o),Paths.getPath("images/weeb/bfPortrait.xml","TEXT",o))),this.portraitRight.animation.addByPrefix("enter","Boyfriend portrait enter",24,!1),this.portraitRight.setGraphicSize(this.portraitRight.get_width()*PlayState.daPixelZoom*.9|0),this.portraitRight.updateHitbox(),this.portraitRight.scrollFactor.set(),this.add(this.portraitRight),this.portraitRight.set_visible(!1),this.box.animation.play("normalOpen"),this.box.setGraphicSize(this.box.get_width()*PlayState.daPixelZoom*.9|0),this.box.updateHitbox(),this.add(this.box),this.box.screenCenter(flixel_util_FlxAxes.X),this.portraitLeft.screenCenter(flixel_util_FlxAxes.X),this.handSelect=new flixel_FlxSprite(.9*flixel_FlxG.width,.9*flixel_FlxG.height).loadGraphic(Paths.getPath("images/weeb/pixelUI/hand_textbox.png","IMAGE",null)),this.add(this.handSelect);h=!e;this.dropText=new flixel_text_FlxText(242,502,.6*flixel_FlxG.width|0,"",32),this.dropText.set_font("Pixel Arial 11 Bold"),this.dropText.set_color(-2583404),this.add(this.dropText),this.swagDialogue=new flixel_addons_text_FlxTypeText(240,500,.6*flixel_FlxG.width|0,"",32),this.swagDialogue.set_font("Pixel Arial 11 Bold"),this.swagDialogue.set_color(-12640223);var h=flixel_FlxG.sound.load(Paths.sound("pixelText"),.6);this.swagDialogue.sounds=[h],this.add(this.swagDialogue),this.dialogue=new Alphabet(0,80,"",!1,!0)}};$hxClasses.DialogueBox=DialogueBox,DialogueBox.__name__="DialogueBox",DialogueBox.__super__=flixel_group_FlxTypedSpriteGroup,DialogueBox.prototype=$extend(flixel_group_FlxTypedSpriteGroup.prototype,{box:null,curCharacter:null,dialogue:null,dialogueList:null,swagDialogue:null,dropText:null,finishThing:null,portraitLeft:null,portraitRight:null,handSelect:null,bgFade:null,dialogueOpened:null,dialogueStarted:null,update:function(e){var t=this;if("roses"==PlayState.SONG.song.toLowerCase()&&this.portraitLeft.set_visible(!1),"thorns"==PlayState.SONG.song.toLowerCase()&&(this.portraitLeft.set_color(-16777216),this.swagDialogue.set_color(-1),this.dropText.set_color(-16777216)),this.dropText.set_text(this.swagDialogue.text),null!=this.box.animation._curAnim&&"normalOpen"==this.box.animation._curAnim.name&&this.box.animation._curAnim.finished&&(this.box.animation.play("normal"),this.dialogueOpened=!0),this.dialogueOpened&&!this.dialogueStarted&&(this.startDialogue(),this.dialogueStarted=!0),flixel_FlxG.keys.justPressed.get_ANY()&&1==this.dialogueStarted)if(this.remove(this.dialogue),flixel_FlxG.sound.play(Paths.sound("clickText"),.8),null==this.dialogueList[1]&&null!=this.dialogueList[0]){if(!this.isEnding){if(this.isEnding=!0,"senpai"==PlayState.SONG.song.toLowerCase()||"thorns"==PlayState.SONG.song.toLowerCase()){var i=flixel_FlxG.sound.music,l=2.2,n=0;null==n&&(n=0),null==l&&(l=1),null!=i.fadeTween&&i.fadeTween.cancel(),i.fadeTween=flixel_tweens_FlxTween.num(i._volume,n,l,{onComplete:null},$bind(i,i.volumeTween))}(new flixel_util_FlxTimer).start(.2,function(e){var i=t.box;i.set_alpha(i.alpha-.2),(i=t.bgFade).set_alpha(i.alpha-.13999999999999999),t.portraitLeft.set_visible(!1),t.portraitRight.set_visible(!1),(i=t.swagDialogue).set_alpha(i.alpha-.2),t.dropText.set_alpha(t.swagDialogue.alpha)},5),(new flixel_util_FlxTimer).start(1.2,function(e){t.finishThing(),t.kill()})}}else HxOverrides.remove(this.dialogueList,this.dialogueList[0]),this.startDialogue();flixel_group_FlxTypedSpriteGroup.prototype.update.call(this,e)},isEnding:null,startDialogue:function(){switch(this.cleanDialog(),this.swagDialogue.resetText(this.dialogueList[0]),this.swagDialogue.start(.04,!0),this.curCharacter){case"bf":this.portraitLeft.set_visible(!1),this.portraitRight.visible||(this.portraitRight.set_visible(!0),this.portraitRight.animation.play("enter"));break;case"dad":this.portraitRight.set_visible(!1),this.portraitLeft.visible||(this.portraitLeft.set_visible(!0),this.portraitLeft.animation.play("enter"))}},cleanDialog:function(){var e=this.dialogueList[0].split(":");this.curCharacter=e[1],this.dialogueList[0]=StringTools.trim(HxOverrides.substr(this.dialogueList[0],e[1].length+2,null))},__class__:DialogueBox});var EReg=function(e,t){this.r=new RegExp(e,t.split("u").join(""))};$hxClasses.EReg=EReg,EReg.__name__="EReg",EReg.prototype={r:null,match:function(e){return this.r.global&&(this.r.lastIndex=0),this.r.m=this.r.exec(e),this.r.s=e,null!=this.r.m},matched:function(e){if(null!=this.r.m&&e>=0&&e<this.r.m.length)return this.r.m[e];throw haxe_Exception.thrown("EReg::matched")},matchedRight:function(){if(null==this.r.m)throw haxe_Exception.thrown("No string matched");var e=this.r.m.index+this.r.m[0].length;return HxOverrides.substr(this.r.s,e,this.r.s.length-e)},matchedPos:function(){if(null==this.r.m)throw haxe_Exception.thrown("No string matched");return{pos:this.r.m.index,len:this.r.m[0].length}},matchSub:function(e,t,i){if(null==i&&(i=-1),this.r.global)return this.r.lastIndex=t,this.r.m=this.r.exec(i<0?e:HxOverrides.substr(e,0,t+i)),(l=null!=this.r.m)&&(this.r.s=e),l;var l=this.match(i<0?HxOverrides.substr(e,t,null):HxOverrides.substr(e,t,i));return l&&(this.r.s=e,this.r.m.index+=t),l},split:function(e){var t="#__delim__#";return e.replace(this.r,t).split(t)},map:function(e,t){for(var i=0,l="";;){if(i>=e.length)break;if(!this.matchSub(e,i)){l+=Std.string(HxOverrides.substr(e,i,null));break}var n=this.matchedPos();if(l+=Std.string(HxOverrides.substr(e,i,n.pos-i)),l+=Std.string(t(this)),0==n.len?(l+=Std.string(HxOverrides.substr(e,n.pos,1)),i=n.pos+1):i=n.pos+n.len,!this.r.global)break}return!this.r.global&&i>0&&i<e.length&&(l+=Std.string(HxOverrides.substr(e,i,null))),l},__class__:EReg};var EtternaFunctions=function(){};$hxClasses.EtternaFunctions=EtternaFunctions,EtternaFunctions.__name__="EtternaFunctions",EtternaFunctions.erf=function(e){var t=1;e<0&&(t=-1),e=Math.abs(e);var i=1/(1+EtternaFunctions.p*e);return t*(1-((((EtternaFunctions.a5*i+EtternaFunctions.a4)*i+EtternaFunctions.a3)*i+EtternaFunctions.a2)*i+EtternaFunctions.a1)*i*Math.exp(-e*e))},EtternaFunctions.getNotes=function(){for(var e=0,t=0,i=PlayState.SONG.notes.length;t<i;)for(var l=t++,n=0,s=PlayState.SONG.notes[l].sectionNotes.length;n<s;){var a=n++;PlayState.SONG.notes[l].sectionNotes[a][1]<=0&&++e}return e},EtternaFunctions.getHolds=function(){for(var e=0,t=0,i=PlayState.SONG.notes.length;t<i;){var l=t++;haxe_Log.trace(PlayState.SONG.notes[l],{fileName:"source/EtternaFunctions.hx",lineNumber:46,className:"EtternaFunctions",methodName:"getHolds"});for(var n=0,s=PlayState.SONG.notes[l].sectionNotes.length;n<s;){var a=n++,r=PlayState.SONG.notes[l].sectionNotes[a];haxe_Log.trace(r,{fileName:"source/EtternaFunctions.hx",lineNumber:50,className:"EtternaFunctions",methodName:"getHolds"}),r[1]>0&&++e}}return e},EtternaFunctions.getMapMaxScore=function(){return 350*EtternaFunctions.getNotes()},EtternaFunctions.wife3=function(e,t){var i=5*t,l=180*t,n=65*Math.pow(t,.75),s=22.7*Math.pow(t,.75);return e<=i?1:e<=n?1*EtternaFunctions.erf((n-e)/s):e<=l?-5.5*(e-n)/(l-n):-5.5};var FreeplayState=function(e,t){this.iconArray=[],this.curPlaying=!1,this.intendedScore=0,this.lerpScore=0,this.curDifficulty=1,this.curSelected=0,this.songs=[],MusicBeatState.call(this,e,t)};$hxClasses.FreeplayState=FreeplayState,FreeplayState.__name__="FreeplayState",FreeplayState.__super__=MusicBeatState,FreeplayState.prototype=$extend(MusicBeatState.prototype,{songs:null,selector:null,curSelected:null,curDifficulty:null,scoreText:null,diffText:null,lerpScore:null,intendedScore:null,grpSongs:null,curPlaying:null,iconArray:null,create:function(){for(var e=CoolUtil.coolTextFile(Paths.getPath("data/freeplaySonglist.txt","TEXT",null)),t=0,i=e.length;t<i;){n=t++;this.songs.push(new SongMetadata(e[n],1,"gf"))}this.addWeek(["parish","worship","zavodila","Gospel"],1,["sarvente","sarvente-dark","ruv","sarvente-lucifer"]);var l=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/menuBGBlue.png","IMAGE",null));this.add(l),this.grpSongs=new flixel_group_FlxTypedGroup,this.add(this.grpSongs);for(var t=0,i=this.songs.length;t<i;){var n=t++,s=new Alphabet(0,70*n+30,this.songs[n].songName,!0,!1);s.isMenuItem=!0,s.targetY=n,this.grpSongs.add(s);var a=new HealthIcon(this.songs[n].songCharacter);a.sprTracker=s,this.iconArray.push(a),this.add(a)}this.scoreText=new flixel_text_FlxText(.7*flixel_FlxG.width,5,0,"",32),this.scoreText.setFormat("assets/fonts/vcr.ttf",32,-1,"right");var r=new flixel_FlxSprite(this.scoreText.x-6,0).makeGraphic(.35*flixel_FlxG.width|0,66,-16777216);r.set_alpha(.6),this.add(r),this.diffText=new flixel_text_FlxText(this.scoreText.x,this.scoreText.y+36,0,"",24),this.diffText.set_font(this.scoreText._font),this.add(this.diffText),this.add(this.scoreText),this.changeSelection(),this.changeDiff(),this.selector=new flixel_text_FlxText,this.selector.set_size(40),this.selector.set_text(">");new Alphabet(1,0,"swag");MusicBeatState.prototype.create.call(this)},addSong:function(e,t,i){this.songs.push(new SongMetadata(e,t,i))},addWeek:function(e,t,i){null==i&&(i=["bf"]);for(var l=0,n=0;n<e.length;){var s=e[n];++n,this.addSong(s,t,i[l]),1!=i.length&&++l}},update:function(e){if(MusicBeatState.prototype.update.call(this,e),flixel_FlxG.sound.music._volume<.7){var t=flixel_FlxG.sound.music;t.set_volume(t._volume+.5*flixel_FlxG.elapsed)}var i=this.lerpScore;this.lerpScore=Math.floor(i+.4*(this.intendedScore-i)),Math.abs(this.lerpScore-this.intendedScore)<=10&&(this.lerpScore=this.intendedScore),this.scoreText.set_text("PERSONAL BEST:"+this.lerpScore);var l=PlayerSettings.player1.controls._upP.check(),n=PlayerSettings.player1.controls._downP.check(),s=PlayerSettings.player1.controls._accept.check();if(l&&this.changeSelection(-1),n&&this.changeSelection(1),PlayerSettings.player1.controls._leftP.check()&&this.changeDiff(-1),PlayerSettings.player1.controls._rightP.check()&&this.changeDiff(1),PlayerSettings.player1.controls._back.check()){r=new MainMenuState;flixel_FlxG.game._state.switchTo(r)&&(flixel_FlxG.game._requestedState=r)}if(s){var a=Highscore.formatSong(this.songs[this.curSelected].songName.toLowerCase(),this.curDifficulty);haxe_Log.trace(a,{fileName:"source/FreeplayState.hx",lineNumber:208,className:"FreeplayState",methodName:"update"}),PlayState.SONG=Song.loadFromJson(a,this.songs[this.curSelected].songName.toLowerCase()),PlayState.isStoryMode=!1,PlayState.storyDifficulty=this.curDifficulty,PlayState.storyWeek=this.songs[this.curSelected].week,haxe_Log.trace("CUR WEEK"+PlayState.storyWeek,{fileName:"source/FreeplayState.hx",lineNumber:215,className:"FreeplayState",methodName:"update"});var r=LoadingState.getNextState(new PlayState,!1);flixel_FlxG.game._state.switchTo(r)&&(flixel_FlxG.game._requestedState=r)}},changeDiff:function(e){switch(null==e&&(e=0),this.curDifficulty+=e,this.curDifficulty<0&&(this.curDifficulty=2),this.curDifficulty>2&&(this.curDifficulty=0),this.intendedScore=Highscore.getScore(this.songs[this.curSelected].songName,this.curDifficulty),this.curDifficulty){case 0:this.diffText.set_text("EASY");break;case 1:this.diffText.set_text("NORMAL");break;case 2:this.diffText.set_text("HARD")}},changeSelection:function(e){null==e&&(e=0),flixel_FlxG.sound.play(Paths.sound("scrollMenu"),.4),this.curSelected+=e,this.curSelected<0&&(this.curSelected=this.songs.length-1),this.curSelected>=this.songs.length&&(this.curSelected=0),this.intendedScore=Highscore.getScore(this.songs[this.curSelected].songName,this.curDifficulty);for(var t=0,i=0,l=this.iconArray.length;i<l;){var n=i++;this.iconArray[n].set_alpha(.6)}this.iconArray[this.curSelected].set_alpha(1);for(var i=0,l=this.grpSongs.members;i<l.length;){var s=l[i];++i,s.targetY=t-this.curSelected,++t,s.set_alpha(.6),0==s.targetY&&s.set_alpha(1)}},__class__:FreeplayState});var SongMetadata=function(e,t,i){this.songCharacter="",this.week=0,this.songName="",this.songName=e,this.week=t,this.songCharacter=i};$hxClasses.SongMetadata=SongMetadata,SongMetadata.__name__="SongMetadata",SongMetadata.prototype={songName:null,week:null,songCharacter:null,__class__:SongMetadata};var flixel_FlxSubState=function(e){null==e&&(e=0),this._created=!1,flixel_FlxState.call(this),this.closeCallback=null,this.openCallback=null,flixel_FlxG.renderTile&&(this._bgSprite=new flixel_system_FlxBGSprite),this.set_bgColor(e)};$hxClasses["flixel.FlxSubState"]=flixel_FlxSubState,flixel_FlxSubState.__name__="flixel.FlxSubState",flixel_FlxSubState.__super__=flixel_FlxState,flixel_FlxSubState.prototype=$extend(flixel_FlxState.prototype,{openCallback:null,closeCallback:null,_bgSprite:null,_parentState:null,_bgColor:null,_created:null,draw:function(){if(flixel_FlxG.renderBlit)for(var e=0,t=this.get_cameras();e<t.length;){var i=t[e];++e,i.fill(this._bgColor)}else this._bgSprite.draw();flixel_FlxState.prototype.draw.call(this)},destroy:function(){flixel_FlxState.prototype.destroy.call(this),this.closeCallback=null,this.openCallback=null,this._parentState=null,this._bgSprite=null},close:function(){null!=this._parentState&&this._parentState.subState==this&&this._parentState.closeSubState()},get_bgColor:function(){return this._bgColor},set_bgColor:function(e){return flixel_FlxG.renderTile&&null!=this._bgSprite&&this._bgSprite.get_pixels().setPixel32(0,0,e),this._bgColor=e},__class__:flixel_FlxSubState});var MusicBeatSubstate=function(){this.curBeat=0,this.curStep=0,this.lastStep=0,this.lastBeat=0,flixel_FlxSubState.call(this)};$hxClasses.MusicBeatSubstate=MusicBeatSubstate,MusicBeatSubstate.__name__="MusicBeatSubstate",MusicBeatSubstate.__super__=flixel_FlxSubState,MusicBeatSubstate.prototype=$extend(flixel_FlxSubState.prototype,{lastBeat:null,lastStep:null,curStep:null,curBeat:null,get_controls:function(){return PlayerSettings.player1.controls},update:function(e){var t=this.curStep;this.updateCurStep(),this.curBeat=Math.floor(this.curStep/4),t!=this.curStep&&this.curStep>0&&this.stepHit(),flixel_FlxSubState.prototype.update.call(this,e)},updateCurStep:function(){for(var e={stepTime:0,songTime:0,bpm:0},t=0,i=Conductor.bpmChangeMap.length;t<i;){var l=t++;Conductor.songPosition>Conductor.bpmChangeMap[l].songTime&&(e=Conductor.bpmChangeMap[l])}this.curStep=e.stepTime+Math.floor((Conductor.songPosition-e.songTime)/Conductor.stepCrochet)},stepHit:function(){this.curStep%4==0&&this.beatHit()},beatHit:function(){},__class__:MusicBeatSubstate,__properties__:$extend(flixel_FlxSubState.prototype.__properties__,{get_controls:"get_controls"})});var GameOverSubstate=function(e,t){this.isEnding=!1,this.stageSuffix="";var i="";switch(PlayState.curStage){case"school":case"schoolEvil":this.stageSuffix="-pixel",i="bf-pixel-dead";break;default:i="bf"}MusicBeatSubstate.call(this),Conductor.songPosition=0,this.bf=new Boyfriend(e,t,i),this.add(this.bf),this.camFollow=new flixel_FlxObject(this.bf.getGraphicMidpoint().x,this.bf.getGraphicMidpoint().y,1,1),this.add(this.camFollow),flixel_FlxG.sound.play(Paths.sound("fnf_loss_sfx"+this.stageSuffix)),Conductor.changeBPM(100),flixel_FlxG.camera.scroll.set(),flixel_FlxG.camera.target=null,this.bf.playAnim("firstDeath")};$hxClasses.GameOverSubstate=GameOverSubstate,GameOverSubstate.__name__="GameOverSubstate",GameOverSubstate.__super__=MusicBeatSubstate,GameOverSubstate.prototype=$extend(MusicBeatSubstate.prototype,{bf:null,camFollow:null,stageSuffix:null,update:function(e){if(MusicBeatSubstate.prototype.update.call(this,e),PlayerSettings.player1.controls._accept.check()&&this.endBullshit(),PlayerSettings.player1.controls._back.check()){var t=flixel_FlxG.sound.music;if(t.cleanup(t.autoDestroy,!0),PlayState.isStoryMode){i=new StoryMenuState;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)}else{var i=new FreeplayState;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)}PlayState.loadRep=!1}"firstDeath"==this.bf.animation._curAnim.name&&12==this.bf.animation._curAnim.curFrame&&flixel_FlxG.camera.follow(this.camFollow,flixel_FlxCameraFollowStyle.LOCKON,.01),"firstDeath"==this.bf.animation._curAnim.name&&this.bf.animation._curAnim.finished&&flixel_FlxG.sound.playMusic(Paths.getPath("music/gameOver"+this.stageSuffix+".mp3","MUSIC",null)),null!=flixel_FlxG.sound.music._channel&&(Conductor.songPosition=flixel_FlxG.sound.music._time)},beatHit:function(){MusicBeatSubstate.prototype.beatHit.call(this)},isEnding:null,endBullshit:function(){if(!this.isEnding){this.isEnding=!0,this.bf.playAnim("deathConfirm",!0);var e=flixel_FlxG.sound.music;e.cleanup(e.autoDestroy,!0),flixel_FlxG.sound.play(Paths.getPath("music/gameOverEnd"+this.stageSuffix+".mp3","MUSIC",null)),(new flixel_util_FlxTimer).start(.7,function(e){flixel_FlxG.camera.fade(-16777216,2,!1,function(){var e=LoadingState.getNextState(new PlayState,!1);flixel_FlxG.game._state.switchTo(e)&&(flixel_FlxG.game._requestedState=e)})})}},__class__:GameOverSubstate});var GitarooPause=function(){this.replaySelect=!1,MusicBeatState.call(this)};$hxClasses.GitarooPause=GitarooPause,GitarooPause.__name__="GitarooPause",GitarooPause.__super__=MusicBeatState,GitarooPause.prototype=$extend(MusicBeatState.prototype,{replayButton:null,cancelButton:null,replaySelect:null,create:function(){if(null!=flixel_FlxG.sound.music){var e=flixel_FlxG.sound.music;e.cleanup(e.autoDestroy,!0)}var t=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/pauseAlt/pauseBG.png","IMAGE",null));this.add(t);var i=new flixel_FlxSprite(0,30),l=null;i.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/pauseAlt/bfLol.png","IMAGE",l),Paths.getPath("images/pauseAlt/bfLol.xml","TEXT",l))),i.animation.addByPrefix("lol","funnyThing",13),i.animation.play("lol"),this.add(i),i.screenCenter(flixel_util_FlxAxes.X),this.replayButton=new flixel_FlxSprite(.28*flixel_FlxG.width,.7*flixel_FlxG.height);l=null;this.replayButton.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/pauseAlt/pauseUI.png","IMAGE",l),Paths.getPath("images/pauseAlt/pauseUI.xml","TEXT",l))),this.replayButton.animation.addByPrefix("selected","bluereplay",0,!1),this.replayButton.animation.appendByPrefix("selected","yellowreplay"),this.replayButton.animation.play("selected"),this.add(this.replayButton),this.cancelButton=new flixel_FlxSprite(.58*flixel_FlxG.width,this.replayButton.y);l=null;this.cancelButton.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/pauseAlt/pauseUI.png","IMAGE",l),Paths.getPath("images/pauseAlt/pauseUI.xml","TEXT",l))),this.cancelButton.animation.addByPrefix("selected","bluecancel",0,!1),this.cancelButton.animation.appendByPrefix("selected","cancelyellow"),this.cancelButton.animation.play("selected"),this.add(this.cancelButton),this.changeThing(),MusicBeatState.prototype.create.call(this)},update:function(e){if((PlayerSettings.player1.controls._leftP.check()||PlayerSettings.player1.controls._rightP.check())&&this.changeThing(),PlayerSettings.player1.controls._accept.check())if(this.replaySelect){t=new PlayState;flixel_FlxG.game._state.switchTo(t)&&(flixel_FlxG.game._requestedState=t)}else{var t=new MainMenuState;flixel_FlxG.game._state.switchTo(t)&&(flixel_FlxG.game._requestedState=t)}MusicBeatState.prototype.update.call(this,e)},changeThing:function(){this.replaySelect=!this.replaySelect,this.replaySelect?(this.cancelButton.animation._curAnim.set_curFrame(0),this.replayButton.animation._curAnim.set_curFrame(1)):(this.cancelButton.animation._curAnim.set_curFrame(1),this.replayButton.animation._curAnim.set_curFrame(0))},__class__:GitarooPause});var HealthIcon=function(e,t){null==t&&(t=!1),null==e&&(e="bf"),flixel_FlxSprite.call(this),this.loadGraphic(Paths.getPath("images/iconGrid.png","IMAGE",null),!0,150,150),this.set_antialiasing(!0),this.animation.add("bf",[0,1],0,!1,t),this.animation.add("bf-car",[0,1],0,!1,t),this.animation.add("bf-christmas",[0,1],0,!1,t),this.animation.add("bf-pixel",[21,21],0,!1,t),this.animation.add("spooky",[2,3],0,!1,t),this.animation.add("pico",[4,5],0,!1,t),this.animation.add("mom",[6,7],0,!1,t),this.animation.add("mom-car",[6,7],0,!1,t),this.animation.add("tankman",[8,9],0,!1,t),this.animation.add("face",[10,11],0,!1,t),this.animation.add("dad",[12,13],0,!1,t),this.animation.add("senpai",[22,22],0,!1,t),this.animation.add("senpai-angry",[22,22],0,!1,t),this.animation.add("spirit",[23,23],0,!1,t),this.animation.add("bf-old",[14,15],0,!1,t),this.animation.add("gf",[16],0,!1,t),this.animation.add("parents-christmas",[17],0,!1,t),this.animation.add("monster",[19,20],0,!1,t),this.animation.add("monster-christmas",[19,20],0,!1,t),this.animation.add("sarvente",[24,25],0,!1,t),this.animation.add("sarvente-dark",[24,25],0,!1,t),this.animation.add("sarvente-lucifer",[28,29],0,!1,t),this.animation.add("ruv",[26,27],0,!1,t),this.animation.play(e),this.scrollFactor.set()};$hxClasses.HealthIcon=HealthIcon,HealthIcon.__name__="HealthIcon",HealthIcon.__super__=flixel_FlxSprite,HealthIcon.prototype=$extend(flixel_FlxSprite.prototype,{sprTracker:null,update:function(e){flixel_FlxSprite.prototype.update.call(this,e),null!=this.sprTracker&&this.setPosition(this.sprTracker.x+this.sprTracker.get_width()+10,this.sprTracker.y-30)},__class__:HealthIcon});var Highscore=function(){};$hxClasses.Highscore=Highscore,Highscore.__name__="Highscore",Highscore.saveScore=function(e,t,i){null==i&&(i=0),null==t&&(t=0);var l=Highscore.formatSong(e,i),n=t;if(null==n&&(n=0),NGio.isLoggedIn)for(var s=io_newgrounds_NG.core.scoreBoards.keys();s.hasNext();){var a=s.next(),r=io_newgrounds_NG.core.scoreBoards.h[a];e==r._data.name&&r.postScore(n,"Uhh meow?")}Object.prototype.hasOwnProperty.call(Highscore.songScores.h,l)?Highscore.songScores.h[l]<t&&Highscore.setScore(l,t):Highscore.setScore(l,t)},Highscore.saveWeekScore=function(e,t,i){null==i&&(i=0),null==t&&(t=0),null==e&&(e=1);var l=t,n="Week "+e;if(null==l&&(l=0),NGio.isLoggedIn)for(var s=io_newgrounds_NG.core.scoreBoards.keys();s.hasNext();){var a=s.next(),r=io_newgrounds_NG.core.scoreBoards.h[a];n==r._data.name&&r.postScore(l,"Uhh meow?")}var _=Highscore.formatSong("week"+e,i);Object.prototype.hasOwnProperty.call(Highscore.songScores.h,_)?Highscore.songScores.h[_]<t&&Highscore.setScore(_,t):Highscore.setScore(_,t)},Highscore.setScore=function(e,t){Highscore.songScores.h[e]=t,flixel_FlxG.save.data.songScores=Highscore.songScores,flixel_FlxG.save.flush()},Highscore.formatSong=function(e,t){var i=e;return 0==t?i+="-easy":2==t&&(i+="-hard"),i},Highscore.getScore=function(e,t){var i=Highscore.songScores,l=Highscore.formatSong(e,t);Object.prototype.hasOwnProperty.call(i.h,l)||Highscore.setScore(Highscore.formatSong(e,t),0);var i=Highscore.songScores,l=Highscore.formatSong(e,t);return i.h[l]},Highscore.getWeekScore=function(e,t){var i=Highscore.songScores,l=Highscore.formatSong("week"+e,t);Object.prototype.hasOwnProperty.call(i.h,l)||Highscore.setScore(Highscore.formatSong("week"+e,t),0);var i=Highscore.songScores,l=Highscore.formatSong("week"+e,t);return i.h[l]},Highscore.load=function(){null!=flixel_FlxG.save.data.songScores&&(Highscore.songScores=flixel_FlxG.save.data.songScores)};var HxOverrides=function(){};$hxClasses.HxOverrides=HxOverrides,HxOverrides.__name__="HxOverrides",HxOverrides.dateStr=function(e){var t=e.getMonth()+1,i=e.getDate(),l=e.getHours(),n=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+(t<10?"0"+t:""+t)+"-"+(i<10?"0"+i:""+i)+" "+(l<10?"0"+l:""+l)+":"+(n<10?"0"+n:""+n)+":"+(s<10?"0"+s:""+s)},HxOverrides.strDate=function(e){switch(e.length){case 8:var t=e.split(":"),i=new Date;return i.setTime(0),i.setUTCHours(t[0]),i.setUTCMinutes(t[1]),i.setUTCSeconds(t[2]),i;case 10:t=e.split("-");return new Date(t[0],t[1]-1,t[2],0,0,0);case 19:var l=(t=e.split(" "))[0].split("-"),n=t[1].split(":");return new Date(l[0],l[1]-1,l[2],n[0],n[1],n[2]);default:throw haxe_Exception.thrown("Invalid date format : "+e)}},HxOverrides.cca=function(e,t){var i=e.charCodeAt(t);if(i==i)return i},HxOverrides.substr=function(e,t,i){if(null==i)i=e.length;else if(i<0){if(0!=t)return"";i=e.length+i}return e.substr(t,i)},HxOverrides.remove=function(e,t){var i=e.indexOf(t);return-1!=i&&(e.splice(i,1),!0)},HxOverrides.now=function(){return Date.now()};var IntIterator=function(e,t){this.min=e,this.max=t};$hxClasses.IntIterator=IntIterator,IntIterator.__name__="IntIterator",IntIterator.prototype={min:null,max:null,hasNext:function(){return this.min<this.max},next:function(){return this.min++},__class__:IntIterator};var KadeEngineData=function(){};$hxClasses.KadeEngineData=KadeEngineData,KadeEngineData.__name__="KadeEngineData",KadeEngineData.initSave=function(){null==flixel_FlxG.save.data.newInput&&(flixel_FlxG.save.data.newInput=!0),null==flixel_FlxG.save.data.downscroll&&(flixel_FlxG.save.data.downscroll=!1),null==flixel_FlxG.save.data.dfjk&&(flixel_FlxG.save.data.dfjk=!1),null==flixel_FlxG.save.data.accuracyDisplay&&(flixel_FlxG.save.data.accuracyDisplay=!0),null==flixel_FlxG.save.data.offset&&(flixel_FlxG.save.data.offset=0),null==flixel_FlxG.save.data.offset&&(flixel_FlxG.save.data.offset=0),null==flixel_FlxG.save.data.songPosition&&(flixel_FlxG.save.data.songPosition=!1),null==flixel_FlxG.save.data.etternaMode&&(flixel_FlxG.save.data.etternaMode=!1)};var Lambda=function(){};$hxClasses.Lambda=Lambda,Lambda.__name__="Lambda",Lambda.array=function(e){for(var t=[],i=$getIterator(e);i.hasNext();){var l=i.next();t.push(l)}return t},Lambda.exists=function(e,t){for(var i=$getIterator(e);i.hasNext();)if(t(i.next()))return!0;return!1};var LoadReplayState=function(e,t){this.isSettingControl=!1,this.actualNames=[],this.controlsStrings=[],this.songs=[],this.curSelected=0,MusicBeatState.call(this,e,t)};$hxClasses.LoadReplayState=LoadReplayState,LoadReplayState.__name__="LoadReplayState",LoadReplayState.__super__=MusicBeatState,LoadReplayState.prototype=$extend(MusicBeatState.prototype,{selector:null,curSelected:null,songs:null,controlsStrings:null,actualNames:null,grpControls:null,versionShit:null,poggerDetails:null,create:function(){var e=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/menuDesat.png","IMAGE",null));haxe_Log.trace(this.controlsStrings,{fileName:"source/LoadReplayState.hx",lineNumber:38,className:"LoadReplayState",methodName:"create"}),this.controlsStrings.sort(Reflect.compare),this.addWeek(["Bopeebo","Fresh","Dadbattle"],1,["dad"]),this.addWeek(["Spookeez","South","Monster"],2,["spooky"]),this.addWeek(["Pico","Philly","Blammed"],3,["pico"]),this.addWeek(["Satin-Panties","High","Milf"],4,["mom"]),this.addWeek(["Cocoa","Eggnog","Winter-Horrorland"],5,["parents-christmas","parents-christmas","monster-christmas"]),this.addWeek(["Senpai","Roses","Thorns"],6,["senpai","senpai","spirit"]);for(var t=0,i=this.controlsStrings.length;t<i;){var l=t++,n=this.controlsStrings[l];this.actualNames[l]=n;var s=Replay.LoadReplay(n);this.controlsStrings[l]=n.split("time")[0]+" "+(2==s.replay.songDiff?"HARD":1==s.replay.songDiff?"EASY":"NORMAL")}0==this.controlsStrings.length&&this.controlsStrings.push("No Replays..."),e.set_color(-1412611),e.setGraphicSize(1.1*e.get_width()|0),e.updateHitbox(),e.screenCenter(),e.set_antialiasing(!0),this.add(e),this.grpControls=new flixel_group_FlxTypedGroup,this.add(this.grpControls);for(var t=0,i=this.controlsStrings.length;t<i;){var l=t++,a=new Alphabet(0,70*l+30,this.controlsStrings[l],!0,!1);a.isMenuItem=!0,a.targetY=l,this.grpControls.add(a)}this.versionShit=new flixel_text_FlxText(5,flixel_FlxG.height-34,0,"Replay Loader (ESCAPE TO GO BACK)\nNOTICE!!!! Replays are in a beta stage, and they are probably not 100% correct. expect misses and other stuff that isn't there!",12),this.versionShit.scrollFactor.set(),this.versionShit.setFormat("VCR OSD Mono",16,-1,"left",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.add(this.versionShit),this.poggerDetails=new flixel_text_FlxText(5,34,0,"Replay Details - \nnone",12),this.poggerDetails.scrollFactor.set(),this.poggerDetails.setFormat("VCR OSD Mono",16,-1,"left",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.add(this.poggerDetails),this.changeSelection(0),MusicBeatState.prototype.create.call(this)},getWeekNumbFromSong:function(e){for(var t=0,i=0,l=this.songs.length;i<l;){var n=i++,s=this.songs[n];s.songName.toLowerCase()==e&&(t=s.week)}return t},addSong:function(e,t,i){this.songs.push(new SongMetadata(e,t,i))},addWeek:function(e,t,i){null==i&&(i=["bf"]);for(var l=0,n=0;n<e.length;){var s=e[n];++n,this.addSong(s,t,i[l]),1!=i.length&&++l}},update:function(e){if(MusicBeatState.prototype.update.call(this,e),PlayerSettings.player1.controls._back.check()){i=new OptionsMenu;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)}if(PlayerSettings.player1.controls._upP.check()&&this.changeSelection(-1),PlayerSettings.player1.controls._downP.check()&&this.changeSelection(1),PlayerSettings.player1.controls._accept.check()&&"No Replays..."!=this.grpControls.members[this.curSelected].text){haxe_Log.trace("loading "+this.actualNames[this.curSelected],{fileName:"source/LoadReplayState.hx",lineNumber:146,className:"LoadReplayState",methodName:"update"}),PlayState.rep=Replay.LoadReplay(this.actualNames[this.curSelected]),PlayState.loadRep=!0;var t=Highscore.formatSong(PlayState.rep.replay.songName.toLowerCase(),PlayState.rep.replay.songDiff);PlayState.SONG=Song.loadFromJson(t,PlayState.rep.replay.songName.toLowerCase()),PlayState.isStoryMode=!1,PlayState.storyDifficulty=PlayState.rep.replay.songDiff,PlayState.storyWeek=this.getWeekNumbFromSong(PlayState.rep.replay.songName);var i=LoadingState.getNextState(new PlayState,!1);flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)}},isSettingControl:null,changeSelection:function(e){null==e&&(e=0),flixel_FlxG.sound.play(Paths.sound("scrollMenu"),.4),this.curSelected+=e,this.curSelected<0&&(this.curSelected=this.grpControls.length-1),this.curSelected>=this.grpControls.length&&(this.curSelected=0);var t=Replay.LoadReplay(this.actualNames[this.curSelected]);this.poggerDetails.set_text("Replay Details - \nDate Created: "+Std.string(t.replay.timestamp)+"\nSong: "+t.replay.songName+"\nReplay Version: "+(t.replay.replayGameVer!=Replay.version?"OUTDATED":"Latest"));for(var i=0,l=0,n=this.grpControls.members;l<n.length;){var s=n[l];++l,s.targetY=i-this.curSelected,++i,s.set_alpha(.6),0==s.targetY&&s.set_alpha(1)}},__class__:LoadReplayState});var LoadingState=function(e,t){this.danceLeft=!1,this.stopMusic=!1,MusicBeatState.call(this),this.target=e,this.stopMusic=t};$hxClasses.LoadingState=LoadingState,LoadingState.__name__="LoadingState",LoadingState.getSongPath=function(){return"songs:assets/songs/"+PlayState.SONG.song.toLowerCase()+"/Inst.mp3"},LoadingState.getVocalPath=function(){return"songs:assets/songs/"+PlayState.SONG.song.toLowerCase()+"/Voices.mp3"},LoadingState.loadAndSwitchState=function(e,t){null==t&&(t=!1);var i=LoadingState.getNextState(e,t);flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)},LoadingState.getNextState=function(e,t){if(null==t&&(t=!1),Paths.setCurrentLevel("week"+PlayState.storyWeek),!(LoadingState.isSoundLoaded(LoadingState.getSongPath())&&(!PlayState.SONG.needsVoices||LoadingState.isSoundLoaded(LoadingState.getVocalPath()))&&LoadingState.isLibraryLoaded("shared")))return new LoadingState(e,t);if(t&&null!=flixel_FlxG.sound.music){var i=flixel_FlxG.sound.music;i.cleanup(i.autoDestroy,!0)}return e},LoadingState.isSoundLoaded=function(e){return openfl_utils_Assets.cache.hasSound(e)},LoadingState.isLibraryLoaded=function(e){return null!=openfl_utils_Assets.getLibrary(e)},LoadingState.initSongsManifest=function(){var e="songs",t=new lime_app_Promise,i=lime_utils_Assets.getLibrary(e);if(null!=i)return lime_app_Future.withValue(i);var l=e,n=null,s=lime_utils_Assets.libraryPaths;return Object.prototype.hasOwnProperty.call(s.h,e)?(l=s.h[e],n=haxe_io_Path.directory(l)):(StringTools.endsWith(l,".bundle")?(n=l,l+="/library.json"):n=haxe_io_Path.directory(l),l=lime_utils_Assets.__cacheBreak(l)),lime_utils_AssetManifest.loadFromFile(l,n).onComplete(function(i){if(null!=i){var l=lime_utils_AssetLibrary.fromManifest(i);null==l?t.error('Cannot open library "songs"'):(lime_utils_Assets.libraries.h[e]=l,l.onChange.add(($_=lime_utils_Assets.onChange,$bind($_,$_.dispatch))),t.completeWith(lime_app_Future.withValue(l)))}else t.error('Cannot parse asset manifest for library "songs"')}).onError(function(e){t.error('There is no asset library with an ID of "songs"')}),t.future},LoadingState.__super__=MusicBeatState,LoadingState.prototype=$extend(MusicBeatState.prototype,{target:null,stopMusic:null,callbacks:null,logo:null,gfDance:null,danceLeft:null,create:function(){var e=this;this.logo=new flixel_FlxSprite(-150,-100);t=null;this.logo.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/logoBumpin.png","IMAGE",t),Paths.getPath("images/logoBumpin.xml","TEXT",t))),this.logo.set_antialiasing(!0),this.logo.animation.addByPrefix("bump","logo bumpin",24),this.logo.animation.play("bump"),this.logo.updateHitbox(),this.gfDance=new flixel_FlxSprite(.4*flixel_FlxG.width,.07*flixel_FlxG.height);var t=null;this.gfDance.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/gfDanceTitle.png","IMAGE",t),Paths.getPath("images/gfDanceTitle.xml","TEXT",t))),this.gfDance.animation.addByIndices("danceLeft","gfDance",[30,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.gfDance.animation.addByIndices("danceRight","gfDance",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.gfDance.set_antialiasing(!0),this.add(this.gfDance),this.add(this.logo),LoadingState.initSongsManifest().onComplete(function(t){e.callbacks=new MultiCallback($bind(e,e.onLoad));var i=e.callbacks.add("introComplete");e.checkLoadSong(LoadingState.getSongPath()),PlayState.SONG.needsVoices&&e.checkLoadSong(LoadingState.getVocalPath()),e.checkLibrary("shared"),PlayState.storyWeek>0?e.checkLibrary("week"+PlayState.storyWeek):e.checkLibrary("tutorial");flixel_FlxG.camera.fade(flixel_FlxG.camera.bgColor,.5,!0),(new flixel_util_FlxTimer).start(1.5,function(e){i()})})},checkLoadSong:function(e){if(!openfl_utils_Assets.cache.hasSound(e)){openfl_utils_Assets.getLibrary("songs"),e.split(":").pop();var t=this.callbacks.add("song:"+e);openfl_utils_Assets.loadSound(e).onComplete(function(e){t()})}},checkLibrary:function(e){if(haxe_Log.trace(openfl_utils_Assets.hasLibrary(e),{fileName:"source/LoadingState.hx",lineNumber:95,className:"LoadingState",methodName:"checkLibrary"}),null==openfl_utils_Assets.getLibrary(e)){if(!Object.prototype.hasOwnProperty.call(lime_utils_Assets.libraryPaths.h,e))throw haxe_Exception.thrown("Missing library: "+e);var t=this.callbacks.add("library:"+e);openfl_utils_Assets.loadLibrary(e).onComplete(function(e){t()})}},beatHit:function(){MusicBeatState.prototype.beatHit.call(this),this.logo.animation.play("bump"),this.danceLeft=!this.danceLeft,this.danceLeft?this.gfDance.animation.play("danceRight"):this.gfDance.animation.play("danceLeft")},update:function(e){MusicBeatState.prototype.update.call(this,e)},onLoad:function(){if(this.stopMusic&&null!=flixel_FlxG.sound.music){var e=flixel_FlxG.sound.music;e.cleanup(e.autoDestroy,!0)}var t=this.target;flixel_FlxG.game._state.switchTo(t)&&(flixel_FlxG.game._requestedState=t)},destroy:function(){MusicBeatState.prototype.destroy.call(this),this.callbacks=null},__class__:LoadingState});var MultiCallback=function(e,t){this.fired=[],this.unfired=new haxe_ds_StringMap,this.numRemaining=0,this.length=0,this.logId=null,this.callback=e,this.logId=t};$hxClasses.MultiCallback=MultiCallback,MultiCallback.__name__="MultiCallback",MultiCallback.prototype={callback:null,logId:null,length:null,numRemaining:null,unfired:null,fired:null,add:function(e){null==e&&(e="untitled");var t=this;e=this.length+":"+e,this.length++,this.numRemaining++;var i=null;return i=function(){if(Object.prototype.hasOwnProperty.call(t.unfired.h,e)){var i=t.unfired;Object.prototype.hasOwnProperty.call(i.h,e)&&delete i.h[e],t.fired.push(e),t.numRemaining--,null!=t.logId&&null!=t.logId&&haxe_Log.trace(t.logId+": fired "+e+", "+t.numRemaining+" remaining",{fileName:"source/LoadingState.hx",lineNumber:305,className:"MultiCallback",methodName:"log"}),0==t.numRemaining&&(null!=t.logId&&null!=t.logId&&haxe_Log.trace(t.logId+": all callbacks fired",{fileName:"source/LoadingState.hx",lineNumber:305,className:"MultiCallback",methodName:"log"}),t.callback())}else null!=t.logId&&haxe_Log.trace(t.logId+": already fired "+e,{fileName:"source/LoadingState.hx",lineNumber:305,className:"MultiCallback",methodName:"log"})},this.unfired.h[e]=i,i},log:function(e){null!=this.logId&&haxe_Log.trace(this.logId+": "+e,{fileName:"source/LoadingState.hx",lineNumber:305,className:"MultiCallback",methodName:"log"})},getFired:function(){return this.fired.slice()},getUnfired:function(){for(var e=[],t=haxe_ds_StringMap.keysIterator(this.unfired.h);t.hasNext();){var i=t.next();e.push(i)}return e},__class__:MultiCallback};var MainMenuState=function(e,t){this.selectedSomethin=!1,this.newInput=!0,this.optionShit=["story mode","freeplay","donate","options"],this.curSelected=0,MusicBeatState.call(this,e,t)};$hxClasses.MainMenuState=MainMenuState,MainMenuState.__name__="MainMenuState",MainMenuState.__super__=MusicBeatState,MainMenuState.prototype=$extend(MusicBeatState.prototype,{curSelected:null,menuItems:null,optionShit:null,newGaming:null,newGaming2:null,newInput:null,magenta:null,camFollow:null,create:function(){null==flixel_FlxG.sound.music._channel&&flixel_FlxG.sound.playMusic(Paths.getPath("music/freakyMenu.mp3","MUSIC",null)),this.persistentUpdate=this.persistentDraw=!0;var e=new flixel_FlxSprite(-80).loadGraphic(Paths.getPath("images/menuBG.png","IMAGE",null));e.scrollFactor.set_x(0),e.scrollFactor.set_y(.18),e.setGraphicSize(1.1*e.get_width()|0),e.updateHitbox(),e.screenCenter(),e.set_antialiasing(!0),this.add(e),this.camFollow=new flixel_FlxObject(0,0,1,1),this.add(this.camFollow),this.magenta=new flixel_FlxSprite(-80).loadGraphic(Paths.getPath("images/menuDesat.png","IMAGE",null)),this.magenta.scrollFactor.set_x(0),this.magenta.scrollFactor.set_y(.18),this.magenta.setGraphicSize(1.1*this.magenta.get_width()|0),this.magenta.updateHitbox(),this.magenta.screenCenter(),this.magenta.set_visible(!1),this.magenta.set_antialiasing(!0),this.magenta.set_color(-167525),this.add(this.magenta),this.menuItems=new flixel_group_FlxTypedGroup,this.add(this.menuItems);for(var t=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/FNF_main_menu_assets.png","IMAGE",null),Paths.getPath("images/FNF_main_menu_assets.xml","TEXT",null)),i=0,l=this.optionShit.length;i<l;){var n=i++,s=new flixel_FlxSprite(0,60+160*n);s.set_frames(t),s.animation.addByPrefix("idle",this.optionShit[n]+" basic",24),s.animation.addByPrefix("selected",this.optionShit[n]+" white",24),s.animation.play("idle"),s.ID=n,s.screenCenter(flixel_util_FlxAxes.X),this.menuItems.add(s),s.scrollFactor.set(),s.set_antialiasing(!0)}flixel_FlxG.camera.follow(this.camFollow,null,.06);var a=new flixel_text_FlxText(5,flixel_FlxG.height-18,0,MainMenuState.gameVer+" FNF - "+MainMenuState.kadeEngineVer+" Kade Engine",12);a.scrollFactor.set(),a.setFormat("VCR OSD Mono",16,-1,"left",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.add(a),flixel_FlxG.save.data.dfjk?PlayerSettings.player1.controls.setKeyboardScheme(KeyboardScheme.Solo,!0):PlayerSettings.player1.controls.setKeyboardScheme(KeyboardScheme.Duo(!0),!0),this.changeItem(),MusicBeatState.prototype.create.call(this)},selectedSomethin:null,update:function(e){var t=this;if(flixel_FlxG.sound.music._volume<.8){var i=flixel_FlxG.sound.music;i.set_volume(i._volume+.5*flixel_FlxG.elapsed)}if(!this.selectedSomethin){if(PlayerSettings.player1.controls._upP.check()&&(flixel_FlxG.sound.play(Paths.sound("scrollMenu")),this.changeItem(-1)),PlayerSettings.player1.controls._downP.check()&&(flixel_FlxG.sound.play(Paths.sound("scrollMenu")),this.changeItem(1)),PlayerSettings.player1.controls._back.check()){var l=new TitleState;flixel_FlxG.game._state.switchTo(l)&&(flixel_FlxG.game._requestedState=l)}if(PlayerSettings.player1.controls._accept.check())if("donate"==this.optionShit[this.curSelected]){var n="";new EReg("^https?://","").match("https://ninja-muffin24.itch.io/funkin")||(n="http://"),openfl_Lib.getURL(new openfl_net_URLRequest(n+"https://ninja-muffin24.itch.io/funkin"),"_blank")}else this.selectedSomethin=!0,flixel_FlxG.sound.play(Paths.sound("confirmMenu")),flixel_effects_FlxFlicker.flicker(this.magenta,1.1,.15,!1),this.menuItems.forEach(function(e){t.curSelected!=e.ID?flixel_tweens_FlxTween.tween(e,{alpha:0},1.3,{ease:flixel_tweens_FlxEase.quadOut,onComplete:function(t){e.kill()}}):flixel_effects_FlxFlicker.flicker(e,1,.06,!1,!1,function(e){switch(t.optionShit[t.curSelected]){case"freeplay":i=new FreeplayState;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i),haxe_Log.trace("Freeplay Menu Selected",{fileName:"source/MainMenuState.hx",lineNumber:193,className:"MainMenuState",methodName:"update"});break;case"options":i=new OptionsMenu;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i);break;case"story mode":var i=new StoryMenuState;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i),haxe_Log.trace("Story Menu Selected",{fileName:"source/MainMenuState.hx",lineNumber:189,className:"MainMenuState",methodName:"update"})}})})}MusicBeatState.prototype.update.call(this,e),this.menuItems.forEach(function(e){e.screenCenter(flixel_util_FlxAxes.X)})},changeItem:function(e){null==e&&(e=0);var t=this;this.curSelected+=e,this.curSelected>=this.menuItems.length&&(this.curSelected=0),this.curSelected<0&&(this.curSelected=this.menuItems.length-1),this.menuItems.forEach(function(e){e.animation.play("idle"),e.ID==t.curSelected&&(e.animation.play("selected"),t.camFollow.setPosition(e.getGraphicMidpoint().x,e.getGraphicMidpoint().y)),e.updateHitbox()})},__class__:MainMenuState});var ManifestResources=function(){};$hxClasses.ManifestResources=ManifestResources,ManifestResources.__name__="ManifestResources",ManifestResources.preloadLibraries=null,ManifestResources.preloadLibraryNames=null,ManifestResources.rootPath=null,ManifestResources.init=function(e){ManifestResources.preloadLibraries=[],ManifestResources.preloadLibraryNames=[],ManifestResources.rootPath=null,null!=e&&Object.prototype.hasOwnProperty.call(e,"rootPath")&&(ManifestResources.rootPath=Reflect.field(e,"rootPath")),null==ManifestResources.rootPath&&(ManifestResources.rootPath="./"),openfl_text_Font.registerFont(_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf),openfl_text_Font.registerFont(_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf),openfl_text_Font.registerFont(_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf),openfl_text_Font.registerFont(_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf);t=ManifestResources.rootPath+"manifest/songs.json";lime_utils_Assets.libraryPaths.h.songs=t;t=ManifestResources.rootPath+"manifest/shared.json";lime_utils_Assets.libraryPaths.h.shared=t;t=ManifestResources.rootPath+"manifest/tutorial.json";lime_utils_Assets.libraryPaths.h.tutorial=t;var t=ManifestResources.rootPath+"manifest/week1.json";lime_utils_Assets.libraryPaths.h.week1=t;var i=lime_utils_AssetManifest.parse('{"name":null,"assets":"aoy4:pathy42:assets%2Fdata%2Fbopeebo%2Fbopeebo-alt.jsony4:sizei11369y4:typey4:TEXTy2:idR1y7:preloadtgoR0y43:assets%2Fdata%2Fbopeebo%2Fbopeebo-alt1.jsonR2i5263R3R4R5R7R6tgoR0y43:assets%2Fdata%2Fbopeebo%2Fbopeebo-easy.jsonR2i12574R3R4R5R8R6tgoR0y43:assets%2Fdata%2Fbopeebo%2Fbopeebo-hard.jsonR2i12576R3R4R5R9R6tgoR0y38:assets%2Fdata%2Fbopeebo%2Fbopeebo.jsonR2i12574R3R4R5R10R6tgoR0y33:assets%2Fdata%2FcharacterList.txtR2i190R3R4R5R11R6tgoR0y28:assets%2Fdata%2Fcontrols.txtR2i324R3R4R5R12R6tgoR0y46:assets%2Fdata%2Fdadbattle%2Fdadbattle-alt.jsonR2i52281R3R4R5R13R6tgoR0y47:assets%2Fdata%2Fdadbattle%2Fdadbattle-alt1.jsonR2i34945R3R4R5R14R6tgoR0y47:assets%2Fdata%2Fdadbattle%2Fdadbattle-easy.jsonR2i28153R3R4R5R15R6tgoR0y47:assets%2Fdata%2Fdadbattle%2Fdadbattle-hard.jsonR2i34945R3R4R5R16R6tgoR0y42:assets%2Fdata%2Fdadbattle%2Fdadbattle.jsonR2i30225R3R4R5R17R6tgoR0y34:assets%2Fdata%2Fdata-goes-here.txtR2zR3R4R5R18R6tgoR0y36:assets%2Fdata%2FfreeplaySonglist.txtR2i32R3R4R5R19R6tgoR0y38:assets%2Fdata%2Ffresh%2Ffresh-alt.jsonR2i17250R3R4R5R20R6tgoR0y39:assets%2Fdata%2Ffresh%2Ffresh-alt1.jsonR2i7975R3R4R5R21R6tgoR0y39:assets%2Fdata%2Ffresh%2Ffresh-easy.jsonR2i17647R3R4R5R22R6tgoR0y39:assets%2Fdata%2Ffresh%2Ffresh-hard.jsonR2i19185R3R4R5R23R6tgoR0y34:assets%2Fdata%2Ffresh%2Ffresh.jsonR2i14033R3R4R5R24R6tgoR0y35:assets%2Fdata%2Ffresh%2Ffresh1.jsonR2i18849R3R4R5R25R6tgoR0y38:assets%2Fdata%2Fgospel%2Fdialogue1.datR2i337R3R4R5R26R6tgoR0y38:assets%2Fdata%2Fgospel%2Fdialogue2.datR2i28R3R4R5R27R6tgoR0y42:assets%2Fdata%2Fgospel%2Fgospel-alpha.jsonR2i87882R3R4R5R28R6tgoR0y46:assets%2Fdata%2Fgospel%2Fgospel-alt-alpha.jsonR2i131912R3R4R5R29R6tgoR0y40:assets%2Fdata%2Fgospel%2Fgospel-alt.jsonR2i102911R3R4R5R30R6tgoR0y41:assets%2Fdata%2Fgospel%2Fgospel-alt1.jsonR2i48788R3R4R5R31R6tgoR0y47:assets%2Fdata%2Fgospel%2Fgospel-easy-alpha.jsonR2i87882R3R4R5R32R6tgoR0y41:assets%2Fdata%2Fgospel%2Fgospel-easy.jsonR2i87882R3R4R5R33R6tgoR0y42:assets%2Fdata%2Fgospel%2Fgospel-easy1.jsonR2i46132R3R4R5R34R6tgoR0y47:assets%2Fdata%2Fgospel%2Fgospel-hard-alpha.jsonR2i106755R3R4R5R35R6tgoR0y41:assets%2Fdata%2Fgospel%2Fgospel-hard.jsonR2i95290R3R4R5R36R6tgoR0y42:assets%2Fdata%2Fgospel%2Fgospel-hard1.jsonR2i46132R3R4R5R37R6tgoR0y36:assets%2Fdata%2Fgospel%2Fgospel.jsonR2i87882R3R4R5R38R6tgoR0y37:assets%2Fdata%2Fgospel%2Fgospel1.jsonR2i19701R3R4R5R39R6tgoR0y63:assets%2Fdata%2Fgospel%2Fthere-is-no-gospel-easy-mode-bitch.txtR2i68R3R4R5R40R6tgoR0y29:assets%2Fdata%2FintroText.txtR2i722R3R4R5R41R6tgoR0y29:assets%2Fdata%2Fmain-view.xmlR2i123R3R4R5R42R6tgoR0y38:assets%2Fdata%2Fparish%2Fdialogue1.datR2i148R3R4R5R43R6tgoR0y38:assets%2Fdata%2Fparish%2Fdialogue2.datR2i311R3R4R5R44R6tgoR0y38:assets%2Fdata%2Fparish%2Fdialogue3.datR2i409R3R4R5R45R6tgoR0y42:assets%2Fdata%2Fparish%2Fparish-alpha.jsonR2i26524R3R4R5R46R6tgoR0y46:assets%2Fdata%2Fparish%2Fparish-alt-alpha.jsonR2i27644R3R4R5R47R6tgoR0y40:assets%2Fdata%2Fparish%2Fparish-alt.jsonR2i46486R3R4R5R48R6tgoR0y41:assets%2Fdata%2Fparish%2Fparish-alt1.jsonR2i13426R3R4R5R49R6tgoR0y47:assets%2Fdata%2Fparish%2Fparish-easy-alpha.jsonR2i26099R3R4R5R50R6tgoR0y41:assets%2Fdata%2Fparish%2Fparish-easy.jsonR2i30572R3R4R5R51R6tgoR0y42:assets%2Fdata%2Fparish%2Fparish-easy1.jsonR2i25114R3R4R5R52R6tgoR0y47:assets%2Fdata%2Fparish%2Fparish-hard-alpha.jsonR2i29914R3R4R5R53R6tgoR0y41:assets%2Fdata%2Fparish%2Fparish-hard.jsonR2i42704R3R4R5R54R6tgoR0y42:assets%2Fdata%2Fparish%2Fparish-hard1.jsonR2i28984R3R4R5R55R6tgoR0y36:assets%2Fdata%2Fparish%2Fparish.jsonR2i32592R3R4R5R56R6tgoR0y37:assets%2Fdata%2Fparish%2Fparish1.jsonR2i25578R3R4R5R57R6tgoR0y33:assets%2Fdata%2FspecialThanks.txtR2i284R3R4R5R58R6tgoR0y44:assets%2Fdata%2Ftutorial%2Ftutorial-alt.jsonR2i3362R3R4R5R59R6tgoR0y45:assets%2Fdata%2Ftutorial%2Ftutorial-easy.jsonR2i5739R3R4R5R60R6tgoR0y45:assets%2Fdata%2Ftutorial%2Ftutorial-hard.jsonR2i9504R3R4R5R61R6tgoR0y40:assets%2Fdata%2Ftutorial%2Ftutorial.jsonR2i5739R3R4R5R62R6tgoR0y56:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix-alt.jsonR2i12292R3R4R5R63R6tgoR0y57:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix-alt1.jsonR2i5324R3R4R5R64R6tgoR0y57:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix-easy.jsonR2i4291R3R4R5R65R6tgoR0y57:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix-hard.jsonR2i11267R3R4R5R66R6tgoR0y58:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix-hard1.jsonR2i5324R3R4R5R67R6tgoR0y52:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix.jsonR2i10173R3R4R5R68R6tgoR0y53:assets%2Fdata%2Ftutorial-remix%2Ftutorial-remix1.jsonR2i4643R3R4R5R69R6tgoR0y39:assets%2Fdata%2Fworship%2Fdialogue1.datR2i289R3R4R5R70R6tgoR0y44:assets%2Fdata%2Fworship%2Fworship-alpha.jsonR2i38446R3R4R5R71R6tgoR0y48:assets%2Fdata%2Fworship%2Fworship-alt-alpha.jsonR2i47787R3R4R5R72R6tgoR0y42:assets%2Fdata%2Fworship%2Fworship-alt.jsonR2i45338R3R4R5R73R6tgoR0y43:assets%2Fdata%2Fworship%2Fworship-alt1.jsonR2i20114R3R4R5R74R6tgoR0y49:assets%2Fdata%2Fworship%2Fworship-easy-alpha.jsonR2i36683R3R4R5R75R6tgoR0y43:assets%2Fdata%2Fworship%2Fworship-easy.jsonR2i43113R3R4R5R76R6tgoR0y44:assets%2Fdata%2Fworship%2Fworship-easy1.jsonR2i36198R3R4R5R77R6tgoR0y49:assets%2Fdata%2Fworship%2Fworship-hard-alpha.jsonR2i40845R3R4R5R78R6tgoR0y43:assets%2Fdata%2Fworship%2Fworship-hard.jsonR2i45902R3R4R5R79R6tgoR0y44:assets%2Fdata%2Fworship%2Fworship-hard1.jsonR2i39794R3R4R5R80R6tgoR0y38:assets%2Fdata%2Fworship%2Fworship.jsonR2i44287R3R4R5R81R6tgoR0y39:assets%2Fdata%2Fworship%2Fworship1.jsonR2i37923R3R4R5R82R6tgoR0y34:assets%2Fdata%2Fzavodila%2F355.pngR2i97822R3y5:IMAGER5R83R6tgoR0y40:assets%2Fdata%2Fzavodila%2Fdialogue1.datR2i283R3R4R5R85R6tgoR0y40:assets%2Fdata%2Fzavodila%2Fdialogue2.datR2i640R3R4R5R86R6tgoR0y46:assets%2Fdata%2Fzavodila%2Fzavodila-alpha.jsonR2i63769R3R4R5R87R6tgoR0y50:assets%2Fdata%2Fzavodila%2Fzavodila-alt-alpha.jsonR2i77785R3R4R5R88R6tgoR0y44:assets%2Fdata%2Fzavodila%2Fzavodila-alt.jsonR2i114385R3R4R5R89R6tgoR0y45:assets%2Fdata%2Fzavodila%2Fzavodila-alt1.jsonR2i36765R3R4R5R90R6tgoR0y51:assets%2Fdata%2Fzavodila%2Fzavodila-easy-alpha.jsonR2i57787R3R4R5R91R6tgoR0y45:assets%2Fdata%2Fzavodila%2Fzavodila-easy.jsonR2i106418R3R4R5R92R6tgoR0y46:assets%2Fdata%2Fzavodila%2Fzavodila-easy1.jsonR2i28758R3R4R5R93R6tgoR0y51:assets%2Fdata%2Fzavodila%2Fzavodila-hard-alpha.jsonR2i70193R3R4R5R94R6tgoR0y45:assets%2Fdata%2Fzavodila%2Fzavodila-hard.jsonR2i112773R3R4R5R95R6tgoR0y46:assets%2Fdata%2Fzavodila%2Fzavodila-hard1.jsonR2i34702R3R4R5R96R6tgoR0y40:assets%2Fdata%2Fzavodila%2Fzavodila.jsonR2i111087R3R4R5R97R6tgoR0y46:assets%2Fdata%2Fzavodila%2Fzavodila0-easy.jsonR2i57787R3R4R5R98R6tgoR0y46:assets%2Fdata%2Fzavodila%2Fzavodila0-hard.jsonR2i70193R3R4R5R99R6tgoR0y41:assets%2Fdata%2Fzavodila%2Fzavodila0.jsonR2i70220R3R4R5R100R6tgoR0y41:assets%2Fdata%2Fzavodila%2Fzavodila1.jsonR2i31486R3R4R5R101R6tgoR0y30:assets%2Fimages%2Falphabet.pngR2i139836R3R84R5R102R6tgoR0y30:assets%2Fimages%2Falphabet.xmlR2i39069R3R4R5R103R6tgoR0y45:assets%2Fimages%2Fcampaign_menu_UI_assets.pngR2i205275R3R84R5R104R6tgoR0y45:assets%2Fimages%2Fcampaign_menu_UI_assets.xmlR2i2120R3R4R5R105R6tgoR0y46:assets%2Fimages%2Fcampaign_menu_UI_assets0.pngR2i128196R3R84R5R106R6tgoR0y46:assets%2Fimages%2Fcampaign_menu_UI_assets0.xmlR2i1893R3R4R5R107R6tgoR0y49:assets%2Fimages%2Fcampaign_menu_UI_characters.pngR2i4821513R3R84R5R108R6tgoR0y50:assets%2Fimages%2Fcampaign_menu_UI_characters1.pngR2i2285826R3y6:BINARYR5R109R6tgoR0y49:assets%2Fimages%2Fcampaign_menu_UI_characters.xmlR2i26885R3R4R5R111R6tgoR0y42:assets%2Fimages%2FFNF_main_menu_assets.pngR2i281298R3R84R5R112R6tgoR0y42:assets%2Fimages%2FFNF_main_menu_assets.xmlR2i4755R3R4R5R113R6tgoR0y34:assets%2Fimages%2FgfDanceTitle.pngR2i5068372R3R84R5R114R6tgoR0y34:assets%2Fimages%2FgfDanceTitle.xmlR2i1922R3R4R5R115R6tgoR0y30:assets%2Fimages%2FiconGrid.pngR2i290812R3R84R5R116R6tgoR0y26:assets%2Fimages%2Flogo.pngR2i86924R3R84R5R117R6tgoR0y32:assets%2Fimages%2FlogoBumpin.pngR2i1160847R3R84R5R118R6tgoR0y32:assets%2Fimages%2FlogoBumpin.xmlR2i2177R3R4R5R119R6tgoR0y33:assets%2Fimages%2FlogoBumpin0.pngR2i592724R3R84R5R120R6tgoR0y33:assets%2Fimages%2FlogoBumpin1.pngR2i1029545R3R84R5R121R6tgoR0y28:assets%2Fimages%2FmenuBG.pngR2i637441R3R84R5R122R6tgoR0y32:assets%2Fimages%2FmenuBGBlue.pngR2i613599R3R84R5R123R6tgoR0y35:assets%2Fimages%2FmenuBGMagenta.pngR2i525279R3R84R5R124R6tgoR0y31:assets%2Fimages%2FmenuDesat.pngR2i636753R3R84R5R125R6tgoR0y37:assets%2Fimages%2Fnewgrounds_logo.pngR2i57747R3R84R5R126R6tgoR0y26:assets%2Fimages%2Fnum0.pngR2i3738R3R84R5R127R6tgoR0y26:assets%2Fimages%2Fnum1.pngR2i3390R3R84R5R128R6tgoR0y26:assets%2Fimages%2Fnum2.pngR2i3990R3R84R5R129R6tgoR0y26:assets%2Fimages%2Fnum3.pngR2i4022R3R84R5R130R6tgoR0y26:assets%2Fimages%2Fnum4.pngR2i3989R3R84R5R131R6tgoR0y26:assets%2Fimages%2Fnum5.pngR2i4113R3R84R5R132R6tgoR0y26:assets%2Fimages%2Fnum6.pngR2i4181R3R84R5R133R6tgoR0y26:assets%2Fimages%2Fnum7.pngR2i3692R3R84R5R134R6tgoR0y26:assets%2Fimages%2Fnum8.pngR2i3914R3R84R5R135R6tgoR0y26:assets%2Fimages%2Fnum9.pngR2i3687R3R84R5R136R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek0.pngR2i7056R3R84R5R137R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek1.pngR2i6924R3R84R5R138R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek2.pngR2i6517R3R84R5R139R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek3.pngR2i7148R3R84R5R140R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek4.pngR2i6262R3R84R5R141R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek5.pngR2i6440R3R84R5R142R6tgoR0y39:assets%2Fimages%2Fstorymenu%2Fweek6.pngR2i6998R3R84R5R143R6tgoR0y32:assets%2Fimages%2FtitleEnter.pngR2i1449202R3R84R5R144R6tgoR0y32:assets%2Fimages%2FtitleEnter.xmlR2i4875R3R4R5R145R6tgoR2i2309657R3y5:MUSICR5y31:assets%2Fmusic%2FfreakyMenu.mp3y9:pathGroupaR147hR6tgoR2i6269R3R146R5y32:assets%2Fsounds%2FcancelMenu.mp3R148aR149hR6tgoR2i219846R3R146R5y33:assets%2Fsounds%2FconfirmMenu.mp3R148aR150hR6tgoR2i27167R3R146R5y32:assets%2Fsounds%2FscrollMenu.mp3R148aR151hR6tgoR0y48:mods%2FintroMod%2F_append%2Fdata%2FintroText.txtR2i20R3R4R5R152goR0y18:mods%2FmodList.txtR2i8R3R4R5R153goR0y17:mods%2Freadme.txtR2i90R3R4R5R154goR0y21:do%20NOT%20readme.txtR2i4326R3R4R5R155R6tgoR0y13:changelog.txtR2i7730R3R4R5R156R6tgoR0y34:assets%2Ffonts%2Ffonts-go-here.txtR2zR3R4R5R157R6tgoR2i14656R3y4:FONTy9:classNamey31:__ASSET__assets_fonts_pixel_otfR5y26:assets%2Ffonts%2Fpixel.otfR6tgoR2i75864R3R158R159y29:__ASSET__assets_fonts_vcr_ttfR5y24:assets%2Ffonts%2Fvcr.ttfR6tgoR2i2114R3R146R5y26:flixel%2Fsounds%2Fbeep.mp3R148aR164y26:flixel%2Fsounds%2Fbeep.ogghR6tgoR2i39706R3R146R5y28:flixel%2Fsounds%2Fflixel.mp3R148aR166y28:flixel%2Fsounds%2Fflixel.ogghR6tgoR2i5794R3y5:SOUNDR5R165R148aR164R165hgoR2i33629R3R168R5R167R148aR166R167hgoR2i15744R3R158R159y35:__ASSET__flixel_fonts_nokiafc22_ttfR5y30:flixel%2Ffonts%2Fnokiafc22.ttfR6tgoR2i29724R3R158R159y36:__ASSET__flixel_fonts_monsterrat_ttfR5y31:flixel%2Ffonts%2Fmonsterrat.ttfR6tgoR0y33:flixel%2Fimages%2Fui%2Fbutton.pngR2i519R3R84R5R173R6tgoR0y36:flixel%2Fimages%2Flogo%2Fdefault.pngR2i3280R3R84R5R174R6tgoR0y34:flixel%2Fflixel-ui%2Fimg%2Fbox.pngR2i912R3R84R5R175R6tgoR0y37:flixel%2Fflixel-ui%2Fimg%2Fbutton.pngR2i433R3R84R5R176R6tgoR0y48:flixel%2Fflixel-ui%2Fimg%2Fbutton_arrow_down.pngR2i446R3R84R5R177R6tgoR0y48:flixel%2Fflixel-ui%2Fimg%2Fbutton_arrow_left.pngR2i459R3R84R5R178R6tgoR0y49:flixel%2Fflixel-ui%2Fimg%2Fbutton_arrow_right.pngR2i511R3R84R5R179R6tgoR0y46:flixel%2Fflixel-ui%2Fimg%2Fbutton_arrow_up.pngR2i493R3R84R5R180R6tgoR0y42:flixel%2Fflixel-ui%2Fimg%2Fbutton_thin.pngR2i247R3R84R5R181R6tgoR0y44:flixel%2Fflixel-ui%2Fimg%2Fbutton_toggle.pngR2i534R3R84R5R182R6tgoR0y40:flixel%2Fflixel-ui%2Fimg%2Fcheck_box.pngR2i922R3R84R5R183R6tgoR0y41:flixel%2Fflixel-ui%2Fimg%2Fcheck_mark.pngR2i946R3R84R5R184R6tgoR0y37:flixel%2Fflixel-ui%2Fimg%2Fchrome.pngR2i253R3R84R5R185R6tgoR0y42:flixel%2Fflixel-ui%2Fimg%2Fchrome_flat.pngR2i212R3R84R5R186R6tgoR0y43:flixel%2Fflixel-ui%2Fimg%2Fchrome_inset.pngR2i192R3R84R5R187R6tgoR0y43:flixel%2Fflixel-ui%2Fimg%2Fchrome_light.pngR2i214R3R84R5R188R6tgoR0y44:flixel%2Fflixel-ui%2Fimg%2Fdropdown_mark.pngR2i156R3R84R5R189R6tgoR0y41:flixel%2Fflixel-ui%2Fimg%2Ffinger_big.pngR2i1724R3R84R5R190R6tgoR0y43:flixel%2Fflixel-ui%2Fimg%2Ffinger_small.pngR2i294R3R84R5R191R6tgoR0y38:flixel%2Fflixel-ui%2Fimg%2Fhilight.pngR2i129R3R84R5R192R6tgoR0y36:flixel%2Fflixel-ui%2Fimg%2Finvis.pngR2i128R3R84R5R193R6tgoR0y41:flixel%2Fflixel-ui%2Fimg%2Fminus_mark.pngR2i136R3R84R5R194R6tgoR0y40:flixel%2Fflixel-ui%2Fimg%2Fplus_mark.pngR2i147R3R84R5R195R6tgoR0y36:flixel%2Fflixel-ui%2Fimg%2Fradio.pngR2i191R3R84R5R196R6tgoR0y40:flixel%2Fflixel-ui%2Fimg%2Fradio_dot.pngR2i153R3R84R5R197R6tgoR0y37:flixel%2Fflixel-ui%2Fimg%2Fswatch.pngR2i185R3R84R5R198R6tgoR0y34:flixel%2Fflixel-ui%2Fimg%2Ftab.pngR2i201R3R84R5R199R6tgoR0y39:flixel%2Fflixel-ui%2Fimg%2Ftab_back.pngR2i210R3R84R5R200R6tgoR0y44:flixel%2Fflixel-ui%2Fimg%2Ftooltip_arrow.pngR2i18509R3R84R5R201R6tgoR0y39:flixel%2Fflixel-ui%2Fxml%2Fdefaults.xmlR2i1263R3R4R5R202R6tgoR0y53:flixel%2Fflixel-ui%2Fxml%2Fdefault_loading_screen.xmlR2i1953R3R4R5R203R6tgoR0y44:flixel%2Fflixel-ui%2Fxml%2Fdefault_popup.xmlR2i1848R3R4R5R204R6tgh","rootPath":null,"version":2,"libraryArgs":[],"libraryType":null}',ManifestResources.rootPath),l=lime_utils_AssetLibrary.fromManifest(i);lime_utils_Assets.registerLibrary("default",l),null!=(l=lime_utils_Assets.getLibrary("default"))?ManifestResources.preloadLibraries.push(l):ManifestResources.preloadLibraryNames.push("default")};var lime_text_Font=function(e){null!=e&&(this.name=e),this.__init||(void 0==this.ascender&&(this.ascender=0),void 0==this.descender&&(this.descender=0),void 0==this.height&&(this.height=0),void 0==this.numGlyphs&&(this.numGlyphs=0),void 0==this.underlinePosition&&(this.underlinePosition=0),void 0==this.underlineThickness&&(this.underlineThickness=0),void 0==this.unitsPerEM&&(this.unitsPerEM=0),null!=this.__fontID?lime_utils_Assets.isLocal(this.__fontID)&&this.__fromBytes(lime_utils_Assets.getBytes(this.__fontID)):null!=this.__fontPath&&this.__fromFile(this.__fontPath))};$hxClasses["lime.text.Font"]=lime_text_Font,lime_text_Font.__name__="lime.text.Font",lime_text_Font.fromBytes=function(e){if(null==e)return null;var t=new lime_text_Font;return t.__fromBytes(e),t},lime_text_Font.fromFile=function(e){if(null==e)return null;var t=new lime_text_Font;return t.__fromFile(e),t},lime_text_Font.loadFromBytes=function(e){return lime_app_Future.withValue(lime_text_Font.fromBytes(e))},lime_text_Font.loadFromFile=function(e){return(new lime_net__$HTTPRequest_$lime_$text_$Font).load(e).then(function(e){return null!=e?lime_app_Future.withValue(e):lime_app_Future.withError("")})},lime_text_Font.loadFromName=function(e){return(new lime_text_Font).__loadFromName(e)},lime_text_Font.__measureFontNode=function(e){var t=window.document.createElement("span");t.setAttribute("aria-hidden","true");var i=window.document.createTextNode("BESbswy");t.appendChild(i);var l=t.style;return l.display="block",l.position="absolute",l.top="-9999px",l.left="-9999px",l.fontSize="300px",l.width="auto",l.height="auto",l.lineHeight="normal",l.margin="0",l.padding="0",l.fontVariant="normal",l.whiteSpace="nowrap",l.fontFamily=e,window.document.body.appendChild(t),t},lime_text_Font.prototype={ascender:null,descender:null,height:null,name:null,numGlyphs:null,src:null,underlinePosition:null,underlineThickness:null,unitsPerEM:null,__fontID:null,__fontPath:null,__init:null,decompose:function(){return null},getGlyph:function(e){return-1},getGlyphs:function(e){return null==e&&(e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^`'\"/\\&*()[]{}<>|:;_-+=?,. "),null},getGlyphMetrics:function(e){return null},renderGlyph:function(e,t){return null},renderGlyphs:function(e,t){return null},__copyFrom:function(e){null!=e&&(this.ascender=e.ascender,this.descender=e.descender,this.height=e.height,this.name=e.name,this.numGlyphs=e.numGlyphs,this.src=e.src,this.underlinePosition=e.underlinePosition,this.underlineThickness=e.underlineThickness,this.unitsPerEM=e.unitsPerEM,this.__fontID=e.__fontID,this.__fontPath=e.__fontPath,this.__init=!0)},__fromBytes:function(e){this.__fontPath=null},__fromFile:function(e){this.__fontPath=e},__initializeSource:function(){this.__init=!0},__loadFromName:function(e){var t=this,i=new lime_app_Promise;this.name=e;var l=$global.navigator.userAgent.toLowerCase(),n=l.indexOf(" safari/")>=0&&l.indexOf(" chrome/")<0,s=new EReg("(iPhone|iPod|iPad).*AppleWebKit(?!.*Version)","i").match(l);if(!n&&!s&&window.document.fonts&&($_=window.document.fonts,$bind($_,$_.load)))window.document.fonts.load("1em '"+e+"'").then(function(e){i.complete(t)},function(l){lime_utils_Log.warn('Could not load web font "'+e+'"',{fileName:"lime/text/Font.hx",lineNumber:513,className:"lime.text.Font",methodName:"__loadFromName"}),i.complete(t)});else{var a,r,_=lime_text_Font.__measureFontNode("'"+e+"', sans-serif"),o=lime_text_Font.__measureFontNode("'"+e+"', serif"),h=_.offsetWidth,u=o.offsetWidth,d=-1,c=0,p=function(){c+=1,a=_.offsetWidth!=h||o.offsetWidth!=u,r=50*c>=3e3,(a||r)&&(window.clearInterval(d),_.parentNode.removeChild(_),o.parentNode.removeChild(o),_=null,o=null,r&&lime_utils_Log.warn('Could not load web font "'+e+'"',{fileName:"lime/text/Font.hx",lineNumber:548,className:"lime.text.Font",methodName:"__loadFromName"}),i.complete(t))};d=window.setInterval(p,50)}return i.future},__setSize:function(e){},__class__:lime_text_Font};var _$_$ASSET_$_$assets_$fonts_$pixel_$otf=$hx_exports.__ASSET__assets_fonts_pixel_otf=function(){this.ascender=1125,this.descender=-250,this.height=1375,this.numGlyphs=262,this.underlinePosition=-143,this.underlineThickness=20,this.unitsPerEM=1e3,this.name="Pixel Arial 11 Bold",lime_text_Font.call(this)};$hxClasses.__ASSET__assets_fonts_pixel_otf=_$_$ASSET_$_$assets_$fonts_$pixel_$otf,_$_$ASSET_$_$assets_$fonts_$pixel_$otf.__name__="__ASSET__assets_fonts_pixel_otf",_$_$ASSET_$_$assets_$fonts_$pixel_$otf.__super__=lime_text_Font,_$_$ASSET_$_$assets_$fonts_$pixel_$otf.prototype=$extend(lime_text_Font.prototype,{__class__:_$_$ASSET_$_$assets_$fonts_$pixel_$otf});var _$_$ASSET_$_$assets_$fonts_$vcr_$ttf=$hx_exports.__ASSET__assets_fonts_vcr_ttf=function(){this.ascender=1800,this.descender=0,this.height=2e3,this.numGlyphs=204,this.underlinePosition=-292,this.underlineThickness=150,this.unitsPerEM=2048,this.name="VCR OSD Mono",lime_text_Font.call(this)};$hxClasses.__ASSET__assets_fonts_vcr_ttf=_$_$ASSET_$_$assets_$fonts_$vcr_$ttf,_$_$ASSET_$_$assets_$fonts_$vcr_$ttf.__name__="__ASSET__assets_fonts_vcr_ttf",_$_$ASSET_$_$assets_$fonts_$vcr_$ttf.__super__=lime_text_Font,_$_$ASSET_$_$assets_$fonts_$vcr_$ttf.prototype=$extend(lime_text_Font.prototype,{__class__:_$_$ASSET_$_$assets_$fonts_$vcr_$ttf});var _$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf=$hx_exports.__ASSET__flixel_fonts_nokiafc22_ttf=function(){this.ascender=2048,this.descender=-512,this.height=2816,this.numGlyphs=172,this.underlinePosition=-640,this.underlineThickness=256,this.unitsPerEM=2048,this.name="Nokia Cellphone FC Small",lime_text_Font.call(this)};$hxClasses.__ASSET__flixel_fonts_nokiafc22_ttf=_$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf,_$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf.__name__="__ASSET__flixel_fonts_nokiafc22_ttf",_$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf.__super__=lime_text_Font,_$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf.prototype=$extend(lime_text_Font.prototype,{__class__:_$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf});var _$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf=$hx_exports.__ASSET__flixel_fonts_monsterrat_ttf=function(){this.ascender=968,this.descender=-251,this.height=1219,this.numGlyphs=263,this.underlinePosition=-150,this.underlineThickness=50,this.unitsPerEM=1e3,this.name="Monsterrat",lime_text_Font.call(this)};$hxClasses.__ASSET__flixel_fonts_monsterrat_ttf=_$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf,_$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf.__name__="__ASSET__flixel_fonts_monsterrat_ttf",_$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf.__super__=lime_text_Font,_$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf.prototype=$extend(lime_text_Font.prototype,{__class__:_$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf});var openfl_text_Font=function(e){lime_text_Font.call(this,e)};$hxClasses["openfl.text.Font"]=openfl_text_Font,openfl_text_Font.__name__="openfl.text.Font",openfl_text_Font.enumerateFonts=function(e){return null==e&&(e=!1),openfl_text_Font.__registeredFonts},openfl_text_Font.fromBytes=function(e){var t=new openfl_text_Font;return t.__fromBytes(openfl_utils_ByteArray.toBytes(e)),t},openfl_text_Font.fromFile=function(e){var t=new openfl_text_Font;return t.__fromFile(e),t},openfl_text_Font.loadFromBytes=function(e){return lime_text_Font.loadFromBytes(openfl_utils_ByteArray.toBytes(e)).then(function(e){var t=new openfl_text_Font;return t.__fromLimeFont(e),lime_app_Future.withValue(t)})},openfl_text_Font.loadFromFile=function(e){return lime_text_Font.loadFromFile(e).then(function(e){var t=new openfl_text_Font;return t.__fromLimeFont(e),lime_app_Future.withValue(t)})},openfl_text_Font.loadFromName=function(e){return lime_text_Font.loadFromName(e).then(function(e){var t=new openfl_text_Font;return t.__fromLimeFont(e),lime_app_Future.withValue(t)})},openfl_text_Font.registerFont=function(e){var t=null;null!=(t=null==js_Boot.getClass(e)?js_Boot.__cast(Type.createInstance(e,[]),openfl_text_Font):js_Boot.__cast(e,openfl_text_Font))&&(openfl_text_Font.__registeredFonts.push(t),openfl_text_Font.__fontByName.h[t.name]=t)},openfl_text_Font.__super__=lime_text_Font,openfl_text_Font.prototype=$extend(lime_text_Font.prototype,{fontStyle:null,fontType:null,__initialized:null,__fromLimeFont:function(e){this.__copyFrom(e)},__initialize:function(){return this.__initialized},get_fontName:function(){return this.name},set_fontName:function(e){return this.name=e},__class__:openfl_text_Font,__properties__:{set_fontName:"set_fontName",get_fontName:"get_fontName"}});var _$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf=$hx_exports.__ASSET__OPENFL__assets_fonts_pixel_otf=function(){this.__fromLimeFont(new _$_$ASSET_$_$assets_$fonts_$pixel_$otf),openfl_text_Font.call(this)};$hxClasses.__ASSET__OPENFL__assets_fonts_pixel_otf=_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf,_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf.__name__="__ASSET__OPENFL__assets_fonts_pixel_otf",_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf.__super__=openfl_text_Font,_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf.prototype=$extend(openfl_text_Font.prototype,{__class__:_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$pixel_$otf});var _$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf=$hx_exports.__ASSET__OPENFL__assets_fonts_vcr_ttf=function(){this.__fromLimeFont(new _$_$ASSET_$_$assets_$fonts_$vcr_$ttf),openfl_text_Font.call(this)};$hxClasses.__ASSET__OPENFL__assets_fonts_vcr_ttf=_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf,_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf.__name__="__ASSET__OPENFL__assets_fonts_vcr_ttf",_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf.__super__=openfl_text_Font,_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf.prototype=$extend(openfl_text_Font.prototype,{__class__:_$_$ASSET_$_$OPENFL_$_$assets_$fonts_$vcr_$ttf});var _$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf=$hx_exports.__ASSET__OPENFL__flixel_fonts_nokiafc22_ttf=function(){this.__fromLimeFont(new _$_$ASSET_$_$flixel_$fonts_$nokiafc22_$ttf),openfl_text_Font.call(this)};$hxClasses.__ASSET__OPENFL__flixel_fonts_nokiafc22_ttf=_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf,_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf.__name__="__ASSET__OPENFL__flixel_fonts_nokiafc22_ttf",_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf.__super__=openfl_text_Font,_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf.prototype=$extend(openfl_text_Font.prototype,{__class__:_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$nokiafc22_$ttf});var _$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf=$hx_exports.__ASSET__OPENFL__flixel_fonts_monsterrat_ttf=function(){this.__fromLimeFont(new _$_$ASSET_$_$flixel_$fonts_$monsterrat_$ttf),openfl_text_Font.call(this)};$hxClasses.__ASSET__OPENFL__flixel_fonts_monsterrat_ttf=_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf,_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf.__name__="__ASSET__OPENFL__flixel_fonts_monsterrat_ttf",_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf.__super__=openfl_text_Font,_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf.prototype=$extend(openfl_text_Font.prototype,{__class__:_$_$ASSET_$_$OPENFL_$_$flixel_$fonts_$monsterrat_$ttf}),Math.__name__="Math";var MenuCharacter=function(e,t){null==t&&(t="bf"),flixel_FlxSprite.call(this,e),this.character=t;var i=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/campaign_menu_UI_characters.png","IMAGE",null),Paths.getPath("images/campaign_menu_UI_characters.xml","TEXT",null));this.set_frames(i),this.animation.addByPrefix("bf","BF idle dance white",24),this.animation.addByPrefix("bfConfirm","BF HEY!!",24,!1),this.animation.addByPrefix("gf","GF Dancing Beat WHITE",24),this.animation.addByPrefix("dad","Dad idle dance BLACK LINE",24),this.animation.addByPrefix("spooky","spooky dance idle BLACK LINES",24),this.animation.addByPrefix("pico","Pico Idle Dance",24),this.animation.addByPrefix("mom","Mom Idle BLACK LINES",24),this.animation.addByPrefix("parents-christmas","Parent Christmas Idle",24),this.animation.addByPrefix("senpai","SENPAI idle Black Lines",24),this.animation.addByPrefix("sarvente","Cross and Sickle",24),this.animation.play(t),this.updateHitbox()};$hxClasses.MenuCharacter=MenuCharacter,MenuCharacter.__name__="MenuCharacter",MenuCharacter.__super__=flixel_FlxSprite,MenuCharacter.prototype=$extend(flixel_FlxSprite.prototype,{character:null,__class__:MenuCharacter});var MenuItem=function(e,t,i){null==i&&(i=0),this.fakeFramerate=Math.round(1/flixel_FlxG.elapsed/10),this.isFlashing=!1,this.flashingInt=0,this.targetY=0,flixel_group_FlxTypedSpriteGroup.call(this,e,t),this.week=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/storymenu/week"+i+".png","IMAGE",null)),this.add(this.week)};$hxClasses.MenuItem=MenuItem,MenuItem.__name__="MenuItem",MenuItem.__super__=flixel_group_FlxTypedSpriteGroup,MenuItem.prototype=$extend(flixel_group_FlxTypedSpriteGroup.prototype,{targetY:null,week:null,flashingInt:null,isFlashing:null,startFlashing:function(){this.isFlashing=!0},fakeFramerate:null,update:function(e){flixel_group_FlxTypedSpriteGroup.prototype.update.call(this,e);var t=this.y;this.set_y(t+.17*(120*this.targetY+480-t)),this.isFlashing&&(this.flashingInt+=1),this.flashingInt%this.fakeFramerate>=Math.floor(this.fakeFramerate/2)?this.week.set_color(-13369345):this.week.set_color(-1)},__class__:MenuItem});var flixel_util_FlxTypedSignal={};flixel_util_FlxTypedSignal.__properties__={get_dispatch:"get_dispatch"},flixel_util_FlxTypedSignal.add=function(e,t){e.add(t)},flixel_util_FlxTypedSignal.addOnce=function(e,t){e.addOnce(t)},flixel_util_FlxTypedSignal.remove=function(e,t){e.remove(t)},flixel_util_FlxTypedSignal.has=function(e,t){return e.has(t)},flixel_util_FlxTypedSignal.removeAll=function(e){e.removeAll()},flixel_util_FlxTypedSignal.get_dispatch=function(e){return e.dispatch},flixel_util_FlxTypedSignal.toSignal0=function(e){return new flixel_util__$FlxSignal_FlxSignal0},flixel_util_FlxTypedSignal.toSignal1=function(e){return new flixel_util__$FlxSignal_FlxSignal1},flixel_util_FlxTypedSignal.toSignal2=function(e){return new flixel_util__$FlxSignal_FlxSignal2},flixel_util_FlxTypedSignal.toSignal3=function(e){return new flixel_util__$FlxSignal_FlxSignal3},flixel_util_FlxTypedSignal.toSignal4=function(e){return new flixel_util__$FlxSignal_FlxSignal4};var NGio=function(e,t,i){haxe_Log.trace("connecting to newgrounds",{fileName:"source/NGio.hx",lineNumber:63,className:"NGio",methodName:"new"}),io_newgrounds_NG.createAndCheckSession(e,null,i),io_newgrounds_NG.core.verbose=!0,io_newgrounds_NG.core.initEncryption(t),haxe_Log.trace(io_newgrounds_NG.core.attemptingLogin,{fileName:"source/NGio.hx",lineNumber:71,className:"NGio",methodName:"new"}),io_newgrounds_NG.core.attemptingLogin?(haxe_Log.trace("attempting login",{fileName:"source/NGio.hx",lineNumber:78,className:"NGio",methodName:"new"}),io_newgrounds_NG.core.onLogin.add($bind(this,this.onNGLogin))):io_newgrounds_NG.core.requestLogin($bind(this,this.onNGLogin))};$hxClasses.NGio=NGio,NGio.__name__="NGio",NGio.noLogin=function(e){haxe_Log.trace("INIT NOLOGIN",{fileName:"source/NGio.hx",lineNumber:38,className:"NGio",methodName:"noLogin"}),NGio.GAME_VER="v"+lime_app_Application.current.meta.h.version,0!=e.length&&(io_newgrounds_NG.create(e),(new flixel_util_FlxTimer).start(2,function(e){io_newgrounds_NG.core.calls.app.getCurrentVersion(NGio.GAME_VER).addDataHandler(function(e){NGio.GAME_VER=e.result.data.current_version,NGio.GAME_VER_NUMS=StringTools.trim(NGio.GAME_VER.split(" ")[0]),haxe_Log.trace("CURRENT NG VERSION: "+NGio.GAME_VER,{fileName:"source/NGio.hx",lineNumber:51,className:"NGio",methodName:"noLogin"}),haxe_Log.trace("CURRENT NG VERSION: "+NGio.GAME_VER_NUMS,{fileName:"source/NGio.hx",lineNumber:52,className:"NGio",methodName:"noLogin"}),NGio.gotOnlineVer=!0}).send()}))},NGio.postScore=function(e,t){if(null==e&&(e=0),NGio.isLoggedIn)for(var i=io_newgrounds_NG.core.scoreBoards.keys();i.hasNext();){var l=i.next(),n=io_newgrounds_NG.core.scoreBoards.h[l];t==n._data.name&&n.postScore(e,"Uhh meow?")}},NGio.logEvent=function(e){io_newgrounds_NG.core.calls.event.logEvent(e).send(),haxe_Log.trace("should have logged: "+e,{fileName:"source/NGio.hx",lineNumber:188,className:"NGio",methodName:"logEvent"})},NGio.unlockMedal=function(e){if(NGio.isLoggedIn){var t=io_newgrounds_NG.core.medals.h[e];t._data.unlocked||t.sendUnlock()}},NGio.prototype={onNGLogin:function(){haxe_Log.trace("logged in! user:"+io_newgrounds_NG.core.get_user().name,{fileName:"source/NGio.hx",lineNumber:92,className:"NGio",methodName:"onNGLogin"}),NGio.isLoggedIn=!0,flixel_FlxG.save.data.sessionId=io_newgrounds_NG.core.sessionId,io_newgrounds_NG.core.requestMedals($bind(this,this.onNGMedalFetch)),io_newgrounds_NG.core.requestScoreBoards($bind(this,this.onNGBoardsFetch)),NGio.ngDataLoaded.dispatch()},onNGMedalFetch:function(){},onNGBoardsFetch:function(){haxe_Log.trace("shoulda got score by NOW!",{fileName:"source/NGio.hx",lineNumber:143,className:"NGio",methodName:"onNGBoardsFetch"})},onNGScoresFetch:function(){NGio.scoreboardsLoaded=!0,NGio.ngScoresLoaded.dispatch()},__class__:NGio};var Note=function(e,t,i,l){null==l&&(l=!1),this.noteScore=1,this.isSustainNote=!1,this.sustainLength=0,this.wasGoodHit=!1,this.tooLate=!1,this.canBeHit=!1,this.noteData=0,this.mustPress=!1,this.strumTime=0,flixel_FlxSprite.call(this),null==i&&(i=this),flixel_FlxG.save.data.downscroll&&this.set_flipY(!0),this.prevNote=i,this.isSustainNote=l;var n=this;switch(n.set_x(n.x+50),(n=this).set_y(n.y-2e3),this.strumTime=e+flixel_FlxG.save.data.offset,this.noteData=t,PlayState.curStage){case"school":case"schoolEvil":this.loadGraphic(Paths.getPath("images/weeb/pixelUI/arrows-pixels.png","IMAGE",null),!0,17,17),this.animation.add("greenScroll",[6]),this.animation.add("redScroll",[7]),this.animation.add("blueScroll",[5]),this.animation.add("purpleScroll",[4]),this.isSustainNote&&(this.loadGraphic(Paths.getPath("images/weeb/pixelUI/arrowEnds.png","IMAGE",null),!0,7,6),this.animation.add("purpleholdend",[4]),this.animation.add("greenholdend",[6]),this.animation.add("redholdend",[7]),this.animation.add("blueholdend",[5]),this.animation.add("purplehold",[0]),this.animation.add("greenhold",[2]),this.animation.add("redhold",[3]),this.animation.add("bluehold",[1])),this.setGraphicSize(this.get_width()*PlayState.daPixelZoom|0),this.updateHitbox();break;default:this.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/NOTE_assets.png","IMAGE",null),Paths.getPath("images/NOTE_assets.xml","TEXT",null))),this.animation.addByPrefix("greenScroll","green0"),this.animation.addByPrefix("redScroll","red0"),this.animation.addByPrefix("blueScroll","blue0"),this.animation.addByPrefix("purpleScroll","purple0"),this.animation.addByPrefix("purpleholdend","pruple end hold"),this.animation.addByPrefix("greenholdend","green hold end"),this.animation.addByPrefix("redholdend","red hold end"),this.animation.addByPrefix("blueholdend","blue hold end"),this.animation.addByPrefix("purplehold","purple hold piece"),this.animation.addByPrefix("greenhold","green hold piece"),this.animation.addByPrefix("redhold","red hold piece"),this.animation.addByPrefix("bluehold","blue hold piece"),this.setGraphicSize(.7*this.get_width()|0),this.updateHitbox(),this.set_antialiasing(!0)}switch(t){case 0:(n=this).set_x(n.x+0*Note.swagWidth),this.animation.play("purpleScroll");break;case 1:(n=this).set_x(n.x+Note.swagWidth),this.animation.play("blueScroll");break;case 2:(n=this).set_x(n.x+2*Note.swagWidth),this.animation.play("greenScroll");break;case 3:(n=this).set_x(n.x+3*Note.swagWidth),this.animation.play("redScroll")}if(flixel_FlxG.save.data.downscroll&&this.isSustainNote&&this.set_flipY(!0),this.isSustainNote&&null!=i){switch(this.set_alpha(.6),(n=this).set_x(n.x+this.get_width()/2),t){case 0:this.animation.play("purpleholdend");break;case 1:this.animation.play("blueholdend");break;case 2:this.animation.play("greenholdend");break;case 3:this.animation.play("redholdend")}if(this.updateHitbox(),(n=this).set_x(n.x-this.get_width()/2),StringTools.startsWith(PlayState.curStage,"school")&&(n=this).set_x(n.x+30),i.isSustainNote){switch(i.noteData){case 0:i.animation.play("purplehold");break;case 1:i.animation.play("bluehold");break;case 2:i.animation.play("greenhold");break;case 3:i.animation.play("redhold")}(n=i.scale).set_y(n.y*(Conductor.stepCrochet/100*1.5*PlayState.SONG.speed)),i.updateHitbox()}}};$hxClasses.Note=Note,Note.__name__="Note",Note.__super__=flixel_FlxSprite,Note.prototype=$extend(flixel_FlxSprite.prototype,{strumTime:null,mustPress:null,noteData:null,canBeHit:null,tooLate:null,wasGoodHit:null,prevNote:null,sustainLength:null,isSustainNote:null,noteScore:null,update:function(e){flixel_FlxSprite.prototype.update.call(this,e),this.mustPress?(this.strumTime>Conductor.songPosition-Conductor.safeZoneOffset&&this.strumTime<Conductor.songPosition+.5*Conductor.safeZoneOffset?this.canBeHit=!0:this.canBeHit=!1,this.strumTime<Conductor.songPosition-Conductor.safeZoneOffset&&!this.wasGoodHit&&(this.tooLate=!0)):(this.canBeHit=!1,this.strumTime<=Conductor.songPosition&&(this.wasGoodHit=!0)),this.tooLate&&this.alpha>.3&&this.set_alpha(.3)},__class__:Note});var OptionsMenu=function(e,t){this.isSettingControl=!1,this.controlsStrings=[],this.curSelected=0,MusicBeatState.call(this,e,t)};$hxClasses.OptionsMenu=OptionsMenu,OptionsMenu.__name__="OptionsMenu",OptionsMenu.__super__=MusicBeatState,OptionsMenu.prototype=$extend(MusicBeatState.prototype,{selector:null,curSelected:null,controlsStrings:null,grpControls:null,versionShit:null,create:function(){var e=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/menuDesat.png","IMAGE",null));this.controlsStrings=CoolUtil.coolStringFile((flixel_FlxG.save.data.dfjk?"DFJK":"WASD")+"\n"+(flixel_FlxG.save.data.newInput?"New input":"Old Input")+"\n"+(flixel_FlxG.save.data.downscroll?"Downscroll":"Upscroll")+"\nAccuracy "+(flixel_FlxG.save.data.accuracyDisplay?"on":"off")+"\nSong Position "+(flixel_FlxG.save.data.songPosition?"on":"off")+"\nEtterna Mode "+(flixel_FlxG.save.data.etternaMode?"on":"off")+"\nLoad replays"),haxe_Log.trace(this.controlsStrings,{fileName:"source/OptionsMenu.hx",lineNumber:37,className:"OptionsMenu",methodName:"create"}),e.set_color(-1412611),e.setGraphicSize(1.1*e.get_width()|0),e.updateHitbox(),e.screenCenter(),e.set_antialiasing(!0),this.add(e),this.grpControls=new flixel_group_FlxTypedGroup,this.add(this.grpControls);for(var t=0,i=this.controlsStrings.length;t<i;){var l=t++,n=new Alphabet(0,70*l+30,this.controlsStrings[l],!0,!1);n.isMenuItem=!0,n.targetY=l,this.grpControls.add(n)}this.versionShit=new flixel_text_FlxText(5,flixel_FlxG.height-18,0,"Offset (Left, Right): "+Std.string(flixel_FlxG.save.data.offset),12),this.versionShit.scrollFactor.set(),this.versionShit.setFormat("VCR OSD Mono",16,-1,"left",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.add(this.versionShit),MusicBeatState.prototype.create.call(this)},update:function(e){if(MusicBeatState.prototype.update.call(this,e),PlayerSettings.player1.controls._back.check()){i=new MainMenuState;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)}if(PlayerSettings.player1.controls._upP.check()&&this.changeSelection(-1),PlayerSettings.player1.controls._downP.check()&&this.changeSelection(1),PlayerSettings.player1.controls._rightR.check()&&(flixel_FlxG.save.data.offset++,this.versionShit.set_text("Offset (Left, Right): "+Std.string(flixel_FlxG.save.data.offset))),PlayerSettings.player1.controls._leftR.check()&&(flixel_FlxG.save.data.offset--,this.versionShit.set_text("Offset (Left, Right): "+Std.string(flixel_FlxG.save.data.offset))),PlayerSettings.player1.controls._accept.check())switch(6!=this.curSelected&&this.grpControls.remove(this.grpControls.members[this.curSelected]),this.curSelected){case 0:flixel_FlxG.save.data.dfjk=!flixel_FlxG.save.data.dfjk,(t=new Alphabet(0,70*this.curSelected+30,flixel_FlxG.save.data.dfjk?"DFJK":"WASD",!0,!1)).isMenuItem=!0,t.targetY=this.curSelected,this.grpControls.add(t),flixel_FlxG.save.data.dfjk?PlayerSettings.player1.controls.setKeyboardScheme(KeyboardScheme.Solo,!0):PlayerSettings.player1.controls.setKeyboardScheme(KeyboardScheme.Duo(!0),!0);break;case 1:flixel_FlxG.save.data.newInput=!flixel_FlxG.save.data.newInput,(t=new Alphabet(0,70*this.curSelected+30,flixel_FlxG.save.data.newInput?"New input":"Old Input",!0,!1)).isMenuItem=!0,t.targetY=this.curSelected-1,this.grpControls.add(t);break;case 2:flixel_FlxG.save.data.downscroll=!flixel_FlxG.save.data.downscroll,(t=new Alphabet(0,70*this.curSelected+30,flixel_FlxG.save.data.downscroll?"Downscroll":"Upscroll",!0,!1)).isMenuItem=!0,t.targetY=this.curSelected-2,this.grpControls.add(t);break;case 3:flixel_FlxG.save.data.accuracyDisplay=!flixel_FlxG.save.data.accuracyDisplay,(t=new Alphabet(0,70*this.curSelected+30,"Accuracy "+(flixel_FlxG.save.data.accuracyDisplay?"on":"off"),!0,!1)).isMenuItem=!0,t.targetY=this.curSelected-3,this.grpControls.add(t);break;case 4:flixel_FlxG.save.data.songPosition=!flixel_FlxG.save.data.songPosition,(t=new Alphabet(0,70*this.curSelected+30,"Song Position "+(flixel_FlxG.save.data.songPosition?"on":"off"),!0,!1)).isMenuItem=!0,t.targetY=this.curSelected-4,this.grpControls.add(t);break;case 5:flixel_FlxG.save.data.etternaMode=!flixel_FlxG.save.data.etternaMode;var t=new Alphabet(0,70*this.curSelected+30,"Etterna Mode "+(flixel_FlxG.save.data.etternaMode?"on":"off"),!0,!1);t.isMenuItem=!0,t.targetY=this.curSelected-5,this.grpControls.add(t);break;case 6:haxe_Log.trace("switch",{fileName:"source/OptionsMenu.hx",lineNumber:139,className:"OptionsMenu",methodName:"update"});var i=new LoadReplayState;flixel_FlxG.game._state.switchTo(i)&&(flixel_FlxG.game._requestedState=i)}flixel_FlxG.save.flush()},isSettingControl:null,changeSelection:function(e){null==e&&(e=0),flixel_FlxG.sound.play(Paths.sound("scrollMenu"),.4),this.curSelected+=e,this.curSelected<0&&(this.curSelected=this.grpControls.length-1),this.curSelected>=this.grpControls.length&&(this.curSelected=0);for(var t=0,i=0,l=this.grpControls.members;i<l.length;){var n=l[i];++i,n.targetY=t-this.curSelected,++t,n.set_alpha(.6),0==n.targetY&&n.set_alpha(1)}},__class__:OptionsMenu});var Paths=function(){};$hxClasses.Paths=Paths,Paths.__name__="Paths",Paths.currentLevel=null,Paths.setCurrentLevel=function(e){Paths.currentLevel=e.toLowerCase()},Paths.getPath=function(e,t,i){if(null!=i)return Paths.getLibraryPath(e,i);if(null!=Paths.currentLevel){var l=(i=Paths.currentLevel)+":assets/"+i+"/"+e;if(openfl_utils_Assets.exists(l,t))return l;if(l="shared:assets/shared/"+e,openfl_utils_Assets.exists(l,t))return l}return"assets/"+e},Paths.getLibraryPath=function(e,t){return null==t&&(t="preload"),"preload"==t||"default"==t?"assets/"+e:t+":assets/"+t+"/"+e},Paths.getLibraryPathForce=function(e,t){return t+":assets/"+t+"/"+e},Paths.getPreloadPath=function(e){return"assets/"+e},Paths.file=function(e,t,i){return null==t&&(t="TEXT"),Paths.getPath(e,t,i)},Paths.txt=function(e,t){return Paths.getPath("data/"+e+".txt","TEXT",t)},Paths.xml=function(e,t){return Paths.getPath("data/"+e+".xml","TEXT",t)},Paths.json=function(e,t){return Paths.getPath("data/"+e+".json","TEXT",t)},Paths.sound=function(e,t){return Paths.getPath("sounds/"+e+".mp3","SOUND",t)},Paths.soundRandom=function(e,t,i,l){return Paths.sound(e+flixel_FlxG.random.int(t,i),l)},Paths.music=function(e,t){return Paths.getPath("music/"+e+".mp3","MUSIC",t)},Paths.voices=function(e){return"songs:assets/songs/"+e.toLowerCase()+"/Voices.mp3"},Paths.inst=function(e){return"songs:assets/songs/"+e.toLowerCase()+"/Inst.mp3"},Paths.image=function(e,t){return Paths.getPath("images/"+e+".png","IMAGE",t)},Paths.font=function(e){return"assets/fonts/"+e},Paths.getSparrowAtlas=function(e,t){return flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/"+e+".png","IMAGE",t),Paths.getPath("images/"+e+".xml","TEXT",t))},Paths.getPackerAtlas=function(e,t){return flixel_graphics_frames_FlxAtlasFrames.fromSpriteSheetPacker(Paths.getPath("images/"+e+".png","IMAGE",t),Paths.getPath("images/"+e+".txt","TEXT",t))};var PauseSubState=function(e,t){this.curSelected=0,this.menuItems=["Resume","Restart Song","Exit to menu"],MusicBeatSubstate.call(this),this.pauseMusic=(new flixel_system_FlxSound).loadEmbedded(Paths.getPath("music/breakfast.mp3","MUSIC",null),!0,!0),this.pauseMusic.set_volume(0),this.pauseMusic.play(!1,flixel_FlxG.random.int(0,this.pauseMusic._length/2|0)),flixel_FlxG.sound.list.add(this.pauseMusic);var i=(new flixel_FlxSprite).makeGraphic(flixel_FlxG.width,flixel_FlxG.height,-16777216);i.set_alpha(0),i.scrollFactor.set(),this.add(i);var l=new flixel_text_FlxText(20,15,0,"",32);(s=l).set_text(s.text+PlayState.SONG.song),l.scrollFactor.set(),l.setFormat("assets/fonts/vcr.ttf",32),l.updateHitbox(),this.add(l);var n=new flixel_text_FlxText(20,47,0,"",32);(s=n).set_text(s.text+CoolUtil.difficultyString()),n.scrollFactor.set(),n.setFormat("assets/fonts/vcr.ttf",32),n.updateHitbox(),this.add(n),n.set_alpha(0),l.set_alpha(0),l.set_x(flixel_FlxG.width-(l.get_width()+20)),n.set_x(flixel_FlxG.width-(n.get_width()+20)),flixel_tweens_FlxTween.tween(i,{alpha:.6},.4,{ease:flixel_tweens_FlxEase.quartInOut}),flixel_tweens_FlxTween.tween(l,{alpha:1,y:20},.4,{ease:flixel_tweens_FlxEase.quartInOut,startDelay:.3}),flixel_tweens_FlxTween.tween(n,{alpha:1,y:n.y+5},.4,{ease:flixel_tweens_FlxEase.quartInOut,startDelay:.5}),this.grpMenuShit=new flixel_group_FlxTypedGroup,this.add(this.grpMenuShit);for(var s=0,a=this.menuItems.length;s<a;){var r=s++,_=new Alphabet(0,70*r+30,this.menuItems[r],!0,!1);_.isMenuItem=!0,_.targetY=r,this.grpMenuShit.add(_)}this.changeSelection(),this.set_cameras([flixel_FlxG.cameras.list[flixel_FlxG.cameras.list.length-1]])};$hxClasses.PauseSubState=PauseSubState,PauseSubState.__name__="PauseSubState",PauseSubState.__super__=MusicBeatSubstate,PauseSubState.prototype=$extend(MusicBeatSubstate.prototype,{grpMenuShit:null,menuItems:null,curSelected:null,pauseMusic:null,update:function(e){if(this.pauseMusic._volume<.5){var t=this.pauseMusic;t.set_volume(t._volume+.01*e)}MusicBeatSubstate.prototype.update.call(this,e);var i=PlayerSettings.player1.controls._upP.check(),l=PlayerSettings.player1.controls._downP.check(),n=PlayerSettings.player1.controls._accept.check();if(i&&this.changeSelection(-1),l&&this.changeSelection(1),n)switch(this.menuItems[this.curSelected]){case"Exit to menu":PlayState.loadRep=!1;s=new MainMenuState;flixel_FlxG.game._state.switchTo(s)&&(flixel_FlxG.game._requestedState=s);break;case"Restart Song":var s=Type.createInstance(js_Boot.getClass(flixel_FlxG.game._state),[]);flixel_FlxG.game._state.switchTo(s)&&(flixel_FlxG.game._requestedState=s);break;case"Resume":this.close()}var a=flixel_FlxG.keys.justPressed;a.keyManager.checkStatus(74,a.status)},destroy:function(){this.pauseMusic.destroy(),MusicBeatSubstate.prototype.destroy.call(this)},changeSelection:function(e){null==e&&(e=0),this.curSelected+=e,this.curSelected<0&&(this.curSelected=this.menuItems.length-1),this.curSelected>=this.menuItems.length&&(this.curSelected=0);for(var t=0,i=0,l=this.grpMenuShit.members;i<l.length;){var n=l[i];++i,n.targetY=t-this.curSelected,++t,n.set_alpha(.6),0==n.targetY&&n.set_alpha(1)}},__class__:PauseSubState});var PlayState=function(e,t){this.curLight=0,this.lightningOffset=8,this.lightningStrikeBeat=0,this.startedMoving=!1,this.trainCooldown=0,this.trainFinishing=!1,this.trainCars=8,this.trainFrameTiming=0,this.trainMoving=!1,this.fastCarCanDrive=!0,this.etternaModeScore=0,this.mashViolations=0,this.mashing=0,this.leftHold=!1,this.rightHold=!1,this.downHold=!1,this.upHold=!1,this.currentTimingShown=null,this.timeShown=0,this.endingSong=!1,this.canPause=!0,this.startedCountdown=!1,this.paused=!1,this.debugNum=0,this.songTime=0,this.lastReportedPlayheadPosition=0,this.previousFrameTime=0,this.perfectMode=!1,this.inCutscene=!1,this.defaultCamZoom=1.05,this.songScore=0,this.talking=!0,this.wiggleShit=new WiggleEffect,this.fc=!0,this.isHalloween=!1,this.dialogue=["blah blah blah","coolswag"],this.startingSong=!1,this.generatedMusic=!1,this.songPositionBar=0,this.ss=!1,this.totalPlayed=0,this.totalNotesHit=0,this.accuracy=0,this.combo=0,this.health=1,this.gfSpeed=1,this.curSong="",this.camZooming=!1,this.curSection=0,this.unspawnNotes=[],this.halloweenLevel=!1,MusicBeatState.call(this,e,t)};$hxClasses.PlayState=PlayState,PlayState.__name__="PlayState",PlayState.SONG=null,PlayState.songPosBG=null,PlayState.songPosBar=null,PlayState.rep=null,PlayState.prevCamFollow=null,PlayState.__super__=MusicBeatState,PlayState.prototype=$extend(MusicBeatState.prototype,{halloweenLevel:null,vocals:null,dad:null,gf:null,boyfriend:null,notes:null,unspawnNotes:null,strumLine:null,curSection:null,camFollow:null,strumLineNotes:null,playerStrums:null,camZooming:null,curSong:null,gfSpeed:null,health:null,combo:null,accuracy:null,totalNotesHit:null,totalPlayed:null,ss:null,healthBarBG:null,healthBar:null,songPositionBar:null,generatedMusic:null,startingSong:null,iconP1:null,iconP2:null,camHUD:null,camGame:null,dialogue:null,halloweenBG:null,isHalloween:null,phillyCityLights:null,phillyTrain:null,trainSound:null,limo:null,grpLimoDancers:null,fastCar:null,songName:null,upperBoppers:null,bottomBoppers:null,santa:null,fc:null,bgGirls:null,wiggleShit:null,talking:null,songScore:null,scoreTxt:null,replayTxt:null,defaultCamZoom:null,funneEffect:null,inCutscene:null,create:function(){var e=this;switch(flixel_FlxG.save.data.etternaMode?Conductor.safeFrames=5:Conductor.safeFrames=10,PlayState.theFunne=flixel_FlxG.save.data.newInput,null!=flixel_FlxG.sound.music&&(w=flixel_FlxG.sound.music).cleanup(w.autoDestroy,!0),PlayState.sicks=0,PlayState.bads=0,PlayState.shits=0,PlayState.goods=0,PlayState.misses=0,PlayState.repPresses=0,PlayState.repReleases=0,this.camGame=new flixel_FlxCamera,this.camHUD=new flixel_FlxCamera,this.camHUD.bgColor&=16777215,this.camHUD.bgColor|=0,flixel_FlxG.cameras.reset(this.camGame),flixel_FlxG.cameras.add(this.camHUD),flixel_FlxCamera.defaultCameras=[this.camGame],this.persistentUpdate=!0,this.persistentDraw=!0,null==PlayState.SONG&&(PlayState.SONG=Song.loadFromJson("tutorial")),Conductor.mapBPMChanges(PlayState.SONG),Conductor.changeBPM(PlayState.SONG.bpm),PlayState.SONG.song.toLowerCase()){case"bopeebo":this.dialogue=["HEY!","You think you can just sing\nwith my daughter like that?","If you want to date her...","You're going to have to go \nthrough ME first!"];break;case"dadbattle":this.dialogue=["gah you think you're hot stuff?","If you can beat me here...","Only then I will even CONSIDER letting you\ndate my daughter!"];break;case"fresh":this.dialogue=["Not too shabby boy.",""];break;case"roses":this.dialogue=CoolUtil.coolTextFile(Paths.getPath("data/roses/rosesDialogue.txt","TEXT",null));break;case"senpai":this.dialogue=CoolUtil.coolTextFile(Paths.getPath("data/senpai/senpaiDialogue.txt","TEXT",null));break;case"thorns":this.dialogue=CoolUtil.coolTextFile(Paths.getPath("data/thorns/thornsDialogue.txt","TEXT",null));break;case"tutorial":this.dialogue=["Hey you're pretty cute.","Use the arrow keys to keep up \nwith me singing."]}if("spookeez"==PlayState.SONG.song.toLowerCase()||"monster"==PlayState.SONG.song.toLowerCase()||"south"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="spooky",this.halloweenLevel=!0;var t=null,i=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/halloween_bg.png","IMAGE",t),Paths.getPath("images/halloween_bg.xml","TEXT",t));this.halloweenBG=new flixel_FlxSprite(-200,-100),this.halloweenBG.set_frames(i),this.halloweenBG.animation.addByPrefix("idle","halloweem bg0"),this.halloweenBG.animation.addByPrefix("lightning","halloweem bg lightning strike",24,!1),this.halloweenBG.animation.play("idle"),this.halloweenBG.set_antialiasing(!0),this.add(this.halloweenBG),this.isHalloween=!0}else if("pico"==PlayState.SONG.song.toLowerCase()||"blammed"==PlayState.SONG.song.toLowerCase()||"philly"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="philly",(v=new flixel_FlxSprite(-100).loadGraphic(Paths.getPath("images/philly/sky.png","IMAGE",null))).scrollFactor.set(.1,.1),this.add(v);var l=new flixel_FlxSprite(-10).loadGraphic(Paths.getPath("images/philly/city.png","IMAGE",null));l.scrollFactor.set(.3,.3),l.setGraphicSize(.85*l.get_width()|0),l.updateHitbox(),this.add(l),this.phillyCityLights=new flixel_group_FlxTypedGroup,this.add(this.phillyCityLights);var n=new flixel_FlxSprite(l.x).loadGraphic(Paths.getPath("images/philly/win0.png","IMAGE",null));n.scrollFactor.set(.3,.3),n.set_visible(!1),n.setGraphicSize(.85*n.get_width()|0),n.updateHitbox(),n.set_antialiasing(!0),this.phillyCityLights.add(n),(n=new flixel_FlxSprite(l.x).loadGraphic(Paths.getPath("images/philly/win1.png","IMAGE",null))).scrollFactor.set(.3,.3),n.set_visible(!1),n.setGraphicSize(.85*n.get_width()|0),n.updateHitbox(),n.set_antialiasing(!0),this.phillyCityLights.add(n),(n=new flixel_FlxSprite(l.x).loadGraphic(Paths.getPath("images/philly/win2.png","IMAGE",null))).scrollFactor.set(.3,.3),n.set_visible(!1),n.setGraphicSize(.85*n.get_width()|0),n.updateHitbox(),n.set_antialiasing(!0),this.phillyCityLights.add(n),(n=new flixel_FlxSprite(l.x).loadGraphic(Paths.getPath("images/philly/win3.png","IMAGE",null))).scrollFactor.set(.3,.3),n.set_visible(!1),n.setGraphicSize(.85*n.get_width()|0),n.updateHitbox(),n.set_antialiasing(!0),this.phillyCityLights.add(n),(n=new flixel_FlxSprite(l.x).loadGraphic(Paths.getPath("images/philly/win4.png","IMAGE",null))).scrollFactor.set(.3,.3),n.set_visible(!1),n.setGraphicSize(.85*n.get_width()|0),n.updateHitbox(),n.set_antialiasing(!0),this.phillyCityLights.add(n);var s=new flixel_FlxSprite(-40,50).loadGraphic(Paths.getPath("images/philly/behindTrain.png","IMAGE",null));this.add(s),this.phillyTrain=new flixel_FlxSprite(2e3,360).loadGraphic(Paths.getPath("images/philly/train.png","IMAGE",null)),this.add(this.phillyTrain),this.trainSound=(new flixel_system_FlxSound).loadEmbedded(Paths.sound("train_passes")),flixel_FlxG.sound.list.add(this.trainSound);var a=new flixel_FlxSprite(-40,s.y).loadGraphic(Paths.getPath("images/philly/street.png","IMAGE",null));this.add(a)}else if("milf"==PlayState.SONG.song.toLowerCase()||"satin-panties"==PlayState.SONG.song.toLowerCase()||"high"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="limo",this.defaultCamZoom=.9;var r=new flixel_FlxSprite(-120,-50).loadGraphic(Paths.getPath("images/limo/limoSunset.png","IMAGE",null));r.scrollFactor.set(.1,.1),this.add(r);var _=new flixel_FlxSprite(-200,480),t=null;_.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/limo/bgLimo.png","IMAGE",t),Paths.getPath("images/limo/bgLimo.xml","TEXT",t))),_.animation.addByPrefix("drive","background limo pink",24),_.animation.play("drive"),_.scrollFactor.set(.4,.4),this.add(_),this.grpLimoDancers=new flixel_group_FlxTypedGroup,this.add(this.grpLimoDancers);var o=new BackgroundDancer(130,_.y-400);o.scrollFactor.set(.4,.4),this.grpLimoDancers.add(o),(o=new BackgroundDancer(500,_.y-400)).scrollFactor.set(.4,.4),this.grpLimoDancers.add(o),(o=new BackgroundDancer(870,_.y-400)).scrollFactor.set(.4,.4),this.grpLimoDancers.add(o),(o=new BackgroundDancer(1240,_.y-400)).scrollFactor.set(.4,.4),this.grpLimoDancers.add(o),(o=new BackgroundDancer(1610,_.y-400)).scrollFactor.set(.4,.4),this.grpLimoDancers.add(o),new flixel_FlxSprite(-500,-600).loadGraphic(Paths.getPath("images/limo/limoOverlay.png","IMAGE",null)).set_alpha(.5);var t=null,h=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/limo/limoDrive.png","IMAGE",t),Paths.getPath("images/limo/limoDrive.xml","TEXT",t));this.limo=new flixel_FlxSprite(-120,550),this.limo.set_frames(h),this.limo.animation.addByPrefix("drive","Limo stage",24),this.limo.animation.play("drive"),this.limo.set_antialiasing(!0),this.fastCar=new flixel_FlxSprite(-300,160).loadGraphic(Paths.getPath("images/limo/fastCarLol.png","IMAGE",null))}else if("cocoa"==PlayState.SONG.song.toLowerCase()||"eggnog"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="mall",this.defaultCamZoom=.8,(v=new flixel_FlxSprite(-1e3,-500).loadGraphic(Paths.getPath("images/christmas/bgWalls.png","IMAGE",null))).set_antialiasing(!0),v.scrollFactor.set(.2,.2),v.set_active(!1),v.setGraphicSize(.8*v.get_width()|0),v.updateHitbox(),this.add(v),this.upperBoppers=new flixel_FlxSprite(-240,-90);t=null;this.upperBoppers.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/upperBop.png","IMAGE",t),Paths.getPath("images/christmas/upperBop.xml","TEXT",t))),this.upperBoppers.animation.addByPrefix("bop","Upper Crowd Bob",24,!1),this.upperBoppers.set_antialiasing(!0),this.upperBoppers.scrollFactor.set(.33,.33),this.upperBoppers.setGraphicSize(.85*this.upperBoppers.get_width()|0),this.upperBoppers.updateHitbox(),this.add(this.upperBoppers);var u=new flixel_FlxSprite(-1100,-600).loadGraphic(Paths.getPath("images/christmas/bgEscalator.png","IMAGE",null));u.set_antialiasing(!0),u.scrollFactor.set(.3,.3),u.set_active(!1),u.setGraphicSize(.9*u.get_width()|0),u.updateHitbox(),this.add(u);var d=new flixel_FlxSprite(370,-250).loadGraphic(Paths.getPath("images/christmas/christmasTree.png","IMAGE",null));d.set_antialiasing(!0),d.scrollFactor.set(.4,.4),this.add(d),this.bottomBoppers=new flixel_FlxSprite(-300,140);t=null;this.bottomBoppers.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/bottomBop.png","IMAGE",t),Paths.getPath("images/christmas/bottomBop.xml","TEXT",t))),this.bottomBoppers.animation.addByPrefix("bop","Bottom Level Boppers",24,!1),this.bottomBoppers.set_antialiasing(!0),this.bottomBoppers.scrollFactor.set(.9,.9),this.bottomBoppers.setGraphicSize(0|this.bottomBoppers.get_width()),this.bottomBoppers.updateHitbox(),this.add(this.bottomBoppers);var c=new flixel_FlxSprite(-600,700).loadGraphic(Paths.getPath("images/christmas/fgSnow.png","IMAGE",null));c.set_active(!1),c.set_antialiasing(!0),this.add(c),this.santa=new flixel_FlxSprite(-840,150);t=null;this.santa.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/christmas/santa.png","IMAGE",t),Paths.getPath("images/christmas/santa.xml","TEXT",t))),this.santa.animation.addByPrefix("idle","santa idle in fear",24,!1),this.santa.set_antialiasing(!0),this.add(this.santa)}else if("winter-horrorland"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="mallEvil",(v=new flixel_FlxSprite(-400,-500).loadGraphic(Paths.getPath("images/christmas/evilBG.png","IMAGE",null))).set_antialiasing(!0),v.scrollFactor.set(.2,.2),v.set_active(!1),v.setGraphicSize(.8*v.get_width()|0),v.updateHitbox(),this.add(v);var p=new flixel_FlxSprite(300,-300).loadGraphic(Paths.getPath("images/christmas/evilTree.png","IMAGE",null));p.set_antialiasing(!0),p.scrollFactor.set(.2,.2),this.add(p);var f=new flixel_FlxSprite(-200,700).loadGraphic(Paths.getPath("images/christmas/evilSnow.png","IMAGE",null));f.set_antialiasing(!0),this.add(f)}else if("senpai"==PlayState.SONG.song.toLowerCase()||"roses"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="school";var m=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/weeb/weebSky.png","IMAGE",null));m.scrollFactor.set(.1,.1),this.add(m);var x=new flixel_FlxSprite(-200,0).loadGraphic(Paths.getPath("images/weeb/weebSchool.png","IMAGE",null));x.scrollFactor.set(.6,.9),this.add(x);var g=new flixel_FlxSprite(-200).loadGraphic(Paths.getPath("images/weeb/weebStreet.png","IMAGE",null));g.scrollFactor.set(.95,.95),this.add(g);var F=new flixel_FlxSprite(-30,130).loadGraphic(Paths.getPath("images/weeb/weebTreesBack.png","IMAGE",null));F.scrollFactor.set(.9,.9),this.add(F);var y=new flixel_FlxSprite(-580,-800),t=null,S=flixel_graphics_frames_FlxAtlasFrames.fromSpriteSheetPacker(Paths.getPath("images/weeb/weebTrees.png","IMAGE",t),Paths.getPath("images/weeb/weebTrees.txt","TEXT",t));y.set_frames(S),y.animation.add("treeLoop",[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],12),y.animation.play("treeLoop"),y.scrollFactor.set(.85,.85),this.add(y);var b=new flixel_FlxSprite(-200,-40),t=null;b.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/petals.png","IMAGE",t),Paths.getPath("images/weeb/petals.xml","TEXT",t))),b.animation.addByPrefix("leaves","PETALS ALL",24,!0),b.animation.play("leaves"),b.scrollFactor.set(.85,.85),this.add(b);var U=6*m.get_width()|0;m.setGraphicSize(U),x.setGraphicSize(U),g.setGraphicSize(U),y.setGraphicSize(1.4*U|0),F.setGraphicSize(.8*U|0),b.setGraphicSize(U),F.updateHitbox(),m.updateHitbox(),x.updateHitbox(),g.updateHitbox(),y.updateHitbox(),b.updateHitbox(),this.bgGirls=new BackgroundGirls(-100,190),this.bgGirls.scrollFactor.set(.9,.9),"roses"==PlayState.SONG.song.toLowerCase()&&this.bgGirls.getScared(),this.bgGirls.setGraphicSize(this.bgGirls.get_width()*PlayState.daPixelZoom|0),this.bgGirls.updateHitbox(),this.add(this.bgGirls)}else if("thorns"==PlayState.SONG.song.toLowerCase()){PlayState.curStage="schoolEvil";new flixel_addons_effects_chainable_FlxWaveEffect(flixel_addons_effects_chainable_FlxWaveMode.ALL,2,-1,3,2),new flixel_addons_effects_chainable_FlxWaveEffect(flixel_addons_effects_chainable_FlxWaveMode.ALL,2,-1,5,2);t=null;(v=new flixel_FlxSprite(400,200)).set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/animatedEvilSchool.png","IMAGE",t),Paths.getPath("images/weeb/animatedEvilSchool.xml","TEXT",t))),v.animation.addByPrefix("idle","background 2",24),v.animation.play("idle"),v.scrollFactor.set(.8,.9),v.scale.set(6,6),this.add(v)}else if("parish"==PlayState.SONG.song.toLowerCase())PlayState.curStage="parishStage",(v=new flixel_FlxSprite(-600,-200).loadGraphic(Paths.getPath("images/sacredmass/church1/base.png","IMAGE",null))).set_antialiasing(!0),v.scrollFactor.set(.9,.9),v.set_active(!1),this.add(v);else if("worship"==PlayState.SONG.song.toLowerCase())PlayState.curStage="worshipStage",(v=new flixel_FlxSprite(-600,-200).loadGraphic(Paths.getPath("images/sacredmass/church2/base.png","IMAGE",null))).set_antialiasing(!0),v.scrollFactor.set(.9,.9),v.set_active(!1),this.add(v);else if("zavodila"==PlayState.SONG.song.toLowerCase())PlayState.curStage="zavodilaStage",(v=new flixel_FlxSprite(-600,-200).loadGraphic(Paths.getPath("images/sacredmass/church2/base.png","IMAGE",null))).set_antialiasing(!0),v.scrollFactor.set(.9,.9),v.set_active(!1),this.add(v);else if("gospel"==PlayState.SONG.song.toLowerCase())PlayState.curStage="gospelStage",(v=new flixel_FlxSprite(-600,-200).loadGraphic(Paths.getPath("images/sacredmass/church3/base.png","IMAGE",null))).set_antialiasing(!0),v.scrollFactor.set(.9,.9),v.set_active(!1),this.add(v);else{this.defaultCamZoom=.9,PlayState.curStage="stage";var v=new flixel_FlxSprite(-600,-200).loadGraphic(Paths.getPath("images/stageback.png","IMAGE",null));v.set_antialiasing(!0),v.scrollFactor.set(.9,.9),v.set_active(!1),this.add(v);var T=new flixel_FlxSprite(-650,600).loadGraphic(Paths.getPath("images/stagefront.png","IMAGE",null));T.setGraphicSize(1.1*T.get_width()|0),T.updateHitbox(),T.set_antialiasing(!0),T.scrollFactor.set(.9,.9),T.set_active(!1),this.add(T);var N=new flixel_FlxSprite(-500,-300).loadGraphic(Paths.getPath("images/stagecurtains.png","IMAGE",null));N.setGraphicSize(.9*N.get_width()|0),N.updateHitbox(),N.set_antialiasing(!0),N.scrollFactor.set(1.3,1.3),N.set_active(!1),this.add(N)}var D="gf";switch(PlayState.curStage){case"limo":D="gf-car";break;case"mall":case"mallEvil":D="gf-christmas";break;case"school":case"schoolEvil":D="gf-pixel"}"limo"==PlayState.curStage&&(D="gf-car"),this.gf=new Character(400,130,D),this.gf.scrollFactor.set(.95,.95),this.dad=new Character(100,100,PlayState.SONG.player2);var Q=new flixel_math_FlxPoint(this.dad.getGraphicMidpoint().x,this.dad.getGraphicMidpoint().y);switch(PlayState.SONG.player2){case"dad":(G=Q).set_x(G.x+400);break;case"gf":this.dad.setPosition(this.gf.x,this.gf.y),this.gf.set_visible(!1),PlayState.isStoryMode&&((G=Q).set_x(G.x+600),this.tweenCamIn());break;case"monster":(G=this.dad).set_y(G.y+100);break;case"monster-christmas":(G=this.dad).set_y(G.y+130);break;case"parents-christmas":(G=this.dad).set_x(G.x-500);break;case"pico":(G=Q).set_x(G.x+600),(G=this.dad).set_y(G.y+300);break;case"senpai":case"senpai-angry":(G=this.dad).set_x(G.x+150),(G=this.dad).set_y(G.y+360),Q.set(this.dad.getGraphicMidpoint().x+300,this.dad.getGraphicMidpoint().y);break;case"spirit":(G=this.dad).set_x(G.x-150),(G=this.dad).set_y(G.y+100),Q.set(this.dad.getGraphicMidpoint().x+300,this.dad.getGraphicMidpoint().y);break;case"spooky":(G=this.dad).set_y(G.y+200)}switch(this.boyfriend=new Boyfriend(770,450,PlayState.SONG.player1),PlayState.curStage){case"limo":(G=this.boyfriend).set_y(G.y-220),(G=this.boyfriend).set_x(G.x+260),this.resetFastCar(),this.add(this.fastCar);break;case"mall":(G=this.boyfriend).set_x(G.x+200);break;case"mallEvil":(G=this.boyfriend).set_x(G.x+320),(G=this.dad).set_y(G.y-80);break;case"school":(G=this.boyfriend).set_x(G.x+200),(G=this.boyfriend).set_y(G.y+220),(G=this.gf).set_x(G.x+180),(G=this.gf).set_y(G.y+300);break;case"schoolEvil":var B=new flixel_addons_effects_FlxTrail(this.dad,null,4,24,.3,.069);this.add(B),(G=this.boyfriend).set_x(G.x+200),(G=this.boyfriend).set_y(G.y+220),(G=this.gf).set_x(G.x+180),(G=this.gf).set_y(G.y+300)}this.add(this.gf),"limo"==PlayState.curStage&&this.add(this.limo),this.add(this.dad),this.add(this.boyfriend);var R=new DialogueBox(!1,this.dialogue);R.scrollFactor.set(),R.finishThing=$bind(this,this.startCountdown),Conductor.songPosition=-5e3,this.strumLine=new flixel_FlxSprite(0,50).makeGraphic(flixel_FlxG.width,10),this.strumLine.scrollFactor.set(),flixel_FlxG.save.data.downscroll&&this.strumLine.set_y(flixel_FlxG.height-165),this.strumLineNotes=new flixel_group_FlxTypedGroup,this.add(this.strumLineNotes),this.playerStrums=new flixel_group_FlxTypedGroup,this.generateSong(PlayState.SONG.song),this.camFollow=new flixel_FlxObject(0,0,1,1),this.camFollow.setPosition(Q.x,Q.y),null!=PlayState.prevCamFollow&&(this.camFollow=PlayState.prevCamFollow,PlayState.prevCamFollow=null),this.add(this.camFollow),flixel_FlxG.camera.follow(this.camFollow,flixel_FlxCameraFollowStyle.LOCKON,.01),flixel_FlxG.camera.set_zoom(this.defaultCamZoom);var w=flixel_FlxG.camera,E=this.camFollow.getPosition();w.scroll.set(E.x-.5*w.width,E.y-.5*w.height),E._weak&&E.put();var w=flixel_FlxG.worldBounds,k=0,W=0,Z=flixel_FlxG.width,M=flixel_FlxG.height;if(null==M&&(M=0),null==Z&&(Z=0),null==W&&(W=0),null==k&&(k=0),w.x=k,w.y=W,w.width=Z,w.height=M,flixel_FlxG.fixedTimestep=!1,flixel_FlxG.save.data.songPosition){PlayState.songPosBG=new flixel_FlxSprite(0,10).loadGraphic(Paths.getPath("images/healthBar.png","IMAGE",null)),flixel_FlxG.save.data.downscroll&&PlayState.songPosBG.set_y(.9*flixel_FlxG.height+45),PlayState.songPosBG.screenCenter(flixel_util_FlxAxes.X),PlayState.songPosBG.scrollFactor.set(),this.add(PlayState.songPosBG),PlayState.songPosBar=new flixel_ui_FlxBar(PlayState.songPosBG.x+4,PlayState.songPosBG.y+4,flixel_ui_FlxBarFillDirection.LEFT_TO_RIGHT,PlayState.songPosBG.get_width()-8|0,PlayState.songPosBG.get_height()-8|0,this,"songPositionBar",0,9e4),PlayState.songPosBar.scrollFactor.set(),PlayState.songPosBar.createFilledBar(-8355712,-16711936),this.add(PlayState.songPosBar);var P=new flixel_text_FlxText(PlayState.songPosBG.x+PlayState.songPosBG.get_width()/2-20,PlayState.songPosBG.y,0,PlayState.SONG.song,16);flixel_FlxG.save.data.downscroll&&(G=P).set_y(G.y-3),P.setFormat("assets/fonts/vcr.ttf",16,-1,"right",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),P.scrollFactor.set(),this.add(P),P.set_cameras([this.camHUD])}this.healthBarBG=new flixel_FlxSprite(0,.9*flixel_FlxG.height).loadGraphic(Paths.getPath("images/healthBar.png","IMAGE",null)),flixel_FlxG.save.data.downscroll&&this.healthBarBG.set_y(50),this.healthBarBG.screenCenter(flixel_util_FlxAxes.X),this.healthBarBG.scrollFactor.set(),this.add(this.healthBarBG),this.healthBar=new flixel_ui_FlxBar(this.healthBarBG.x+4,this.healthBarBG.y+4,flixel_ui_FlxBarFillDirection.RIGHT_TO_LEFT,this.healthBarBG.get_width()-8|0,this.healthBarBG.get_height()-8|0,this,"health",0,2),this.healthBar.scrollFactor.set(),this.healthBar.createFilledBar(-65536,-10027213),this.add(this.healthBar);var V=new flixel_text_FlxText(4,this.healthBarBG.y+50,0,PlayState.SONG.song+" "+(2==PlayState.storyDifficulty?"Hard":1==PlayState.storyDifficulty?"Normal":"Easy")+" - KE "+MainMenuState.kadeEngineVer+" - "+(flixel_FlxG.save.data.etternaMode?"E.Mode":"FNF"),16);if(V.setFormat("assets/fonts/vcr.ttf",16,-1,"right",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),V.scrollFactor.set(),this.add(V),flixel_FlxG.save.data.downscroll&&V.set_y(.9*flixel_FlxG.height+45),this.scoreTxt=new flixel_text_FlxText(flixel_FlxG.width/2-235,this.healthBarBG.y+50,0,"",20),flixel_FlxG.save.data.accuracyDisplay||this.scoreTxt.set_x(this.healthBarBG.x+this.healthBarBG.get_width()/2),this.scoreTxt.setFormat("assets/fonts/vcr.ttf",16,-1,"center",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.scoreTxt.scrollFactor.set(),this.add(this.scoreTxt),this.replayTxt=new flixel_text_FlxText(this.healthBarBG.x+this.healthBarBG.get_width()/2-75,this.healthBarBG.y+(flixel_FlxG.save.data.downscroll?100:-100),0,"REPLAY",20),this.replayTxt.setFormat("assets/fonts/vcr.ttf",42,-1,"right",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),this.replayTxt.scrollFactor.set(),PlayState.loadRep&&this.add(this.replayTxt),this.iconP1=new HealthIcon(PlayState.SONG.player1,!0),this.iconP1.set_y(this.healthBar.y-this.iconP1.get_height()/2),this.add(this.iconP1),this.iconP2=new HealthIcon(PlayState.SONG.player2,!1),this.iconP2.set_y(this.healthBar.y-this.iconP2.get_height()/2),this.add(this.iconP2),this.strumLineNotes.set_cameras([this.camHUD]),this.notes.set_cameras([this.camHUD]),this.healthBar.set_cameras([this.camHUD]),this.healthBarBG.set_cameras([this.camHUD]),this.iconP1.set_cameras([this.camHUD]),this.iconP2.set_cameras([this.camHUD]),this.scoreTxt.set_cameras([this.camHUD]),R.set_cameras([this.camHUD]),flixel_FlxG.save.data.songPosition&&(PlayState.songPosBG.set_cameras([this.camHUD]),PlayState.songPosBar.set_cameras([this.camHUD])),V.set_cameras([this.camHUD]),PlayState.loadRep&&this.replayTxt.set_cameras([this.camHUD]),this.startingSong=!0,PlayState.isStoryMode)switch(this.curSong.toLowerCase()){case"roses":flixel_FlxG.sound.play(Paths.sound("ANGRY")),this.schoolIntro(R);break;case"senpai":case"thorns":this.schoolIntro(R);break;case"winter-horrorland":var A=new flixel_FlxSprite(0,0).makeGraphic(2*flixel_FlxG.width|0,2*flixel_FlxG.height|0,-16777216);this.add(A),A.scrollFactor.set(),this.camHUD.set_visible(!1),(new flixel_util_FlxTimer).start(.1,function(t){e.remove(A),flixel_FlxG.sound.play(Paths.sound("Lights_Turn_On")),e.camFollow.set_y(-2050);var i=e.camFollow;i.set_x(i.x+200);var l=flixel_FlxG.camera,n=e.camFollow.getPosition();l.scroll.set(n.x-.5*l.width,n.y-.5*l.height),n._weak&&n.put(),flixel_FlxG.camera.set_zoom(1.5),(new flixel_util_FlxTimer).start(.8,function(t){e.camHUD.set_visible(!0),e.remove(A),flixel_tweens_FlxTween.tween(flixel_FlxG.camera,{zoom:e.defaultCamZoom},2.5,{ease:flixel_tweens_FlxEase.quadInOut,onComplete:function(t){e.startCountdown()}})})});break;default:this.startCountdown()}else{var G=this.curSong.toLowerCase();this.startCountdown()}PlayState.loadRep||(PlayState.rep=new Replay("na")),MusicBeatState.prototype.create.call(this)},schoolIntro:function(e){var t=this,i=new flixel_FlxSprite(-100,-100).makeGraphic(2*flixel_FlxG.width,2*flixel_FlxG.height,-16777216);i.scrollFactor.set(),this.add(i);var l=new flixel_FlxSprite(-100,-100).makeGraphic(2*flixel_FlxG.width,2*flixel_FlxG.height,-58575);l.scrollFactor.set();var n=new flixel_FlxSprite;n.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/weeb/senpaiCrazy.png","IMAGE",null),Paths.getPath("images/weeb/senpaiCrazy.xml","TEXT",null))),n.animation.addByPrefix("idle","Senpai Pre Explosion",24,!1),n.setGraphicSize(6*n.get_width()|0),n.scrollFactor.set(),n.updateHitbox(),n.screenCenter(),"roses"!=PlayState.SONG.song.toLowerCase()&&"thorns"!=PlayState.SONG.song.toLowerCase()||(this.remove(i),"thorns"==PlayState.SONG.song.toLowerCase()&&this.add(l)),(new flixel_util_FlxTimer).start(.3,function(s){var a=i;a.set_alpha(a.alpha-.15),i.alpha>0?s.reset(.3):(null!=e?(t.inCutscene=!0,"thorns"==PlayState.SONG.song.toLowerCase()?(t.add(n),n.set_alpha(0),(new flixel_util_FlxTimer).start(.3,function(i){var s=n;s.set_alpha(s.alpha+.15),n.alpha<1?i.reset():(n.animation.play("idle"),flixel_FlxG.sound.play(Paths.sound("Senpai_Dies"),1,!1,null,!0,function(){t.remove(n),t.remove(l),flixel_FlxG.camera.fade(-1,.01,!0,function(){t.add(e)},!0)}),(new flixel_util_FlxTimer).start(3.2,function(e){flixel_FlxG.camera.fade(-1,1.6,!1)}))})):t.add(e)):t.startCountdown(),t.remove(i))})},startTimer:null,perfectMode:null,startCountdown:function(){var e=this;this.inCutscene=!1,this.generateStaticArrows(0),this.generateStaticArrows(1),this.talking=!1,this.startedCountdown=!0,Conductor.songPosition=0,Conductor.songPosition-=5*Conductor.crochet;var t=0;this.startTimer=(new flixel_util_FlxTimer).start(Conductor.crochet/1e3,function(i){e.dad.dance(),e.gf.dance(),e.boyfriend.playAnim("idle");var l=Object.create(null);l.default=["ready","set","go"],l.school=["weeb/pixelUI/ready-pixel","weeb/pixelUI/set-pixel","weeb/pixelUI/date-pixel"],l.schoolEvil=["weeb/pixelUI/ready-pixel","weeb/pixelUI/set-pixel","weeb/pixelUI/date-pixel"];for(var n=l.default,s="",a=haxe_ds_StringMap.keysIterator(l);a.hasNext();){var r=a.next();r==PlayState.curStage&&(n=l[r],s="-pixel")}switch(t){case 0:flixel_FlxG.sound.play(Paths.sound("intro3"+s),.6);break;case 1:var _=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/"+n[0]+".png","IMAGE",null));_.scrollFactor.set(),_.updateHitbox(),StringTools.startsWith(PlayState.curStage,"school")&&_.setGraphicSize(_.get_width()*PlayState.daPixelZoom|0),_.screenCenter(),e.add(_);u=_;flixel_tweens_FlxTween.tween(_,{y:u.set_y(u.y+100),alpha:0},Conductor.crochet/1e3,{ease:flixel_tweens_FlxEase.cubeInOut,onComplete:function(e){_.destroy()}}),flixel_FlxG.sound.play(Paths.sound("intro2"+s),.6);break;case 2:var o=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/"+n[1]+".png","IMAGE",null));o.scrollFactor.set(),StringTools.startsWith(PlayState.curStage,"school")&&o.setGraphicSize(o.get_width()*PlayState.daPixelZoom|0),o.screenCenter(),e.add(o);u=o;flixel_tweens_FlxTween.tween(o,{y:u.set_y(u.y+100),alpha:0},Conductor.crochet/1e3,{ease:flixel_tweens_FlxEase.cubeInOut,onComplete:function(e){o.destroy()}}),flixel_FlxG.sound.play(Paths.sound("intro1"+s),.6);break;case 3:var h=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/"+n[2]+".png","IMAGE",null));h.scrollFactor.set(),StringTools.startsWith(PlayState.curStage,"school")&&h.setGraphicSize(h.get_width()*PlayState.daPixelZoom|0),h.updateHitbox(),h.screenCenter(),e.add(h);var u=h;flixel_tweens_FlxTween.tween(h,{y:u.set_y(u.y+100),alpha:0},Conductor.crochet/1e3,{ease:flixel_tweens_FlxEase.cubeInOut,onComplete:function(e){h.destroy()}}),flixel_FlxG.sound.play(Paths.sound("introGo"+s),.6)}t+=1},5)},previousFrameTime:null,lastReportedPlayheadPosition:null,songTime:null,startSong:function(){if(this.startingSong=!1,this.previousFrameTime=flixel_FlxG.game.ticks,this.lastReportedPlayheadPosition=0,this.paused||flixel_FlxG.sound.playMusic("songs:assets/songs/"+PlayState.SONG.song.toLowerCase()+"/Inst.mp3",1,!1),flixel_FlxG.sound.music.onComplete=$bind(this,this.endSong),this.vocals.play(),flixel_FlxG.save.data.songPosition){this.remove(PlayState.songPosBG),this.remove(PlayState.songPosBar),this.remove(this.songName),PlayState.songPosBG=new flixel_FlxSprite(0,10).loadGraphic(Paths.getPath("images/healthBar.png","IMAGE",null)),flixel_FlxG.save.data.downscroll&&PlayState.songPosBG.set_y(.9*flixel_FlxG.height+45),PlayState.songPosBG.screenCenter(flixel_util_FlxAxes.X),PlayState.songPosBG.scrollFactor.set(),this.add(PlayState.songPosBG),PlayState.songPosBar=new flixel_ui_FlxBar(PlayState.songPosBG.x+4,PlayState.songPosBG.y+4,flixel_ui_FlxBarFillDirection.LEFT_TO_RIGHT,PlayState.songPosBG.get_width()-8|0,PlayState.songPosBG.get_height()-8|0,this,"songPositionBar",0,9e4),PlayState.songPosBar.scrollFactor.set(),PlayState.songPosBar.createFilledBar(-8355712,-16711936),this.add(PlayState.songPosBar);var e=new flixel_text_FlxText(PlayState.songPosBG.x+PlayState.songPosBG.get_width()/2-20,PlayState.songPosBG.y,0,PlayState.SONG.song,16);if(flixel_FlxG.save.data.downscroll){var t=e;t.set_y(t.y-3)}e.setFormat("assets/fonts/vcr.ttf",16,-1,"right",flixel_text_FlxTextBorderStyle.OUTLINE,-16777216),e.scrollFactor.set(),this.add(e),PlayState.songPosBG.set_cameras([this.camHUD]),PlayState.songPosBar.set_cameras([this.camHUD]),e.set_cameras([this.camHUD])}},debugNum:null,generateSong:function(e){var t=PlayState.SONG;if(Conductor.changeBPM(t.bpm),this.curSong=t.song,PlayState.SONG.needsVoices){var i="songs:assets/songs/"+PlayState.SONG.song.toLowerCase()+"/Voices.mp3";this.vocals=(new flixel_system_FlxSound).loadEmbedded(i)}else this.vocals=new flixel_system_FlxSound;flixel_FlxG.sound.list.add(this.vocals),this.notes=new flixel_group_FlxTypedGroup,this.add(this.notes);for(var l=t.notes,n=0,s=0;s<l.length;){var a=l[s];++s;a.lengthInSteps;for(var r=0,_=a.sectionNotes;r<_.length;){var o=_[r];++r;var h=o[0],u=o[1]%4|0,d=a.mustHitSection;o[1]>3&&(d=!a.mustHitSection);var c;c=this.unspawnNotes.length>0?this.unspawnNotes[this.unspawnNotes.length-1|0]:null;var p=new Note(h,u,c);p.sustainLength=o[2],p.scrollFactor.set(0,0);var f=p.sustainLength;f/=Conductor.stepCrochet,this.unspawnNotes.push(p);for(var m=0,x=Math.floor(f);m<x;){var g=m++;c=this.unspawnNotes[this.unspawnNotes.length-1|0];var F=new Note(h+Conductor.stepCrochet*g+Conductor.stepCrochet,u,c,!0);if(F.scrollFactor.set(),this.unspawnNotes.push(F),F.mustPress=d,F.mustPress){var y=F;y.set_x(y.x+flixel_FlxG.width/2)}}if(p.mustPress=d,p.mustPress){var S=p;S.set_x(S.x+flixel_FlxG.width/2)}}++n}this.unspawnNotes.sort($bind(this,this.sortByShit)),this.generatedMusic=!0},sortByShit:function(e,t){var i=e.strumTime,l=t.strumTime,n=0;return i<l?n=-1:i>l&&(n=1),n},generateStaticArrows:function(e){for(var t=0;t<4;){var i=t++,l=new flixel_FlxSprite(0,this.strumLine.y);switch(PlayState.curStage){case"school":case"schoolEvil":switch(l.loadGraphic(Paths.getPath("images/weeb/pixelUI/arrows-pixels.png","IMAGE",null),!0,17,17),l.animation.add("green",[6]),l.animation.add("red",[7]),l.animation.add("blue",[5]),l.animation.add("purplel",[4]),l.setGraphicSize(l.get_width()*PlayState.daPixelZoom|0),l.updateHitbox(),l.set_antialiasing(!1),Math.abs(i)){case 0:var n=l;n.set_x(n.x+0*Note.swagWidth),l.animation.add("static",[0]),l.animation.add("pressed",[4,8],12,!1),l.animation.add("confirm",[12,16],24,!1);break;case 1:var s=l;s.set_x(s.x+Note.swagWidth),l.animation.add("static",[1]),l.animation.add("pressed",[5,9],12,!1),l.animation.add("confirm",[13,17],24,!1);break;case 2:var a=l;a.set_x(a.x+2*Note.swagWidth),l.animation.add("static",[2]),l.animation.add("pressed",[6,10],12,!1),l.animation.add("confirm",[14,18],12,!1);break;case 3:var r=l;r.set_x(r.x+3*Note.swagWidth),l.animation.add("static",[3]),l.animation.add("pressed",[7,11],12,!1),l.animation.add("confirm",[15,19],24,!1)}break;default:switch(l.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/NOTE_assets.png","IMAGE",null),Paths.getPath("images/NOTE_assets.xml","TEXT",null))),l.animation.addByPrefix("green","arrowUP"),l.animation.addByPrefix("blue","arrowDOWN"),l.animation.addByPrefix("purple","arrowLEFT"),l.animation.addByPrefix("red","arrowRIGHT"),l.set_antialiasing(!0),l.setGraphicSize(.7*l.get_width()|0),Math.abs(i)){case 0:var _=l;_.set_x(_.x+0*Note.swagWidth),l.animation.addByPrefix("static","arrowLEFT"),l.animation.addByPrefix("pressed","left press",24,!1),l.animation.addByPrefix("confirm","left confirm",24,!1);break;case 1:var o=l;o.set_x(o.x+Note.swagWidth),l.animation.addByPrefix("static","arrowDOWN"),l.animation.addByPrefix("pressed","down press",24,!1),l.animation.addByPrefix("confirm","down confirm",24,!1);break;case 2:var h=l;h.set_x(h.x+2*Note.swagWidth),l.animation.addByPrefix("static","arrowUP"),l.animation.addByPrefix("pressed","up press",24,!1),l.animation.addByPrefix("confirm","up confirm",24,!1);break;case 3:var u=l;u.set_x(u.x+3*Note.swagWidth),l.animation.addByPrefix("static","arrowRIGHT"),l.animation.addByPrefix("pressed","right press",24,!1),l.animation.addByPrefix("confirm","right confirm",24,!1)}}if(l.updateHitbox(),l.scrollFactor.set(),!PlayState.isStoryMode){var d=l;d.set_y(d.y-10),l.set_alpha(0),flixel_tweens_FlxTween.tween(l,{y:l.y+10,alpha:1},1,{ease:flixel_tweens_FlxEase.circOut,startDelay:.5+.2*i})}l.ID=i,1==e&&this.playerStrums.add(l),l.animation.play("static");var c=l;c.set_x(c.x+50);var p=l;p.set_x(p.x+flixel_FlxG.width/2*e),this.strumLineNotes.add(l)}},tweenCamIn:function(){flixel_tweens_FlxTween.tween(flixel_FlxG.camera,{zoom:1.3},4*Conductor.stepCrochet/1e3,{ease:flixel_tweens_FlxEase.elasticInOut})},openSubState:function(e){this.paused&&(null!=flixel_FlxG.sound.music&&(flixel_FlxG.sound.music.pause(),this.vocals.pause()),this.startTimer.finished||(this.startTimer.active=!1)),MusicBeatState.prototype.openSubState.call(this,e)},closeSubState:function(){this.paused&&(null==flixel_FlxG.sound.music||this.startingSong||this.resyncVocals(),this.startTimer.finished||(this.startTimer.active=!0),this.paused=!1),MusicBeatState.prototype.closeSubState.call(this)},resyncVocals:function(){this.vocals.pause(),flixel_FlxG.sound.music.play(),Conductor.songPosition=flixel_FlxG.sound.music._time,this.vocals.set_time(Conductor.songPosition),this.vocals.play()},paused:null,startedCountdown:null,canPause:null,truncateFloat:function(e,t){var i=e;return i*=Math.pow(10,t),i=Math.round(i)/Math.pow(10,t)},generateRanking:function(){var e="N/A";e=0==PlayState.misses&&0==PlayState.bads&&0==PlayState.shits&&0==PlayState.goods?"(MFC)":0==PlayState.misses&&0==PlayState.bads&&0==PlayState.shits&&PlayState.goods>=1?"(GFC)":(PlayState.shits<10&&0!=PlayState.shits||PlayState.bads<10&&0!=PlayState.bads)&&0==PlayState.misses?"(SDCB)":0==PlayState.misses&&(PlayState.shits>=10||PlayState.bads>=10)?"(FC)":PlayState.misses>=10||PlayState.shits>=10||PlayState.bads>=10?"(CB)":"";for(var t=[this.accuracy>=99.9935,this.accuracy>=99.98,this.accuracy>=99.97,this.accuracy>=99.955,this.accuracy>=99.9,this.accuracy>=99.8,this.accuracy>=99.7,this.accuracy>=99,this.accuracy>=96.5,this.accuracy>=93,this.accuracy>=90,this.accuracy>=85,this.accuracy>=80,this.accuracy>=70,this.accuracy>=60,this.accuracy<60],i=0,l=t.length;i<l;){var n=i++;if(t[n]){switch(n){case 0:e+=" AAAAA";break;case 1:e+=" AAAA:";break;case 2:e+=" AAAA.";break;case 3:e+=" AAAA";break;case 4:e+=" AAA:";break;case 5:e+=" AAA.";break;case 6:e+=" AAA";break;case 7:e+=" AA:";break;case 8:e+=" AA.";break;case 9:e+=" AA";break;case 10:e+=" A:";break;case 11:e+=" A.";break;case 12:e+=" A";break;case 13:e+=" B";break;case 14:e+=" C";break;case 15:e+=" D"}break}}return 0==this.accuracy&&(e="N/A"),e},update:function(e){var t=this;this.perfectMode=!1;var i=flixel_FlxG.keys.justPressed;if(i.keyManager.checkStatus(57,i.status)&&("bf-old"==this.iconP1.animation._curAnim.name?this.iconP1.animation.play(PlayState.SONG.player1):this.iconP1.animation.play("bf-old")),"philly"==PlayState.curStage&&this.trainMoving&&(this.trainFrameTiming+=e,this.trainFrameTiming>=.041666666666666664&&(this.updateTrainPos(),this.trainFrameTiming=0)),MusicBeatState.prototype.update.call(this,e),flixel_FlxG.save.data.accuracyDisplay?this.scoreTxt.set_text("Score:"+(flixel_FlxG.save.data.etternaMode?Math.max(0,this.etternaModeScore)+" ("+this.songScore+")":""+this.songScore)+" | Combo Breaks:"+PlayState.misses+" | Accuracy:"+this.truncateFloat(this.accuracy,2)+"% | "+this.generateRanking()):this.scoreTxt.set_text("Score:"+this.songScore),(i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(13,i.status)&&this.startedCountdown&&this.canPause){this.persistentUpdate=!1,this.persistentDraw=!0,this.paused=!0;var l=.1;if(null==l&&(l=50),flixel_FlxG.random.float(0,100)<l){n=new GitarooPause;flixel_FlxG.game._state.switchTo(n)&&(flixel_FlxG.game._requestedState=n)}else this.openSubState(new PauseSubState(this.boyfriend.getScreenPosition().x,this.boyfriend.getScreenPosition().y))}if((i=flixel_FlxG.keys.justPressed).keyManager.checkStatus(55,i.status)){var n=new ChartingState;flixel_FlxG.game._state.switchTo(n)&&(flixel_FlxG.game._requestedState=n)}this.iconP1.setGraphicSize(150+.5*(this.iconP1.get_width()-150)|0),this.iconP2.setGraphicSize(150+.5*(this.iconP2.get_width()-150)|0),this.iconP1.updateHitbox(),this.iconP2.updateHitbox();if(this.iconP1.set_x(this.healthBar.x+(this.healthBar.get_width()*(.01*flixel_math_FlxMath.remapToRange(this.healthBar.get_percent(),0,100,100,0))-26)),this.iconP2.set_x(this.healthBar.x+this.healthBar.get_width()*(.01*flixel_math_FlxMath.remapToRange(this.healthBar.get_percent(),0,100,100,0))-(this.iconP2.get_width()-26)),this.health>2&&(this.health=2),this.healthBar.get_percent()<20?this.iconP1.animation._curAnim.set_curFrame(1):this.iconP1.animation._curAnim.set_curFrame(0),this.healthBar.get_percent()>80?this.iconP2.animation._curAnim.set_curFrame(1):this.iconP2.animation._curAnim.set_curFrame(0),this.startingSong?this.startedCountdown&&(Conductor.songPosition+=1e3*flixel_FlxG.elapsed,Conductor.songPosition>=0&&this.startSong()):(Conductor.songPosition+=1e3*flixel_FlxG.elapsed,this.songPositionBar=Conductor.songPosition,this.paused||(this.songTime+=flixel_FlxG.game.ticks-this.previousFrameTime,this.previousFrameTime=flixel_FlxG.game.ticks,Conductor.lastSongPos!=Conductor.songPosition&&(this.songTime=(this.songTime+Conductor.songPosition)/2,Conductor.lastSongPos=Conductor.songPosition))),this.generatedMusic&&null!=PlayState.SONG.notes[this.curStep/16|0]){this.curBeat;if(this.camFollow.x!=this.dad.getMidpoint().x+150&&!PlayState.SONG.notes[this.curStep/16|0].mustHitSection){switch(this.camFollow.setPosition(this.dad.getMidpoint().x+150,this.dad.getMidpoint().y-100),this.dad.curCharacter){case"mom":this.camFollow.set_y(this.dad.getMidpoint().y);break;case"senpai":case"senpai-angry":this.camFollow.set_y(this.dad.getMidpoint().y-430),this.camFollow.set_x(this.dad.getMidpoint().x-100)}"mom"==this.dad.curCharacter&&this.vocals.set_volume(1),"tutorial"==PlayState.SONG.song.toLowerCase()&&this.tweenCamIn()}if(PlayState.SONG.notes[this.curStep/16|0].mustHitSection&&this.camFollow.x!=this.boyfriend.getMidpoint().x-100){switch(this.camFollow.setPosition(this.boyfriend.getMidpoint().x-100,this.boyfriend.getMidpoint().y-100),PlayState.curStage){case"limo":this.camFollow.set_x(this.boyfriend.getMidpoint().x-300);break;case"mall":this.camFollow.set_y(this.boyfriend.getMidpoint().y-200);break;case"school":case"schoolEvil":this.camFollow.set_x(this.boyfriend.getMidpoint().x-200),this.camFollow.set_y(this.boyfriend.getMidpoint().y-200)}"tutorial"==PlayState.SONG.song.toLowerCase()&&flixel_tweens_FlxTween.tween(flixel_FlxG.camera,{zoom:1},4*Conductor.stepCrochet/1e3,{ease:flixel_tweens_FlxEase.elasticInOut})}}if(this.camZooming){var s=this.defaultCamZoom;flixel_FlxG.camera.set_zoom(s+.95*(flixel_FlxG.camera.zoom-s)),this.camHUD.set_zoom(1+.95*(this.camHUD.zoom-1))}PlayState.loadRep;if("Fresh"==this.curSong)switch(this.curBeat){case 16:this.camZooming=!0,this.gfSpeed=2;break;case 48:this.gfSpeed=1;break;case 80:this.gfSpeed=2;break;case 112:this.gfSpeed=1}if("Bopeebo"==this.curSong)switch(this.curBeat){case 128:case 129:case 130:this.vocals.set_volume(0)}if(this.health<=0&&(this.boyfriend.stunned=!0,this.persistentUpdate=!1,this.persistentDraw=!1,this.paused=!0,(i=this.vocals).cleanup(i.autoDestroy,!0),(i=flixel_FlxG.sound.music).cleanup(i.autoDestroy,!0),this.openSubState(new GameOverSubstate(this.boyfriend.getScreenPosition().x,this.boyfriend.getScreenPosition().y))),null!=this.unspawnNotes[0]&&this.unspawnNotes[0].strumTime-Conductor.songPosition<1500){var a=this.unspawnNotes[0];this.notes.add(a);var r=this.unspawnNotes.indexOf(a);this.unspawnNotes.splice(r,1)}this.generatedMusic&&this.notes.forEachAlive(function(e){if(e.y>flixel_FlxG.height?(e.set_active(!1),e.set_visible(!1)):(e.set_visible(!0),e.set_active(!0)),!e.mustPress&&e.wasGoodHit){"Tutorial"!=PlayState.SONG.song&&(t.camZooming=!0);var i="";switch(null!=PlayState.SONG.notes[Math.floor(t.curStep/16)]&&PlayState.SONG.notes[Math.floor(t.curStep/16)].altAnim&&(i="-alt"),Math.abs(e.noteData)){case 0:t.dad.playAnim("singLEFT"+i,!0);break;case 1:t.dad.playAnim("singDOWN"+i,!0);break;case 2:t.dad.playAnim("singUP"+i,!0);break;case 3:t.dad.playAnim("singRIGHT"+i,!0)}t.dad.holdTimer=0,PlayState.SONG.needsVoices&&t.vocals.set_volume(1),e.kill(),t.notes.remove(e,!0),e.destroy()}flixel_FlxG.save.data.downscroll?e.set_y(t.strumLine.y-(Conductor.songPosition-e.strumTime)*(-.45*flixel_math_FlxMath.roundDecimal(PlayState.SONG.speed,2))):e.set_y(t.strumLine.y-(Conductor.songPosition-e.strumTime)*(.45*flixel_math_FlxMath.roundDecimal(PlayState.SONG.speed,2))),(e.y<-e.get_height()&&!flixel_FlxG.save.data.downscroll||e.y>=t.strumLine.y+106&&flixel_FlxG.save.data.downscroll)&&e.mustPress&&(e.isSustainNote&&e.wasGoodHit?(e.kill(),t.notes.remove(e,!0),e.destroy()):(t.health-=.075,t.vocals.set_volume(0),PlayState.theFunne&&t.noteMiss(e.noteData,e)),e.set_active(!1),e.set_visible(!1),e.kill(),t.notes.remove(e,!0),e.destroy())}),this.inCutscene||this.keyShit()},endSong:function(){if(PlayState.loadRep||PlayState.rep.SaveReplay(),this.canPause=!1,flixel_FlxG.sound.music.set_volume(0),this.vocals.set_volume(0),PlayState.SONG.validScore&&Highscore.saveScore(PlayState.SONG.song,Math.round(this.songScore),PlayState.storyDifficulty),PlayState.isStoryMode)if(PlayState.campaignScore+=Math.round(this.songScore),HxOverrides.remove(PlayState.storyPlaylist,PlayState.storyPlaylist[0]),PlayState.storyPlaylist.length<=0){flixel_FlxG.sound.playMusic(Paths.getPath("music/freakyMenu.mp3","MUSIC",null)),this.transIn=flixel_addons_transition_FlxTransitionableState.defaultTransIn,this.transOut=flixel_addons_transition_FlxTransitionableState.defaultTransOut;n=new StoryMenuState;if(flixel_FlxG.game._state.switchTo(n)&&(flixel_FlxG.game._requestedState=n),StoryMenuState.weekUnlocked[0|Math.min(PlayState.storyWeek+1,StoryMenuState.weekUnlocked.length-1)]=!0,PlayState.SONG.validScore){if(NGio.isLoggedIn){var e=io_newgrounds_NG.core.medals.h[60961];e._data.unlocked||e.sendUnlock()}Highscore.saveWeekScore(PlayState.storyWeek,PlayState.campaignScore,PlayState.storyDifficulty)}flixel_FlxG.save.data.weekUnlocked=StoryMenuState.weekUnlocked,flixel_FlxG.save.flush()}else{var t="";if(0==PlayState.storyDifficulty&&(t="-easy"),2==PlayState.storyDifficulty&&(t="-hard"),haxe_Log.trace("LOADING NEXT SONG",{fileName:"source/PlayState.hx",lineNumber:2023,className:"PlayState",methodName:"endSong"}),haxe_Log.trace(PlayState.storyPlaylist[0].toLowerCase()+t,{fileName:"source/PlayState.hx",lineNumber:2024,className:"PlayState",methodName:"endSong"}),"eggnog"==PlayState.SONG.song.toLowerCase()){var i=new flixel_FlxSprite(-flixel_FlxG.width*flixel_FlxG.camera.zoom,-flixel_FlxG.height*flixel_FlxG.camera.zoom).makeGraphic(3*flixel_FlxG.width,3*flixel_FlxG.height,-16777216);i.scrollFactor.set(),this.add(i),this.camHUD.set_visible(!1),flixel_FlxG.sound.play(Paths.sound("Lights_Shut_off"))}flixel_addons_transition_FlxTransitionableState.skipNextTransIn=!0,flixel_addons_transition_FlxTransitionableState.skipNextTransOut=!0,PlayState.prevCamFollow=this.camFollow,PlayState.SONG=Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase()+t,PlayState.storyPlaylist[0]);var l=flixel_FlxG.sound.music;l.cleanup(l.autoDestroy,!0);n=LoadingState.getNextState(new PlayState,!1);flixel_FlxG.game._state.switchTo(n)&&(flixel_FlxG.game._requestedState=n)}else{haxe_Log.trace("WENT BACK TO FREEPLAY??",{fileName:"source/PlayState.hx",lineNumber:2049,className:"PlayState",methodName:"endSong"});var n=new FreeplayState;flixel_FlxG.game._state.switchTo(n)&&(flixel_FlxG.game._requestedState=n)}},endingSong:null,timeShown:null,currentTimingShown:null,popUpScore:function(e){var t=this,i=Math.abs(e-Conductor.songPosition),l=EtternaFunctions.wife3(i,flixel_FlxG.save.data.etternaMode?1:1.7);this.vocals.set_volume(1);var n=Std.string(this.combo),s=new flixel_text_FlxText(0,0,0,n,32);s.screenCenter(),s.set_x(.55*flixel_FlxG.width),(f=s).set_y(f.y-350),s.set_cameras([this.camHUD]);var a=new flixel_FlxSprite,r=350,_="sick";if(this.totalNotesHit+=l,i>2*Conductor.safeZoneOffset?(_="shit",this.ss=!1,PlayState.theFunne&&(r=-3e3,this.combo=0,PlayState.misses++,this.health-=.2),PlayState.shits++):i<-2*Conductor.safeZoneOffset?(_="shit",PlayState.theFunne&&(r=-3e3,this.combo=0,PlayState.misses++,this.health-=.2),this.ss=!1,PlayState.shits++):i<-.45*Conductor.safeZoneOffset?(_="bad",PlayState.theFunne?(r=-1e3,this.health-=.03,PlayState.misses++,this.combo=0):r=100,this.ss=!1,PlayState.bads++):i>.45*Conductor.safeZoneOffset?(_="bad",PlayState.theFunne?(r=-1e3,this.health-=.03,this.combo=0,PlayState.misses++):r=100,this.ss=!1,PlayState.bads++):i<-.25*Conductor.safeZoneOffset?(_="good",r=(PlayState.theFunne,200),this.ss=!1,PlayState.goods++):i>.35*Conductor.safeZoneOffset&&(_="good",r=(PlayState.theFunne,200),this.ss=!1,PlayState.goods++),"sick"==_&&(this.health<2&&(this.health+=.1),PlayState.sicks++),flixel_FlxG.save.data.etternaMode&&(this.etternaModeScore+=Math.round(r/l)),"shit"!=_||"bad"!=_){this.songScore+=Math.round(r);var o="",h="";StringTools.startsWith(PlayState.curStage,"school")&&(o="weeb/pixelUI/",h="-pixel"),a.loadGraphic(Paths.getPath("images/"+(o+_+h)+".png","IMAGE",null)),a.screenCenter(),(f=a).set_y(f.y-50),a.set_x(s.x-125),a.acceleration.set_y(550),(f=a.velocity).set_y(f.y-flixel_FlxG.random.int(140,175)),(f=a.velocity).set_x(f.x-flixel_FlxG.random.int(0,10));var u=this.truncateFloat(i,3);switch(null!=this.currentTimingShown&&this.remove(this.currentTimingShown),this.currentTimingShown=new flixel_text_FlxText(0,0,0,"0ms"),this.timeShown=0,_){case"good":this.currentTimingShown.set_color(-16744448);break;case"bad":case"shit":this.currentTimingShown.set_color(-65536);break;case"sick":this.currentTimingShown.set_color(-16711681)}this.currentTimingShown.set_borderStyle(flixel_text_FlxTextBorderStyle.OUTLINE),this.currentTimingShown.set_borderSize(1),this.currentTimingShown.set_borderColor(-16777216),this.currentTimingShown.set_text(u+"ms"),this.currentTimingShown.set_size(20),1!=this.currentTimingShown.alpha&&this.currentTimingShown.set_alpha(1),this.add(this.currentTimingShown);var d=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/"+o+"combo"+h+".png","IMAGE",null));d.screenCenter(),d.set_x(a.x),d.set_y(a.y+100),d.acceleration.set_y(600),(f=d.velocity).set_y(f.y-150),this.currentTimingShown.screenCenter(),this.currentTimingShown.set_x(d.x+100),this.currentTimingShown.set_y(a.y+100),this.currentTimingShown.acceleration.set_y(600),(f=this.currentTimingShown.velocity).set_y(f.y-150),(f=d.velocity).set_x(f.x+flixel_FlxG.random.int(1,10)),(f=this.currentTimingShown.velocity).set_x(f.x+d.velocity.x),this.add(a),StringTools.startsWith(PlayState.curStage,"school")?(a.setGraphicSize(a.get_width()*PlayState.daPixelZoom*.7|0),d.setGraphicSize(d.get_width()*PlayState.daPixelZoom*.7|0)):(a.setGraphicSize(.7*a.get_width()|0),a.set_antialiasing(!0),d.setGraphicSize(.7*d.get_width()|0),d.set_antialiasing(!0)),this.currentTimingShown.updateHitbox(),d.updateHitbox(),a.updateHitbox(),this.currentTimingShown.set_cameras([this.camHUD]),d.set_cameras([this.camHUD]),a.set_cameras([this.camHUD]);var c=[],p=(this.combo+"").split("");2==p.length&&c.push(0);for(var f=0,m=p.length;f<m;){var x=p[F=f++];c.push(Std.parseInt(x))}for(var g=0,f=0;f<c.length;){var F=c[f];++f;var y=[(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/"+o+"num"+(0|F)+h+".png","IMAGE",null))];y[0].screenCenter(),y[0].set_x(a.x+43*g-50),y[0].set_y(a.y+100),y[0].set_cameras([this.camHUD]),StringTools.startsWith(PlayState.curStage,"school")?y[0].setGraphicSize(y[0].get_width()*PlayState.daPixelZoom|0):(y[0].set_antialiasing(!0),y[0].setGraphicSize(.5*y[0].get_width()|0)),y[0].updateHitbox(),y[0].acceleration.set_y(flixel_FlxG.random.int(200,300)),(m=y[0].velocity).set_y(m.y-flixel_FlxG.random.int(140,160)),y[0].velocity.set_x(flixel_FlxG.random.float(-5,5)),(this.combo>=10||0==this.combo)&&this.add(y[0]),flixel_tweens_FlxTween.tween(y[0],{alpha:0},.2,{onComplete:function(e){return function(t){e[0].destroy()}}(y),startDelay:.002*Conductor.crochet}),++g}s.set_text(Std.string(c)),flixel_tweens_FlxTween.tween(a,{alpha:0},.2,{startDelay:.001*Conductor.crochet,onUpdate:function(e){if(null!=t.currentTimingShown){var i=t.currentTimingShown;i.set_alpha(i.alpha-.02)}t.timeShown++}}),flixel_tweens_FlxTween.tween(d,{alpha:0},.2,{onComplete:function(e){s.destroy(),d.destroy(),null!=t.currentTimingShown&&t.timeShown>=20&&(t.remove(t.currentTimingShown),t.currentTimingShown=null),a.destroy()},startDelay:.001*Conductor.crochet}),this.curSection+=1}},NearlyEquals:function(e,t,i){return null==i&&(i=10),Math.abs(flixel_math_FlxMath.roundDecimal(e,1)-flixel_math_FlxMath.roundDecimal(t,1))<i},upHold:null,downHold:null,rightHold:null,leftHold:null,keyShit:function(){var e=this,t=PlayerSettings.player1.controls._up.check(),i=PlayerSettings.player1.controls._right.check(),l=PlayerSettings.player1.controls._down.check(),n=PlayerSettings.player1.controls._left.check(),s=PlayerSettings.player1.controls._upP.check(),a=PlayerSettings.player1.controls._rightP.check(),r=PlayerSettings.player1.controls._downP.check(),_=PlayerSettings.player1.controls._leftP.check(),o=PlayerSettings.player1.controls._upR.check(),h=PlayerSettings.player1.controls._rightR.check(),u=PlayerSettings.player1.controls._downR.check(),d=PlayerSettings.player1.controls._leftR.check();PlayState.loadRep?(t=!1,l=!1,i=!1,n=!1,PlayState.repPresses<PlayState.rep.replay.keyPresses.length&&PlayState.repReleases<PlayState.rep.replay.keyReleases.length&&(s=PlayState.rep.replay.keyPresses[PlayState.repPresses].time+1<=Conductor.songPosition&&"up"==PlayState.rep.replay.keyPresses[PlayState.repPresses].key,a=PlayState.rep.replay.keyPresses[PlayState.repPresses].time+1<=Conductor.songPosition&&"right"==PlayState.rep.replay.keyPresses[PlayState.repPresses].key,r=PlayState.rep.replay.keyPresses[PlayState.repPresses].time+1<=Conductor.songPosition&&"down"==PlayState.rep.replay.keyPresses[PlayState.repPresses].key,_=PlayState.rep.replay.keyPresses[PlayState.repPresses].time+1<=Conductor.songPosition&&"left"==PlayState.rep.replay.keyPresses[PlayState.repPresses].key,o=PlayState.rep.replay.keyPresses[PlayState.repReleases].time-1<=Conductor.songPosition&&"up"==PlayState.rep.replay.keyReleases[PlayState.repReleases].key,h=PlayState.rep.replay.keyPresses[PlayState.repReleases].time-1<=Conductor.songPosition&&"right"==PlayState.rep.replay.keyReleases[PlayState.repReleases].key,u=PlayState.rep.replay.keyPresses[PlayState.repReleases].time-1<=Conductor.songPosition&&"down"==PlayState.rep.replay.keyReleases[PlayState.repReleases].key,d=PlayState.rep.replay.keyPresses[PlayState.repReleases].time-1<=Conductor.songPosition&&"left"==PlayState.rep.replay.keyReleases[PlayState.repReleases].key,this.upHold=!!s||!o,this.rightHold=!!a||!h,this.downHold=!!r||!u,this.leftHold=!!_||!d)):PlayState.loadRep||(s&&PlayState.rep.replay.keyPresses.push({time:Conductor.songPosition,key:"up"}),a&&PlayState.rep.replay.keyPresses.push({time:Conductor.songPosition,key:"right"}),r&&PlayState.rep.replay.keyPresses.push({time:Conductor.songPosition,key:"down"}),_&&PlayState.rep.replay.keyPresses.push({time:Conductor.songPosition,key:"left"}),o&&PlayState.rep.replay.keyReleases.push({time:Conductor.songPosition,key:"up"}),h&&PlayState.rep.replay.keyReleases.push({time:Conductor.songPosition,key:"right"}),u&&PlayState.rep.replay.keyReleases.push({time:Conductor.songPosition,key:"down"}),d&&PlayState.rep.replay.keyReleases.push({time:Conductor.songPosition,key:"left"}));var c=[_,r,s,a];if((s||a||r||_)&&!this.boyfriend.stunned&&this.generatedMusic){PlayState.repPresses++,this.boyfriend.holdTimer=0;var p=[],f=[];if(this.notes.forEachAlive(function(e){e.canBeHit&&e.mustPress&&!e.tooLate&&(p.push(e),p.sort(function(e,t){return e.strumTime-t.strumTime|0}),f.push(e.noteData))}),p.length>0){var m=p[0];if(p.length>=2)if(p[0].strumTime==p[1].strumTime)for(y=0;y<p.length;){S=p[y];if(++y,c[S.noteData])this.goodNoteHit(S);else for(var x=0,g=f.length;x<g;){var F=x++;c[f[F]]&&!0}}else if(p[0].noteData==p[1].noteData)PlayState.loadRep&&this.NearlyEquals(m.strumTime,PlayState.rep.replay.keyPresses[PlayState.repPresses].time,30)?(this.goodNoteHit(m),haxe_Log.trace("force note hit",{fileName:"source/PlayState.hx",lineNumber:2501,className:"PlayState",methodName:"keyShit"})):this.noteCheck(c,m);else for(var y=0;y<p.length;){var S=p[y];++y,PlayState.loadRep?this.NearlyEquals(S.strumTime,PlayState.rep.replay.keyPresses[PlayState.repPresses].time,30)?(this.goodNoteHit(S),haxe_Log.trace("force note hit",{fileName:"source/PlayState.hx",lineNumber:2518,className:"PlayState",methodName:"keyShit"})):this.noteCheck(c,m):this.noteCheck(c,S)}else PlayState.loadRep&&this.NearlyEquals(m.strumTime,PlayState.rep.replay.keyPresses[PlayState.repPresses].time,30)?(this.goodNoteHit(m),haxe_Log.trace("force note hit",{fileName:"source/PlayState.hx",lineNumber:2535,className:"PlayState",methodName:"keyShit"})):this.noteCheck(c,m);m.wasGoodHit&&(m.kill(),this.notes.remove(m,!0),m.destroy())}}((t||i||l||n)&&this.generatedMusic||(this.upHold||this.downHold||this.leftHold||this.rightHold)&&PlayState.loadRep&&this.generatedMusic)&&this.notes.forEachAlive(function(s){if(s.canBeHit&&s.mustPress&&s.isSustainNote)switch(s.noteData){case 0:(n||e.leftHold)&&e.goodNoteHit(s);break;case 1:(l||e.downHold)&&e.goodNoteHit(s);break;case 2:(t||e.upHold)&&e.goodNoteHit(s);break;case 3:(i||e.rightHold)&&e.goodNoteHit(s)}}),!(this.boyfriend.holdTimer>4*Conductor.stepCrochet*.001)||t||l||i||n||StringTools.startsWith(this.boyfriend.animation._curAnim.name,"sing")&&!StringTools.endsWith(this.boyfriend.animation._curAnim.name,"miss")&&this.boyfriend.playAnim("idle"),this.playerStrums.forEach(function(e){switch(e.ID){case 0:PlayState.loadRep||(_&&"confirm"!=e.animation._curAnim.name&&!PlayState.loadRep&&e.animation.play("pressed"),d&&(e.animation.play("static"),PlayState.repReleases++));break;case 1:PlayState.loadRep||(r&&"confirm"!=e.animation._curAnim.name&&!PlayState.loadRep&&e.animation.play("pressed"),u&&(e.animation.play("static"),PlayState.repReleases++));break;case 2:PlayState.loadRep||(s&&"confirm"!=e.animation._curAnim.name&&!PlayState.loadRep&&(e.animation.play("pressed"),haxe_Log.trace("play",{fileName:"source/PlayState.hx",lineNumber:2630,className:"PlayState",methodName:"keyShit"})),o&&(e.animation.play("static"),PlayState.repReleases++));break;case 3:PlayState.loadRep||(a&&"confirm"!=e.animation._curAnim.name&&!PlayState.loadRep&&e.animation.play("pressed"),h&&(e.animation.play("static"),PlayState.repReleases++))}if("confirm"!=e.animation._curAnim.name||StringTools.startsWith(PlayState.curStage,"school"))e.centerOffsets();else{e.centerOffsets();var t=e.offset;t.set_x(t.x-13),(t=e.offset).set_y(t.y-13)}})},noteMiss:function(e,t){if(null==e&&(e=1),!this.boyfriend.stunned){this.health-=.04,this.combo>5&&Object.prototype.hasOwnProperty.call(this.gf.animOffsets.h,"sad")&&this.gf.playAnim("sad"),this.combo=0,PlayState.misses++;var i=Math.abs(t.strumTime-Conductor.songPosition),l=EtternaFunctions.wife3(i,flixel_FlxG.save.data.etternaMode?1:1.7);switch(this.totalNotesHit+=l,this.songScore-=10,flixel_FlxG.sound.play(Paths.sound("missnote"+flixel_FlxG.random.int(1,3),null),flixel_FlxG.random.float(.1,.2)),e){case 0:this.boyfriend.playAnim("singLEFTmiss",!0);break;case 1:this.boyfriend.playAnim("singDOWNmiss",!0);break;case 2:this.boyfriend.playAnim("singUPmiss",!0);break;case 3:this.boyfriend.playAnim("singRIGHTmiss",!0)}this.updateAccuracy()}},updateAccuracy:function(){PlayState.misses>0||this.accuracy<96?this.fc=!1:this.fc=!0,this.totalPlayed+=1,this.accuracy=Math.max(0,this.totalNotesHit/this.totalPlayed*100)},getKeyPresses:function(e){var t=[];return this.notes.forEachAlive(function(e){e.canBeHit&&e.mustPress&&!e.tooLate&&(t.push(e),t.sort(function(e,t){return e.strumTime-t.strumTime|0}))}),1==t.length?t.length+1:t.length},mashing:null,mashViolations:null,etternaModeScore:null,noteCheck:function(e,t){if(PlayState.loadRep)e[t.noteData]?this.goodNoteHit(t):PlayState.rep.replay.keyPresses.length>PlayState.repPresses&&!e[t.noteData]&&this.NearlyEquals(t.strumTime,PlayState.rep.replay.keyPresses[PlayState.repPresses].time,4)&&this.goodNoteHit(t);else if(e[t.noteData]){for(var i=0;i<e.length;){var l=e[i];++i,l&&this.mashing++}this.mashing<=this.getKeyPresses(t)&&this.mashViolations<2?(this.mashViolations++,this.goodNoteHit(t,this.mashing<=this.getKeyPresses(t))):(this.playerStrums.members[t.noteData].animation.play("static"),haxe_Log.trace("mash "+this.mashing,{fileName:"source/PlayState.hx",lineNumber:2843,className:"PlayState",methodName:"noteCheck"})),0!=this.mashing&&(this.mashing=0)}},goodNoteHit:function(e,t){if(null==t&&(t=!0),t&&this.mashViolations--,!e.wasGoodHit){switch(e.isSustainNote?this.totalNotesHit+=1:(this.popUpScore(e.strumTime),this.combo+=1),e.noteData){case 0:this.boyfriend.playAnim("singLEFT",!0);break;case 1:this.boyfriend.playAnim("singDOWN",!0);break;case 2:this.boyfriend.playAnim("singUP",!0);break;case 3:this.boyfriend.playAnim("singRIGHT",!0)}PlayState.loadRep||this.playerStrums.forEach(function(t){Math.abs(e.noteData)==t.ID&&t.animation.play("confirm",!0)}),e.wasGoodHit=!0,this.vocals.set_volume(1),e.kill(),this.notes.remove(e,!0),e.destroy(),this.updateAccuracy()}},fastCarCanDrive:null,resetFastCar:function(){this.fastCar.set_x(-12600),this.fastCar.set_y(flixel_FlxG.random.int(140,250)),this.fastCar.velocity.set_x(0),this.fastCarCanDrive=!0},fastCarDrive:function(){var e=this;flixel_FlxG.sound.play(Paths.sound("carPass"+flixel_FlxG.random.int(0,1),null),.7),this.fastCar.velocity.set_x(flixel_FlxG.random.int(170,220)/flixel_FlxG.elapsed*3),this.fastCarCanDrive=!1,(new flixel_util_FlxTimer).start(2,function(t){e.resetFastCar()})},trainMoving:null,trainFrameTiming:null,trainCars:null,trainFinishing:null,trainCooldown:null,trainStart:function(){this.trainMoving=!0,null==this.trainSound._channel&&this.trainSound.play(!0)},startedMoving:null,updateTrainPos:function(){if(this.trainSound._time>=4700&&(this.startedMoving=!0,this.gf.playAnim("hairBlow")),this.startedMoving){var e=this.phillyTrain;e.set_x(e.x-400),this.phillyTrain.x<-2e3&&!this.trainFinishing&&(this.phillyTrain.set_x(-1150),this.trainCars-=1,this.trainCars<=0&&(this.trainFinishing=!0)),this.phillyTrain.x<-4e3&&this.trainFinishing&&this.trainReset()}},trainReset:function(){this.gf.playAnim("hairFall"),this.phillyTrain.set_x(flixel_FlxG.width+200),this.trainMoving=!1,this.trainCars=8,this.trainFinishing=!1,this.startedMoving=!1},lightningStrikeShit:function(){flixel_FlxG.sound.play(Paths.sound("thunder_"+flixel_FlxG.random.int(1,2),null)),this.halloweenBG.animation.play("lightning"),this.lightningStrikeBeat=this.curBeat,this.lightningOffset=flixel_FlxG.random.int(8,24),this.boyfriend.playAnim("scared",!0),this.gf.playAnim("scared",!0)},stepHit:function(){MusicBeatState.prototype.stepHit.call(this),(flixel_FlxG.sound.music._time>Conductor.songPosition+20||flixel_FlxG.sound.music._time<Conductor.songPosition-20)&&this.resyncVocals();"spooky"==this.dad.curCharacter&&this.curStep},lightningStrikeBeat:null,lightningOffset:null,beatHit:function(){if(MusicBeatState.prototype.beatHit.call(this),this.generatedMusic){var e=1;null==e&&(e=-1);var t=flixel_util_FlxSort.byY,i=e,l=function(e,l){return t(i,e,l)};this.notes.members.sort(l)}if(null!=PlayState.SONG.notes[Math.floor(this.curStep/16)]&&(PlayState.SONG.notes[Math.floor(this.curStep/16)].changeBPM&&Conductor.changeBPM(PlayState.SONG.notes[Math.floor(this.curStep/16)].bpm),PlayState.SONG.notes[Math.floor(this.curStep/16)].mustHitSection&&this.dad.dance()),this.wiggleShit.update(Conductor.crochet),"milf"==this.curSong.toLowerCase()&&this.curBeat>=168&&this.curBeat<200&&this.camZooming&&flixel_FlxG.camera.zoom<1.35&&((n=flixel_FlxG.camera).set_zoom(n.zoom+.015),(n=this.camHUD).set_zoom(n.zoom+.03)),this.camZooming&&flixel_FlxG.camera.zoom<1.35&&this.curBeat%4==0){var n=flixel_FlxG.camera;n.set_zoom(n.zoom+.015),(n=this.camHUD).set_zoom(n.zoom+.03)}switch(this.iconP1.setGraphicSize(this.iconP1.get_width()+30|0),this.iconP2.setGraphicSize(this.iconP2.get_width()+30|0),this.iconP1.updateHitbox(),this.iconP2.updateHitbox(),this.curBeat%this.gfSpeed==0&&this.gf.dance(),StringTools.startsWith(this.boyfriend.animation._curAnim.name,"sing")||this.boyfriend.playAnim("idle"),this.curBeat%8==7&&"Bopeebo"==this.curSong&&(this.boyfriend.playAnim("hey",!0),"Tutorial"==PlayState.SONG.song&&"gf"==this.dad.curCharacter&&this.dad.playAnim("cheer",!0)),PlayState.curStage){case"limo":this.grpLimoDancers.forEach(function(e){e.dance()}),null==(s=10)&&(s=50),flixel_FlxG.random.float(0,100)<s&&this.fastCarCanDrive&&this.fastCarDrive();break;case"mall":this.upperBoppers.animation.play("bop",!0),this.bottomBoppers.animation.play("bop",!0),this.santa.animation.play("idle",!0);break;case"philly":this.trainMoving||(this.trainCooldown+=1),this.curBeat%4==0&&(this.phillyCityLights.forEach(function(e){e.set_visible(!1)}),this.curLight=flixel_FlxG.random.int(0,this.phillyCityLights.length-1),this.phillyCityLights.members[this.curLight].set_visible(!0));this.curBeat%8==4?(null==(s=30)&&(s=50),l=flixel_FlxG.random.float(0,100)<s):l=!1,l&&!this.trainMoving&&this.trainCooldown>8&&(this.trainCooldown=flixel_FlxG.random.int(-4,0),this.trainStart());break;case"school":this.bgGirls.dance()}if(this.isHalloween){var s=10;null==s&&(s=50),l=flixel_FlxG.random.float(0,100)<s}else l=!1;l&&this.curBeat>this.lightningStrikeBeat+this.lightningOffset&&this.lightningStrikeShit()},curLight:null,__class__:PlayState});var PlayerSettings=function(e,t){this.id=e,this.controls=new Controls("player"+e,t)};$hxClasses.PlayerSettings=PlayerSettings,PlayerSettings.__name__="PlayerSettings",PlayerSettings.player1=null,PlayerSettings.player2=null,PlayerSettings.init=function(){null==PlayerSettings.player1&&(PlayerSettings.player1=new PlayerSettings(0,KeyboardScheme.Solo),++PlayerSettings.numPlayers);var e=flixel_FlxG.gamepads.get_numActiveGamepads();if(e>0){if(null==(t=flixel_FlxG.gamepads._activeGamepads[0]))throw haxe_Exception.thrown("Unexpected null gamepad. id:0");PlayerSettings.player1.controls.addDefaultGamepad(0)}if(e>1){null==PlayerSettings.player2&&(PlayerSettings.player2=new PlayerSettings(1,KeyboardScheme.None),++PlayerSettings.numPlayers);var t=flixel_FlxG.gamepads._activeGamepads[1];if(null==t)throw haxe_Exception.thrown("Unexpected null gamepad. id:0");PlayerSettings.player2.controls.addDefaultGamepad(1)}},PlayerSettings.reset=function(){PlayerSettings.player1=null,PlayerSettings.player2=null,PlayerSettings.numPlayers=0},PlayerSettings.prototype={id:null,controls:null,setKeyboardScheme:function(e){this.controls.setKeyboardScheme(e)},__class__:PlayerSettings};var Reflect=function(){};$hxClasses.Reflect=Reflect,Reflect.__name__="Reflect",Reflect.field=function(e,t){try{return e[t]}catch(e){return haxe_NativeStackTrace.lastError=e,null}},Reflect.getProperty=function(e,t){var i;if(null==e)return null;var l;return l=!!e.__properties__&&(i=e.__properties__["get_"+t]),l?e[i]():e[t]},Reflect.setProperty=function(e,t,i){var l;!!e.__properties__&&(l=e.__properties__["set_"+t])?e[l](i):e[t]=i},Reflect.fields=function(e){var t=[];if(null!=e){var i=Object.prototype.hasOwnProperty;for(var l in e)"__id__"!=l&&"hx__closures__"!=l&&i.call(e,l)&&t.push(l)}return t},Reflect.isFunction=function(e){return"function"==typeof e&&!(e.__name__||e.__ename__)},Reflect.compare=function(e,t){return e==t?0:e>t?1:-1},Reflect.compareMethods=function(e,t){return e==t||!(!Reflect.isFunction(e)||!Reflect.isFunction(t))&&(e.scope==t.scope&&e.method==t.method&&null!=e.method)},Reflect.isObject=function(e){if(null==e)return!1;var t=typeof e;return"string"==t||"object"==t&&null==e.__enum__||"function"==t&&null!=(e.__name__||e.__ename__)},Reflect.isEnumValue=function(e){return null!=e&&null!=e.__enum__},Reflect.deleteField=function(e,t){return!!Object.prototype.hasOwnProperty.call(e,t)&&(delete e[t],!0)},Reflect.makeVarArgs=function(e){return function(){var t=arguments,i=Array.prototype.slice.call(t);return e(i)}};var Replay=function(e){this.path="",this.path=e,this.replay={songName:"Tutorial",songDiff:1,keyPresses:[],keyReleases:[],replayGameVer:Replay.version,timestamp:new Date}};$hxClasses.Replay=Replay,Replay.__name__="Replay",Replay.LoadReplay=function(e){var t=new Replay(e);return t.LoadFromJSON(),haxe_Log.trace("basic replay data:\nSong Name: "+t.replay.songName+"\nSong Diff: "+t.replay.songDiff+"\nKeys Length: "+t.replay.keyPresses.length,{fileName:"source/Replay.hx",lineNumber:61,className:"Replay",methodName:"LoadReplay"}),t},Replay.prototype={path:null,replay:null,SaveReplay:function(){var e={songName:PlayState.SONG.song.toLowerCase(),songDiff:PlayState.storyDifficulty,keyPresses:this.replay.keyPresses,keyReleases:this.replay.keyReleases,timestamp:new Date,replayGameVer:Replay.version};JSON.stringify(e)},LoadFromJSON:function(){},__class__:Replay};var Section=function(e){null==e&&(e=16),this.mustHitSection=!0,this.typeOfSection=0,this.lengthInSteps=16,this.sectionNotes=[],this.lengthInSteps=e};$hxClasses.Section=Section,Section.__name__="Section",Section.prototype={sectionNotes:null,lengthInSteps:null,typeOfSection:null,mustHitSection:null,__class__:Section};var Song=function(e,t,i){this.player2="dad",this.player1="bf",this.speed=1,this.needsVoices=!0,this.song=e,this.notes=t,this.bpm=i};$hxClasses.Song=Song,Song.__name__="Song",Song.loadFromJson=function(e,t){for(var i=StringTools.trim(lime_utils_Assets.getText(Paths.getPath("data/"+t.toLowerCase()+"/"+e.toLowerCase()+".json","TEXT",null)));!StringTools.endsWith(i,"}");)i=HxOverrides.substr(i,0,i.length-1);return Song.parseJSONshit(i)},Song.parseJSONshit=function(e){var t=JSON.parse(e).song;return t.validScore=!0,t},Song.prototype={song:null,notes:null,bpm:null,needsVoices:null,speed:null,player1:null,player2:null,__class__:Song};var Std=function(){};$hxClasses.Std=Std,Std.__name__="Std",Std.string=function(e){return js_Boot.__string_rec(e,"")},Std.parseInt=function(e){if(null!=e)for(var t=0,i=e.length;t<i;){var l=t++,n=e.charCodeAt(l);if(n<=8||n>=14&&32!=n&&45!=n){var s=e.charCodeAt(l+1),a=parseInt(e,120==s||88==s?16:10);return isNaN(a)?null:a}}return null};var StoryMenuState=function(e,t){this.intendedScore=0,this.lerpScore=0,this.stopspamming=!1,this.selectedWeek=!1,this.movedBack=!1,this.curWeek=0,this.weekNames=["","Mid-Fight Masses"],this.weekCharacters=[["dad","bf","gf"],["sarvente","bf","gf"]],this.curDifficulty=1,this.weekData=[["Tutorial"],["Parish","Worship","Zavodila","Gospel"]],MusicBeatState.call(this,e,t)};$hxClasses.StoryMenuState=StoryMenuState,StoryMenuState.__name__="StoryMenuState",StoryMenuState.__super__=MusicBeatState,StoryMenuState.prototype=$extend(MusicBeatState.prototype,{scoreText:null,weekData:null,curDifficulty:null,weekCharacters:null,weekNames:null,txtWeekTitle:null,curWeek:null,txtTracklist:null,grpWeekText:null,grpWeekCharacters:null,grpLocks:null,difficultySelectors:null,sprDifficulty:null,leftArrow:null,rightArrow:null,create:function(){this.transIn=flixel_addons_transition_FlxTransitionableState.defaultTransIn,this.transOut=flixel_addons_transition_FlxTransitionableState.defaultTransOut,null!=flixel_FlxG.sound.music&&null==flixel_FlxG.sound.music._channel&&flixel_FlxG.sound.playMusic(Paths.getPath("music/freakyMenu.mp3","MUSIC",null)),this.persistentUpdate=this.persistentDraw=!0,this.scoreText=new flixel_text_FlxText(10,10,0,"SCORE: 49324858",36),this.scoreText.setFormat("VCR OSD Mono",32),this.txtWeekTitle=new flixel_text_FlxText(.7*flixel_FlxG.width,10,0,"",32),this.txtWeekTitle.setFormat("VCR OSD Mono",32,-1,"right"),this.txtWeekTitle.set_alpha(.7);var e=new flixel_text_FlxText(0,10);e.set_text("RANK: GREAT"),e.setFormat("assets/fonts/vcr.ttf",32),e.set_size(0|this.scoreText._defaultFormat.size),e.screenCenter(flixel_util_FlxAxes.X);var t=flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/campaign_menu_UI_assets.png","IMAGE",null),Paths.getPath("images/campaign_menu_UI_assets.xml","TEXT",null)),i=new flixel_FlxSprite(0,56).makeGraphic(flixel_FlxG.width,400,-405679);this.grpWeekText=new flixel_group_FlxTypedGroup,this.add(this.grpWeekText);var l=(new flixel_FlxSprite).makeGraphic(flixel_FlxG.width,56,-16777216);this.add(l),this.grpWeekCharacters=new flixel_group_FlxTypedGroup,this.grpLocks=new flixel_group_FlxTypedGroup,this.add(this.grpLocks),haxe_Log.trace("Line 70",{fileName:"source/StoryMenuState.hx",lineNumber:105,className:"StoryMenuState",methodName:"create"});for(var n=0,s=this.weekData.length;n<s;){var a=n++,r=new MenuItem(0,i.y+i.get_height()+10,a);if((u=r).set_y(u.y+(r.get_height()+20)*a),r.targetY=a,this.grpWeekText.add(r),r.screenCenter(flixel_util_FlxAxes.X),r.set_antialiasing(!0),!StoryMenuState.weekUnlocked[a]){var _=new flixel_FlxSprite(r.get_width()+10+r.x);_.set_frames(t),_.animation.addByPrefix("lock","lock"),_.animation.play("lock"),_.ID=a,_.set_antialiasing(!0),this.grpLocks.add(_)}}haxe_Log.trace("Line 96",{fileName:"source/StoryMenuState.hx",lineNumber:131,className:"StoryMenuState",methodName:"create"});for(n=0;n<3;){var o=n++,h=new MenuCharacter(.25*flixel_FlxG.width*(1+o)-150,this.weekCharacters[this.curWeek][o]);switch((s=h).set_y(s.y+70),h.set_antialiasing(!0),h.character){case"bf":h.setGraphicSize(.9*h.get_width()|0),h.updateHitbox();var u=h;u.set_x(u.x-80);break;case"dad":case"gf":h.setGraphicSize(.5*h.get_width()|0),h.updateHitbox();break;case"parents-christmas":h.setGraphicSize(.9*h.get_width()|0),h.updateHitbox();break;case"pico":h.set_flipX(!0)}this.grpWeekCharacters.add(h)}this.difficultySelectors=new flixel_group_FlxTypedGroup,this.add(this.difficultySelectors),haxe_Log.trace("Line 124",{fileName:"source/StoryMenuState.hx",lineNumber:164,className:"StoryMenuState",methodName:"create"}),this.leftArrow=new flixel_FlxSprite(this.grpWeekText.members[0].x+this.grpWeekText.members[0].get_width()+10,this.grpWeekText.members[0].y+10),this.leftArrow.set_frames(t),this.leftArrow.animation.addByPrefix("idle","arrow left"),this.leftArrow.animation.addByPrefix("press","arrow push left"),this.leftArrow.animation.play("idle"),this.difficultySelectors.add(this.leftArrow),this.sprDifficulty=new flixel_FlxSprite(this.leftArrow.x+130,this.leftArrow.y),this.sprDifficulty.set_frames(t),this.sprDifficulty.animation.addByPrefix("easy","EASY"),this.sprDifficulty.animation.addByPrefix("normal","NORMAL"),this.sprDifficulty.animation.addByPrefix("hard","HARD"),this.sprDifficulty.animation.play("easy"),this.changeDifficulty(),this.difficultySelectors.add(this.sprDifficulty),this.rightArrow=new flixel_FlxSprite(this.sprDifficulty.x+this.sprDifficulty.get_width()+50,this.leftArrow.y),this.rightArrow.set_frames(t),this.rightArrow.animation.addByPrefix("idle","arrow right"),this.rightArrow.animation.addByPrefix("press","arrow push right",24,!1),this.rightArrow.animation.play("idle"),this.difficultySelectors.add(this.rightArrow),haxe_Log.trace("Line 150",{fileName:"source/StoryMenuState.hx",lineNumber:190,className:"StoryMenuState",methodName:"create"}),this.add(i),this.add(this.grpWeekCharacters),this.txtTracklist=new flixel_text_FlxText(.05*flixel_FlxG.width,i.x+i.get_height()+100,0,"Tracks",32),this.txtTracklist.set_alignment("center"),this.txtTracklist.set_font(e._font),this.txtTracklist.set_color(-1747081),this.add(this.txtTracklist),this.add(this.scoreText),this.add(this.txtWeekTitle),this.updateText(),haxe_Log.trace("Line 165",{fileName:"source/StoryMenuState.hx",lineNumber:206,className:"StoryMenuState",methodName:"create"}),MusicBeatState.prototype.create.call(this)},update:function(e){var t=this,i=this.lerpScore;if(this.lerpScore=Math.floor(i+.5*(this.intendedScore-i)),this.scoreText.set_text("WEEK SCORE:"+this.lerpScore),this.txtWeekTitle.set_text(this.weekNames[this.curWeek].toUpperCase()),this.txtWeekTitle.set_x(flixel_FlxG.width-(this.txtWeekTitle.get_width()+10)),this.difficultySelectors.set_visible(StoryMenuState.weekUnlocked[this.curWeek]),this.grpLocks.forEach(function(e){e.set_y(t.grpWeekText.members[e.ID].y)}),this.movedBack||(this.selectedWeek||(PlayerSettings.player1.controls._upP.check()&&this.changeWeek(-1),PlayerSettings.player1.controls._downP.check()&&this.changeWeek(1),PlayerSettings.player1.controls._right.check()?this.rightArrow.animation.play("press"):this.rightArrow.animation.play("idle"),PlayerSettings.player1.controls._left.check()?this.leftArrow.animation.play("press"):this.leftArrow.animation.play("idle"),PlayerSettings.player1.controls._rightP.check()&&this.changeDifficulty(1),PlayerSettings.player1.controls._leftP.check()&&this.changeDifficulty(-1)),PlayerSettings.player1.controls._accept.check()&&this.selectWeek()),PlayerSettings.player1.controls._back.check()&&!this.movedBack&&!this.selectedWeek){flixel_FlxG.sound.play(Paths.sound("cancelMenu")),this.movedBack=!0;var l=new MainMenuState;flixel_FlxG.game._state.switchTo(l)&&(flixel_FlxG.game._requestedState=l)}MusicBeatState.prototype.update.call(this,e)},movedBack:null,selectedWeek:null,stopspamming:null,selectWeek:function(){if(StoryMenuState.weekUnlocked[this.curWeek]){0==this.stopspamming&&(flixel_FlxG.sound.play(Paths.sound("confirmMenu")),this.grpWeekText.members[this.curWeek].startFlashing(),this.grpWeekCharacters.members[1].animation.play("bfConfirm"),this.stopspamming=!0),PlayState.storyPlaylist=this.weekData[this.curWeek],PlayState.isStoryMode=!0,this.selectedWeek=!0;var e="";switch(this.curDifficulty){case 0:e="-easy";break;case 2:e="-hard"}PlayState.storyDifficulty=this.curDifficulty,PlayState.SONG=Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase()+e,PlayState.storyPlaylist[0].toLowerCase()),PlayState.storyWeek=this.curWeek,PlayState.campaignScore=0,(new flixel_util_FlxTimer).start(1,function(e){var t=new PlayState,i=!0;null==i&&(i=!1);var l=LoadingState.getNextState(t,i);flixel_FlxG.game._state.switchTo(l)&&(flixel_FlxG.game._requestedState=l)})}},changeDifficulty:function(e){switch(null==e&&(e=0),this.curDifficulty+=e,this.curDifficulty<0&&(this.curDifficulty=2),this.curDifficulty>2&&(this.curDifficulty=0),this.sprDifficulty.offset.set_x(0),this.curDifficulty){case 0:this.sprDifficulty.animation.play("easy"),this.sprDifficulty.offset.set_x(20);break;case 1:this.sprDifficulty.animation.play("normal"),this.sprDifficulty.offset.set_x(70);break;case 2:this.sprDifficulty.animation.play("hard"),this.sprDifficulty.offset.set_x(20)}this.sprDifficulty.set_alpha(0),this.sprDifficulty.set_y(this.leftArrow.y-15),this.intendedScore=Highscore.getWeekScore(this.curWeek,this.curDifficulty),this.intendedScore=Highscore.getWeekScore(this.curWeek,this.curDifficulty),flixel_tweens_FlxTween.tween(this.sprDifficulty,{y:this.leftArrow.y+15,alpha:1},.07)},lerpScore:null,intendedScore:null,changeWeek:function(e){null==e&&(e=0),this.curWeek+=e,this.curWeek>=this.weekData.length&&(this.curWeek=0),this.curWeek<0&&(this.curWeek=this.weekData.length-1);for(var t=0,i=0,l=this.grpWeekText.members;i<l.length;){var n=l[i];++i,n.targetY=t-this.curWeek,0==n.targetY&&StoryMenuState.weekUnlocked[this.curWeek]?n.set_alpha(1):n.set_alpha(.6),++t}flixel_FlxG.sound.play(Paths.sound("scrollMenu")),this.updateText()},updateText:function(){switch(this.grpWeekCharacters.members[0].animation.play(this.weekCharacters[this.curWeek][0]),this.grpWeekCharacters.members[1].animation.play(this.weekCharacters[this.curWeek][1]),this.grpWeekCharacters.members[2].animation.play(this.weekCharacters[this.curWeek][2]),this.txtTracklist.set_text("Tracks\n"),this.grpWeekCharacters.members[0].animation._curAnim.name){case"dad":this.grpWeekCharacters.members[0].offset.set(120,200),this.grpWeekCharacters.members[0].setGraphicSize(0|this.grpWeekCharacters.members[0].get_width());break;case"mom":this.grpWeekCharacters.members[0].offset.set(100,200),this.grpWeekCharacters.members[0].setGraphicSize(0|this.grpWeekCharacters.members[0].get_width());break;case"parents-christmas":this.grpWeekCharacters.members[0].offset.set(200,200),this.grpWeekCharacters.members[0].setGraphicSize(.99*this.grpWeekCharacters.members[0].get_width()|0);break;case"senpai":this.grpWeekCharacters.members[0].offset.set(130,0),this.grpWeekCharacters.members[0].setGraphicSize(1.4*this.grpWeekCharacters.members[0].get_width()|0);break;default:this.grpWeekCharacters.members[0].offset.set(100,100),this.grpWeekCharacters.members[0].setGraphicSize(0|this.grpWeekCharacters.members[0].get_width())}for(var e=this.weekData[this.curWeek],t=0;t<e.length;){var i=e[t];++t;var l=this.txtTracklist;l.set_text(l.text+"\n"+i)}this.txtTracklist.set_text(this.txtTracklist.text.toUpperCase()),this.txtTracklist.screenCenter(flixel_util_FlxAxes.X),(t=this.txtTracklist).set_x(t.x-.35*flixel_FlxG.width),this.intendedScore=Highscore.getWeekScore(this.curWeek,this.curDifficulty)},__class__:StoryMenuState});var _$String_String_$Impl_$=function(){};$hxClasses["_String.String_Impl_"]=_$String_String_$Impl_$,_$String_String_$Impl_$.__name__="_String.String_Impl_",_$String_String_$Impl_$.fromCharCode=function(e){return String.fromCodePoint(e)};var StringBuf=function(){this.b=""};$hxClasses.StringBuf=StringBuf,StringBuf.__name__="StringBuf",StringBuf.prototype={b:null,__class__:StringBuf};var StringTools=function(){};$hxClasses.StringTools=StringTools,StringTools.__name__="StringTools",StringTools.htmlEscape=function(e,t){for(var i="",l=0,n=e;l<n.length;){var s=l++,a=(e=n).charCodeAt(s);a>=55296&&a<=56319&&(a=a-55232<<10|1023&e.charCodeAt(s+1));var r=a;r>=65536&&++l;var _=r;switch(_){case 34:i+=t?"&quot;":String.fromCodePoint(_);break;case 38:i+="&amp;";break;case 39:i+=t?"&#039;":String.fromCodePoint(_);break;case 60:i+="&lt;";break;case 62:i+="&gt;";break;default:i+=String.fromCodePoint(_)}}return i},StringTools.startsWith=function(e,t){return e.length>=t.length&&0==e.lastIndexOf(t,0)},StringTools.endsWith=function(e,t){var i=t.length,l=e.length;return l>=i&&e.indexOf(t,l-i)==l-i},StringTools.isSpace=function(e,t){var i=HxOverrides.cca(e,t);return i>8&&i<14||32==i},StringTools.ltrim=function(e){for(var t=e.length,i=0;i<t&&StringTools.isSpace(e,i);)++i;return i>0?HxOverrides.substr(e,i,t-i):e},StringTools.rtrim=function(e){for(var t=e.length,i=0;i<t&&StringTools.isSpace(e,t-i-1);)++i;return i>0?HxOverrides.substr(e,0,t-i):e},StringTools.trim=function(e){return StringTools.ltrim(StringTools.rtrim(e))},StringTools.replace=function(e,t,i){return e.split(t).join(i)},StringTools.hex=function(e,t){for(var i="";;)if(i="0123456789ABCDEF".charAt(15&e)+i,!((e>>>=4)>0))break;if(null!=t)for(;i.length<t;)i="0"+i;return i};var TitleState=function(e,t){this.skippedIntro=!1,this.transitioning=!1,this.danceLeft=!1,this.curWacky=[],MusicBeatState.call(this,e,t)};$hxClasses.TitleState=TitleState,TitleState.__name__="TitleState",TitleState.__super__=MusicBeatState,TitleState.prototype=$extend(MusicBeatState.prototype,{blackScreen:null,credGroup:null,credTextShit:null,textGroup:null,ngSpr:null,curWacky:null,wackyImage:null,create:function(){var e=this;polymod_Polymod.init({modRoot:"mods",dirs:["introMod"]}),PlayerSettings.init(),this.curWacky=flixel_FlxG.random.getObject_Array_String(this.getIntroTextShit()),MusicBeatState.prototype.create.call(this),flixel_FlxG.save.bind("funkin","ninjamuffin99"),KadeEngineData.initSave(),Highscore.load(),null!=flixel_FlxG.save.data.weekUnlocked&&(StoryMenuState.weekUnlocked.length<4&&StoryMenuState.weekUnlocked.splice(0,0,!0),StoryMenuState.weekUnlocked[0]||(StoryMenuState.weekUnlocked[0]=!0)),(new flixel_util_FlxTimer).start(1,function(t){e.startIntro()})},logoBl:null,gfDance:null,danceLeft:null,titleText:null,startIntro:function(){if(!TitleState.initialized){var e=flixel_graphics_FlxGraphic.fromClass(flixel_addons_transition_GraphicTransTileDiamond);e.persist=!0,e.set_destroyOnNoUse(!1),flixel_addons_transition_FlxTransitionableState.defaultTransIn=new flixel_addons_transition_TransitionData("fade",-16777216,1,new flixel_math_FlxPoint(0,-1),{asset:e,width:32,height:32},new flixel_math_FlxRect(-200,-200,1.4*flixel_FlxG.width,1.4*flixel_FlxG.height)),flixel_addons_transition_FlxTransitionableState.defaultTransOut=new flixel_addons_transition_TransitionData("fade",-16777216,.7,new flixel_math_FlxPoint(0,1),{asset:e,width:32,height:32},new flixel_math_FlxRect(-200,-200,1.4*flixel_FlxG.width,1.4*flixel_FlxG.height)),this.transIn=flixel_addons_transition_FlxTransitionableState.defaultTransIn,this.transOut=flixel_addons_transition_FlxTransitionableState.defaultTransOut,flixel_FlxG.sound.playMusic(Paths.getPath("music/freakyMenu.mp3","MUSIC",null),0);var t=flixel_FlxG.sound.music,i=4,l=0,n=.7;null==n&&(n=1),null==l&&(l=0),null==i&&(i=1),null==t._channel&&t.play(),null!=t.fadeTween&&t.fadeTween.cancel(),t.fadeTween=flixel_tweens_FlxTween.num(l,n,i,{onComplete:null},$bind(t,t.volumeTween))}Conductor.changeBPM(102),this.persistentUpdate=!0;var s=(new flixel_FlxSprite).makeGraphic(flixel_FlxG.width,flixel_FlxG.height,-16777216);this.add(s),this.logoBl=new flixel_FlxSprite(-150,-100);a=null;this.logoBl.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/logoBumpin.png","IMAGE",a),Paths.getPath("images/logoBumpin.xml","TEXT",a))),this.logoBl.set_antialiasing(!0),this.logoBl.animation.addByPrefix("bump","logo bumpin",24),this.logoBl.animation.play("bump"),this.logoBl.updateHitbox(),this.gfDance=new flixel_FlxSprite(.4*flixel_FlxG.width,.07*flixel_FlxG.height);a=null;this.gfDance.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/gfDanceTitle.png","IMAGE",a),Paths.getPath("images/gfDanceTitle.xml","TEXT",a))),this.gfDance.animation.addByIndices("danceLeft","gfDance",[30,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"",24,!1),this.gfDance.animation.addByIndices("danceRight","gfDance",[15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"",24,!1),this.gfDance.set_antialiasing(!0),this.add(this.gfDance),this.add(this.logoBl),this.titleText=new flixel_FlxSprite(100,.8*flixel_FlxG.height);var a=null;this.titleText.set_frames(flixel_graphics_frames_FlxAtlasFrames.fromSparrow(Paths.getPath("images/titleEnter.png","IMAGE",a),Paths.getPath("images/titleEnter.xml","TEXT",a))),this.titleText.animation.addByPrefix("idle","Press Enter to Begin",24),this.titleText.animation.addByPrefix("press","ENTER PRESSED",24),this.titleText.set_antialiasing(!0),this.titleText.animation.play("idle"),this.titleText.updateHitbox(),this.add(this.titleText);var r=(new flixel_FlxSprite).loadGraphic(Paths.getPath("images/logo.png","IMAGE",null));r.screenCenter(),r.set_antialiasing(!0),this.credGroup=new flixel_group_FlxTypedGroup,this.add(this.credGroup),this.textGroup=new flixel_group_FlxTypedGroup,this.blackScreen=(new flixel_FlxSprite).makeGraphic(flixel_FlxG.width,flixel_FlxG.height,-16777216),this.credGroup.add(this.blackScreen),this.credTextShit=new Alphabet(0,0,"ninjamuffin99\nPhantomArcade\nkawaisprite\nevilsk8er",!0),this.credTextShit.screenCenter(),this.credTextShit.set_visible(!1),this.ngSpr=new flixel_FlxSprite(0,.52*flixel_FlxG.height).loadGraphic(Paths.getPath("images/newgrounds_logo.png","IMAGE",null)),this.add(this.ngSpr),this.ngSpr.set_visible(!1),this.ngSpr.setGraphicSize(.8*this.ngSpr.get_width()|0),this.ngSpr.updateHitbox(),this.ngSpr.screenCenter(flixel_util_FlxAxes.X),this.ngSpr.set_antialiasing(!0),flixel_tweens_FlxTween.tween(this.credTextShit,{y:this.credTextShit.y+20},2.9,{ease:flixel_tweens_FlxEase.quadInOut,type:4}),flixel_FlxG.mouse.set_visible(!1),TitleState.initialized?this.skipIntro():TitleState.initialized=!0},getIntroTextShit:function(){for(var e=openfl_utils_Assets.getText(Paths.getPath("data/introText.txt","TEXT",null)).split("\n"),t=[],i=0;i<e.length;){var l=e[i];++i,t.push(l.split("--"))}return t},transitioning:null,update:function(e){null!=flixel_FlxG.sound.music&&(Conductor.songPosition=flixel_FlxG.sound.music._time);var t=flixel_FlxG.keys.justPressed;t.keyManager.checkStatus(70,t.status)&&flixel_FlxG.set_fullscreen(!flixel_FlxG.get_fullscreen());var i=(t=flixel_FlxG.keys.justPressed).keyManager.checkStatus(13,t.status),l=flixel_FlxG.gamepads.lastActive;if(null!=l){var n=(t=l.justPressed).gamepad,s=t.status,a=n.mapping.getRawID(7),r=n.buttons[a];null!=r&&r.hasState(s)&&(i=!0)}if(i&&!this.transitioning&&this.skippedIntro){if(NGio.isLoggedIn&&((_=io_newgrounds_NG.core.medals.h[60960])._data.unlocked||_.sendUnlock()),5==(new Date).getDay()&&NGio.isLoggedIn){var _=io_newgrounds_NG.core.medals.h[61034];_._data.unlocked||_.sendUnlock()}this.titleText.animation.play("press"),flixel_FlxG.camera.flash(-1,1),flixel_FlxG.sound.play(Paths.sound("confirmMenu"),.7),this.transitioning=!0,(new flixel_util_FlxTimer).start(2,function(e){var t=new MainMenuState;flixel_FlxG.game._state.switchTo(t)&&(flixel_FlxG.game._requestedState=t)})}i&&!this.skippedIntro&&this.skipIntro(),MusicBeatState.prototype.update.call(this,e)},createCoolText:function(e){for(var t=0,i=e.length;t<i;){var l=t++,n=new Alphabet(0,0,e[l],!0,!1);n.screenCenter(flixel_util_FlxAxes.X);var s=n;s.set_y(s.y+(60*l+200)),this.credGroup.add(n),this.textGroup.add(n)}},addMoreText:function(e){var t=new Alphabet(0,0,e,!0,!1);t.screenCenter(flixel_util_FlxAxes.X);var i=t;i.set_y(i.y+(60*this.textGroup.length+200)),this.credGroup.add(t),this.textGroup.add(t)},deleteCoolText:function(){for(;this.textGroup.members.length>0;)this.credGroup.remove(this.textGroup.members[0],!0),this.textGroup.remove(this.textGroup.members[0],!0)},beatHit:function(){switch(MusicBeatState.prototype.beatHit.call(this),this.logoBl.animation.play("bump"),this.danceLeft=!this.danceLeft,this.danceLeft?this.gfDance.animation.play("danceRight"):this.gfDance.animation.play("danceLeft"),this.curBeat){case 1:this.createCoolText(["ninjamuffin99","phantomArcade","kawaisprite","evilsk8er"]);break;case 3:this.addMoreText("present");break;case 4:this.deleteCoolText();break;case 5:this.createCoolText(["Kade Engine","by"]);break;case 7:this.addMoreText("KadeDeveloper");break;case 8:this.deleteCoolText(),this.ngSpr.set_visible(!1);break;case 9:this.createCoolText([this.curWacky[0]]);break;case 11:this.addMoreText(this.curWacky[1]);break;case 12:this.deleteCoolText();break;case 13:this.addMoreText("Friday");break;case 14:this.addMoreText("Night");break;case 15:this.addMoreText("Funkin");break;case 16:this.skipIntro()}},skippedIntro:null,skipIntro:function(){this.skippedIntro||(this.remove(this.ngSpr),flixel_FlxG.camera.flash(-1,4),this.remove(this.credGroup),this.skippedIntro=!0)},__class__:TitleState});var ValueType=$hxEnums.ValueType={__ename__:"ValueType",__constructs__:["TNull","TInt","TFloat","TBool","TObject","TFunction","TClass","TEnum","TUnknown"],TNull:{_hx_index:0,__enum__:"ValueType",toString:$estr},TInt:{_hx_index:1,__enum__:"ValueType",toString:$estr},TFloat:{_hx_index:2,__enum__:"ValueType",toString:$estr},TBool:{_hx_index:3,__enum__:"ValueType",toString:$estr},TObject:{_hx_index:4,__enum__:"ValueType",toString:$estr},TFunction:{_hx_index:5,__enum__:"ValueType",toString:$estr},TClass:($_=function(e){return{_hx_index:6,c:e,__enum__:"ValueType",toString:$estr}},$_.__params__=["c"],$_),TEnum:($_=function(e){return{_hx_index:7,e:e,__enum__:"ValueType",toString:$estr}},$_.__params__=["e"],$_),TUnknown:{_hx_index:8,__enum__:"ValueType",toString:$estr}},Type=function(){};$hxClasses.Type=Type,Type.__name__="Type",Type.getEnum=function(e){return null==e?null:$hxEnums[e.__enum__]},Type.resolveEnum=function(e){return $hxEnums[e]},Type.createInstance=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(t)))},Type.createEnum=function(e,t,i){var l=Reflect.field(e,t);if(null==l)throw haxe_Exception.thrown("No such constructor "+t);if(Reflect.isFunction(l)){if(null==i)throw haxe_Exception.thrown("Constructor "+t+" need parameters");return l.apply(e,i)}if(null!=i&&0!=i.length)throw haxe_Exception.thrown("Constructor "+t+" does not need parameters");return l},Type.getInstanceFields=function(e){var t=[];for(var i in e.prototype)t.push(i);return HxOverrides.remove(t,"__class__"),HxOverrides.remove(t,"__properties__"),t},Type.getClassFields=function(e){var t=Reflect.fields(e);return HxOverrides.remove(t,"__name__"),HxOverrides.remove(t,"__interfaces__"),HxOverrides.remove(t,"__properties__"),HxOverrides.remove(t,"__super__"),HxOverrides.remove(t,"__meta__"),HxOverrides.remove(t,"prototype"),t},Type.typeof=function(e){switch(typeof e){case"boolean":return ValueType.TBool;case"function":return e.__name__||e.__ename__?ValueType.TObject:ValueType.TFunction;case"number":return Math.ceil(e)==e%2147483648?ValueType.TInt:ValueType.TFloat;case"object":if(null==e)return ValueType.TNull;var t=e.__enum__;if(null!=t)return ValueType.TEnum($hxEnums[t]);var i=js_Boot.getClass(e);return null!=i?ValueType.TClass(i):ValueType.TObject;case"string":return ValueType.TClass(String);case"undefined":return ValueType.TNull;default:return ValueType.TUnknown}},Type.enumEq=function(e,t){if(e==t)return!0;try{var i=e.__enum__;if(null==i||i!=t.__enum__)return!1;if(e._hx_index!=t._hx_index)return!1;for(var l=$hxEnums[i],n=l[l.__constructs__[e._hx_index]].__params__,s=0;s<n.length;){var a=n[s];if(++s,!Type.enumEq(e[a],t[a]))return!1}}catch(s){return haxe_NativeStackTrace.lastError=s,!1}return!0},Type.enumParameters=function(e){var t=$hxEnums[e.__enum__],i=t[t.__constructs__[e._hx_index]].__params__;if(null!=i){for(var l=[],n=0;n<i.length;){var s=i[n];++n,l.push(e[s])}return l}return[]};var UInt={};UInt.gt=function(e,t){var i=e<0;return i!=t<0?i:e>t},UInt.toFloat=function(e){var t=e;return t<0?4294967296+t:t+0};var UnicodeString={};UnicodeString.__properties__={get_length:"get_length"},UnicodeString.charCodeAt=function(e,t){if(t<0)return null;for(var i=0,l=0;l<e.length;){var n=l++,s=e.charCodeAt(n);s>=55296&&s<=56319&&(s=s-55232<<10|1023&e.charCodeAt(n+1));var a=s;if(i==t)return a;a>=65536&&++l,++i}return null},UnicodeString.substr=function(e,t,i){if(t<0&&(t=UnicodeString.get_length(e)+t)<0&&(t=0),null!=i&&(i<0&&(i=UnicodeString.get_length(e)+i),i<=0))return"";for(var l=0,n=0,s=-1,a=0;n<e.length;){var r=e.charCodeAt(n);r>=55296&&r<=56319&&(r=r-55232<<10|1023&e.charCodeAt(n+1));var _=r;if(l>=t){if(s<0){if(null==i)return HxOverrides.substr(e,n,null);s=n}if(++a>=i){var o=_<65536?n:n+1;return HxOverrides.substr(e,s,o-s+1)}}n+=_>=65536?2:1,++l}return s<0?"":HxOverrides.substr(e,s,null)},UnicodeString.get_length=function(e){for(var t=0,i=0,l=e;i<l.length;){var n=l,s=i++,a=n.charCodeAt(s);a>=55296&&a<=56319&&(a=a-55232<<10|1023&n.charCodeAt(s+1));var r=a;r>=65536&&++i;++t}return t};var WiggleEffectType=$hxEnums.WiggleEffectType={__ename__:"WiggleEffectType",__constructs__:["DREAMY","WAVY","HEAT_WAVE_HORIZONTAL","HEAT_WAVE_VERTICAL","FLAG"],DREAMY:{_hx_index:0,__enum__:"WiggleEffectType",toString:$estr},WAVY:{_hx_index:1,__enum__:"WiggleEffectType",toString:$estr},HEAT_WAVE_HORIZONTAL:{_hx_index:2,__enum__:"WiggleEffectType",toString:$estr},HEAT_WAVE_VERTICAL:{_hx_index:3,__enum__:"WiggleEffectType",toString:$estr},FLAG:{_hx_index:4,__enum__:"WiggleEffectType",toString:$estr}},WiggleEffect=function(){this.waveAmplitude=0,this.waveFrequency=0,this.waveSpeed=0,this.effectType=WiggleEffectType.DREAMY,this.shader=new WiggleShader,this.shader.uTime.value=[0]};$hxClasses.WiggleEffect=WiggleEffect,WiggleEffect.__name__="WiggleEffect",WiggleEffect.prototype={shader:null,effectType:null,waveSpeed:null,waveFrequency:null,waveAmplitude:null,update:function(e){this.shader.uTime.value[0]+=e},set_effectType:function(e){this.effectType=e;var t=WiggleEffectType.__constructs__.slice();return this.shader.effectType.value=[t.indexOf(Std.string(e))],e},set_waveSpeed:function(e){return this.waveSpeed=e,this.shader.uSpeed.value=[this.waveSpeed],e},set_waveFrequency:function(e){return this.waveFrequency=e,this.shader.uFrequency.value=[this.waveFrequency],e},set_waveAmplitude:function(e){return this.waveAmplitude=e,this.shader.uWaveAmplitude.value=[this.waveAmplitude],e},__class__:WiggleEffect,__properties__:{set_waveAmplitude:"set_waveAmplitude",set_waveFrequency:"set_waveFrequency",set_waveSpeed:"set_waveSpeed",set_effectType:"set_effectType"}};var openfl_display_Shader=function(e){this.byteCode=e,this.precisionHint=1,this.__glSourceDirty=!0,this.__numPasses=1,this.__data=openfl_display_ShaderData._new(e)};$hxClasses["openfl.display.Shader"]=openfl_display_Shader,openfl_display_Shader.__name__="openfl.display.Shader",openfl_display_Shader.prototype={byteCode:null,glProgram:null,precisionHint:null,program:null,__alpha:null,__bitmap:null,__colorMultiplier:null,__colorOffset:null,__context:null,__data:null,__glFragmentSource:null,__glSourceDirty:null,__glVertexSource:null,__hasColorTransform:null,__inputBitmapData:null,__isGenerated:null,__matrix:null,__numPasses:null,__paramBool:null,__paramFloat:null,__paramInt:null,__position:null,__textureCoord:null,__texture:null,__textureSize:null,__clearUseArray:function(){for(var e=0,t=this.__paramBool;e<t.length;){i=t[e];++e,i.__useArray=!1}for(var e=0,t=this.__paramFloat;e<t.length;){i=t[e];++e,i.__useArray=!1}for(var e=0,t=this.__paramInt;e<t.length;){var i=t[e];++e,i.__useArray=!1}},__createGLShader:function(e,t){var i=this.__context.gl,l=i.createShader(t);if(i.shaderSource(l,e),i.compileShader(l),0==i.getShaderParameter(l,i.COMPILE_STATUS)){var n=t==i.VERTEX_SHADER?"Error compiling vertex shader":"Error compiling fragment shader";n+="\n"+i.getShaderInfoLog(l),n+="\n"+e,lime_utils_Log.error(n,{fileName:"openfl/display/Shader.hx",lineNumber:329,className:"openfl.display.Shader",methodName:"__createGLShader"})}return l},__createGLProgram:function(e,t){for(var i=this.__context.gl,l=this.__createGLShader(e,i.VERTEX_SHADER),n=this.__createGLShader(t,i.FRAGMENT_SHADER),s=i.createProgram(),a=0,r=this.__paramFloat;a<r.length;){var _=r[a];if(++a,_.name.indexOf("Position")>-1&&StringTools.startsWith(_.name,"openfl_")){i.bindAttribLocation(s,0,_.name);break}}if(i.attachShader(s,l),i.attachShader(s,n),i.linkProgram(s),0==i.getProgramParameter(s,i.LINK_STATUS)){var o="Unable to initialize the shader program";o+="\n"+i.getProgramInfoLog(s),lime_utils_Log.error(o,{fileName:"openfl/display/Shader.hx",lineNumber:362,className:"openfl.display.Shader",methodName:"__createGLProgram"})}return s},__disable:function(){null!=this.program&&this.__disableGL()},__disableGL:function(){for(var e=this.__context.gl,t=0,i=0,l=this.__inputBitmapData;i<l.length;){var n=l[i];++i,n.__disableGL(this.__context,t),++t}for(var i=0,l=this.__paramBool;i<l.length;){s=l[i];++i,s.__disableGL(this.__context)}for(var i=0,l=this.__paramFloat;i<l.length;){s=l[i];++i,s.__disableGL(this.__context)}for(var i=0,l=this.__paramInt;i<l.length;){var s=l[i];++i,s.__disableGL(this.__context)}this.__context.__bindGLArrayBuffer(null),"opengl"==this.__context.__context.type&&e.disable(e.TEXTURE_2D)},__enable:function(){this.__init(),null!=this.program&&this.__enableGL()},__enableGL:function(){for(var e=0,t=this.__context.gl,i=0,l=this.__inputBitmapData;i<l.length;){var n=l[i];++i,t.uniform1i(n.index,e),++e}"opengl"==this.__context.__context.type&&e>0&&t.enable(t.TEXTURE_2D)},__init:function(){null==this.__data&&(this.__data=openfl_display_ShaderData._new(null)),null==this.__glFragmentSource||null==this.__glVertexSource||null!=this.program&&!this.__glSourceDirty||this.__initGL()},__initGL:function(){if((this.__glSourceDirty||null==this.__paramBool)&&(this.__glSourceDirty=!1,this.program=null,this.__inputBitmapData=[],this.__paramBool=[],this.__paramFloat=[],this.__paramInt=[],this.__processGLData(this.get_glVertexSource(),"attribute"),this.__processGLData(this.get_glVertexSource(),"uniform"),this.__processGLData(this.get_glFragmentSource(),"uniform")),null!=this.__context&&null==this.program){var e=this.__context.gl,t="#ifdef GL_ES\n\t\t\t\t"+(1==this.precisionHint?"#ifdef GL_FRAGMENT_PRECISION_HIGH\n\t\t\t\tprecision highp float;\n\t\t\t\t#else\n\t\t\t\tprecision mediump float;\n\t\t\t\t#endif":"precision lowp float;")+"\n\t\t\t\t#endif\n\t\t\t\t",i=t+this.get_glVertexSource(),l=t+this.get_glFragmentSource(),n=i+l;if(Object.prototype.hasOwnProperty.call(this.__context.__programs.h,n)?this.program=this.__context.__programs.h[n]:(this.program=this.__context.createProgram(1),this.program.__glProgram=this.__createGLProgram(i,l),this.__context.__programs.h[n]=this.program),null!=this.program){this.glProgram=this.program.__glProgram;for(var s=0,a=this.__inputBitmapData;s<a.length;){var r=a[s];++s,r.__isUniform?r.index=e.getUniformLocation(this.glProgram,r.name):r.index=e.getAttribLocation(this.glProgram,r.name)}for(var s=0,a=this.__paramBool;s<a.length;){_=a[s];++s,_.__isUniform?_.index=e.getUniformLocation(this.glProgram,_.name):_.index=e.getAttribLocation(this.glProgram,_.name)}for(var s=0,a=this.__paramFloat;s<a.length;){_=a[s];++s,_.__isUniform?_.index=e.getUniformLocation(this.glProgram,_.name):_.index=e.getAttribLocation(this.glProgram,_.name)}for(var s=0,a=this.__paramInt;s<a.length;){var _=a[s];++s,_.__isUniform?_.index=e.getUniformLocation(this.glProgram,_.name):_.index=e.getAttribLocation(this.glProgram,_.name)}}}},__processGLData:function(e,t){var i,l,n,s,a=0;for(l="uniform"==t?new EReg("uniform ([A-Za-z0-9]+) ([A-Za-z0-9_]+)",""):new EReg("attribute ([A-Za-z0-9]+) ([A-Za-z0-9_]+)","");l.matchSub(e,a);)if(s=l.matched(1),n=l.matched(2),!StringTools.startsWith(n,"gl_")){var r="uniform"==t;if(StringTools.startsWith(s,"sampler")){var _=new openfl_display_ShaderInput;switch(_.name=n,_.__isUniform=r,this.__inputBitmapData.push(_),n){case"bitmap":this.__bitmap=_;break;case"openfl_Texture":this.__texture=_}this.__data[n]=_,this.__isGenerated&&(this[n]=_)}else if(!Object.prototype.hasOwnProperty.call(this.__data,n)||null==Reflect.field(this.__data,n)){var o;switch(s){case"bool":o=0;break;case"bvec2":o=1;break;case"bvec3":o=2;break;case"bvec4":o=3;break;case"dvec2":case"vec2":o=5;break;case"dvec3":case"vec3":o=6;break;case"double":case"float":o=4;break;case"ivec3":case"uvec3":o=10;break;case"ivec4":case"uvec4":o=11;break;case"mat2":case"mat2x2":o=12;break;case"mat2x3":o=13;break;case"mat2x4":o=14;break;case"mat3x2":o=15;break;case"mat3":case"mat3x3":o=16;break;case"mat3x4":o=17;break;case"mat4":case"mat4x4":o=20;break;case"mat4x2":o=18;break;case"mat4x3":o=19;break;case"int":case"uint":o=8;break;case"ivec2":case"uvec2":o=9;break;case"dvec4":case"vec4":o=7;break;default:o=null}var h;switch(o){case 1:case 5:case 9:h=2;break;case 3:case 7:case 11:case 12:h=4;break;case 2:case 6:case 10:h=3;break;case 16:h=9;break;case 20:h=16;break;default:h=1}var u;switch(o){case 12:u=2;break;case 16:u=3;break;case 20:u=4;break;default:u=1}switch(o){case 0:case 1:case 2:case 3:var d=new openfl_display_ShaderParameter;d.set_name(n),d.type=o,d.__arrayLength=u,d.__isBool=!0,d.__isUniform=r,d.__length=h,this.__paramBool.push(d),"openfl_HasColorTransform"==n&&(this.__hasColorTransform=d),this.__data[n]=d,this.__isGenerated&&(this[n]=d);break;case 8:case 9:case 10:case 11:var c=new openfl_display_ShaderParameter;c.set_name(n),c.type=o,c.__arrayLength=u,c.__isInt=!0,c.__isUniform=r,c.__length=h,this.__paramInt.push(c),this.__data[n]=c,this.__isGenerated&&(this[n]=c);break;default:var p=new openfl_display_ShaderParameter;if(p.set_name(n),p.type=o,p.__arrayLength=u,u>0){var f,m=u*u;f=null!=m?new Float32Array(m):null,p.__uniformMatrix=f}if(p.__isFloat=!0,p.__isUniform=r,p.__length=h,this.__paramFloat.push(p),StringTools.startsWith(n,"openfl_"))switch(n){case"openfl_Alpha":this.__alpha=p;break;case"openfl_ColorMultiplier":this.__colorMultiplier=p;break;case"openfl_ColorOffset":this.__colorOffset=p;break;case"openfl_Matrix":this.__matrix=p;break;case"openfl_Position":this.__position=p;break;case"openfl_TextureCoord":this.__textureCoord=p;break;case"openfl_TextureSize":this.__textureSize=p}this.__data[n]=p,this.__isGenerated&&(this[n]=p)}}a=(i=l.matchedPos()).pos+i.len}},__update:function(){null!=this.program&&this.__updateGL()},__updateFromBuffer:function(e,t){null!=this.program&&this.__updateGLFromBuffer(e,t)},__updateGL:function(){for(var e=0,t=0,i=this.__inputBitmapData;t<i.length;){var l=i[t];++t,l.__updateGL(this.__context,e),++e}for(var t=0,i=this.__paramBool;t<i.length;){n=i[t];++t,n.__updateGL(this.__context)}for(var t=0,i=this.__paramFloat;t<i.length;){n=i[t];++t,n.__updateGL(this.__context)}for(var t=0,i=this.__paramInt;t<i.length;){var n=i[t];++t,n.__updateGL(this.__context)}},__updateGLFromBuffer:function(e,t){for(var i,l,n,s,a,r=0,_=0,o=e.inputCount;_<o;){var h=_++;i=e.inputRefs[h],l=e.inputs[h],n=e.inputFilter[h],s=e.inputMipFilter[h],a=e.inputWrap[h],null!=l&&(i.__updateGL(this.__context,r,l,n,s,a),++r)}var u=this.__context.gl;e.paramDataLength>0?(null==e.paramDataBuffer&&(e.paramDataBuffer=u.createBuffer()),this.__context.__bindGLArrayBuffer(e.paramDataBuffer),lime_graphics_WebGLRenderContext.bufferData(u,u.ARRAY_BUFFER,e.paramData,u.DYNAMIC_DRAW)):this.__context.__bindGLArrayBuffer(null);for(var d,c,p,f,m=0,x=0,g=0,F=e.paramBoolCount,y=e.paramFloatCount,S=e.paramData,b=null,U=null,v=null,_=0,o=e.paramCount;_<o;)if(f=!1,(h=_++)<F){d=e.paramRefs_Bool[m];for(var T=0,N=e.overrideBoolCount;T<N;){var D=T++;if(d.name==e.overrideBoolNames[D]){b=e.overrideBoolValues[D],f=!0;break}}f?d.__updateGL(this.__context,b):d.__updateGLFromBuffer(this.__context,S,e.paramPositions[h],e.paramLengths[h],t),++m}else if(h<F+y){c=e.paramRefs_Float[x];for(var Q=0,B=e.overrideFloatCount;Q<B;){var R=Q++;if(c.name==e.overrideFloatNames[R]){U=e.overrideFloatValues[R],f=!0;break}}f?c.__updateGL(this.__context,U):c.__updateGLFromBuffer(this.__context,S,e.paramPositions[h],e.paramLengths[h],t),++x}else{p=e.paramRefs_Int[g];for(var w=0,E=e.overrideIntCount;w<E;){var k=w++;if(p.name==e.overrideIntNames[k]){v=e.overrideIntValues[k],f=!0;break}}f?p.__updateGL(this.__context,v):p.__updateGLFromBuffer(this.__context,S,e.paramPositions[h],e.paramLengths[h],t),++g}},get_data:function(){return(this.__glSourceDirty||null==this.__data)&&this.__init(),this.__data},set_data:function(e){return this.__data=e},get_glFragmentSource:function(){return this.__glFragmentSource},set_glFragmentSource:function(e){return e!=this.__glFragmentSource&&(this.__glSourceDirty=!0),this.__glFragmentSource=e},get_glVertexSource:function(){return this.__glVertexSource},set_glVertexSource:function(e){return e!=this.__glVertexSource&&(this.__glSourceDirty=!0),this.__glVertexSource=e},__class__:openfl_display_Shader,__properties__:{set_glVertexSource:"set_glVertexSource",get_glVertexSource:"get_glVertexSource",set_glFragmentSource:"set_glFragmentSource",get_glFragmentSource:"get_glFragmentSource",set_data:"set_data",get_data:"get_data"}};var openfl_display_GraphicsShader=function(e){null==this.__glFragmentSource&&(this.__glFragmentSource="varying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\t\tuniform sampler2D bitmap;\n\n\t\tvoid main(void) {\n\n\t\t\tvec4 color = texture2D (bitmap, openfl_TextureCoordv);\n\n\t\tif (color.a == 0.0) {\n\n\t\t\tgl_FragColor = vec4 (0.0, 0.0, 0.0, 0.0);\n\n\t\t} else if (openfl_HasColorTransform) {\n\n\t\t\tcolor = vec4 (color.rgb / color.a, color.a);\n\n\t\t\tmat4 colorMultiplier = mat4 (0);\n\t\t\tcolorMultiplier[0][0] = openfl_ColorMultiplierv.x;\n\t\t\tcolorMultiplier[1][1] = openfl_ColorMultiplierv.y;\n\t\t\tcolorMultiplier[2][2] = openfl_ColorMultiplierv.z;\n\t\t\tcolorMultiplier[3][3] = 1.0; // openfl_ColorMultiplierv.w;\n\n\t\t\tcolor = clamp (openfl_ColorOffsetv + (color * colorMultiplier), 0.0, 1.0);\n\n\t\t\tif (color.a > 0.0) {\n\n\t\t\t\tgl_FragColor = vec4 (color.rgb * color.a * openfl_Alphav, color.a * openfl_Alphav);\n\n\t\t\t} else {\n\n\t\t\t\tgl_FragColor = vec4 (0.0, 0.0, 0.0, 0.0);\n\n\t\t\t}\n\n\t\t} else {\n\n\t\t\tgl_FragColor = color * openfl_Alphav;\n\n\t\t}\n\n\t\t}"),null==this.__glVertexSource&&(this.__glVertexSource="attribute float openfl_Alpha;\n\t\tattribute vec4 openfl_ColorMultiplier;\n\t\tattribute vec4 openfl_ColorOffset;\n\t\tattribute vec4 openfl_Position;\n\t\tattribute vec2 openfl_TextureCoord;\n\n\t\tvarying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform mat4 openfl_Matrix;\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\n\t\tvoid main(void) {\n\n\t\t\topenfl_Alphav = openfl_Alpha;\n\t\topenfl_TextureCoordv = openfl_TextureCoord;\n\n\t\tif (openfl_HasColorTransform) {\n\n\t\t\topenfl_ColorMultiplierv = openfl_ColorMultiplier;\n\t\t\topenfl_ColorOffsetv = openfl_ColorOffset / 255.0;\n\n\t\t}\n\n\t\tgl_Position = openfl_Matrix * openfl_Position;\n\n\t\t}"),openfl_display_Shader.call(this,e),this.__isGenerated=!0,this.__initGL()};$hxClasses["openfl.display.GraphicsShader"]=openfl_display_GraphicsShader,openfl_display_GraphicsShader.__name__="openfl.display.GraphicsShader",openfl_display_GraphicsShader.__super__=openfl_display_Shader,openfl_display_GraphicsShader.prototype=$extend(openfl_display_Shader.prototype,{openfl_Alpha:null,openfl_ColorMultiplier:null,openfl_ColorOffset:null,openfl_Position:null,openfl_TextureCoord:null,openfl_Matrix:null,openfl_HasColorTransform:null,openfl_TextureSize:null,bitmap:null,__class__:openfl_display_GraphicsShader});var flixel_graphics_tile_FlxGraphicsShader=function(){null==this.__glFragmentSource&&(this.__glFragmentSource="\n\t\tvarying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\t\tuniform sampler2D bitmap;\n\n\t\tuniform bool hasTransform;\n\t\tuniform bool hasColorTransform;\n\n\t\tvec4 flixel_texture2D(sampler2D bitmap, vec2 coord)\n\t\t{\n\t\t\tvec4 color = texture2D(bitmap, coord);\n\t\t\tif (!hasTransform)\n\t\t\t{\n\t\t\t\treturn color;\n\t\t\t}\n\n\t\t\tif (color.a == 0.0)\n\t\t\t{\n\t\t\t\treturn vec4(0.0, 0.0, 0.0, 0.0);\n\t\t\t}\n\n\t\t\tif (!hasColorTransform)\n\t\t\t{\n\t\t\t\treturn color * openfl_Alphav;\n\t\t\t}\n\n\t\t\tcolor = vec4(color.rgb / color.a, color.a);\n\n\t\t\tmat4 colorMultiplier = mat4(0);\n\t\t\tcolorMultiplier[0][0] = openfl_ColorMultiplierv.x;\n\t\t\tcolorMultiplier[1][1] = openfl_ColorMultiplierv.y;\n\t\t\tcolorMultiplier[2][2] = openfl_ColorMultiplierv.z;\n\t\t\tcolorMultiplier[3][3] = openfl_ColorMultiplierv.w;\n\n\t\t\tcolor = clamp(openfl_ColorOffsetv + (color * colorMultiplier), 0.0, 1.0);\n\n\t\t\tif (color.a > 0.0)\n\t\t\t{\n\t\t\t\treturn vec4(color.rgb * color.a * openfl_Alphav, color.a * openfl_Alphav);\n\t\t\t}\n\t\t\treturn vec4(0.0, 0.0, 0.0, 0.0);\n\t\t}\n\t\n\t\t\n\t\tvoid main(void)\n\t\t{\n\t\t\tgl_FragColor = flixel_texture2D(bitmap, openfl_TextureCoordv);\n\t\t}"),null==this.__glVertexSource&&(this.__glVertexSource="\n\t\tattribute float openfl_Alpha;\n\t\tattribute vec4 openfl_ColorMultiplier;\n\t\tattribute vec4 openfl_ColorOffset;\n\t\tattribute vec4 openfl_Position;\n\t\tattribute vec2 openfl_TextureCoord;\n\n\t\tvarying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform mat4 openfl_Matrix;\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\n\t\t\n\t\tattribute float alpha;\n\t\tattribute vec4 colorMultiplier;\n\t\tattribute vec4 colorOffset;\n\t\tuniform bool hasColorTransform;\n\t\t\n\t\tvoid main(void)\n\t\t{\n\t\t\topenfl_Alphav = openfl_Alpha;\n\t\topenfl_TextureCoordv = openfl_TextureCoord;\n\n\t\tif (openfl_HasColorTransform) {\n\n\t\t\topenfl_ColorMultiplierv = openfl_ColorMultiplier;\n\t\t\topenfl_ColorOffsetv = openfl_ColorOffset / 255.0;\n\n\t\t}\n\n\t\tgl_Position = openfl_Matrix * openfl_Position;\n\n\t\t\t\n\t\t\topenfl_Alphav = openfl_Alpha * alpha;\n\t\t\t\n\t\t\tif (hasColorTransform)\n\t\t\t{\n\t\t\t\topenfl_ColorOffsetv = colorOffset / 255.0;\n\t\t\t\topenfl_ColorMultiplierv = colorMultiplier;\n\t\t\t}\n\t\t}"),openfl_display_GraphicsShader.call(this),this.__isGenerated=!0,this.__initGL()};$hxClasses["flixel.graphics.tile.FlxGraphicsShader"]=flixel_graphics_tile_FlxGraphicsShader,flixel_graphics_tile_FlxGraphicsShader.__name__="flixel.graphics.tile.FlxGraphicsShader",flixel_graphics_tile_FlxGraphicsShader.__super__=openfl_display_GraphicsShader,flixel_graphics_tile_FlxGraphicsShader.prototype=$extend(openfl_display_GraphicsShader.prototype,{alpha:null,colorMultiplier:null,colorOffset:null,hasColorTransform:null,hasTransform:null,__class__:flixel_graphics_tile_FlxGraphicsShader});var WiggleShader=function(){null==this.__glFragmentSource&&(this.__glFragmentSource="\n\t\tvarying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\t\tuniform sampler2D bitmap;\n\n\t\tuniform bool hasTransform;\n\t\tuniform bool hasColorTransform;\n\n\t\tvec4 flixel_texture2D(sampler2D bitmap, vec2 coord)\n\t\t{\n\t\t\tvec4 color = texture2D(bitmap, coord);\n\t\t\tif (!hasTransform)\n\t\t\t{\n\t\t\t\treturn color;\n\t\t\t}\n\n\t\t\tif (color.a == 0.0)\n\t\t\t{\n\t\t\t\treturn vec4(0.0, 0.0, 0.0, 0.0);\n\t\t\t}\n\n\t\t\tif (!hasColorTransform)\n\t\t\t{\n\t\t\t\treturn color * openfl_Alphav;\n\t\t\t}\n\n\t\t\tcolor = vec4(color.rgb / color.a, color.a);\n\n\t\t\tmat4 colorMultiplier = mat4(0);\n\t\t\tcolorMultiplier[0][0] = openfl_ColorMultiplierv.x;\n\t\t\tcolorMultiplier[1][1] = openfl_ColorMultiplierv.y;\n\t\t\tcolorMultiplier[2][2] = openfl_ColorMultiplierv.z;\n\t\t\tcolorMultiplier[3][3] = openfl_ColorMultiplierv.w;\n\n\t\t\tcolor = clamp(openfl_ColorOffsetv + (color * colorMultiplier), 0.0, 1.0);\n\n\t\t\tif (color.a > 0.0)\n\t\t\t{\n\t\t\t\treturn vec4(color.rgb * color.a * openfl_Alphav, color.a * openfl_Alphav);\n\t\t\t}\n\t\t\treturn vec4(0.0, 0.0, 0.0, 0.0);\n\t\t}\n\t\n\n\t\t//uniform float tx, ty; // x,y waves phase\n\t\tuniform float uTime;\n\t\t\n\t\tconst int EFFECT_TYPE_DREAMY = 0;\n\t\tconst int EFFECT_TYPE_WAVY = 1;\n\t\tconst int EFFECT_TYPE_HEAT_WAVE_HORIZONTAL = 2;\n\t\tconst int EFFECT_TYPE_HEAT_WAVE_VERTICAL = 3;\n\t\tconst int EFFECT_TYPE_FLAG = 4;\n\t\t\n\t\tuniform int effectType;\n\t\t\n\t\t/**\n\t\t * How fast the waves move over time\n\t\t */\n\t\tuniform float uSpeed;\n\t\t\n\t\t/**\n\t\t * Number of waves over time\n\t\t */\n\t\tuniform float uFrequency;\n\t\t\n\t\t/**\n\t\t * How much the pixels are going to stretch over the waves\n\t\t */\n\t\tuniform float uWaveAmplitude;\n\n\t\tvec2 sineWave(vec2 pt)\n\t\t{\n\t\t\tfloat x = 0.0;\n\t\t\tfloat y = 0.0;\n\t\t\t\n\t\t\tif (effectType == EFFECT_TYPE_DREAMY) \n\t\t\t{\n\t\t\t\tfloat offsetX = sin(pt.y * uFrequency + uTime * uSpeed) * uWaveAmplitude;\n pt.x += offsetX; // * (pt.y - 1.0); // <- Uncomment to stop bottom part of the screen from moving\n\t\t\t}\n\t\t\telse if (effectType == EFFECT_TYPE_WAVY) \n\t\t\t{\n\t\t\t\tfloat offsetY = sin(pt.x * uFrequency + uTime * uSpeed) * uWaveAmplitude;\n\t\t\t\tpt.y += offsetY; // * (pt.y - 1.0); // <- Uncomment to stop bottom part of the screen from moving\n\t\t\t}\n\t\t\telse if (effectType == EFFECT_TYPE_HEAT_WAVE_HORIZONTAL)\n\t\t\t{\n\t\t\t\tx = sin(pt.x * uFrequency + uTime * uSpeed) * uWaveAmplitude;\n\t\t\t}\n\t\t\telse if (effectType == EFFECT_TYPE_HEAT_WAVE_VERTICAL)\n\t\t\t{\n\t\t\t\ty = sin(pt.y * uFrequency + uTime * uSpeed) * uWaveAmplitude;\n\t\t\t}\n\t\t\telse if (effectType == EFFECT_TYPE_FLAG)\n\t\t\t{\n\t\t\t\ty = sin(pt.y * uFrequency + 10.0 * pt.x + uTime * uSpeed) * uWaveAmplitude;\n\t\t\t\tx = sin(pt.x * uFrequency + 5.0 * pt.y + uTime * uSpeed) * uWaveAmplitude;\n\t\t\t}\n\t\t\t\n\t\t\treturn vec2(pt.x + x, pt.y + y);\n\t\t}\n\n\t\tvoid main()\n\t\t{\n\t\t\tvec2 uv = sineWave(openfl_TextureCoordv);\n\t\t\tgl_FragColor = texture2D(bitmap, uv);\n\t\t}"),null==this.__glVertexSource&&(this.__glVertexSource="\n\t\tattribute float openfl_Alpha;\n\t\tattribute vec4 openfl_ColorMultiplier;\n\t\tattribute vec4 openfl_ColorOffset;\n\t\tattribute vec4 openfl_Position;\n\t\tattribute vec2 openfl_TextureCoord;\n\n\t\tvarying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform mat4 openfl_Matrix;\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\n\t\t\n\t\tattribute float alpha;\n\t\tattribute vec4 colorMultiplier;\n\t\tattribute vec4 colorOffset;\n\t\tuniform bool hasColorTransform;\n\t\t\n\t\tvoid main(void)\n\t\t{\n\t\t\topenfl_Alphav = openfl_Alpha;\n\t\topenfl_TextureCoordv = openfl_TextureCoord;\n\n\t\tif (openfl_HasColorTransform) {\n\n\t\t\topenfl_ColorMultiplierv = openfl_ColorMultiplier;\n\t\t\topenfl_ColorOffsetv = openfl_ColorOffset / 255.0;\n\n\t\t}\n\n\t\tgl_Position = openfl_Matrix * openfl_Position;\n\n\t\t\t\n\t\t\topenfl_Alphav = openfl_Alpha * alpha;\n\t\t\t\n\t\t\tif (hasColorTransform)\n\t\t\t{\n\t\t\t\topenfl_ColorOffsetv = colorOffset / 255.0;\n\t\t\t\topenfl_ColorMultiplierv = colorMultiplier;\n\t\t\t}\n\t\t}"),flixel_graphics_tile_FlxGraphicsShader.call(this),this.__isGenerated=!0,this.__initGL()};$hxClasses.WiggleShader=WiggleShader,WiggleShader.__name__="WiggleShader",WiggleShader.__super__=flixel_graphics_tile_FlxGraphicsShader,WiggleShader.prototype=$extend(flixel_graphics_tile_FlxGraphicsShader.prototype,{tx:null,uTime:null,effectType:null,uSpeed:null,uFrequency:null,uWaveAmplitude:null,__class__:WiggleShader});var XmlType={};XmlType.toString=function(e){switch(e){case 0:return"Element";case 1:return"PCData";case 2:return"CData";case 3:return"Comment";case 4:return"DocType";case 5:return"ProcessingInstruction";case 6:return"Document"}};var Xml=function(e){this.nodeType=e,this.children=[],this.attributeMap=new haxe_ds_StringMap};$hxClasses.Xml=Xml,Xml.__name__="Xml",Xml.parse=function(e){return haxe_xml_Parser.parse(e)},Xml.createElement=function(e){var t=new Xml(Xml.Element);if(t.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t.nodeName=e,t},Xml.createPCData=function(e){var t=new Xml(Xml.PCData);if(t.nodeType==Xml.Document||t.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t.nodeValue=e,t},Xml.createCData=function(e){var t=new Xml(Xml.CData);if(t.nodeType==Xml.Document||t.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t.nodeValue=e,t},Xml.createComment=function(e){var t=new Xml(Xml.Comment);if(t.nodeType==Xml.Document||t.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t.nodeValue=e,t},Xml.createDocType=function(e){var t=new Xml(Xml.DocType);if(t.nodeType==Xml.Document||t.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t.nodeValue=e,t},Xml.createProcessingInstruction=function(e){var t=new Xml(Xml.ProcessingInstruction);if(t.nodeType==Xml.Document||t.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t.nodeValue=e,t},Xml.createDocument=function(){return new Xml(Xml.Document)},Xml.prototype={nodeType:null,nodeName:null,nodeValue:null,parent:null,children:null,attributeMap:null,get:function(e){if(this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));return this.attributeMap.h[e]},set:function(e,t){if(this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));this.attributeMap.h[e]=t},exists:function(e){if(this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));return Object.prototype.hasOwnProperty.call(this.attributeMap.h,e)},attributes:function(){if(this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));return haxe_ds_StringMap.keysIterator(this.attributeMap.h)},elements:function(){if(this.nodeType!=Xml.Document&&this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));for(var e=[],t=0,i=this.children;t<i.length;){var l=i[t];++t,l.nodeType==Xml.Element&&e.push(l)}return new haxe_iterators_ArrayIterator(e)},elementsNamed:function(e){if(this.nodeType!=Xml.Document&&this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));for(var t=[],i=0,l=this.children;i<l.length;){var n=l[i];++i;var s;if(n.nodeType==Xml.Element){if(n.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==n.nodeType?"null":XmlType.toString(n.nodeType)));s=n.nodeName==e}else s=!1;s&&t.push(n)}return new haxe_iterators_ArrayIterator(t)},firstElement:function(){if(this.nodeType!=Xml.Document&&this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));for(var e=0,t=this.children;e<t.length;){var i=t[e];if(++e,i.nodeType==Xml.Element)return i}return null},addChild:function(e){if(this.nodeType!=Xml.Document&&this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));null!=e.parent&&e.parent.removeChild(e),this.children.push(e),e.parent=this},removeChild:function(e){if(this.nodeType!=Xml.Document&&this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));return!!HxOverrides.remove(this.children,e)&&(e.parent=null,!0)},insertChild:function(e,t){if(this.nodeType!=Xml.Document&&this.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==this.nodeType?"null":XmlType.toString(this.nodeType)));null!=e.parent&&HxOverrides.remove(e.parent.children,e),this.children.splice(t,0,e),e.parent=this},toString:function(){return haxe_xml_Printer.print(this)},__class__:Xml};var flixel_IFlxBasic=function(){};$hxClasses["flixel.IFlxBasic"]=flixel_IFlxBasic,flixel_IFlxBasic.__name__="flixel.IFlxBasic",flixel_IFlxBasic.__isInterface__=!0,flixel_IFlxBasic.prototype={set_active:null,set_visible:null,set_alive:null,set_exists:null,ID:null,active:null,visible:null,alive:null,exists:null,draw:null,update:null,destroy:null,kill:null,revive:null,toString:null,__class__:flixel_IFlxBasic,__properties__:{set_exists:"set_exists",set_alive:"set_alive",set_visible:"set_visible",set_active:"set_active"}};var flixel_util_FlxPool_$flixel_$math_$FlxPoint=function(e){this._count=0,this._pool=[],this._class=e};$hxClasses["flixel.util.FlxPool_flixel_math_FlxPoint"]=flixel_util_FlxPool_$flixel_$math_$FlxPoint,flixel_util_FlxPool_$flixel_$math_$FlxPoint.__name__="flixel.util.FlxPool_flixel_math_FlxPoint",flixel_util_FlxPool_$flixel_$math_$FlxPoint.__interfaces__=[flixel_util_IFlxPool],flixel_util_FlxPool_$flixel_$math_$FlxPoint.prototype={_pool:null,_class:null,_count:null,get:function(){return 0==this._count?Type.createInstance(this._class,[]):this._pool[--this._count]},put:function(e){if(null!=e){var t=this._pool.indexOf(e);(-1==t||t>=this._count)&&(e.destroy(),this._pool[this._count++]=e)}},putUnsafe:function(e){null!=e&&(e.destroy(),this._pool[this._count++]=e)},preAllocate:function(e){for(;e-- >0;)this._pool[this._count++]=Type.createInstance(this._class,[])},clear:function(){this._count=0;var e=this._pool;return this._pool=[],e},get_length:function(){return this._count},__class__:flixel_util_FlxPool_$flixel_$math_$FlxPoint,__properties__:{get_length:"get_length"}};var flixel_math_FlxPoint=function(e,t){null==t&&(t=0),null==e&&(e=0),this._inPool=!1,this._weak=!1,this.y=0,this.x=0,this.set(e,t)};$hxClasses["flixel.math.FlxPoint"]=flixel_math_FlxPoint,flixel_math_FlxPoint.__name__="flixel.math.FlxPoint",flixel_math_FlxPoint.__interfaces__=[flixel_util_IFlxPooled],flixel_math_FlxPoint.__properties__={get_pool:"get_pool"},flixel_math_FlxPoint.get=function(e,t){null==t&&(t=0),null==e&&(e=0);var i=flixel_math_FlxPoint._pool.get().set(e,t);return i._inPool=!1,i},flixel_math_FlxPoint.weak=function(e,t){null==t&&(t=0),null==e&&(e=0);var i=e,l=t;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);n._inPool=!1;var s=n;return s._weak=!0,s},flixel_math_FlxPoint.get_pool=function(){return flixel_math_FlxPoint._pool},flixel_math_FlxPoint.prototype={x:null,y:null,_weak:null,_inPool:null,put:function(){this._inPool||(this._inPool=!0,this._weak=!1,flixel_math_FlxPoint._pool.putUnsafe(this))},putWeak:function(){this._weak&&this.put()},set:function(e,t){return null==t&&(t=0),null==e&&(e=0),this.set_x(e),this.set_y(t),this},add:function(e,t){null==t&&(t=0),null==e&&(e=0);var i=this;return i.set_x(i.x+e),(i=this).set_y(i.y+t),this},addPoint:function(e){var t=this;return t.set_x(t.x+e.x),(t=this).set_y(t.y+e.y),e._weak&&e.put(),this},addPointWeak:function(e){var t=this;return t.set_x(t.x+e.x),(t=this).set_y(t.y+e.y),this},subtract:function(e,t){null==t&&(t=0),null==e&&(e=0);var i=this;return i.set_x(i.x-e),(i=this).set_y(i.y-t),this},subtractPoint:function(e){var t=this;return t.set_x(t.x-e.x),(t=this).set_y(t.y-e.y),e._weak&&e.put(),this},subtractPointWeak:function(e){var t=this;return t.set_x(t.x-e.x),(t=this).set_y(t.y-e.y),this},scale:function(e){var t=this;return t.set_x(t.x*e),(t=this).set_y(t.y*e),this},copyFrom:function(e){return this.set_x(e.x),this.set_y(e.y),e._weak&&e.put(),this},copyTo:function(e){if(null==e){var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,e=t}return e.set_x(this.x),e.set_y(this.y),e},copyFromFlash:function(e){return this.set_x(e.x),this.set_y(e.y),this},copyToFlash:function(e){return null==e&&(e=new openfl_geom_Point),e.x=this.x,e.y=this.y,e},addToFlash:function(e){return e.x+=this.x,e.y+=this.y,e},subtractFromFlash:function(e){return e.x-=this.x,e.y-=this.y,e},inCoords:function(e,t,i,l){return flixel_math_FlxMath.pointInCoordinates(this.x,this.y,e,t,i,l)},inRect:function(e){return flixel_math_FlxMath.pointInFlxRect(this.x,this.y,e)},distanceTo:function(e){var t=this.x-e.x,i=this.y-e.y;return e._weak&&e.put(),Math.sqrt(t*t+i*i)},floor:function(){return this.set_x(Math.floor(this.x)),this.set_y(Math.floor(this.y)),this},ceil:function(){return this.set_x(Math.ceil(this.x)),this.set_y(Math.ceil(this.y)),this},round:function(){return this.set_x(Math.round(this.x)),this.set_y(Math.round(this.y)),this},rotate:function(e,t){var i=t*(Math.PI/180),l=i;(l*=.3183098862)>1?l-=Math.ceil(l)>>1<<1:l<-1&&(l+=Math.ceil(-l)>>1<<1);var n=l>0?l*(3.1+l*(.5+l*(3.6*l-7.2))):l*(3.1-l*(.5+l*(7.2+3.6*l))),l=i+1.570796327;(l*=.3183098862)>1?l-=Math.ceil(l)>>1<<1:l<-1&&(l+=Math.ceil(-l)>>1<<1);var s=l>0?l*(3.1+l*(.5+l*(3.6*l-7.2))):l*(3.1-l*(.5+l*(7.2+3.6*l))),a=this.x-e.x,r=this.y-e.y;return this.set_x(s*a-n*r+e.x),this.set_y(n*a+s*r+e.y),e._weak&&e.put(),this},angleBetween:function(e){var t=e.x-this.x,i=e.y-this.y,l=0;if(0!=t||0!=i){var n=.25*Math.PI,s=3*n,a=i<0?-i:i;l=t>=0?n-n*((t-a)/(t+a)):s-n*((t+a)/(a-t)),(l=(i<0?-l:l)*(180/Math.PI))>90?l-=270:l+=90}return e._weak&&e.put(),l},toVector:function(){var e=this.x,t=this.y;null==t&&(t=0),null==e&&(e=0);var i=e,l=t;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);return n._inPool=!1,n},equals:function(e){var t=Math.abs(this.x-e.x)<=1e-7&&Math.abs(this.y-e.y)<=1e-7;return e._weak&&e.put(),t},destroy:function(){},transform:function(e){var t=this.x*e.a+this.y*e.c+e.tx,i=this.x*e.b+this.y*e.d+e.ty;return this.set(t,i)},toString:function(){var e=this.x,t=flixel_util_LabelValuePair._pool.get();t.label="x",t.value=e;var e=this.y,i=flixel_util_LabelValuePair._pool.get();return i.label="y",i.value=e,flixel_util_FlxStringUtil.getDebugString([t,i])},set_x:function(e){return this.x=e},set_y:function(e){return this.y=e},__class__:flixel_math_FlxPoint,__properties__:{set_y:"set_y",set_x:"set_x"}};var lime_math_Matrix3=function(e,t,i,l,n,s){null==s&&(s=0),null==n&&(n=0),null==l&&(l=1),null==i&&(i=0),null==t&&(t=0),null==e&&(e=1),this.a=e,this.b=t,this.c=i,this.d=l,this.tx=n,this.ty=s};$hxClasses["lime.math.Matrix3"]=lime_math_Matrix3,lime_math_Matrix3.__name__="lime.math.Matrix3",lime_math_Matrix3.prototype={a:null,b:null,c:null,d:null,tx:null,ty:null,clone:function(){return new lime_math_Matrix3(this.a,this.b,this.c,this.d,this.tx,this.ty)},concat:function(e){var t=this.a*e.a+this.b*e.c;this.b=this.a*e.b+this.b*e.d,this.a=t;var i=this.c*e.a+this.d*e.c;this.d=this.c*e.b+this.d*e.d,this.c=i;var l=this.tx*e.a+this.ty*e.c+e.tx;this.ty=this.tx*e.b+this.ty*e.d+e.ty,this.tx=l},copyColumnFrom:function(e,t){if(e>2)throw haxe_Exception.thrown("Column "+e+" out of bounds (2)");0==e?(this.a=t.x,this.b=t.y):1==e?(this.c=t.x,this.d=t.y):(this.tx=t.x,this.ty=t.y)},copyColumnTo:function(e,t){if(e>2)throw haxe_Exception.thrown("Column "+e+" out of bounds (2)");0==e?(t.x=this.a,t.y=this.b,t.z=0):1==e?(t.x=this.c,t.y=this.d,t.z=0):(t.x=this.tx,t.y=this.ty,t.z=1)},copyFrom:function(e){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty},copyRowFrom:function(e,t){if(e>2)throw haxe_Exception.thrown("Row "+e+" out of bounds (2)");0==e?(this.a=t.x,this.c=t.y,this.tx=t.z):1==e&&(this.b=t.x,this.d=t.y,this.ty=t.z)},copyRowTo:function(e,t){if(e>2)throw haxe_Exception.thrown("Row "+e+" out of bounds (2)");0==e?(t.x=this.a,t.y=this.c,t.z=this.tx):1==e?(t.x=this.b,t.y=this.d,t.z=this.ty):(t.x=0,t.y=0,t.z=1)},createBox:function(e,t,i,l,n){if(null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),0!=i){var s=Math.cos(i),a=Math.sin(i);this.a=s*e,this.b=a*t,this.c=-a*e,this.d=s*t}else this.a=e,this.b=0,this.c=0,this.d=t;this.tx=l,this.ty=n},createGradientBox:function(e,t,i,l,n){if(null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),this.a=e/1638.4,this.d=t/1638.4,0!=i){var s=Math.cos(i),a=Math.sin(i);this.b=a*this.d,this.c=-a*this.a,this.a*=s,this.d*=s}else this.b=0,this.c=0;this.tx=l+e/2,this.ty=n+t/2},equals:function(e){return null!=e&&this.tx==e.tx&&this.ty==e.ty&&this.a==e.a&&this.b==e.b&&this.c==e.c&&this.d==e.d},deltaTransformVector:function(e,t){return null==t&&(t=new lime_math_Vector2),t.x=e.x*this.a+e.y*this.c,t.y=e.x*this.b+e.y*this.d,t},identity:function(){this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0},invert:function(){var e=this.a*this.d-this.b*this.c;if(0==e)this.a=this.b=this.c=this.d=0,this.tx=-this.tx,this.ty=-this.ty;else{e=1/e;var t=this.d*e;this.d=this.a*e,this.a=t,this.b*=-e,this.c*=-e;var i=-this.a*this.tx-this.c*this.ty;this.ty=-this.b*this.tx-this.d*this.ty,this.tx=i}return this},rotate:function(e){var t=Math.cos(e),i=Math.sin(e),l=this.a*t-this.b*i;this.b=this.a*i+this.b*t,this.a=l;var n=this.c*t-this.d*i;this.d=this.c*i+this.d*t,this.c=n;var s=this.tx*t-this.ty*i;this.ty=this.tx*i+this.ty*t,this.tx=s},scale:function(e,t){this.a*=e,this.b*=t,this.c*=e,this.d*=t,this.tx*=e,this.ty*=t},setRotation:function(e,t){null==t&&(t=1),this.a=Math.cos(e)*t,this.c=Math.sin(e)*t,this.b=-this.c,this.d=this.a},setTo:function(e,t,i,l,n,s){this.a=e,this.b=t,this.c=i,this.d=l,this.tx=n,this.ty=s},to3DString:function(e){return null==e&&(e=!1),e?"matrix3d("+this.a+", "+this.b+", 0, 0, "+this.c+", "+this.d+", 0, 0, 0, 0, 1, 0, "+(0|this.tx)+", "+(0|this.ty)+", 0, 1)":"matrix3d("+this.a+", "+this.b+", 0, 0, "+this.c+", "+this.d+", 0, 0, 0, 0, 1, 0, "+this.tx+", "+this.ty+", 0, 1)"},toString:function(){return"matrix("+this.a+", "+this.b+", "+this.c+", "+this.d+", "+this.tx+", "+this.ty+")"},transformRect:function(e,t){null==t&&(t=new lime_math_Rectangle);var i=this.a*e.x+this.c*e.y,l=i,n=this.b*e.x+this.d*e.y,s=n,a=this.a*(e.x+e.width)+this.c*e.y,r=this.b*(e.x+e.width)+this.d*e.y;return a<i&&(i=a),r<n&&(n=r),a>l&&(l=a),r>s&&(s=r),a=this.a*(e.x+e.width)+this.c*(e.y+e.height),r=this.b*(e.x+e.width)+this.d*(e.y+e.height),a<i&&(i=a),r<n&&(n=r),a>l&&(l=a),r>s&&(s=r),a=this.a*e.x+this.c*(e.y+e.height),r=this.b*e.x+this.d*(e.y+e.height),a<i&&(i=a),r<n&&(n=r),a>l&&(l=a),r>s&&(s=r),t.setTo(i+a,n+r,l-i,s-n),t},transformVector:function(e,t){return null==t&&(t=new lime_math_Vector2),t.x=e.x*this.a+e.y*this.c+this.tx,t.y=e.x*this.b+e.y*this.d+this.ty,t},translate:function(e,t){this.tx+=e,this.ty+=t},__class__:lime_math_Matrix3};var openfl_geom_Matrix=function(e,t,i,l,n,s){null==s&&(s=0),null==n&&(n=0),null==l&&(l=1),null==i&&(i=0),null==t&&(t=0),null==e&&(e=1),this.a=e,this.b=t,this.c=i,this.d=l,this.tx=n,this.ty=s};$hxClasses["openfl.geom.Matrix"]=openfl_geom_Matrix,openfl_geom_Matrix.__name__="openfl.geom.Matrix",openfl_geom_Matrix.prototype={a:null,b:null,c:null,d:null,tx:null,ty:null,__array:null,clone:function(){return new openfl_geom_Matrix(this.a,this.b,this.c,this.d,this.tx,this.ty)},concat:function(e){var t=this.a*e.a+this.b*e.c;this.b=this.a*e.b+this.b*e.d,this.a=t;var i=this.c*e.a+this.d*e.c;this.d=this.c*e.b+this.d*e.d,this.c=i;var l=this.tx*e.a+this.ty*e.c+e.tx;this.ty=this.tx*e.b+this.ty*e.d+e.ty,this.tx=l},copyColumnFrom:function(e,t){if(e>2)throw haxe_Exception.thrown("Column "+e+" out of bounds (2)");0==e?(this.a=t.x,this.b=t.y):1==e?(this.c=t.x,this.d=t.y):(this.tx=t.x,this.ty=t.y)},copyColumnTo:function(e,t){if(e>2)throw haxe_Exception.thrown("Column "+e+" out of bounds (2)");0==e?(t.x=this.a,t.y=this.b,t.z=0):1==e?(t.x=this.c,t.y=this.d,t.z=0):(t.x=this.tx,t.y=this.ty,t.z=1)},copyFrom:function(e){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty},copyRowFrom:function(e,t){if(e>2)throw haxe_Exception.thrown("Row "+e+" out of bounds (2)");0==e?(this.a=t.x,this.c=t.y,this.tx=t.z):1==e&&(this.b=t.x,this.d=t.y,this.ty=t.z)},copyRowTo:function(e,t){if(e>2)throw haxe_Exception.thrown("Row "+e+" out of bounds (2)");0==e?(t.x=this.a,t.y=this.c,t.z=this.tx):1==e?(t.x=this.b,t.y=this.d,t.z=this.ty):t.setTo(0,0,1)},createBox:function(e,t,i,l,n){if(null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),0!=i){var s=Math.cos(i),a=Math.sin(i);this.a=s*e,this.b=a*t,this.c=-a*e,this.d=s*t}else this.a=e,this.b=0,this.c=0,this.d=t;this.tx=l,this.ty=n},createGradientBox:function(e,t,i,l,n){if(null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),this.a=e/1638.4,this.d=t/1638.4,0!=i){var s=Math.cos(i),a=Math.sin(i);this.b=a*this.d,this.c=-a*this.a,this.a*=s,this.d*=s}else this.b=0,this.c=0;this.tx=l+e/2,this.ty=n+t/2},deltaTransformPoint:function(e){return new openfl_geom_Point(e.x*this.a+e.y*this.c,e.x*this.b+e.y*this.d)},equals:function(e){return null!=e&&this.tx==e.tx&&this.ty==e.ty&&this.a==e.a&&this.b==e.b&&this.c==e.c&&this.d==e.d},identity:function(){this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0},invert:function(){var e=this.a*this.d-this.b*this.c;if(0==e)this.a=this.b=this.c=this.d=0,this.tx=-this.tx,this.ty=-this.ty;else{e=1/e;var t=this.d*e;this.d=this.a*e,this.a=t,this.b*=-e,this.c*=-e;var i=-this.a*this.tx-this.c*this.ty;this.ty=-this.b*this.tx-this.d*this.ty,this.tx=i}return this},rotate:function(e){var t=Math.cos(e),i=Math.sin(e),l=this.a*t-this.b*i;this.b=this.a*i+this.b*t,this.a=l;var n=this.c*t-this.d*i;this.d=this.c*i+this.d*t,this.c=n;var s=this.tx*t-this.ty*i;this.ty=this.tx*i+this.ty*t,this.tx=s},scale:function(e,t){this.a*=e,this.b*=t,this.c*=e,this.d*=t,this.tx*=e,this.ty*=t},setRotation:function(e,t){null==t&&(t=1),this.a=Math.cos(e)*t,this.c=Math.sin(e)*t,this.b=-this.c,this.d=this.a},setTo:function(e,t,i,l,n,s){this.a=e,this.b=t,this.c=i,this.d=l,this.tx=n,this.ty=s},to3DString:function(e){return null==e&&(e=!1),e?"matrix3d("+this.a+", "+this.b+", 0, 0, "+this.c+", "+this.d+", 0, 0, 0, 0, 1, 0, "+(0|this.tx)+", "+(0|this.ty)+", 0, 1)":"matrix3d("+this.a+", "+this.b+", 0, 0, "+this.c+", "+this.d+", 0, 0, 0, 0, 1, 0, "+this.tx+", "+this.ty+", 0, 1)"},toMozString:function(){return"matrix("+this.a+", "+this.b+", "+this.c+", "+this.d+", "+this.tx+"px, "+this.ty+"px)"},toString:function(){return"matrix("+this.a+", "+this.b+", "+this.c+", "+this.d+", "+this.tx+", "+this.ty+")"},transformPoint:function(e){return new openfl_geom_Point(e.x*this.a+e.y*this.c+this.tx,e.x*this.b+e.y*this.d+this.ty)},translate:function(e,t){this.tx+=e,this.ty+=t},toArray:function(e){if(null==e&&(e=!1),null==this.__array){var t=new Float32Array(9);this.__array=t}return e?(this.__array[0]=this.a,this.__array[1]=this.b,this.__array[2]=0,this.__array[3]=this.c,this.__array[4]=this.d,this.__array[5]=0,this.__array[6]=this.tx,this.__array[7]=this.ty,this.__array[8]=1):(this.__array[0]=this.a,this.__array[1]=this.c,this.__array[2]=this.tx,this.__array[3]=this.b,this.__array[4]=this.d,this.__array[5]=this.ty,this.__array[6]=0,this.__array[7]=0,this.__array[8]=1),this.__array},__cleanValues:function(){this.a=Math.round(1e3*this.a)/1e3,this.b=Math.round(1e3*this.b)/1e3,this.c=Math.round(1e3*this.c)/1e3,this.d=Math.round(1e3*this.d)/1e3,this.tx=Math.round(10*this.tx)/10,this.ty=Math.round(10*this.ty)/10},__toMatrix3:function(){return openfl_geom_Matrix.__matrix3.setTo(this.a,this.b,this.c,this.d,this.tx,this.ty),openfl_geom_Matrix.__matrix3},__transformInversePoint:function(e){var t=this.a*this.d-this.b*this.c;if(0==t)e.x=-this.tx,e.y=-this.ty;else{var i=1/t*(this.c*(this.ty-e.y)+this.d*(e.x-this.tx));e.y=1/t*(this.a*(e.y-this.ty)+this.b*(this.tx-e.x)),e.x=i}},__transformInverseX:function(e,t){var i=this.a*this.d-this.b*this.c;return 0==i?-this.tx:1/i*(this.c*(this.ty-t)+this.d*(e-this.tx))},__transformInverseY:function(e,t){var i=this.a*this.d-this.b*this.c;return 0==i?-this.ty:1/i*(this.a*(t-this.ty)+this.b*(this.tx-e))},__transformPoint:function(e){var t=e.x,i=e.y;e.x=t*this.a+i*this.c+this.tx,e.y=t*this.b+i*this.d+this.ty},__transformX:function(e,t){return e*this.a+t*this.c+this.tx},__transformY:function(e,t){return e*this.b+t*this.d+this.ty},__translateTransformed:function(e,t){this.tx=e*this.a+t*this.c+this.tx,this.ty=e*this.b+t*this.d+this.ty},__class__:openfl_geom_Matrix};var openfl_geom_ColorTransform=function(e,t,i,l,n,s,a,r){null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=1),null==i&&(i=1),null==t&&(t=1),null==e&&(e=1),this.redMultiplier=e,this.greenMultiplier=t,this.blueMultiplier=i,this.alphaMultiplier=l,this.redOffset=n,this.greenOffset=s,this.blueOffset=a,this.alphaOffset=r};$hxClasses["openfl.geom.ColorTransform"]=openfl_geom_ColorTransform,openfl_geom_ColorTransform.__name__="openfl.geom.ColorTransform",openfl_geom_ColorTransform.__limeColorMatrix=null,openfl_geom_ColorTransform.prototype={alphaMultiplier:null,alphaOffset:null,blueMultiplier:null,blueOffset:null,greenMultiplier:null,greenOffset:null,redMultiplier:null,redOffset:null,concat:function(e){this.redOffset=e.redOffset*this.redMultiplier+this.redOffset,this.greenOffset=e.greenOffset*this.greenMultiplier+this.greenOffset,this.blueOffset=e.blueOffset*this.blueMultiplier+this.blueOffset,this.alphaOffset=e.alphaOffset*this.alphaMultiplier+this.alphaOffset,this.redMultiplier*=e.redMultiplier,this.greenMultiplier*=e.greenMultiplier,this.blueMultiplier*=e.blueMultiplier,this.alphaMultiplier*=e.alphaMultiplier},toString:function(){return"(redMultiplier="+this.redMultiplier+", greenMultiplier="+this.greenMultiplier+", blueMultiplier="+this.blueMultiplier+", alphaMultiplier="+this.alphaMultiplier+", redOffset="+this.redOffset+", greenOffset="+this.greenOffset+", blueOffset="+this.blueOffset+", alphaOffset="+this.alphaOffset+")"},__clone:function(){return new openfl_geom_ColorTransform(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,this.alphaOffset)},__copyFrom:function(e){this.redMultiplier=e.redMultiplier,this.greenMultiplier=e.greenMultiplier,this.blueMultiplier=e.blueMultiplier,this.alphaMultiplier=e.alphaMultiplier,this.redOffset=e.redOffset,this.greenOffset=e.greenOffset,this.blueOffset=e.blueOffset,this.alphaOffset=e.alphaOffset},__combine:function(e){this.redMultiplier*=e.redMultiplier,this.greenMultiplier*=e.greenMultiplier,this.blueMultiplier*=e.blueMultiplier,this.alphaMultiplier*=e.alphaMultiplier,this.redOffset+=e.redOffset,this.greenOffset+=e.greenOffset,this.blueOffset+=e.blueOffset,this.alphaOffset+=e.alphaOffset},__identity:function(){this.redMultiplier=1,this.greenMultiplier=1,this.blueMultiplier=1,this.alphaMultiplier=1,this.redOffset=0,this.greenOffset=0,this.blueOffset=0,this.alphaOffset=0},__invert:function(){this.redMultiplier=0!=this.redMultiplier?1/this.redMultiplier:1,this.greenMultiplier=0!=this.greenMultiplier?1/this.greenMultiplier:1,this.blueMultiplier=0!=this.blueMultiplier?1/this.blueMultiplier:1,this.alphaMultiplier=0!=this.alphaMultiplier?1/this.alphaMultiplier:1,this.redOffset=-this.redOffset,this.greenOffset=-this.greenOffset,this.blueOffset=-this.blueOffset,this.alphaOffset=-this.alphaOffset},__equals:function(e,t){return!(null==e||this.redMultiplier!=e.redMultiplier||this.greenMultiplier!=e.greenMultiplier||this.blueMultiplier!=e.blueMultiplier||!t&&this.alphaMultiplier!=e.alphaMultiplier||this.redOffset!=e.redOffset||this.greenOffset!=e.greenOffset||this.blueOffset!=e.blueOffset)&&this.alphaOffset==e.alphaOffset},__isDefault:function(e){return e?1==this.redMultiplier&&1==this.greenMultiplier&&1==this.blueMultiplier&&0==this.redOffset&&0==this.greenOffset&&0==this.blueOffset&&0==this.alphaOffset:1==this.redMultiplier&&1==this.greenMultiplier&&1==this.blueMultiplier&&1==this.alphaMultiplier&&0==this.redOffset&&0==this.greenOffset&&0==this.blueOffset&&0==this.alphaOffset},__setArrays:function(e,t){e[0]=this.redMultiplier,e[1]=this.greenMultiplier,e[2]=this.blueMultiplier,e[3]=this.alphaMultiplier,t[0]=this.redOffset,t[1]=this.greenOffset,t[2]=this.blueOffset,t[3]=this.alphaOffset},get_color:function(){return(0|this.redOffset)<<16|(0|this.greenOffset)<<8|0|this.blueOffset},set_color:function(e){return this.redOffset=e>>16&255,this.greenOffset=e>>8&255,this.blueOffset=255&e,this.redMultiplier=0,this.greenMultiplier=0,this.blueMultiplier=0,this.get_color()},__toLimeColorMatrix:function(){if(null==openfl_geom_ColorTransform.__limeColorMatrix){var e=new Float32Array(20);openfl_geom_ColorTransform.__limeColorMatrix=e}return openfl_geom_ColorTransform.__limeColorMatrix[0]=this.redMultiplier,openfl_geom_ColorTransform.__limeColorMatrix[4]=this.redOffset/255,openfl_geom_ColorTransform.__limeColorMatrix[6]=this.greenMultiplier,openfl_geom_ColorTransform.__limeColorMatrix[9]=this.greenOffset/255,openfl_geom_ColorTransform.__limeColorMatrix[12]=this.blueMultiplier,openfl_geom_ColorTransform.__limeColorMatrix[14]=this.blueOffset/255,openfl_geom_ColorTransform.__limeColorMatrix[18]=this.alphaMultiplier,openfl_geom_ColorTransform.__limeColorMatrix[19]=this.alphaOffset/255,openfl_geom_ColorTransform.__limeColorMatrix},__class__:openfl_geom_ColorTransform,__properties__:{set_color:"set_color",get_color:"get_color"}};var flixel_FlxCamera=function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this._helperPoint=new openfl_geom_Point,this._helperMatrix=new flixel_math_FlxMatrix;var s=flixel_math_FlxRect._pool.get();s.x=0,s.y=0,s.width=0,s.height=0,s._inPool=!1,this._bounds=s,this._scrollRect=new openfl_display_Sprite,this.initialZoom=1;var a=flixel_math_FlxPoint._pool.get().set(0,0);a._inPool=!1,this._point=a,this._fxShakeAxes=flixel_util_FlxAxes.XY,this._fxShakeDuration=0,this._fxShakeIntensity=0,this._fxFadeAlpha=0,this._fxFadeCompleted=!0,this._fxFadeComplete=null,this._fxFadeIn=!1,this._fxFadeDuration=0,(a=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this._scrollTarget=a,this._fxFadeColor=0,this._fxFlashAlpha=0,this._fxFlashComplete=null,this._fxFlashDuration=0,this._fxFlashColor=0,(a=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this._flashOffset=a,this._flashPoint=new openfl_geom_Point,this.filtersEnabled=!0,(a=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.followLead=a,this.antialiasing=!1,this.color=-1,this.angle=0,this.alpha=1,this._useBlitMatrix=!1,this._blitMatrix=new flixel_math_FlxMatrix,this.viewHeight=0,this.viewWidth=0,this.viewOffsetHeight=0,this.viewOffsetWidth=0,this.viewOffsetY=0,this.viewOffsetX=0,this.height=0,this.width=0,this.flashSprite=new openfl_display_Sprite,this.useBgAlphaBlending=!1,(a=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.scroll=a,this.followLerp=60/flixel_FlxG.updateFramerate,(a=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.targetOffset=a,this.scaleY=0,this.scaleX=0,this.y=0,this.x=0,flixel_FlxBasic.call(this),this.set_x(e),this.set_y(t),this.set_width(i<=0?flixel_FlxG.width:i),this.set_height(l<=0?flixel_FlxG.height:l),this._flashRect=new openfl_geom_Rectangle(0,0,this.width,this.height),this.flashSprite.addChild(this._scrollRect),this._scrollRect.set_scrollRect(new openfl_geom_Rectangle),this.pixelPerfectRender=flixel_FlxG.renderBlit,flixel_FlxG.renderBlit?(this.screen=new flixel_FlxSprite,this.buffer=new openfl_display_BitmapData(this.width,this.height,!0,0),this.screen.set_pixels(this.buffer),this.screen.origin.set(),this._flashBitmap=new openfl_display_Bitmap(this.buffer),this._scrollRect.addChild(this._flashBitmap),this._fill=new openfl_display_BitmapData(this.width,this.height,!0,0)):(this.canvas=new openfl_display_Sprite,this._scrollRect.addChild(this.canvas)),this.set_color(-1),this.initialZoom=0==n?flixel_FlxCamera.defaultZoom:n,this.set_zoom(n),this.updateScrollRect(),this.updateFlashOffset(),this.updateFlashSpritePosition(),this.updateInternalSpritePositions(),this.bgColor=flixel_FlxG.cameras.get_bgColor()};$hxClasses["flixel.FlxCamera"]=flixel_FlxCamera,flixel_FlxCamera.__name__="flixel.FlxCamera",flixel_FlxCamera.defaultZoom=null,flixel_FlxCamera.defaultCameras=null,flixel_FlxCamera._storageTilesHead=null,flixel_FlxCamera._storageTrianglesHead=null,flixel_FlxCamera.__super__=flixel_FlxBasic,flixel_FlxCamera.prototype=$extend(flixel_FlxBasic.prototype,{x:null,y:null,scaleX:null,scaleY:null,totalScaleX:null,totalScaleY:null,style:null,target:null,targetOffset:null,followLerp:null,deadzone:null,minScrollX:null,maxScrollX:null,minScrollY:null,maxScrollY:null,scroll:null,buffer:null,bgColor:null,screen:null,useBgAlphaBlending:null,flashSprite:null,pixelPerfectRender:null,width:null,height:null,zoom:null,viewOffsetX:null,viewOffsetY:null,viewOffsetWidth:null,viewOffsetHeight:null,viewWidth:null,viewHeight:null,_blitMatrix:null,_useBlitMatrix:null,alpha:null,angle:null,color:null,antialiasing:null,followLead:null,filtersEnabled:null,_flashRect:null,_flashPoint:null,_flashOffset:null,_fxFlashColor:null,_fxFlashDuration:null,_fxFlashComplete:null,_fxFlashAlpha:null,_fxFadeColor:null,_lastTargetPosition:null,_scrollTarget:null,_fxFadeDuration:null,_fxFadeIn:null,_fxFadeComplete:null,_fxFadeCompleted:null,_fxFadeAlpha:null,_fxShakeIntensity:null,_fxShakeDuration:null,_fxShakeComplete:null,_fxShakeAxes:null,_point:null,_filters:null,initialZoom:null,_fill:null,_flashBitmap:null,_scrollRect:null,_bounds:null,canvas:null,_helperMatrix:null,_helperPoint:null,_currentDrawItem:null,_headOfDrawStack:null,_headTiles:null,_headTriangles:null,startQuadBatch:function(e,t,i,l,n,s){null==n&&(n=!1),null==i&&(i=!1);var a=null,r=flixel_graphics_tile_FlxDrawBaseItem.blendToInt(l);if(null!=this._currentDrawItem&&this._currentDrawItem.type==flixel_graphics_tile_FlxDrawItemType.TILES&&this._headTiles.graphics==e&&this._headTiles.colored==t&&this._headTiles.hasColorOffsets==i&&this._headTiles.blending==r&&this._headTiles.blend==l&&this._headTiles.antialiasing==n&&this._headTiles.shader==s)return this._headTiles;if(null!=flixel_FlxCamera._storageTilesHead){a=flixel_FlxCamera._storageTilesHead;var _=flixel_FlxCamera._storageTilesHead.nextTyped;a.reset(),flixel_FlxCamera._storageTilesHead=_}else a=new flixel_graphics_tile_FlxDrawQuadsItem;return a.graphics=e,a.antialiasing=n,a.colored=t,a.hasColorOffsets=i,a.blending=r,a.blend=l,a.shader=s,a.nextTyped=this._headTiles,this._headTiles=a,null==this._headOfDrawStack&&(this._headOfDrawStack=a),null!=this._currentDrawItem&&(this._currentDrawItem.next=a),this._currentDrawItem=a,a},startTrianglesBatch:function(e,t,i,l){null==i&&(i=!1),null==t&&(t=!1);var n=flixel_graphics_tile_FlxDrawBaseItem.blendToInt(l);return null!=this._currentDrawItem&&this._currentDrawItem.type==flixel_graphics_tile_FlxDrawItemType.TRIANGLES&&this._headTriangles.graphics==e&&this._headTriangles.antialiasing==t&&this._headTriangles.colored==i&&this._headTriangles.blending==n?this._headTriangles:this.getNewDrawTrianglesItem(e,t,i,l)},getNewDrawTrianglesItem:function(e,t,i,l){null==i&&(i=!1),null==t&&(t=!1);var n=null,s=flixel_graphics_tile_FlxDrawBaseItem.blendToInt(l);if(null!=flixel_FlxCamera._storageTrianglesHead){n=flixel_FlxCamera._storageTrianglesHead;var a=flixel_FlxCamera._storageTrianglesHead.nextTyped;n.reset(),flixel_FlxCamera._storageTrianglesHead=a}else n=new flixel_graphics_tile_FlxDrawTrianglesItem;return n.graphics=e,n.antialiasing=t,n.colored=i,n.blending=s,n.nextTyped=this._headTriangles,this._headTriangles=n,null==this._headOfDrawStack&&(this._headOfDrawStack=n),null!=this._currentDrawItem&&(this._currentDrawItem.next=n),this._currentDrawItem=n,n},clearDrawStack:function(){for(var e,t=this._headTiles;null!=t;)e=t.nextTyped,t.reset(),t.nextTyped=flixel_FlxCamera._storageTilesHead,flixel_FlxCamera._storageTilesHead=t,t=e;for(var i,l=this._headTriangles;null!=l;)i=l.nextTyped,l.reset(),l.nextTyped=flixel_FlxCamera._storageTrianglesHead,flixel_FlxCamera._storageTrianglesHead=l,l=i;this._currentDrawItem=null,this._headOfDrawStack=null,this._headTiles=null,this._headTriangles=null},render:function(){for(var e=this._headOfDrawStack;null!=e;)e.render(this),e=e.next},drawPixels:function(e,t,i,l,n,s,a){if(null==s&&(s=!1),flixel_FlxG.renderBlit)this._helperMatrix.copyFrom(i),this._useBlitMatrix?(this._helperMatrix.concat(this._blitMatrix),this.buffer.draw(t,this._helperMatrix,null,null,null,s||this.antialiasing)):(this._helperMatrix.translate(-this.viewOffsetX,-this.viewOffsetY),this.buffer.draw(t,this._helperMatrix,null,n,null,s||this.antialiasing));else{var r=null!=l&&flixel_util_FlxColorTransformUtil.hasRGBMultipliers(l),_=null!=l&&flixel_util_FlxColorTransformUtil.hasRGBAOffsets(l);this.startQuadBatch(e.parent,r,_,n,s,a).addQuad(e,i,l)}},copyPixels:function(e,t,i,l,n,s,a,r){if(null==a&&(a=!1),flixel_FlxG.renderBlit)null!=t?this._useBlitMatrix?(this._helperMatrix.identity(),this._helperMatrix.translate(l.x,l.y),this._helperMatrix.concat(this._blitMatrix),this.buffer.draw(t,this._helperMatrix,null,null,null,a||this.antialiasing)):(this._helperPoint.x=l.x-(0|this.viewOffsetX),this._helperPoint.y=l.y-(0|this.viewOffsetY),this.buffer.copyPixels(t,i,this._helperPoint,null,null,!0)):null!=e&&e.paint(this.buffer,l,!0);else{this._helperMatrix.identity(),this._helperMatrix.translate(l.x+e.offset.x,l.y+e.offset.y);var _=null!=n&&flixel_util_FlxColorTransformUtil.hasRGBMultipliers(n),o=null!=n&&flixel_util_FlxColorTransformUtil.hasRGBAOffsets(n);this.startQuadBatch(e.parent,_,o,s,a,r).addQuad(e,this._helperMatrix,n)}},drawTriangles:function(e,t,i,l,n,s,a,r,_){if(null==_&&(_=!1),null==r&&(r=!1),flixel_FlxG.renderBlit){null==s&&(s=flixel_FlxCamera.renderPoint.set());var o=this._bounds,h=0,u=0,d=this.width;null==(y=this.height)&&(y=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=y;var c,p,f=t.get_length(),m=0,x=0;(o=flixel_FlxCamera.renderRect).x=0,o.y=0,o.width=0,o.height=0;var g=o;for(flixel_FlxCamera.drawVertices.splice(0,flixel_FlxCamera.drawVertices.get_length());x<f;){if(c=s.x+t.get(x),p=s.y+t.get(x+1),flixel_FlxCamera.drawVertices.set(m++,c),flixel_FlxCamera.drawVertices.set(m++,p),0==x){var h=c,u=p,d=0;null==(y=0)&&(y=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),g.x=h,g.y=u,g.width=d,g.height=y}else c<g.x&&(g.width+=g.x-c,g.x=c),p<g.y&&(g.height+=g.y-p,g.y=p),c>g.x+g.width&&(g.width=c-g.x),p>g.y+g.height&&(g.height=p-g.y);x+=2}s._weak&&s.put();var o=this._bounds,F=g.x+g.width>o.x&&g.x<o.x+o.width&&g.y+g.height>o.y&&g.y<o.y+o.height;g._weak&&(g._inPool||(g._inPool=!0,g._weak=!1,flixel_math_FlxRect._pool.putUnsafe(g))),F?(flixel_FlxCamera.trianglesSprite.get_graphics().clear(),flixel_FlxCamera.trianglesSprite.get_graphics().beginBitmapFill(e.bitmap,null,r,_),flixel_FlxCamera.trianglesSprite.get_graphics().drawTriangles(flixel_FlxCamera.drawVertices,i,l),flixel_FlxCamera.trianglesSprite.get_graphics().endFill(),this._useBlitMatrix?this._helperMatrix.copyFrom(this._blitMatrix):(this._helperMatrix.identity(),this._helperMatrix.translate(-this.viewOffsetX,-this.viewOffsetY)),this.buffer.draw(flixel_FlxCamera.trianglesSprite,this._helperMatrix)):flixel_FlxCamera.drawVertices.splice(flixel_FlxCamera.drawVertices.get_length()-f,f),g._inPool||(g._inPool=!0,g._weak=!1,flixel_math_FlxRect._pool.putUnsafe(g))}else{var o=this._bounds,h=0,u=0,d=this.width,y=this.height;null==y&&(y=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=y;var S=null!=n&&0!=n.get_length();this.startTrianglesBatch(e,_,S,a).addTriangles(t,i,l,n,s,this._bounds)}},transformRect:function(e){return flixel_FlxG.renderBlit&&(e.x+=-this.viewOffsetX,e.y+=-this.viewOffsetY,this._useBlitMatrix&&(e.x*=this.zoom,e.y*=this.zoom,e.width*=this.zoom,e.height*=this.zoom)),e},transformPoint:function(e){if(flixel_FlxG.renderBlit){var t=this.viewOffsetX,i=this.viewOffsetY;null==i&&(i=0),null==t&&(t=0);var l=e;l.set_x(l.x-t),(l=e).set_y(l.y-i),this._useBlitMatrix&&e.scale(this.zoom)}return e},transformVector:function(e){return flixel_FlxG.renderBlit&&this._useBlitMatrix&&e.scale(this.zoom),e},transformObject:function(e){var t=e;return t.set_scaleX(t.get_scaleX()*this.totalScaleX),(t=e).set_scaleY(t.get_scaleY()*this.totalScaleY),(t=e).set_x(t.get_x()-this.scroll.x*this.totalScaleX),(t=e).set_y(t.get_y()-this.scroll.y*this.totalScaleY),(t=e).set_x(t.get_x()-.5*this.width*(this.scaleX-this.initialZoom)*flixel_FlxG.scaleMode.scale.x),(t=e).set_y(t.get_y()-.5*this.height*(this.scaleY-this.initialZoom)*flixel_FlxG.scaleMode.scale.y),e},destroy:function(){if(flixel_util_FlxDestroyUtil.removeChild(this.flashSprite,this._scrollRect),flixel_FlxG.renderBlit)flixel_util_FlxDestroyUtil.removeChild(this._scrollRect,this._flashBitmap),this.screen=flixel_util_FlxDestroyUtil.destroy(this.screen),this.buffer=null,this._flashBitmap=null,this._fill=flixel_util_FlxDestroyUtil.dispose(this._fill);else{if(flixel_util_FlxDestroyUtil.removeChild(this._scrollRect,this.canvas),null!=this.canvas){for(var e=0,t=this.canvas.get_numChildren();e<t;){e++;this.canvas.removeChildAt(0)}this.canvas=null}null!=this._headOfDrawStack&&this.clearDrawStack(),this._blitMatrix=null,this._helperMatrix=null,this._helperPoint=null}this._bounds=null,this.scroll=flixel_util_FlxDestroyUtil.put(this.scroll),this.targetOffset=flixel_util_FlxDestroyUtil.put(this.targetOffset),this.deadzone=flixel_util_FlxDestroyUtil.put(this.deadzone),this.target=null,this.flashSprite=null,this._scrollRect=null,this._flashRect=null,this._flashPoint=null,this._fxFlashComplete=null,this._fxFadeComplete=null,this._fxShakeComplete=null,flixel_FlxBasic.prototype.destroy.call(this)},update:function(e){null!=this.target&&this.updateFollow(),this.updateScroll(),this.updateFlash(e),this.updateFade(e),this.flashSprite.set_filters(this.filtersEnabled?this._filters:null),this.updateFlashSpritePosition(),this.updateShake(e)},updateScroll:function(){var e=this.zoom/flixel_FlxG.initialZoom,t=null==this.minScrollX?null:this.minScrollX-(e-1)*this.width/(2*e),i=null==this.maxScrollX?null:this.maxScrollX+(e-1)*this.width/(2*e),l=null==this.minScrollY?null:this.minScrollY-(e-1)*this.height/(2*e),n=null==this.maxScrollY?null:this.maxScrollY+(e-1)*this.height/(2*e),s=this.scroll.x,a=null!=i?i-this.width:null,r=null!=t&&s<t?t:s;this.scroll.set_x(null!=a&&r>a?a:r);var s=this.scroll.y,a=null!=n?n-this.height:null,r=null!=l&&s<l?l:s;this.scroll.set_y(null!=a&&r>a?a:r)},updateFollow:function(){if(null==this.deadzone){this.target.getMidpoint(this._point),this._point.addPoint(this.targetOffset);a=this._point;this.scroll.set(a.x-.5*this.width,a.y-.5*this.height),a._weak&&a.put()}else{var e,t=this.target.x+this.targetOffset.x,i=this.target.y+this.targetOffset.y;if(this.style==flixel_FlxCameraFollowStyle.SCREEN_BY_SCREEN?(t>=this.scroll.x+this.width?(r=this._scrollTarget).set_x(r.x+this.width):t<this.scroll.x&&(r=this._scrollTarget).set_x(r.x-this.width),i>=this.scroll.y+this.height?(r=this._scrollTarget).set_y(r.y+this.height):i<this.scroll.y&&(r=this._scrollTarget).set_y(r.y-this.height)):(e=t-this.deadzone.x,this._scrollTarget.x>e&&this._scrollTarget.set_x(e),e=t+this.target.get_width()-this.deadzone.x-this.deadzone.width,this._scrollTarget.x<e&&this._scrollTarget.set_x(e),e=i-this.deadzone.y,this._scrollTarget.y>e&&this._scrollTarget.set_y(e),e=i+this.target.get_height()-this.deadzone.y-this.deadzone.height,this._scrollTarget.y<e&&this._scrollTarget.set_y(e)),this.target instanceof flixel_FlxSprite){if(null==this._lastTargetPosition){var l=this.target.x,n=this.target.y;null==n&&(n=0),null==l&&(l=0),(a=flixel_math_FlxPoint._pool.get().set(l,n))._inPool=!1,this._lastTargetPosition=a}(r=this._scrollTarget).set_x(r.x+(this.target.x-this._lastTargetPosition.x)*this.followLead.x),(r=this._scrollTarget).set_y(r.y+(this.target.y-this._lastTargetPosition.y)*this.followLead.y),this._lastTargetPosition.set_x(this.target.x),this._lastTargetPosition.set_y(this.target.y)}if(this.followLerp>=60/flixel_FlxG.updateFramerate){var s=this.scroll,a=this._scrollTarget;s.set_x(a.x),s.set_y(a.y),a._weak&&a.put()}else{var r=this.scroll;r.set_x(r.x+(this._scrollTarget.x-this.scroll.x)*this.followLerp*flixel_FlxG.updateFramerate/60),(r=this.scroll).set_y(r.y+(this._scrollTarget.y-this.scroll.y)*this.followLerp*flixel_FlxG.updateFramerate/60)}}},updateFlash:function(e){this._fxFlashAlpha>0&&(this._fxFlashAlpha-=e/this._fxFlashDuration,this._fxFlashAlpha<=0&&null!=this._fxFlashComplete&&this._fxFlashComplete())},updateFade:function(e){this._fxFadeCompleted||(this._fxFadeIn?(this._fxFadeAlpha-=e/this._fxFadeDuration,this._fxFadeAlpha<=0&&(this._fxFadeAlpha=0,this.completeFade())):(this._fxFadeAlpha+=e/this._fxFadeDuration,this._fxFadeAlpha>=1&&(this._fxFadeAlpha=1,this.completeFade())))},completeFade:function(){this._fxFadeCompleted=!0,null!=this._fxFadeComplete&&this._fxFadeComplete()},updateShake:function(e){if(this._fxShakeDuration>0)if(this._fxShakeDuration-=e,this._fxShakeDuration<=0)null!=this._fxShakeComplete&&this._fxShakeComplete();else if(this._fxShakeAxes!=flixel_util_FlxAxes.Y&&(t=this.flashSprite).set_x(t.get_x()+flixel_FlxG.random.float(-this._fxShakeIntensity*this.width,this._fxShakeIntensity*this.width)*this.zoom*flixel_FlxG.scaleMode.scale.x),this._fxShakeAxes!=flixel_util_FlxAxes.X){var t=this.flashSprite;t.set_y(t.get_y()+flixel_FlxG.random.float(-this._fxShakeIntensity*this.height,this._fxShakeIntensity*this.height)*this.zoom*flixel_FlxG.scaleMode.scale.y)}},updateFlashSpritePosition:function(){null!=this.flashSprite&&(this.flashSprite.set_x(this.x*flixel_FlxG.scaleMode.scale.x+this._flashOffset.x),this.flashSprite.set_y(this.y*flixel_FlxG.scaleMode.scale.y+this._flashOffset.y))},updateFlashOffset:function(){this._flashOffset.set_x(.5*this.width*flixel_FlxG.scaleMode.scale.x*this.initialZoom),this._flashOffset.set_y(.5*this.height*flixel_FlxG.scaleMode.scale.y*this.initialZoom)},updateScrollRect:function(){var e=null!=this._scrollRect?this._scrollRect.get_scrollRect():null;null!=e&&(e.x=e.y=0,e.width=this.width*this.initialZoom*flixel_FlxG.scaleMode.scale.x,e.height=this.height*this.initialZoom*flixel_FlxG.scaleMode.scale.y,this._scrollRect.set_scrollRect(e),this._scrollRect.set_x(-.5*e.width),this._scrollRect.set_y(-.5*e.height))},updateInternalSpritePositions:function(){flixel_FlxG.renderBlit?null!=this._flashBitmap&&(this._flashBitmap.set_x(0),this._flashBitmap.set_y(0)):null!=this.canvas&&(this.canvas.set_x(-.5*this.width*(this.scaleX-this.initialZoom)*flixel_FlxG.scaleMode.scale.x),this.canvas.set_y(-.5*this.height*(this.scaleY-this.initialZoom)*flixel_FlxG.scaleMode.scale.y),this.canvas.set_scaleX(this.totalScaleX),this.canvas.set_scaleY(this.totalScaleY))},follow:function(e,t,i){null==t&&(t=flixel_FlxCameraFollowStyle.LOCKON),null==i&&(i=60/flixel_FlxG.updateFramerate),this.style=t,this.target=e,this.set_followLerp(i);var l,n=0,s=0;switch(this._lastTargetPosition=null,t._hx_index){case 0:null!=this.target&&(n=this.target.get_width(),s=this.target.get_height());var a=(this.width-n)/2,r=(this.height-s)/2-.25*s,_=n;null==(c=s)&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var o=flixel_math_FlxRect._pool.get(),h=a,u=r,d=_;null==(p=c)&&(p=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=p,(f=o)._inPool=!1,this.deadzone=f;break;case 1:var n=this.width/8,s=this.height/3,a=(this.width-n)/2,r=(this.height-s)/2-.25*s,_=n;null==(c=s)&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var o=flixel_math_FlxRect._pool.get(),h=a,u=r,d=_;null==(p=c)&&(p=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=p,(f=o)._inPool=!1,this.deadzone=f;break;case 2:l=Math.max(this.width,this.height)/4;var a=(this.width-l)/2,r=(this.height-l)/2,_=l;null==(c=l)&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var o=flixel_math_FlxRect._pool.get(),h=a,u=r,d=_;null==(p=c)&&(p=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=p,(f=o)._inPool=!1,this.deadzone=f;break;case 3:l=Math.max(this.width,this.height)/8;var a=(this.width-l)/2,r=(this.height-l)/2,_=l;null==(c=l)&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var o=flixel_math_FlxRect._pool.get(),h=a,u=r,d=_;null==(p=c)&&(p=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=p,(f=o)._inPool=!1,this.deadzone=f;break;case 4:var a=0,r=0,_=this.width,c=this.height;null==c&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var o=flixel_math_FlxRect._pool.get(),h=a,u=r,d=_,p=c;null==p&&(p=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=p;var f=o;f._inPool=!1,this.deadzone=f;break;case 5:this.deadzone=null}},snapToTarget:function(){this.updateFollow();var e=this.scroll,t=this._scrollTarget;e.set_x(t.x),e.set_y(t.y),t._weak&&t.put()},focusOn:function(e){this.scroll.set(e.x-.5*this.width,e.y-.5*this.height),e._weak&&e.put()},flash:function(e,t,i,l){null==l&&(l=!1),null==t&&(t=1),null==e&&(e=-1),!l&&this._fxFlashAlpha>0||(this._fxFlashColor=e,t<=0&&(t=1e-6),this._fxFlashDuration=t,this._fxFlashComplete=i,this._fxFlashAlpha=1)},fade:function(e,t,i,l,n){null==n&&(n=!1),null==i&&(i=!1),null==t&&(t=1),null==e&&(e=-16777216),(this._fxFadeCompleted||n)&&(this._fxFadeColor=e,t<=0&&(t=1e-6),this._fxFadeIn=i,this._fxFadeDuration=t,this._fxFadeComplete=l,this._fxFadeAlpha=this._fxFadeIn?.999999:1e-6,this._fxFadeCompleted=!1)},shake:function(e,t,i,l,n){null==l&&(l=!0),null==t&&(t=.5),null==e&&(e=.05),null==n&&(n=flixel_util_FlxAxes.XY),!l&&this._fxShakeDuration>0||(this._fxShakeIntensity=e,this._fxShakeDuration=t,this._fxShakeComplete=i,this._fxShakeAxes=n)},stopFX:function(){this._fxFlashAlpha=0,this._fxFadeAlpha=0,this._fxShakeDuration=0,this.updateFlashSpritePosition()},setFilters:function(e){this._filters=e},copyFrom:function(e){if(this.setScrollBounds(e.minScrollX,e.maxScrollX,e.minScrollY,e.maxScrollY),this.target=e.target,null!=this.target)if(null==e.deadzone)this.deadzone=null;else{if(null==this.deadzone){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;a._inPool=!1,this.deadzone=a}var t=this.deadzone,r=e.deadzone;t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height,r._weak&&(r._inPool||(r._inPool=!0,r._weak=!1,flixel_math_FlxRect._pool.putUnsafe(r)))}return this},fill:function(e,t,i,l){if(null==i&&(i=1),null==t&&(t=!0),flixel_FlxG.renderBlit)t?(this._fill.fillRect(this._flashRect,e),this.buffer.copyPixels(this._fill,this._flashRect,this._flashPoint,null,null,t)):this.buffer.fillRect(this._flashRect,e);else{if(0==i)return;var n=null==l?this.canvas.get_graphics():l;n.beginFill(e,i),n.drawRect(this.viewOffsetX-1,this.viewOffsetY-1,this.viewWidth+2,this.viewHeight+2),n.endFill()}},drawFX:function(){var e;this._fxFlashAlpha>0&&(e=this._fxFlashColor>>24&255,flixel_FlxG.renderBlit?this.fill((((e<=0?255:e)*this._fxFlashAlpha|0)<<24)+(16777215&this._fxFlashColor)):this.fill(16777215&this._fxFlashColor,!0,(e<=0?255:e)*this._fxFlashAlpha/255,this.canvas.get_graphics())),this._fxFadeAlpha>0&&(e=this._fxFadeColor>>24&255,flixel_FlxG.renderBlit?this.fill((((e<=0?255:e)*this._fxFadeAlpha|0)<<24)+(16777215&this._fxFadeColor)):this.fill(16777215&this._fxFadeColor,!0,(e<=0?255:e)*this._fxFadeAlpha/255,this.canvas.get_graphics()))},checkResize:function(){if(flixel_FlxG.renderBlit){if(this.width!=this.buffer.width||this.height!=this.buffer.height){var e=this.screen.graphic;this.buffer=new openfl_display_BitmapData(this.width,this.height,!0,0),this.screen.set_pixels(this.buffer),this.screen.origin.set(),this._flashBitmap.set_bitmapData(this.buffer),this._flashRect.width=this.width,this._flashRect.height=this.height,this._fill=flixel_util_FlxDestroyUtil.dispose(this._fill),this._fill=new openfl_display_BitmapData(this.width,this.height,!0,0),flixel_FlxG.bitmap.removeIfNoUse(e)}this._blitMatrix.identity(),this._blitMatrix.translate(-this.viewOffsetX,-this.viewOffsetY),this._blitMatrix.scale(this.scaleX,this.scaleY),this._useBlitMatrix=this.scaleX<this.initialZoom||this.scaleY<this.initialZoom}},updateBlitMatrix:function(){this._blitMatrix.identity(),this._blitMatrix.translate(-this.viewOffsetX,-this.viewOffsetY),this._blitMatrix.scale(this.scaleX,this.scaleY),this._useBlitMatrix=this.scaleX<this.initialZoom||this.scaleY<this.initialZoom},setSize:function(e,t){this.set_width(e),this.set_height(t)},setPosition:function(e,t){null==t&&(t=0),null==e&&(e=0),this.set_x(e),this.set_y(t)},setScrollBoundsRect:function(e,t,i,l,n){if(null==n&&(n=!1),null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),n){var s=flixel_FlxG.worldBounds,a=e,r=t,_=i,o=l;null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),s.x=a,s.y=r,s.width=_,s.height=o}this.setScrollBounds(e,e+i,t,t+l)},setScrollBounds:function(e,t,i,l){this.minScrollX=e,this.maxScrollX=t,this.minScrollY=i,this.maxScrollY=l,this.updateScroll()},setScale:function(e,t){this.scaleX=e,this.scaleY=t,this.totalScaleX=this.scaleX*flixel_FlxG.scaleMode.scale.x,this.totalScaleY=this.scaleY*flixel_FlxG.scaleMode.scale.y,flixel_FlxG.renderBlit&&(this._blitMatrix.identity(),this._blitMatrix.translate(-this.viewOffsetX,-this.viewOffsetY),this._blitMatrix.scale(this.scaleX,this.scaleY),this._useBlitMatrix=this.scaleX<this.initialZoom||this.scaleY<this.initialZoom,this._useBlitMatrix?(this._flashBitmap.set_scaleX(this.initialZoom*flixel_FlxG.scaleMode.scale.x),this._flashBitmap.set_scaleY(this.initialZoom*flixel_FlxG.scaleMode.scale.y)):(this._flashBitmap.set_scaleX(this.totalScaleX),this._flashBitmap.set_scaleY(this.totalScaleY))),this.viewOffsetX=.5*this.width*(this.scaleX-this.initialZoom)/this.scaleX,this.viewOffsetWidth=this.width-this.viewOffsetX,this.viewWidth=this.width-2*this.viewOffsetX,this.viewOffsetY=.5*this.height*(this.scaleY-this.initialZoom)/this.scaleY,this.viewOffsetHeight=this.height-this.viewOffsetY,this.viewHeight=this.height-2*this.viewOffsetY,this.updateScrollRect(),this.updateInternalSpritePositions(),flixel_FlxG.cameras.cameraResized.dispatch(this)},onResize:function(){this.updateFlashOffset(),this.setScale(this.scaleX,this.scaleY)},containsPoint:function(e,t,i){return null==i&&(i=0),null==t&&(t=0),e.x+t>this.viewOffsetX&&e.x<this.viewOffsetWidth&&e.y+i>this.viewOffsetY&&e.y<this.viewOffsetHeight},set_followLerp:function(e){var t=60/flixel_FlxG.updateFramerate,i=e<0?0:e;return this.followLerp=null!=t&&i>t?t:i},set_width:function(e){return this.width!=e&&e>0&&(this.width=e,this.viewOffsetX=.5*this.width*(this.scaleX-this.initialZoom)/this.scaleX,this.viewOffsetWidth=this.width-this.viewOffsetX,this.viewWidth=this.width-2*this.viewOffsetX,this.updateFlashOffset(),this.updateScrollRect(),this.updateInternalSpritePositions(),flixel_FlxG.cameras.cameraResized.dispatch(this)),e},set_height:function(e){return this.height!=e&&e>0&&(this.height=e,this.viewOffsetY=.5*this.height*(this.scaleY-this.initialZoom)/this.scaleY,this.viewOffsetHeight=this.height-this.viewOffsetY,this.viewHeight=this.height-2*this.viewOffsetY,this.updateFlashOffset(),this.updateScrollRect(),this.updateInternalSpritePositions(),flixel_FlxG.cameras.cameraResized.dispatch(this)),e},set_zoom:function(e){return this.zoom=0==e?flixel_FlxCamera.defaultZoom:e,this.setScale(this.zoom,this.zoom),this.zoom},set_alpha:function(e){var t=e<0?0:e;return this.alpha=t>1?1:t,flixel_FlxG.renderBlit?this._flashBitmap.set_alpha(e):this.canvas.set_alpha(e),e},set_angle:function(e){return this.angle=e,this.flashSprite.set_rotation(e),e},set_color:function(e){this.color=e;var t;if(flixel_FlxG.renderBlit){if(null==this._flashBitmap)return e;t=this._flashBitmap.get_transform().get_colorTransform()}else t=this.canvas.get_transform().get_colorTransform();return t.redMultiplier=(this.color>>16&255)/255,t.greenMultiplier=(this.color>>8&255)/255,t.blueMultiplier=(255&this.color)/255,flixel_FlxG.renderBlit?this._flashBitmap.get_transform().set_colorTransform(t):this.canvas.get_transform().set_colorTransform(t),e},set_antialiasing:function(e){return this.antialiasing=e,flixel_FlxG.renderBlit&&(this._flashBitmap.smoothing=e),e},set_x:function(e){return this.x=e,this.updateFlashSpritePosition(),e},set_y:function(e){return this.y=e,this.updateFlashSpritePosition(),e},set_visible:function(e){return null!=this.flashSprite&&this.flashSprite.set_visible(e),this.visible=e},calcOffsetX:function(){this.viewOffsetX=.5*this.width*(this.scaleX-this.initialZoom)/this.scaleX,this.viewOffsetWidth=this.width-this.viewOffsetX,this.viewWidth=this.width-2*this.viewOffsetX},calcOffsetY:function(){this.viewOffsetY=.5*this.height*(this.scaleY-this.initialZoom)/this.scaleY,this.viewOffsetHeight=this.height-this.viewOffsetY,this.viewHeight=this.height-2*this.viewOffsetY},__class__:flixel_FlxCamera,__properties__:$extend(flixel_FlxBasic.prototype.__properties__,{set_antialiasing:"set_antialiasing",set_color:"set_color",set_angle:"set_angle",set_alpha:"set_alpha",set_zoom:"set_zoom",set_height:"set_height",set_width:"set_width",set_followLerp:"set_followLerp",set_y:"set_y",set_x:"set_x"})});var flixel_FlxCameraFollowStyle=$hxEnums["flixel.FlxCameraFollowStyle"]={__ename__:"flixel.FlxCameraFollowStyle",__constructs__:["LOCKON","PLATFORMER","TOPDOWN","TOPDOWN_TIGHT","SCREEN_BY_SCREEN","NO_DEAD_ZONE"],LOCKON:{_hx_index:0,__enum__:"flixel.FlxCameraFollowStyle",toString:$estr},PLATFORMER:{_hx_index:1,__enum__:"flixel.FlxCameraFollowStyle",toString:$estr},TOPDOWN:{_hx_index:2,__enum__:"flixel.FlxCameraFollowStyle",toString:$estr},TOPDOWN_TIGHT:{_hx_index:3,__enum__:"flixel.FlxCameraFollowStyle",toString:$estr},SCREEN_BY_SCREEN:{_hx_index:4,__enum__:"flixel.FlxCameraFollowStyle",toString:$estr},NO_DEAD_ZONE:{_hx_index:5,__enum__:"flixel.FlxCameraFollowStyle",toString:$estr}},flixel_system_FlxVersion=function(e,t,i){this.major=e,this.minor=t,this.patch=i};$hxClasses["flixel.system.FlxVersion"]=flixel_system_FlxVersion,flixel_system_FlxVersion.__name__="flixel.system.FlxVersion",flixel_system_FlxVersion.prototype={major:null,minor:null,patch:null,toString:function(){var e=flixel_system_FlxVersion.sha;return""!=e&&(e="@"+e.substring(0,7)),"HaxeFlixel "+this.major+"."+this.minor+"."+this.patch+e},__class__:flixel_system_FlxVersion};var flixel_system_frontEnds_BitmapFrontEnd=function(){this._lastUniqueKeyIndex=0,this.reset()};$hxClasses["flixel.system.frontEnds.BitmapFrontEnd"]=flixel_system_frontEnds_BitmapFrontEnd,flixel_system_frontEnds_BitmapFrontEnd.__name__="flixel.system.frontEnds.BitmapFrontEnd",flixel_system_frontEnds_BitmapFrontEnd.prototype={_cache:null,_whitePixel:null,_lastUniqueKeyIndex:null,onAssetsReload:function(e){for(var t=haxe_ds_StringMap.keysIterator(this._cache.h);t.hasNext();){var i=t.next(),l=this._cache.h[i];null==l||null==l.assetsClass&&null==l.assetsKey||l.onAssetsReload()}},onContext:function(){for(var e=haxe_ds_StringMap.keysIterator(this._cache.h);e.hasNext();){var t=e.next(),i=this._cache.h[t];null!=i&&i.isDumped&&i.onContext()}},dumpCache:function(){},undumpCache:function(){},checkCache:function(e){return null!=this._cache.h[e]},create:function(e,t,i,l,n){return null==l&&(l=!1),flixel_graphics_FlxGraphic.fromRectangle(e,t,i,l,n)},add:function(e,t,i){return null==t&&(t=!1),e instanceof flixel_graphics_FlxGraphic?flixel_graphics_FlxGraphic.fromGraphic(e,t,i):e instanceof openfl_display_BitmapData?flixel_graphics_FlxGraphic.fromBitmapData(e,t,i):flixel_graphics_FlxGraphic.fromAssetKey(Std.string(e),t,i)},addGraphic:function(e){return this._cache.h[e.key]=e,e},get:function(e){return this._cache.h[e]},findKeyForBitmap:function(e){for(var t=haxe_ds_StringMap.keysIterator(this._cache.h);t.hasNext();){var i=t.next(),l=this._cache.h[i];if(null!=l&&l.bitmap==e)return i}return null},getKeyForClass:function(e){return e.__name__},generateKey:function(e,t,i){null==i&&(i=!1);var l=t;return null==l&&(l=e),(i||null==l)&&(l=this.getUniqueKey(l)),l},getUniqueKey:function(e){if(null==e&&(e="pixels"),null==this._cache.h[e])return e;for(var t,i=this._lastUniqueKeyIndex;;)if(++i,t=e+i,null==this._cache.h[t])break;return this._lastUniqueKeyIndex=i,t},getKeyWithSpacesAndBorders:function(e,t,i,l,n){var s=e;return null!=n&&(s+="_Region:"+n.x+"_"+n.y+"_"+n.width+"_"+n.height),null!=t&&(s+="_FrameSize:"+t.x+"_"+t.y),null!=i&&(s+="_Spaces:"+i.x+"_"+i.y),null!=l&&(s+="_Border:"+l.x+"_"+l.y),s},remove:function(e){if(null!=e){var t=e.key;if(null!=t){openfl_utils_Assets.cache.removeBitmapData(t);var i=this._cache;Object.prototype.hasOwnProperty.call(i.h,t)&&delete i.h[t]}e.destroy()}},removeByKey:function(e){if(null!=e){var t=this._cache.h[e];if(null!=e){openfl_utils_Assets.cache.removeBitmapData(e);var i=this._cache;Object.prototype.hasOwnProperty.call(i.h,e)&&delete i.h[e]}null!=t&&t.destroy()}},removeIfNoUse:function(e){null==e||0!=e.get_useCount()||e.persist||this.remove(e)},clearCache:function(){if(null!=this._cache)for(var e=haxe_ds_StringMap.keysIterator(this._cache.h);e.hasNext();){var t=e.next(),i=this._cache.h[t];if(null!=i&&!i.persist&&i.get_useCount()<=0){if(null!=t){openfl_utils_Assets.cache.removeBitmapData(t);var l=this._cache;Object.prototype.hasOwnProperty.call(l.h,t)&&delete l.h[t]}i.destroy()}}else this._cache=new haxe_ds_StringMap},removeKey:function(e){if(null!=e){openfl_utils_Assets.cache.removeBitmapData(e);var t=this._cache;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}},reset:function(){if(null!=this._cache)for(var e=haxe_ds_StringMap.keysIterator(this._cache.h);e.hasNext();){var t=e.next(),i=this._cache.h[t];if(null!=t){openfl_utils_Assets.cache.removeBitmapData(t);var l=this._cache;Object.prototype.hasOwnProperty.call(l.h,t)&&delete l.h[t]}null!=i&&i.destroy()}else this._cache=new haxe_ds_StringMap},clearUnused:function(){for(var e=haxe_ds_StringMap.keysIterator(this._cache.h);e.hasNext();){var t=e.next(),i=this._cache.h[t];null!=i&&i.get_useCount()<=0&&!i.persist&&i.get_destroyOnNoUse()&&this.removeByKey(t)}},get_maxTextureSize:function(){return lime_graphics_opengl_GL.context.getParameter(3379)},get_whitePixel:function(){if(null==this._whitePixel){var e=new openfl_display_BitmapData(10,10,!0,-1),t=flixel_FlxG.bitmap.add(e,!0,"whitePixels");t.persist=!0,this._whitePixel=t.get_imageFrame().get_frame()}return this._whitePixel},__class__:flixel_system_frontEnds_BitmapFrontEnd,__properties__:{get_whitePixel:"get_whitePixel",get_maxTextureSize:"get_maxTextureSize"}};var flixel_system_frontEnds_BitmapLogFrontEnd=function(){};$hxClasses["flixel.system.frontEnds.BitmapLogFrontEnd"]=flixel_system_frontEnds_BitmapLogFrontEnd,flixel_system_frontEnds_BitmapLogFrontEnd.__name__="flixel.system.frontEnds.BitmapLogFrontEnd",flixel_system_frontEnds_BitmapLogFrontEnd.prototype={add:function(e,t){null==t&&(t="")},clear:function(){},clearAt:function(e){null==e&&(e=-1)},viewCache:function(){},__class__:flixel_system_frontEnds_BitmapLogFrontEnd};var flixel_system_frontEnds_CameraFrontEnd=function(){this._cameraRect=new openfl_geom_Rectangle,this.useBufferLocking=!1,this.cameraResized=new flixel_util__$FlxSignal_FlxSignal1,this.cameraRemoved=new flixel_util__$FlxSignal_FlxSignal1,this.cameraAdded=new flixel_util__$FlxSignal_FlxSignal1,this.list=[],flixel_FlxCamera.defaultCameras=this.list};$hxClasses["flixel.system.frontEnds.CameraFrontEnd"]=flixel_system_frontEnds_CameraFrontEnd,flixel_system_frontEnds_CameraFrontEnd.__name__="flixel.system.frontEnds.CameraFrontEnd",flixel_system_frontEnds_CameraFrontEnd.prototype={list:null,cameraAdded:null,cameraRemoved:null,cameraResized:null,useBufferLocking:null,_cameraRect:null,add:function(e){return flixel_FlxG.game.addChildAt(e.flashSprite,flixel_FlxG.game.getChildIndex(flixel_FlxG.game._inputContainer)),flixel_FlxG.cameras.list.push(e),e.ID=flixel_FlxG.cameras.list.length-1,this.cameraAdded.dispatch(e),e},remove:function(e,t){null==t&&(t=!0);var i=this.list.indexOf(e);if(null!=e&&-1!=i){if(flixel_FlxG.game.removeChild(e.flashSprite),this.list.splice(i,1),flixel_FlxG.renderTile)for(var l=0,n=this.list.length;l<n;){var s=l++;this.list[s].ID=s}t&&e.destroy(),this.cameraRemoved.dispatch(e)}},reset:function(e){for(;this.list.length>0;)this.remove(this.list[0]);null==e&&(e=new flixel_FlxCamera(0,0,flixel_FlxG.width,flixel_FlxG.height)),flixel_FlxG.camera=this.add(e),e.ID=0,flixel_FlxCamera.defaultCameras=this.list},flash:function(e,t,i,l){null==l&&(l=!1),null==t&&(t=1),null==e&&(e=-1);for(var n=0,s=this.list;n<s.length;){var a=s[n];++n,a.flash(e,t,i,l)}},fade:function(e,t,i,l,n){null==n&&(n=!1),null==i&&(i=!1),null==t&&(t=1),null==e&&(e=-16777216);for(var s=0,a=this.list;s<a.length;){var r=a[s];++s,r.fade(e,t,i,l,n)}},shake:function(e,t,i,l,n){null==l&&(l=!0),null==t&&(t=.5),null==e&&(e=.05);for(var s=0,a=this.list;s<a.length;){var r=a[s];++s,r.shake(e,t,i,l,n)}},lock:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,null!=i&&i.exists&&i.visible&&(flixel_FlxG.renderBlit&&(i.checkResize(),this.useBufferLocking&&i.buffer.lock()),flixel_FlxG.renderTile&&(i.clearDrawStack(),i.canvas.get_graphics().clear()),flixel_FlxG.renderBlit?(i.fill(i.bgColor,i.useBgAlphaBlending),i.screen.dirty=!0):i.fill(16777215&i.bgColor,i.useBgAlphaBlending,(i.bgColor>>24&255)/255))}},render:function(){if(flixel_FlxG.renderTile)for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,null!=i&&i.exists&&i.visible&&i.render()}},unlock:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,null!=i&&i.exists&&i.visible&&(i.drawFX(),flixel_FlxG.renderBlit&&(this.useBufferLocking&&i.buffer.unlock(),i.screen.dirty=!0))}},update:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];++t,null!=l&&l.exists&&l.active&&l.update(e)}},resize:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i.onResize()}},get_bgColor:function(){return null==flixel_FlxG.camera?-16777216:flixel_FlxG.camera.bgColor},set_bgColor:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];++t,l.bgColor=e}return e},__class__:flixel_system_frontEnds_CameraFrontEnd,__properties__:{set_bgColor:"set_bgColor",get_bgColor:"get_bgColor"}};var flixel_system_frontEnds_ConsoleFrontEnd=function(){this.stepAfterCommand=!0,this.autoPause=!0};$hxClasses["flixel.system.frontEnds.ConsoleFrontEnd"]=flixel_system_frontEnds_ConsoleFrontEnd,flixel_system_frontEnds_ConsoleFrontEnd.__name__="flixel.system.frontEnds.ConsoleFrontEnd",flixel_system_frontEnds_ConsoleFrontEnd.prototype={autoPause:null,stepAfterCommand:null,registerFunction:function(e,t){},registerObject:function(e,t){},registerClass:function(e){},registerEnum:function(e){},__class__:flixel_system_frontEnds_ConsoleFrontEnd};var flixel_system_frontEnds_DebuggerFrontEnd=function(){this.visible=!1,this.visibilityChanged=new flixel_util__$FlxSignal_FlxSignal0,this.drawDebugChanged=new flixel_util__$FlxSignal_FlxSignal0,this.drawDebug=!1,this.toggleKeys=[113,192,220],this.precision=3};$hxClasses["flixel.system.frontEnds.DebuggerFrontEnd"]=flixel_system_frontEnds_DebuggerFrontEnd,flixel_system_frontEnds_DebuggerFrontEnd.__name__="flixel.system.frontEnds.DebuggerFrontEnd",flixel_system_frontEnds_DebuggerFrontEnd.prototype={precision:null,toggleKeys:null,drawDebug:null,drawDebugChanged:null,visibilityChanged:null,visible:null,setLayout:function(e){},resetLayout:function(){},addButton:function(e,t,i,l,n){return null==n&&(n=!0),null==l&&(l=!1),null},track:function(e,t){return null},addTrackerProfile:function(e){},removeButton:function(e,t){null==t&&(t=!0)},set_drawDebug:function(e){return this.drawDebug==e?this.drawDebug:(this.drawDebug=e,this.drawDebug)},set_visible:function(e){return this.visible==e?this.visible:(this.visible=e,this.visible)},__class__:flixel_system_frontEnds_DebuggerFrontEnd,__properties__:{set_visible:"set_visible",set_drawDebug:"set_drawDebug"}};var flixel_system_frontEnds_HTML5FrontEnd=function(){this.browser=this.getBrowser(),this.platform=this.getPlatform(),this.onMobile=this.getOnMobile()};$hxClasses["flixel.system.frontEnds.HTML5FrontEnd"]=flixel_system_frontEnds_HTML5FrontEnd,flixel_system_frontEnds_HTML5FrontEnd.__name__="flixel.system.frontEnds.HTML5FrontEnd",flixel_system_frontEnds_HTML5FrontEnd.prototype={browser:null,platform:null,onMobile:null,browserPosition:null,getBrowser:function(){return this.userAgentContains(" OPR/")?flixel_system_frontEnds_FlxBrowser.OPERA:this.userAgentContains("chrome",!0)?flixel_system_frontEnds_FlxBrowser.CHROME:"Netscape"==$global.navigator.appName?flixel_system_frontEnds_FlxBrowser.FIREFOX:document.documentMode?flixel_system_frontEnds_FlxBrowser.INTERNET_EXPLORER:Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0?flixel_system_frontEnds_FlxBrowser.SAFARI:flixel_system_frontEnds_FlxBrowser.UNKNOWN},getPlatform:function(){return this.userAgentContains("Win")?flixel_system_frontEnds_FlxPlatform.WINDOWS:this.userAgentContains("IEMobile")?flixel_system_frontEnds_FlxPlatform.WINDOWS_PHONE:this.userAgentContains("Android")?flixel_system_frontEnds_FlxPlatform.ANDROID:this.userAgentContains("Linux")?flixel_system_frontEnds_FlxPlatform.LINUX:this.userAgentContains("BlackBerry")?flixel_system_frontEnds_FlxPlatform.BLACKBERRY:this.userAgentContains("iPhone")?flixel_system_frontEnds_FlxPlatform.IOS(flixel_system_frontEnds_FlxIOSDevice.IPHONE):this.userAgentContains("iPad")?flixel_system_frontEnds_FlxPlatform.IOS(flixel_system_frontEnds_FlxIOSDevice.IPAD):this.userAgentContains("iPod")?flixel_system_frontEnds_FlxPlatform.IOS(flixel_system_frontEnds_FlxIOSDevice.IPOD):this.userAgentContains("Mac")?flixel_system_frontEnds_FlxPlatform.MAC:flixel_system_frontEnds_FlxPlatform.UNKNOWN},getOnMobile:function(){var e=this.platform;switch(e._hx_index){case 3:case 4:case 5:return!0;case 6:e.device;return!0;default:return!1}},userAgentContains:function(e,t){null==t&&(t=!1);var i=$global.navigator.userAgent;return t&&(i=i.toLowerCase()),-1!=i.indexOf(e)},get_browserPosition:function(){if(null==this.browserPosition){var e=0,t=0;null==t&&(t=0),null==e&&(e=0);var i=flixel_math_FlxPoint._pool.get().set(e,t);i._inPool=!1,this.browserPosition=i}return this.browserPosition.set(window.screenX,window.screenY),this.browserPosition},get_browserWidth:function(){return window.innerWidth},get_browserHeight:function(){return window.innerHeight},__class__:flixel_system_frontEnds_HTML5FrontEnd,__properties__:{get_browserPosition:"get_browserPosition",get_browserHeight:"get_browserHeight",get_browserWidth:"get_browserWidth"}};var flixel_system_frontEnds_InputFrontEnd=function(){this.resetOnStateSwitch=!0,this.list=[]};$hxClasses["flixel.system.frontEnds.InputFrontEnd"]=flixel_system_frontEnds_InputFrontEnd,flixel_system_frontEnds_InputFrontEnd.__name__="flixel.system.frontEnds.InputFrontEnd",flixel_system_frontEnds_InputFrontEnd.prototype={add_flixel_input_actions_FlxActionManager:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},add_flixel_input_gamepad_FlxGamepadManager:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},add_flixel_input_touch_FlxTouchManager:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},add_flixel_input_keyboard_FlxKeyboard:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},replace_flixel_input_mouse_FlxMouse:function(e,t){for(var i=0,l=!1,n=0,s=this.list;n<s.length;){var a=s[n];if(++n,a==e){this.list[i]=t,l=!0;break}++i}return l?t:null},add_flixel_input_mouse_FlxMouse:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},list:null,resetOnStateSwitch:null,reset:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i.reset()}},update:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i.update()}},onFocus:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i.onFocus()}},onFocusLost:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i.onFocusLost()}},onStateSwitch:function(){this.resetOnStateSwitch&&this.reset()},destroy:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i=flixel_util_FlxDestroyUtil.destroy(i)}},__class__:flixel_system_frontEnds_InputFrontEnd};var flixel_system_frontEnds_LogFrontEnd=function(){this.redirectTraces=!1,this._standardTraceFunction=haxe_Log.trace};$hxClasses["flixel.system.frontEnds.LogFrontEnd"]=flixel_system_frontEnds_LogFrontEnd,flixel_system_frontEnds_LogFrontEnd.__name__="flixel.system.frontEnds.LogFrontEnd",flixel_system_frontEnds_LogFrontEnd.prototype={redirectTraces:null,_standardTraceFunction:null,add:function(e){},warn:function(e){},error:function(e){},notice:function(e){},advanced:function(e,t,i){null==i&&(i=!1)},clear:function(){},set_redirectTraces:function(e){return haxe_Log.trace=e?$bind(this,this.processTraceData):this._standardTraceFunction,this.redirectTraces=e},processTraceData:function(e,t){var i=[e];if(null!=t.customParams)for(var l=0,n=t.customParams;l<n.length;){var s=n[l];++l,i.push(s)}this.advanced(i,flixel_system_debug_log_LogStyle.NORMAL)},__class__:flixel_system_frontEnds_LogFrontEnd,__properties__:{set_redirectTraces:"set_redirectTraces"}};var haxe_Log=function(){};$hxClasses["haxe.Log"]=haxe_Log,haxe_Log.__name__="haxe.Log",haxe_Log.formatOutput=function(e,t){var i=Std.string(e);if(null==t)return i;var l=t.fileName+":"+t.lineNumber;if(null!=t.customParams)for(var n=0,s=t.customParams;n<s.length;){var e=s[n];++n,i+=", "+Std.string(e)}return l+": "+i},haxe_Log.trace=function(e,t){var i=haxe_Log.formatOutput(e,t);"undefined"!=typeof console&&null!=console.log&&console.log(i)};var js_Boot=function(){};$hxClasses["js.Boot"]=js_Boot,js_Boot.__name__="js.Boot",js_Boot.getClass=function(e){if(null==e)return null;if(e instanceof Array)return Array;var t=e.__class__;if(null!=t)return t;var i=js_Boot.__nativeClassName(e);return null!=i?js_Boot.__resolveNativeClass(i):null},js_Boot.__string_rec=function(e,t){if(null==e)return"null";if(t.length>=5)return"<...>";var i=typeof e;switch("function"==i&&(e.__name__||e.__ename__)&&(i="object"),i){case"function":return"<function>";case"object":if(e.__enum__){var l=$hxEnums[e.__enum__],n=l.__constructs__[e._hx_index],s=l[n];return s.__params__?(t+="\t",n+"("+function(i){for(var l=[],n=0,a=s.__params__;;){if(!(n<a.length))break;var r=a[n];n+=1,l.push(js_Boot.__string_rec(e[r],t))}return l}().join(",")+")"):n}if(e instanceof Array){u="[";t+="\t";for(var a=0,r=e.length;a<r;){var _=a++;u+=(_>0?",":"")+js_Boot.__string_rec(e[_],t)}return u+="]"}var o;try{o=e.toString}catch(a){return haxe_NativeStackTrace.lastError=a,"???"}if(null!=o&&o!=Object.toString&&"function"==typeof o){var h=e.toString();if("[object Object]"!=h)return h}var u="{\n";t+="\t";var d=null!=e.hasOwnProperty,c=null;for(c in e)d&&!e.hasOwnProperty(c)||"prototype"!=c&&"__class__"!=c&&"__super__"!=c&&"__interfaces__"!=c&&"__properties__"!=c&&(2!=u.length&&(u+=", \n"),u+=t+c+" : "+js_Boot.__string_rec(e[c],t));return t=t.substring(1),u+="\n"+t+"}";case"string":return e;default:return String(e)}},js_Boot.__interfLoop=function(e,t){if(null==e)return!1;if(e==t)return!0;var i=e.__interfaces__;if(null!=i)for(var l=0,n=i.length;l<n;){var s=i[l++];if(s==t||js_Boot.__interfLoop(s,t))return!0}return js_Boot.__interfLoop(e.__super__,t)},js_Boot.__instanceof=function(e,t){if(null==t)return!1;switch(t){case Array:return e instanceof Array;case Bool:return"boolean"==typeof e;case Dynamic:return null!=e;case Float:return"number"==typeof e;case Int:return"number"==typeof e&&(0|e)===e;case String:return"string"==typeof e;default:if(null==e)return!1;if("function"==typeof t){if(js_Boot.__downcastCheck(e,t))return!0}else if("object"==typeof t&&js_Boot.__isNativeObj(t)&&e instanceof t)return!0;return t==Class&&null!=e.__name__||(t==Enum&&null!=e.__ename__||null!=e.__enum__&&$hxEnums[e.__enum__]==t)}},js_Boot.__downcastCheck=function(e,t){return e instanceof t||!!t.__isInterface__&&js_Boot.__interfLoop(js_Boot.getClass(e),t)},js_Boot.__implements=function(e,t){return js_Boot.__interfLoop(js_Boot.getClass(e),t)},js_Boot.__cast=function(e,t){if(null==e||js_Boot.__instanceof(e,t))return e;throw haxe_Exception.thrown("Cannot cast "+Std.string(e)+" to "+Std.string(t))},js_Boot.__toStr=null,js_Boot.__nativeClassName=function(e){var t=js_Boot.__toStr.call(e).slice(8,-1);return"Object"==t||"Function"==t||"Math"==t||"JSON"==t?null:t},js_Boot.__isNativeObj=function(e){return null!=js_Boot.__nativeClassName(e)},js_Boot.__resolveNativeClass=function(e){return $global[e]};var flixel_math_FlxRandom=function(e){if(this.internalSeed=1,this._floatNormalRho=0,this._twoPI=2*Math.PI,this._floatNormalRand2=0,this._floatNormalRand1=0,this._hasFloatNormalSpare=!1,this.initialSeed=1,null!=e){l=(i=0|((l=e<1?1:e)>2147483646?2147483646:l))<1?1:i;this.initialSeed=0|(this.internalSeed=0|(l>2147483646?2147483646:l))}else{var t=2147483647*Math.random()|0,i=0|((l=t<1?1:t)>2147483646?2147483646:l),l=(i=0|((l=i<1?1:i)>2147483646?2147483646:l))<1?1:i;this.initialSeed=0|(this.internalSeed=0|(l>2147483646?2147483646:l))}};$hxClasses["flixel.math.FlxRandom"]=flixel_math_FlxRandom,flixel_math_FlxRandom.__name__="flixel.math.FlxRandom",flixel_math_FlxRandom.rangeBound=function(e){var t=e<1?1:e;return 0|(t>2147483646?2147483646:t)},flixel_math_FlxRandom.prototype={getObject_flixel_group_FlxTypedGroup_T:function(e,t,i,l){null==i&&(i=0);var n=null;if(0!=e.length){if(null==t){for(var s=[],a=0,r=e.length;a<r;){h=a++;s.push(1)}t=s}null==l&&(l=e.length-1);var _=e.length-1,o=i<0?0:i;i=0|(null!=_&&o>_?_:o);var _=e.length-1,o=l<0?0:l;(l=0|(null!=_&&o>_?_:o))<i&&(i+=l,i-=l=i-l),l>t.length-1&&(l=t.length-1);for(var s=[],a=i,r=l+1;a<r;){var h=a++;s.push(t[h])}flixel_math_FlxRandom._arrayFloatHelper=s,n=e[i+this.weightedPick(flixel_math_FlxRandom._arrayFloatHelper)]}return n},getObject_flixel_system_FlxSound:function(e,t,i,l){null==i&&(i=0);var n=null;if(0!=e.length){if(null==t){for(var s=[],a=0,r=e.length;a<r;){h=a++;s.push(1)}t=s}null==l&&(l=e.length-1);var _=e.length-1,o=i<0?0:i;i=0|(null!=_&&o>_?_:o);var _=e.length-1,o=l<0?0:l;(l=0|(null!=_&&o>_?_:o))<i&&(i+=l,i-=l=i-l),l>t.length-1&&(l=t.length-1);for(var s=[],a=i,r=l+1;a<r;){var h=a++;s.push(t[h])}flixel_math_FlxRandom._arrayFloatHelper=s,n=e[i+this.weightedPick(flixel_math_FlxRandom._arrayFloatHelper)]}return n},getObject_Array_String:function(e,t,i,l){null==i&&(i=0);var n=null;if(0!=e.length){if(null==t){for(var s=[],a=0,r=e.length;a<r;){h=a++;s.push(1)}t=s}null==l&&(l=e.length-1);var _=e.length-1,o=i<0?0:i;i=0|(null!=_&&o>_?_:o);var _=e.length-1,o=l<0?0:l;(l=0|(null!=_&&o>_?_:o))<i&&(i+=l,i-=l=i-l),l>t.length-1&&(l=t.length-1);for(var s=[],a=i,r=l+1;a<r;){var h=a++;s.push(t[h])}flixel_math_FlxRandom._arrayFloatHelper=s,n=e[i+this.weightedPick(flixel_math_FlxRandom._arrayFloatHelper)]}return n},initialSeed:null,resetInitialSeed:function(){var e=2147483647*Math.random()|0,t=0|((i=e<1?1:e)>2147483646?2147483646:i),i=(t=0|((i=t<1?1:t)>2147483646?2147483646:i))<1?1:t;return this.initialSeed=0|(this.internalSeed=0|(i>2147483646?2147483646:i))},int:function(e,t,i){if(null==t&&(t=2147483647),null==e&&(e=0),0==e&&2147483647==t&&null==i)return 0|(this.internalSeed=48271*this.internalSeed%2147483647);if(e==t)return e;if(e>t&&(e+=t,e-=t=e-t),null==i)return Math.floor(e+(this.internalSeed=48271*this.internalSeed%2147483647)/2147483647*(t-e+1));for(var l=0;;)if(l=Math.floor(e+(this.internalSeed=48271*this.internalSeed%2147483647)/2147483647*(t-e+1)),!(i.indexOf(l)>=0))break;return l},float:function(e,t,i){null==t&&(t=1),null==e&&(e=0);var l=0;if(0==e&&1==t&&null==i)return(this.internalSeed=48271*this.internalSeed%2147483647)/2147483647;if(e==t)l=e;else if(e>t&&(e+=t,e-=t=e-t),null==i)l=e+(this.internalSeed=48271*this.internalSeed%2147483647)/2147483647*(t-e);else for(;;)if(l=e+(this.internalSeed=48271*this.internalSeed%2147483647)/2147483647*(t-e),!(i.indexOf(l)>=0))break;return l},_hasFloatNormalSpare:null,_floatNormalRand1:null,_floatNormalRand2:null,_twoPI:null,_floatNormalRho:null,floatNormal:function(e,t){if(null==t&&(t=1),null==e&&(e=0),this._hasFloatNormalSpare)return this._hasFloatNormalSpare=!1,e+(l=t*this._floatNormalRho)*this._floatNormalRand2;this._hasFloatNormalSpare=!0;var i=this._twoPI*((this.internalSeed=48271*this.internalSeed%2147483647)/2147483647);this._floatNormalRho=Math.sqrt(-2*Math.log(1-(this.internalSeed=48271*this.internalSeed%2147483647)/2147483647));var l=t*this._floatNormalRho;return this._floatNormalRand1=Math.cos(i),this._floatNormalRand2=Math.sin(i),e+l*this._floatNormalRand1},bool:function(e){return null==e&&(e=50),this.float(0,100)<e},sign:function(e){null==e&&(e=50);var t=e;return null==t&&(t=50),this.float(0,100)<t?1:-1},weightedPick:function(e){for(var t=0,i=0,l=0;l<e.length;){var n=e[l];++l,t+=n}t=this.float(0,t);for(var l=0,s=e.length;l<s;){if(t<e[n=l++]){i=n;break}t-=e[n]}return i},color:function(e,t,i,l){null==l&&(l=!1);var n,s,a,r;null==e&&null==t?(n=this.int(0,255),s=this.int(0,255),a=this.int(0,255),r=null==i?this.int(0,255):i):null==t?(n=this.int(e>>16&255,255),s=l?n:this.int(e>>8&255,255),a=l?n:this.int(255&e,255),r=null==i?this.int(e>>24&255,255):i):null==e?(n=this.int(0,t>>16&255),s=l?n:this.int(0,t>>8&255),a=l?n:this.int(0,255&t),r=null==i?this.int(0,t>>24&255):i):(n=this.int(e>>16&255,t>>16&255),s=l?n:this.int(e>>8&255,t>>8&255),a=l?n:this.int(255&e,255&t),r=null==i?this.int(e>>24&255,t>>24&255):i),null==(i=r)&&(i=255);var _=flixel_util_FlxColor._new(),o=i;return null==o&&(o=255),_&=-16711681,_|=(n>255?255:n<0?0:n)<<16,_&=-65281,_|=(s>255?255:s<0?0:s)<<8,_&=-256,_|=a>255?255:a<0?0:a,_&=16777215,_|=(o>255?255:o<0?0:o)<<24},generate:function(){return this.internalSeed=48271*this.internalSeed%2147483647},internalSeed:null,set_initialSeed:function(e){var t=(e=0|((t=e<1?1:e)>2147483646?2147483646:t))<1?1:e;return this.initialSeed=0|(this.internalSeed=0|(t>2147483646?2147483646:t))},get_currentSeed:function(){return 0|this.internalSeed},set_currentSeed:function(e){var t=e<1?1:e;return 0|(this.internalSeed=0|(t>2147483646?2147483646:t))},__class__:flixel_math_FlxRandom,__properties__:{set_currentSeed:"set_currentSeed",get_currentSeed:"get_currentSeed",set_initialSeed:"set_initialSeed"}};var flixel_util_FlxSave=function(){this._closeRequested=!1};$hxClasses["flixel.util.FlxSave"]=flixel_util_FlxSave,flixel_util_FlxSave.__name__="flixel.util.FlxSave",flixel_util_FlxSave.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util_FlxSave.prototype={data:null,name:null,path:null,_sharedObject:null,_onComplete:null,_closeRequested:null,destroy:function(){this._sharedObject=null,this.name=null,this.path=null,this.data=null,this._onComplete=null,this._closeRequested=!1},bind:function(e,t){this.destroy(),this.name=e,this.path=t;try{this._sharedObject=openfl_net_SharedObject.getLocal(this.name,this.path)}catch(e){if(haxe_NativeStackTrace.lastError=e,haxe_Exception.caught(e).unwrap()instanceof openfl_errors_Error)return this.destroy(),!1;throw e}return this.data=this._sharedObject.data,!0},close:function(e,t){return null==e&&(e=0),this._closeRequested=!0,this.flush(e,t)},flush:function(e,t){if(null==e&&(e=0),!this.checkBinding())return!1;this._onComplete=t;var i=null;try{i=this._sharedObject.flush()}catch(e){if(haxe_NativeStackTrace.lastError=e,haxe_Exception.caught(e).unwrap()instanceof openfl_errors_Error)return this.onDone(flixel_util_FlxSaveStatus.ERROR);throw e}return this.onDone(0==i?flixel_util_FlxSaveStatus.SUCCESS:flixel_util_FlxSaveStatus.PENDING)},erase:function(){return!!this.checkBinding()&&(this._sharedObject.clear(),this.data={},!0)},onDone:function(e){return e._hx_index,null!=this._onComplete&&this._onComplete(e==flixel_util_FlxSaveStatus.SUCCESS),this._closeRequested&&this.destroy(),e==flixel_util_FlxSaveStatus.SUCCESS},checkBinding:function(){return null!=this._sharedObject},__class__:flixel_util_FlxSave};var flixel_system_scaleModes_BaseScaleMode=function(){this.verticalAlign=flixel_util_FlxVerticalAlign.CENTER,this.horizontalAlign=flixel_util_FlxHorizontalAlign.CENTER;var e=flixel_math_FlxPoint._pool.get().set(0,0);e._inPool=!1,this.deviceSize=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.gameSize=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.scale=e,(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.offset=e};$hxClasses["flixel.system.scaleModes.BaseScaleMode"]=flixel_system_scaleModes_BaseScaleMode,flixel_system_scaleModes_BaseScaleMode.__name__="flixel.system.scaleModes.BaseScaleMode",flixel_system_scaleModes_BaseScaleMode.prototype={deviceSize:null,gameSize:null,scale:null,offset:null,horizontalAlign:null,verticalAlign:null,onMeasure:function(e,t){flixel_FlxG.width=flixel_FlxG.initialWidth,flixel_FlxG.height=flixel_FlxG.initialHeight,this.updateGameSize(e,t),this.updateDeviceSize(e,t),this.updateScaleOffset(),this.updateGamePosition()},updateGameSize:function(e,t){this.gameSize.set(e,t)},updateDeviceSize:function(e,t){this.deviceSize.set(e,t)},updateScaleOffset:function(){this.scale.set_x(this.gameSize.x/(flixel_FlxG.width*flixel_FlxG.initialZoom)),this.scale.set_y(this.gameSize.y/(flixel_FlxG.height*flixel_FlxG.initialZoom)),this.updateOffsetX(),this.updateOffsetY()},updateOffsetX:function(){var e;switch(this.horizontalAlign._hx_index){case 0:e=0;break;case 1:e=Math.ceil(.5*(this.deviceSize.x-this.gameSize.x));break;case 2:e=this.deviceSize.x-this.gameSize.x}this.offset.set_x(e)},updateOffsetY:function(){var e;switch(this.verticalAlign._hx_index){case 0:e=0;break;case 1:e=Math.ceil(.5*(this.deviceSize.y-this.gameSize.y));break;case 2:e=this.deviceSize.y-this.gameSize.y}this.offset.set_y(e)},updateGamePosition:function(){null!=flixel_FlxG.game&&(flixel_FlxG.game.set_x(this.offset.x),flixel_FlxG.game.set_y(this.offset.y))},set_horizontalAlign:function(e){return this.horizontalAlign=e,null!=this.offset&&(this.updateOffsetX(),this.updateGamePosition()),e},set_verticalAlign:function(e){return this.verticalAlign=e,null!=this.offset&&(this.updateOffsetY(),this.updateGamePosition()),e},__class__:flixel_system_scaleModes_BaseScaleMode,__properties__:{set_verticalAlign:"set_verticalAlign",set_horizontalAlign:"set_horizontalAlign"}};var flixel_system_scaleModes_RatioScaleMode=function(e){null==e&&(e=!1),flixel_system_scaleModes_BaseScaleMode.call(this),this.fillScreen=e};$hxClasses["flixel.system.scaleModes.RatioScaleMode"]=flixel_system_scaleModes_RatioScaleMode,flixel_system_scaleModes_RatioScaleMode.__name__="flixel.system.scaleModes.RatioScaleMode",flixel_system_scaleModes_RatioScaleMode.__super__=flixel_system_scaleModes_BaseScaleMode,flixel_system_scaleModes_RatioScaleMode.prototype=$extend(flixel_system_scaleModes_BaseScaleMode.prototype,{fillScreen:null,updateGameSize:function(e,t){var i=flixel_FlxG.width/flixel_FlxG.height,l=e/t<i;this.fillScreen&&(l=!l),l?(this.gameSize.set_x(e),this.gameSize.set_y(Math.floor(this.gameSize.x/i))):(this.gameSize.set_y(t),this.gameSize.set_x(Math.floor(this.gameSize.y*i)))},__class__:flixel_system_scaleModes_RatioScaleMode});var flixel_system_frontEnds_SignalFrontEnd=function(){this.focusLost=new flixel_util__$FlxSignal_FlxSignal0,this.focusGained=new flixel_util__$FlxSignal_FlxSignal0,this.postDraw=new flixel_util__$FlxSignal_FlxSignal0,this.preDraw=new flixel_util__$FlxSignal_FlxSignal0,this.postUpdate=new flixel_util__$FlxSignal_FlxSignal0,this.preUpdate=new flixel_util__$FlxSignal_FlxSignal0,this.postGameStart=new flixel_util__$FlxSignal_FlxSignal0,this.preGameStart=new flixel_util__$FlxSignal_FlxSignal0,this.postGameReset=new flixel_util__$FlxSignal_FlxSignal0,this.preGameReset=new flixel_util__$FlxSignal_FlxSignal0,this.gameResized=new flixel_util__$FlxSignal_FlxSignal2,this.preStateCreate=new flixel_util__$FlxSignal_FlxSignal1,this.postStateSwitch=new flixel_util__$FlxSignal_FlxSignal0,this.preStateSwitch=new flixel_util__$FlxSignal_FlxSignal0};$hxClasses["flixel.system.frontEnds.SignalFrontEnd"]=flixel_system_frontEnds_SignalFrontEnd,flixel_system_frontEnds_SignalFrontEnd.__name__="flixel.system.frontEnds.SignalFrontEnd",flixel_system_frontEnds_SignalFrontEnd.prototype={preStateSwitch:null,postStateSwitch:null,preStateCreate:null,gameResized:null,preGameReset:null,postGameReset:null,preGameStart:null,postGameStart:null,preUpdate:null,postUpdate:null,preDraw:null,postDraw:null,focusGained:null,focusLost:null,get_stateSwitched:function(){return this.preStateSwitch},get_gameStarted:function(){return this.postGameStart},__class__:flixel_system_frontEnds_SignalFrontEnd,__properties__:{get_gameStarted:"get_gameStarted",get_stateSwitched:"get_stateSwitched"}};var flixel_system_frontEnds_WatchFrontEnd=function(){};$hxClasses["flixel.system.frontEnds.WatchFrontEnd"]=flixel_system_frontEnds_WatchFrontEnd,flixel_system_frontEnds_WatchFrontEnd.__name__="flixel.system.frontEnds.WatchFrontEnd",flixel_system_frontEnds_WatchFrontEnd.prototype={add:function(e,t,i){},remove:function(e,t){},addQuick:function(e,t){},removeQuick:function(e){},addExpression:function(e,t){},removeExpression:function(e){},addMouse:function(){},removeMouse:function(){},__class__:flixel_system_frontEnds_WatchFrontEnd};var flixel_FlxG=function(){};$hxClasses["flixel.FlxG"]=flixel_FlxG,flixel_FlxG.__name__="flixel.FlxG",flixel_FlxG.__properties__={set_mouse:"set_mouse",set_fullscreen:"set_fullscreen",get_fullscreen:"get_fullscreen",set_scaleMode:"set_scaleMode",get_onMobile:"get_onMobile",set_drawFramerate:"set_drawFramerate",set_updateFramerate:"set_updateFramerate",get_state:"get_state",get_stage:"get_stage"},flixel_FlxG.camera=null,flixel_FlxG.game=null,flixel_FlxG.updateFramerate=null,flixel_FlxG.drawFramerate=null,flixel_FlxG.renderMethod=null,flixel_FlxG.renderBlit=null,flixel_FlxG.renderTile=null,flixel_FlxG.width=null,flixel_FlxG.height=null,flixel_FlxG.mouse=null,flixel_FlxG.touches=null,flixel_FlxG.keys=null,flixel_FlxG.gamepads=null,flixel_FlxG.accelerometer=null,flixel_FlxG.vcr=null,flixel_FlxG.plugins=null,flixel_FlxG.sound=null,flixel_FlxG.resizeGame=function(e,t){flixel_FlxG.scaleMode.onMeasure(e,t)},flixel_FlxG.resizeWindow=function(e,t){},flixel_FlxG.resetGame=function(){flixel_FlxG.game._resetGame=!0},flixel_FlxG.switchState=function(e){flixel_FlxG.game._state.switchTo(e)&&(flixel_FlxG.game._requestedState=e)},flixel_FlxG.resetState=function(){var e=Type.createInstance(js_Boot.getClass(flixel_FlxG.game._state),[]);flixel_FlxG.game._state.switchTo(e)&&(flixel_FlxG.game._requestedState=e)},flixel_FlxG.overlap=function(e,t,i,l){null==e&&(e=flixel_FlxG.game._state),t==e&&(t=null),flixel_system_FlxQuadTree.divisions=flixel_FlxG.worldDivisions;var n=flixel_system_FlxQuadTree.recycle(flixel_FlxG.worldBounds.x,flixel_FlxG.worldBounds.y,flixel_FlxG.worldBounds.width,flixel_FlxG.worldBounds.height);n.load(e,t,i,l);var s=n.execute();return n.destroy(),s},flixel_FlxG.pixelPerfectOverlap=function(e,t,i,l){return null==i&&(i=255),flixel_util_FlxCollision.pixelPerfectCheck(e,t,i,l)},flixel_FlxG.collide=function(e,t,i){return flixel_FlxG.overlap(e,t,i,flixel_FlxObject.separate)},flixel_FlxG.addChildBelowMouse=function(e,t){null==t&&(t=0);var i=flixel_FlxG.game.getChildIndex(flixel_FlxG.game._inputContainer),l=flixel_FlxG.game.get_numChildren();return i=flixel_math_FlxMath.maxAdd(i,t,l),flixel_FlxG.game.addChildAt(e,i),e},flixel_FlxG.removeChild=function(e){return flixel_FlxG.game.contains(e)&&flixel_FlxG.game.removeChild(e),e},flixel_FlxG.addPostProcess=function(e){return e},flixel_FlxG.removePostProcess=function(e){},flixel_FlxG.openURL=function(e,t){null==t&&(t="_blank");var i="";new EReg("^https?://","").match(e)||(i="http://"),openfl_Lib.getURL(new openfl_net_URLRequest(i+e),t)},flixel_FlxG.init=function(e,t,i,l){flixel_FlxG.game=e,flixel_FlxG.width=0|Math.abs(t),flixel_FlxG.height=0|Math.abs(i),flixel_FlxG.initRenderMethod(),flixel_FlxG.initialWidth=flixel_FlxG.width,flixel_FlxG.initialHeight=flixel_FlxG.height,flixel_FlxG.initialZoom=flixel_FlxCamera.defaultZoom=l;var t=openfl_Lib.get_current().stage.stageWidth,i=openfl_Lib.get_current().stage.stageHeight;flixel_FlxG.scaleMode.onMeasure(t,i),flixel_FlxG.keys=flixel_FlxG.inputs.add_flixel_input_keyboard_FlxKeyboard(new flixel_input_keyboard_FlxKeyboard),flixel_FlxG.set_mouse(flixel_FlxG.inputs.add_flixel_input_mouse_FlxMouse(new flixel_input_mouse_FlxMouse(flixel_FlxG.game._inputContainer))),flixel_FlxG.touches=flixel_FlxG.inputs.add_flixel_input_touch_FlxTouchManager(new flixel_input_touch_FlxTouchManager),flixel_FlxG.gamepads=flixel_FlxG.inputs.add_flixel_input_gamepad_FlxGamepadManager(new flixel_input_gamepad_FlxGamepadManager),flixel_FlxG.accelerometer=new flixel_input_FlxAccelerometer,flixel_FlxG.save.bind("flixel"),flixel_FlxG.plugins=new flixel_system_frontEnds_PluginFrontEnd,flixel_FlxG.vcr=new flixel_system_frontEnds_VCRFrontEnd,flixel_FlxG.sound=new flixel_system_frontEnds_SoundFrontEnd},flixel_FlxG.initRenderMethod=function(){flixel_FlxG.renderMethod=flixel_FlxRenderMethod.BLITTING;var e;switch(openfl_Lib.get_current().stage.window.context.type){case"opengl":case"opengles":case"webgl":e=flixel_FlxRenderMethod.DRAW_TILES;break;default:e=flixel_FlxRenderMethod.BLITTING}flixel_FlxG.renderMethod=e,flixel_FlxG.renderBlit=flixel_FlxG.renderMethod==flixel_FlxRenderMethod.BLITTING,flixel_FlxG.renderTile=flixel_FlxG.renderMethod==flixel_FlxRenderMethod.DRAW_TILES,flixel_FlxObject.defaultPixelPerfectPosition=flixel_FlxG.renderBlit},flixel_FlxG.reset=function(){var e=flixel_FlxG.random,t=2147483647*Math.random()|0,i=0|((l=t<1?1:t)>2147483646?2147483646:l),l=(i=0|((l=i<1?1:i)>2147483646?2147483646:l))<1?1:i;e.initialSeed=0|(e.internalSeed=0|(l>2147483646?2147483646:l)),flixel_FlxG.bitmap.reset(),flixel_FlxG.inputs.reset(),flixel_FlxG.sound.destroy(!0),flixel_FlxG.autoPause=!0,flixel_FlxG.fixedTimestep=!0,flixel_FlxG.timeScale=1,flixel_FlxG.elapsed=0,flixel_FlxG.maxElapsed=.1;var e=flixel_FlxG.worldBounds,n=-10,s=-10,a=flixel_FlxG.width+20,r=flixel_FlxG.height+20;null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),e.x=n,e.y=s,e.width=a,e.height=r,flixel_FlxG.worldDivisions=6},flixel_FlxG.set_scaleMode=function(e){return flixel_FlxG.scaleMode=e,flixel_FlxG.game.onResize(null),e},flixel_FlxG.set_mouse=function(e){if(null==flixel_FlxG.mouse)return flixel_FlxG.mouse=flixel_FlxG.inputs.add_flixel_input_mouse_FlxMouse(e),flixel_FlxG.mouse;var t=flixel_FlxG.mouse,i=flixel_FlxG.inputs.replace_flixel_input_mouse_FlxMouse(t,e);return null!=i?(flixel_FlxG.mouse=i,t.destroy(),e):t},flixel_FlxG.set_updateFramerate=function(e){flixel_FlxG.drawFramerate;return flixel_FlxG.updateFramerate=e,flixel_FlxG.game._stepMS=Math.abs(1e3/e),flixel_FlxG.game._stepSeconds=flixel_FlxG.game._stepMS/1e3,flixel_FlxG.game._maxAccumulation<flixel_FlxG.game._stepMS&&(flixel_FlxG.game._maxAccumulation=flixel_FlxG.game._stepMS),e},flixel_FlxG.set_drawFramerate=function(e){flixel_FlxG.updateFramerate;return flixel_FlxG.drawFramerate=0|Math.abs(e),null!=flixel_FlxG.game.stage&&flixel_FlxG.game.stage.set_frameRate(flixel_FlxG.drawFramerate),flixel_FlxG.game._maxAccumulation=2e3/flixel_FlxG.drawFramerate-1,flixel_FlxG.game._maxAccumulation<flixel_FlxG.game._stepMS&&(flixel_FlxG.game._maxAccumulation=flixel_FlxG.game._stepMS),e},flixel_FlxG.get_fullscreen=function(){return 0==openfl_Lib.get_current().stage.get_displayState()||1==openfl_Lib.get_current().stage.get_displayState()},flixel_FlxG.set_fullscreen=function(e){return openfl_Lib.get_current().stage.set_displayState(e?0:2),e},flixel_FlxG.get_stage=function(){return openfl_Lib.get_current().stage},flixel_FlxG.get_state=function(){return flixel_FlxG.game._state},flixel_FlxG.get_onMobile=function(){return flixel_FlxG.html5.onMobile};var flixel_FlxRenderMethod=$hxEnums["flixel.FlxRenderMethod"]={__ename__:"flixel.FlxRenderMethod",__constructs__:["DRAW_TILES","BLITTING"],DRAW_TILES:{_hx_index:0,__enum__:"flixel.FlxRenderMethod",toString:$estr},BLITTING:{_hx_index:1,__enum__:"flixel.FlxRenderMethod",toString:$estr}},flixel_FlxGame=function(e,t,i,l,n,s,a,r){null==r&&(r=!1),null==a&&(a=!1),null==s&&(s=60),null==n&&(n=60),null==l&&(l=1),null==t&&(t=0),null==e&&(e=0),this._resetGame=!1,this._skipSplash=!1,this._customSoundTray=flixel_system_ui_FlxSoundTray,this._lostFocus=!1,this._startTime=0,this._total=0,this._gameJustStarted=!1,this.filtersEnabled=!0,this.ticks=0,this.focusLostFramerate=10,openfl_display_Sprite.call(this),this._inputContainer=new openfl_display_Sprite,0==e&&(e=openfl_Lib.get_current().stage.stageWidth),0==t&&(t=openfl_Lib.get_current().stage.stageHeight),flixel_FlxG.init(this,e,t,l),flixel_FlxG.set_updateFramerate(n),flixel_FlxG.set_drawFramerate(s),this._accumulator=this._stepMS,this._skipSplash=a,this._initialState=null==i?flixel_FlxState:i,this.addEventListener("addedToStage",$bind(this,this.create))};$hxClasses["flixel.FlxGame"]=flixel_FlxGame,flixel_FlxGame.__name__="flixel.FlxGame",flixel_FlxGame.__super__=openfl_display_Sprite,flixel_FlxGame.prototype=$extend(openfl_display_Sprite.prototype,{focusLostFramerate:null,soundTray:null,ticks:null,filtersEnabled:null,_gameJustStarted:null,_initialState:null,_state:null,_total:null,_startTime:null,_accumulator:null,_elapsedMS:null,_stepMS:null,_stepSeconds:null,_maxAccumulation:null,_lostFocus:null,_filters:null,_inputContainer:null,_customSoundTray:null,_skipSplash:null,_requestedState:null,_resetGame:null,setFilters:function(e){this._filters=e},create:function(e){if(null!=this.stage){this.removeEventListener("addedToStage",$bind(this,this.create)),this._startTime=this.getTimer(),this._total=this.getTimer()-this._startTime,this.stage.set_scaleMode(2),this.stage.align=6,this.stage.set_frameRate(flixel_FlxG.drawFramerate),this.addChild(this._inputContainer),this.soundTray=Type.createInstance(this._customSoundTray,[]),this.addChild(this.soundTray),this.stage.addEventListener("deactivate",$bind(this,this.onFocusLost)),this.stage.addEventListener("activate",$bind(this,this.onFocus)),flixel_FlxG.signals.preGameReset.dispatch(),this._skipSplash||null!=flixel_system_FlxSplash.nextState?(this._requestedState=Type.createInstance(this._initialState,[]),null==flixel_system_FlxSplash.nextState&&(this._gameJustStarted=!0)):(flixel_system_FlxSplash.nextState=this._initialState,this._requestedState=new flixel_system_FlxSplash,this._skipSplash=!0),flixel_FlxG.reset(),flixel_FlxG.signals.postGameReset.dispatch(),this.switchState();flixel_FlxG.updateFramerate,flixel_FlxG.drawFramerate;this.stage.addEventListener("enterFrame",$bind(this,this.onEnterFrame)),this.stage.addEventListener("resize",$bind(this,this.onResize)),this.resizeGame(openfl_Lib.get_current().stage.stageWidth,openfl_Lib.get_current().stage.stageHeight),openfl_utils_Assets.addEventListener("change",($_=flixel_FlxG.bitmap,$bind($_,$_.onAssetsReload)))}},onFocus:function(e){if(this._lostFocus=!1,flixel_FlxG.signals.focusGained.dispatch(),this._state.onFocus(),flixel_FlxG.autoPause){this.stage.set_frameRate(flixel_FlxG.drawFramerate),flixel_FlxG.sound.onFocus();for(var t=0,i=flixel_FlxG.inputs.list;t<i.length;){var l=i[t];++t,l.onFocus()}}},onFocusLost:function(e){if(this._lostFocus=!0,flixel_FlxG.signals.focusLost.dispatch(),this._state.onFocusLost(),flixel_FlxG.autoPause){this.stage.set_frameRate(this.focusLostFramerate),flixel_FlxG.sound.onFocusLost();for(var t=0,i=flixel_FlxG.inputs.list;t<i.length;){var l=i[t];++t,l.onFocusLost()}}},onResize:function(e){var t=openfl_Lib.get_current().stage.stageWidth,i=openfl_Lib.get_current().stage.stageHeight;flixel_FlxG.renderTile&&flixel_FlxG.bitmap.onContext(),this.resizeGame(t,i)},resizeGame:function(e,t){flixel_FlxG.scaleMode.onMeasure(e,t),this._state.onResize(e,t),flixel_FlxG.cameras.resize(),flixel_FlxG.signals.gameResized.dispatch(e,t),null!=this.soundTray&&this.soundTray.screenCenter()},onEnterFrame:function(e){if(this.ticks=this.getTimer()-this._startTime,this._elapsedMS=this.ticks-this._total,this._total=this.ticks,null!=this.soundTray&&this.soundTray.active&&this.soundTray.update(this._elapsedMS),!this._lostFocus||!flixel_FlxG.autoPause){if(flixel_FlxG.vcr.paused)if(flixel_FlxG.vcr.stepRequested)flixel_FlxG.vcr.stepRequested=!1;else if(this._state==this._requestedState)return;if(flixel_FlxG.fixedTimestep)for(this._accumulator+=this._elapsedMS,this._accumulator=this._accumulator>this._maxAccumulation?this._maxAccumulation:this._accumulator;this._accumulator>=this._stepMS;)this.step(),this._accumulator-=this._stepMS;else this.step();this.draw()}},resetGame:function(){flixel_FlxG.signals.preGameReset.dispatch(),this._skipSplash||null!=flixel_system_FlxSplash.nextState?(this._requestedState=Type.createInstance(this._initialState,[]),null==flixel_system_FlxSplash.nextState&&(this._gameJustStarted=!0)):(flixel_system_FlxSplash.nextState=this._initialState,this._requestedState=new flixel_system_FlxSplash,this._skipSplash=!0),flixel_FlxG.reset(),flixel_FlxG.signals.postGameReset.dispatch()},switchState:function(){flixel_FlxG.cameras.reset(),flixel_FlxG.inputs.onStateSwitch(),flixel_FlxG.sound.destroy(),flixel_FlxG.signals.preStateSwitch.dispatch(),null!=this._state&&this._state.destroy(),flixel_FlxG.bitmap.clearCache(),this._state=this._requestedState,this._gameJustStarted&&flixel_FlxG.signals.preGameStart.dispatch(),flixel_FlxG.signals.preStateCreate.dispatch(this._state),this._state.create(),this._gameJustStarted&&this.gameStart(),flixel_FlxG.signals.postStateSwitch.dispatch()},gameStart:function(){flixel_FlxG.signals.postGameStart.dispatch(),this._gameJustStarted=!1},step:function(){this._resetGame&&(flixel_FlxG.signals.preGameReset.dispatch(),this._skipSplash||null!=flixel_system_FlxSplash.nextState?(this._requestedState=Type.createInstance(this._initialState,[]),null==flixel_system_FlxSplash.nextState&&(this._gameJustStarted=!0)):(flixel_system_FlxSplash.nextState=this._initialState,this._requestedState=new flixel_system_FlxSplash,this._skipSplash=!0),flixel_FlxG.reset(),flixel_FlxG.signals.postGameReset.dispatch(),this._resetGame=!1),this.handleReplayRequests(),this.update()},handleReplayRequests:function(){},update:function(){if(this._state.active&&this._state.exists){this._state!=this._requestedState&&this.switchState(),this.updateElapsed(),flixel_FlxG.signals.preUpdate.dispatch(),this.updateInput(),flixel_FlxG.sound.update(flixel_FlxG.elapsed);for(var e=flixel_FlxG.elapsed,t=0,i=flixel_FlxG.plugins.list;t<i.length;){var l=i[t];++t,l.exists&&l.active&&l.update(e)}this._state.tryUpdate(flixel_FlxG.elapsed);for(var e=flixel_FlxG.elapsed,t=0,i=flixel_FlxG.cameras.list;t<i.length;){var n=i[t];++t,null!=n&&n.exists&&n.active&&n.update(e)}flixel_FlxG.signals.postUpdate.dispatch(),flixel_util_FlxArrayUtil.clearArray(flixel_FlxG.swipes),this.set_filters(this.filtersEnabled?this._filters:null)}},updateElapsed:function(){if(flixel_FlxG.fixedTimestep)flixel_FlxG.elapsed=flixel_FlxG.timeScale*this._stepSeconds;else{flixel_FlxG.elapsed=flixel_FlxG.timeScale*(this._elapsedMS/1e3);var e=flixel_FlxG.maxElapsed*flixel_FlxG.timeScale;flixel_FlxG.elapsed>e&&(flixel_FlxG.elapsed=e)}},updateInput:function(){for(var e=0,t=flixel_FlxG.inputs.list;e<t.length;){var i=t[e];++e,i.update()}},draw:function(){if(this._state.visible&&this._state.exists){flixel_FlxG.signals.preDraw.dispatch(),flixel_FlxG.renderTile&&(flixel_graphics_tile_FlxDrawBaseItem.drawCalls=0);for(var e=flixel_FlxG.cameras,t=0,i=e.list;t<i.length;){n=i[t];++t,null!=n&&n.exists&&n.visible&&(flixel_FlxG.renderBlit&&(n.checkResize(),e.useBufferLocking&&n.buffer.lock()),flixel_FlxG.renderTile&&(n.clearDrawStack(),n.canvas.get_graphics().clear()),flixel_FlxG.renderBlit?(n.fill(n.bgColor,n.useBgAlphaBlending),n.screen.dirty=!0):n.fill(16777215&n.bgColor,n.useBgAlphaBlending,(n.bgColor>>24&255)/255))}for(var t=0,i=flixel_FlxG.plugins.list;t<i.length;){var l=i[t];++t,l.exists&&l.visible&&l.draw()}if(this._state.draw(),flixel_FlxG.renderTile&&flixel_FlxG.renderTile)for(var t=0,i=flixel_FlxG.cameras.list;t<i.length;){n=i[t];++t,null!=n&&n.exists&&n.visible&&n.render()}for(var t=0,i=(e=flixel_FlxG.cameras).list;t<i.length;){var n=i[t];++t,null!=n&&n.exists&&n.visible&&(n.drawFX(),flixel_FlxG.renderBlit&&(e.useBufferLocking&&n.buffer.unlock(),n.screen.dirty=!0))}flixel_FlxG.signals.postDraw.dispatch()}},getTicks:function(){return this.getTimer()-this._startTime},getTimer:function(){return openfl_Lib.getTimer()},__class__:flixel_FlxGame});var flixel_IFlxSprite=function(){};$hxClasses["flixel.IFlxSprite"]=flixel_IFlxSprite,flixel_IFlxSprite.__name__="flixel.IFlxSprite",flixel_IFlxSprite.__isInterface__=!0,flixel_IFlxSprite.__interfaces__=[flixel_IFlxBasic],flixel_IFlxSprite.prototype={set_x:null,set_y:null,set_alpha:null,set_angle:null,set_facing:null,set_moves:null,set_immovable:null,x:null,y:null,alpha:null,angle:null,facing:null,moves:null,immovable:null,offset:null,origin:null,scale:null,velocity:null,maxVelocity:null,acceleration:null,drag:null,scrollFactor:null,reset:null,setPosition:null,__class__:flixel_IFlxSprite,__properties__:{set_immovable:"set_immovable",set_moves:"set_moves",set_facing:"set_facing",set_angle:"set_angle",set_alpha:"set_alpha",set_y:"set_y",set_x:"set_x"}};var flixel_addons_display_FlxGridOverlay=function(){};$hxClasses["flixel.addons.display.FlxGridOverlay"]=flixel_addons_display_FlxGridOverlay,flixel_addons_display_FlxGridOverlay.__name__="flixel.addons.display.FlxGridOverlay",flixel_addons_display_FlxGridOverlay.create=function(e,t,i,l,n,s,a){if(null==a&&(a=-2501163),null==s&&(s=-1579290),null==n&&(n=!0),null==l&&(l=-1),null==i&&(i=-1),-1==i&&(i=flixel_FlxG.width),-1==l&&(l=flixel_FlxG.height),i<e||l<t)return null;var r=flixel_addons_display_FlxGridOverlay.createGrid(e,t,i,l,n,s,a),_=new flixel_FlxSprite;return _.set_pixels(r),_.dirty=!0,_},flixel_addons_display_FlxGridOverlay.overlay=function(e,t,i,l,n,s,a,r){if(null==r&&(r=-1998989867),null==a&&(a=-1998067994),null==s&&(s=!0),null==n&&(n=-1),null==l&&(l=-1),-1==l&&(l=flixel_FlxG.width),-1==n&&(n=flixel_FlxG.height),l<t||n<i)return null;var _=flixel_addons_display_FlxGridOverlay.createGrid(t,i,l,n,s,a,r);return e.get_pixels().copyPixels(_,new openfl_geom_Rectangle(0,0,l,n),new openfl_geom_Point(0,0),null,null,!0),e},flixel_addons_display_FlxGridOverlay.createGrid=function(e,t,i,l,n,s,a){for(var r=s,_=s,o=new openfl_display_BitmapData(i,l,!0),h=0;h<=l;){h>0&&_==r&&n?_=_==s?a:s:h>0&&_!=r&&0==n&&(_=_==a?s:a);for(var u=0;u<=i;)0==u&&(r=_),o.fillRect(new openfl_geom_Rectangle(u,h,e,t),_),_=_==s?a:s,u+=e;h+=t}return o};var flixel_addons_effects_FlxTrail=function(e,t,i,l,n,s){null==s&&(s=.05),null==n&&(n=.4),null==l&&(l=3),null==i&&(i=10),this._recentAnimations=[],this._recentFlipY=[],this._recentFlipX=[],this._recentFrames=[],this._recentScales=[],this._recentAngles=[],this._recentPositions=[],this._transp=1,this._trailLength=0,this._counter=0,this.framesEnabled=!0,this.scalesEnabled=!0,this.rotationsEnabled=!0,this.yEnabled=!0,this.xEnabled=!0,flixel_group_FlxTypedSpriteGroup.call(this),(r=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var a=r,r=e.origin;a.set_x(r.x),a.set_y(r.y),r._weak&&r.put(),this._spriteOrigin=a,this.target=e,this.delay=l,this._graphic=t,this._transp=n,this._difference=s,this.increaseLength(i),this.set_solid(!1)};$hxClasses["flixel.addons.effects.FlxTrail"]=flixel_addons_effects_FlxTrail,flixel_addons_effects_FlxTrail.__name__="flixel.addons.effects.FlxTrail",flixel_addons_effects_FlxTrail.__super__=flixel_group_FlxTypedSpriteGroup,flixel_addons_effects_FlxTrail.prototype=$extend(flixel_group_FlxTypedSpriteGroup.prototype,{target:null,delay:null,xEnabled:null,yEnabled:null,rotationsEnabled:null,scalesEnabled:null,framesEnabled:null,_counter:null,_trailLength:null,_graphic:null,_transp:null,_difference:null,_recentPositions:null,_recentAngles:null,_recentScales:null,_recentFrames:null,_recentFlipX:null,_recentFlipY:null,_recentAnimations:null,_spriteOrigin:null,destroy:function(){flixel_util_FlxDestroyUtil.putArray(this._recentPositions),flixel_util_FlxDestroyUtil.putArray(this._recentScales),this._recentAngles=null,this._recentPositions=null,this._recentScales=null,this._recentFrames=null,this._recentFlipX=null,this._recentFlipY=null,this._recentAnimations=null,this._spriteOrigin=null,this.target=null,this._graphic=null,flixel_group_FlxTypedSpriteGroup.prototype.destroy.call(this)},update:function(e){if(++this._counter>=this.delay&&this._trailLength>=1){this._counter=0;var t=null;if(this._recentPositions.length==this._trailLength?t=this._recentPositions.pop():((l=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,t=l),t.set(this.target.x-this.target.offset.x,this.target.y-this.target.offset.y),this._recentPositions.unshift(t),this.rotationsEnabled&&this.cacheValue(this._recentAngles,this.target.angle),this.scalesEnabled){var i=null;if(this._recentScales.length==this._trailLength)i=this._recentScales.pop();else{var l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1,i=l}i.set(this.target.scale.x,this.target.scale.y),this._recentScales.unshift(i)}this.framesEnabled&&null==this._graphic&&(this.cacheValue(this._recentFrames,this.target.animation.frameIndex),this.cacheValue(this._recentFlipX,this.target.flipX),this.cacheValue(this._recentFlipY,this.target.flipY),this.cacheValue(this._recentAnimations,this.target.animation._curAnim));for(var n,s=0,a=this._recentPositions.length;s<a;){var r=s++;if((n=this.group.members[r]).set_x(this._recentPositions[r].x),n.set_y(this._recentPositions[r].y),this.rotationsEnabled&&(n.set_angle(this._recentAngles[r]),n.origin.set_x(this._spriteOrigin.x),n.origin.set_y(this._spriteOrigin.y)),this.scalesEnabled&&(n.scale.set_x(this._recentScales[r].x),n.scale.set_y(this._recentScales[r].y)),this.framesEnabled&&null==this._graphic){n.animation.set_frameIndex(this._recentFrames[r]),n.set_flipX(this._recentFlipX[r]),n.set_flipY(this._recentFlipY[r]);var _=n.animation,o=this._recentAnimations[r];o!=_._curAnim&&(null!=_._curAnim&&_._curAnim.stop(),null!=o&&o.play()),_._curAnim=o}n.set_exists(!0)}}flixel_group_FlxTypedSpriteGroup.prototype.update.call(this,e)},cacheValue:function(e,t){e.unshift(t),flixel_util_FlxArrayUtil.setLength_cacheValue_T(e,this._trailLength)},resetTrail:function(){this._recentPositions.splice(0,this._recentPositions.length),this._recentAngles.splice(0,this._recentAngles.length),this._recentScales.splice(0,this._recentScales.length),this._recentFrames.splice(0,this._recentFrames.length),this._recentFlipX.splice(0,this._recentFlipX.length),this._recentFlipY.splice(0,this._recentFlipY.length),this._recentAnimations.splice(0,this._recentAnimations.length);for(var e=0,t=this.group.members.length;e<t;){var i=e++;null!=this.group.members[i]&&this.group.members[i].set_exists(!1)}},increaseLength:function(e){if(!(e<=0)){this._trailLength+=e;for(var t=0,i=e;t<i;){t++;var l=new flixel_FlxSprite(0,0);null==this._graphic?l.loadGraphicFromSprite(this.target):l.loadGraphic(this._graphic),l.set_exists(!1),this.add(l),l.set_alpha(this._transp),this._transp-=this._difference,l.set_solid((4369&this.allowCollisions)>0),l.alpha<=0&&l.kill()}}},changeGraphic:function(e){this._graphic=e;for(var t=0,i=this._trailLength;t<i;){var l=t++;this.group.members[l].loadGraphic(e)}},changeValuesEnabled:function(e,t,i,l){null==l&&(l=!0),null==i&&(i=!0),null==t&&(t=!0),this.rotationsEnabled=e,this.xEnabled=t,this.yEnabled=i,this.scalesEnabled=l},__class__:flixel_addons_effects_FlxTrail});var flixel_addons_effects_FlxTrailArea=function(e,t,i,l,n,s,a,r,_){null==r&&(r=!1),null==a&&(a=!1),null==s&&(s=2),null==n&&(n=.8),null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this._height=1,this._width=1,this._counter=0,this.alphaOffset=0,this.blueOffset=0,this.greenOffset=0,this.redOffset=0,this.blueMultiplier=1,this.greenMultiplier=1,this.redMultiplier=1,this.blendMode=null,this.simpleRender=!1,this.delay=2,flixel_FlxSprite.call(this,e,t),this.group=new flixel_group_FlxTypedGroup,this.delay=s,this.simpleRender=a,this.blendMode=_,this.set_antialiasing(r),this.alphaMultiplier=n,this.setSize(i,l),this.set_pixels(this._areaPixels)};$hxClasses["flixel.addons.effects.FlxTrailArea"]=flixel_addons_effects_FlxTrailArea,flixel_addons_effects_FlxTrailArea.__name__="flixel.addons.effects.FlxTrailArea",flixel_addons_effects_FlxTrailArea.__super__=flixel_FlxSprite,flixel_addons_effects_FlxTrailArea.prototype=$extend(flixel_FlxSprite.prototype,{delay:null,simpleRender:null,blendMode:null,group:null,redMultiplier:null,greenMultiplier:null,blueMultiplier:null,alphaMultiplier:null,redOffset:null,greenOffset:null,blueOffset:null,alphaOffset:null,_counter:null,_width:null,_height:null,_areaPixels:null,setSize:function(e,t){e<=0&&(e=flixel_FlxG.width),t<=0&&(t=flixel_FlxG.height),e==this._width&&t==this._height||(this._width=e,this._height=t,this._areaPixels=new openfl_display_BitmapData(0|this._width,0|this._height,!0,0))},destroy:function(){this.group=flixel_util_FlxDestroyUtil.destroy(this.group),this.blendMode=null,this.get_pixels()!=this._areaPixels&&this._areaPixels.dispose(),this._areaPixels=null,flixel_FlxSprite.prototype.destroy.call(this)},draw:function(){if(++this._counter>=this.delay){this._counter=0,this._areaPixels.lock();var e=new openfl_geom_ColorTransform(this.redMultiplier,this.greenMultiplier,this.blueMultiplier,this.alphaMultiplier,this.redOffset,this.greenOffset,this.blueOffset,this.alphaOffset);this._areaPixels.colorTransform(new openfl_geom_Rectangle(0,0,this._areaPixels.width,this._areaPixels.height),e);for(var t=0,i=this.group.members;t<i.length;){var l=i[t];if(++t,l.exists){var n=l.x-this.x-l.offset.x,s=l.y-this.y-l.offset.y;if(this.simpleRender)this._areaPixels.copyPixels(l.updateFramePixels(),new openfl_geom_Rectangle(0,0,l.frameWidth,l.frameHeight),new openfl_geom_Point(n,s),null,null,!0);else{var a=1!=l.scale.x||1!=l.scale.y,r=0!=l.angle&&l.bakedRotationAngle<=0;this._matrix.identity(),(r||a)&&(this._matrix.translate(-l.origin.x,-l.origin.y),a&&this._matrix.scale(l.scale.x,l.scale.y),r&&this._matrix.rotate(l.angle*(Math.PI/180)),this._matrix.translate(l.origin.x,l.origin.y)),this._matrix.translate(n,s),this._areaPixels.draw(l.updateFramePixels(),this._matrix,l.colorTransform,this.blendMode,null,this.antialiasing)}}}this._areaPixels.unlock(),this.set_pixels(this._areaPixels)}flixel_FlxSprite.prototype.draw.call(this)},resetTrail:function(){this._areaPixels.fillRect(new openfl_geom_Rectangle(0,0,this._areaPixels.width,this._areaPixels.height),0)},add:function(e){return this.group.add(e)},get_width:function(){return this._width},set_width:function(e){return e<=0&&(e=flixel_FlxG.width),e!=this._width&&(this._areaPixels=new openfl_display_BitmapData(0|e,0|this._height,!0,0)),this._width=e},get_height:function(){return this._height},set_height:function(e){return e<=0&&(e=flixel_FlxG.height),e!=this._height&&(this._areaPixels=new openfl_display_BitmapData(0|this._width,0|e,!0,0)),this._height=e},__class__:flixel_addons_effects_FlxTrailArea});var flixel_addons_effects_chainable_FlxEffectSprite=function(e,t){this.updateTargetAnimation=!0,this.effectsEnabled=!0,flixel_FlxSprite.call(this),this.target=e,this.effects=null!=t?t:[];var i=flixel_math_FlxPoint._pool.get().set(0,0);i._inPool=!1,this._effectOffset=i};$hxClasses["flixel.addons.effects.chainable.FlxEffectSprite"]=flixel_addons_effects_chainable_FlxEffectSprite,flixel_addons_effects_chainable_FlxEffectSprite.__name__="flixel.addons.effects.chainable.FlxEffectSprite",flixel_addons_effects_chainable_FlxEffectSprite.__super__=flixel_FlxSprite,flixel_addons_effects_chainable_FlxEffectSprite.prototype=$extend(flixel_FlxSprite.prototype,{effectsEnabled:null,target:null,updateTargetAnimation:null,effects:null,_effectOffset:null,destroy:function(){this.effects=flixel_util_FlxDestroyUtil.destroyArray(this.effects),this._effectOffset=flixel_util_FlxDestroyUtil.put(this._effectOffset),this.target=null,flixel_FlxSprite.prototype.destroy.call(this)},getScreenPosition:function(e,t){return flixel_FlxSprite.prototype.getScreenPosition.call(this,e,t).addPoint(this._effectOffset)},draw:function(){if(this.target.dirty&&this.target.drawFrame(),null!=this.target.framePixels){if(null!=this.get_pixels()&&this.get_pixels().width==this.target.framePixels.width&&this.get_pixels().height==this.target.framePixels.height?(this.get_pixels().fillRect(this.get_pixels().rect,0),this.get_pixels().draw(this.target.framePixels)):(flixel_util_FlxDestroyUtil.dispose(this.get_pixels()),this.set_pixels(this.target.framePixels.clone())),this._effectOffset.set(0,0),this.effectsEnabled){this.get_pixels().lock();for(var e=0,t=this.effects;e<t.length;){var i=t[e];++e,i.active&&(this.set_pixels(i.apply(this.get_pixels())),null!=i.offset&&this._effectOffset.addPoint(i.offset))}this.get_pixels().unlock(),this._flashRect=this.get_pixels().rect}flixel_FlxSprite.prototype.draw.call(this)}else flixel_FlxSprite.prototype.draw.call(this)},update:function(e){if(this.updateTargetAnimation&&this.target.animation._sprite.numFrames>1&&this.target.updateAnimation(e),this.effectsEnabled)for(var t=0,i=this.effects;t<i.length;){var l=i[t];++t,l.active&&l.update(e)}flixel_FlxSprite.prototype.update.call(this,e)},__class__:flixel_addons_effects_chainable_FlxEffectSprite});var flixel_addons_effects_chainable_IFlxEffect=function(){};$hxClasses["flixel.addons.effects.chainable.IFlxEffect"]=flixel_addons_effects_chainable_IFlxEffect,flixel_addons_effects_chainable_IFlxEffect.__name__="flixel.addons.effects.chainable.IFlxEffect",flixel_addons_effects_chainable_IFlxEffect.__isInterface__=!0,flixel_addons_effects_chainable_IFlxEffect.__interfaces__=[flixel_util_IFlxDestroyable],flixel_addons_effects_chainable_IFlxEffect.prototype={active:null,offset:null,update:null,apply:null,__class__:flixel_addons_effects_chainable_IFlxEffect};var flixel_addons_effects_chainable_FlxWaveEffect=function(e,t,i,l,n,s,a){null==a&&(a=0),null==n&&(n=5),null==l&&(l=3),null==i&&(i=.5),null==t&&(t=10),this._flashRect=new openfl_geom_Rectangle,this._flashPoint=new openfl_geom_Point,this._time=0;var r=flixel_math_FlxPoint._pool.get().set(0,0);r._inPool=!1,this.offset=r,this.active=!0,this.strength=t,this.mode=null==e?flixel_addons_effects_chainable_FlxWaveMode.ALL:e,this.speed=l,this.wavelength=n,this.direction=null!=s?s:flixel_addons_effects_chainable_FlxWaveDirection.HORIZONTAL,this.center=i,this.set_interlaceOffset(a)};$hxClasses["flixel.addons.effects.chainable.FlxWaveEffect"]=flixel_addons_effects_chainable_FlxWaveEffect,flixel_addons_effects_chainable_FlxWaveEffect.__name__="flixel.addons.effects.chainable.FlxWaveEffect",flixel_addons_effects_chainable_FlxWaveEffect.__interfaces__=[flixel_addons_effects_chainable_IFlxEffect],flixel_addons_effects_chainable_FlxWaveEffect.prototype={active:null,offset:null,mode:null,speed:null,center:null,direction:null,wavelength:null,strength:null,interlaceOffset:null,_time:null,_flashPoint:null,_flashRect:null,_pixels:null,destroy:function(){this._flashPoint=null,this._flashRect=null,this.offset=flixel_util_FlxDestroyUtil.put(this.offset),this._pixels=flixel_util_FlxDestroyUtil.dispose(this._pixels)},update:function(e){this._time+=e*this.speed},apply:function(e){var t=this.direction==flixel_addons_effects_chainable_FlxWaveDirection.HORIZONTAL?this.strength:0,i=this.direction==flixel_addons_effects_chainable_FlxWaveDirection.VERTICAL?this.strength:0;this.offset.set(-t,-i),null==this._pixels||this._pixels.width<e.width+2*t||this._pixels.height<e.height+2*i?(flixel_util_FlxDestroyUtil.dispose(this._pixels),this._pixels=new openfl_display_BitmapData(e.width+2*t,e.height+2*i,!0,0)):this._pixels.fillRect(this._pixels.rect,0);for(var l=this.direction==flixel_addons_effects_chainable_FlxWaveDirection.HORIZONTAL?e.height:e.width,n=0;n<l;){var s=0,a=l*this.center,r=1;switch(this.mode._hx_index){case 0:a=this.strength;break;case 1:n<=a?a=(1-n/a)*this.strength:(r=l-n,a=0);break;case 2:n>=a?a=(1-(1-n/l)/(1-this.center))*this.strength:(r=Math.ceil(a),a=0)}var _=0;0!=this.interlaceOffset&&1!=this.interlaceOffset&&0!=(1&(0|n))&&(_=2*Math.PI*this.interlaceOffset);var o=n/this.wavelength+this._time+_;(o*=.3183098862)>1?o-=Math.ceil(o)>>1<<1:o<-1&&(o+=Math.ceil(-o)>>1<<1),s=a*(o>0?o*(3.1+o*(.5+o*(3.6*o-7.2))):o*(3.1-o*(.5+o*(7.2+3.6*o)))),this.direction==flixel_addons_effects_chainable_FlxWaveDirection.HORIZONTAL?(this._flashPoint.setTo(this.strength+s,n),this._flashRect.setTo(0,n,e.width,r)):(this._flashPoint.setTo(n,this.strength+s),this._flashRect.setTo(n,0,r,e.height)),this._pixels.copyPixels(e,this._flashRect,this._flashPoint),n+=r}return flixel_util_FlxDestroyUtil.dispose(e),this._pixels.clone()},calculateOffset:function(e,t){var i=0;0!=this.interlaceOffset&&1!=this.interlaceOffset&&0!=(1&(0|e))&&(i=2*Math.PI*this.interlaceOffset);var l=e/this.wavelength+this._time+i;return l*=.3183098862,l>1?l-=Math.ceil(l)>>1<<1:l<-1&&(l+=Math.ceil(-l)>>1<<1),l>0?l*(3.1+l*(.5+l*(3.6*l-7.2))):l*(3.1-l*(.5+l*(7.2+3.6*l)))},set_interlaceOffset:function(e){var t=e<0?0:e;return this.interlaceOffset=t>1?1:t},__class__:flixel_addons_effects_chainable_FlxWaveEffect,__properties__:{set_interlaceOffset:"set_interlaceOffset"}};var flixel_addons_effects_chainable_FlxWaveMode=$hxEnums["flixel.addons.effects.chainable.FlxWaveMode"]={__ename__:"flixel.addons.effects.chainable.FlxWaveMode",__constructs__:["ALL","START","END"],ALL:{_hx_index:0,__enum__:"flixel.addons.effects.chainable.FlxWaveMode",toString:$estr},START:{_hx_index:1,__enum__:"flixel.addons.effects.chainable.FlxWaveMode",toString:$estr},END:{_hx_index:2,__enum__:"flixel.addons.effects.chainable.FlxWaveMode",toString:$estr}},flixel_addons_effects_chainable_FlxWaveDirection=$hxEnums["flixel.addons.effects.chainable.FlxWaveDirection"]={__ename__:"flixel.addons.effects.chainable.FlxWaveDirection",__constructs__:["HORIZONTAL","VERTICAL"],HORIZONTAL:{_hx_index:0,__enum__:"flixel.addons.effects.chainable.FlxWaveDirection",toString:$estr},VERTICAL:{_hx_index:1,__enum__:"flixel.addons.effects.chainable.FlxWaveDirection",toString:$estr}},openfl_media_Sound=function(e,t){openfl_events_EventDispatcher.call(this,this),this.bytesLoaded=0,this.bytesTotal=0,this.isBuffering=!1,this.url=null,null!=e&&this.load(e,t)};$hxClasses["openfl.media.Sound"]=openfl_media_Sound,openfl_media_Sound.__name__="openfl.media.Sound",openfl_media_Sound.fromAudioBuffer=function(e){var t=new openfl_media_Sound;return t.__buffer=e,t},openfl_media_Sound.fromFile=function(e){return openfl_media_Sound.fromAudioBuffer(lime_media_AudioBuffer.fromFile(e))},openfl_media_Sound.loadFromFile=function(e){return lime_media_AudioBuffer.loadFromFile(e).then(function(e){return lime_app_Future.withValue(openfl_media_Sound.fromAudioBuffer(e))})},openfl_media_Sound.loadFromFiles=function(e){return lime_media_AudioBuffer.loadFromFiles(e).then(function(e){return lime_app_Future.withValue(openfl_media_Sound.fromAudioBuffer(e))})},openfl_media_Sound.__super__=openfl_events_EventDispatcher,openfl_media_Sound.prototype=$extend(openfl_events_EventDispatcher.prototype,{bytesLoaded:null,bytesTotal:null,isBuffering:null,url:null,__buffer:null,close:function(){null!=this.__buffer&&(this.__buffer.dispose(),this.__buffer=null)},load:function(e,t){var i=this;this.url=e.url;var l=lime_utils_Assets.getLibrary("default");null!=l&&Object.prototype.hasOwnProperty.call(l.cachedAudioBuffers.h,this.url)?this.AudioBuffer_onURLLoad(l.cachedAudioBuffers.h[this.url]):lime_media_AudioBuffer.loadFromFile(this.url).onComplete($bind(this,this.AudioBuffer_onURLLoad)).onError(function(e){i.AudioBuffer_onURLLoad(null)})},loadCompressedDataFromByteArray:function(e,t){if(null==e||t<=0)this.dispatchEvent(new openfl_events_IOErrorEvent("ioError"));else{if(UInt.gt(e.position,0)||UInt.gt(openfl_utils_ByteArray.get_length(e),t)){var i=t;null==i&&(i=0);var l=new openfl_utils_ByteArrayData(i),n=e.position;null==(i=t)&&(i=0),null==n&&(n=0),l.writeBytes(e,n,i),e=l}this.__buffer=lime_media_AudioBuffer.fromBytes(openfl_utils_ByteArray.toBytes(e)),null==this.__buffer?this.dispatchEvent(new openfl_events_IOErrorEvent("ioError")):this.dispatchEvent(new openfl_events_Event("complete"))}},loadPCMFromByteArray:function(e,t,i,l,n){if(null==n&&(n=44100),null==l&&(l=!0),null==i&&(i="float"),null!=e){var s="float"==i?32:16,a=l?2:1,r=t*a*(s/8)|0;if(UInt.gt(e.position,0)||UInt.gt(openfl_utils_ByteArray.get_length(e),r)){var _=r;null==_&&(_=0);var o=d=new openfl_utils_ByteArrayData(_),h=e.position;null==(_=r)&&(_=0),null==h&&(h=0),o.writeBytes(e,h,_),e=o}var u=new lime_media_AudioBuffer;u.bitsPerSample=s,u.channels=a;var d,c=openfl_utils_ByteArray.toArrayBuffer(e);d=null!=c?new Uint8Array(c,0):null,u.data=d,u.sampleRate=0|n,this.__buffer=u,this.dispatchEvent(new openfl_events_Event("complete"))}else this.dispatchEvent(new openfl_events_IOErrorEvent("ioError"))},play:function(e,t,i){if(null==t&&(t=0),null==e&&(e=0),null==this.__buffer||openfl_media_SoundMixer.__soundChannels.length>=32)return null;i=null==i?new openfl_media_SoundTransform:i.clone();var l=openfl_media_SoundMixer.__soundTransform.pan+i.pan;l>1&&(l=1),l<-1&&(l=-1);var n=openfl_media_SoundMixer.__soundTransform.volume*i.volume,s=new lime_media_AudioSource(this.__buffer);s.offset=0|e,t>1&&s.set_loops(t-1),s.set_gain(n);var a=s.get_position();return a.x=l,a.z=-1*Math.sqrt(1-Math.pow(l,2)),s.set_position(a),new openfl_media_SoundChannel(s,i)},get_id3:function(){return new openfl_media_ID3Info},get_length:function(){return null!=this.__buffer?1e3*this.__buffer.get_src().duration()|0:0},AudioBuffer_onURLLoad:function(e){null==e?this.dispatchEvent(new openfl_events_IOErrorEvent("ioError")):(this.__buffer=e,this.dispatchEvent(new openfl_events_Event("complete")))},__class__:openfl_media_Sound,__properties__:{get_length:"get_length",get_id3:"get_id3"}});var flixel_addons_text_TypeSound=function(e,t){openfl_media_Sound.call(this,e,t)};$hxClasses["flixel.addons.text.TypeSound"]=flixel_addons_text_TypeSound,flixel_addons_text_TypeSound.__name__="flixel.addons.text.TypeSound",flixel_addons_text_TypeSound.__super__=openfl_media_Sound,flixel_addons_text_TypeSound.prototype=$extend(openfl_media_Sound.prototype,{__class__:flixel_addons_text_TypeSound});var flixel_text_FlxText=function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=8),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this._hasBorderAlpha=!1,this._regen=!0,this._formatRanges=[],this.borderQuality=1,this.borderSize=1,this.borderColor=0,this.borderStyle=flixel_text_FlxTextBorderStyle.NONE,this.text="",flixel_FlxSprite.call(this,e,t),null==l||""==l?(this.set_text(""),l=" "):this.set_text(l),this.textField=new openfl_text_TextField,this.textField.set_selectable(!1),this.textField.set_multiline(!0),this.textField.set_wordWrap(!0),this._defaultFormat=new openfl_text_TextFormat(null,n,16777215),this.set_font(flixel_system_FlxAssets.FONT_DEFAULT),this._formatAdjusted=new openfl_text_TextFormat,this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.set_text(l),this.set_fieldWidth(i),this.textField.set_embedFonts(s),this.textField.set_sharpness(100),this.textField.set_height(l.length<=0?1:10),this.set_allowCollisions(0),this.set_moves(!1),this.drawFrame();var e=1;null==(t=1)&&(t=0),null==e&&(e=0);var a=flixel_math_FlxPoint._pool.get().set(e,t);a._inPool=!1,this.shadowOffset=a};$hxClasses["flixel.text.FlxText"]=flixel_text_FlxText,flixel_text_FlxText.__name__="flixel.text.FlxText",flixel_text_FlxText.__super__=flixel_FlxSprite,flixel_text_FlxText.prototype=$extend(flixel_FlxSprite.prototype,{text:null,borderStyle:null,borderColor:null,borderSize:null,borderQuality:null,textField:null,shadowOffset:null,_defaultFormat:null,_formatAdjusted:null,_formatRanges:null,_font:null,_regen:null,_borderPixels:null,_borderColorTransform:null,_hasBorderAlpha:null,destroy:function(){this.textField=null,this._font=null,this._defaultFormat=null,this._formatAdjusted=null,this.shadowOffset=flixel_util_FlxDestroyUtil.put(this.shadowOffset),flixel_FlxSprite.prototype.destroy.call(this)},drawFrame:function(e){null==e&&(e=!1),this._regen=this._regen||e,flixel_FlxSprite.prototype.drawFrame.call(this,this._regen)},stampOnAtlas:function(e){this.regenGraphic();var t=e.addNode(this.graphic.bitmap,this.graphic.key),i=null!=t;return null!=t&&this.set_frames(t.getImageFrame()),i},applyMarkup:function(e,t){if(null==t||0==t.length)return this;this.clearFormats();for(var i=[],l=[],n=[],s=0,a=0;a<t.length;){d=t[a];if(++a,null!=d.marker&&null!=d.format){var r=!1,_=UnicodeString.get_length(d.marker);if(-1!=e.indexOf(d.marker)){for(var o=0,h=UnicodeString.get_length(e);o<h;){var u=o++;UnicodeString.substr(e,u,_)==d.marker&&(r?(r=!1,l.push(u)):(r=!0,i.push(u),n.push(d)))}r&&l.push(-1),++s}}}for(a=0;a<t.length;){var d=t[a];++a,e=StringTools.replace(e,d.marker,"")}for(var a=0,o=i.length;a<o;){for(var c=i[s=a++],_=UnicodeString.get_length(n[s].marker),h=0,p=i.length;h<p;){var f=h++;i[f]>c&&(i[f]-=_),l[f]>c&&(l[f]-=_)}c=l[s];for(var m=0,x=i.length;m<x;){var g=m++;i[g]>c&&(i[g]-=_),l[g]>c&&(l[g]-=_)}}this.set_text(e);for(var a=0,o=i.length;a<o;){s=a++;this.addFormat(n[s].format,i[s],l[s])}return this},addFormat:function(e,t,i){return null==i&&(i=-1),null==t&&(t=-1),this._formatRanges.push(new flixel_text__$FlxText_FlxTextFormatRange(e,t,i)),this._formatRanges.sort(function(e,t){return e.range.start<t.range.start?-1:1}),this._regen=!0,this},removeFormat:function(e,t,i){for(var l=this._formatRanges.length;l-- >0;){var n=this._formatRanges[l];if(n.format==e){if(null!=t&&null!=i){var s=n.range;if(t>=s.end||i<=s.start)continue;if(t>s.start&&i<s.end){this.addFormat(n.format,i+1,s.end),s.end=t;continue}if(t<=s.start&&i<s.end){s.start=i;continue}if(t>s.start&&i>=s.end){s.end=t;continue}}HxOverrides.remove(this._formatRanges,n)}}return this._regen=!0,this},clearFormats:function(){return this._formatRanges=[],this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,this},setFormat:function(e,t,i,l,n,s,a){return null==a&&(a=!0),null==s&&(s=0),null==i&&(i=-1),null==t&&(t=8),null==n&&(n=flixel_text_FlxTextBorderStyle.NONE),a?this.set_font(e):null!=e&&this.set_systemFont(e),this.set_size(t),this.set_color(i),null!=l&&this.set_alignment(l),null==(i=s)&&(i=0),this.set_borderStyle(n),this.set_borderColor(i),this.set_borderSize(1),this.set_borderQuality(1),this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,this},setBorderStyle:function(e,t,i,l){return null==l&&(l=1),null==i&&(i=1),null==t&&(t=0),this.set_borderStyle(e),this.set_borderColor(t),this.set_borderSize(i),this.set_borderQuality(l),this},updateHitbox:function(){this.regenGraphic(),flixel_FlxSprite.prototype.updateHitbox.call(this)},set_fieldWidth:function(e){return null==this.textField?e:(e<=0?(this.set_wordWrap(!1),this.set_autoSize(!0)):(this.set_autoSize(!1),this.set_wordWrap(!0),this.textField.set_width(e)),this._regen=!0,e)},get_fieldWidth:function(){return null!=this.textField?this.textField.get_width():0},set_autoSize:function(e){return null!=this.textField&&(this.textField.set_autoSize(e?1:2),this._regen=!0),e},get_autoSize:function(){return null!=this.textField&&2!=this.textField.get_autoSize()},set_text:function(e){if(this.text=e,null!=this.textField){var t=this.textField.get_text();this.textField.set_text(e),this._regen=this.textField.get_text()!=t||this._regen}return e},get_size:function(){return 0|this._defaultFormat.size},set_size:function(e){return this._defaultFormat.size=e,this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,e},set_color:function(e){return this._defaultFormat.color==(16777215&e)?e:(this._defaultFormat.color=16777215&e,this.color=e,this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,e)},get_font:function(){return this._font},set_font:function(e){if(this.textField.set_embedFonts(!0),null!=e){var t=e;openfl_utils_Assets.exists(e,"FONT")&&(t=openfl_utils_Assets.getFont(e).name),this._defaultFormat.font=t}else this._defaultFormat.font=flixel_system_FlxAssets.FONT_DEFAULT;return this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,this._font=this._defaultFormat.font},get_embedded:function(){return this.textField.set_embedFonts(!0)},get_systemFont:function(){return this._defaultFormat.font},set_systemFont:function(e){return this.textField.set_embedFonts(!1),this._defaultFormat.font=e,this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,e},get_bold:function(){return this._defaultFormat.bold},set_bold:function(e){return this._defaultFormat.bold!=e&&(this._defaultFormat.bold=e,this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0),e},get_italic:function(){return this._defaultFormat.italic},set_italic:function(e){return this._defaultFormat.italic!=e&&(this._defaultFormat.italic=e,this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0),e},get_wordWrap:function(){return this.textField.get_wordWrap()},set_wordWrap:function(e){return this.textField.get_wordWrap()!=e&&(this.textField.set_wordWrap(e),this._regen=!0),e},get_alignment:function(){return flixel_text_FlxTextAlign.fromOpenFL(this._defaultFormat.align)},set_alignment:function(e){return this._defaultFormat.align=flixel_text_FlxTextAlign.toOpenFL(e),this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0,e},set_borderStyle:function(e){return e!=this.borderStyle&&(this._regen=!0),this.borderStyle=e},set_borderColor:function(e){return this.borderColor!=e&&this.borderStyle!=flixel_text_FlxTextBorderStyle.NONE&&(this._regen=!0),this._hasBorderAlpha=(e>>24&255)/255<1,this.borderColor=e},set_borderSize:function(e){return e!=this.borderSize&&this.borderStyle!=flixel_text_FlxTextBorderStyle.NONE&&(this._regen=!0),this.borderSize=e},set_borderQuality:function(e){var t=e<0?0:e;return(e=t>1?1:t)!=this.borderQuality&&this.borderStyle!=flixel_text_FlxTextBorderStyle.NONE&&(this._regen=!0),this.borderQuality=e},set_graphic:function(e){var t=this.graphic,i=flixel_FlxSprite.prototype.set_graphic.call(this,e);return flixel_FlxG.bitmap.removeIfNoUse(t),i},get_width:function(){return this.regenGraphic(),flixel_FlxSprite.prototype.get_width.call(this)},get_height:function(){return this.regenGraphic(),flixel_FlxSprite.prototype.get_height.call(this)},updateColorTransform:function(){null==this.colorTransform&&(this.colorTransform=new openfl_geom_ColorTransform),1!=this.alpha?(this.colorTransform.alphaMultiplier=this.alpha,this.useColorTransform=!0):(this.colorTransform.alphaMultiplier=1,this.useColorTransform=!1),this.dirty=!0},regenGraphic:function(){if(null!=this.textField&&this._regen){var e=0,t=4;null!=this.graphic&&(e=this.graphic.width,t=this.graphic.height);var i=this.textField.get_width(),l=this.textField.get_textHeight()+4;if(0==this.textField.get_textHeight()&&(l=t),e!=i||t!=l){this.set_height(l);var n=flixel_FlxG.bitmap.getUniqueKey("text");this.makeGraphic(0|i,0|l,0,!1,n),this._hasBorderAlpha&&(this._borderPixels=this.graphic.bitmap.clone()),this.frameHeight=0|this.get_height(),this.textField.set_height(1.2*this.get_height()),this._flashRect.x=0,this._flashRect.y=0,this._flashRect.width=i,this._flashRect.height=l}else this.graphic.bitmap.fillRect(this._flashRect,0),this._hasBorderAlpha&&(null==this._borderPixels?this._borderPixels=new openfl_display_BitmapData(this.frameWidth,this.frameHeight,!0):this._borderPixels.fillRect(this._flashRect,0));null!=this.textField&&null!=this.textField.get_text()&&this.textField.get_text().length>0&&(this.copyTextFormat(this._defaultFormat,this._formatAdjusted),this._matrix.identity(),this.applyBorderStyle(),this._hasBorderAlpha&&(null==this._borderColorTransform&&(this._borderColorTransform=new openfl_geom_ColorTransform),this._borderColorTransform.alphaMultiplier=(this.borderColor>>24&255)/255,this._borderPixels.colorTransform(this._borderPixels.rect,this._borderColorTransform),this.graphic.bitmap.draw(this._borderPixels)),this.applyFormats(this._formatAdjusted,!1),this.drawTextFieldTo(this.graphic.bitmap)),this._regen=!1,this.set_frame(this.frame)}},drawTextFieldTo:function(e){e.draw(this.textField,this._matrix)},draw:function(){this.regenGraphic(),flixel_FlxSprite.prototype.draw.call(this)},calcFrame:function(e){null==e&&(e=!1),null!=this.textField&&(flixel_FlxG.renderTile&&!e||(this.regenGraphic(),flixel_FlxSprite.prototype.calcFrame.call(this,e)))},applyBorderStyle:function(){var e=this.borderSize*this.borderQuality|0;e<=0&&(e=1);var t=this.borderSize/e;switch(this.borderStyle._hx_index){case 0:break;case 1:this.applyFormats(this._formatAdjusted,!0);for(var i=0,l=e;i<l;){i++;o=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(t,t),this.drawTextFieldTo(o)}this._matrix.translate(-this.shadowOffset.x*this.borderSize,-this.shadowOffset.y*this.borderSize);break;case 2:this.applyFormats(this._formatAdjusted,!0);for(var n=t,i=0,l=e;i<l;){i++;o=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(-n,-n),this.drawTextFieldTo(o);h=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(n,0),this.drawTextFieldTo(h);u=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(n,0),this.drawTextFieldTo(u);d=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(0,n),this.drawTextFieldTo(d);var s=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(0,n),this.drawTextFieldTo(s);var a=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(-n,0),this.drawTextFieldTo(a);var r=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(-n,0),this.drawTextFieldTo(r);var _=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(0,-n),this.drawTextFieldTo(_),this._matrix.translate(n,0),n+=t}break;case 3:this.applyFormats(this._formatAdjusted,!0);for(var n=t,i=0,l=e;i<l;){i++;var o=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(-n,-n),this.drawTextFieldTo(o);var h=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(2*n,0),this.drawTextFieldTo(h);var u=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(0,2*n),this.drawTextFieldTo(u);var d=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(2*-n,0),this.drawTextFieldTo(d),this._matrix.translate(n,-n),n+=t}}},applyBorderTransparency:function(){this._hasBorderAlpha&&(null==this._borderColorTransform&&(this._borderColorTransform=new openfl_geom_ColorTransform),this._borderColorTransform.alphaMultiplier=(this.borderColor>>24&255)/255,this._borderPixels.colorTransform(this._borderPixels.rect,this._borderColorTransform),this.graphic.bitmap.draw(this._borderPixels))},copyTextWithOffset:function(e,t){var i=this._hasBorderAlpha?this._borderPixels:this.graphic.bitmap;this._matrix.translate(e,t),this.drawTextFieldTo(i)},applyFormats:function(e,t){null==t&&(t=!1),this.copyTextFormat(this._defaultFormat,e,!1),e.color=t?16777215&this.borderColor:this._defaultFormat.color,this.textField.setTextFormat(e);for(var i=0,l=this._formatRanges;i<l.length;){var n=l[i];if(++i,this.textField.get_text().length-1<n.range.start)break;var s=n.format.format;this.copyTextFormat(s,e,!1),e.color=t?16777215&n.format.borderColor:s.color,this.textField.setTextFormat(e,n.range.start,0|Math.min(n.range.end,this.textField.get_text().length))}},copyTextFormat:function(e,t,i){null==i&&(i=!0),t.font=e.font,t.bold=e.bold,t.italic=e.italic,t.size=e.size,t.color=e.color,i&&(t.align=e.align)},dtfCopy:function(){var e=this.textField.get_defaultTextFormat();return new openfl_text_TextFormat(e.font,e.size,e.color,e.bold,e.italic,e.underline,e.url,e.target,e.align)},updateDefaultFormat:function(){this.textField.set_defaultTextFormat(this._defaultFormat),this.textField.setTextFormat(this._defaultFormat),this._regen=!0},set_frames:function(e){return flixel_FlxSprite.prototype.set_frames.call(this,e),this._regen=!1,e},__class__:flixel_text_FlxText,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{set_autoSize:"set_autoSize",get_autoSize:"get_autoSize",set_fieldWidth:"set_fieldWidth",get_fieldWidth:"get_fieldWidth",set_borderQuality:"set_borderQuality",set_borderSize:"set_borderSize",set_borderColor:"set_borderColor",set_borderStyle:"set_borderStyle",set_alignment:"set_alignment",get_alignment:"get_alignment",set_wordWrap:"set_wordWrap",get_wordWrap:"get_wordWrap",set_italic:"set_italic",get_italic:"get_italic",set_bold:"set_bold",get_bold:"get_bold",set_systemFont:"set_systemFont",get_systemFont:"get_systemFont",get_embedded:"get_embedded",set_font:"set_font",get_font:"get_font",set_size:"set_size",get_size:"get_size",set_text:"set_text"})});var flixel_addons_text_FlxTypeText=function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=8),this._typeVarPercent=.5,this._typingVariation=!1,this._cursorTimer=0,this._waiting=!1,this._erasing=!1,this._typing=!1,this._length=0,this._waitTimer=0,this._timer=0,this._finalText="",this.skipKeys=[],this.finishSounds=!1,this.useDefaultSound=!1,this.paused=!1,this.waitTime=1,this.autoErase=!1,this.prefix="",this.cursorBlinkSpeed=.5,this.cursorCharacter="|",this.showCursor=!1,this.eraseDelay=.02,this.delay=.05,flixel_text_FlxText.call(this,e,t,i,"",n,s),this._finalText=l};$hxClasses["flixel.addons.text.FlxTypeText"]=flixel_addons_text_FlxTypeText,flixel_addons_text_FlxTypeText.__name__="flixel.addons.text.FlxTypeText",flixel_addons_text_FlxTypeText.__super__=flixel_text_FlxText,flixel_addons_text_FlxTypeText.prototype=$extend(flixel_text_FlxText.prototype,{delay:null,eraseDelay:null,showCursor:null,cursorCharacter:null,cursorBlinkSpeed:null,prefix:null,autoErase:null,waitTime:null,paused:null,sounds:null,useDefaultSound:null,finishSounds:null,skipKeys:null,completeCallback:null,eraseCallback:null,_finalText:null,_timer:null,_waitTimer:null,_length:null,_typing:null,_erasing:null,_waiting:null,_cursorTimer:null,_typingVariation:null,_typeVarPercent:null,_sound:null,start:function(e,t,i,l,n){null==i&&(i=!1),null==t&&(t=!1),null!=e&&(this.delay=e),this._typing=!0,this._erasing=!1,this.paused=!1,this._waiting=!1,t&&(this.set_text(""),this._length=0),this.autoErase=i,null!=l&&(this.skipKeys=l),this.completeCallback=n,this.insertBreakLines(),this.useDefaultSound&&this.loadDefaultSound()},applyMarkup:function(e,t){return flixel_text_FlxText.prototype.applyMarkup.call(this,e,t),this.resetText(this.text),this},insertBreakLines:function(){for(var e=this.text,t=this._finalText.length,i=0;;){if((t=HxOverrides.substr(this._finalText,0,t).lastIndexOf(" "))<=0)break;this.set_text(this.prefix+this._finalText),i=this.textField.get_numLines();var l=HxOverrides.substr(this._finalText,0,t)+"\n"+HxOverrides.substr(this._finalText,t+1,this._finalText.length);this.set_text(this.prefix+l),i==this.textField.get_numLines()&&(this._finalText=l)}this.set_text(e)},erase:function(e,t,i,l){null==t&&(t=!1),this._erasing=!0,this._typing=!1,this.paused=!1,this._waiting=!1,null!=e&&(this.eraseDelay=e),t&&(this._length=this._finalText.length,this.set_text(this._finalText)),null!=i&&(this.skipKeys=i),this.eraseCallback=l,this.useDefaultSound&&this.loadDefaultSound()},resetText:function(e){this.set_text(""),this._finalText=e,this._typing=!1,this._erasing=!1,this.paused=!1,this._waiting=!1,this._length=0},setTypingVariation:function(e,t){null==t&&(t=!0),null==e&&(e=.5),this._typingVariation=t;var i=e<0?0:e;this._typeVarPercent=i>1?1:i},onComplete:function(){if(this._timer=0,this._typing=!1,this.useDefaultSound){var e=this._sound;e.cleanup(e.autoDestroy,!0)}else if(null!=this.sounds)for(var t=0,i=this.sounds;t<i.length;){var l=i[t];++t,l.cleanup(l.autoDestroy,!0)}null!=this.completeCallback&&this.completeCallback(),this.autoErase&&this.waitTime<=0?this._erasing=!0:this.autoErase&&(this._waitTimer=this.waitTime,this._waiting=!0)},onErased:function(){this._timer=0,this._erasing=!1,null!=this.eraseCallback&&this.eraseCallback()},update:function(e){if(null!=this.skipKeys&&this.skipKeys.length>0&&flixel_FlxG.keys.checkKeyArrayState(this.skipKeys,2)&&this.skip(),this._waiting&&!this.paused&&(this._waitTimer-=e,this._waitTimer<=0&&(this._waiting=!1,this._erasing=!0)),this._waiting||this.paused||(this._length<this._finalText.length&&this._typing&&(this._timer+=e),this._length>0&&this._erasing&&(this._timer+=e)),(this._typing||this._erasing)&&(this._typing&&this._timer>=this.delay&&(this._length+=this._timer/this.delay|0,this._length>this._finalText.length&&(this._length=this._finalText.length)),this._erasing&&this._timer>=this.eraseDelay&&(this._length-=this._timer/this.eraseDelay|0,this._length<0&&(this._length=0)),this._typing&&this._timer>=this.delay||this._erasing&&this._timer>=this.eraseDelay))if(this._typingVariation?this._typing?this._timer=flixel_FlxG.random.float(-this.delay*this._typeVarPercent/2,this.delay*this._typeVarPercent/2):this._timer=flixel_FlxG.random.float(-this.eraseDelay*this._typeVarPercent/2,this.eraseDelay*this._typeVarPercent/2):this._timer%=this.delay,null==this.sounds||this.useDefaultSound)this.useDefaultSound&&this._sound.play(!this.finishSounds);else{if(!this.finishSounds)for(var t=0,i=this.sounds;t<i.length;){var l=i[t];++t,l.cleanup(l.autoDestroy,!0)}flixel_FlxG.random.getObject_flixel_system_FlxSound(this.sounds).play(!this.finishSounds)}if(flixel_addons_text_FlxTypeText.helperString=this.prefix+HxOverrides.substr(this._finalText,0,this._length),this.showCursor){this._cursorTimer+=e;var n="\n"==(this.prefix+this._finalText).charAt(flixel_addons_text_FlxTypeText.helperString.length);this._cursorTimer>this.cursorBlinkSpeed/2&&!n&&(flixel_addons_text_FlxTypeText.helperString+=this.cursorCharacter.charAt(0)),this._cursorTimer>this.cursorBlinkSpeed&&(this._cursorTimer=0)}flixel_addons_text_FlxTypeText.helperString!=this.text&&(this.set_text(flixel_addons_text_FlxTypeText.helperString),this._length>=this._finalText.length&&this._typing&&!this._waiting&&!this._erasing&&this.onComplete(),0!=this._length||!this._erasing||this._typing||this._waiting||this.onErased()),flixel_text_FlxText.prototype.update.call(this,e)},skip:function(){this._erasing||this._waiting?(this._length=0,this._waiting=!1):this._typing&&(this._length=this._finalText.length)},loadDefaultSound:function(){this._sound=flixel_FlxG.sound.load(new flixel_addons_text_TypeSound)},__class__:flixel_addons_text_FlxTypeText});var lime_math_Vector2=function(e,t){null==t&&(t=0),null==e&&(e=0),this.x=e,this.y=t};$hxClasses["lime.math.Vector2"]=lime_math_Vector2,lime_math_Vector2.__name__="lime.math.Vector2",lime_math_Vector2.distance=function(e,t){var i=e.x-t.x,l=e.y-t.y;return Math.sqrt(i*i+l*l)},lime_math_Vector2.interpolate=function(e,t,i,l){return null==l&&(l=new lime_math_Vector2),l.x=t.x+i*(e.x-t.x),l.y=t.y+i*(e.y-t.y),l},lime_math_Vector2.polar=function(e,t,i){null==i&&(i=new lime_math_Vector2);var l=e*Math.sin(t);return i.x=e*Math.cos(t),i.y=l,i},lime_math_Vector2.prototype={x:null,y:null,add:function(e,t){return null==t&&(t=new lime_math_Vector2),t.x=e.x+this.x,t.y=e.y+this.y,t},clone:function(){return new lime_math_Vector2(this.x,this.y)},equals:function(e){return null!=e&&e.x==this.x&&e.y==this.y},normalize:function(e){if(0!=this.x||0!=this.y){var t=e/Math.sqrt(this.x*this.x+this.y*this.y);this.x*=t,this.y*=t}},offset:function(e,t){this.x+=e,this.y+=t},setTo:function(e,t){this.x=e,this.y=t},subtract:function(e,t){return null==t&&(t=new lime_math_Vector2),t.x=this.x-e.x,t.y=this.y-e.y,t},__toFlashPoint:function(){return null},get_length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},get_lengthSquared:function(){return this.x*this.x+this.y*this.y},__class__:lime_math_Vector2,__properties__:{get_lengthSquared:"get_lengthSquared",get_length:"get_length"}};var openfl_display_BitmapData=function(e,t,i,l){null==l&&(l=-1),null==i&&(i=!0),this.transparent=i,null==e&&(e=0),null==t&&(t=0),e<0&&(e=0),t<0&&(t=0),this.width=e,this.height=t,this.rect=new openfl_geom_Rectangle(0,0,e,t),this.__textureWidth=e,this.__textureHeight=t,e>0&&t>0&&(i?0==(-16777216&l)&&(l=0):l=-16777216|16777215&l,l=l<<8|l>>>24&255,this.image=new lime_graphics_Image(null,0,0,e,t,l),this.image.set_transparent(i),this.__isValid=!0,this.readable=!0),this.__renderTransform=new openfl_geom_Matrix,this.__worldAlpha=1,this.__worldTransform=new openfl_geom_Matrix,this.__worldColorTransform=new openfl_geom_ColorTransform,this.__renderable=!0};$hxClasses["openfl.display.BitmapData"]=openfl_display_BitmapData,openfl_display_BitmapData.__name__="openfl.display.BitmapData",openfl_display_BitmapData.__interfaces__=[openfl_display_IBitmapDrawable],openfl_display_BitmapData.__textureFormat=null,openfl_display_BitmapData.__textureInternalFormat=null,openfl_display_BitmapData.fromBase64=function(e,t){return null},openfl_display_BitmapData.fromBytes=function(e,t){return null},openfl_display_BitmapData.fromCanvas=function(e,t){if(null==t&&(t=!0),null==e)return null;var i=new openfl_display_BitmapData(0,0,t,0);return i.__fromImage(lime_graphics_Image.fromCanvas(e)),i.image.set_transparent(t),i},openfl_display_BitmapData.fromFile=function(e){return null},openfl_display_BitmapData.fromImage=function(e,t){if(null==t&&(t=!0),null==e||null==e.buffer)return null;var i=new openfl_display_BitmapData(0,0,t,0);return i.__fromImage(e),i.image.set_transparent(t),null!=i.image?i:null},openfl_display_BitmapData.fromTexture=function(e){if(null==e)return null;var t=new openfl_display_BitmapData(e.__width,e.__height,!0,0);return t.readable=!1,t.__texture=e,t.__textureContext=e.__textureContext,t.image=null,t},openfl_display_BitmapData.loadFromBase64=function(e,t){return lime_graphics_Image.loadFromBase64(e,t).then(function(e){return lime_app_Future.withValue(openfl_display_BitmapData.fromImage(e))})},openfl_display_BitmapData.loadFromBytes=function(e,t){return lime_graphics_Image.loadFromBytes(openfl_utils_ByteArray.toBytes(e)).then(function(e){var i=openfl_display_BitmapData.fromImage(e);return null!=t&&i.__applyAlpha(t),lime_app_Future.withValue(i)})},openfl_display_BitmapData.loadFromFile=function(e){return lime_graphics_Image.loadFromFile(e).then(function(e){return lime_app_Future.withValue(openfl_display_BitmapData.fromImage(e))})},openfl_display_BitmapData.prototype={height:null,image:null,readable:null,rect:null,transparent:null,width:null,__blendMode:null,__framebuffer:null,__framebufferContext:null,__indexBuffer:null,__indexBufferContext:null,__indexBufferData:null,__indexBufferGrid:null,__isMask:null,__isValid:null,__mask:null,__renderable:null,__renderTransform:null,__scrollRect:null,__stencilBuffer:null,__surface:null,__texture:null,__textureContext:null,__textureHeight:null,__textureVersion:null,__textureWidth:null,__transform:null,__uvRect:null,__vertexBuffer:null,__vertexBufferContext:null,__vertexBufferData:null,__vertexBufferGrid:null,__vertexBufferHeight:null,__vertexBufferScaleX:null,__vertexBufferScaleY:null,__vertexBufferWidth:null,__worldAlpha:null,__worldColorTransform:null,__worldTransform:null,applyFilter:function(e,t,i,l){if(this.readable&&null!=e&&e.readable){var n=l.__needSecondBitmapData,s=l.__preserveObject,a=null,r=null;a=n?new openfl_display_BitmapData(this.width,this.height,!0,0):this,s&&(r=new openfl_display_BitmapData(this.width,this.height,!0,0)),l.__preserveObject&&r.copyPixels(this,this.rect,i);var _=l.__applyFilter(a,this,t,i);l.__preserveObject&&_.draw(r,null,null),n&&_==a&&(a.image.version=this.image.version,this.image=a.image),this.image.dirty=!0,this.image.version++}},clone:function(){var e;return this.__isValid?this.readable||null!=this.image?e=openfl_display_BitmapData.fromImage(this.image.clone(),this.transparent):((e=new openfl_display_BitmapData(0,0,this.transparent,0)).width=this.width,e.height=this.height,e.__textureWidth=this.__textureWidth,e.__textureHeight=this.__textureHeight,e.rect.copyFrom(this.rect),e.__framebuffer=this.__framebuffer,e.__framebufferContext=this.__framebufferContext,e.__texture=this.__texture,e.__textureContext=this.__textureContext,e.__isValid=!0):e=new openfl_display_BitmapData(this.width,this.height,this.transparent,0),e.__worldTransform.copyFrom(this.__worldTransform),e.__renderTransform.copyFrom(this.__renderTransform),e},colorTransform:function(e,t){this.readable&&this.image.colorTransform(e.__toLimeRectangle(),t.__toLimeColorMatrix())},compare:function(e){if(e==this)return 0;if(null==e)return-1;if(0==this.readable||0==e.readable)return-2;if(this.width!=e.width)return-3;if(this.height!=e.height)return-4;if(null!=this.image&&null!=e.image&&this.image.get_format()==e.image.get_format()){for(var t=this.image.get_data(),i=e.image.get_data(),l=!0,n=0,s=t.length;n<s;){var a=n++;if(t[a]!=i[a]){l=!1;break}}if(l)return 0}for(var r,_,o,h,u,d,c,p,f=null,n=0,s=this.height;n<s;)for(var m=n++,x=0,g=this.width;x<g;){var F=x++;r=!1,h=0,(_=this.getPixel32(F,m))!=(o=e.getPixel32(F,m))&&(d=(_>>>8&255)-(o>>>8&255),c=(255&_)-(255&o),(u=(_>>>16&255)-(o>>>16&255))<0&&(u*=-1),d<0&&(d*=-1),c<0&&(c*=-1),0==u&&0==d&&0==c?0!=(p=(_>>>24&255)-(o>>>24&255))&&(h=(255&p)<<24|(255&(h=(255&(h=(255&(h=(255&h>>>24)<<24|16711680|(255&h>>>8)<<8|255&h)>>>24)<<24|(255&h>>>16)<<16|65280|255&h)>>>24)<<24|(255&h>>>16)<<16|(255&h>>>8)<<8|255)>>>16)<<16|(255&h>>>8)<<8|255&h,r=!0):(h=-16777216|(255&(h=(255&(h=(255&(h=(255&h>>>24)<<24|(255&u)<<16|(255&h>>>8)<<8|255&h)>>>24)<<24|(255&h>>>16)<<16|(255&d)<<8|255&h)>>>24)<<24|(255&h>>>16)<<16|(255&h>>>8)<<8|255&c)>>>16)<<16|(255&h>>>8)<<8|255&h,r=!0)),r&&(null==f&&(f=new openfl_display_BitmapData(this.width,this.height,this.transparent||e.transparent,0)),f.setPixel32(F,m,h))}return null==f?0:f},copyChannel:function(e,t,i,l,n){if(this.readable){var s;switch(l){case 1:s=lime_graphics_ImageChannel.RED;break;case 2:s=lime_graphics_ImageChannel.GREEN;break;case 4:s=lime_graphics_ImageChannel.BLUE;break;case 8:s=lime_graphics_ImageChannel.ALPHA;break;default:return}var a;switch(n){case 1:a=lime_graphics_ImageChannel.RED;break;case 2:a=lime_graphics_ImageChannel.GREEN;break;case 4:a=lime_graphics_ImageChannel.BLUE;break;case 8:a=lime_graphics_ImageChannel.ALPHA;break;default:return}this.image.copyChannel(e.image,t.__toLimeRectangle(),i.__toLimeVector2(),s,a)}},copyPixels:function(e,t,i,l,n,s){null==s&&(s=!1),this.readable&&null!=e&&(null!=n&&(openfl_display_BitmapData.__tempVector.x=n.x,openfl_display_BitmapData.__tempVector.y=n.y),this.image.copyPixels(e.image,t.__toLimeRectangle(),i.__toLimeVector2(),null!=l?l.image:null,null!=n?openfl_display_BitmapData.__tempVector:null,s))},dispose:function(){this.image=null,this.width=0,this.height=0,this.rect=null,this.__isValid=!1,this.readable=!1,this.__surface=null,this.__vertexBuffer=null,this.__framebuffer=null,this.__framebufferContext=null,this.__texture=null,this.__textureContext=null},disposeImage:function(){this.readable=!1},draw:function(e,t,i,l,n,s){if(null==s&&(s=!1),null!=e){e.__update(!1,!0);var a=openfl_geom_Matrix.__pool.get();a.copyFrom(e.__renderTransform),a.invert(),null!=t&&a.concat(t);var r=null;null!=n&&((r=openfl_geom_Matrix.__pool.get()).copyFrom(a),r.invert());var _=new openfl_geom_ColorTransform;if(_.__copyFrom(e.__worldColorTransform),_.__invert(),this.readable||null==openfl_Lib.get_current().stage.context3D){if(null!=i){var o=openfl_geom_Rectangle.__pool.get(),h=openfl_geom_Matrix.__pool.get();e.__getBounds(o,h);var u=Math.ceil(o.width),d=Math.ceil(o.height);h.tx=-o.x,h.ty=-o.y;var c=new openfl_display_BitmapData(u,d,!0,0);c.draw(e,h),c.colorTransform(c.rect,i),c.__renderTransform.identity(),c.__renderTransform.tx=o.x,c.__renderTransform.ty=o.y,c.__renderTransform.concat(e.__renderTransform),c.__worldAlpha=e.__worldAlpha,c.__worldColorTransform.__copyFrom(e.__worldColorTransform),e=c,openfl_geom_Rectangle.__pool.release(o),openfl_geom_Matrix.__pool.release(h)}lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this.image);var p=new openfl_display_CanvasRenderer(this.image.buffer.__srcContext);p.__allowSmoothing=s,p.__overrideBlendMode=l,p.__worldTransform=a,p.__worldAlpha=1/e.__worldAlpha,p.__worldColorTransform=_,null!=n&&p.__pushMaskRect(n,r),this.__drawCanvas(e,p),null!=n&&(p.__popMaskRect(),openfl_geom_Matrix.__pool.release(r))}else null==this.__textureContext&&(this.__textureContext=lime_app_Application.current.__window.context),null!=i&&_.__combine(i),(p=new openfl_display_OpenGLRenderer(openfl_Lib.get_current().stage.context3D,this)).__allowSmoothing=s,p.__overrideBlendMode=l,p.__worldTransform=a,p.__worldAlpha=1/e.__worldAlpha,p.__worldColorTransform=_,p.__resize(this.width,this.height),null!=n&&p.__pushMaskRect(n,r),this.__drawGL(e,p),null!=n&&(p.__popMaskRect(),openfl_geom_Matrix.__pool.release(r));openfl_geom_Matrix.__pool.release(a)}},drawWithQuality:function(e,t,i,l,n,s,a){null==s&&(s=!1),this.draw(e,t,i,l,n,2!=a&&s)},encode:function(e,t,i){if(!this.readable||null==e)return i=null;null==i&&(i=new openfl_utils_ByteArrayData(0));var l=this.image;if(!e.equals(this.rect)){var n=openfl_geom_Matrix.__pool.get();n.tx=Math.round(-e.x),n.ty=Math.round(-e.y);var s=new openfl_display_BitmapData(Math.ceil(e.width),Math.ceil(e.height),!0,0);s.draw(this,n),l=s.image,openfl_geom_Matrix.__pool.release(n)}return t instanceof openfl_display_PNGEncoderOptions?(i.writeBytes(openfl_utils_ByteArray.fromBytes(l.encode(lime_graphics_ImageFileFormat.PNG)),0,0),i):t instanceof openfl_display_JPEGEncoderOptions?(i.writeBytes(openfl_utils_ByteArray.fromBytes(l.encode(lime_graphics_ImageFileFormat.JPEG,js_Boot.__cast(t,openfl_display_JPEGEncoderOptions).quality)),0,0),i):i=null},fillRect:function(e,t){this.__fillRect(e,t,!0)},floodFill:function(e,t,i){this.readable&&this.image.floodFill(e,t,i,1)},generateFilterRect:function(e,t){return e.clone()},getIndexBuffer:function(e,t){e.gl;if(null==this.__indexBuffer||this.__indexBufferContext!=e.__context||null!=t&&null==this.__indexBufferGrid||null!=this.__indexBufferGrid&&!this.__indexBufferGrid.equals(t)){if(this.__indexBufferContext=e.__context,this.__indexBuffer=null,null!=t){null==this.__indexBufferGrid&&(this.__indexBufferGrid=new openfl_geom_Rectangle),this.__indexBufferGrid.copyFrom(t);var i=t.width,l=t.height;if(0!=i&&0!=l){n=new Uint16Array(54);this.__indexBufferData=n,this.__indexBufferData[0]=0,this.__indexBufferData[1]=1,this.__indexBufferData[2]=2,this.__indexBufferData[3]=2,this.__indexBufferData[4]=1,this.__indexBufferData[5]=3,this.__indexBufferData[6]=4,this.__indexBufferData[7]=0,this.__indexBufferData[8]=5,this.__indexBufferData[9]=5,this.__indexBufferData[10]=0,this.__indexBufferData[11]=2,this.__indexBufferData[12]=6,this.__indexBufferData[13]=4,this.__indexBufferData[14]=7,this.__indexBufferData[15]=7,this.__indexBufferData[16]=4,this.__indexBufferData[17]=5,this.__indexBufferData[18]=8,this.__indexBufferData[19]=9,this.__indexBufferData[20]=0,this.__indexBufferData[21]=0,this.__indexBufferData[22]=9,this.__indexBufferData[23]=1,this.__indexBufferData[24]=10,this.__indexBufferData[25]=8,this.__indexBufferData[26]=4,this.__indexBufferData[27]=4,this.__indexBufferData[28]=8,this.__indexBufferData[29]=0,this.__indexBufferData[30]=11,this.__indexBufferData[31]=10,this.__indexBufferData[32]=6,this.__indexBufferData[33]=6,this.__indexBufferData[34]=10,this.__indexBufferData[35]=4,this.__indexBufferData[36]=12,this.__indexBufferData[37]=13,this.__indexBufferData[38]=8,this.__indexBufferData[39]=8,this.__indexBufferData[40]=13,this.__indexBufferData[41]=9,this.__indexBufferData[42]=14,this.__indexBufferData[43]=12,this.__indexBufferData[44]=10,this.__indexBufferData[45]=10,this.__indexBufferData[46]=12,this.__indexBufferData[47]=8,this.__indexBufferData[48]=15,this.__indexBufferData[49]=14,this.__indexBufferData[50]=11,this.__indexBufferData[51]=11,this.__indexBufferData[52]=14,this.__indexBufferData[53]=10,this.__indexBuffer=e.createIndexBuffer(54)}else if(0==i&&0!=l){n=new Uint16Array(18);this.__indexBufferData=n,this.__indexBufferData[0]=0,this.__indexBufferData[1]=1,this.__indexBufferData[2]=2,this.__indexBufferData[3]=2,this.__indexBufferData[4]=1,this.__indexBufferData[5]=3,this.__indexBufferData[6]=4,this.__indexBufferData[7]=5,this.__indexBufferData[8]=0,this.__indexBufferData[9]=0,this.__indexBufferData[10]=5,this.__indexBufferData[11]=1,this.__indexBufferData[12]=6,this.__indexBufferData[13]=7,this.__indexBufferData[14]=4,this.__indexBufferData[15]=4,this.__indexBufferData[16]=7,this.__indexBufferData[17]=5,this.__indexBuffer=e.createIndexBuffer(18)}else if(0!=i&&0==l){n=new Uint16Array(18);this.__indexBufferData=n,this.__indexBufferData[0]=0,this.__indexBufferData[1]=1,this.__indexBufferData[2]=2,this.__indexBufferData[3]=2,this.__indexBufferData[4]=1,this.__indexBufferData[5]=3,this.__indexBufferData[6]=4,this.__indexBufferData[7]=0,this.__indexBufferData[8]=5,this.__indexBufferData[9]=5,this.__indexBufferData[10]=0,this.__indexBufferData[11]=2,this.__indexBufferData[12]=6,this.__indexBufferData[13]=4,this.__indexBufferData[14]=7,this.__indexBufferData[15]=7,this.__indexBufferData[16]=4,this.__indexBufferData[17]=5,this.__indexBuffer=e.createIndexBuffer(18)}}else this.__indexBufferGrid=null;if(null==this.__indexBuffer){var n=new Uint16Array(6);this.__indexBufferData=n,this.__indexBufferData[0]=0,this.__indexBufferData[1]=1,this.__indexBufferData[2]=2,this.__indexBufferData[3]=2,this.__indexBufferData[4]=1,this.__indexBufferData[5]=3,this.__indexBuffer=e.createIndexBuffer(6)}this.__indexBuffer.uploadFromTypedArray(this.__indexBufferData)}return this.__indexBuffer},getVertexBuffer:function(e,t,i){e.gl;if(null==this.__vertexBuffer||this.__vertexBufferContext!=e.__context||null!=t&&null==this.__vertexBufferGrid||null!=this.__vertexBufferGrid&&!this.__vertexBufferGrid.equals(t)||null!=i&&(this.__vertexBufferWidth!=i.get_width()||this.__vertexBufferHeight!=i.get_height()||this.__vertexBufferScaleX!=i.get_scaleX()||this.__vertexBufferScaleY!=i.get_scaleY())){this.__uvRect=new openfl_geom_Rectangle(0,0,this.width,this.height);if(this.__vertexBufferContext=e.__context,this.__vertexBuffer=null,null!=i&&(this.__vertexBufferWidth=i.get_width(),this.__vertexBufferHeight=i.get_height(),this.__vertexBufferScaleX=i.get_scaleX(),this.__vertexBufferScaleY=i.get_scaleY()),null!=t&&null!=i){null==this.__vertexBufferGrid&&(this.__vertexBufferGrid=new openfl_geom_Rectangle),this.__vertexBufferGrid.copyFrom(t),this.__vertexBufferWidth=i.get_width(),this.__vertexBufferHeight=i.get_height(),this.__vertexBufferScaleX=i.get_scaleX(),this.__vertexBufferScaleY=i.get_scaleY();var l=t.width,n=t.height;if(0!=l&&0!=n){S=new Float32Array(224);this.__vertexBufferData=S;var s=t.x,a=t.y,r=this.width-l-s,_=this.height-n-a,o=s/this.width,h=a/this.height,u=l/this.width,d=n/this.height,c=(this.width,this.height,s/i.get_scaleX()),p=a/i.get_scaleY(),f=r/i.get_scaleX(),m=_/i.get_scaleY(),x=i.get_width()/i.get_scaleX()-c-f,g=i.get_height()/i.get_scaleY()-p-m;this.__vertexBufferData[0]=c,this.__vertexBufferData[1]=p,this.__vertexBufferData[3]=1*o,this.__vertexBufferData[4]=1*h,this.__vertexBufferData[15]=p,this.__vertexBufferData[18]=1*h,this.__vertexBufferData[28]=c,this.__vertexBufferData[31]=1*o,this.__vertexBufferData[56]=c+x,this.__vertexBufferData[57]=p,this.__vertexBufferData[59]=1*(o+u),this.__vertexBufferData[60]=1*h,this.__vertexBufferData[70]=c+x,this.__vertexBufferData[73]=1*(o+u),this.__vertexBufferData[84]=this.width,this.__vertexBufferData[85]=p,this.__vertexBufferData[87]=1,this.__vertexBufferData[88]=1*h,this.__vertexBufferData[98]=this.width,this.__vertexBufferData[101]=1,this.__vertexBufferData[112]=c,this.__vertexBufferData[113]=p+g,this.__vertexBufferData[115]=1*o,this.__vertexBufferData[116]=1*(h+d),this.__vertexBufferData[127]=p+g,this.__vertexBufferData[130]=1*(h+d),this.__vertexBufferData[140]=c+x,this.__vertexBufferData[141]=p+g,this.__vertexBufferData[143]=1*(o+u),this.__vertexBufferData[144]=1*(h+d),this.__vertexBufferData[154]=this.width,this.__vertexBufferData[155]=p+g,this.__vertexBufferData[157]=1,this.__vertexBufferData[158]=1*(h+d),this.__vertexBufferData[168]=c,this.__vertexBufferData[169]=this.height,this.__vertexBufferData[171]=1*o,this.__vertexBufferData[172]=1,this.__vertexBufferData[183]=this.height,this.__vertexBufferData[186]=1,this.__vertexBufferData[196]=c+x,this.__vertexBufferData[197]=this.height,this.__vertexBufferData[199]=1*(o+u),this.__vertexBufferData[200]=1,this.__vertexBufferData[210]=this.width,this.__vertexBufferData[211]=this.height,this.__vertexBufferData[213]=1,this.__vertexBufferData[214]=1,this.__vertexBuffer=e.createVertexBuffer(16,14)}else if(0==l&&0!=n){S=new Float32Array(112);this.__vertexBufferData=S;var a=t.y,_=this.height-n-a,h=a/this.height,d=n/this.height,p=(this.height,a/i.get_scaleY()),m=_/i.get_scaleY(),g=i.get_height()/i.get_scaleY()-p-m,F=i.get_width()/i.get_scaleX();this.__vertexBufferData[0]=F,this.__vertexBufferData[1]=p,this.__vertexBufferData[3]=1,this.__vertexBufferData[4]=1*h,this.__vertexBufferData[15]=p,this.__vertexBufferData[18]=1*h,this.__vertexBufferData[28]=F,this.__vertexBufferData[31]=1,this.__vertexBufferData[56]=F,this.__vertexBufferData[57]=p+g,this.__vertexBufferData[59]=1,this.__vertexBufferData[60]=1*(h+d),this.__vertexBufferData[71]=p+g,this.__vertexBufferData[74]=1*(h+d),this.__vertexBufferData[84]=F,this.__vertexBufferData[85]=this.height,this.__vertexBufferData[87]=1,this.__vertexBufferData[88]=1,this.__vertexBufferData[99]=this.height,this.__vertexBufferData[102]=1,this.__vertexBuffer=e.createVertexBuffer(8,14)}else if(0==n&&0!=l){S=new Float32Array(112);this.__vertexBufferData=S;var s=t.x,r=this.width-l-s,o=s/this.width,u=l/this.width,c=(this.width,s/i.get_scaleX()),f=r/i.get_scaleX(),x=i.get_width()/i.get_scaleX()-c-f,y=i.get_height()/i.get_scaleY();this.__vertexBufferData[0]=c,this.__vertexBufferData[1]=y,this.__vertexBufferData[3]=1*o,this.__vertexBufferData[4]=1,this.__vertexBufferData[15]=y,this.__vertexBufferData[18]=1,this.__vertexBufferData[28]=c,this.__vertexBufferData[31]=1*o,this.__vertexBufferData[56]=c+x,this.__vertexBufferData[57]=y,this.__vertexBufferData[59]=1*(o+u),this.__vertexBufferData[60]=1,this.__vertexBufferData[70]=c+x,this.__vertexBufferData[73]=1*(o+u),this.__vertexBufferData[84]=this.width,this.__vertexBufferData[85]=y,this.__vertexBufferData[87]=1,this.__vertexBufferData[88]=1,this.__vertexBufferData[98]=this.width,this.__vertexBufferData[101]=1,this.__vertexBuffer=e.createVertexBuffer(8,14)}}else this.__vertexBufferGrid=null;if(null==this.__vertexBuffer){var S=new Float32Array(56);this.__vertexBufferData=S,this.__vertexBufferData[0]=this.width,this.__vertexBufferData[1]=this.height,this.__vertexBufferData[3]=1,this.__vertexBufferData[4]=1,this.__vertexBufferData[15]=this.height,this.__vertexBufferData[18]=1,this.__vertexBufferData[28]=this.width,this.__vertexBufferData[31]=1,this.__vertexBuffer=e.createVertexBuffer(3,14)}this.__vertexBuffer.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(this.__vertexBufferData))}return this.__vertexBuffer},getColorBoundsRect:function(e,t,i){if(null==i&&(i=!0),!this.readable)return new openfl_geom_Rectangle(0,0,this.width,this.height);if(!this.transparent||(e>>24&255)>0){var l=t;0==(l>>>24&255)&&(l=0)}var n=this.image.getColorBoundsRect(e,t,i,1);return new openfl_geom_Rectangle(n.x,n.y,n.width,n.height)},getPixel:function(e,t){return this.readable?this.image.getPixel(e,t,1):0},getPixel32:function(e,t){return this.readable?this.image.getPixel32(e,t,1):0},getPixels:function(e){if(!this.readable)return null;null==e&&(e=this.rect);var t=openfl_utils_ByteArray.fromBytes(this.image.getPixels(e.__toLimeRectangle(),1));return t.__endian=0,t},getSurface:function(){return this.readable?(null==this.__surface&&(this.__surface=lime_graphics_cairo_CairoImageSurface.fromImage(this.image)),this.__surface):null},getTexture:function(e){if(!this.__isValid)return null;if(null!=this.__texture&&this.__textureContext==e.__context||(this.__textureContext=e.__context,this.__texture=e.createRectangleTexture(this.width,this.height,1,!1),this.__textureVersion=-1),lime__$internal_graphics_ImageCanvasUtil.sync(this.image,!1),null!=this.image&&this.image.version>this.__textureVersion){null!=this.__surface&&lime_graphics_cairo_CairoSurface.flush(this.__surface);var t=this.image;openfl_display3D_textures_TextureBase.__supportsBGRA||0==t.get_format()||(t=t.clone()).set_format(0),this.__texture.__uploadFromImage(t),this.__textureVersion=this.image.version,this.__textureWidth=t.buffer.width,this.__textureHeight=t.buffer.height}return this.readable||null==this.image||(this.__surface=null,this.image=null),this.__texture},getVector:function(e){for(var t=this.getPixels(e),i=UInt.toFloat(openfl_utils_ByteArray.get_length(t))/UInt.toFloat(4)|0,l=openfl_Vector.toIntVector(null,i,!0),n=0,s=i;n<s;){var a=n++;l.set(a,t.readUnsignedInt())}return l},histogram:function(e){for(var t=null!=e?e:new openfl_geom_Rectangle(0,0,this.width,this.height),i=this.getPixels(t),l=[],n=[],s=0;s<256;){s++;n.push(0)}l.push(n);for(var n=[],s=0;s<256;){s++;n.push(0)}l.push(n);for(var n=[],s=0;s<256;){s++;n.push(0)}l.push(n);for(var n=[],s=0;s<256;){s++;n.push(0)}l.push(n);for(var a=l,l=0,n=openfl_utils_ByteArray.get_length(i);l<n;)++a[l++%4][i.readUnsignedByte()];return a},hitTest:function(e,t,i,l,n){if(null==n&&(n=1),!this.readable)return!1;if(i instanceof openfl_display_Bitmap&&(i=js_Boot.__cast(i,openfl_display_Bitmap).__bitmapData),i instanceof openfl_geom_Point){var s=i,a=s.x-e.x|0,r=s.y-e.y|0;if(this.rect.contains(a,r)&&((f=this.getPixel32(a,r))>>24&255)>t)return!0}else if(i instanceof openfl_display_BitmapData){var _=i;null==l?(a=0,r=0):(a=Math.round(l.x-e.x),r=Math.round(l.y-e.y));var o=openfl_geom_Rectangle.__pool.get();if(o.setTo(a,r,_.width,_.height),this.rect.intersects(o)){a<0?(o.x=0,o.width=Math.min(_.width+a,this.width)):o.width=Math.min(_.width,this.width-a),r<0?(o.y=0,o.height=Math.min(_.height+r,this.height)):o.height=Math.min(_.height,this.height-r);m=this.getPixels(o);o.x=a<0?-a:0,o.y=r<0?-r:0;for(var h,u=_.getPixels(o),d=0,c=x=o.width*o.height|0;d<c;){d++;if(f=m.readUnsignedInt(),h=u.readUnsignedInt(),UInt.gt(f>>>24&255,t)&&UInt.gt(h>>>24&255,n))return openfl_geom_Rectangle.__pool.release(o),!0}}openfl_geom_Rectangle.__pool.release(o)}else if(i instanceof openfl_geom_Rectangle){var p=openfl_geom_Rectangle.__pool.get();if(p.copyFrom(i),p.offset(-e.x,-e.y),p.__contract(0,0,this.width,this.height),p.width>0&&p.height>0)for(var f,m=this.getPixels(p),x=UInt.toFloat(openfl_utils_ByteArray.get_length(m))/UInt.toFloat(4)|0,d=0,c=x;d<c;){d++;if(f=m.readUnsignedInt(),UInt.gt(f>>>24&255,t))return openfl_geom_Rectangle.__pool.release(p),!0}openfl_geom_Rectangle.__pool.release(p)}return!1},lock:function(){},merge:function(e,t,i,l,n,s,a){this.readable&&null!=e&&e.readable&&null!=t&&null!=i&&this.image.merge(e.image,t.__toLimeRectangle(),i.__toLimeVector2(),l,n,s,a)},noise:function(e,t,i,l,n){if(null==n&&(n=!1),null==l&&(l=7),null==i&&(i=255),null==t&&(t=0),this.readable){var s=function(){return e=1103515245*e+12345,(0|Math.abs(e/65536))%32768};s();for(var a=i-t,r=1==(1&l),_=(2&l)>>1==1,o=(4&l)>>2==1,h=(8&l)>>3==1,u=0,d=this.height;u<d;)for(var c=u++,p=0,f=this.width;p<f;){var m=p++,x=0,g=0,F=0,y=255;n?(x=F=g=t+s()%a,y=255):(r&&(x=t+s()%a),_&&(F=t+s()%a),o&&(g=t+s()%a),h&&(y=t+s()%a));var S=y;S=((S=((S=(S<<8)+x)<<8)+F)<<8)+g,this.setPixel32(m,c,S)}}},paletteMap:function(e,t,i,l,n,s,a){for(var r,_,o=0|t.width,h=0|t.height,u=e.getPixels(t),d=0,c=h*o;d<c;){var p=d++;r=u.readUnsignedInt(),_=(null==a?-16777216&r:a[r>>24&255])+(null==l?16711680&r:l[r>>16&255])+(null==n?65280&r:n[r>>8&255])+(null==s?255&r:s[255&r]),u.position=4*p,u.writeUnsignedInt(_)}u.position=0;var f=openfl_geom_Rectangle.__pool.get();f.setTo(i.x,i.y,o,h),this.setPixels(f,u),openfl_geom_Rectangle.__pool.release(f)},perlinNoise:function(e,t,i,l,n,s,a,r,_){null==r&&(r=!1),null==a&&(a=7),this.readable&&new openfl_display__$internal_PerlinNoise(l,i,a,r,.5,n,.15).fill(this,e,t,0)},scroll:function(e,t){this.readable&&this.image.scroll(e,t)},setPixel:function(e,t,i){this.readable&&this.image.setPixel(e,t,i,1)},setPixel32:function(e,t,i){this.readable&&this.image.setPixel32(e,t,i,1)},setPixels:function(e,t){if(this.readable&&null!=e){var i=e.width*e.height*4;if(UInt.toFloat(t.length-t.position)<i)throw haxe_Exception.thrown(new openfl_errors_Error("End of file was encountered.",2030));this.image.setPixels(e.__toLimeRectangle(),openfl_utils_ByteArray.toBytePointer(t),1,openfl_utils_Endian.toLimeEndian(t.__endian))}},setVector:function(e,t){var i=new openfl_utils_ByteArrayData(0);openfl_utils_ByteArray.set_length(i,4*t.get_length());for(var l=t.iterator();l.hasNext();){var n=l.next();i.writeUnsignedInt(n)}i.position=0,this.setPixels(e,i)},threshold:function(e,t,i,l,n,s,a,r){return null==r&&(r=!1),null==a&&(a=-1),null==s&&(s=0),null==e||null==t||null==i||t.x>e.width||t.y>e.height||i.x>this.width||i.y>this.height?0:this.image.threshold(e.image,t.__toLimeRectangle(),i.__toLimeVector2(),l,n,s,a,r,1)},unlock:function(e){},__applyAlpha:function(e){lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this.image),lime__$internal_graphics_ImageCanvasUtil.createImageData(this.image);for(var t=this.image.buffer.data,i=0,l=openfl_utils_ByteArray.get_length(e);i<l;)t[4*i+++3]=e.readUnsignedByte();this.image.version++},__drawCairo:function(e,t){},__drawCanvas:function(e,t){var i=this.image.buffer;t.__allowSmoothing||t.applySmoothing(i.__srcContext,!1),t.__render(e),t.__allowSmoothing||t.applySmoothing(i.__srcContext,!0),i.__srcContext.setTransform(1,0,0,1,0,0),i.__srcImageData=null,i.data=null,this.image.dirty=!0,this.image.version++},__drawGL:function(e,t){var i=t.__context3D,l=i.__state.renderToTexture,n=i.__state.renderToTextureDepthStencil,s=i.__state.renderToTextureAntiAlias,a=i.__state.renderToTextureSurfaceSelector;i.setRenderToTexture(this.getTexture(i),!0),t.__render(e),null!=l?i.setRenderToTexture(l,n,s,a):i.setRenderToBackBuffer()},__fillRect:function(e,t,i){if(null!=e)if(this.transparent&&0==(-16777216&t)&&(t=0),i&&null!=this.__texture&&null!=this.__texture.__glFramebuffer&&"opengl"==openfl_Lib.get_current().stage.__renderer.__type){var l=openfl_Lib.get_current().stage.__renderer.__context3D,n=t,s=!this.rect.equals(e),a=l.__state.renderToTexture,r=l.__state.renderToTextureDepthStencil,_=l.__state.renderToTextureAntiAlias,o=l.__state.renderToTextureSurfaceSelector;l.setRenderToTexture(this.__texture),s&&l.setScissorRectangle(e),l.clear((n>>>16&255)/255,(n>>>8&255)/255,(255&n)/255,this.transparent?(n>>>24&255)/255:1,0,0,1),s&&l.setScissorRectangle(null),null!=a?l.setRenderToTexture(a,r,_,o):l.setRenderToBackBuffer()}else this.readable&&this.image.fillRect(e.__toLimeRectangle(),t,1)},__fromBase64:function(e,t){var i=lime_graphics_Image.fromBase64(e,t);this.__fromImage(i)},__fromBytes:function(e,t){var i=lime_graphics_Image.fromBytes(openfl_utils_ByteArray.toBytes(e));this.__fromImage(i),null!=t&&this.__applyAlpha(t)},__fromFile:function(e){var t=lime_graphics_Image.fromFile(e);this.__fromImage(t)},__fromImage:function(e){null!=e&&null!=e.buffer&&(this.image=e,this.width=e.width,this.height=e.height,this.rect=new openfl_geom_Rectangle(0,0,e.width,e.height),this.__textureWidth=this.width,this.__textureHeight=this.height,this.readable=!0,this.__isValid=!0)},__getBounds:function(e,t){var i=openfl_geom_Rectangle.__pool.get();this.rect.__transform(i,t),e.__expand(i.x,i.y,i.width,i.height),openfl_geom_Rectangle.__pool.release(i)},__loadFromBase64:function(e,t){var i=this;return lime_graphics_Image.loadFromBase64(e,t).then(function(e){return i.__fromImage(e),lime_app_Future.withValue(i)})},__loadFromBytes:function(e,t){var i=this;return lime_graphics_Image.loadFromBytes(openfl_utils_ByteArray.toBytes(e)).then(function(e){return i.__fromImage(e),null!=t&&i.__applyAlpha(t),lime_app_Future.withValue(i)})},__loadFromFile:function(e){var t=this;return lime_graphics_Image.loadFromFile(e).then(function(e){return t.__fromImage(e),lime_app_Future.withValue(t)})},__renderCairo:function(e){},__renderCairoMask:function(e){},__renderCanvas:function(e){if(this.readable){this.image.type==lime_graphics_ImageType.DATA&&lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this.image);var t=e.context;t.globalAlpha=1,e.setTransform(this.__renderTransform,t),t.drawImage(this.image.get_src(),0,0,this.image.width,this.image.height)}},__renderCanvasMask:function(e){},__renderDOM:function(e){},__renderGL:function(e){var t=e.__context3D;t.gl;e.__setBlendMode(10);var i=e.__defaultDisplayShader;e.setShader(i),e.applyBitmapData(this,e.__upscaled),e.applyMatrix(e.__getMatrix(this.__worldTransform,1)),e.applyAlpha(this.__worldAlpha),e.applyColorTransform(this.__worldColorTransform),e.updateShader();var l=this.getVertexBuffer(t);null!=i.__position&&t.setVertexBufferAt(i.__position.index,l,0,3),null!=i.__textureCoord&&t.setVertexBufferAt(i.__textureCoord.index,l,3,2);var n=this.getIndexBuffer(t);t.drawTriangles(n),e.__clearShader()},__renderGLMask:function(e){var t=e.__context3D,i=(t.gl,e.__maskShader);e.setShader(i),e.applyBitmapData(this,e.__upscaled),e.applyMatrix(e.__getMatrix(this.__worldTransform,1)),e.updateShader();var l=this.getVertexBuffer(t);null!=i.__position&&t.setVertexBufferAt(i.__position.index,l,0,3),null!=i.__textureCoord&&t.setVertexBufferAt(i.__textureCoord.index,l,3,2);var n=this.getIndexBuffer(t);t.drawTriangles(n),e.__clearShader()},__resize:function(e,t){this.width=e,this.height=t,this.rect.width=e,this.rect.height=t,this.__textureWidth=e,this.__textureHeight=t},__setUVRect:function(e,t,i,l,n){if(null!=this.getVertexBuffer(e)&&(l!=this.__uvRect.width||n!=this.__uvRect.height||t!=this.__uvRect.x||i!=this.__uvRect.y)){e.gl;null==this.__uvRect&&(this.__uvRect=new openfl_geom_Rectangle),this.__uvRect.setTo(t,i,l,n);var s=this.__textureWidth>0?t/this.__textureWidth:0,a=this.__textureHeight>0?i/this.__textureHeight:0,r=this.__textureWidth>0?l/this.__textureWidth:0,_=this.__textureHeight>0?n/this.__textureHeight:0;this.__vertexBufferData[0]=l,this.__vertexBufferData[1]=n,this.__vertexBufferData[3]=s+r,this.__vertexBufferData[4]=a+_,this.__vertexBufferData[15]=n,this.__vertexBufferData[17]=s,this.__vertexBufferData[18]=a+_,this.__vertexBufferData[28]=l,this.__vertexBufferData[31]=s+r,this.__vertexBufferData[32]=a,this.__vertexBufferData[45]=s,this.__vertexBufferData[46]=a,this.__vertexBuffer.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(this.__vertexBufferData))}},__sync:function(){lime__$internal_graphics_ImageCanvasUtil.sync(this.image,!1)},__update:function(e,t){this.__updateTransforms()},__updateTransforms:function(e){null==e?this.__worldTransform.identity():this.__worldTransform.copyFrom(e),this.__renderTransform.copyFrom(this.__worldTransform)},__class__:openfl_display_BitmapData};var flixel_addons_transition_GraphicTransTileCircle=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_addons_transition_GraphicTransTileCircle.preload)this.__fromImage(flixel_addons_transition_GraphicTransTileCircle.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_addons_transition_GraphicTransTileCircle.resourceName),flixel_addons_transition_GraphicTransTileCircle.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_addons_transition_GraphicTransTileCircle.preload&&(flixel_addons_transition_GraphicTransTileCircle.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.addons.transition.GraphicTransTileCircle"]=flixel_addons_transition_GraphicTransTileCircle,flixel_addons_transition_GraphicTransTileCircle.__name__="flixel.addons.transition.GraphicTransTileCircle",flixel_addons_transition_GraphicTransTileCircle.preload=null,flixel_addons_transition_GraphicTransTileCircle.__super__=openfl_display_BitmapData,flixel_addons_transition_GraphicTransTileCircle.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_addons_transition_GraphicTransTileCircle});var flixel_addons_transition_GraphicTransTileDiamond=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_addons_transition_GraphicTransTileDiamond.preload)this.__fromImage(flixel_addons_transition_GraphicTransTileDiamond.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_addons_transition_GraphicTransTileDiamond.resourceName),flixel_addons_transition_GraphicTransTileDiamond.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_addons_transition_GraphicTransTileDiamond.preload&&(flixel_addons_transition_GraphicTransTileDiamond.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.addons.transition.GraphicTransTileDiamond"]=flixel_addons_transition_GraphicTransTileDiamond,flixel_addons_transition_GraphicTransTileDiamond.__name__="flixel.addons.transition.GraphicTransTileDiamond",flixel_addons_transition_GraphicTransTileDiamond.preload=null,flixel_addons_transition_GraphicTransTileDiamond.__super__=openfl_display_BitmapData,flixel_addons_transition_GraphicTransTileDiamond.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_addons_transition_GraphicTransTileDiamond});var flixel_addons_transition_GraphicTransTileSquare=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_addons_transition_GraphicTransTileSquare.preload)this.__fromImage(flixel_addons_transition_GraphicTransTileSquare.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_addons_transition_GraphicTransTileSquare.resourceName),flixel_addons_transition_GraphicTransTileSquare.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_addons_transition_GraphicTransTileSquare.preload&&(flixel_addons_transition_GraphicTransTileSquare.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.addons.transition.GraphicTransTileSquare"]=flixel_addons_transition_GraphicTransTileSquare,flixel_addons_transition_GraphicTransTileSquare.__name__="flixel.addons.transition.GraphicTransTileSquare",flixel_addons_transition_GraphicTransTileSquare.preload=null,flixel_addons_transition_GraphicTransTileSquare.__super__=openfl_display_BitmapData,flixel_addons_transition_GraphicTransTileSquare.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_addons_transition_GraphicTransTileSquare});var flixel_addons_transition_FlxTransitionSprite=function(e,t,i,l,n,s,a){null==a&&(a=40),null==s&&(s=32),null==n&&(n=32),null==t&&(t=0),null==e&&(e=0),this._newStatus=-1,this.status=0,this._finished=!1,this._starting=!0,flixel_FlxSprite.call(this,e,t),null==l&&(l=flixel_graphics_FlxGraphic.fromClass(flixel_addons_transition_GraphicTransTileDiamond),n=32,s=32),this._delay=i,this.loadGraphic(l,!0,n,s),this.graphic.persist=!0,this.graphic.set_destroyOnNoUse(!1);for(var r=[],_=[],o=1,h=this.numFrames-1;o<h;){var u=o++;r.push(u)}(_=r.slice()).reverse(),this.animation.add("empty",[0],0,!1),this.animation.add("in",r,a,!1),this.animation.add("full",[this.numFrames-1],0,!1),this.animation.add("out",_,a,!1),this.setStatus(3)};$hxClasses["flixel.addons.transition.FlxTransitionSprite"]=flixel_addons_transition_FlxTransitionSprite,flixel_addons_transition_FlxTransitionSprite.__name__="flixel.addons.transition.FlxTransitionSprite",flixel_addons_transition_FlxTransitionSprite.__super__=flixel_FlxSprite,flixel_addons_transition_FlxTransitionSprite.prototype=$extend(flixel_FlxSprite.prototype,{_delay:null,_count:null,_starting:null,_finished:null,status:null,_newStatus:null,start:function(e){this._starting=!0,this._finished=!1,this._count=0,this._newStatus=e},startStatus:function(e){this.setStatus(e)},setStatus:function(e){var t;switch(e){case-1:case 2:t="empty";break;case 0:t="in";break;case 1:t="out";break;case 3:t="full"}this.animation.play(t),this.animation.finishCallback=$bind(this,this.onFinishAnim),this.status=e},onFinishAnim:function(e){if(!this._finished)switch(this._finished=!0,this.status){case 0:this.setStatus(3);break;case 1:this.setStatus(2)}},update:function(e){flixel_FlxSprite.prototype.update.call(this,e),this._starting&&(this._count+=e,this._count>=this._delay&&this.onTime())},onTime:function(){this._starting=!1,this._count=0,this.setStatus(this._newStatus),this._newStatus=-1},__class__:flixel_addons_transition_FlxTransitionSprite});var flixel_addons_transition_Transition=function(e){flixel_FlxSubState.call(this,0),this._effect=this.createEffect(e),this._effect.scrollFactor.set(0,0),this.add(this._effect)};$hxClasses["flixel.addons.transition.Transition"]=flixel_addons_transition_Transition,flixel_addons_transition_Transition.__name__="flixel.addons.transition.Transition",flixel_addons_transition_Transition.__super__=flixel_FlxSubState,flixel_addons_transition_Transition.prototype=$extend(flixel_FlxSubState.prototype,{_effect:null,update:function(e){flixel_FlxSubState.prototype.update.call(this,e),this._effect.update(e)},destroy:function(){flixel_FlxSubState.prototype.destroy.call(this),this.set_finishCallback(null),this._effect.destroy(),this._effect=null},start:function(e){this._effect.start(e)},setStatus:function(e){this._effect.setStatus(e)},createEffect:function(e){switch(e.type){case"fade":return new flixel_addons_transition_TransitionFade(e);case"tiles":return new flixel_addons_transition_TransitionTiles(e);default:return null}},get_finishCallback:function(){return null!=this._effect?this._effect.finishCallback:null},set_finishCallback:function(e){return null!=this._effect?(this._effect.finishCallback=e,e):null},__class__:flixel_addons_transition_Transition,__properties__:$extend(flixel_FlxSubState.prototype.__properties__,{set_finishCallback:"set_finishCallback",get_finishCallback:"get_finishCallback"})});var flixel_addons_transition_TransitionData=function(e,t,i,l,n,s){null==i&&(i=1),null==t&&(t=-1),null==e&&(e="fade"),this.duration=1,this.type=e,this.tileData=n,this.duration=i,this.color=t,this.direction=l,null==this.direction&&(this.direction=new flixel_math_FlxPoint(0,0));var a=this.direction.x;a=this.direction.y;this.tweenOptions={onComplete:null},this.region=s,null==s&&(this.region=new flixel_math_FlxRect(0,0,flixel_FlxG.width,flixel_FlxG.height))};$hxClasses["flixel.addons.transition.TransitionData"]=flixel_addons_transition_TransitionData,flixel_addons_transition_TransitionData.__name__="flixel.addons.transition.TransitionData",flixel_addons_transition_TransitionData.__interfaces__=[flixel_util_IFlxDestroyable],flixel_addons_transition_TransitionData.prototype={type:null,tileData:null,color:null,duration:null,direction:null,tweenOptions:null,region:null,destroy:function(){this.tileData=null,this.direction=null,this.tweenOptions.onComplete=null,this.tweenOptions.ease=null,this.tweenOptions=null,this.region=null,this.direction=null},__class__:flixel_addons_transition_TransitionData};var flixel_addons_transition_TransitionEffect=function(e){this._finalDelayTime=0,this._started=!1,this.finished=!1,this._data=e,flixel_group_FlxTypedSpriteGroup.call(this)};$hxClasses["flixel.addons.transition.TransitionEffect"]=flixel_addons_transition_TransitionEffect,flixel_addons_transition_TransitionEffect.__name__="flixel.addons.transition.TransitionEffect",flixel_addons_transition_TransitionEffect.__super__=flixel_group_FlxTypedSpriteGroup,flixel_addons_transition_TransitionEffect.prototype=$extend(flixel_group_FlxTypedSpriteGroup.prototype,{finishCallback:null,finished:null,_started:null,_endStatus:null,_finalDelayTime:null,_data:null,destroy:function(){flixel_group_FlxTypedSpriteGroup.prototype.destroy.call(this),this.finishCallback=null},start:function(e){this._started=!0,this._endStatus=0==e?3:2},setStatus:function(e){},delayThenFinish:function(){(new flixel_util_FlxTimer).start(this._finalDelayTime,$bind(this,this.onFinish))},onFinish:function(e){this.finished=!0,null!=this.finishCallback&&(this.finishCallback(),this.finishCallback=null)},__class__:flixel_addons_transition_TransitionEffect});var flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.preload)this.__fromImage(flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.resourceName),flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.preload&&(flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.addons.transition._TransitionFade.GraphicDiagonalGradient"]=flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient,flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.__name__="flixel.addons.transition._TransitionFade.GraphicDiagonalGradient",flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.preload=null,flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.__super__=openfl_display_BitmapData,flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient});var flixel_addons_transition_TransitionFade=function(e){this.tweenValEnd2=0,this.tweenValEnd=0,this.tweenValStart2=0,this.tweenValStart=0,this.tweenStr2="",this.tweenStr="",flixel_addons_transition_TransitionEffect.call(this,e),this.back=this.makeSprite(e.direction.x,e.direction.y,e.region),this.back.scrollFactor.set(0,0),this.add(this.back)};$hxClasses["flixel.addons.transition.TransitionFade"]=flixel_addons_transition_TransitionFade,flixel_addons_transition_TransitionFade.__name__="flixel.addons.transition.TransitionFade",flixel_addons_transition_TransitionFade.__super__=flixel_addons_transition_TransitionEffect,flixel_addons_transition_TransitionFade.prototype=$extend(flixel_addons_transition_TransitionEffect.prototype,{back:null,tweenStr:null,tweenStr2:null,tweenValStart:null,tweenValStart2:null,tweenValEnd:null,tweenValEnd2:null,destroy:function(){flixel_addons_transition_TransitionEffect.prototype.destroy.call(this),this.back=null},start:function(e){switch(flixel_addons_transition_TransitionEffect.prototype.start.call(this,e),this.setTweenValues(e,this._data.direction.x,this._data.direction.y),this.tweenStr){case"alpha":this.back.set_alpha(this.tweenValStart);break;case"x":this.back.set_x(this.tweenValStart);break;case"y":this.back.set_y(this.tweenValStart)}switch(this.tweenStr2){case"alpha":this.back.set_alpha(this.tweenValStart2);break;case"x":this.back.set_x(this.tweenValStart2);break;case"y":this.back.set_y(this.tweenValStart2)}var t={};t[this.tweenStr]=this.tweenValEnd,""!=this.tweenStr2&&(t[this.tweenStr2]=this.tweenValEnd2),this._data.tweenOptions.onComplete=$bind(this,this.finishTween),flixel_tweens_FlxTween.tween(this.back,t,this._data.duration,this._data.tweenOptions)},setTweenValues:function(e,t,i){0==t&&0==i?(this.tweenStr="alpha",this.tweenValStart=0==e?0:1,this.tweenValEnd=0==e?1:0):Math.abs(t)>0&&0==i?(this.tweenStr="x",t>0?(this.tweenValStart=0==e?-this.back.get_width():0,this.tweenValEnd=0==e?0:-this.back.get_width()):(this.tweenValStart=0==e?flixel_FlxG.width:-this.back.get_width()/2,this.tweenValEnd=0==e?-this.back.get_width()/2:flixel_FlxG.width)):0==t&&Math.abs(i)>0?(this.tweenStr="y",i>0?(this.tweenValStart=0==e?-this.back.get_height():0,this.tweenValEnd=0==e?0:-this.back.get_height()):(this.tweenValStart=0==e?flixel_FlxG.height:-this.back.get_height()/2,this.tweenValEnd=0==e?-this.back.get_height()/2:flixel_FlxG.height)):Math.abs(t)>0&&Math.abs(i)>0&&(this.tweenStr="x",this.tweenStr2="y",t>0?(this.tweenValStart=0==e?-this.back.get_width():0,this.tweenValEnd=0==e?0:-this.back.get_width()):(this.tweenValStart=0==e?flixel_FlxG.width:.6666666666666666*-this.back.get_width(),this.tweenValEnd=0==e?.6666666666666666*-this.back.get_width():flixel_FlxG.width),i>0?(this.tweenValStart2=0==e?-this.back.get_height():0,this.tweenValEnd2=0==e?0:-this.back.get_height()):(this.tweenValStart2=0==e?flixel_FlxG.height:.6666666666666666*-this.back.get_height(),this.tweenValEnd2=0==e?.6666666666666666*-this.back.get_height():flixel_FlxG.height))},makeSprite:function(e,t,i){var l=new flixel_FlxSprite(i.x,i.y),n=0,s=0,a=0,r=null;if(0==e&&0==t)l.makeGraphic(0|i.width,0|i.height,this._data.color);else if(0==e&&Math.abs(t)>0){s=t>0?i.height:0,a=t>0?90:270,l.makeGraphic(1,2*i.height|0,this._data.color),r=l.get_pixels();var _=flixel_util_FlxGradient.createGradientBitmapData(1,0|i.height,[this._data.color,0],1,a);r.copyPixels(_,_.rect,new openfl_geom_Point(0,s)),l.set_pixels(r),l.scale.set(i.width,1),l.updateHitbox()}else if(Math.abs(e)>0&&0==t){n=e>0?i.width:0,a=e>0?0:180,l.makeGraphic(2*i.width|0,1,this._data.color),r=l.get_pixels();var o=flixel_util_FlxGradient.createGradientBitmapData(0|i.width,1,[this._data.color,0],1,a);r.copyPixels(o,o.rect,new openfl_geom_Point(n,0)),l.set_pixels(r),l.scale.set(1,i.height),l.updateHitbox()}else Math.abs(e)>0&&Math.abs(t)>0&&(s=t>0?i.height:0,l.loadGraphic(this.getGradient()),l.set_flipX(e<0),l.set_flipY(t<0));return l},getGradient:function(){var e=new flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient(0,0),t=new openfl_display_BitmapData(2*flixel_FlxG.width,2*flixel_FlxG.height,!0),i=new openfl_geom_Matrix;i.scale(t.width/e.width,t.height/e.height),t.draw(e,i,null,null,null,!0);var l=this._data.color,n=new openfl_display_BitmapData(3*flixel_FlxG.width,3*flixel_FlxG.height,!0,l);return n.copyChannel(t,t.rect,new openfl_geom_Point(n.width-t.width,n.height-t.height),1,8),e.dispose(),t.dispose(),n},finishTween:function(e){this.delayThenFinish()},__class__:flixel_addons_transition_TransitionFade});var flixel_addons_transition_TransitionTiles=function(e){this._isCenter=!1,flixel_addons_transition_TransitionEffect.call(this,e),this._grpSprites=new flixel_group_FlxTypedSpriteGroup;var t=0;null==e.tileData&&(e.tileData={asset:null,width:32,height:32});var i=e.region,l=Math.ceil(i.width/e.tileData.width),n=Math.ceil(i.height/e.tileData.height),s=l>n?l:n,a=e.duration/s,r=a*Math.abs(e.direction.x),_=a*Math.abs(e.direction.y),o=e.tileData.width,h=e.tileData.height,u=0,d=0,c=0|i.x,p=0|i.y;e.direction.x<0&&(o*=-1,c+=i.width+o|0),e.direction.y<0&&(h*=-1,p+=i.height+h|0),u=c,d=p;for(var f=0,m=n;f<m;){for(var x=f++,g=0,F=l;g<F;){g++;var y=40;null!=e.tileData.frameRate&&(y=e.tileData.frameRate);var S=new flixel_addons_transition_FlxTransitionSprite(u,d,t,e.tileData.asset,e.tileData.width,e.tileData.height,y);S.set_color(e.color),S.scrollFactor.set(0,0),this._grpSprites.add(S),u+=o,t+=r}d+=h,u=c,t=(x+1)*_}this.add(this._grpSprites),this._isCenter=0==e.direction.x&&0==e.direction.y};$hxClasses["flixel.addons.transition.TransitionTiles"]=flixel_addons_transition_TransitionTiles,flixel_addons_transition_TransitionTiles.__name__="flixel.addons.transition.TransitionTiles",flixel_addons_transition_TransitionTiles.__super__=flixel_addons_transition_TransitionEffect,flixel_addons_transition_TransitionTiles.prototype=$extend(flixel_addons_transition_TransitionEffect.prototype,{_grpSprites:null,_isCenter:null,destroy:function(){flixel_addons_transition_TransitionEffect.prototype.destroy.call(this),this._grpSprites=null},start:function(e){flixel_addons_transition_TransitionEffect.prototype.start.call(this,e),this._grpSprites.group.forEach(function(t){t.start(e)},!1)},setStatus:function(e){flixel_addons_transition_TransitionEffect.prototype.setStatus.call(this,e),this._grpSprites.group.forEach(function(t){t.setStatus(e)},!1)},update:function(e){if(flixel_addons_transition_TransitionEffect.prototype.update.call(this,e),this._started){for(var t=!0,i=0,l=this._grpSprites.group.members;i<l.length;){var n=l[i];if(++i,-1!=n.status&&n.status!=this._endStatus){t=!1;break}}t&&(this._started=!1,this.delayThenFinish())}},__class__:flixel_addons_transition_TransitionTiles});var flixel_addons_ui_Anchor=function(e,t,i,l,n,s){this.x=new flixel_addons_ui_AnchorPoint(e,i,n),this.y=new flixel_addons_ui_AnchorPoint(t,l,s)};$hxClasses["flixel.addons.ui.Anchor"]=flixel_addons_ui_Anchor,flixel_addons_ui_Anchor.__name__="flixel.addons.ui.Anchor",flixel_addons_ui_Anchor.__interfaces__=[flixel_util_IFlxDestroyable],flixel_addons_ui_Anchor.prototype={x:null,y:null,destroy:function(){this.x=null,this.y=null},anchorThing:function(e,t){var i=0,l=0;switch(this.x.side){case"center":i=t.x+t.get_width()/2;break;case"left":i=t.x;break;case"right":i=t.x+t.get_width();break;default:i=t.x}switch(this.y.side){case"bottom":l=t.y+t.get_height();break;case"center":l=t.y+t.get_height()/2;break;case"top":l=t.y;break;default:l=t.y}switch(this.x.flush){case"center":i-=e.get_width()/2;break;case"left":break;case"right":i-=e.get_width()}switch(this.y.flush){case"bottom":l-=e.get_height();break;case"center":l-=e.get_height()/2}e.set_x(i+this.x.offset),e.set_y(l+this.y.offset)},getFlipped:function(e,t,i){var l=e?-1*this.x.offset:this.x.offset,n=t?-1*this.y.offset:this.y.offset,s=e?this.flipAnchorSide(this.x.side):this.x.side,a=t?this.flipAnchorSide(this.y.side):this.y.side,r=e?this.flipAnchorSide(this.x.flush):this.x.flush,_=t?this.flipAnchorSide(this.y.flush):this.y.flush;return null==i?i=new flixel_addons_ui_Anchor(l,n,s,a,r,_):(i.x.offset=l,i.y.offset=n,i.x.side=s,i.y.side=a,i.x.flush=r,i.y.flush=_),i},clone:function(){return new flixel_addons_ui_Anchor(this.x.offset,this.y.offset,this.x.side,this.y.side,this.x.flush,this.y.flush)},flipAnchorSide:function(e){return"left"==e?"right":"right"==e?"left":"top"==e?"bottom":"bottom"==e?"top":e},__class__:flixel_addons_ui_Anchor};var flixel_addons_ui_AnchorPoint=function(e,t,i){this.flush="center",this.side="center",this.offset=0,this.offset=e,this.side=t,this.flush=i};$hxClasses["flixel.addons.ui.AnchorPoint"]=flixel_addons_ui_AnchorPoint,flixel_addons_ui_AnchorPoint.__name__="flixel.addons.ui.AnchorPoint",flixel_addons_ui_AnchorPoint.prototype={offset:null,side:null,flush:null,__class__:flixel_addons_ui_AnchorPoint};var flixel_addons_ui_BorderDef=function(e,t,i,l){null==l&&(l=1),null==i&&(i=1),this.style=e,this.color=t,this.size=i,this.quality=l};$hxClasses["flixel.addons.ui.BorderDef"]=flixel_addons_ui_BorderDef,flixel_addons_ui_BorderDef.__name__="flixel.addons.ui.BorderDef",flixel_addons_ui_BorderDef.fromXML=function(e){var t=flixel_addons_ui_U.xml_str(e,"border"),i=flixel_text_FlxTextBorderStyle.NONE,l=flixel_addons_ui_U.xml_color(e,"border_color",!0,0),n=flixel_addons_ui_U.xml_f(e,"border_size",1),s=flixel_addons_ui_U.xml_f(e,"border_quality",0),a=new flixel_addons_ui_BorderDef(i,l,n,s);switch(t){case"":if(""!=(t=flixel_addons_ui_U.xml_str(e,"shadow",!0,""))&&"false"!=t&&"none"!=t){if(a.style=flixel_text_FlxTextBorderStyle.SHADOW,null==(r=!0)&&(r=!1),null==(_=flixel_util_FlxColor.fromString(t))){if(!r)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+t);_=0}a.color=_}else if(""!=(t=flixel_addons_ui_U.xml_str(e,"outline",!0,""))&&"false"!=t&&"none"!=t){if(a.style=flixel_text_FlxTextBorderStyle.OUTLINE,null==(r=!0)&&(r=!1),null==(_=flixel_util_FlxColor.fromString(t))){if(!r)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+t);_=0}a.color=_}else if(""!=(t=flixel_addons_ui_U.xml_str(e,"outline_fast"))&&"false"!=t&&"none"!=t){a.style=flixel_text_FlxTextBorderStyle.OUTLINE_FAST;var r=!0;null==r&&(r=!1);var _=flixel_util_FlxColor.fromString(t);if(null==_){if(!r)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+t);_=0}a.color=_}break;case"false":case"none":a.style=flixel_text_FlxTextBorderStyle.NONE;break;case"outline":a.style=flixel_text_FlxTextBorderStyle.OUTLINE;break;case"outline_fast":a.style=flixel_text_FlxTextBorderStyle.OUTLINE_FAST;break;case"shadow":a.style=flixel_text_FlxTextBorderStyle.SHADOW}return a},flixel_addons_ui_BorderDef.prototype={style:null,color:null,size:null,quality:null,clone:function(){return new flixel_addons_ui_BorderDef(this.style,this.color,this.size,this.quality)},apply:function(e){var t=this.color,i=this.size,l=this.quality;return null==l&&(l=1),null==i&&(i=1),null==t&&(t=0),e.set_borderStyle(this.style),e.set_borderColor(t),e.set_borderSize(i),e.set_borderQuality(l),e},__class__:flixel_addons_ui_BorderDef};var flixel_addons_ui_ButtonLabelStyle=function(e,t,i,l){this.align=null,this.color=null,this.border=null,this.font=null,this.font=e,this.border=l,this.color=i,this.align=t};$hxClasses["flixel.addons.ui.ButtonLabelStyle"]=flixel_addons_ui_ButtonLabelStyle,flixel_addons_ui_ButtonLabelStyle.__name__="flixel.addons.ui.ButtonLabelStyle",flixel_addons_ui_ButtonLabelStyle.prototype={font:null,border:null,color:null,align:null,apply:function(e){null!=this.font&&this.font.apply(null,e),null!=this.border&&this.border.apply(e),null!=this.color&&e.set_color(this.color),null!=this.align&&e.set_alignment(this.align)},__class__:flixel_addons_ui_ButtonLabelStyle};var flixel_addons_ui_FlxBaseMultiInput=function(){};$hxClasses["flixel.addons.ui.FlxBaseMultiInput"]=flixel_addons_ui_FlxBaseMultiInput,flixel_addons_ui_FlxBaseMultiInput.__name__="flixel.addons.ui.FlxBaseMultiInput",flixel_addons_ui_FlxBaseMultiInput.__interfaces__=[flixel_util_IFlxDestroyable],flixel_addons_ui_FlxBaseMultiInput.prototype={input:null,combos:null,forbiddens:null,destroy:function(){this.combos=null,this.forbiddens=null},checkJustPressed:function(){return!1},checkJustReleased:function(){return!1},checkPressed:function(){return!1},justPressed:function(){return!!this.checkJustPressed()&&this.passCombosAndForbiddens()},justReleased:function(){return!!this.checkJustReleased()&&(null==this.forbiddens||this.checkForbiddens(!1))},pressed:function(){return!!this.checkPressed()&&this.passCombosAndForbiddens()},equals:function(e){if(null==e)return!1;if(Type.typeof(e)!=Type.typeof(this))return!1;if(this.input!=e.input)return!1;if(null==this.combos!=(null==e.combos))return!1;if(null==this.forbiddens!=(null==e.forbiddens))return!1;if(null!=this.combos&&null!=e.combos)for(var t=0,i=this.combos;t<i.length;){l=i[t];if(++t,-1==e.combos.indexOf(l))return!1}if(null!=this.forbiddens&&null!=e.forbiddens)for(var t=0,i=this.forbiddens;t<i.length;){var l=i[t];if(++t,-1==e.forbiddens.indexOf(l))return!1}return!0},passCombosAndForbiddens:function(e,t){null==t&&(t=!1),null==e&&(e=!0);var i=null==this.combos||this.checkCombos(e),l=null==this.forbiddens||this.checkForbiddens(t);return!!i&&l},checkCombos:function(e){return!1},checkForbiddens:function(e){return!1},__class__:flixel_addons_ui_FlxBaseMultiInput};var flixel_addons_ui_FlxInputText=function(e,t,i,l,n,s,a,r){null==r&&(r=!0),null==a&&(a=-1),null==s&&(s=-16777216),null==n&&(n=8),null==i&&(i=150),null==t&&(t=0),null==e&&(e=0),this._scrollBoundIndeces={left:0,right:0},this.backgroundColor=-1,this.fieldBorderThickness=1,this.fieldBorderColor=-16777216,this.filterMode=0,this.maxLength=0,this.forceCase=0,this.caretIndex=0,this.hasFocus=!1,this.caretWidth=1,this.background=!1,flixel_text_FlxText.call(this,e,t,i,l,n,r),this.set_backgroundColor(a),0!=a&&(this.background=!0),this.set_color(s),this.set_caretColor(s),this.caret=new flixel_FlxSprite,this.caret.makeGraphic(this.caretWidth,n+2|0),this._caretTimer=new flixel_util_FlxTimer,this.set_caretIndex(0),this.set_hasFocus(!1),this.background&&(this.fieldBorderSprite=new flixel_FlxSprite(e,t),this.backgroundSprite=new flixel_FlxSprite(e,t)),this.set_lines(1),openfl_Lib.get_current().stage.addEventListener("keyDown",$bind(this,this.onKeyDown)),null==l&&(l=""),this.set_text(l),this.calcFrame()};$hxClasses["flixel.addons.ui.FlxInputText"]=flixel_addons_ui_FlxInputText,flixel_addons_ui_FlxInputText.__name__="flixel.addons.ui.FlxInputText",flixel_addons_ui_FlxInputText.__super__=flixel_text_FlxText,flixel_addons_ui_FlxInputText.prototype=$extend(flixel_text_FlxText.prototype,{customFilterPattern:null,set_customFilterPattern:function(e){return this.customFilterPattern=e,this.set_filterMode(4),this.customFilterPattern},callback:null,background:null,caretColor:null,set_caretColor:function(e){return this.caretColor=e,this.dirty=!0,this.caretColor},caretWidth:null,set_caretWidth:function(e){return this.caretWidth=e,this.dirty=!0,this.caretWidth},params:null,hasFocus:null,caretIndex:null,focusGained:null,focusLost:null,forceCase:null,maxLength:null,lines:null,filterMode:null,fieldBorderColor:null,fieldBorderThickness:null,backgroundColor:null,backgroundSprite:null,_caretTimer:null,caret:null,fieldBorderSprite:null,_scrollBoundIndeces:null,_charBoundaries:null,lastScroll:null,destroy:function(){openfl_Lib.get_current().stage.removeEventListener("keyDown",$bind(this,this.onKeyDown)),this.backgroundSprite=flixel_util_FlxDestroyUtil.destroy(this.backgroundSprite),this.fieldBorderSprite=flixel_util_FlxDestroyUtil.destroy(this.fieldBorderSprite),this.callback=null,flixel_text_FlxText.prototype.destroy.call(this)},draw:function(){this.drawSprite(this.fieldBorderSprite),this.drawSprite(this.backgroundSprite),flixel_text_FlxText.prototype.draw.call(this),this.caretColor==this.caret.color&&this.caret.get_height()==2+(0|this._defaultFormat.size)||this.caret.set_color(this.caretColor),this.drawSprite(this.caret)},drawSprite:function(e){null!=e&&e.visible&&(e.scrollFactor=this.scrollFactor,e.set_cameras(this.get_cameras()),e.draw())},update:function(e){if(flixel_text_FlxText.prototype.update.call(this,e),2==flixel_FlxG.mouse._leftButton.current){var t=this.hasFocus;flixel_FlxG.mouse.overlaps(this)?(this.set_caretIndex(this.getCaretIndex()),this.set_hasFocus(!0),t||null==this.focusGained||this.focusGained()):(this.set_hasFocus(!1),t&&null!=this.focusLost&&this.focusLost())}},onKeyDown:function(e){var t=e.keyCode;if(this.hasFocus){if(16==t||17==t||220==t||27==t)return;if(37==t)this.caretIndex>0&&((n=this).set_caretIndex(n.caretIndex-1),this.set_text(this.text));else if(39==t)this.caretIndex<this.text.length&&((n=this).set_caretIndex(n.caretIndex+1),this.set_text(this.text));else if(35==t)this.set_caretIndex(this.text.length),this.set_text(this.text);else if(36==t)this.set_caretIndex(0),this.set_text(this.text);else if(8==t)this.caretIndex>0&&((n=this).set_caretIndex(n.caretIndex-1),this.set_text(this.text.substring(0,this.caretIndex)+this.text.substring(this.caretIndex+1)),this.onChange("backspace"));else if(46==t)this.text.length>0&&this.caretIndex<this.text.length&&(this.set_text(this.text.substring(0,this.caretIndex)+this.text.substring(this.caretIndex+1)),this.onChange("delete"));else if(13==t)this.onChange("enter");else{if(0==e.charCode)return;var i=e.charCode,l=this.filter(String.fromCodePoint(i));if(l.length>0&&(0==this.maxLength||this.text.length+l.length<this.maxLength)){this.set_text(this.insertSubstring(this.text,l,this.caretIndex));var n=this;n.set_caretIndex(n.caretIndex+1),this.onChange("input")}}}},onChange:function(e){null!=this.callback&&this.callback(this.text,e)},insertSubstring:function(e,t,i){return i!=e.length?e=e.substring(0,i)+t+e.substring(i):e+=t,e},getCaretIndex:function(){var e=flixel_FlxG.mouse.x-this.x,t=flixel_FlxG.mouse.y-this.y;null==t&&(t=0),null==e&&(e=0);var i=flixel_math_FlxPoint._pool.get().set(e,t);i._inPool=!1;var l=i;return this.getCharIndexAtPoint(l.x,l.y)},getCharBoundaries:function(e){if(null!=this._charBoundaries&&e>=0&&this._charBoundaries.length>0){var t=new openfl_geom_Rectangle;if(e>=this._charBoundaries.length){i=this._charBoundaries[this._charBoundaries.length-1];null==(l=t)&&(l=new openfl_geom_Rectangle),l.x=i.x,l.y=i.y,l.width=i.width,l.height=i.height}else{var i=this._charBoundaries[e],l=t;null==l&&(l=new openfl_geom_Rectangle),l.x=i.x,l.y=i.y,l.width=i.width,l.height=i.height}return t}return null},set_text:function(e){var t=flixel_text_FlxText.prototype.set_text.call(this,e);if(null==this.textField)return t;var i=e.length;this.prepareCharBoundaries(i),this.textField.set_text("");for(var l=0,n=0,s=0,a=0,r=i;a<r;){var _=a++;this.textField.appendText(HxOverrides.substr(e,_,1)),n=this.textField.get_textWidth(),0==_&&(l=this.textField.get_textHeight()),this._charBoundaries[_].x=2+s,this._charBoundaries[_].y=2,this._charBoundaries[_].width=n-s,this._charBoundaries[_].height=l,s=n}return this.textField.set_text(e),this.onSetTextCheck(),t},getCharIndexAtPoint:function(e,t){var i=0;if(null!=this._charBoundaries&&this._charBoundaries.length>0&&this.textField.get_textWidth()<=this.textField.get_width())switch(this.getAlignStr()){case"center":e=e-this.textField.get_width()/2+this.textField.get_textWidth()/2;break;case"right":e=e-this.textField.get_width()+this.textField.get_textWidth()}if(null!=this._charBoundaries)for(var l=0,n=this._charBoundaries;l<n.length;){var s=n[l];if(++l,e>=s.x&&e<=s.x+s.width)return i;++i}return null!=this._charBoundaries&&this._charBoundaries.length>0&&e>this.textField.get_textWidth()?this._charBoundaries.length:0},prepareCharBoundaries:function(e){if(null==this._charBoundaries&&(this._charBoundaries=[]),this._charBoundaries.length>e)for(var t=0,i=this._charBoundaries.length-e;t<i;){l=t++;this._charBoundaries.pop()}for(var t=0,i=e;t<i;){var l=t++;if(this._charBoundaries.length-1<l){var n=this._charBoundaries,s=0,a=0,r=0,_=0;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0);var o=flixel_math_FlxRect._pool.get(),h=s,u=a,d=r,c=_;null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=c;var p=o;p._inPool=!1,n.push(p)}}},onSetTextCheck:function(){},calcFrame:function(e){if(null==e&&(e=!1),flixel_text_FlxText.prototype.calcFrame.call(this,e),null!=this.fieldBorderSprite&&(this.fieldBorderThickness>0?(this.fieldBorderSprite.makeGraphic(this.get_width()+2*this.fieldBorderThickness|0,this.get_height()+2*this.fieldBorderThickness|0,this.fieldBorderColor),this.fieldBorderSprite.set_x(this.x-this.fieldBorderThickness),this.fieldBorderSprite.set_y(this.y-this.fieldBorderThickness)):0==this.fieldBorderThickness&&this.fieldBorderSprite.set_visible(!1)),null!=this.backgroundSprite&&(this.background?(this.backgroundSprite.makeGraphic(0|this.get_width(),0|this.get_height(),this.backgroundColor),this.backgroundSprite.set_x(this.x),this.backgroundSprite.set_y(this.y)):this.backgroundSprite.set_visible(!1)),null!=this.caret){var t=this.caretWidth,i=2+(0|this._defaultFormat.size)|0,l=-16777216|16777215&this.borderColor,n=-16777216|16777215&this.caretColor,s="caret"+t+"x"+i+"c:"+n+"b:"+Std.string(this.borderStyle)+","+this.borderSize+","+l;switch(this.borderStyle._hx_index){case 0:this.caret.makeGraphic(t,i,n,!1,s),this.caret.offset.set_x(this.caret.offset.set_y(0));break;case 1:t+=0|this.borderSize,i+=0|this.borderSize,this.caret.makeGraphic(t,i,0,!1,s);a=new openfl_geom_Rectangle(this.borderSize,this.borderSize,this.caretWidth,2+(0|this._defaultFormat.size)|0);this.caret.get_pixels().fillRect(a,l),a.x=a.y=0,this.caret.get_pixels().fillRect(a,n),this.caret.offset.set_x(this.caret.offset.set_y(0));break;case 2:case 3:t+=2*this.borderSize|0,i+=2*this.borderSize|0,this.caret.makeGraphic(t,i,l,!1,s);var a=new openfl_geom_Rectangle(this.borderSize,this.borderSize,this.caretWidth,2+(0|this._defaultFormat.size)|0);this.caret.get_pixels().fillRect(a,n),this.caret.offset.set_x(this.caret.offset.set_y(this.borderSize))}this.caret.set_width(t),this.caret.set_height(i),this.set_caretIndex(this.caretIndex)}},toggleCaret:function(e){this.caret.set_visible(!this.caret.visible)},filter:function(e){if(1==this.forceCase?e=e.toUpperCase():2==this.forceCase&&(e=e.toLowerCase()),0!=this.filterMode){var t;switch(this.filterMode){case 1:t=new EReg("[^a-zA-Z]*","g");break;case 2:t=new EReg("[^0-9]*","g");break;case 3:t=new EReg("[^a-zA-Z0-9]*","g");break;case 4:t=this.customFilterPattern;break;default:throw haxe_Exception.thrown(new openfl_errors_Error("FlxInputText: Unknown filterMode ("+this.filterMode+")"))}e=e.replace(t.r,"")}return e},set_params:function(e){this.params=e,null==this.params&&(this.params=[]);var t={name:"value",value:this.text};return this.params.push(t),e},set_x:function(e){return null!=this.fieldBorderSprite&&this.fieldBorderThickness>0&&this.fieldBorderSprite.set_x(e-this.fieldBorderThickness),null!=this.backgroundSprite&&this.background&&this.backgroundSprite.set_x(e),flixel_text_FlxText.prototype.set_x.call(this,e)},set_y:function(e){return null!=this.fieldBorderSprite&&this.fieldBorderThickness>0&&this.fieldBorderSprite.set_y(e-this.fieldBorderThickness),null!=this.backgroundSprite&&this.background&&this.backgroundSprite.set_y(e),flixel_text_FlxText.prototype.set_y.call(this,e)},set_hasFocus:function(e){return e?this.hasFocus!=e&&(this._caretTimer=(new flixel_util_FlxTimer).start(.5,$bind(this,this.toggleCaret),0),this.caret.set_visible(!0),this.set_caretIndex(this.text.length)):(this.caret.set_visible(!1),null!=this._caretTimer&&this._caretTimer.cancel()),e!=this.hasFocus&&this.calcFrame(),this.hasFocus=e},getAlignStr:function(){var e="left";return null!=this._defaultFormat&&null!=this._defaultFormat.align&&(e=flixel_text_FlxTextAlign.fromOpenFL(this._defaultFormat.align)),e},set_caretIndex:function(e){var t=0;switch(this.getAlignStr()){case"center":t<=1&&(t=0);break;case"right":(t=this.textField.get_width()-2-this.textField.get_textWidth()-2)<0&&(t=0);break;default:t=0}if(this.caretIndex=e,this.caretIndex>this.text.length+1&&(this.caretIndex=-1),-1!=this.caretIndex){var i=null;this.caretIndex<this.text.length?null!=(i=this.getCharBoundaries(this.caretIndex))&&(this.caret.set_x(t+i.get_left()+this.x),this.caret.set_y(i.get_top()+this.y)):null!=(i=this.getCharBoundaries(this.caretIndex-1))?(this.caret.set_x(t+i.get_right()+this.x),this.caret.set_y(i.get_top()+this.y)):0==this.text.length&&(this.caret.set_x(this.x+t+2),this.caret.set_y(this.y+2))}return 1==this.lines&&this.caret.x+this.caret.get_width()>this.x+this.get_width()&&this.caret.set_x(this.x+this.get_width()-2),this.caretIndex},set_forceCase:function(e){return this.forceCase=e,this.set_text(this.filter(this.text)),this.forceCase},set_size:function(e){return flixel_text_FlxText.prototype.set_size.call(this,e),this.caret.makeGraphic(1,2+(0|this._defaultFormat.size)|0),e},set_maxLength:function(e){return this.maxLength=e,this.text.length>this.maxLength&&this.set_text(this.text.substring(0,this.maxLength)),this.maxLength},set_lines:function(e){return 0==e?0:(e>1?(this.textField.set_wordWrap(!0),this.textField.set_multiline(!0)):(this.textField.set_wordWrap(!1),this.textField.set_multiline(!1)),this.lines=e,this.calcFrame(),this.lines)},get_passwordMode:function(){return this.textField.get_displayAsPassword()},set_passwordMode:function(e){return this.textField.set_displayAsPassword(e),this.calcFrame(),e},set_filterMode:function(e){return this.filterMode=e,this.set_text(this.filter(this.text)),this.filterMode},set_fieldBorderColor:function(e){return this.fieldBorderColor=e,this.calcFrame(),this.fieldBorderColor},set_fieldBorderThickness:function(e){return this.fieldBorderThickness=e,this.calcFrame(),this.fieldBorderThickness},set_backgroundColor:function(e){return this.backgroundColor=e,this.calcFrame(),this.backgroundColor},__class__:flixel_addons_ui_FlxInputText,__properties__:$extend(flixel_text_FlxText.prototype.__properties__,{set_backgroundColor:"set_backgroundColor",set_fieldBorderThickness:"set_fieldBorderThickness",set_fieldBorderColor:"set_fieldBorderColor",set_filterMode:"set_filterMode",set_lines:"set_lines",set_maxLength:"set_maxLength",set_forceCase:"set_forceCase",set_caretIndex:"set_caretIndex",set_hasFocus:"set_hasFocus",set_passwordMode:"set_passwordMode",get_passwordMode:"get_passwordMode",set_params:"set_params",set_caretWidth:"set_caretWidth",set_caretColor:"set_caretColor",set_customFilterPattern:"set_customFilterPattern"})});var flixel_addons_ui_FlxMultiGamepad=function(e,t,i,l){flixel_addons_ui_FlxBaseMultiInput.call(this),this.input=t,this.gamepad=e,this.combos=i,this.forbiddens=l};$hxClasses["flixel.addons.ui.FlxMultiGamepad"]=flixel_addons_ui_FlxMultiGamepad,flixel_addons_ui_FlxMultiGamepad.__name__="flixel.addons.ui.FlxMultiGamepad",flixel_addons_ui_FlxMultiGamepad.__super__=flixel_addons_ui_FlxBaseMultiInput,flixel_addons_ui_FlxMultiGamepad.prototype=$extend(flixel_addons_ui_FlxBaseMultiInput.prototype,{gamepad:null,destroy:function(){flixel_addons_ui_FlxBaseMultiInput.prototype.destroy.call(this),this.gamepad=null},checkJustPressed:function(){if(null==this.gamepad)return!1;var e=this.gamepad,t=this.input;switch(t){case-2:return e.anyButton(2);case-1:return!e.anyButton(2);default:var i=e.mapping.getRawID(t),l=e.buttons[i];return null!=l&&l.hasState(2)}},checkJustReleased:function(){if(null==this.gamepad)return!1;var e=this.gamepad,t=this.input;switch(t){case-2:return e.anyButton(-1);case-1:return!e.anyButton(-1);default:var i=e.mapping.getRawID(t),l=e.buttons[i];return null!=l&&l.hasState(-1)}},checkPressed:function(){if(null==this.gamepad)return!1;var e=this.gamepad,t=this.input;switch(t){case-2:return e.anyButton(1);case-1:return!e.anyButton(1);default:var i=e.mapping.getRawID(t),l=e.buttons[i];return null!=l&&l.hasState(1)}},checkCombos:function(e){return null!=this.gamepad&&this.gamepad.checkButtonArrayState(this.combos,1)==e},checkForbiddens:function(e){return null!=this.gamepad&&this.gamepad.checkButtonArrayState(this.forbiddens,1)==e},__class__:flixel_addons_ui_FlxMultiGamepad});var flixel_addons_ui_FlxMultiGamepadAnalogStick=function(e,t,i,l){this.sInput=t,flixel_addons_ui_FlxMultiGamepad.call(this,e,t.id,i,l)};$hxClasses["flixel.addons.ui.FlxMultiGamepadAnalogStick"]=flixel_addons_ui_FlxMultiGamepadAnalogStick,flixel_addons_ui_FlxMultiGamepadAnalogStick.__name__="flixel.addons.ui.FlxMultiGamepadAnalogStick",flixel_addons_ui_FlxMultiGamepadAnalogStick.getStickInput=function(e){switch(e=e.toLowerCase()){case"left_analog_stick_x_minus":return{id:19,axis:flixel_addons_ui_XY.X,positive:!1};case"left_analog_stick_x_plus":return{id:19,axis:flixel_addons_ui_XY.X,positive:!0};case"left_analog_stick_y_minus":return{id:19,axis:flixel_addons_ui_XY.Y,positive:!1};case"left_analog_stick_y_plus":return{id:19,axis:flixel_addons_ui_XY.Y,positive:!0};case"right_analog_stick_x_minus":return{id:20,axis:flixel_addons_ui_XY.X,positive:!1};case"right_analog_stick_x_plus":return{id:20,axis:flixel_addons_ui_XY.X,positive:!0};case"right_analog_stick_y_minus":return{id:20,axis:flixel_addons_ui_XY.Y,positive:!1};case"right_analog_stick_y_plus":return{id:20,axis:flixel_addons_ui_XY.Y,positive:!0}}return null},flixel_addons_ui_FlxMultiGamepadAnalogStick.__super__=flixel_addons_ui_FlxMultiGamepad,flixel_addons_ui_FlxMultiGamepadAnalogStick.prototype=$extend(flixel_addons_ui_FlxMultiGamepad.prototype,{sInput:null,destroy:function(){flixel_addons_ui_FlxMultiGamepad.prototype.destroy.call(this),this.sInput=null},checkJustPressed:function(){if(null==this.gamepad)return!1;var e=this.gamepad.get_deadZone();switch(this.sInput.id){case 19:if(this.sInput.axis==flixel_addons_ui_XY.X){return!!(t=null!=(l=(i=this.gamepad.analog.justMoved).gamepad.mapping.getAnalogStick(19))&&(null!=(n=i.gamepad.buttons[l.x])&&n.hasState(i.status)))&&(this.sInput.positive?(i=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(i.mapping.getAnalogStick(19))>e:(i=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(i.mapping.getAnalogStick(19))<-e)}return!!(t=null!=(l=(i=this.gamepad.analog.justMoved).gamepad.mapping.getAnalogStick(19))&&(null!=(n=i.gamepad.buttons[l.y])&&n.hasState(i.status)))&&(this.sInput.positive?(i=this.gamepad.analog.value.gamepad).getYAxisRaw(i.mapping.getAnalogStick(19))>e:(i=this.gamepad.analog.value.gamepad).getYAxisRaw(i.mapping.getAnalogStick(19))<-e);case 20:if(this.sInput.axis==flixel_addons_ui_XY.X){return!!(t=null!=(l=(i=this.gamepad.analog.justMoved).gamepad.mapping.getAnalogStick(20))&&(null!=(n=i.gamepad.buttons[l.x])&&n.hasState(i.status)))&&(this.sInput.positive?(i=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(i.mapping.getAnalogStick(20))>e:(i=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(i.mapping.getAnalogStick(20))<-e)}var t,i=this.gamepad.analog.justMoved,l=i.gamepad.mapping.getAnalogStick(20);if(null==l)t=!1;else{var n=i.gamepad.buttons[l.y];t=null!=n&&n.hasState(i.status)}return!!t&&(this.sInput.positive?(i=this.gamepad.analog.value.gamepad).getYAxisRaw(i.mapping.getAnalogStick(20))>e:(i=this.gamepad.analog.value.gamepad).getYAxisRaw(i.mapping.getAnalogStick(20))<-e);default:return!1}},checkJustReleased:function(){if(null==this.gamepad)return!1;switch(this.sInput.id){case 19:return this.sInput.axis==flixel_addons_ui_XY.X?null!=(t=(e=this.gamepad.analog.justReleased).gamepad.mapping.getAnalogStick(19))&&(null!=(i=e.gamepad.buttons[t.x])&&i.hasState(e.status)):null!=(t=(e=this.gamepad.analog.justReleased).gamepad.mapping.getAnalogStick(19))&&(null!=(i=e.gamepad.buttons[t.y])&&i.hasState(e.status));case 20:if(this.sInput.axis==flixel_addons_ui_XY.X)return null!=(t=(e=this.gamepad.analog.justReleased).gamepad.mapping.getAnalogStick(20))&&(null!=(i=e.gamepad.buttons[t.x])&&i.hasState(e.status));var e=this.gamepad.analog.justReleased,t=e.gamepad.mapping.getAnalogStick(20);if(null==t)return!1;var i=e.gamepad.buttons[t.y];return null!=i&&i.hasState(e.status);default:return!1}},checkPressed:function(){if(null==this.gamepad)return!1;var e=this.gamepad.get_deadZone();switch(this.sInput.id){case 19:return this.sInput.axis==flixel_addons_ui_XY.X?this.sInput.positive?(t=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(t.mapping.getAnalogStick(19))>e:(t=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(t.mapping.getAnalogStick(19))<-e:this.sInput.positive?(t=this.gamepad.analog.value.gamepad).getYAxisRaw(t.mapping.getAnalogStick(19))>e:(t=this.gamepad.analog.value.gamepad).getYAxisRaw(t.mapping.getAnalogStick(19))<-e;case 20:if(this.sInput.axis==flixel_addons_ui_XY.X)return this.sInput.positive?(t=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(t.mapping.getAnalogStick(20))>e:(t=this.gamepad.analog.value.gamepad).getAnalogXAxisValue(t.mapping.getAnalogStick(20))<-e;if(this.sInput.positive)return(t=this.gamepad.analog.value.gamepad).getYAxisRaw(t.mapping.getAnalogStick(20))>e;var t=this.gamepad.analog.value.gamepad;return t.getYAxisRaw(t.mapping.getAnalogStick(20))<-e;default:return!1}},checkCombos:function(e){return null!=this.gamepad&&this.gamepad.checkButtonArrayState(this.combos,1)==e},checkForbiddens:function(e){return null!=this.gamepad&&this.gamepad.checkButtonArrayState(this.forbiddens,1)==e},__class__:flixel_addons_ui_FlxMultiGamepadAnalogStick});var flixel_addons_ui_XY=$hxEnums["flixel.addons.ui.XY"]={__ename__:"flixel.addons.ui.XY",__constructs__:["X","Y"],X:{_hx_index:0,__enum__:"flixel.addons.ui.XY",toString:$estr},Y:{_hx_index:1,__enum__:"flixel.addons.ui.XY",toString:$estr}},flixel_addons_ui_FlxMultiKey=function(e,t,i){flixel_addons_ui_FlxBaseMultiInput.call(this),this.input=e,this.combos=t,this.forbiddens=i};$hxClasses["flixel.addons.ui.FlxMultiKey"]=flixel_addons_ui_FlxMultiKey,flixel_addons_ui_FlxMultiKey.__name__="flixel.addons.ui.FlxMultiKey",flixel_addons_ui_FlxMultiKey.__super__=flixel_addons_ui_FlxBaseMultiInput,flixel_addons_ui_FlxMultiKey.prototype=$extend(flixel_addons_ui_FlxBaseMultiInput.prototype,{checkJustPressed:function(){return flixel_FlxG.keys.checkStatus(this.input,2)},checkJustReleased:function(){return flixel_FlxG.keys.checkStatus(this.input,-1)},checkPressed:function(){return flixel_FlxG.keys.checkStatus(this.input,1)},checkCombos:function(e){return flixel_FlxG.keys.checkKeyArrayState(this.combos,1)==e},checkForbiddens:function(e){return flixel_FlxG.keys.checkKeyArrayState(this.forbiddens,1)==e},__class__:flixel_addons_ui_FlxMultiKey});var flixel_addons_ui_interfaces_IFlxUIWidget=function(){};$hxClasses["flixel.addons.ui.interfaces.IFlxUIWidget"]=flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IFlxUIWidget.__name__="flixel.addons.ui.interfaces.IFlxUIWidget",flixel_addons_ui_interfaces_IFlxUIWidget.__isInterface__=!0,flixel_addons_ui_interfaces_IFlxUIWidget.__interfaces__=[flixel_IFlxSprite],flixel_addons_ui_interfaces_IFlxUIWidget.prototype={get_width:null,set_width:null,get_height:null,set_height:null,name:null,broadcastToFlxUI:null,__class__:flixel_addons_ui_interfaces_IFlxUIWidget,__properties__:{set_height:"set_height",get_height:"get_height",set_width:"set_width",get_width:"get_width"}};var flixel_addons_ui_FlxUIGroup=function(e,t){null==t&&(t=0),null==e&&(e=0),this.autoBounds=!0,this.broadcastToFlxUI=!0,flixel_group_FlxTypedSpriteGroup.call(this,e,t)};$hxClasses["flixel.addons.ui.FlxUIGroup"]=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUIGroup.__name__="flixel.addons.ui.FlxUIGroup",flixel_addons_ui_FlxUIGroup.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIWidget],flixel_addons_ui_FlxUIGroup.__super__=flixel_group_FlxTypedSpriteGroup,flixel_addons_ui_FlxUIGroup.prototype=$extend(flixel_group_FlxTypedSpriteGroup.prototype,{name:null,broadcastToFlxUI:null,autoBounds:null,destroy:function(){flixel_group_FlxTypedSpriteGroup.prototype.destroy.call(this)},add:function(e){var t=flixel_group_FlxTypedSpriteGroup.prototype.add.call(this,e);return this.autoBounds&&this.calcBounds(),t},remove:function(e,t){null==t&&(t=!1);var i=flixel_group_FlxTypedSpriteGroup.prototype.remove.call(this,e,t);return this.autoBounds&&this.calcBounds(),i},setScrollFactor:function(e,t){for(var i=0,l=this.group.members;i<l.length;){var n=l[i];++i,null!=n&&n.scrollFactor.set(e,t)}},hasThis:function(e){for(var t=0,i=this.group.members;t<i.length;){var l=i[t];if(++t,l==e)return!0}return!1},calcBounds:function(e){if(null!=this.group.members&&this.group.members.length>0){for(var t=1/0,i=-1/0,l=1/0,n=-1/0,s=0,a=this.group.members;s<a.length;){var r=a[s];if(++s,null!=r)if(js_Boot.__implements(r,flixel_addons_ui_interfaces_IFlxUIWidget)){var _=r;_.x<t&&(t=_.x),_.x+_.get_width()>i&&(i=_.x+_.get_width()),_.y<l&&(l=_.y),_.y+_.get_height()>n&&(n=_.y+_.get_height())}else if(r instanceof flixel_FlxSprite){var o=r;o.x<t&&(t=o.x),o.x>i&&(i=o.x),o.y<l&&(l=o.y),o.y>n&&(n=o.y)}}this.set_width(i-t),this.set_height(n-l),null!=e&&(e.x=t,e.y=l,e.width=this.get_width(),e.height=this.get_height())}else this.set_width(this.set_height(0))},floorAll:function(){for(var e=null,t=0,i=this.group.members;t<i.length;){var l=i[t];++t,(e=l).set_x(Math.floor(e.x)),e.set_y(Math.floor(e.y))}},__class__:flixel_addons_ui_FlxUIGroup});var flixel_addons_ui_FlxUI=function(e,t,i,l,n,s){if(null==n&&(n=""),this._scaledAssets=[],this._assetsToCleanUp=[],this._safe_input_delay_elapsed=0,this._curr_mode="",this._pointY=1,this._pointX=1,this._postLoaded=!1,this.cursorLists=null,this.getTextFallback=null,this.failed_by=0,this.failed=!1,this.safe_input_delay_time=.01,this.do_safe_input_delay=!0,flixel_addons_ui_FlxUIGroup.call(this),this._ptr_tongue=l,this._ptr=t,null!=i&&this.setSuperIndex(i),null!=s){this._variable_index=new haxe_ds_StringMap;for(var a=haxe_ds_StringMap.keysIterator(s.h);a.hasNext();){var r=a.next();this._variable_index.h[r]=s.h[r]}}null!=e&&this.load(e)};$hxClasses["flixel.addons.ui.FlxUI"]=flixel_addons_ui_FlxUI,flixel_addons_ui_FlxUI.__name__="flixel.addons.ui.FlxUI",flixel_addons_ui_FlxUI.__interfaces__=[flixel_addons_ui_interfaces_IEventGetter],flixel_addons_ui_FlxUI.event=function(e,t,i,l){var n=flixel_addons_ui_FlxUI.getLeafUIState();null!=n&&n.getEvent(e,t,i,l)},flixel_addons_ui_FlxUI.fontStr=function(e,t){null==t&&(t="");var i=flixel_addons_ui_FlxUI.getLeafUIState()._tongue,l=null!=i?i:null;null!=l&&(e=l.getFont(e));var n=t;null==n&&(n=""),null==(t=n)&&(t="");var s="";switch(t=t.toLowerCase()){case"b":case"bold":s="b";break;case"bi":case"bold-italic":case"boldi":case"bolditalic":case"ib":case"ibold":case"italic-bold":case"italicbold":case"z":s="z";break;case"i":case"italic":s="i";break;case"":case"none":case"normal":case"regular":s=""}return 0!=e.indexOf("assets/fonts/")?"assets/fonts/"+e+s:e+s},flixel_addons_ui_FlxUI.fontSize=function(e,t){var i=flixel_addons_ui_FlxUI.getLeafUIState()._tongue,l=null!=i?i:null;return null!=l&&(t=l.getFontSize(e,t)),t},flixel_addons_ui_FlxUI.font=function(e,t,i){null==i&&(i=".ttf"),null==t&&(t="");var l=flixel_addons_ui_FlxUI.getLeafUIState()._tongue,n=null!=l?l:null;return null!=n&&(e=n.getFont(e)),flixel_addons_ui_U.font(e,t,i)},flixel_addons_ui_FlxUI.__getTongue=function(){var e=flixel_addons_ui_FlxUI.getLeafUIState()._tongue;return null!=e?e:null},flixel_addons_ui_FlxUI.forceFocus=function(e,t){var i=flixel_addons_ui_FlxUI.getLeafUIState();null!=i&&i.forceFocus(e,t)},flixel_addons_ui_FlxUI.getLeafUIState=function(){var e=flixel_FlxG.game._state;if(null!=e)for(;null!=e.subState;)e=e.subState;return js_Boot.__implements(e,flixel_addons_ui_interfaces_IFlxUIState)?e:null},flixel_addons_ui_FlxUI.request=function(e,t,i,l){var n=flixel_addons_ui_FlxUI.getLeafUIState();return null!=n?n.getRequest(e,t,i,l):null},flixel_addons_ui_FlxUI._delta=function(e,t,i){null==i&&(i=0),null==t&&(t=0);var l=e;l.set_x(l.x+t),(l=e).set_y(l.y+i)},flixel_addons_ui_FlxUI._center=function(e,t,i){return null==i&&(i=!0),null==t&&(t=!0),t&&e.set_x((flixel_FlxG.width-e.get_width())/2),i&&e.set_y((flixel_FlxG.height-e.get_height())/2),e},flixel_addons_ui_FlxUI.consolidateData=function(e,t,i){if(null==i&&(i=!1),null==e&&null!=t)return t;if(null==t)return e;for(var l=Xml.parse(haxe_xml_Printer.print(t)).firstElement(),n=e.attributes();n.hasNext();){var s=n.next(),a=haxe_xml__$Access_AttribAccess.resolve(e,s);l.set(s,a)}var r;if(e.nodeType==Xml.Document)r="Document";else{if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));r=e.nodeName}if(l.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==l.nodeType?"null":XmlType.toString(l.nodeType)));l.nodeName=r,haxe_xml__$Access_HasAttribAccess.resolve(e,"name")||haxe_xml__$Access_HasAttribAccess.resolve(e,"id")?l.set("name",flixel_addons_ui_U.xml_name(e)):l.set("name","");for(var _=e.elements();_.hasNext();){var o=_.next();if(o.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==o.nodeType?"null":XmlType.toString(o.nodeType)));var h=o.nodeName,u=!i;if(i){var d=l.elementsNamed(h),c=d.next();if(1==haxe_xml__$Access_NodeListAccess.resolve(e,h).length&&null!=c&&0==d.hasNext())for(n=o.attributes();n.hasNext();){s=n.next();c.set(s,o.get(s))}else u=!0}u&&l.insertChild(Xml.parse(haxe_xml_Printer.print(o)).firstElement(),0)}if(l.nodeType!=Xml.Document&&l.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==l.nodeType?"null":XmlType.toString(l.nodeType)));return l},flixel_addons_ui_FlxUI._loadBitmapRect=function(e,t){var i=openfl_utils_Assets.getBitmapData(flixel_addons_ui_U.gfx(e)),l=t.split(","),n=null;if(null!=l&&4==l.length){var s=Std.parseInt(l[0]),a=Std.parseInt(l[1]),r=Std.parseInt(l[2]),_=Std.parseInt(l[3]);n=new openfl_geom_Rectangle(s,a,r,_)}var o=n,h=new openfl_display_BitmapData(0|o.width,0|o.height,!0,16777215);return h.copyPixels(i,o,new openfl_geom_Point(0,0)),h},flixel_addons_ui_FlxUI.getParams=function(e){var t=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){t=[];for(var i=0,l=haxe_xml__$Access_NodeListAccess.resolve(e,"param");i<l.length;){var n=l[i];if(++i,haxe_xml__$Access_HasAttribAccess.resolve(n,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(n,"value")){var s=haxe_xml__$Access_AttribAccess.resolve(n,"type");s=s.toLowerCase();var a=haxe_xml__$Access_AttribAccess.resolve(n,"value"),r=a,_=flixel_addons_ui_U.xml_i(n,"sort",-1);switch(s){case"bool":case"boolean":var o=new String(a);r="true"==(o=o.toLowerCase())||"1"==o;break;case"color":case"hex":var h=flixel_util_FlxColor.fromString(a);if(null==h)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+a);r=h;break;case"float":r=parseFloat(a);break;case"int":r=Std.parseInt(a);break;case"string":r=new String(a)}t.push({sort:_,value:r})}}t.sort(flixel_addons_ui_FlxUI.sortParams);for(var i=0,l=t.length;i<l;){var u=i++;t[u]=t[u].value}}return t},flixel_addons_ui_FlxUI.sortParams=function(e,t){return e.sort<t.sort?-1:e.sort>t.sort?1:0},flixel_addons_ui_FlxUI.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUI.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{do_safe_input_delay:null,safe_input_delay_time:null,failed:null,failed_by:null,get_isRoot:function(){return null!=this._ptr&&this._ptr==flixel_addons_ui_FlxUI.getLeafUIState()},liveFilePath:null,get_tongue:function(){return this._ptr_tongue},set_tongue:function(e){return this._ptr_tongue=e,this._tongueSet(this.group.members,e),this._ptr_tongue},focus:null,set_focus:function(e){return null!=this.focus&&this.onFocusLost(this.focus),this.focus=e,null!=this.focus&&this.onFocus(this.focus),e},getTextFallback:null,cursorLists:null,_ptr_tongue:null,_data:null,_tongueSet:function(e,t){for(var i=0;i<e.length;){var l=e[i];if(++i,l instanceof flixel_addons_ui_FlxUIGroup){var n=js_Boot.__cast(l,flixel_addons_ui_FlxUIGroup);this._tongueSet(n.group.members,t)}else l instanceof flixel_addons_ui_FlxUI&&js_Boot.__cast(l,flixel_addons_ui_FlxUI).set_tongue(t)}},callEvent:function(e,t,i,l){this.getEvent(e,t,i,l)},getEvent:function(e,t,i,l){if(null!=this._ptr&&(this._ptr.getEvent(e,t,i,l),"post_load"==e))for(var n=haxe_ds_StringMap.keysIterator(this._asset_index.h);n.hasNext();){var s=n.next(),a=this._asset_index.h[s];a instanceof flixel_addons_ui_FlxUI&&a.getEvent("post_load",t,i)}},getRequest:function(e,t,i,l){return null!=this._ptr?this._ptr.getRequest(e,t,i,l):null},onFocus:function(e){if(e instanceof flixel_addons_ui_FlxUIDropDownMenu)for(var t=0,i=this.group.members;t<i.length;){var l=i[t];++t,this.setWidgetSuppression(l,e)}},setWidgetSuppression:function(e,t,i){if(null==i&&(i=!0),js_Boot.__implements(e,flixel_addons_ui_interfaces_IFlxUIClickable)){var l=!1;e instanceof flixel_addons_ui_FlxUIDropDownMenu&&e==t&&(l=!0),l||e.set_skipButtonUpdate(i)}else if(e instanceof flixel_addons_ui_FlxUIGroup)for(var n=0,s=e.group.members;n<s.length;){var a=s[n];++n,this.setWidgetSuppression(a,t,i)}},onFocusLost:function(e){if(e instanceof flixel_addons_ui_FlxUIDropDownMenu)for(var t=0,i=this.group.members;t<i.length;){var l=i[t];++t,this.setWidgetSuppression(l,null,!1)}},setSuperIndex:function(e){this._superIndexUI=e},update:function(e){if(this.do_safe_input_delay){if(this._safe_input_delay_elapsed+=flixel_FlxG.elapsed,!(this._safe_input_delay_elapsed>this.safe_input_delay_time))return;this.do_safe_input_delay=!1}flixel_addons_ui_FlxUIGroup.prototype.update.call(this,e)},toggleShow:function(e){var t=this.getAsset(e,!1);if(null!=t)return t.set_visible(!t.visible),t.visible;var i=this.getGroup(e,!1);return null!=i&&(i.set_visible(!i.visible),i.visible)},showGroup:function(e,t,i){var l=this.getGroup(e,!1);null!=l&&(l.set_visible(t),null==i?l.set_active(t):l.set_active(i))},showAsset:function(e,t,i){var l=this.getAsset(e,!1);null!=l&&(l.set_visible(t),null==i?l.set_active(t):l.set_active(i))},removeAsset:function(e,t){null==t&&(t=!0);var i=this.getAsset(e,!1);if(null!=i){this.replaceInGroup(i,null,!0);var l=this._asset_index;Object.prototype.hasOwnProperty.call(l.h,e)&&delete l.h[e]}return t&&null!=i&&(i.destroy(),i=null),i},addAsset:function(e,t,i,l){if(null==l&&(l=!1),null==i&&(i=""),Object.prototype.hasOwnProperty.call(this._asset_index.h,t)){return!1}var n=this.getGroup(i,l);return null!=n?n.add(e):this.add(e),this._asset_index.h[t]=e,!0},replaceAsset:function(e,t,i,l,n){null==n&&(n=!0),null==l&&(l=!0),null==i&&(i=!0);var s=this.getAsset(e,!1);if(null!=s){i?t.set_x(s.x+(s.get_width()-t.get_width())/2):t.set_x(s.x),l?t.set_y(s.y+(s.get_height()-t.get_height())/2):t.set_y(s.y),this.replaceInGroup(s,t);var a=this._asset_index;Object.prototype.hasOwnProperty.call(a.h,e)&&delete a.h[e],this._asset_index.h[e]=t,n&&(s.destroy(),s=null)}return s},destroy:function(){if(null!=this._group_index){for(i=haxe_ds_StringMap.keysIterator(this._group_index.h);i.hasNext();){var e=i.next(),t=this._group_index;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}this._group_index=null}if(null!=this._asset_index){for(i=haxe_ds_StringMap.keysIterator(this._asset_index.h);i.hasNext();){var e=i.next(),t=this._asset_index;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}this._asset_index=null}if(null!=this._tag_index){for(i=haxe_ds_StringMap.keysIterator(this._tag_index.h);i.hasNext();){e=i.next();flixel_util_FlxArrayUtil.clearArray(this._tag_index.h[e]);t=this._tag_index;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}this._tag_index=null}if(null!=this._definition_index){for(i=haxe_ds_StringMap.keysIterator(this._definition_index.h);i.hasNext();){var e=i.next(),t=this._definition_index;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}this._definition_index=null}if(null!=this._variable_index){for(i=haxe_ds_StringMap.keysIterator(this._variable_index.h);i.hasNext();){var e=i.next(),t=this._variable_index;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}this._variable_index=null}if(null!=this._mode_index){for(var i=haxe_ds_StringMap.keysIterator(this._mode_index.h);i.hasNext();){var e=i.next(),t=this._mode_index;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}this._mode_index=null}if(this._ptr=null,this._superIndexUI=null,this._ptr_tongue=null,null!=this.cursorLists){for(var l=0,n=this.cursorLists;l<n.length;){var s=n[l];++l,flixel_util_FlxArrayUtil.clearArray(s)}flixel_util_FlxArrayUtil.clearArray(this.cursorLists)}this.cursorLists=null,flixel_util_FlxArrayUtil.clearArray(this._failure_checks),this._failure_checks=null,flixel_util_FlxArrayUtil.clearArray(this._assetsToCleanUp),this._assetsToCleanUp=null,flixel_util_FlxArrayUtil.clearArray(this._scaledAssets),this._scaledAssets=null,flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this)},load:function(e){if(this._group_index=new haxe_ds_StringMap,this._asset_index=new haxe_ds_StringMap,this._tag_index=new haxe_ds_StringMap,this._definition_index=new haxe_ds_StringMap,null==this._variable_index&&(this._variable_index=new haxe_ds_StringMap),this._mode_index=new haxe_ds_StringMap,null!=e){if(null==this._superIndexUI){var t=new flixel_addons_ui_FlxUIRegion(0,0,flixel_FlxG.width,flixel_FlxG.height);if(t.name="screen",this.addAsset(t,"screen"),haxe_xml__$Access_HasNodeAccess.resolve(e,"screen_override")&&this._loadTest(haxe_xml__$Access_NodeAccess.resolve(e,"screen_override"))){var i=haxe_xml__$Access_NodeAccess.resolve(e,"screen_override");this._loadPosition(i,t),t.set_width(this._loadWidth(i,flixel_FlxG.width)),t.set_height(this._loadHeight(i,flixel_FlxG.height))}}if(this._data=e,haxe_xml__$Access_HasNodeAccess.resolve(e,"inject"))for(;haxe_xml__$Access_HasNodeAccess.resolve(e,"inject");){var l=haxe_xml__$Access_NodeAccess.resolve(e,"inject"),n=flixel_addons_ui_U.xml_name(l),s=flixel_addons_ui_U.xml(n,"xml",!1);if(null!=s){for(var a=l.parent,r=0,_=0,o=a.children;_<o.length;){var h=o[_];if(++_,h==l)break;++r}if(a.removeChild(l))for(var u=0,d=s.elements();d.hasNext();){var c=d.next();a.insertChild(c,r+u),++u}}}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"include"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(e,"include");_<o.length;){var p=o[_];++_;var f=flixel_addons_ui_U.xml_name(p),m=null;if(null!=(m=flixel_addons_ui_U.xml(f))){for(var x=0,g=haxe_xml__$Access_NodeListAccess.resolve(m,"definition");x<g.length;){b=g[x];++x;var F="include:"+flixel_addons_ui_U.xml_name(b);this.unparentXML(b),this._definition_index.h[F]=b}if(haxe_xml__$Access_HasNodeAccess.resolve(m,"point_size")&&this._loadPointSize(m),haxe_xml__$Access_HasNodeAccess.resolve(m,"default"))for(var y=0,S=haxe_xml__$Access_NodeListAccess.resolve(m,"default");y<S.length;){v=S[y];if(++y,this._loadTest(v)){T=flixel_addons_ui_U.xml_name(v);this.unparentXML(v),this._definition_index.h["default:"+T]=v}}}}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"point_size")&&this._loadPointSize(e),haxe_xml__$Access_HasNodeAccess.resolve(e,"definition"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(e,"definition");_<o.length;){var b=o[_];if(++_,this._loadTest(b)){var U="";-1!=(F=flixel_addons_ui_U.xml_name(b)).indexOf("default:")&&(U="'default:'"),-1!=F.indexOf("include:")&&(U="'include:'"),""==U&&(this.unparentXML(b),this._definition_index.h[F]=b)}}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"default"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(e,"default");_<o.length;){var v=o[_];if(++_,this._loadTest(v)){var T=flixel_addons_ui_U.xml_name(v);this.unparentXML(v),this._definition_index.h["default:"+T]=v}}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"variable"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(e,"variable");_<o.length;){var N=o[_];if(++_,this._loadTest(N)){var D=flixel_addons_ui_U.xml_name(N),Q=flixel_addons_ui_U.xml_str(N,"value");""!=D&&(this._variable_index.h[D]=Q)}}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"mode"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(e,"mode");_<o.length;){var B=o[_];if(++_,this._loadTest(B)){var R=this.applyNodeConditionals(B),w=flixel_addons_ui_U.xml_name(B);this.unparentXML(R),this._mode_index.h[w]=R}}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"group"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(e,"group");_<o.length;){var E=o[_];if(++_,this._loadTest(E)){var k=flixel_addons_ui_U.xml_name(E),W=flixel_addons_ui_U.xml_str(E,"custom"),Z=null;if(""!=W){var M=this._ptr.getRequest("ui_get_group:",this,W);null!=M&&M instanceof flixel_addons_ui_FlxUIGroup&&(Z=M)}null==Z&&(Z=new flixel_addons_ui_FlxUIGroup),Z.name=k,this._group_index.h[k]=Z,this.add(Z)}}if(null!=e.firstElement())for(var P=e.elements();P.hasNext();){var V=P.next();this._loadSub(V)}this._postLoad(e)}else this._onFinishLoad()},unparentXML:function(e){return flixel_addons_ui_U.unparentXML(e)},_loadPointSize:function(e){var t=haxe_xml__$Access_NodeAccess.resolve(e,"point_size"),i=-1;null==i&&(i=0);var l=this._loadWidth(t,i,"x"),t=haxe_xml__$Access_NodeAccess.resolve(e,"point_size");null==(i=-1)&&(i=0);var n=this._loadHeight(t,i,"y");n<1&&l<1&&(l=n=this._loadHeight(haxe_xml__$Access_NodeAccess.resolve(e,"point_size"),-1,"value")),n>0&&(this._pointX=l),l>0&&(this._pointY=n)},_loadSub:function(e,t){if(null==t&&(t=0),e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));var i=e.nodeName;if(e.nodeType!=Xml.Document&&e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));var l=e;if("load_if"!=i){var n="",s=null,a=flixel_addons_ui_U.xml_name(l);haxe_xml__$Access_HasAttribAccess.resolve(l,"group")&&(n=haxe_xml__$Access_AttribAccess.resolve(l,"group"),s=this.getGroup(n));var r=this._loadThing(i,l);if(null!=r){if(this._loadGlobals(l,r),null!=a&&""!=a){this._asset_index.h[a]=r,r.name=a;var _=flixel_addons_ui_U.xml_str(l,"tags");if(""!=_){var o=_.split(",");this._addTags(o,a)}}this._loadTooltip(r,l),null!=s?s.add(r):this.add(r),this._loadPosition(l,r)}}else if(this._loadTest(l)&&null!=e.firstElement())for(var h=e.elements();h.hasNext();){var u=h.next();this._loadSub(u,t+1)}},_addTags:function(e,t){for(var i=0;i<e.length;){var l=e[i];++i;var n=null;Object.prototype.hasOwnProperty.call(this._tag_index.h,l)||(this._tag_index.h[l]=[]),-1==(n=this._tag_index.h[l]).indexOf(t)&&n.push(t)}},_loadGlobals:function(e,t){if(t instanceof flixel_FlxBasic){var i=flixel_addons_ui_U.xml_bool(e,"visible",!0),l=flixel_addons_ui_U.xml_bool(e,"active",!0),n=flixel_addons_ui_U.xml_i(e,"num_id");if(t.visible=i,t.active=l,t.ID=n,t instanceof flixel_FlxSprite){var s=flixel_addons_ui_U.xml_f(e,"alpha",1);t.set_alpha(s)}}},_postLoad:function(e){if(this._postLoaded=!0,null!=e.firstElement())for(var t=e.elements();t.hasNext();){var i=t.next();if(i.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==i.nodeType?"null":XmlType.toString(i.nodeType)));var l=i.nodeName.toLowerCase();if(i.nodeType!=Xml.Document&&i.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==i.nodeType?"null":XmlType.toString(i.nodeType)));var n=i;this._postLoadThing(l,n)}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"mode"))for(var s=0,a=haxe_xml__$Access_NodeListAccess.resolve(e,"mode");s<a.length;){var r=a[s];if(++s,flixel_addons_ui_U.xml_bool(r,"is_default")){var _=flixel_addons_ui_U.xml_name(r);this.setMode(_);break}}if(null!=this._failure_checks){for(var s=0,a=this._failure_checks;s<a.length;){var e=a[s];if(++s,this._checkFailure(e)){this.failed=!0;break}}flixel_addons_ui_U.clearArraySoft(this._failure_checks),this._failure_checks=null}this._onFinishLoad()},_sendTo:function(e,t){var i=this.getAssetGroup(null,e);if(null==i){if(-1==this.group.members.indexOf(e))return;i=this}if(-1==t||1==t)switch(HxOverrides.remove(i.group.members,e),t){case-1:i.group.members.splice(0,0,e);break;case 1:i.group.members.push(e)}},sendToFront:function(e,t){null==t&&(t=!0);var i=this.getAsset(e,t);null!=i&&this._sendTo(i,1)},sendToBack:function(e,t){null==t&&(t=!0);var i=this.getAsset(e,t);null!=i&&this._sendTo(i,-1)},get_currMode:function(){return this._curr_mode},set_currMode:function(e){return this.setMode(e),this._curr_mode},setMode:function(e,t){if(null==t&&(t=""),this._curr_mode!=e){var i=this.getMode(e);this._curr_mode=e;var l,n="";if(""==t){if(null!=i)for(var s,a=i.elements();a.hasNext();){var r=a.next(),_=this.applyNodeConditionals(r);if((s=_).nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));var o=s.nodeName,h=""!=flixel_addons_ui_U.xml_str(s,"active")||null;if(null!=h&&(h=flixel_addons_ui_U.xml_bool(s,"active")),this._loadTest(_))switch(o){case"align":this._alignThing(_);break;case"change":this._changeThing(_);break;case"hide":this.showThing(flixel_addons_ui_U.xml_name(s),!1,h);break;case"position":n=flixel_addons_ui_U.xml_name(s),null!=(l=this.getAsset(n))&&this._loadPosition(_,l);break;case"show":this.showThing(flixel_addons_ui_U.xml_name(s),!0,h)}}}else{var u=this.getAsset(t);null!=u&&u instanceof flixel_addons_ui_FlxUI&&js_Boot.__cast(u,flixel_addons_ui_FlxUI).setMode(e,"")}}},showThing:function(e,t,i){if(null==t&&(t=!0),-1!=e.indexOf(","))for(var l=e.split(","),n=0;n<l.length;){var s=l[n];++n,null!=(a=this.getAsset(s))?(a.set_visible(t),null!=i&&a.set_active(i)):null!=(r=this.getGroup(s))&&(r.set_visible(t),null!=i&&r.set_active(i))}else if("*"!=e){var a=this.getAsset(e);if(null!=a)a.set_visible(t),null!=i&&a.set_active(i);else{var r=this.getGroup(e);null!=r&&(r.set_visible(t),null!=i&&r.set_active(i))}}else for(var _=haxe_ds_StringMap.keysIterator(this._asset_index.h);_.hasNext();){var o=_.next();"*"!=o&&this.showThing(o,t,i)}},getGroup:function(e,t){null==t&&(t=!0);var i=this._group_index.h[e];return null==i&&t&&null!=this._superIndexUI?this._superIndexUI.getGroup(e,t):i},getFlxText:function(e,t){null==t&&(t=!0);var i=this.getAsset(e,t);return null!=i&&i instanceof flixel_text_FlxText?js_Boot.__cast(i,flixel_text_FlxText):null},getAllAssets:function(){for(var e=[],t=haxe_ds_StringMap.keysIterator(this._asset_index.h);t.hasNext();){var i=t.next();e.push(this.getAsset(i))}return e},getAssetKeys:function(){for(var e=[],t=haxe_ds_StringMap.keysIterator(this._asset_index.h);t.hasNext();){var i=t.next();e.push(i)}return e},hasAsset:function(e,t){return null==t&&(t=!0),!!Object.prototype.hasOwnProperty.call(this._asset_index.h,e)||!(!t||null==this._superIndexUI)&&this._superIndexUI.hasAsset(e,t)},getAsset:function(e,t){null==t&&(t=!0);var i=this._asset_index.h[e];return null==i&&t&&null!=this._superIndexUI?this._superIndexUI.getAsset(e,t):i},getAssetsWithTag:function(e){if(Object.prototype.hasOwnProperty.call(this._tag_index.h,e)){var t=this._tag_index.h[e];if(null==t||0==t.length)return null;for(var i=[],l=0;l<t.length;){var n=t[l];++l;var s=this.getAsset(n);null!=s&&i.push(s)}return i}return null},getAssetGroup:function(e,t){if(null==t&&(null==e||""==e))return null;if(null==t&&(t=this.getAsset(e)),null==t)return null;for(var e=haxe_ds_StringMap.keysIterator(this._group_index.h);e.hasNext();){var i=e.next(),l=this._group_index.h[i];if(-1!=l.group.members.indexOf(t))return l}return null},getMode:function(e,t){null==t&&(t=!0);var i=this._mode_index.h[e];return null==i&&t&&null!=this._superIndexUI?this._superIndexUI.getMode(e,t):i},getLabelStyleFromDefinition:function(e,t){null==t&&(t=!0);var i=this.getDefinition(e,t);if(null!=i){var l=this._loadFontDef(i),n=flixel_addons_ui_U.xml_str(i,"align");""==n&&(n=null);var s=this._loadColor(i),a=this._loadBorder(i);return new flixel_addons_ui_ButtonLabelStyle(l,n,s,a)}return null},getLabelStyleFromData:function(e){var t=this._loadFontDef(e),i=flixel_addons_ui_U.xml_str(e,"align");""==i&&(i=null);var l=this._loadColor(e),n=this._loadBorder(e);return new flixel_addons_ui_ButtonLabelStyle(t,i,l,n)},checkVariable:function(e,t,i,l,n){null==n&&(n=!0),null==l&&(l="==");var s=this.getVariable(e,n);return null!=s?flixel_addons_ui_U.compareStringVars(s,t,i,l):flixel_addons_ui_U.compareStringVars("",t,i,l)},setVariable:function(e,t){this._variable_index.h[e]=t},getVariable:function(e,t){null==t&&(t=!0);var i=this._variable_index.h[e];return null==i&&t&&null!=this._superIndexUI&&(i=this._superIndexUI.getVariable(e,t)),i},getDefinition:function(e,t){null==t&&(t=!0);var i=this._definition_index.h[e];return null==i&&t&&null!=this._superIndexUI&&(i=this._superIndexUI.getDefinition(e,t)),null==i&&-1==e.indexOf("include:")&&(i=this.getDefinition("include:"+e,t)),i},screenWidth:function(){return this.hasAsset("screen")?0|this.getAsset("screen").get_width():flixel_FlxG.width},screenHeight:function(){return this.hasAsset("height")?0|this.getAsset("screen").get_height():flixel_FlxG.height},_postLoaded:null,_pointX:null,_pointY:null,_group_index:null,_asset_index:null,_tag_index:null,_definition_index:null,_variable_index:null,_mode_index:null,_curr_mode:null,_ptr:null,_superIndexUI:null,_safe_input_delay_elapsed:null,_failure_checks:null,_assetsToCleanUp:null,_scaledAssets:null,replaceInGroup:function(e,t,i){if(null==i&&(i=!1),null!=this._group_index)for(var l=haxe_ds_StringMap.keysIterator(this._group_index.h);l.hasNext();){var n=l.next(),s=this._group_index.h[n];if(null!=s.group.members)for(var a=0,r=0,_=s.group.members;r<_.length;){o=_[r];if(++r,null!=o){if(o==e)return s.group.members[a]=t,void(null==t&&i&&(s.group.members.splice(a,1),--a));++a}}}if(null!=this.group.members)for(var a=0,r=0,_=this.group.members;r<_.length;){var o=_[r];if(++r,null!=o&&o==e)return this.group.members[a]=t,void(null==t&&i&&(this.group.members.splice(a,1),--a));++a}},applyNodeConditionals:function(e){if(haxe_xml__$Access_HasNodeAccess.resolve(e,"locale")||haxe_xml__$Access_HasNodeAccess.resolve(e,"haxedef")){var t=Xml.parse(haxe_xml_Printer.print(e)).firstElement();if(t.nodeType!=Xml.Document&&t.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));e=t,haxe_xml__$Access_HasNodeAccess.resolve(e,"locale")&&(e=this.applyNodeChanges(e,"locale")),haxe_xml__$Access_HasNodeAccess.resolve(e,"haxedef")&&(e=this.applyNodeChanges(e,"haxedef")),haxe_xml__$Access_HasNodeAccess.resolve(e,"window")&&(e=this.applyNodeChanges(e,"window"))}return e},applyNodeChanges:function(e,t){var i="";if("locale"==t){if(null==this._ptr_tongue)return e;i=this._ptr_tongue.locale.toLowerCase()}var l=!1;"haxedef"==t&&(l=!0),"window"==t&&(i=flixel_FlxG.width+","+flixel_FlxG.height);for(var n=0,s=haxe_xml__$Access_NodeListAccess.resolve(e,t);n<s.length;){var a=s[n];++n;var r=flixel_addons_ui_U.xml_name(a);if(l&&(i="",flixel_addons_ui_U.checkHaxedef(r)&&(i=r)),r==i&&haxe_xml__$Access_HasNodeAccess.resolve(a,"change"))for(var _=0,o=haxe_xml__$Access_NodeListAccess.resolve(a,"change");_<o.length;){var h=o[_];++_;for(var u=h.attributes();u.hasNext();){var d=u.next(),c=h.get(d);e.set(d,c)}}}return e},loadThing:function(e,t){return this._loadThing(e,t)},_loadThingGetInfo:function(e){var t=e;if(t.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));var i=t.nodeName,l=this.getDefinition("default:"+i),n=null;null!=l&&(n=flixel_addons_ui_FlxUI.consolidateData(e,l,!0)),null==n&&(n=e);var s=flixel_addons_ui_U.xml_str(n,"use_def",!0),a=null;return""!=s&&(a=this.getDefinition(s)),n=flixel_addons_ui_FlxUI.consolidateData(n,a),n=this.applyNodeConditionals(n),0==this._loadTest(n)?null:n},_loadTooltip:function(e,t){if(haxe_xml__$Access_HasNodeAccess.resolve(t,"tooltip")){var i=this._loadTooltipData(haxe_xml__$Access_NodeAccess.resolve(t,"tooltip")),l=flixel_addons_ui_FlxUI.getLeafUIState();if(e instanceof flixel_addons_ui_FlxUICheckBox){var n=e;l.tooltips.add(n.button,i)}else l.tooltips.add(e,i)}},_loadTooltipData:function(e){var t={title:"",body:"",anchor:null,style:{titleFormat:null,bodyFormat:null,titleBorder:null,bodyBorder:null,titleOffset:null,bodyOffset:null,titleWidth:-1,bodyWidth:-1,background:null,borderSize:-1,borderColor:null,arrow:null,autoSizeVertical:null,autoSizeHorizontal:null,leftPadding:-1,rightPadding:-1,topPadding:-1,bottomPadding:-1}},i=this.getDefinition("default:tooltip");if(null!=i&&(e=flixel_addons_ui_FlxUI.consolidateData(e,i,!0)),haxe_xml__$Access_HasAttribAccess.resolve(e,"use_def")){var l=flixel_addons_ui_U.xml_str(e,"use_def",!0),n=this.getDefinition(l);null!=n&&(e=flixel_addons_ui_FlxUI.consolidateData(e,n,!0))}return haxe_xml__$Access_HasAttribAccess.resolve(e,"text")&&this._loadTooltipText(e,"text",t),haxe_xml__$Access_HasNodeAccess.resolve(e,"title")&&this._loadTooltipText(haxe_xml__$Access_NodeAccess.resolve(e,"title"),"text",t),haxe_xml__$Access_HasNodeAccess.resolve(e,"body")&&this._loadTooltipText(haxe_xml__$Access_NodeAccess.resolve(e,"body"),"text",t),t.anchor=this._loadAnchor(e),this._loadTooltipStyle(e,t),t},_loadTooltipStyle:function(e,t){t.style.background=flixel_addons_ui_U.xml_color(e,"background"),t.style.borderSize=flixel_addons_ui_U.xml_i(e,"border",-1),t.style.borderColor=flixel_addons_ui_U.xml_color(e,"border_color");if(haxe_xml__$Access_HasAttribAccess.resolve(e,"arrow")){var i=e,l="";if(null!=i.get("arrow"))if(""==(l=i.get("arrow"))||null==l)l="";else{l=flixel_addons_ui_U.gfx(l);try{if(!openfl_utils_Assets.exists(l,"IMAGE"))throw haxe_Exception.thrown('couldn\'t load bmp "arrow"')}catch(e){if(haxe_NativeStackTrace.lastError=e,"string"!=typeof haxe_Exception.caught(e).unwrap())throw e}}s=l}else s=null;t.style.arrow=s,t.style.autoSizeHorizontal=flixel_addons_ui_U.xml_bool(e,"auto_size_horizontal",!0),t.style.autoSizeVertical=flixel_addons_ui_U.xml_bool(e,"auto_size_vertical",!0);var n=0|this._loadHeight(e,-1,"pad_all");if(-1!=n)t.style.leftPadding=t.style.rightPadding=t.style.topPadding=t.style.bottomPadding=n;else{s=0|this._loadWidth(e,0,"pad_left");t.style.leftPadding=s;s=0|this._loadWidth(e,0,"pad_right");t.style.rightPadding=s;s=0|this._loadHeight(e,0,"pad_top");t.style.topPadding=s;var s=0|this._loadHeight(e,0,"pad_bottom");t.style.bottomPadding=s}},_loadTooltipText:function(e,t,i){var l;if(e.nodeType==Xml.Document)l="Document";else{if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));l=e.nodeName}var n=this._loadString(e,t),s=new flixel_math_FlxPoint(this._loadWidth(e,0,"x"),this._loadHeight(e,0,"y"));if(haxe_xml__$Access_HasAttribAccess.resolve(e,"use_def")){var a=flixel_addons_ui_U.xml_str(e,"use_def",!0),r=this.getDefinition(a);null!=r&&(e=flixel_addons_ui_FlxUI.consolidateData(e,r))}var _=this._loadBorder(e),o=this._loadFontDef(e),h=flixel_addons_ui_U.xml_color(e,"color",!0,-16777216);o.format.color=h;var u=0|this._loadWidth(e,-1,"width");switch(l){case"body":""!=n&&(i.body=n),i.style.bodyOffset=s,i.style.bodyFormat=o,i.style.bodyWidth=u,i.style.bodyBorder=_;break;case"title":case"tooltip":""!=n&&(i.title=n),i.style.titleOffset=s,i.style.titleFormat=o,i.style.titleWidth=u,i.style.titleBorder=_}},_loadAnchor:function(e){var t=this._loadWidth(e,0,"x"),i=this._loadHeight(e,0,"y");if(haxe_xml__$Access_HasNodeAccess.resolve(e,"anchor")){var l=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"x",!0,"right"),n=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"y",!0,"top"),s=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"x-flush",!0,"left"),a=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"y-flush",!0,"top");return new flixel_addons_ui_Anchor(t,i,l,n,s,a)}return null},_loadThing:function(e,t){var i=this._loadThingGetInfo(t);if(null==i)return null;switch(e){case"align":return this._alignThing(i,!0),null;case"bar":return this._loadBar(i);case"box":return this._loadBox(i);case"button":return this._loadButton(i);case"button_toggle":return this._loadButton(i,!0,!0);case"change":return this._changeThing(i),null;case"checkbox":return this._loadCheckBox(i);case"failure":return null==this._failure_checks&&(this._failure_checks=[]),this.unparentXML(i),this._failure_checks.push(i),null;case"input_text":return this._loadInputText(i);case"line":return this._loadLine(i);case"default":case"group":case"include":case"inject":case"load_if":case"mode":return null;case"chrome":case"nine_slice":case"nine_slice_sprite":case"nineslice":case"nineslicesprite":return this._load9SliceSprite(i);case"num_stepper":case"numeric_stepper":case"numstepper":return this._loadNumericStepper(i);case"position":this.name=flixel_addons_ui_U.xml_name(i);var l=this.getAsset(this.name);return null!=l&&this._loadPosition(i,l),null;case"dropdown":case"dropdown_menu":case"pulldown":case"pulldown_menu":return this._loadDropDownMenu(i);case"radio_group":return this._loadRadioGroup(i);case"region":return this._loadRegion(i);case"sprite":return this._loadSprite(i);case"tab_menu":return this._loadTabMenu(i);case"text":return this._loadText(i);case"tile_test":return this._loadTileTest(i);case"layout":case"ui":return this._loadLayout(i);default:return this._ptr.getRequest("ui_get:"+e,this,i,[t])}},_loadX:function(e,t){return null==t&&(t=0),this._loadWidth(e,t,"x")},_loadY:function(e,t){return null==t&&(t=0),this._loadHeight(e,t,"y")},_loadScale:function(e,t,i){return null==i&&(i="scale"),null==t&&(t=1),this._loadHeight(e,t,i,"none")},_loadScaleX:function(e,t){return null==t&&(t=1),this._loadWidth(e,t,"scale_x","none")},_loadScaleY:function(e,t){return null==t&&(t=1),this._loadHeight(e,t,"scale_y","none")},_loadWidth:function(e,t,i,l){null==l&&(l=""),null==i&&(i="width"),null==t&&(t=10);var n=flixel_addons_ui_U.xml_str(e,i,!0,null==t?"null":""+t),s=this.getRound(e,l);return this.doRound(this._getDataSize("w",n,t),s)},_loadHeight:function(e,t,i,l){null==l&&(l=""),null==i&&(i="height"),null==t&&(t=10);var n=flixel_addons_ui_U.xml_str(e,i,!0,null==t?"null":""+t),s=this.getRound(e,l);return this.doRound(this._getDataSize("h",n,t),s)},_loadCompass:function(e,t){null==t&&(t="resize_point");var i=flixel_addons_ui_U.xml_str(e,t,!0,"nw"),l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1;var n=l;switch(i){case"c":case"center":case"m":case"mid":n.set_x(.5),n.set_y(.5);break;case"ll":case"sw":n.set_x(0),n.set_y(1);break;case"n":case"u":n.set_x(.5),n.set_y(0);break;case"nw":case"ul":n.set_x(0),n.set_y(0);break;case"e":case"r":n.set_x(1),n.set_y(.5);break;case"s":n.set_x(.5),n.set_y(1);break;case"lr":case"se":n.set_x(1),n.set_y(1);break;case"ne":case"ur":n.set_x(1),n.set_y(0);break;case"w":n.set_x(.5),n.set_y(0)}return n},_changeParamsThing:function(e){var t=flixel_addons_ui_U.xml_name(e),i=this.getAsset(t);if(null!=i&&js_Boot.__implements(i,flixel_addons_ui_interfaces_IHasParams)){var l=i,n=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){n=[];for(var s=0,a=haxe_xml__$Access_NodeListAccess.resolve(e,"param");s<a.length;){var r=a[s];if(++s,haxe_xml__$Access_HasAttribAccess.resolve(r,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(r,"value")){var _=haxe_xml__$Access_AttribAccess.resolve(r,"type");_=_.toLowerCase();var o=haxe_xml__$Access_AttribAccess.resolve(r,"value"),h=o,u=flixel_addons_ui_U.xml_i(r,"sort",-1);switch(_){case"bool":case"boolean":var d=new String(o);h="true"==(d=d.toLowerCase())||"1"==d;break;case"color":case"hex":var c=flixel_util_FlxColor.fromString(o);if(null==c)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+o);h=c;break;case"float":h=parseFloat(o);break;case"int":h=Std.parseInt(o);break;case"string":h=new String(o)}n.push({sort:u,value:h})}}n.sort(flixel_addons_ui_FlxUI.sortParams);for(var s=0,a=n.length;s<a;){var p=s++;n[p]=n[p].value}}l.set_params(n)}},_changeThing:function(e){var t=flixel_addons_ui_U.xml_name(e),i=this.getAsset(t);if(null!=i){for(var l=-1,n=-1,s="",a="",r=e.attributes();r.hasNext();)switch(r.next()){case"height":n=this._loadHeight(e);break;case"label":var _=flixel_addons_ui_U.xml_str(e,"label");s=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),a=flixel_addons_ui_U.xml_str(e,"code",!0,""),_=this.getText(_,s,!0,a),js_Boot.__implements(i,flixel_addons_ui_interfaces_ILabeled)&&i.getLabel().set_text(_);break;case"text":if(i instanceof flixel_addons_ui_FlxUIText){var o=flixel_addons_ui_U.xml_str(e,"text");s=flixel_addons_ui_U.xml_str(e,"context",!0,"ui");var h=i;a=flixel_addons_ui_U.xml_str(e,"code",!0,""),h.set_text(this.getText(o,s,!0,a))}break;case"width":l=this._loadWidth(e)}if(js_Boot.__implements(i,flixel_addons_ui_interfaces_IResizable)){var u=i;-1==l&&-1==n||(-1==l&&(l=u.get_width()),-1==n&&(n=u.get_height()),u.resize(l,n))}if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")&&js_Boot.__implements(i,flixel_addons_ui_interfaces_IHasParams)){var d=i,c=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){c=[];for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"param");p<f.length;){var m=f[p];if(++p,haxe_xml__$Access_HasAttribAccess.resolve(m,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(m,"value")){var x=haxe_xml__$Access_AttribAccess.resolve(m,"type");x=x.toLowerCase();var g=haxe_xml__$Access_AttribAccess.resolve(m,"value"),F=g,y=flixel_addons_ui_U.xml_i(m,"sort",-1);switch(x){case"bool":case"boolean":var S=new String(g);F="true"==(S=S.toLowerCase())||"1"==S;break;case"color":case"hex":var b=flixel_util_FlxColor.fromString(g);if(null==b)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+g);F=b;break;case"float":F=parseFloat(g);break;case"int":F=Std.parseInt(g);break;case"string":F=new String(g)}c.push({sort:y,value:F})}}c.sort(flixel_addons_ui_FlxUI.sortParams);for(var p=0,f=c.length;p<f;){var U=p++;c[U]=c[U].value}}d.set_params(c)}}},_alignThing:function(e,t){if(null==t&&(t=!1),!haxe_xml__$Access_HasNodeAccess.resolve(e,"objects"))throw haxe_Exception.thrown(new openfl_errors_Error("FlxUI._alignThing(): <objects> node not found!"));for(var i=0,l=haxe_xml__$Access_NodeListAccess.resolve(e,"objects");i<l.length;){var n=l[i];++i;var s=flixel_addons_ui_U.xml_str(n,"value",!0,"").split(","),a=flixel_addons_ui_U.xml_str(e,"axis",!0);if("horizontal"!=a&&"vertical"!=a)throw haxe_Exception.thrown(new openfl_errors_Error('FlxUI._alignThing(): axis must be "horizontal" or "vertical"!'));var r=-1;r="horizontal"==a?this._getDataSize("w",flixel_addons_ui_U.xml_str(e,"spacing",!0),-1):this._getDataSize("h",flixel_addons_ui_U.xml_str(e,"spacing",!0),-1);var _=flixel_addons_ui_U.xml_bool(e,"resize"),o=flixel_addons_ui_U.xml_bool(e,"grow",!0),h=flixel_addons_ui_U.xml_bool(e,"shrink",!0),u=-1,d=-1;null==d&&(d=0),null==u&&(u=0);var c=flixel_math_FlxPoint._pool.get().set(u,d);c._inPool=!1;var p=c,f="";if(haxe_xml__$Access_HasNodeAccess.resolve(e,"bounds")&&("horizontal"==a?(p.set_x(this._getDataSize("w",flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"bounds"),"left"),-1)),p.set_y(this._getDataSize("w",flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"bounds"),"right"),-1))):"vertical"==a&&(p.set_x(this._getDataSize("h",flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"bounds"),"top"),-1)),p.set_y(this._getDataSize("h",flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"bounds"),"bottom"),-1)))),-1!=p.x&&-1!=p.y?p.y<=p.x&&(f="bounds max must be > bounds min! (max="+p.y+" min="+p.x+")"):f="missing bound!",""==f&&this._doAlign(s,a,r,_,p,o,h),haxe_xml__$Access_HasNodeAccess.resolve(e,"anchor")||haxe_xml__$Access_HasAttribAccess.resolve(e,"x")||haxe_xml__$Access_HasAttribAccess.resolve(e,"y"))for(var m=0;m<s.length;){var x=s[m];++m;var g=this.getAsset(x);this._loadPosition(e,g)}else;}},_doAlign:function(e,t,i,l,n,s,a){null==a&&(a=!0),null==s&&(s=!0);var r=0,_=n.y-n.x,o=e.length-1,h=0,u=0,d="width",c="x";"vertical"==t&&(d="height",c="y");for(m=0;m<e.length;){x=e[m];if(++m,null!=(g=this.getAsset(x))){var p=0;switch(d){case"height":p=g.get_height();break;case"width":p=g.get_width()}r+=p}}0==l?h=(_-r)/o:(h=i,u=(_-i*o)/e.length),u|=0,h|=0;for(var f=n.x,m=0;m<e.length;){var x=e[m];++m;var g=this.getAsset(x);if(null!=g){var F=f;if(l){if(js_Boot.__implements(g,flixel_addons_ui_interfaces_IResizable)){var y=!0,S=g;"vertical"==t?(u>S.get_width()?y=s:u<S.get_width()&&(y=a),y&&S.resize(S.get_width(),u)):"horizontal"==t&&(u>S.get_height()?y=s:u<S.get_height()&&(y=a),y&&S.resize(u,S.get_height()))}}else switch(d){case"height":u=g.get_height();break;case"width":u=g.get_width()}switch(f=F+u+h,c){case"x":g.set_x(F);break;case"y":g.set_y(F)}}}},_checkFailure:function(e){var t=flixel_addons_ui_U.xml_str(e,"target",!0),i=flixel_addons_ui_U.xml_str(e,"property",!0),l=flixel_addons_ui_U.xml_str(e,"compare",!0),n=flixel_addons_ui_U.xml_str(e,"value",!0),s=this.getAsset(t);if(null==s)return!1;var a=0,r=0,_=flixel_addons_ui_U.perc_to_float(n);switch(i){case"h":case"height":a=s.get_height();break;case"w":case"width":a=s.get_width()}if(isNaN(_)){if(!flixel_addons_ui_U.isStrNum(n))return!1;r=parseFloat(n)}else switch(i){case"h":case"height":r=_*this.screenHeight();break;case"w":case"width":r=_*this.screenWidth()}var o=!1;switch(l){case"<":a<r&&(this.failed_by=r-a,o=!0);break;case"<=":a<=r&&(this.failed_by=r-a,o=!0);break;case"=":case"==":a==r&&(this.failed_by=Math.abs(a-r),o=!0);break;case">":a>r&&(this.failed_by=a-r,o=!0);break;case">=":a>=r&&(this.failed_by=a-r,o=!0)}return o},_resizeThing:function(e,t){var i=!1,l=e.get_width(),n=e.get_height();l<t.min_width?(i=!0,l=t.min_width):l>t.max_width&&(i=!0,l=t.max_width),n<t.min_height?(i=!0,n=t.min_height):n>t.max_height&&(i=!0,n=t.max_height),i&&e.resize(l,n)},_postLoadThing:function(e,t){if("load_if"!=e){if(0!=this._loadTest(t)){var i=flixel_addons_ui_U.xml_name(t),l=this.getAsset(i),n="group"==e;if(n&&(l=this.getGroup(i)),"align"==e&&this._alignThing(t),"change"==e&&this._changeThing(t),"position"!=e){if("cursor"==e&&this._loadCursor(t),null!=l||n){if(!n){var s=flixel_addons_ui_U.xml_str(t,"use_def",!0);if(""!=s&&this.getDefinition(s),js_Boot.__implements(l,flixel_addons_ui_interfaces_IResizable)){var a=this._getDataSize("w",flixel_addons_ui_U.xml_str(t,"width")),r=this._getDataSize("h",flixel_addons_ui_U.xml_str(t,"height"));0!=a&&a!=l.get_width()||(a=null),0!=r&&r!=l.get_height()||(r=null);var _=this.calcMaxMinSize(t);null!=_&&(null!=a&&(a<_.min_width&&(a=_.min_width),a>_.max_width&&(a=_.max_width),_.min_width=_.max_width=a),null!=r&&(r<_.min_height&&(r=_.min_height),r>_.max_height&&(r=_.max_height),_.min_height=_.max_height=r),this._resizeThing(js_Boot.__cast(l,flixel_addons_ui_interfaces_IResizable),_))}var o=-l.x,h=-l.y;null==h&&(h=0),null==o&&(o=0);var u=l;u.set_x(u.x+o),(u=l).set_y(u.y+h),this._loadPosition(t,l)}var d=flixel_addons_ui_U.xml_str(t,"send_to",!0,"");if(""!=d)switch(d){case"back":case"bottom":this._sendTo(l,-1);break;case"front":case"top":this._sendTo(l,1)}if(!n&&l instanceof flixel_addons_ui_FlxUI){var c=l;0==c._postLoaded&&c.getEvent("post_load",this,null)}}}else this._loadPosition(t,l)}}else if(this._loadTest(t)&&null!=t.firstElement())for(var p=t.elements();p.hasNext();){var f=p.next();if(f.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==f.nodeType?"null":XmlType.toString(f.nodeType)));var m=f.nodeName.toLowerCase();if(f.nodeType!=Xml.Document&&f.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==f.nodeType?"null":XmlType.toString(f.nodeType)));var x=f;this._postLoadThing(m,x)}},_loadTileTest:function(e){var t=flixel_addons_ui_U.xml_i(e,"tiles_w",2),i=flixel_addons_ui_U.xml_i(e,"tiles_h",2),l=this._loadWidth(e),n=this._loadHeight(e),s=this.calcMaxMinSize(e);l<s.min_width&&(l=s.min_width),n<s.min_height&&(n=s.min_height);var a=l/t|0,r=n/i|0;a<r?r=a:r<a&&(a=r);var _=r*i;a*t>s.max_width&&(a=s.max_width/t|0),_>s.max_height&&(r=s.max_height/i|0),a<r?r=a:r<a&&(a=r),a<2&&(a=2),r<2&&(r=2);var o=flixel_util_FlxColor.fromString(flixel_addons_ui_U.xml_str(e,"color1",!0,"0x808080")),h=flixel_util_FlxColor.fromString(flixel_addons_ui_U.xml_str(e,"color2",!0,"0xc4c4c4")),u=flixel_addons_ui_U.xml_i(e,"base_tile_size",-1),d=flixel_addons_ui_U.xml_bool(e,"floor_to_even",!1),c=new flixel_addons_ui_FlxUITileTest(0,0,a,r,t,i,o,h,d);return c.baseTileSize=u,c},_loadString:function(e,t){var i=flixel_addons_ui_U.xml_str(e,t),l=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),n=flixel_addons_ui_U.xml_str(e,"code",!0,"");return i=this.getText(i,l,!0,n)},_loadText:function(e){var t=flixel_addons_ui_U.xml_str(e,"text"),i=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),l=flixel_addons_ui_U.xml_str(e,"code",!0,"");t=this.getText(t,i,!0,l);var n=0|this._loadWidth(e,100),s=0|this._loadHeight(e,-1),a=this._loadFontFace(e);if(flixel_addons_ui_U.xml_bool(e,"input"))throw haxe_Exception.thrown(new openfl_errors_Error("FlxUI._loadText(): <text> with input has been deprecated. Use <input_text> instead."));var r=flixel_addons_ui_U.xml_str(e,"align");""==r&&(r=null);var _=0|this._loadHeight(e,8,"size","floor"),o=this._loadColor(e),h=this._loadBorder(e),u=new flixel_addons_ui_FlxUIText(0,0,n,t,_);u.setFormat(a,_,o,r),h.apply(u),u.drawFrame();var d=u;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){var c=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){c=[];for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"param");p<f.length;){var m=f[p];if(++p,haxe_xml__$Access_HasAttribAccess.resolve(m,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(m,"value")){var x=haxe_xml__$Access_AttribAccess.resolve(m,"type");x=x.toLowerCase();var g=haxe_xml__$Access_AttribAccess.resolve(m,"value"),F=g,y=flixel_addons_ui_U.xml_i(m,"sort",-1);switch(x){case"bool":case"boolean":var S=new String(g);F="true"==(S=S.toLowerCase())||"1"==S;break;case"color":case"hex":var b=flixel_util_FlxColor.fromString(g);if(null==b)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+g);F=b;break;case"float":F=parseFloat(g);break;case"int":F=Std.parseInt(g);break;case"string":F=new String(g)}c.push({sort:y,value:F})}}c.sort(flixel_addons_ui_FlxUI.sortParams);for(var p=0,f=c.length;p<f;){var U=p++;c[U]=c[U].value}}var v=c;d.set_params(v)}if(s>0&&d.get_height()!=s&&js_Boot.__implements(d,flixel_addons_ui_interfaces_IResizable)){var T=d;T.resize(T.get_width(),s)}return u.set_text(" "),u.set_text(t),d},_loadInputText:function(e){var t=flixel_addons_ui_U.xml_str(e,"text"),i=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),l=flixel_addons_ui_U.xml_str(e,"code",!0,"");t=this.getText(t,i,!0,l);var n=0|this._loadWidth(e,100),s=0|this._loadHeight(e,-1),a=this._loadFontFace(e),r=flixel_addons_ui_U.xml_str(e,"align");""==r&&(r=null);var _=0|this._loadHeight(e,8,"size"),o=this._loadColor(e),h=this._loadBorder(e),u=flixel_addons_ui_U.xml_str(e,"background",!0,"0x00000000"),d=!0,c=0;null==c&&(c=0),null==d&&(d=!1);var p=flixel_util_FlxColor.fromString(u);if(null==p){if(!d)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+u);p=c}var f=p,m=flixel_addons_ui_U.xml_bool(e,"password_mode"),x=new flixel_addons_ui_FlxUIInputText(0,0,n,t,_,o,f);x.set_passwordMode(m);var g;switch(flixel_addons_ui_U.xml_str(e,"force_case",!0,"")){case"lower":case"lower_case":case"lowercase":g=2;break;case"l":case"u":throw haxe_Exception.thrown(new openfl_errors_Error("FlxUI._loadInputText(): 1 letter values have been deprecated (force_case attribute)."));case"upper":case"upper_case":case"uppercase":g=1;break;default:g=0}for(var F,y=flixel_addons_ui_U.xml_str(e,"filter",!0,"");-1!=y.indexOf("_");)y=StringTools.replace(y,"_","");switch(y){case"a":case"an":case"n":throw haxe_Exception.thrown(new openfl_errors_Error("FlxUI._loadInputText(): 1 letter values have been deprecated (filter attribute)."));case"alpha":case"onlyalpha":F=1;break;case"alphanum":case"alphanumeric":case"onlyalphanumeric":F=3;break;case"num":case"numeric":case"onlynumeric":F=2;break;default:F=0}x.setFormat(a,_,o,r),x.set_forceCase(g),x.set_filterMode(F),h.apply(x),x.drawFrame();var S=x;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){var b=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){b=[];for(var U=0,v=haxe_xml__$Access_NodeListAccess.resolve(e,"param");U<v.length;){var T=v[U];if(++U,haxe_xml__$Access_HasAttribAccess.resolve(T,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(T,"value")){var N=haxe_xml__$Access_AttribAccess.resolve(T,"type");N=N.toLowerCase();var D=haxe_xml__$Access_AttribAccess.resolve(T,"value"),Q=D,B=flixel_addons_ui_U.xml_i(T,"sort",-1);switch(N){case"bool":case"boolean":Q="true"==(u=(u=new String(D)).toLowerCase())||"1"==u;break;case"color":case"hex":if(null==(p=flixel_util_FlxColor.fromString(D)))throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+D);Q=p;break;case"float":Q=parseFloat(D);break;case"int":Q=Std.parseInt(D);break;case"string":Q=new String(D)}b.push({sort:B,value:Q})}}b.sort(flixel_addons_ui_FlxUI.sortParams);for(var U=0,v=b.length;U<v;){var R=U++;b[R]=b[R].value}}var w=b;S.set_params(w)}if(s>0&&S.get_height()!=s&&js_Boot.__implements(S,flixel_addons_ui_interfaces_IResizable)){var E=S;E.resize(E.get_width(),s)}return S},_loadRadioGroup:function(e){for(var t=null,i=flixel_addons_ui_U.xml_str(e,"dot_src",!0),l=flixel_addons_ui_U.xml_str(e,"radio_src",!0),n=[],s=[],a=this._loadWidth(e,11,"radio_width"),r=this._loadHeight(e,11,"radio_height"),_=this._loadHeight(e,0,"height"),o=this._loadHeight(e,0,"width"),h=this._loadWidth(e,100,"label_width"),u=0,d=haxe_xml__$Access_NodeListAccess.resolve(e,"radio");u<d.length;){J=d[u];++u;var c=flixel_addons_ui_U.xml_name(J),p=flixel_addons_ui_U.xml_str(J,"label"),f=flixel_addons_ui_U.xml_str(J,"context",!0,"ui"),m=flixel_addons_ui_U.xml_str(J,"code",!0,"");p=this.getText(p,f,!0,m),s.push(c),n.push(p)}s.reverse(),n.reverse();var x=this._loadHeight(e,25,"y_space"),g=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){g=[];for(var u=0,d=haxe_xml__$Access_NodeListAccess.resolve(e,"param");u<d.length;){var F=d[u];if(++u,haxe_xml__$Access_HasAttribAccess.resolve(F,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(F,"value")){var y=haxe_xml__$Access_AttribAccess.resolve(F,"type");y=y.toLowerCase();var S=haxe_xml__$Access_AttribAccess.resolve(F,"value"),b=S,U=flixel_addons_ui_U.xml_i(F,"sort",-1);switch(y){case"bool":case"boolean":var v=new String(S);b="true"==(v=v.toLowerCase())||"1"==v;break;case"color":case"hex":var T=flixel_util_FlxColor.fromString(S);if(null==T)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+S);b=T;break;case"float":b=parseFloat(S);break;case"int":b=Std.parseInt(S);break;case"string":b=new String(S)}g.push({sort:U,value:b})}}g.sort(flixel_addons_ui_FlxUI.sortParams);for(var u=0,d=g.length;u<d;)g[C=u++]=g[C].value}var N=g,D=null;""!=l?D=flixel_addons_ui_U.gfx(l):haxe_xml__$Access_HasNodeAccess.resolve(e,"box")&&(D=""!=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"box"),"slice9")?this._load9SliceSprite(haxe_xml__$Access_NodeAccess.resolve(e,"box")):this._loadSprite(haxe_xml__$Access_NodeAccess.resolve(e,"box")));var Q=null;""!=i?Q=flixel_addons_ui_U.gfx(i):haxe_xml__$Access_HasNodeAccess.resolve(e,"dot")&&(Q=""!=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"dot"),"slice9")?this._load9SliceSprite(haxe_xml__$Access_NodeAccess.resolve(e,"dot")):this._loadSprite(haxe_xml__$Access_NodeAccess.resolve(e,"dot")));var B=null,R=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"button"))for(var u=0,d=haxe_xml__$Access_NodeListAccess.resolve(e,"button");u<d.length;){var w=d[u];if(++u,"previous"==(c=flixel_addons_ui_U.xml_name(w))||"prev"==c){var E=flixel_addons_ui_U.xml_f(w,"x"),k=flixel_addons_ui_U.xml_f(w,"y");null==k&&(k=0),null==E&&(E=0);var W=flixel_math_FlxPoint._pool.get().set(E,k);W._inPool=!1,B=W}else if("next"==c){var Z=flixel_addons_ui_U.xml_f(w,"x"),M=flixel_addons_ui_U.xml_f(w,"y");null==M&&(M=0),null==Z&&(Z=0);var P=flixel_math_FlxPoint._pool.get().set(Z,M);P._inPool=!1,R=P}}(t=new flixel_addons_ui_FlxUIRadioGroup(0,0,s,n,null,x,a,r,h,null,B,R)).set_params(N),""!=D&&null!=D&&t.loadGraphics(D,Q);for(var V=0|this._loadWidth(e,0,"text_x"),A=0|this._loadHeight(e,0,"text_y"),G=t.getRadios(),C=0,I=!1,L=e.elementsNamed("radio"),J=null,u=0,d=G.length;u<d;){var O=u++,$=G[G.length-1-O];if(J=L.hasNext()?L.next():null,null!=$&&$ instanceof flixel_addons_ui_FlxUICheckBox){var H=js_Boot.__cast($,flixel_addons_ui_FlxUICheckBox),z=this.formatButtonText(e,H);if(null!=z&&0==I){var Y=flixel_addons_ui_FontDef.copyFromFlxText(z),X=new flixel_addons_ui_BorderDef(z.borderStyle,z.borderColor,z.borderSize,z.borderQuality);t.set_activeStyle(new flixel_addons_ui_CheckStyle(16777215,Y,flixel_text_FlxTextAlign.fromOpenFL(z._defaultFormat.align),z.color,X)),I=!0}if(H.set_textX(V),H.set_textY(A),++C,null!=J){if(J.nodeType!=Xml.Document&&J.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==J.nodeType?"null":XmlType.toString(J.nodeType)));var j=J;this._loadTooltip(H,j)}}}return 0!=o&&(t.fixedSize=!0,t.set_width(o)),0!=_&&(t.fixedSize=!0,t.set_height(_)),t},_loadCheckBox:function(e){var t=null,i=flixel_addons_ui_U.xml_str(e,"label"),l=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),n=flixel_addons_ui_U.xml_str(e,"code",!0,""),s=flixel_addons_ui_U.xml_bool(e,"checked",!1);i=this.getText(i,l,!0,n);var a=this._loadWidth(e,100,"label_width"),r=flixel_addons_ui_U.xml_str(e,"check_src",!0),_=flixel_addons_ui_U.xml_str(e,"box_src",!0),o=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){o=[];for(var h=0,u=haxe_xml__$Access_NodeListAccess.resolve(e,"param");h<u.length;){var d=u[h];if(++h,haxe_xml__$Access_HasAttribAccess.resolve(d,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(d,"value")){var c=haxe_xml__$Access_AttribAccess.resolve(d,"type");c=c.toLowerCase();var p=haxe_xml__$Access_AttribAccess.resolve(d,"value"),f=p,m=flixel_addons_ui_U.xml_i(d,"sort",-1);switch(c){case"bool":case"boolean":var x=new String(p);f="true"==(x=x.toLowerCase())||"1"==x;break;case"color":case"hex":var g=flixel_util_FlxColor.fromString(p);if(null==g)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+p);f=g;break;case"float":f=parseFloat(p);break;case"int":f=Std.parseInt(p);break;case"string":f=new String(p)}o.push({sort:m,value:f})}}o.sort(flixel_addons_ui_FlxUI.sortParams);for(var h=0,u=o.length;h<u;){var F=h++;o[F]=o[F].value}}var y=o,S=null,b=null;""!=_?S=flixel_addons_ui_U.gfx(_):haxe_xml__$Access_HasNodeAccess.resolve(e,"box")&&(S=""!=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"box"),"slice9")?this._load9SliceSprite(haxe_xml__$Access_NodeAccess.resolve(e,"box")):this._loadSprite(haxe_xml__$Access_NodeAccess.resolve(e,"box"))),""!=r?b=flixel_addons_ui_U.gfx(r):haxe_xml__$Access_HasNodeAccess.resolve(e,"check")&&(b=""!=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"check"),"slice9")?this._load9SliceSprite(haxe_xml__$Access_NodeAccess.resolve(e,"check")):this._loadSprite(haxe_xml__$Access_NodeAccess.resolve(e,"check"))),t=new flixel_addons_ui_FlxUICheckBox(0,0,S,b,i,a,y),this.formatButtonText(e,t);var U=0|this._loadWidth(e,0,"text_x"),v=0|this._loadHeight(e,0,"text_y");return t.set_textX(U),t.set_textY(v),t.set_text(i),t.set_checked(s),t},_loadDropDownMenu:function(e){var t=flixel_addons_ui_U.xml_str(e,"label"),i=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),l=flixel_addons_ui_U.xml_str(e,"code",!0,"");t=this.getText(t,i,!0,l);var n=flixel_addons_ui_U.xml_str(e,"back_def",!0),s=flixel_addons_ui_U.xml_str(e,"panel_def",!0),a=flixel_addons_ui_U.xml_str(e,"button_def",!0),r=flixel_addons_ui_U.xml_str(e,"label_def",!0),_=null,o=null,h=null,u=null;if(""!=n&&(_=this._loadSprite(this.getDefinition(n))),""!=s&&(o=this._load9SliceSprite(this.getDefinition(s))),""!=a)try{h=this._loadButton(this.getDefinition(a),!1,!1)}catch(p){if(haxe_NativeStackTrace.lastError=p,!(haxe_Exception.caught(p).unwrap()instanceof openfl_errors_Error))throw p;h=null}if(""!=r){try{u=this._loadText(this.getDefinition(r))}catch(p){if(haxe_NativeStackTrace.lastError=p,!(haxe_Exception.caught(p).unwrap()instanceof openfl_errors_Error))throw p;u=null}null!=u&&""!=t&&u.set_text(t)}var d=null,c=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"data"))for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"data");p<f.length;){var m=f[p];++p,null==c&&(c=[]);var x=new flixel_addons_ui_StrNameLabel(flixel_addons_ui_U.xml_str(m,"name",!0),flixel_addons_ui_U.xml_str(m,"label"));c.push(x)}else if(haxe_xml__$Access_HasNodeAccess.resolve(e,"asset"))for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"asset");p<f.length;){var g=f[p];++p,null==d&&(d=[]);var F=flixel_addons_ui_U.xml_str(g,"def",!0),y=flixel_addons_ui_U.xml_name(g),S=null;try{S=this._loadButton(this.getDefinition(F),!1)}catch(e){if(haxe_NativeStackTrace.lastError=e,!(haxe_Exception.caught(e).unwrap()instanceof openfl_errors_Error))throw e}null!=S&&(S.name=y,null==d&&(d=[]),d.push(S))}var b=new flixel_addons_ui_FlxUIDropDownHeader(120,_,u,h);return new flixel_addons_ui_FlxUIDropDownMenu(0,0,c,null,b,o,d)},_loadTest:function(e){var t,i=!0;if(e.nodeType==Xml.Document)t="Document";else{if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));t=e.nodeName}if("load_if"==t&&0==(i=this._loadTestSub(e)))return!1;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"load_if"))for(var l=0,n=haxe_xml__$Access_NodeListAccess.resolve(e,"load_if");l<n.length;){var s=n[l];++l;var a=s;if(a.nodeType!=Xml.Document&&a.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==a.nodeType?"null":XmlType.toString(a.nodeType)));if(null==a.children[0]&&0==(i=this._loadTestSub(s)))return!1}return i},_loadTestSub:function(e){var t=flixel_addons_ui_U.xml_bool(e,"is",!0),i=t,l=flixel_addons_ui_U.xml_f(e,"aspect_ratio",-1);if(-1!=l){i=!0;var n=js_Boot.__cast(flixel_FlxG.width,Float)/js_Boot.__cast(flixel_FlxG.height,Float),s=Math.abs(n-l);if(haxe_xml__$Access_HasAttribAccess.resolve(e,"tolerance"))s>flixel_addons_ui_U.xml_f(e,"tolerance",.1)&&(i=!1);else if(haxe_xml__$Access_HasAttribAccess.resolve(e,"tolerance_plus")||haxe_xml__$Access_HasAttribAccess.resolve(e,"tolerance_minus")){var a=flixel_addons_ui_U.xml_f(e,"tolerance_minus",-1),r=flixel_addons_ui_U.xml_f(e,"tolerance_plus",-1);n>l&&-1!=r&&s>r&&(i=!1),n<l&&-1!=a&&s>a&&(i=!1)}if(i!=t)return!1}var _=flixel_addons_ui_U.xml_pt(e,"resolution",null);if(null!=_){i=!0;var o=flixel_addons_ui_U.xml_pt(e,"tolerance",null);null==o&&(o=new flixel_math_FlxPoint(0,0));var h=Math.abs(_.x-flixel_FlxG.width),u=Math.abs(_.y-flixel_FlxG.height);if((h>o.x||u>o.y)&&(i=!1),i!=t)return!1}var d=flixel_addons_ui_U.xml_str(e,"haxedef",!0,""),c=flixel_addons_ui_U.xml_bool(e,"value",!0);if(""!=d&&(i=!0,(i=flixel_addons_ui_U.checkHaxedef(d)==c)!=t))return!1;var p=flixel_addons_ui_U.xml_str(e,"variable",!1,""),f=flixel_addons_ui_U.xml_str(e,"type",!0,"string");if(""!=p){i=!0;var m=this.parseVarValue(p);if(null!=m&&(i=this.checkVariable(m.variable,m.value,f,m.op)),i!=t)return!1}return!0},parseVarValue:function(e){for(var t,i=["==","=","!=","!==","<",">","<=",">="],l=0;l<i.length;){var n=i[l];if(++l,-1!=e.indexOf(n)&&null!=(t=e.split(n))&&2==t.length)return{variable:t[0],value:t[1],op:n}}return null},_loadLayout:function(e){var t=flixel_addons_ui_U.xml_str(e,"name",!0),i=this._loadWidth(e,0,"x"),l=this._loadHeight(e,0,"y"),n=this.createUI(e);return n.set_x(i),n.set_y(l),n.name=t,n},addToCleanup:function(e){null!=this._assetsToCleanUp&&-1==this._assetsToCleanUp.indexOf(e)&&this._assetsToCleanUp.push(e)},addToScaledAssets:function(e){null!=this._scaledAssets&&-1==this._scaledAssets.indexOf(e)&&this._scaledAssets.push(e)},cleanup:function(){for(var e=0,t=this._assetsToCleanUp;e<t.length;){var i=t[e];++e,flixel_FlxG.bitmap.removeByKey(i)}this._assetsToCleanUp=null,this._scaledAssets=null},createUI:function(e){return new flixel_addons_ui_FlxUI(e,this,this,this._ptr_tongue,this.liveFilePath)},_loadTabMenu:function(e){var t=flixel_addons_ui_U.xml_str(e,"back_def"),i=this.getDefinition(t);null==i&&(i=e),i=flixel_addons_ui_FlxUI.consolidateData(i,e);var l;switch(flixel_addons_ui_U.xml_str(e,"back_type",!0,"chrome")){case"region":l=new flixel_addons_ui_FlxUIRegion;break;case"sprite":l=this._loadSprite(i);break;default:l=this._load9SliceSprite(i,"tab_menu")}var n=null,s=flixel_addons_ui_U.xml_bool(e,"stretch_tabs",!1),a="front",r="back";haxe_xml__$Access_HasNodeAccess.resolve(e,"stacking")&&(a=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"stacking"),"toggled",!0,"front"),r=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"stacking"),"untoggled",!0,"back"));var _=null;""!=flixel_addons_ui_U.xml_str(e,"spacing",!0,"")&&(_=this._loadWidth(e,0,"spacing"));var o=this._loadWidth(e,0,"tab_x"),h=this._loadHeight(e,0,"tab_y");null==h&&(h=0),null==o&&(o=0);var u=flixel_math_FlxPoint._pool.get().set(o,h);u._inPool=!1;var d=u,c="";if(haxe_xml__$Access_HasNodeAccess.resolve(e,"tab")){for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"tab");p<f.length;){var m=f[p];++p;var x=flixel_addons_ui_U.xml_str(m,"use_def");""!=x&&(c=x)}n=""!=c?this.getDefinition(c):haxe_xml__$Access_NodeAccess.resolve(e,"tab")}var g=[],F="";if(haxe_xml__$Access_HasNodeAccess.resolve(e,"tab"))for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"tab");p<f.length;){var y=f[p];if(++p,""!=(F=flixel_addons_ui_U.xml_name(y))){var S=flixel_addons_ui_U.xml_str(y,"label"),b=flixel_addons_ui_U.xml_str(y,"context",!0,"ui"),U=flixel_addons_ui_U.xml_str(y,"code",!0,"");S=this.getText(S,b,!0,U),S=this.getText(S,b,!0,U);var v=flixel_addons_ui_FlxUI.consolidateData(y,n),T=this._loadButton(v,!0,!0,"tab_menu");T.name=F,g.push(T),this._loadTooltip(T,v)}}if(g.length>0){if(null==n||!haxe_xml__$Access_HasNodeAccess.resolve(n,"text"))for(p=0;p<g.length;){var N=g[p];if(++p,N instanceof flixel_addons_ui_FlxUITypedButton){var D=N;if(D.label.set_color(16777215),D.label instanceof flixel_addons_ui_FlxUIText){var Q=D.label;Q.set_borderStyle(flixel_text_FlxTextBorderStyle.OUTLINE),Q.set_borderColor(0),Q.set_borderSize(1),Q.set_borderQuality(1)}}}null!=n&&haxe_xml__$Access_HasAttribAccess.resolve(n,"width")||(s=!0)}var B=new flixel_addons_ui_FlxUITabMenu(l,g,null,d,s,_,[a,r]);if(haxe_xml__$Access_HasNodeAccess.resolve(e,"group"))for(var p=0,f=haxe_xml__$Access_NodeListAccess.resolve(e,"group");p<f.length;){var R=f[p];++p,F=flixel_addons_ui_U.xml_name(R);var w=new flixel_addons_ui_FlxUI(R,B,this,this._ptr_tongue);if(null!=g&&g.length>0){var E=w;E.set_y(E.y+g[0].get_height())}w.name=F,B.addGroup(w)}return B},_loadNumericStepper:function(e,t){null==t&&(t=!0);var i=flixel_addons_ui_U.xml_f(e,"step",1),l=flixel_addons_ui_U.xml_f(e,"value",0),n=flixel_addons_ui_U.xml_f(e,"min",0),s=flixel_addons_ui_U.xml_f(e,"max",10),a=flixel_addons_ui_U.xml_i(e,"decimals",0),r=flixel_addons_ui_U.xml_bool(e,"percent"),_=flixel_addons_ui_U.xml_str(e,"stack",!0,"");""==_&&(_=flixel_addons_ui_U.xml_str(e,"stacking",!0,""));var o;switch(_=_.toLowerCase()){case"h":case"horizontal":case"horz":o=1;break;case"v":case"vert":case"vertical":o=0;break;default:o=1}var h=null,u=null,d=null;haxe_xml__$Access_HasNodeAccess.resolve(e,"text")&&(h=this._loadThing("text",haxe_xml__$Access_NodeAccess.resolve(e,"text"))),haxe_xml__$Access_HasNodeAccess.resolve(e,"plus")&&(u=this._loadThing("button",haxe_xml__$Access_NodeAccess.resolve(e,"plus"))),haxe_xml__$Access_HasNodeAccess.resolve(e,"minus")&&(d=this._loadThing("button",haxe_xml__$Access_NodeAccess.resolve(e,"minus")));var c=new flixel_addons_ui_FlxUINumericStepper(0,0,i,l,n,s,a,o,h,u,d,r);if(t){var p=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){p=[];for(var f=0,m=haxe_xml__$Access_NodeListAccess.resolve(e,"param");f<m.length;){var x=m[f];if(++f,haxe_xml__$Access_HasAttribAccess.resolve(x,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(x,"value")){var g=haxe_xml__$Access_AttribAccess.resolve(x,"type");g=g.toLowerCase();var F=haxe_xml__$Access_AttribAccess.resolve(x,"value"),y=F,S=flixel_addons_ui_U.xml_i(x,"sort",-1);switch(g){case"bool":case"boolean":var b=new String(F);y="true"==(b=b.toLowerCase())||"1"==b;break;case"color":case"hex":var U=flixel_util_FlxColor.fromString(F);if(null==U)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+F);y=U;break;case"float":y=parseFloat(F);break;case"int":y=Std.parseInt(F);break;case"string":y=new String(F)}p.push({sort:S,value:y})}}p.sort(flixel_addons_ui_FlxUI.sortParams);for(var f=0,m=p.length;f<m;){var v=f++;p[v]=p[v].value}}var T=p;c.set_params(T)}return c},getResizeRatio:function(e,t){null==t&&(t=1);var i=flixel_addons_ui_U.xml_str(e,"resize_ratio_x",!0);if(""==i){if(""==(i=flixel_addons_ui_U.xml_str(e,"resize_ratio_y",!0))){var l=flixel_addons_ui_U.xml_f(e,"resize_ratio",-1);return new flixel_math_FlxPoint(l,t)}return new flixel_math_FlxPoint(parseFloat(i),1)}return new flixel_math_FlxPoint(parseFloat(i),0)},_loadButton:function(e,t,i,l){null==l&&(l=""),null==i&&(i=!1),null==t&&(t=!0);var n=null,s=this._loadColor(e),a=flixel_addons_ui_U.xml_f(e,"resize_ratio",-1),r=this._loadCompass(e,"resize_point"),_=flixel_addons_ui_U.xml_bool(e,"resize_label",!1),o=flixel_addons_ui_U.xml_str(e,"label"),h=null,u=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"sprite"))for(var d=0,c=haxe_xml__$Access_NodeListAccess.resolve(e,"sprite");d<c.length;){var p=c[d];++d,i&&flixel_addons_ui_U.xml_bool(p,"toggle")?u=this._loadThing("sprite",p):h=this._loadThing("sprite",p)}var f=flixel_addons_ui_U.xml_str(e,"context",!0,"ui"),m=flixel_addons_ui_U.xml_str(e,"code",!0,"");o=this.getText(o,f,!0,m);var x=0|this._loadWidth(e,0,"width"),g=0|this._loadHeight(e,0,"height"),F=null;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"param")){F=[];for(var d=0,c=haxe_xml__$Access_NodeListAccess.resolve(e,"param");d<c.length;){var y=c[d];if(++d,haxe_xml__$Access_HasAttribAccess.resolve(y,"type")&&haxe_xml__$Access_HasAttribAccess.resolve(y,"value")){var S=haxe_xml__$Access_AttribAccess.resolve(y,"type");S=S.toLowerCase();var b=haxe_xml__$Access_AttribAccess.resolve(y,"value"),U=b,v=flixel_addons_ui_U.xml_i(y,"sort",-1);switch(S){case"bool":case"boolean":var T=new String(b);U="true"==(T=T.toLowerCase())||"1"==T;break;case"color":case"hex":var N=flixel_util_FlxColor.fromString(b);if(null==N)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+b);U=N;break;case"float":U=parseFloat(b);break;case"int":U=Std.parseInt(b);break;case"string":U=new String(b)}F.push({sort:v,value:U})}}F.sort(flixel_addons_ui_FlxUI.sortParams);for(var d=0,c=F.length;d<c;){var D=d++;F[D]=F[D].value}}var Q=F;if(null==h){var B=0==haxe_xml__$Access_HasNodeAccess.resolve(e,"graphic");(n=new flixel_addons_ui_FlxUIButton(0,0,o,null,B,!1,s))._autoCleanup=!1}else{var R=null;if(""!=o){var w=new flixel_addons_ui_FlxUIText(0,0,80,o,8);w.setFormat(null,8,3355443,"center"),(R=new flixel_group_FlxTypedSpriteGroup).add(h),R.add(w),n=new flixel_addons_ui_FlxUISpriteButton(0,0,R)}else n=new flixel_addons_ui_FlxUISpriteButton(0,0,h)}if(n.resize_ratio=a,n.resize_point=r,n.autoResizeLabel=_,t&&n.set_params(Q),haxe_xml__$Access_HasNodeAccess.resolve(e,"graphic"))if(flixel_addons_ui_U.xml_bool(haxe_xml__$Access_NodeAccess.resolve(e,"graphic"),"blank"))n.loadGraphicSlice9(["","",""],x,g,null,0,a);else{var E=null,k=null,W=null;i?(E=["","","","","",""],k=[null,null,null,null,null,null]):(E=["","",""],k=[null,null,null]);var Z=flixel_addons_ui_U.xml_i(haxe_xml__$Access_NodeAccess.resolve(e,"graphic"),"src_w",0),M=flixel_addons_ui_U.xml_i(haxe_xml__$Access_NodeAccess.resolve(e,"graphic"),"src_h",0),P=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"graphic"),"tile",!0,""),V=0;switch(P){case"h":case"horizontal":V=16;break;case"v":case"vertical":V=1;break;case"all":case"both":case"hv":case"true":case"vh":V=17}var A=V,G=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"graphic"),"frames",!0);if(""!=G){W=[];for(var C=G.split(","),d=0;d<C.length;){var I=C[d];++d,W.push(Std.parseInt(I))}}for(var d=0,c=haxe_xml__$Access_NodeListAccess.resolve(e,"graphic");d<c.length;){var L=c[d];++d;var J=flixel_addons_ui_U.xml_name(L),O=flixel_addons_ui_U.xml_str(L,"image"),$=flixel_util_FlxStringUtil.toIntArray(flixel_addons_ui_U.xml_str(L,"slice9")),V=0;switch(P=flixel_addons_ui_U.xml_str(L,"tile",!0,"")){case"h":case"horizontal":V=16;break;case"v":case"vertical":V=1;break;case"all":case"both":case"hv":case"true":case"vh":V=17}A=V;var H=flixel_addons_ui_U.xml_bool(L,"toggle");H=H&&i;var z=flixel_addons_ui_U.gfx(O);switch(J){case"all":var Y=i?6:3,X=null;0!=M&&(Y=flixel_addons_ui_U.getBmp(z).height/M|0),""!=O&&(E=[this.loadScaledSrc(L,"image","scale_src",1,Y)]),k=[this.load9SliceSprite_scaleSub($,L,E[0],"image")],Z=(X=flixel_addons_ui_U.getBmp(E[0])).width,M=X.height/Y|0;break;case"active":case"highlight":case"hilight":case"hover":case"over":""!=O&&(H?E[4]=this.loadScaledSrc(L,"image","scale_src"):E[1]=this.loadScaledSrc(L,"image","scale_src")),H?k[4]=this.load9SliceSprite_scaleSub($,L,E[4],"image"):k[1]=this.load9SliceSprite_scaleSub($,L,E[1],"image");break;case"down":case"pressed":case"pushed":""!=O&&(H?E[5]=this.loadScaledSrc(L,"image","scale_src"):E[2]=this.loadScaledSrc(L,"image","scale_src")),H?k[5]=this.load9SliceSprite_scaleSub($,L,E[5],"image"):k[2]=this.load9SliceSprite_scaleSub($,L,E[2],"image");break;case"":case"inactive":case"normal":case"up":""!=O&&(H?E[3]=this.loadScaledSrc(L,"image","scale_src"):E[0]=this.loadScaledSrc(L,"image","scale_src")),H?k[3]=this.load9SliceSprite_scaleSub($,L,E[3],"image"):k[0]=this.load9SliceSprite_scaleSub($,L,E[0],"image")}""!=E[0]&&E.length>=3&&(""==E[1]&&(E[1]=E[0]),""==E[2]&&(E[2]=E[1]),E.length>=6&&(""==E[3]&&(E[3]=E[0]),""==E[4]&&(E[4]=E[1]),""==E[5]&&(E[5]=E[2])))}n.loadGraphicSlice9(E,x,g,k,A,a,i,Z,M,W)}else if("tab_menu"==l){var E=["flixel/flixel-ui/img/tab_back.png","flixel/flixel-ui/img/tab_back.png","flixel/flixel-ui/img/tab_back.png","flixel/flixel-ui/img/tab.png","flixel/flixel-ui/img/tab.png","flixel/flixel-ui/img/tab.png"],j=flixel_util_FlxStringUtil.toIntArray("6,6,11,11"),k=[j,j,j,j,j,j];n.loadGraphicSlice9(E,x,g,k,0,a,i)}else x<=0&&(x=80),g<=0&&(g=20),n.loadGraphicSlice9(null,x,g,null,0,a,i);null==h?null!=e&&haxe_xml__$Access_HasNodeAccess.resolve(e,"text")?this.formatButtonText(e,n):"tab_menu"==l?(n.up_color=16777215,n.down_color=16777215,n.over_color=16777215,n.up_toggle_color=16777215,n.down_toggle_color=16777215,n.over_toggle_color=16777215):n.autoCenterLabel():n.autoCenterLabel(),null!=h&&""!=o&&null!=e&&haxe_xml__$Access_HasNodeAccess.resolve(e,"text")&&this.formatButtonText(e,n);var K=0,q=0;if(null!=e.get("text_x")?K=0|this._loadWidth(e,0,"text_x"):null!=e.get("label_x")&&(K=0|this._loadWidth(e,0,"label_x")),null!=e.get("text_y")?q=0|this._loadHeight(e,0,"text_y"):null!=e.get("label_y")&&(q=0|this._loadHeight(e,0,"label_y")),n instanceof flixel_addons_ui_FlxUISpriteButton){var ee=n;if(ee.label instanceof flixel_group_FlxTypedSpriteGroup)for(var d=0,c=ee.label.group.members;d<c.length;){var te=c[d];if(++d,te instanceof flixel_addons_ui_FlxUIText){var ie=te.offset;ie.set_x(ie.x-K);var le=te.offset;le.set_y(le.y-q);break}}else(d=ee.label.offset).set_x(d.x-K),(d=ee.label.offset).set_y(d.y-q),null!=u&&((d=u.offset).set_x(d.x-K),(d=u.offset).set_y(d.y-q))}else{var ne=n;(d=ne.label.offset).set_x(d.x-K),(d=ne.label.offset).set_y(d.y-q)}if(null!=h&&null!=u&&n.set_toggle_label(u),n instanceof flixel_addons_ui_FlxUITypedButton){var se=n;if(null!=se._assetsToCleanup)for(var d=0,c=se._assetsToCleanup;d<c.length;){var ae=c[d];++d,this.addToCleanup(ae)}}return n},_loadRegion:function(e){var t=this.calcMaxMinSize(e),i=0|this._loadWidth(e),l=0|this._loadHeight(e);if(null!=t){var n=flixel_addons_ui_U.conformToBounds(new openfl_geom_Point(i,l),t);i=0|n.x,l=0|n.y}var s=flixel_addons_ui_U.xml_bool(e,"visible",!0),a=new flixel_addons_ui_FlxUIRegion(0,0,i,l);return a.set_visible(s),a},_load9SliceSprite:function(e,t){null==t&&(t="");var i="",l=this.getResizeRatio(e),n=this._loadColor(e),s=l.x,a=this._loadCompass(e,"resize_point"),r=0|l.y,_=this.calcMaxMinSize(e),o=e,h="";if(null!=o.get("src"))if(""==(h=o.get("src"))||null==h)h="";else{h=flixel_addons_ui_U.gfx(h);try{if(!openfl_utils_Assets.exists(h,"IMAGE"))throw haxe_Exception.thrown('couldn\'t load bmp "src"')}catch(e){if(haxe_NativeStackTrace.lastError=e,"string"!=typeof haxe_Exception.caught(e).unwrap())throw e}}i=h;var u=haxe_xml__$Access_HasNodeAccess.resolve(e,"scale_src");if(u){var d=i;(i=this.loadScaledSrc(e,"src","scale_src"))!=d&&this.addToCleanup(d)}""==i&&(i=null),null==i&&"tab_menu"==t&&(i="flixel/flixel-ui/img/chrome_flat.png");var c=0|this._loadWidth(e),p=0|this._loadHeight(e);if(null!=_&&(c<_.min_width?c=0|_.min_width:c>_.max_width&&(c=_.max_width),p<_.min_height?p=0|_.min_height:p>_.max_height&&(p=0|_.max_height)),0==c||0==p)return null;var f=new openfl_geom_Rectangle(0,0,c,p),m=flixel_util_FlxStringUtil.toIntArray(flixel_addons_ui_U.xml_str(e,"slice9")),x="",g=i;u&&(m=this.load9SliceSprite_scaleSub(m,e,i),x=i,g=flixel_FlxG.bitmap._cache.h[i]);var F=flixel_addons_ui_U.xml_bool(e,"smooth",!1),y=0;switch(flixel_addons_ui_U.xml_str(e,"tile",!0,"")){case"h":case"horizontal":y=16;break;case"v":case"vertical":y=1;break;case"all":case"both":case"hv":case"true":case"vh":y=17}return new flixel_addons_ui_FlxUI9SliceSprite(0,0,g,f,m,y,F,x,s,a,r,!1,n)},load9SliceSprite_scaleSub:function(e,t,i,l){null==l&&(l="src");var n=t,s="";if(null!=n.get(l))if(""==(s=n.get(l))||null==s)s="";else{s=flixel_addons_ui_U.gfx(s);try{if(!openfl_utils_Assets.exists(s,"IMAGE"))throw haxe_Exception.thrown("couldn't load bmp \""+l+'"')}catch(e){if(haxe_NativeStackTrace.lastError=e,"string"!=typeof haxe_Exception.caught(e).unwrap())throw e}}var a=s;if(i==a)return e;var r=null!=flixel_FlxG.bitmap._cache.h[i]?flixel_FlxG.bitmap._cache.h[i].bitmap:null;null==r&&(r=openfl_utils_Assets.getBitmapData(a));var _=openfl_utils_Assets.getBitmapData(a,!1),o=r.width/_.width,h=r.height/_.height;if(Math.abs(1-o)<=.001&&Math.abs(1-h)<=.001)return e;if(null!=e){e[0]=e[0]*o|0,e[1]=e[1]*h|0;var u=_.width-e[2],d=_.height-e[3];u=u*o|0,d=d*h|0,e[2]=r.width-u|0,e[3]=r.height-d|0}return e},_loadTileRule:function(e){var t=0;switch(flixel_addons_ui_U.xml_str(e,"tile",!0,"")){case"h":case"horizontal":t=16;break;case"v":case"vertical":t=1;break;case"all":case"both":case"hv":case"true":case"vh":t=17}return t},_loadBox:function(e){var t=null,i=0|this._loadWidth(e,1,"thickness"),l=this.calcMaxMinSize(e);null==l&&(l={min_width:-1/0,min_height:-1/0,max_width:1/0,max_height:1/0});var n=0|this._loadWidth(e),s=0|this._loadHeight(e);null!=l&&(n<l.min_width?n=0|l.min_width:n>l.max_width&&(n=0|l.max_width),s<l.min_height?s=0|l.max_height:s>l.max_height&&(s=0|l.max_height));var a=flixel_addons_ui_U.xml_str(e,"color",!0,"0xff000000"),r=0;if(""!=a){var _=flixel_util_FlxColor.fromString(a);if(null==_)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+a);r=_}t=new flixel_addons_ui_FlxUISprite(0,0);var o=n+"x"+s+":"+r+":"+i;if(null!=flixel_FlxG.bitmap._cache.h[o])t.loadGraphic(o);else{t.makeGraphic(n,s,r,!1,o);var h=new openfl_geom_Rectangle(i,i,n-2*i,s-2*i);t.graphic.bitmap.fillRect(h,0)}return t},_loadLine:function(e){var t=flixel_addons_ui_U.xml_str(e,"axis",!0,"horizontal"),i=0|this._loadWidth(e,-1,"thickness"),l=this.calcMaxMinSize(e);switch(null==l&&(l={min_width:1,min_height:1,max_width:1/0,max_height:1/0}),t){case"h":case"horizontal":case"horz":l.max_height=i,l.min_height=i;break;case"v":case"vert":case"vertical":l.max_width=i,l.min_width=i}var n=0|this._loadWidth(e),s=0|this._loadHeight(e);null!=l&&(n<l.min_width?n=0|l.min_width:n>l.max_width&&(n=0|l.max_width),s<l.min_height?s=0|l.max_height:s>l.max_height&&(s=0|l.max_height));var a=flixel_addons_ui_U.xml_str(e,"color",!0,"0xff000000"),r=0;if(""!=a){var _=flixel_util_FlxColor.fromString(a);if(null==_)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+a);r=_}var o="horizontal"==t?flixel_addons_ui_LineAxis.HORIZONTAL:flixel_addons_ui_LineAxis.VERTICAL,h=o==flixel_addons_ui_LineAxis.HORIZONTAL?n:s,u=-1!=i?i:o==flixel_addons_ui_LineAxis.HORIZONTAL?s:n;return new flixel_addons_ui_FlxUILine(0,0,o,h,u,r)},_loadBar:function(e){var t=null,i={filledColors:null,emptyColors:null,chunkSize:null,gradRotation:null,filledColor:null,emptyColor:null,borderColor:null,filledImgSrc:"",emptyImgSrc:""},l=0|this._loadWidth(e,-1),n=0|this._loadHeight(e,-1),s=flixel_addons_ui_U.xml_str(e,"fill_direction",!0),a=flixel_ui_FlxBarFillDirection.TOP_TO_BOTTOM;switch(s){case"bottom_to_top":a=flixel_ui_FlxBarFillDirection.BOTTOM_TO_TOP;break;case"horizontal_inside_out":a=flixel_ui_FlxBarFillDirection.HORIZONTAL_INSIDE_OUT;break;case"horizontal_outside_in":a=flixel_ui_FlxBarFillDirection.HORIZONTAL_OUTSIDE_IN;break;case"left_to_right":a=flixel_ui_FlxBarFillDirection.LEFT_TO_RIGHT;break;case"right_to_left":a=flixel_ui_FlxBarFillDirection.RIGHT_TO_LEFT;break;case"top_to_bottom":a=flixel_ui_FlxBarFillDirection.TOP_TO_BOTTOM;break;case"vertical_inside_out":a=flixel_ui_FlxBarFillDirection.VERTICAL_INSIDE_OUT;break;case"vertical_outside_in":a=flixel_ui_FlxBarFillDirection.VERTICAL_OUTSIDE_IN;break;default:a=flixel_ui_FlxBarFillDirection.LEFT_TO_RIGHT}var r=flixel_addons_ui_U.xml_str(e,"parent_ref",!0),_=""!=r?this.getAsset(r):null,o=flixel_addons_ui_U.xml_str(e,"variable"),h=flixel_addons_ui_U.xml_f(e,"value",-1),u=flixel_addons_ui_U.xml_f(e,"min",0),d=flixel_addons_ui_U.xml_f(e,"max",100);-1==h&&(h=d),i.borderColor=flixel_addons_ui_U.xml_color(e,"border_color");var c=null!=i.borderColor;return i.filledColor=flixel_addons_ui_U.xml_color(e,"filled_color"),null==i.filledColor&&(i.filledColor=flixel_addons_ui_U.xml_color(e,"color")),i.emptyColor=flixel_addons_ui_U.xml_color(e,"empty_color"),i.filledColors=flixel_addons_ui_U.xml_colorArray(e,"filled_colors"),i.emptyColors=flixel_addons_ui_U.xml_colorArray(e,"empty_colors"),null==i.filledColors&&(i.filledColors=flixel_addons_ui_U.xml_colorArray(e,"colors")),i.filledImgSrc=this.loadScaledSrc(e,"src_filled"),i.emptyImgSrc=this.loadScaledSrc(e,"src_empty"),""==i.filledImgSrc&&(i.filledImgSrc=this.loadScaledSrc(e,"src")),i.chunkSize=flixel_addons_ui_U.xml_i(e,"chunk_size",1),i.gradRotation=flixel_addons_ui_U.xml_i(e,"rotation",90),""==i.filledImgSrc&&null==i.filledColor&&null==i.filledColors&&(i.filledColor=-65536),(t=-1==l&&-1==n?new flixel_addons_ui_FlxUIBar(0,0,a,100,10,_,o,u,d,c):new flixel_addons_ui_FlxUIBar(0,0,a,l,n,_,o,u,d,c)).set_style(i),t.resize(t.barWidth,t.barHeight),t.set_value(h),t},_loadSprite:function(e){var t="",i=null;t=this.loadScaledSrc(e);var l=this.calcMaxMinSize(e),n=this.getResizeRatio(e,-1),s=n.x,a=0|n.y,r=this._loadCompass(e,"resize_point"),_=0|this._loadWidth(e,-1),o=0|this._loadHeight(e,-1);if(null!=l&&(_<l.min_width?_=0|l.min_width:_>l.max_width&&(_=0|l.max_width),o<l.min_height?o=0|l.max_height:o>l.max_height&&(o=0|l.max_height)),""!=t)if(-1==_&&-1==o)i=new flixel_addons_ui_FlxUISprite(0,0,t);else{-1==s||-1!=_&&-1!=o||(-1==a&&(-1==_&&(a=0),-1==o&&(a=1)),1==a?o=_*(1/s):0==a&&(_=o*(1/s)));var h=this.loadSmooth(e,!0);i=new flixel_addons_ui_FlxUISprite(0,0,flixel_addons_ui_U.loadScaledImage(flixel_addons_ui_U.xml_str(e,"src"),_,o,h))}else{var u=flixel_addons_ui_U.xml_str(e,"color"),d=0;if(""!=u){var c=flixel_util_FlxColor.fromString(u);if(null==c)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+u);d=c}(i=new flixel_addons_ui_FlxUISprite(0,0)).makeGraphic(_,o,d)}return i.set_resize_point(r),i.set_resize_ratio(s),i.resize_ratio_axis=a,i},loadSmooth:function(e,t){var i=t?"true":"false",l=flixel_addons_ui_U.xml_str(e,"smooth",!0,i);return""==l&&(l=flixel_addons_ui_U.xml_str(e,"antialias",!0,i)),flixel_addons_ui_U.boolify(l)},loadScaledSrc:function(e,t,i,l,n){null==n&&(n=1),null==l&&(l=1),null==i&&(i="scale"),null==t&&(t="src");var s=flixel_addons_ui_U.xml_str(e,t);if(haxe_xml__$Access_HasNodeAccess.resolve(e,i))for(var a=0,r=haxe_xml__$Access_NodeListAccess.resolve(e,i);a<r.length;){var _=r[a];++a;var o=flixel_addons_ui_U.xml_f(_,"screen_ratio",-1),h=flixel_addons_ui_U.xml_f(_,"tolerance",.1),u=flixel_FlxG.width/flixel_FlxG.height;if(o<0||o>0&&Math.abs(o-u)<=h){var d=s+flixel_addons_ui_U.xml_str(_,"suffix"),c=null,p=-1,f=this.loadSmooth(_,!0),m=this._loadHeight(_,-1,"to_height");if(-1!=m){var x=flixel_addons_ui_U.getBmp(flixel_addons_ui_U.gfx(s));null!=x&&(p=m/x.height)}else-1==(p=this._loadScale(_,-1))&&(p=this._loadScale(_,-1,"value"));var g=-1!=p?p:this._loadScaleX(_,-1),F=-1!=p?p:this._loadScaleY(_,-1),y=0,S=0;if(g>0&&F>0?(g<=0&&(g=1),F<=0&&(F=1),y=this._loadWidth(_,-1),S=this._loadHeight(_,-1),-1!=y&&-1!=S||(y=(c=openfl_utils_Assets.getBitmapData(flixel_addons_ui_U.gfx(s))).width,S=c.height),y*=g,S*=F):(y=this._loadWidth(_,-1),S=this._loadHeight(_,-1)),0!=y&&0!=S){if(n>1||l>1){c=openfl_utils_Assets.getBitmapData(flixel_addons_ui_U.gfx(s));v=flixel_addons_ui_U.scaleAndStoreTileset(flixel_addons_ui_U.gfx(d),F,c.width/l|0,c.height/n|0,0|y,S/n|0,f);return this.addToScaledAssets(v),v}var b=flixel_addons_ui_U.loadScaledImage(d,y,S,f);return this.addToScaledAssets(b),b}break}}var U=e,v="";if(null!=U.get(t))if(""==(v=U.get(t))||null==v)v="";else{v=flixel_addons_ui_U.gfx(v);try{if(!openfl_utils_Assets.exists(v,"IMAGE"))throw haxe_Exception.thrown("couldn't load bmp \""+t+'"')}catch(a){if(haxe_NativeStackTrace.lastError=a,"string"!=typeof haxe_Exception.caught(a).unwrap())throw a}}return v},thisWidth:function(){return flixel_FlxG.width},thisHeight:function(){return flixel_FlxG.height},_getAnchorPos:function(e,t,i){switch(i){case"":return 0;case"bottom":case"down":return this.screenHeight();case"center":if("x"==t)return this.screenWidth()/2;if("y"==t)return this.screenHeight()/2;break;case"left":return 0;case"right":return this.screenWidth();case"top":case"up":return 0;default:var l=flixel_addons_ui_U.perc_to_float(i);if(isNaN(l)){if(new EReg("[\\w]+\\.[\\w]+","").match(i)){var n="";return"x"==t&&(n="w"),"y"==t&&(n="h"),this._getStretch(1,n,i)}}else{if("x"==t)return l*this.screenWidth();if("y"==t)return l*this.screenHeight()}}return 0},getRound:function(e,t){switch(null==t&&(t=""),flixel_addons_ui_U.xml_str(e,"round",!0,t)){case"-1":case"down":case"floor":return flixel_addons_ui_Rounding.Floor;case"1":case"ceil":case"ceiling":case"up":return flixel_addons_ui_Rounding.Ceil;case"0":case"round":case"true":return flixel_addons_ui_Rounding.Round}return flixel_addons_ui_Rounding.None},doRound:function(e,t){switch(t._hx_index){case 0:return Math.floor(e);case 1:return Math.ceil(e);case 2:return Math.round(e);case 3:return e}},calcMaxMinSize:function(e,t,i){var l=0,n=0,s=1/0,a=1/0,r=0,_=0,o=1/0,h=1/0,u=flixel_addons_ui_Rounding.None;if(haxe_xml__$Access_HasNodeAccess.resolve(e,"exact_size"))for(var d=0,c=haxe_xml__$Access_NodeListAccess.resolve(e,"exact_size");d<c.length;){var p=c[d];++d;var f=flixel_addons_ui_U.xml_str(p,"width"),m=flixel_addons_ui_U.xml_str(p,"height");u=this.getRound(p),l=this.doRound(this._getDataSize("w",f,0),u),n=this.doRound(this._getDataSize("h",m,0),u),s=this.doRound(l,u),a=this.doRound(n,u)}else if(haxe_xml__$Access_HasNodeAccess.resolve(e,"min_size"))for(var d=0,c=haxe_xml__$Access_NodeListAccess.resolve(e,"min_size");d<c.length;){var x=c[d];++d;var g=flixel_addons_ui_U.xml_str(x,"width"),F=flixel_addons_ui_U.xml_str(x,"height");u=this.getRound(x),r=this.doRound(this._getDataSize("w",g,0),u),_=this.doRound(this._getDataSize("h",F,0),u),r>l&&(l=r),_>n&&(n=_)}else{if(!haxe_xml__$Access_HasNodeAccess.resolve(e,"max_size"))return null;for(var d=0,c=haxe_xml__$Access_NodeListAccess.resolve(e,"max_size");d<c.length;){var y=c[d];++d;var S=flixel_addons_ui_U.xml_str(y,"width"),b=flixel_addons_ui_U.xml_str(y,"height");u=this.getRound(y),o=this.doRound(this._getDataSize("w",S,1/0),u),h=this.doRound(this._getDataSize("h",b,1/0),u),o<s&&(s=o),h<a&&(a=h)}}return null!=t&&(t>l&&(l=t),t<s&&(s=t)),null!=i&&(i>n&&(n=i),i<a&&(a=i)),s<=0&&(s=1/0),a<=0&&(a=1/0),{min_width:l,min_height:n,max_width:s,max_height:a}},_getDataSize:function(e,t,i){if(null==i&&(i=0),flixel_addons_ui_U.isStrNum(t))return parseFloat(t);var l=flixel_addons_ui_U.perc_to_float(t);if(isNaN(l)){if(0==t.indexOf("stretch:")){var n=(t=StringTools.replace(t,"stretch:","")).split(","),s=this._getStretch(0,e,n[0]),a=this._getStretch(1,e,n[1]);return-1!=s&&-1!=a?a-s:i}if(0==t.indexOf("asset:"))return t=StringTools.replace(t,"asset:",""),r=this._getStretch(1,e,t);if(new EReg("[\\w]+\\.[\\w]+","").match(t)){var r=this._getStretch(1,e,t);return r}var _="";if(t.indexOf("pt")==t.length-2&&(_=HxOverrides.substr(t,0,t.length-2)),""!=_&&flixel_addons_ui_U.isStrNum(_)){var o=parseFloat(_);switch(e){case"h":case"height":return this._pointY*o;case"w":case"width":return this._pointX*o}}}else switch(e){case"h":case"height":return this.screenHeight()*l;case"scale":case"scale_x":case"scale_y":return l;case"w":case"width":return this.screenWidth()*l}return i},_getOperation:function(e){for(var t=["+","-","*","/","^"],i="",l=1/0,n=0;n<t.length;){var s=t[n];++n;var a=e.indexOf(s);-1!=a&&a<l&&(l=a,i=s)}var r=!1;if(""!=i&&-1!=e.indexOf(i)){var _=e.indexOf(i);if(_!=e.length-1){var o=HxOverrides.substr(e,0,_),h=HxOverrides.substr(e,_+1,e.length-(_+1)),u=0,d=h.indexOf("pt");if(-1!=d&&d==h.length-2){var c=StringTools.replace(h,"pt","");u=parseFloat(c),r=!0}else u=parseFloat(h);return isNaN(u)&&(u=this.getAssetProperty(1,"",h)),0==u&&"0"!=h?null:[o,i,u,r]}}return null},_doOperation:function(e,t,i){switch(t){case"*":return e*i;case"+":return e+i;case"-":return e-i;case"/":return e/i;case"^":return Math.pow(e,i)}return e},_getStretch:function(e,t,i){var l=null,n="",s=0;if(null!=(l=this._getOperation(i))&&(i=l[0],n=l[1],s=l[2],l[3]))switch(t){case"h":case"height":s*=this._pointY;break;case"w":case"width":s*=this._pointX;break;default:s*=this._pointY}var a=this.getAssetProperty(e,t,i);return-1!=a&&""!=n&&(a=this._doOperation(a,n,s)),a},getAssetProperty:function(e,t,i){var l="";if(-1!=i.indexOf(".")){var n=null;i=(n=i.split("."))[0],l=n[1]}var s=this.getAsset(i),a=0;if(null==s)switch(i){case"bottom":case"down":a=this.screenHeight();break;case"left":a=0;break;case"right":a=this.screenWidth();break;case"top":case"up":a=0;break;default:a=flixel_addons_ui_U.isStrNum(i)?parseFloat(i):-1}else switch(t){case"h":case"height":if(""==l)0==e&&(a=s.y+s.get_height()),1==e&&(a=s.y);else switch(l){case"bottom":case"down":a=s.y+s.get_height();break;case"center":a=s.y+s.get_height()/2;break;case"halfheight":a=s.get_height()/2;break;case"halfwidth":a=s.get_width()/2;break;case"height":a=s.get_height();break;case"right":a=s.x+s.get_width();break;case"top":case"up":case"y":a=s.y;break;case"width":a=s.get_width();break;case"left":case"x":a=s.x}break;case"w":case"width":if(""==l)0==e&&(a=s.x+s.get_width()),1==e&&(a=s.x);else switch(l){case"bottom":case"down":a=s.y+s.get_height();break;case"center":a=s.x+s.get_width()/2;break;case"halfheight":a=s.get_height()/2;break;case"halfwidth":a=s.get_width()/2;break;case"height":a=s.get_height();break;case"right":a=s.x+s.get_width();break;case"top":case"up":case"y":a=s.y;break;case"width":a=s.get_width();break;case"left":case"x":a=s.x}break;default:switch(l){case"bottom":case"down":a=s.y+s.get_height();break;case"centerx":a=s.x+s.get_width()/2;break;case"centery":a=s.y+s.get_height()/2;break;case"halfheight":a=s.get_height()/2;break;case"halfwidth":a=s.get_width()/2;break;case"height":a=s.get_height();break;case"right":a=s.x+s.get_width();break;case"top":case"up":case"y":a=s.y;break;case"width":a=s.get_width();break;case"left":case"x":a=s.x}}return a},_loadCursor:function(e){if(haxe_xml__$Access_HasNodeAccess.resolve(e,"list")){null==this.cursorLists&&(this.cursorLists=[]);for(var t=0,i=haxe_xml__$Access_NodeListAccess.resolve(e,"list");t<i.length;){var l=i[t];++t;var n=flixel_addons_ui_U.xml_str(l,"ids").split(",");if(null!=n&&n.length>0){for(var s=[],a=0;a<n.length;){var r=n[a];++a;var _=this.getAsset(r);null!=_&&s.push(_)}this.cursorLists.push(s)}}}},_loadPosition:function(e,t){var i=this._loadWidth(e,0,"x"),l=this._loadHeight(e,0,"y"),n=flixel_addons_ui_U.xml_bool(e,"center_x"),s=flixel_addons_ui_U.xml_bool(e,"center_y"),a=flixel_addons_ui_U.xml_str(e,"center_on"),r=flixel_addons_ui_U.xml_str(e,"center_on_x"),_=flixel_addons_ui_U.xml_str(e,"center_on_y"),o="",h="",u=0,d=0,c="",p="";if(haxe_xml__$Access_HasNodeAccess.resolve(e,"anchor")){o=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"x"),h=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"y");var f=this.getRound(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"));u=this._getAnchorPos(t,"x",o),d=this._getAnchorPos(t,"y",h),u=this.doRound(u,f),d=this.doRound(d,f),c=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"x-flush",!0),p=flixel_addons_ui_U.xml_str(haxe_xml__$Access_NodeAccess.resolve(e,"anchor"),"y-flush",!0)}if(""!=o||""!=h){switch(c){case"center":u-=t.get_width()/2;break;case"left":break;case"right":u-=t.get_width()}switch(p){case"bottom":case"down":d-=t.get_height();break;case"center":d-=t.get_height()/2}""!=o&&t.set_x(u),""!=h&&t.set_y(d)}if(n||s){S=n;null==(b=s)&&(b=!0),null==S&&(S=!0),S&&t.set_x((flixel_FlxG.width-t.get_width())/2),b&&t.set_y((flixel_FlxG.height-t.get_height())/2)}if(""!=a){if(null!=(F=this.getAsset(a))){m=js_Boot.__cast(F,flixel_FlxObject);(x=js_Boot.__cast(t,flixel_FlxObject)).set_x(m.x+(m.get_width()-x.get_width())/2),x.set_y(m.y+(m.get_height()-x.get_height())/2)}}else{if(""!=r&&null!=(F=this.getAsset(r))){var m=js_Boot.__cast(F,flixel_FlxObject),x=js_Boot.__cast(t,flixel_FlxObject),g=!0;null==(y=!1)&&(y=!0),null==g&&(g=!0),g&&x.set_x(m.x+(m.get_width()-x.get_width())/2),y&&x.set_y(m.y+(m.get_height()-x.get_height())/2)}if(""!=_){var F=this.getAsset(_);if(null!=F){var m=js_Boot.__cast(F,flixel_FlxObject),x=js_Boot.__cast(t,flixel_FlxObject),g=!1,y=!0;null==y&&(y=!0),null==g&&(g=!0),g&&x.set_x(m.x+(m.get_width()-x.get_width())/2),y&&x.set_y(m.y+(m.get_height()-x.get_height())/2)}}}var S=i,b=l;null==b&&(b=0),null==S&&(S=0);var U=t;U.set_x(U.x+S),(U=t).set_y(U.y+b)},_loadBorder:function(e){var t=flixel_addons_ui_BorderDef.fromXML(e),i=this.getRound(e,"floor"),l=this._getDataSize("h",flixel_addons_ui_U.xml_str(e,"border_size"),1),n=0|this.doRound(l,i);return t.size=n,t},_loadColor:function(e,t,i){null==i&&(i=-1),null==t&&(t="color");var l,n=flixel_addons_ui_U.xml_str(e,t);if(""==n){var s=e;if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));l=s.nodeName==t}else l=!1;l&&(n=flixel_addons_ui_U.xml_str(e,"value"));var a=i;if(""!=n){var r=flixel_util_FlxColor.fromString(n);if(null==r)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+n);a=r}return a},_loadFontDef:function(e){var t=flixel_addons_ui_FontDef.fromXML(e),i=0|this._loadHeight(e,8,"size");return t.format.size=flixel_addons_ui_FlxUI.fontSize(t.file,i),t.set_size(i),t},_loadFontFace:function(e){var t=flixel_addons_ui_U.xml_str(e,"font"),i=flixel_addons_ui_U.xml_str(e,"style"),l=null;return""!=t&&(l=flixel_addons_ui_FlxUI.font(t,i)),l},_onFinishLoad:function(){null!=this._ptr&&this._ptr.getEvent("finish_load",this,null)},getText:function(e,t,i,l){null==l&&(l=""),null==i&&(i=!0),null==t&&(t="data");var n="";return null!=this._ptr_tongue?(n=this._ptr_tongue.get(e,t,i),this.formatFromCode(n,l)):null!=this.getTextFallback?(n=this.getTextFallback(e,t,i),this.formatFromCode(n,l)):e},formatFromCode:function(e,t){switch(t){case"fu":return flixel_addons_ui_U.FU(e);case"fu_":return flixel_addons_ui_U.FU_(e);case"l":return e.toLowerCase();case"u":return e.toUpperCase()}return e},formatButtonText:function(e,t){if(null!=e&&haxe_xml__$Access_HasNodeAccess.resolve(e,"text")){var i=haxe_xml__$Access_NodeAccess.resolve(e,"text"),l=flixel_addons_ui_U.xml_str(i,"use_def",!0),n=null;""!=l&&(n=this.getDefinition(l));var s=flixel_addons_ui_FlxUI.consolidateData(i,n),a=this._loadFontFace(s),r=0|this._loadHeight(s,8,"size","floor"),_=this._loadColor(s),o=flixel_addons_ui_U.xml_f(s,"width"),h=this._loadBorder(s),u=flixel_addons_ui_U.xml_str(s,"align",!0);""==u&&(u=null);var d=null,c=null,p=null,f=null;if(t instanceof flixel_addons_ui_FlxUICheckBox==0?(f=t,""!=u&&null!=u||(u="center")):(f=t.button,u="left"),null!=f){if(f instanceof flixel_addons_ui_FlxUIButton)d=(c=f).label;else if(f instanceof flixel_addons_ui_FlxUISpriteButton)if((p=f).label instanceof flixel_text_FlxText)d=p.label;else if(p.label instanceof flixel_group_FlxTypedSpriteGroup)for(var m=0,x=p.label.group.members;m<x.length;){var g=x[m];if(++m,g instanceof flixel_text_FlxText){d=g;break}}f.up_color=_,f.down_color=0,f.over_color=0}null!=d&&(0!=o&&(d.set_width(o),d.resetHelpers()),null!=c?c.setLabelFormat(a,r,_,u):d.setFormat(a,r,_,u),d.set_borderStyle(h.style),d.set_borderColor(h.color),d.set_borderSize(h.size),d.set_borderQuality(h.quality),d instanceof flixel_addons_ui_FlxUIText&&d.drawFrame(),null!=c&&c.autoCenterLabel(),null!=p&&p.autoCenterLabel());for(var m=0,x=haxe_xml__$Access_NodeListAccess.resolve(s,"color");m<x.length;){var F=x[m];++m;var _=this._loadColor(F),y=flixel_addons_ui_U.xml_bool(F,"visible",!0),S=flixel_addons_ui_U.xml_name(F),b=flixel_addons_ui_U.xml_bool(F,"toggle");switch(S){case"active":case"hilight":case"hover":case"over":b?(f.over_toggle_color=_,f.over_toggle_visible=y):(f.over_color=_,f.over_visible=y);break;case"down":case"pressed":case"pushed":b?(f.down_toggle_color=_,f.down_toggle_visible=y):(f.down_color=_,f.down_visible=y);break;case"":case"inactive":case"normal":case"up":b?(f.up_toggle_color=_,f.up_toggle_visible=y):(f.up_color=_,f.up_visible=y)}}return 0==f.over_color&&(f.over_color=f.up_color),0==f.down_color&&(f.down_color=f.over_color),0==f.up_toggle_color&&(f.up_toggle_color=f.up_color),0==f.over_toggle_color&&(f.over_toggle_color=f.over_color),0==f.down_toggle_color&&(f.down_toggle_color=f.down_color),null!=d&&(d.set_visible(f.up_visible),d.set_color(f.up_color)),d}return null},__class__:flixel_addons_ui_FlxUI,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_currMode:"set_currMode",get_currMode:"get_currMode",set_focus:"set_focus",set_tongue:"set_tongue",get_tongue:"get_tongue",get_isRoot:"get_isRoot"})});var flixel_addons_ui_Rounding=$hxEnums["flixel.addons.ui.Rounding"]={__ename__:"flixel.addons.ui.Rounding",__constructs__:["Floor","Ceil","Round","None"],Floor:{_hx_index:0,__enum__:"flixel.addons.ui.Rounding",toString:$estr},Ceil:{_hx_index:1,__enum__:"flixel.addons.ui.Rounding",toString:$estr},Round:{_hx_index:2,__enum__:"flixel.addons.ui.Rounding",toString:$estr},None:{_hx_index:3,__enum__:"flixel.addons.ui.Rounding",toString:$estr}},flixel_addons_ui_interfaces_IResizable=function(){};$hxClasses["flixel.addons.ui.interfaces.IResizable"]=flixel_addons_ui_interfaces_IResizable,flixel_addons_ui_interfaces_IResizable.__name__="flixel.addons.ui.interfaces.IResizable",flixel_addons_ui_interfaces_IResizable.__isInterface__=!0,flixel_addons_ui_interfaces_IResizable.prototype={get_width:null,set_width:null,get_height:null,set_height:null,resize:null,__class__:flixel_addons_ui_interfaces_IResizable,__properties__:{set_height:"set_height",get_height:"get_height",set_width:"set_width",get_width:"get_width"}};var flixel_addons_ui_FlxUISprite=function(e,t,i){null==t&&(t=0),null==e&&(e=0),this._originalKey="",this.resize_ratio_axis=1,this.recycled=!1,this.ptr_owner=null,this.broadcastToFlxUI=!0,flixel_FlxSprite.call(this,e,t,i)};$hxClasses["flixel.addons.ui.FlxUISprite"]=flixel_addons_ui_FlxUISprite,flixel_addons_ui_FlxUISprite.__name__="flixel.addons.ui.FlxUISprite",flixel_addons_ui_FlxUISprite.__interfaces__=[flixel_addons_ui_interfaces_IResizable,flixel_addons_ui_interfaces_IFlxUIWidget],flixel_addons_ui_FlxUISprite.__super__=flixel_FlxSprite,flixel_addons_ui_FlxUISprite.prototype=$extend(flixel_FlxSprite.prototype,{broadcastToFlxUI:null,name:null,ptr_owner:null,recycled:null,resize_ratio:null,resize_ratio_axis:null,set_resize_ratio:function(e){return this.resize_ratio=e,e},resize_point:null,set_resize_point:function(e){if(null!=e){var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,this.resize_point=t,this.resize_point.set_x(e.x),this.resize_point.set_y(e.y)}return this.resize_point},recycle:function(e){this.recycled=!0},resize:function(e,t){var i=this.get_width(),l=this.get_height();if(this.resize_ratio>0){var n=e/t;Math.abs(n-this.resize_ratio)>1e-4&&(1==this.resize_ratio_axis?t=e*(1/this.resize_ratio):e=t*(1/this.resize_ratio))}if(""!=this._originalKey&&null!=this._originalKey){var s=flixel_addons_ui_U.loadScaledImage(this._originalKey,e,t);""!=s&&null!=s&&this.loadFromScaledGraphic(s)}var a=this.get_width()-i,r=this.get_height()-l;if(null!=this.resize_point){var _=a*this.resize_point.x,o=r*this.resize_point.y,h=this;h.set_x(h.x-_),(h=this).set_y(h.y-o)}},loadGraphicAtScale:function(e,t,i){this.loadGraphic(e,!1),this.resize(t,i)},loadGraphic:function(e,t,i,l,n,s){null==n&&(n=!1),null==l&&(l=0),null==i&&(i=0),null==t&&(t=!1);var a=flixel_FlxSprite.prototype.loadGraphic.call(this,e,t,i,l,n,s);return this._originalKey=this.graphic.assetsKey,null==this._originalKey&&(this._originalKey=this.graphic.key),a},destroy:function(){this.ptr_owner=null,flixel_FlxSprite.prototype.destroy.call(this)},loadFromScaledGraphic:function(e,t,i,l,n,s){null==n&&(n=!1),null==l&&(l=0),null==i&&(i=0),null==t&&(t=!1),flixel_FlxSprite.prototype.loadGraphic.call(this,e,t,i,l,n,s)},_originalKey:null,__class__:flixel_addons_ui_FlxUISprite,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{set_resize_point:"set_resize_point",set_resize_ratio:"set_resize_ratio"})});var openfl_geom_Point=function(e,t){null==t&&(t=0),null==e&&(e=0),this.x=e,this.y=t};$hxClasses["openfl.geom.Point"]=openfl_geom_Point,openfl_geom_Point.__name__="openfl.geom.Point",openfl_geom_Point.__limeVector2=null,openfl_geom_Point.distance=function(e,t){var i=e.x-t.x,l=e.y-t.y;return Math.sqrt(i*i+l*l)},openfl_geom_Point.interpolate=function(e,t,i){return new openfl_geom_Point(t.x+i*(e.x-t.x),t.y+i*(e.y-t.y))},openfl_geom_Point.polar=function(e,t){return new openfl_geom_Point(e*Math.cos(t),e*Math.sin(t))},openfl_geom_Point.prototype={x:null,y:null,add:function(e){return new openfl_geom_Point(e.x+this.x,e.y+this.y)},clone:function(){return new openfl_geom_Point(this.x,this.y)},copyFrom:function(e){this.x=e.x,this.y=e.y},equals:function(e){return null!=e&&e.x==this.x&&e.y==this.y},normalize:function(e){if(0!=this.x||0!=this.y){var t=e/Math.sqrt(this.x*this.x+this.y*this.y);this.x*=t,this.y*=t}},offset:function(e,t){this.x+=e,this.y+=t},setTo:function(e,t){this.x=e,this.y=t},subtract:function(e){return new openfl_geom_Point(this.x-e.x,this.y-e.y)},toString:function(){return"(x="+this.x+", y="+this.y+")"},__toLimeVector2:function(){null==openfl_geom_Point.__limeVector2&&(openfl_geom_Point.__limeVector2=new lime_math_Vector2);var e=openfl_geom_Point.__limeVector2;return e.x=this.x,e.y=this.y,openfl_geom_Point.__limeVector2},get_length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},__class__:openfl_geom_Point,__properties__:{get_length:"get_length"}};var openfl_geom_Rectangle=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.x=e,this.y=t,this.width=i,this.height=l};$hxClasses["openfl.geom.Rectangle"]=openfl_geom_Rectangle,openfl_geom_Rectangle.__name__="openfl.geom.Rectangle",openfl_geom_Rectangle.__limeRectangle=null,openfl_geom_Rectangle.prototype={height:null,width:null,x:null,y:null,clone:function(){return new openfl_geom_Rectangle(this.x,this.y,this.width,this.height)},contains:function(e,t){return e>=this.x&&t>=this.y&&e<this.get_right()&&t<this.get_bottom()},containsPoint:function(e){return this.contains(e.x,e.y)},containsRect:function(e){return e.width<=0||e.height<=0?e.x>this.x&&e.y>this.y&&e.get_right()<this.get_right()&&e.get_bottom()<this.get_bottom():e.x>=this.x&&e.y>=this.y&&e.get_right()<=this.get_right()&&e.get_bottom()<=this.get_bottom()},copyFrom:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},equals:function(e){return e==this||null!=e&&this.x==e.x&&this.y==e.y&&this.width==e.width&&this.height==e.height},inflate:function(e,t){this.x-=e,this.width+=2*e,this.y-=t,this.height+=2*t},inflatePoint:function(e){this.inflate(e.x,e.y)},intersection:function(e){var t=this.x<e.x?e.x:this.x,i=this.get_right()>e.get_right()?e.get_right():this.get_right();if(i<=t)return new openfl_geom_Rectangle;var l=this.y<e.y?e.y:this.y,n=this.get_bottom()>e.get_bottom()?e.get_bottom():this.get_bottom();return n<=l?new openfl_geom_Rectangle:new openfl_geom_Rectangle(t,l,i-t,n-l)},intersects:function(e){var t=this.x<e.x?e.x:this.x;if((this.get_right()>e.get_right()?e.get_right():this.get_right())<=t)return!1;var i=this.y<e.y?e.y:this.y;return(this.get_bottom()>e.get_bottom()?e.get_bottom():this.get_bottom())>i},isEmpty:function(){return this.width<=0||this.height<=0},offset:function(e,t){this.x+=e,this.y+=t},offsetPoint:function(e){this.x+=e.x,this.y+=e.y},setEmpty:function(){this.x=this.y=this.width=this.height=0},setTo:function(e,t,i,l){this.x=e,this.y=t,this.width=i,this.height=l},toString:function(){return"(x="+this.x+", y="+this.y+", width="+this.width+", height="+this.height+")"},union:function(e){if(0==this.width||0==this.height)return e.clone();if(0==e.width||0==e.height)return this.clone();var t=this.x>e.x?e.x:this.x,i=this.get_right()<e.get_right()?e.get_right():this.get_right(),l=this.y>e.y?e.y:this.y,n=this.get_bottom()<e.get_bottom()?e.get_bottom():this.get_bottom();return new openfl_geom_Rectangle(t,l,i-t,n-l)},__contract:function(e,t,i,l){if(0!=this.width||0!=this.height){var n=0,s=0,a=0,r=0;this.x<e&&(n=e-this.x),this.y<t&&(s=t-this.y),this.get_right()>e+i&&(a=e+i-this.get_right()),this.get_bottom()>t+l&&(r=t+l-this.get_bottom()),this.x+=n,this.y+=s,this.width+=a-n,this.height+=r-s}},__expand:function(e,t,i,l){if(0==this.width&&0==this.height)return this.x=e,this.y=t,this.width=i,void(this.height=l);var n=this.get_right(),s=this.get_bottom();this.x>e&&(this.x=e,this.width=n-e),this.y>t&&(this.y=t,this.height=s-t),n<e+i&&(this.width=e+i-this.x),s<t+l&&(this.height=t+l-this.y)},__toLimeRectangle:function(){return null==openfl_geom_Rectangle.__limeRectangle&&(openfl_geom_Rectangle.__limeRectangle=new lime_math_Rectangle),openfl_geom_Rectangle.__limeRectangle.setTo(this.x,this.y,this.width,this.height),openfl_geom_Rectangle.__limeRectangle},__transform:function(e,t){var i=t.a*this.x+t.c*this.y,l=i,n=t.b*this.x+t.d*this.y,s=n,a=t.a*(this.x+this.width)+t.c*this.y,r=t.b*(this.x+this.width)+t.d*this.y;a<i&&(i=a),r<n&&(n=r),a>l&&(l=a),r>s&&(s=r),a=t.a*(this.x+this.width)+t.c*(this.y+this.height),r=t.b*(this.x+this.width)+t.d*(this.y+this.height),a<i&&(i=a),r<n&&(n=r),a>l&&(l=a),r>s&&(s=r),a=t.a*this.x+t.c*(this.y+this.height),r=t.b*this.x+t.d*(this.y+this.height),a<i&&(i=a),r<n&&(n=r),a>l&&(l=a),r>s&&(s=r),e.setTo(i+t.tx,n+t.ty,l-i,s-n)},get_bottom:function(){return this.y+this.height},set_bottom:function(e){return this.height=e-this.y,e},get_bottomRight:function(){return new openfl_geom_Point(this.x+this.width,this.y+this.height)},set_bottomRight:function(e){return this.width=e.x-this.x,this.height=e.y-this.y,e.clone()},get_left:function(){return this.x},set_left:function(e){return this.width-=e-this.x,this.x=e,e},get_right:function(){return this.x+this.width},set_right:function(e){return this.width=e-this.x,e},get_size:function(){return new openfl_geom_Point(this.width,this.height)},set_size:function(e){return this.width=e.x,this.height=e.y,e.clone()},get_top:function(){return this.y},set_top:function(e){return this.height-=e-this.y,this.y=e,e},get_topLeft:function(){return new openfl_geom_Point(this.x,this.y)},set_topLeft:function(e){return this.x=e.x,this.y=e.y,e.clone()},__class__:openfl_geom_Rectangle,__properties__:{set_topLeft:"set_topLeft",get_topLeft:"get_topLeft",set_top:"set_top",get_top:"get_top",set_size:"set_size",get_size:"get_size",set_right:"set_right",get_right:"get_right",set_left:"set_left",get_left:"get_left",set_bottomRight:"set_bottomRight",get_bottomRight:"get_bottomRight",set_bottom:"set_bottom",get_bottom:"get_bottom"}};var flixel_addons_ui_FlxUI9SliceSprite=function(e,t,i,l,n,s,a,r,_,o,h,u,d){if(null==d&&(d=-1),null==u&&(u=!1),null==h&&(h=1),null==_&&(_=-1),null==r&&(r=""),null==a&&(a=!1),null==s&&(s=0),this._asset_id="",this._smooth=!1,this._tile=0,this._slice9=null,this.paintScale9_id="",flixel_addons_ui_FlxUISprite.call(this,e,t,null),this.set_color(d),this._slice9=n,this._tile=s,this._smooth=a,this._asset_id="",null==i&&(i="flixel/flixel-ui/img/chrome.png"),"string"==typeof i)this._asset_id=i,this._raw_pixels=null;else if(i instanceof openfl_display_BitmapData)this._asset_id=r,this._raw_pixels=i;else if(i instanceof flixel_graphics_FlxGraphic){var c=i;this._asset_id=c.key,this._raw_pixels=c.bitmap}if(this.set_resize_ratio(_),this.resize_ratio_axis=h,null!=o&&this.set_resize_point(o),u){var p=flixel_addons_ui_U.applyResize(this.resize_ratio,this.resize_ratio_axis,l.width,l.height);this.set_width(p.x),this.set_height(p.y)}else this.resize(l.width,l.height)};$hxClasses["flixel.addons.ui.FlxUI9SliceSprite"]=flixel_addons_ui_FlxUI9SliceSprite,flixel_addons_ui_FlxUI9SliceSprite.__name__="flixel.addons.ui.FlxUI9SliceSprite",flixel_addons_ui_FlxUI9SliceSprite.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUI9SliceSprite.sectionCache=null,flixel_addons_ui_FlxUI9SliceSprite.cacheCounter=null,flixel_addons_ui_FlxUI9SliceSprite._staticRects=null,flixel_addons_ui_FlxUI9SliceSprite.getRectFromString=function(e){var t=e.split(","),i=null;if(null!=t&&4==t.length){var l=Std.parseInt(t[0]),n=Std.parseInt(t[1]),s=Std.parseInt(t[2]),a=Std.parseInt(t[3]);i=new openfl_geom_Rectangle(l,n,s,a)}return i},flixel_addons_ui_FlxUI9SliceSprite.getRectIntsFromString=function(e){var t=e.split(",");return null!=t&&4==t.length?[Std.parseInt(t[0]),Std.parseInt(t[1]),Std.parseInt(t[2]),Std.parseInt(t[3])]:null},flixel_addons_ui_FlxUI9SliceSprite.paintScale9=function(e,t,i,l,n,s,a){if(null==s&&(s=!1),null==n&&(n=0),null!=i){var r,_;if(null==a){var o=flixel_addons_ui_U.getBmp(t);if(null!=o)r=o.width,_=o.height;else{var h=flixel_FlxG.bitmap._cache.h[t];r=h.width,_=h.height}}else r=a.width,_=a.height;var u=i[0],d=i[1],c=i[2],p=i[3];if(null==flixel_addons_ui_FlxUI9SliceSprite._staticRects){flixel_addons_ui_FlxUI9SliceSprite._staticRects=new haxe_ds_StringMap;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h["top.left"]=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h.top=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h["top.right"]=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h.left=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h.middle=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h.right=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h["bottom.left"]=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h.bottom=v;var f=flixel_addons_ui_FlxUI9SliceSprite._staticRects,m=flixel_math_FlxRect._pool.get(),x=0,g=0,F=0;null==(y=0)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,(v=m)._inPool=!1,f.h["bottom.right"]=v}var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["top.left"],x=0,g=0,F=u,y=d;null==y&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.top,x=u,g=0,F=c-u;null==(y=d)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["top.right"],x=c,g=0,F=r-c;null==(y=d)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.left,x=0,g=d,F=u;null==(y=p-d)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.middle,x=u,g=d,F=c-u;null==(y=p-d)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.right,x=c,g=d,F=r-c;null==(y=p-d)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["bottom.left"],x=0,g=p,F=u;null==(y=_-p)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.bottom,x=u,g=p,F=c-u;null==(y=_-p)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y;var m=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["bottom.right"],x=c,g=p,F=r-c;null==(y=_-p)&&(y=0),null==F&&(F=0),null==g&&(g=0),null==x&&(x=0),m.x=x,m.y=g,m.width=F,m.height=y,null==flixel_addons_ui_FlxUI9SliceSprite.cacheCounter&&(flixel_addons_ui_FlxUI9SliceSprite.cacheCounter=new haxe_ds_StringMap);var S=flixel_addons_ui_FlxUI9SliceSprite.makePaintScale9Id(t,i,l),b=flixel_addons_ui_FlxUI9SliceSprite.cacheCounter.h[S];if(null==b){b={useCount:0,subKeys:[]};for(var U=0;U<9;){var v;switch(U++){case 0:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["top.left"];break;case 1:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.top;break;case 2:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["top.right"];break;case 3:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.left;break;case 4:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.middle;break;case 5:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.right;break;case 6:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["bottom.left"];break;case 7:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h.bottom;break;case 8:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["bottom.right"];break;default:v=flixel_addons_ui_FlxUI9SliceSprite._staticRects.h["top.left"]}var T=t+"_"+v.x+"_"+v.y+"_"+v.width+"_"+v.height+"_";b.subKeys.push(T)}flixel_addons_ui_FlxUI9SliceSprite.cacheCounter.h[S]=b}return flixel_addons_ui_FlxUI9SliceSprite.paintCompoundBitmap(e,t,flixel_addons_ui_FlxUI9SliceSprite._staticRects,l,n,s,a),S}return""},flixel_addons_ui_FlxUI9SliceSprite.makePaintScale9Id=function(e,t,i){var l=e+"_"+t.join(",")+"_",n=i.x,s=flixel_util_LabelValuePair._pool.get();s.label="x",s.value=n;var n=i.y,a=flixel_util_LabelValuePair._pool.get();a.label="y",a.value=n;var n=i.width,r=flixel_util_LabelValuePair._pool.get();r.label="w",r.value=n;var n=i.height,_=flixel_util_LabelValuePair._pool.get();return _.label="h",_.value=n,l+flixel_util_FlxStringUtil.getDebugString([s,a,r,_])},flixel_addons_ui_FlxUI9SliceSprite.paintCompoundBitmap=function(e,t,i,l,n,s,a){null==s&&(s=!1),null==n&&(n=0),l.x=0|l.x,l.y=0|l.y,l.width=0|l.width,l.height=0|l.height;var r=i.h["top.left"];if(null!=r){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=0,h=0,u=r.width;null==(y=r.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,r,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,0,s,a)}var d=i.h["top.right"];if(null!=d){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=l.width-d.width,h=0,u=d.width;null==(y=d.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,d,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,0,s,a)}var c=i.h.top;if(null!=c){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=r.width,h=0,u=l.width-r.width-d.width;null==(y=c.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,c,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,16&n,s,a)}var p=i.h["bottom.left"];if(null!=p){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=0,h=l.height-p.height,u=p.width;null==(y=p.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,p,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,0,s,a)}var f=i.h["bottom.right"];if(null!=f){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=l.width-f.width,h=l.height-f.height,u=f.width;null==(y=f.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,f,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,0,s,a)}var m=i.h.bottom;if(null!=m){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=p.width,h=l.height-m.height,u=l.width-p.width-f.width;null==(y=m.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,m,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,16&n,s,a)}var x=i.h.left;if(null!=x){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=0,h=r.height,u=x.width;null==(y=l.height-r.height-p.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,x,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,1&n,s,a)}var g=i.h.right;if(null!=g){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=l.width-g.width,h=d.height,u=g.width;null==(y=l.height-r.height-p.height)&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,g,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,1&n,s,a)}var F=i.h.middle;if(null!=F){var _=flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,o=x.width,h=c.height,u=l.width-x.width-g.width,y=l.height-c.height-m.height;null==y&&(y=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=y,flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection(e,t,F,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2,null,n,s,a)}},flixel_addons_ui_FlxUI9SliceSprite.paintBitmapSection=function(e,t,i,l,n,s,a,r){null==a&&(a=!1),null==s&&(s=0),null==n&&(n=null!=r?r:flixel_addons_ui_U.getBmp(t)),i.x=0|i.x,i.y=0|i.y,i.width=0|i.width,i.height=0|i.height,l.x=0|l.x,l.y=0|l.y,l.width=0|l.width,l.height=0|l.height;var _=null,o=null;if(1==flixel_addons_ui_FlxUI9SliceSprite.useSectionCache&&null!=t&&(null==flixel_addons_ui_FlxUI9SliceSprite.sectionCache&&(flixel_addons_ui_FlxUI9SliceSprite.sectionCache=new haxe_ds_StringMap),o=t+"_"+i.x+"_"+i.y+"_"+i.width+"_"+i.height+"_",_=flixel_addons_ui_FlxUI9SliceSprite.sectionCache.h[o]),null==_){_=new openfl_display_BitmapData(0|i.width,0|i.height,!0,16777215),flixel_addons_ui_FlxUI9SliceSprite._staticRect2.x=i.x,flixel_addons_ui_FlxUI9SliceSprite._staticRect2.y=i.y,flixel_addons_ui_FlxUI9SliceSprite._staticRect2.width=i.width,flixel_addons_ui_FlxUI9SliceSprite._staticRect2.height=i.height,_.copyPixels(n,flixel_addons_ui_FlxUI9SliceSprite._staticRect2,flixel_addons_ui_FlxUI9SliceSprite._staticPointZero),1==flixel_addons_ui_FlxUI9SliceSprite.useSectionCache&&null!=o&&(flixel_addons_ui_FlxUI9SliceSprite.sectionCache.h[o]=_),flixel_addons_ui_FlxUI9SliceSprite.bitmapsCreated++}l.width>0&&l.height>0&&(flixel_addons_ui_FlxUI9SliceSprite._staticRect2.x=l.x,flixel_addons_ui_FlxUI9SliceSprite._staticRect2.y=l.y,flixel_addons_ui_FlxUI9SliceSprite._staticRect2.width=l.width,flixel_addons_ui_FlxUI9SliceSprite._staticRect2.height=l.height,flixel_addons_ui_FlxUI9SliceSprite.bitmapFillRect(e,flixel_addons_ui_FlxUI9SliceSprite._staticRect2,_,s,a))},flixel_addons_ui_FlxUI9SliceSprite.bitmapFillRect=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=0);var s=new openfl_display_BitmapData(0|t.width,0|t.height,!0,0);if(flixel_addons_ui_FlxUI9SliceSprite._staticMatrix.identity(),flixel_addons_ui_FlxUI9SliceSprite._staticRect.x=0,flixel_addons_ui_FlxUI9SliceSprite._staticRect.y=0,flixel_addons_ui_FlxUI9SliceSprite._staticRect.width=i.width,flixel_addons_ui_FlxUI9SliceSprite._staticRect.height=i.height,0==(16&l)&&(flixel_addons_ui_FlxUI9SliceSprite._staticMatrix.scale(t.width/i.width,1),flixel_addons_ui_FlxUI9SliceSprite._staticRect.width=t.width),0==(1&l)&&(flixel_addons_ui_FlxUI9SliceSprite._staticMatrix.scale(1,t.height/i.height),flixel_addons_ui_FlxUI9SliceSprite._staticRect.height=t.height),i.width==t.width&&i.height==t.height?(flixel_addons_ui_FlxUI9SliceSprite._staticPoint.x=0,flixel_addons_ui_FlxUI9SliceSprite._staticPoint.y=0,s.copyPixels(i,i.rect,flixel_addons_ui_FlxUI9SliceSprite._staticPoint)):n?s.draw(i,flixel_addons_ui_FlxUI9SliceSprite._staticMatrix,null,null,null,!0):s.draw(i,flixel_addons_ui_FlxUI9SliceSprite._staticMatrix,null,null,null,!1),0!=l){if(16==(16&l))for(flixel_addons_ui_FlxUI9SliceSprite._staticPoint.x=0,flixel_addons_ui_FlxUI9SliceSprite._staticPoint.y=0;flixel_addons_ui_FlxUI9SliceSprite._staticPoint.x<t.width;)flixel_addons_ui_FlxUI9SliceSprite._staticPoint.x+=flixel_addons_ui_FlxUI9SliceSprite._staticRect.width,s.copyPixels(s,flixel_addons_ui_FlxUI9SliceSprite._staticRect,flixel_addons_ui_FlxUI9SliceSprite._staticPoint);if(1==(1&l))for(flixel_addons_ui_FlxUI9SliceSprite._staticPoint.x=0,flixel_addons_ui_FlxUI9SliceSprite._staticPoint.y=0,flixel_addons_ui_FlxUI9SliceSprite._staticRect.width=s.width;flixel_addons_ui_FlxUI9SliceSprite._staticPoint.y<t.height;)flixel_addons_ui_FlxUI9SliceSprite._staticPoint.y+=flixel_addons_ui_FlxUI9SliceSprite._staticRect.height,s.copyPixels(s,flixel_addons_ui_FlxUI9SliceSprite._staticRect,flixel_addons_ui_FlxUI9SliceSprite._staticPoint)}flixel_addons_ui_FlxUI9SliceSprite._staticPoint.x=t.x,flixel_addons_ui_FlxUI9SliceSprite._staticPoint.y=t.y,e.copyPixels(s,s.rect,flixel_addons_ui_FlxUI9SliceSprite._staticPoint),s=flixel_util_FlxDestroyUtil.dispose(s)},flixel_addons_ui_FlxUI9SliceSprite.__super__=flixel_addons_ui_FlxUISprite,flixel_addons_ui_FlxUI9SliceSprite.prototype=$extend(flixel_addons_ui_FlxUISprite.prototype,{_bmpCanvas:null,paintScale9_id:null,_slice9:null,_tile:null,_smooth:null,_asset_id:null,_raw_pixels:null,destroy:function(){this.noLongerUsingCachedID(this.paintScale9_id),flixel_addons_ui_FlxUISprite.prototype.destroy.call(this)},resize:function(e,t){(0|e)<1&&(e=1),(0|t)<1&&(t=1);var i=this.get_width(),l=this.get_height(),n=flixel_addons_ui_U.applyResize(this.resize_ratio,this.resize_ratio_axis,e,t);e=n.x,t=n.y;var s=0|n.x,a=0|n.y;null!=this._slice9&&this._slice9!=[]||(this._slice9=[4,4,7,7]);var r=this._asset_id+"_"+this._slice9.join(",")+"_"+s+"x"+a+"_"+this._tile+"_"+Std.string(this._smooth);if(null!=flixel_FlxG.bitmap._cache.h[r])this.loadGraphic(r,!1,s,a);else{var _=new openfl_display_BitmapData(0|e,0|t);flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect.x=0,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect.y=0,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect.width=e,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect.height=t;var o=this.paintScale9_id;flixel_addons_ui_FlxUI9SliceSprite.makePaintScale9Id(this._asset_id,this._slice9,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect)!=o&&(this.paintScale9_id=flixel_addons_ui_FlxUI9SliceSprite.paintScale9(_,this._asset_id,this._slice9,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect,this._tile,this._smooth,this._raw_pixels),flixel_addons_ui_FlxUI9SliceSprite.cacheCounter.h[this.paintScale9_id].useCount++,this.noLongerUsingCachedID(o)),this.loadGraphic(_,!1,_.width,_.height,!1,r)}var h=this.get_width()-i,u=this.get_height()-l;if(null!=this.resize_point){var d=h*this.resize_point.x,c=u*this.resize_point.y,p=this;p.set_x(p.x-d),(p=this).set_y(p.y-c)}},noLongerUsingCachedID:function(e){if(Object.prototype.hasOwnProperty.call(flixel_addons_ui_FlxUI9SliceSprite.cacheCounter.h,e)){var t=flixel_addons_ui_FlxUI9SliceSprite.cacheCounter.h[e];--t.useCount<=0&&this.purgeSections(e)}},purgeSections:function(e){var t=flixel_addons_ui_FlxUI9SliceSprite.cacheCounter.h[e];if(null!=t){for(var i=0,l=t.subKeys;i<l.length;){var n=l[i];++i;s=flixel_addons_ui_FlxUI9SliceSprite.sectionCache;Object.prototype.hasOwnProperty.call(s.h,n)&&delete s.h[n]}t.subKeys=null;var s=flixel_addons_ui_FlxUI9SliceSprite.cacheCounter;Object.prototype.hasOwnProperty.call(s.h,e)&&delete s.h[e]}},__class__:flixel_addons_ui_FlxUI9SliceSprite});var flixel_addons_ui_FlxUIAssets=function(){};$hxClasses["flixel.addons.ui.FlxUIAssets"]=flixel_addons_ui_FlxUIAssets,flixel_addons_ui_FlxUIAssets.__name__="flixel.addons.ui.FlxUIAssets";var flixel_ui_FlxBar=function(e,t,i,l,n,s,a,r,_,o){if(null==o&&(o=!1),null==_&&(_=100),null==r&&(r=0),null==a&&(a=""),null==n&&(n=10),null==l&&(l=100),null==t&&(t=0),null==e&&(e=0),this._maxPercent=100,this.numDivisions=100,this.killOnEmpty=!1,this.fixedPosition=!0,flixel_FlxSprite.call(this,e,t),null==i&&(i=flixel_ui_FlxBarFillDirection.LEFT_TO_RIGHT),this.barWidth=l,this.barHeight=n,this._filledBarPoint=new openfl_geom_Point,this._filledBarRect=new openfl_geom_Rectangle,flixel_FlxG.renderBlit)this._zeroOffset=new openfl_geom_Point,this._emptyBarRect=new openfl_geom_Rectangle,this.makeGraphic(l,n,0,!0);else{var h=flixel_math_FlxRect._pool.get(),u=0,d=0,c=0,p=0;null==p&&(p=0),null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),h.x=u,h.y=d,h.width=c,h.height=p;var f=h;f._inPool=!1,this._filledFlxRect=f}null!=s&&(this.parent=s,this.parentVariable=a),this.set_fillDirection(i),this.createFilledBar(-16756480,-16714752,o),this.setRange(r,_)};$hxClasses["flixel.ui.FlxBar"]=flixel_ui_FlxBar,flixel_ui_FlxBar.__name__="flixel.ui.FlxBar",flixel_ui_FlxBar.__super__=flixel_FlxSprite,flixel_ui_FlxBar.prototype=$extend(flixel_FlxSprite.prototype,{fixedPosition:null,pxPerPercent:null,positionOffset:null,killOnEmpty:null,value:null,min:null,max:null,range:null,pct:null,numDivisions:null,emptyCallback:null,filledCallback:null,parent:null,parentVariable:null,barWidth:null,barHeight:null,frontFrames:null,fillDirection:null,_fillHorizontal:null,_frontFrame:null,_filledFlxRect:null,_emptyBar:null,_emptyBarRect:null,_filledBar:null,_zeroOffset:null,_filledBarRect:null,_filledBarPoint:null,_maxPercent:null,destroy:function(){this.positionOffset=flixel_util_FlxDestroyUtil.put(this.positionOffset),flixel_FlxG.renderBlit?(this._frontFrame=null,this._filledFlxRect=flixel_util_FlxDestroyUtil.put(this._filledFlxRect)):(this._emptyBarRect=null,this._zeroOffset=null,this._emptyBar=flixel_util_FlxDestroyUtil.dispose(this._emptyBar),this._filledBar=flixel_util_FlxDestroyUtil.dispose(this._filledBar)),this._filledBarRect=null,this._filledBarPoint=null,this.parent=null,this.positionOffset=null,this.emptyCallback=null,this.filledCallback=null,flixel_FlxSprite.prototype.destroy.call(this)},trackParent:function(e,t){this.fixedPosition=!1;var i=e,l=t;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);n._inPool=!1,this.positionOffset=n,Object.prototype.hasOwnProperty.call(this.parent,"scrollFactor")&&(this.scrollFactor.set_x(this.parent.scrollFactor.x),this.scrollFactor.set_y(this.parent.scrollFactor.y))},setParent:function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=0),null==i&&(i=!1),this.parent=e,this.parentVariable=t,i&&this.trackParent(l,n),this.updateValueFromParent()},stopTrackingParent:function(e,t){this.fixedPosition=!0,this.set_x(e),this.set_y(t)},setCallbacks:function(e,t,i){null==i&&(i=!1),this.emptyCallback=null!=e?e:this.emptyCallback,this.filledCallback=null!=t?t:this.filledCallback,this.killOnEmpty=i},setRange:function(e,t){if(t<=e)throw haxe_Exception.thrown("FlxBar: max cannot be less than or equal to min");this.min=e,this.max=t,this.range=t-e,this.pct=this.range/this._maxPercent,this.pxPerPercent=this._fillHorizontal?this.barWidth/this._maxPercent:this.barHeight/this._maxPercent;var i=this.get_value();isNaN(i)?this.set_value(e):this.set_value(Math.max(e,Math.min(this.get_value(),t)))},createFilledBar:function(e,t,i,l){return null==l&&(l=-1),null==i&&(i=!1),this.createColoredEmptyBar(e,i,l),this.createColoredFilledBar(t,i,l),this},createColoredEmptyBar:function(e,t,i){if(null==i&&(i=-1),null==t&&(t=!1),flixel_FlxG.renderTile){var l="empty: "+this.barWidth+"x"+this.barHeight+":0x"+StringTools.hex(e>>24&255,2)+StringTools.hex(e>>16&255,2)+StringTools.hex(e>>8&255,2)+StringTools.hex(255&e,2);if(t&&(l+=",border: 0x"+StringTools.hex(i>>24&255,2)+StringTools.hex(i>>16&255,2)+StringTools.hex(i>>8&255,2)+StringTools.hex(255&i,2)),null==flixel_FlxG.bitmap._cache.h[l]){var n=null;t?(n=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,i)).fillRect(new openfl_geom_Rectangle(1,1,this.barWidth-2,this.barHeight-2),e):n=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,e),flixel_FlxG.bitmap.add(n,!1,l)}this.set_frames(flixel_FlxG.bitmap._cache.h[l].get_imageFrame())}else t?(this._emptyBar=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,i),this._emptyBar.fillRect(new openfl_geom_Rectangle(1,1,this.barWidth-2,this.barHeight-2),e)):this._emptyBar=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,e),this._emptyBarRect.setTo(0,0,this.barWidth,this.barHeight),this.updateEmptyBar();return this},createColoredFilledBar:function(e,t,i){if(null==i&&(i=-1),null==t&&(t=!1),flixel_FlxG.renderTile){var l="filled: "+this.barWidth+"x"+this.barHeight+":0x"+StringTools.hex(e>>24&255,2)+StringTools.hex(e>>16&255,2)+StringTools.hex(e>>8&255,2)+StringTools.hex(255&e,2);if(t&&(l+=",border: 0x"+StringTools.hex(i>>24&255,2)+StringTools.hex(i>>16&255,2)+StringTools.hex(i>>8&255,2)+StringTools.hex(255&i,2)),null==flixel_FlxG.bitmap._cache.h[l]){var n=null;t?(n=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,i)).fillRect(new openfl_geom_Rectangle(1,1,this.barWidth-2,this.barHeight-2),e):n=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,e),flixel_FlxG.bitmap.add(n,!1,l)}this.set_frontFrames(flixel_FlxG.bitmap._cache.h[l].get_imageFrame())}else t?(this._filledBar=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,i),this._filledBar.fillRect(new openfl_geom_Rectangle(1,1,this.barWidth-2,this.barHeight-2),e)):this._filledBar=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,e),this._filledBarRect.setTo(0,0,this.barWidth,this.barHeight),this.updateFilledBar();return this},createGradientBar:function(e,t,i,l,n,s){return null==s&&(s=-1),null==n&&(n=!1),null==l&&(l=180),null==i&&(i=1),this.createGradientEmptyBar(e,i,l,n,s),this.createGradientFilledBar(t,i,l,n,s),this},createGradientEmptyBar:function(e,t,i,l,n){if(null==n&&(n=-1),null==l&&(l=!1),null==i&&(i=180),null==t&&(t=1),flixel_FlxG.renderTile){for(var s="Gradient:"+this.barWidth+"x"+this.barHeight+",colors:[",a=0;a<e.length;){var r=e[a];++a,s+="0x"+StringTools.hex(r>>24&255,2)+StringTools.hex(r>>16&255,2)+StringTools.hex(r>>8&255,2)+StringTools.hex(255&r,2)+","}if(s+="],chunkSize: "+t+",rotation: "+i,l&&(s+=",border: 0x"+StringTools.hex(n>>24&255,2)+StringTools.hex(n>>16&255,2)+StringTools.hex(n>>8&255,2)+StringTools.hex(255&n,2)),null==flixel_FlxG.bitmap._cache.h[s]){var _=null;l?(_=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,n),flixel_util_FlxGradient.overlayGradientOnBitmapData(_,this.barWidth-2,this.barHeight-2,e,1,1,t,i)):_=flixel_util_FlxGradient.createGradientBitmapData(this.barWidth,this.barHeight,e,t,i),flixel_FlxG.bitmap.add(_,!1,s)}this.set_frames(flixel_FlxG.bitmap._cache.h[s].get_imageFrame())}else l?(this._emptyBar=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,n),flixel_util_FlxGradient.overlayGradientOnBitmapData(this._emptyBar,this.barWidth-2,this.barHeight-2,e,1,1,t,i)):this._emptyBar=flixel_util_FlxGradient.createGradientBitmapData(this.barWidth,this.barHeight,e,t,i),this._emptyBarRect.setTo(0,0,this.barWidth,this.barHeight),this.updateEmptyBar();return this},createGradientFilledBar:function(e,t,i,l,n){if(null==n&&(n=-1),null==l&&(l=!1),null==i&&(i=180),null==t&&(t=1),flixel_FlxG.renderTile){for(var s="Gradient:"+this.barWidth+"x"+this.barHeight+",colors:[",a=0;a<e.length;){var r=e[a];++a,s+="0x"+StringTools.hex(r>>24&255,2)+StringTools.hex(r>>16&255,2)+StringTools.hex(r>>8&255,2)+StringTools.hex(255&r,2)+","}if(s+="],chunkSize: "+t+",rotation: "+i,l&&(s+=",border: 0x"+StringTools.hex(n>>24&255,2)+StringTools.hex(n>>16&255,2)+StringTools.hex(n>>8&255,2)+StringTools.hex(255&n,2)),null==flixel_FlxG.bitmap._cache.h[s]){var _=null;l?(_=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,n),flixel_util_FlxGradient.overlayGradientOnBitmapData(_,this.barWidth-2,this.barHeight-2,e,1,1,t,i)):_=flixel_util_FlxGradient.createGradientBitmapData(this.barWidth,this.barHeight,e,t,i),flixel_FlxG.bitmap.add(_,!1,s)}this.set_frontFrames(flixel_FlxG.bitmap._cache.h[s].get_imageFrame())}else l?(this._filledBar=new openfl_display_BitmapData(this.barWidth,this.barHeight,!0,n),flixel_util_FlxGradient.overlayGradientOnBitmapData(this._filledBar,this.barWidth-2,this.barHeight-2,e,1,1,t,i)):this._filledBar=flixel_util_FlxGradient.createGradientBitmapData(this.barWidth,this.barHeight,e,t,i),this._filledBarRect.setTo(0,0,this.barWidth,this.barHeight),this.updateFilledBar();return this},createImageBar:function(e,t,i,l){return null==l&&(l=-16711936),null==i&&(i=-16777216),this.createImageEmptyBar(e,i),this.createImageFilledBar(t,l),this},createImageEmptyBar:function(e,t){if(null==t&&(t=-16777216),null!=e){var i=flixel_FlxG.bitmap.add(e);flixel_FlxG.renderTile?this.set_frames(i.get_imageFrame()):(this._emptyBar=i.bitmap.clone(),this.barWidth=this._emptyBar.width,this.barHeight=this._emptyBar.height,this._emptyBarRect.setTo(0,0,this.barWidth,this.barHeight),null!=this.graphic&&this.frame.sourceSize.x==this.barWidth&&this.frame.sourceSize.y==this.barHeight||this.makeGraphic(this.barWidth,this.barHeight,0,!0),this.updateEmptyBar())}else this.createColoredEmptyBar(t);return this},createImageFilledBar:function(e,t){if(null==t&&(t=-16711936),null!=e){var i=flixel_FlxG.bitmap.add(e);flixel_FlxG.renderTile?this.set_frontFrames(i.get_imageFrame()):(this._filledBar=i.bitmap.clone(),this._filledBarRect.setTo(0,0,this.barWidth,this.barHeight),null!=this.graphic&&this.frame.sourceSize.x==this.barWidth&&this.frame.sourceSize.y==this.barHeight||this.makeGraphic(this.barWidth,this.barHeight,0,!0),this.pxPerPercent=this._fillHorizontal?this.barWidth/this._maxPercent:this.barHeight/this._maxPercent,this.updateFilledBar())}else this.createColoredFilledBar(t);return this},set_fillDirection:function(e){switch(this.fillDirection=e,e._hx_index){case 2:case 3:case 6:case 7:this._fillHorizontal=!1;break;case 0:case 1:case 4:case 5:this._fillHorizontal=!0}return this.fillDirection},updateValueFromParent:function(){this.set_value(Reflect.getProperty(this.parent,this.parentVariable))},updateBar:function(){this.updateEmptyBar(),this.updateFilledBar()},updateEmptyBar:function(){flixel_FlxG.renderBlit&&(this.get_pixels().copyPixels(this._emptyBar,this._emptyBarRect,this._zeroOffset),this.dirty=!0)},updateFilledBar:function(){this._filledBarRect.width=this.barWidth,this._filledBarRect.height=this.barHeight;var e=(this.get_value()-this.min)/this.range,t=e*this._maxPercent,i=this._fillHorizontal?this.barWidth:this.barHeight,l=i/this.numDivisions,n=Math.round((e*i/l|0)*l);if(this._fillHorizontal?this._filledBarRect.width=0|n:this._filledBarRect.height=0|n,t>0){switch(this.fillDirection._hx_index){case 1:this._filledBarRect.x=this.barWidth-this._filledBarRect.width,this._filledBarPoint.x=this.barWidth-this._filledBarRect.width;break;case 0:case 2:break;case 3:this._filledBarRect.y=this.barHeight-this._filledBarRect.height,this._filledBarPoint.y=this.barHeight-this._filledBarRect.height;break;case 4:this._filledBarRect.x=this.barWidth/2-this._filledBarRect.width/2|0,this._filledBarPoint.x=this.barWidth/2-this._filledBarRect.width/2|0;break;case 5:this._filledBarRect.width=i-n|0,this._filledBarPoint.x=(this.barWidth-this._filledBarRect.width)/2|0;break;case 6:this._filledBarRect.y=this.barHeight/2-this._filledBarRect.height/2|0,this._filledBarPoint.y=this.barHeight/2-this._filledBarRect.height/2|0;break;case 7:this._filledBarRect.height=i-n|0,this._filledBarPoint.y=(this.barHeight-this._filledBarRect.height)/2|0}if(flixel_FlxG.renderBlit)this.get_pixels().copyPixels(this._filledBar,this._filledBarRect,this._filledBarPoint,null,null,!0);else if(null!=this.get_frontFrames()){var s=this._filledFlxRect,a=this._filledBarRect;s.x=a.x,s.y=a.y,s.width=a.width,s.height=a.height;var r=s;r.x=Math.round(r.x),r.y=Math.round(r.y),r.width=Math.round(r.width),r.height=Math.round(r.height),(0|t)>0&&(this._frontFrame=this.get_frontFrames().get_frame().clipTo(this._filledFlxRect,this._frontFrame))}}flixel_FlxG.renderBlit&&(this.dirty=!0)},update:function(e){null!=this.parent&&(Reflect.getProperty(this.parent,this.parentVariable)!=this.get_value()&&this.updateValueFromParent(),this.fixedPosition||(this.set_x(this.parent.x+this.positionOffset.x),this.set_y(this.parent.y+this.positionOffset.y))),flixel_FlxSprite.prototype.update.call(this,e)},draw:function(){if(flixel_FlxSprite.prototype.draw.call(this),flixel_FlxG.renderTile&&0!=this.alpha&&this.get_percent()>0&&2!=this._frontFrame.type)for(var e=0,t=this.get_cameras();e<t.length;){var i=t[e];if(++e,i.visible&&i.exists&&this.isOnScreen(i)){if(this.getScreenPosition(this._point,i).subtractPoint(this.offset),this._frontFrame.prepareMatrix(this._matrix,0,this.flipX,this.flipY),this._matrix.translate(-this.origin.x,-this.origin.y),this._matrix.scale(this.scale.x,this.scale.y),0!=this.angle){var l=this._matrix,n=this._cosAngle,s=this._sinAngle,a=l.a*n-l.b*s;l.b=l.a*s+l.b*n,l.a=a;var r=l.c*n-l.d*s;l.d=l.c*s+l.d*n,l.c=r;var _=l.tx*n-l.ty*s;l.ty=l.tx*s+l.ty*n,l.tx=_}var o=this._point,h=this.origin.x,u=this.origin.y;null==u&&(u=0),null==h&&(h=0);var d=o;d.set_x(d.x+h);var c=o;if(c.set_y(c.y+u),this.isPixelPerfectRender(i)){var p=this._point;p.set_x(Math.floor(p.x)),p.set_y(Math.floor(p.y))}this._matrix.translate(this._point.x,this._point.y),i.drawPixels(this._frontFrame,null,this._matrix,this.colorTransform,this.blend,this.antialiasing,this.shader)}}},set_pixels:function(e){return flixel_FlxG.renderTile?e:flixel_FlxSprite.prototype.set_pixels.call(this,e)},toString:function(){var e=this.min,t=flixel_util_LabelValuePair._pool.get();t.label="min",t.value=e;var e=this.max,i=flixel_util_LabelValuePair._pool.get();i.label="max",i.value=e;var e=this.range,l=flixel_util_LabelValuePair._pool.get();l.label="range",l.value=e;var e=this.pct,n=flixel_util_LabelValuePair._pool.get();n.label="%",n.value=e;var e=this.pxPerPercent,s=flixel_util_LabelValuePair._pool.get();s.label="px/%",s.value=e;var e=this.get_value(),a=flixel_util_LabelValuePair._pool.get();return a.label="value",a.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,n,s,a])},get_percent:function(){return this.get_value()>this.max?this._maxPercent:Math.floor((this.get_value()-this.min)/this.range*this._maxPercent)},set_percent:function(e){return e>=0&&e<=this._maxPercent&&this.set_value(this.pct*e),e},set_value:function(e){return this.value=Math.max(this.min,Math.min(e,this.max)),this.get_value()==this.min&&null!=this.emptyCallback&&this.emptyCallback(),this.get_value()==this.max&&null!=this.filledCallback&&this.filledCallback(),this.get_value()==this.min&&this.killOnEmpty&&this.kill(),this.updateBar(),e},get_value:function(){return this.value},set_numDivisions:function(e){return this.numDivisions=e>0?e:100,this.updateFilledBar(),e},get_frontFrames:function(){return flixel_FlxG.renderTile?this.frontFrames:null},set_frontFrames:function(e){return flixel_FlxG.renderTile?(this.frontFrames=e,this._frontFrame=null!=e?e.get_frame().copyTo(this._frontFrame):null):this.createImageFilledBar(e.get_frame().paint()),e},get_backFrames:function(){return flixel_FlxG.renderTile?this.frames:null},set_backFrames:function(e){return flixel_FlxG.renderTile?this.set_frames(e):this.createImageEmptyBar(e.get_frame().paint()),e},__class__:flixel_ui_FlxBar,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{set_fillDirection:"set_fillDirection",set_backFrames:"set_backFrames",get_backFrames:"get_backFrames",set_frontFrames:"set_frontFrames",get_frontFrames:"get_frontFrames",set_numDivisions:"set_numDivisions",set_value:"set_value",get_value:"get_value",set_percent:"set_percent",get_percent:"get_percent"})});var flixel_addons_ui_interfaces_IHasParams=function(){};$hxClasses["flixel.addons.ui.interfaces.IHasParams"]=flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IHasParams.__name__="flixel.addons.ui.interfaces.IHasParams",flixel_addons_ui_interfaces_IHasParams.__isInterface__=!0,flixel_addons_ui_interfaces_IHasParams.prototype={params:null,set_params:null,__class__:flixel_addons_ui_interfaces_IHasParams,__properties__:{set_params:"set_params"}};var flixel_addons_ui_FlxUIBar=function(e,t,i,l,n,s,a,r,_,o){null==o&&(o=!1),null==_&&(_=100),null==r&&(r=0),null==a&&(a=""),null==n&&(n=10),null==l&&(l=100),null==t&&(t=0),null==e&&(e=0),flixel_ui_FlxBar.call(this,e,t,i,l,n,s,a,r,_,o)};$hxClasses["flixel.addons.ui.FlxUIBar"]=flixel_addons_ui_FlxUIBar,flixel_addons_ui_FlxUIBar.__name__="flixel.addons.ui.FlxUIBar",flixel_addons_ui_FlxUIBar.__interfaces__=[flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUIBar.__super__=flixel_ui_FlxBar,flixel_addons_ui_FlxUIBar.prototype=$extend(flixel_ui_FlxBar.prototype,{name:null,style:null,params:null,broadcastToFlxUI:null,clone:function(){var e=0|this.get_width(),t=0|this.get_height(),i=null!=this.style&&null!=this.style.borderColor;i&&(e-=2,t-=2);var l=new flixel_addons_ui_FlxUIBar(this.x,this.y,this.fillDirection,e,t,this.parent,this.parentVariable,this.min,this.max,i);return l.set_style(this.style),l.set_value(this.get_value()),l},set_style:function(e){return this.style=e,this.resize(this.barWidth,this.barHeight),this.style},resize:function(e,t){this.set_width(e),this.set_height(t),this.barWidth=0|this.get_width(),this.barHeight=0|this.get_height(),flixel_FlxG.renderBlit&&this.makeGraphic(this.barWidth,this.barHeight,0,!0);var i=null!=this.style.borderColor,l=null==this.style.emptyColor?-16777216:this.style.emptyColor,n=null==this.style.filledColor?-65536:this.style.filledColor,s=null==this.style.borderColor?-16777216:this.style.borderColor;if(null!=this.style.filledColor&&this.createFilledBar(l,n,i,s),null!=this.style.filledColors){var a=null==this.style.emptyColors?[-16777216]:this.style.emptyColors,r=null==this.style.filledColors?[-65536]:this.style.filledColors,_=null==this.style.chunkSize?1:this.style.chunkSize,o=null==this.style.emptyImgSrc?180:this.style.gradRotation;this.createGradientBar(a,r,_,o,i,s)}""!=this.style.filledImgSrc&&this.createImageBar(this.style.emptyImgSrc,this.style.filledImgSrc,l,n),this.setRange(this.min,this.max),this.set_value(this.get_value())},set_params:function(e){return this.params=e,this.params},__class__:flixel_addons_ui_FlxUIBar,__properties__:$extend(flixel_ui_FlxBar.prototype.__properties__,{set_params:"set_params",set_style:"set_style"})});var flixel_input_IFlxInput=function(){};$hxClasses["flixel.input.IFlxInput"]=flixel_input_IFlxInput,flixel_input_IFlxInput.__name__="flixel.input.IFlxInput",flixel_input_IFlxInput.__isInterface__=!0,flixel_input_IFlxInput.prototype={get_justReleased:null,get_released:null,get_pressed:null,get_justPressed:null,__class__:flixel_input_IFlxInput,__properties__:{get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_released:"get_released",get_justReleased:"get_justReleased"}};var flixel_ui_FlxTypedButton=function(e,t,i){null==t&&(t=0),null==e&&(e=0),this.lastStatus=-1,this.maxInputMovement=1/0,this.mouseButtons=[-1],this.allowSwiping=!0,this.statusAnimations=["normal","highlight","pressed"],this.labelAlphas=[.8,1,.5];var l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1;var n=flixel_math_FlxPoint._pool.get().set(0,0);n._inPool=!1;var s=flixel_math_FlxPoint._pool.get().set(0,1);s._inPool=!1,this.labelOffsets=[l,n,s],flixel_FlxSprite.call(this,e,t),this.loadDefaultGraphic(),this.onUp=new flixel_ui__$FlxButton_FlxButtonEvent(i),this.onDown=new flixel_ui__$FlxButton_FlxButtonEvent,this.onOver=new flixel_ui__$FlxButton_FlxButtonEvent,this.onOut=new flixel_ui__$FlxButton_FlxButtonEvent,this.set_status(0),this.scrollFactor.set(),openfl_Lib.get_current().stage.addEventListener("mouseUp",$bind(this,this.onUpEventListener)),this.input=new flixel_input_FlxInput(0)};$hxClasses["flixel.ui.FlxTypedButton"]=flixel_ui_FlxTypedButton,flixel_ui_FlxTypedButton.__name__="flixel.ui.FlxTypedButton",flixel_ui_FlxTypedButton.__interfaces__=[flixel_input_IFlxInput],flixel_ui_FlxTypedButton.__super__=flixel_FlxSprite,flixel_ui_FlxTypedButton.prototype=$extend(flixel_FlxSprite.prototype,{label:null,labelOffsets:null,labelAlphas:null,statusAnimations:null,allowSwiping:null,mouseButtons:null,maxInputMovement:null,status:null,onUp:null,onDown:null,onOver:null,onOut:null,_spriteLabel:null,input:null,currentInput:null,lastStatus:null,graphicLoaded:function(){flixel_FlxSprite.prototype.graphicLoaded.call(this),this.setupAnimation("normal",0),this.setupAnimation("highlight",1),this.setupAnimation("pressed",2)},loadDefaultGraphic:function(){this.loadGraphic("flixel/images/ui/button.png",!0,80,20)},setupAnimation:function(e,t){t=0|Math.min(t,this.animation._sprite.numFrames-1),this.animation.add(e,[t])},destroy:function(){this.set_label(flixel_util_FlxDestroyUtil.destroy(this.label)),this._spriteLabel=null,this.onUp=flixel_util_FlxDestroyUtil.destroy(this.onUp),this.onDown=flixel_util_FlxDestroyUtil.destroy(this.onDown),this.onOver=flixel_util_FlxDestroyUtil.destroy(this.onOver),this.onOut=flixel_util_FlxDestroyUtil.destroy(this.onOut),this.labelOffsets=flixel_util_FlxDestroyUtil.putArray(this.labelOffsets),this.labelAlphas=null,this.currentInput=null,this.input=null,openfl_Lib.get_current().stage.removeEventListener("mouseUp",$bind(this,this.onUpEventListener)),flixel_FlxSprite.prototype.destroy.call(this)},update:function(e){flixel_FlxSprite.prototype.update.call(this,e),this.visible&&(this.updateButton(),this.lastStatus!=this.status&&(this.updateStatusAnimation(),this.lastStatus=this.status)),this.input.update()},updateStatusAnimation:function(){this.animation.play(this.statusAnimations[this.status])},draw:function(){flixel_FlxSprite.prototype.draw.call(this),null!=this._spriteLabel&&this._spriteLabel.visible&&(this._spriteLabel.set_cameras(this.get_cameras()),this._spriteLabel.draw())},stampOnAtlas:function(e){var t=e.addNode(this.graphic.bitmap,this.graphic.key),i=null!=t;if(null!=t){var l=this.frames,n=l.tileSize.x,s=l.tileSize.y;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1;var r=a,_=t.getTileFrames(r);this.set_frames(_)}if(i&&null!=this.label){var o=e.addNode(this.label.graphic.bitmap,this.label.graphic.key);i=i&&null!=o,null!=o&&this.label.set_frames(o.getImageFrame())}return i},updateButton:function(){var e=this.checkMouseOverlap();e||(e=this.checkTouchOverlap()),null!=this.currentInput&&this.currentInput.get_justReleased()&&e&&this.onUpHandler(),0!=this.status&&(!e||null!=this.currentInput&&this.currentInput.get_justReleased())&&this.onOutHandler()},checkMouseOverlap:function(){for(var e=!1,t=0,i=this.get_cameras();t<i.length;){var l=i[t];++t;for(var n=0,s=this.mouseButtons;n<s.length;){var a=s[n];++n;var r=flixel_input_mouse_FlxMouseButton.getByID(a);null!=r&&this.checkInput(flixel_FlxG.mouse,r,r.justPressedPosition,l)&&(e=!0)}}return e},checkTouchOverlap:function(){for(var e=!1,t=0,i=this.get_cameras();t<i.length;){var l=i[t];++t;for(var n=0,s=flixel_FlxG.touches.list;n<s.length;){var a=s[n];++n,this.checkInput(a,a,a.justPressedPosition,l)&&(e=!0)}}return e},checkInput:function(e,t,i,l){var n;if(this.maxInputMovement!=1/0){var s=0,a=0;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1;var _=r;_._weak=!0,n=i.distanceTo(e.getScreenPosition(null,_))>this.maxInputMovement}else n=!1;if(n&&t==this.currentInput)this.currentInput=null;else if(this.overlapsPoint(e.getWorldPosition(l,this._point),!0,l))return this.updateStatus(t),!0;return!1},updateStatus:function(e){e.get_justPressed()?(this.currentInput=e,this.onDownHandler()):0==this.status&&(this.allowSwiping&&e.get_pressed()?this.onDownHandler():this.onOverHandler())},updateLabelPosition:function(){null!=this._spriteLabel&&(this._spriteLabel.set_x((this.pixelPerfectPosition?Math.floor(this.x):this.x)+this.labelOffsets[this.status].x),this._spriteLabel.set_y((this.pixelPerfectPosition?Math.floor(this.y):this.y)+this.labelOffsets[this.status].y))},updateLabelAlpha:function(){null!=this._spriteLabel&&this.labelAlphas.length>this.status&&this._spriteLabel.set_alpha(this.alpha*this.labelAlphas[this.status])},onUpEventListener:function(e){this.visible&&this.exists&&this.active&&2==this.status&&this.onUpHandler()},onUpHandler:function(){this.set_status(0),this.input.release(),this.currentInput=null;var e=this.onUp;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},onDownHandler:function(){this.set_status(2),this.input.press();var e=this.onDown;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},onOverHandler:function(){if(flixel_FlxG.mouse.enabled){this.set_status(1);var e=this.onOver;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)}else this.set_status(0)},onOutHandler:function(){this.set_status(0),this.input.release();var e=this.onOut;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},set_label:function(e){return null!=e&&(e.scrollFactor.put(),e.scrollFactor=this.scrollFactor),this.label=e,this._spriteLabel=this.label,this.updateLabelPosition(),e},set_status:function(e){return this.status=e,this.updateLabelAlpha(),this.status},set_alpha:function(e){return flixel_FlxSprite.prototype.set_alpha.call(this,e),this.updateLabelAlpha(),this.alpha},set_x:function(e){return flixel_FlxSprite.prototype.set_x.call(this,e),this.updateLabelPosition(),this.x},set_y:function(e){return flixel_FlxSprite.prototype.set_y.call(this,e),this.updateLabelPosition(),this.y},get_justReleased:function(){return-1==this.input.current},get_released:function(){var e=this.input;return 0==e.current||-1==e.current},get_pressed:function(){var e=this.input;return 1==e.current||2==e.current},get_justPressed:function(){return 2==this.input.current},__class__:flixel_ui_FlxTypedButton,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_released:"get_released",get_justReleased:"get_justReleased",set_status:"set_status",set_label:"set_label"})});var flixel_addons_ui_interfaces_ICursorPointable=function(){};$hxClasses["flixel.addons.ui.interfaces.ICursorPointable"]=flixel_addons_ui_interfaces_ICursorPointable,flixel_addons_ui_interfaces_ICursorPointable.__name__="flixel.addons.ui.interfaces.ICursorPointable",flixel_addons_ui_interfaces_ICursorPointable.__isInterface__=!0;var flixel_addons_ui_interfaces_IFlxUIClickable=function(){};$hxClasses["flixel.addons.ui.interfaces.IFlxUIClickable"]=flixel_addons_ui_interfaces_IFlxUIClickable,flixel_addons_ui_interfaces_IFlxUIClickable.__name__="flixel.addons.ui.interfaces.IFlxUIClickable",flixel_addons_ui_interfaces_IFlxUIClickable.__isInterface__=!0,flixel_addons_ui_interfaces_IFlxUIClickable.prototype={set_skipButtonUpdate:null,skipButtonUpdate:null,__class__:flixel_addons_ui_interfaces_IFlxUIClickable,__properties__:{set_skipButtonUpdate:"set_skipButtonUpdate"}};var flixel_addons_ui_interfaces_IFlxUIButton=function(){};$hxClasses["flixel.addons.ui.interfaces.IFlxUIButton"]=flixel_addons_ui_interfaces_IFlxUIButton,flixel_addons_ui_interfaces_IFlxUIButton.__name__="flixel.addons.ui.interfaces.IFlxUIButton",flixel_addons_ui_interfaces_IFlxUIButton.__isInterface__=!0,flixel_addons_ui_interfaces_IFlxUIButton.__interfaces__=[flixel_util_IFlxDestroyable,flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIWidget],flixel_addons_ui_interfaces_IFlxUIButton.prototype={set_toggled:null,set_toggle_label:null,get_justMousedOver:null,get_mouseIsOver:null,get_mouseIsOut:null,get_justMousedOut:null,set_status:null,up_color:null,over_color:null,down_color:null,up_toggle_color:null,over_toggle_color:null,down_toggle_color:null,up_visible:null,over_visible:null,down_visible:null,up_toggle_visible:null,over_toggle_visible:null,down_toggle_visible:null,resize_ratio:null,resize_point:null,has_toggle:null,toggled:null,toggle_label:null,autoResizeLabel:null,autoCenterLabel:null,loadGraphicSlice9:null,loadGraphicsMultiple:null,loadGraphicsUpOverDown:null,forceStateHandler:null,status:null,__class__:flixel_addons_ui_interfaces_IFlxUIButton,__properties__:{set_status:"set_status",get_justMousedOut:"get_justMousedOut",get_mouseIsOut:"get_mouseIsOut",get_mouseIsOver:"get_mouseIsOver",get_justMousedOver:"get_justMousedOver",set_toggle_label:"set_toggle_label",set_toggled:"set_toggled"}};var flixel_addons_ui_FlxUITypedButton=function(e,t,i){null==t&&(t=0),null==e&&(e=0),this._centerLabelOffset=null,this._src_h=0,this._src_w=0,this._no_graphic=!1,this._assetsToCleanup=[],this._autoCleanup=!0,this.autoResizeLabel=!1,this.skipButtonUpdate=!1,this.round_labels=!0,this.down_toggle_visible=!0,this.over_toggle_visible=!0,this.up_toggle_visible=!0,this.down_visible=!0,this.over_visible=!0,this.up_visible=!0,this.down_toggle_color=null,this.over_toggle_color=null,this.up_toggle_color=null,this.down_color=null,this.over_color=null,this.up_color=null,this.broadcastToFlxUI=!0,this.toggled=!1,this.has_toggle=!1,this.tile=0,this.resize_point=null,this.resize_ratio_axis=1,this.resize_ratio=-1,flixel_ui_FlxTypedButton.call(this,e,t,i);var e=0;null==(t=0)&&(t=0),null==e&&(e=0);var l=flixel_math_FlxPoint._pool.get().set(e,t);l._inPool=!1,this._centerLabelOffset=l,this.statusAnimations[3]="normal_toggled",this.statusAnimations[4]="highlight_toggled",this.statusAnimations[5]="pressed_toggled";var n=[];n.push(1),n.push(1),n.push(1),this.labelAlphas=n,this.inputOver=new flixel_input_FlxInput(0)};$hxClasses["flixel.addons.ui.FlxUITypedButton"]=flixel_addons_ui_FlxUITypedButton,flixel_addons_ui_FlxUITypedButton.__name__="flixel.addons.ui.FlxUITypedButton",flixel_addons_ui_FlxUITypedButton.__interfaces__=[flixel_addons_ui_interfaces_ICursorPointable,flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIClickable,flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IResizable,flixel_addons_ui_interfaces_IFlxUIButton],flixel_addons_ui_FlxUITypedButton.__super__=flixel_ui_FlxTypedButton,flixel_addons_ui_FlxUITypedButton.prototype=$extend(flixel_ui_FlxTypedButton.prototype,{name:null,resize_ratio:null,resize_ratio_axis:null,resize_point:null,tile:null,has_toggle:null,toggled:null,set_toggled:function(e){return this.toggled=e,this.updateStatusAnimation(),this.toggled},broadcastToFlxUI:null,inputOver:null,get_justMousedOver:function(){return 2==this.inputOver.current},get_justMousedOut:function(){return-1==this.inputOver.current},get_mouseIsOver:function(){var e=this.inputOver;return 1==e.current||2==e.current},get_mouseIsOut:function(){var e=this.inputOver;return 0==e.current||-1==e.current},up_color:null,over_color:null,down_color:null,up_toggle_color:null,over_toggle_color:null,down_toggle_color:null,up_visible:null,over_visible:null,down_visible:null,up_toggle_visible:null,over_toggle_visible:null,down_toggle_visible:null,toggle_label:null,set_toggle_label:function(e){return null!=this.label?(this.toggle_label=e,this.toggle_label):null},set_visible:function(e){return this.visible&&0==e&&this.inputOver.release(),flixel_ui_FlxTypedButton.prototype.set_visible.call(this,e)},round_labels:null,skipButtonUpdate:null,set_skipButtonUpdate:function(e){return this.skipButtonUpdate=e,this.skipButtonUpdate},params:null,set_params:function(e){return this.params=e,this.params},destroy:function(){this.resize_point=flixel_util_FlxDestroyUtil.put(this.resize_point),flixel_ui_FlxTypedButton.prototype.destroy.call(this)},autoResizeLabel:null,graphicLoaded:function(){flixel_ui_FlxTypedButton.prototype.graphicLoaded.call(this),this.setupAnimation("normal_toggled",3),this.setupAnimation("highlight_toggled",4),this.setupAnimation("pressed_toggled",5),this._autoCleanup&&this.cleanup()},copyGraphic:function(e){this._src_w=e._src_w,this._src_h=e._src_h,this._frame_indeces=flixel_addons_ui_U.copy_shallow_arr_i(e._frame_indeces),this.tile=e.tile,this.resize_ratio=e.resize_ratio,null==e._centerLabelOffset?this._centerLabelOffset=null:this._centerLabelOffset=new flixel_math_FlxPoint(e._centerLabelOffset.x,e._centerLabelOffset.y),this._no_graphic=e._no_graphic,null!=e._slice9_arrays&&(this._slice9_arrays=e._slice9_arrays.slice()),null!=e._slice9_assets&&(this._slice9_assets=e._slice9_assets.slice()),null==this._slice9_arrays||null==this._slice9_assets?this.loadGraphic(e.graphic,!0,e.get_width(),e.get_height()):this.resize(e.get_width(),e.get_height())},copyStyle:function(e){this.up_color=e.up_color,this.over_color=e.over_color,this.down_color=e.down_color,this.up_toggle_color=e.up_toggle_color,this.over_toggle_color=e.over_toggle_color,this.down_toggle_color=e.over_toggle_color,this.up_visible=e.up_visible,this.over_visible=e.over_visible,this.down_visible=e.down_visible,this.up_toggle_visible=e.up_toggle_visible,this.over_toggle_visible=e.over_toggle_visible,this.down_toggle_visible=e.down_toggle_visible;var t=e.getCenterLabelOffset();this.setCenterLabelOffset(t.x,t.y);for(var i=0,l=0,n=e.labelOffsets;l<n.length;){var s=n[l];++l,this.labelOffsets[i].set_x(s.x),this.labelOffsets[i].set_y(s.y),++i}i=0;for(var l=0,n=e.labelAlphas;l<n.length;){var a=n[l];++l,this.labelAlphas[i]=a,++i}},setAllLabelOffsets:function(e,t){for(var i=0,l=this.labelOffsets;i<l.length;){var n=l[i];++i,n.set(e,t)}},update:function(e){flixel_ui_FlxTypedButton.prototype.update.call(this,e);var t;if(0==this.status){var i=this.inputOver;t=1==i.current||2==i.current}else t=!1;if(t&&-1==this.input.current==0&&this.inputOver.release(),this.inputOver.update(),null!=this.label){var l=this.fetchAndShowCorrectLabel();l.set_x(this.x+this._centerLabelOffset.x+this.labelOffsets[this.status].x),l.set_y(this.y+this._centerLabelOffset.y+this.labelOffsets[this.status].y),this.round_labels&&(l.set_x(l.x+.5|0),l.set_y(l.y+.5|0)),l.scrollFactor=this.scrollFactor}},updateStatusAnimation:function(){this.has_toggle&&this.toggled?this.animation.play(this.statusAnimations[this.status+3]):flixel_ui_FlxTypedButton.prototype.updateStatusAnimation.call(this)},draw:function(){flixel_ui_FlxTypedButton.prototype.draw.call(this),this.has_toggle&&this.toggled&&null!=this.toggle_label&&1==this.toggle_label.visible&&(this.toggle_label.set_cameras(this.get_cameras()),this.toggle_label.draw())},resize:function(e,t){this.doResize(e,t)},doResize:function(e,t,i){null==i&&(i=!0);var l=this.get_width(),n=this.get_height(),s=0,a=0;if(null!=this.label&&(s=this.get_width()-this._spriteLabel.get_width(),a=this.get_height()-this._spriteLabel.get_height()),e<=0&&(e=80),t<=0&&(t=20),i)if(null!=this._slice9_assets)this.loadGraphicSlice9(this._slice9_assets,0|e,0|t,this._slice9_arrays,this.tile,this.resize_ratio,this.has_toggle,this._src_w,this._src_h,this._frame_indeces);else if(this._no_graphic){var r;r=this.has_toggle?new openfl_display_BitmapData(0|e,6*t|0,!0,0):new openfl_display_BitmapData(0|e,3*t|0,!0,0),this.loadGraphicsUpOverDown(r)}else this.loadGraphicSlice9(null,0|e,0|t,null,this.tile);if(null!=this.label&&this.autoResizeLabel&&js_Boot.__implements(this.label,flixel_addons_ui_interfaces_IResizable)){var _=e-s,o=t-a;this.label.resize(_,o)}this.autoCenterLabel();var h=this.get_width()-l,u=this.get_height()-n;if(null!=this.resize_point){var d=h*this.resize_point.x,c=u*this.resize_point.y,p=this;p.set_x(p.x-d),(p=this).set_y(p.y-c)}},getBmp:function(e){return flixel_addons_ui_U.getBmp(e)},loadGraphicsMultiple:function(e,t){null==t&&(t=""),this._slice9_assets=null,this._slice9_arrays=null,this.resize_ratio=-1;var i="";if(e.length<=3){for(;e.length<3;)e.push(null);if(null==e[1]&&(e[1]=e[0]),null==e[2]&&(e[2]=e[1]),i=e.join(","),""!=t&&(i=t),null!=flixel_FlxG.bitmap._cache.h[i])this.loadGraphicsUpOverDown(i,!1,i);else{s=this.assembleButtonFrames(this.getBmp(e[0]),this.getBmp(e[1]),this.getBmp(e[2]));this.loadGraphicsUpOverDown(s,!1,i)}}else if(e.length<=6){for(;e.length<6;)e.push(null);if(null==e[4]&&(e[4]=e[3]),null==e[5]&&(e[5]=e[4]),i=e.join(","),""!=t&&(i=t),null!=flixel_FlxG.bitmap._cache.h[i])this.loadGraphicsUpOverDown(i,!0,i);else{var l=this.assembleButtonFrames(this.getBmp(e[0]),this.getBmp(e[1]),this.getBmp(e[2])),n=this.assembleButtonFrames(this.getBmp(e[3]),this.getBmp(e[4]),this.getBmp(e[5])),s=this.combineToggleBitmaps(l,n);this.loadGraphicsUpOverDown(s,!0,i),l.dispose(),n.dispose()}}},loadGraphicsUpOverDown:function(e,t,i){null==t&&(t=!1),this._slice9_assets=null,this._slice9_arrays=null,this.resize_ratio=-1,t&&(this.has_toggle=!0);var l=null,n=null,s=null,a=null;e instanceof openfl_display_BitmapData?a=e:"string"==typeof e&&(a=this.getBmp(e)),l=this.grabButtonFrame(a,0,this.has_toggle,0,0,i),n=this.grabButtonFrame(a,1,this.has_toggle,0,0,i),s=this.grabButtonFrame(a,2,this.has_toggle,0,0,i);var r=i;if(null!=i&&""!=i&&null!=flixel_FlxG.bitmap._cache.h[i]!=0||(r=this.assembleButtonFrames(l,n,s)),this.has_toggle){var _=this.assembleButtonFrames(l,n,s);l=this.grabButtonFrame(a,3,!0,0,0,i),n=this.grabButtonFrame(a,4,!0,0,0,i),s=this.grabButtonFrame(a,5,!0,0,0,i);var o=this.assembleButtonFrames(l,n,s),h=this.combineToggleBitmaps(_,o);_=flixel_util_FlxDestroyUtil.dispose(_),o=flixel_util_FlxDestroyUtil.dispose(o),this.loadGraphic(h,!0,l.width,l.height,!1,i)}else this.loadGraphic(r,!0,l.width,l.height,!1,i)},loadGraphicSlice9:function(e,t,i,l,n,s,a,r,_,o){null==_&&(_=0),null==r&&(r=0),null==a&&(a=!1),null==s&&(s=-1),null==n&&(n=0),null==i&&(i=20),null==t&&(t=80),0!=r&&(this._src_w=r),0!=_&&(this._src_h=_),this.tile=n,this.has_toggle=a,this.resize_ratio=s,this._slice9_assets=e,this._slice9_arrays=l;var h="",u=[],d=[];if(null==o)o=this.has_toggle?[0,1,2,3,4,5]:[0,1,2];else{var c=2;for(this.has_toggle&&(c=5);o.length<c+1;)o.push(o.length-1);for(var p=0,f=o.length;p<f;)o[T=p++]>5?o[T]=5:o[T]<0&&(o[T]=0)}this._frame_indeces=o,0==t&&(t=80),0==i&&(i=20);var m=flixel_addons_ui_U.applyResize(this.resize_ratio,this.resize_ratio_axis,t,i);if(t=0|m.x,i=0|m.y,null==e){var x;a?(e=["flixel/flixel-ui/img/button_toggle.png"],l=[flixel_util_FlxStringUtil.toIntArray("6,6,11,11")],x=this.getBmp(e[0]),this._src_w=0|x.width,this._src_h=x.height/6|0):(e=["flixel/flixel-ui/img/button.png"],l=[flixel_util_FlxStringUtil.toIntArray("6,6,11,11")],x=this.getBmp(e[0]),this._src_w=0|x.width,this._src_h=x.height/3|0),x=null}!this.has_toggle&&e.length<=3?(u=[null,null,null],d=[null,null,null]):(this.has_toggle=!0,u=[null,null,null,null,null,null],d=[null,null,null,null,null,null]),this._flashRect2.width=t,this._flashRect2.height=i;var g=h+=Std.string(e)+"_slice9="+Std.string(l)+"_src="+this._src_w+"x"+this._src_h;if(h+="_final="+t+"x"+i+"_fi="+Std.string(this._frame_indeces),1==e.length){var F=this.getBmp(e[0]),y="_all";if(0==this._src_w||0==this._src_h)throw haxe_Exception.thrown(new openfl_errors_Error("Ambiguous situation! If you only provide one asset, you MUST provide src_w and src_h. Otherwise I can't tell if it's a stacked set of frames or a single frame."));var S=F.height>this._src_h;if(y+=S?"_multiframe":"",h+=y,g+=y,null!=flixel_FlxG.bitmap._cache.h[h])return void this.loadGraphic(h,!0,t,i);if(S){for(var p=0,f=u.length;p<f;)u[T=p++]=this.grabButtonFrame(F,T,this.has_toggle,this._src_w,this._src_h,g);if(null!=l&&l[0]!=[]){for(var p=0,f=u.length;p<f;)d[T=p++]=new flixel_addons_ui_FlxUI9SliceSprite(0,0,u[T],this._flashRect2,l[0],this.tile,!1,e[0]+":"+T,this.resize_ratio),d[T].set_resize_point(this.resize_point);for(var p=0,f=u.length;p<f;)u[T=p++]=d[T].get_pixels();t=u[0].width,i=u[0].height}}else u[0]=F}else{if(null!=flixel_FlxG.bitmap._cache.h[h])return void this.loadGraphic(h,!0,t,i);if(this.has_toggle)for(;e.length<6;)e.push("");else for(;e.length<3;)e.push("");if(""!=e[0])if(null!=l&&l.length>0&&null!=l[0]&&l[0].length>0){for(;l.length<e.length;)l.push(null);null!=l[0]?d[0]=new flixel_addons_ui_FlxUI9SliceSprite(0,0,e[0],this._flashRect2,l[0],this.tile,!1,"",this.resize_ratio):d[0]=new flixel_addons_ui_FlxUISprite(0,0,e[0]),u[0]=d[0].get_pixels();for(var p=1,f=e.length;p<f;)""!=e[T=p++]&&(null!=l[T]?d[T]=new flixel_addons_ui_FlxUI9SliceSprite(0,0,e[T],this._flashRect2,l[T],this.tile,!1,"",this.resize_ratio):d[T]=new flixel_addons_ui_FlxUISprite(0,0,e[T]),u[T]=d[T].get_pixels());t=u[0].width,i=u[0].height}else{for(var p=0,f=e.length;p<f;)u[T=p++]=this.getBmp(e[T]);t=u[0].width,i=u[0].height}else 0==t&&(t=80),0==i&&(i=20),u[0]=new openfl_display_BitmapData(t,3*i,!0,0),this._no_graphic=!0}b=null;if(this.has_toggle){var b=this.assembleButtonFrames(u[o[0]],u[o[1]],u[o[2]]),U=this.assembleButtonFrames(u[o[3]],u[o[4]],u[o[5]]),v=this.combineToggleBitmaps(b,U);b=flixel_util_FlxDestroyUtil.dispose(b),U=flixel_util_FlxDestroyUtil.dispose(U),flixel_FlxG.bitmap.add(v,!0,h),this.loadGraphic(h,!0,t,i)}else b=this.assembleButtonFrames(u[o[0]],u[o[1]],u[o[2]]),flixel_FlxG.bitmap.add(b,!0,h),this.loadGraphic(h,!0,t,i);for(var p=0,f=d.length;p<f;){var T=p++;null!=d[T]&&(d[T].destroy(),d[T]=null)}for(;d.length>0;)d.pop();for(d=null;u.length>0;)u.pop();u=null},autoCenterLabel:function(){if(null!=this.label){var e=0,t=0;if(e=this.get_width()-this._spriteLabel.get_width(),this.label instanceof flixel_addons_ui_FlxUIText){var i=this.label;e=(this.get_width()-i.get_fieldWidth())/2,t=(this.get_height()-i.get_height())/2}else e=(this.get_width()-this._spriteLabel.get_width())/2,t=(this.get_height()-this._spriteLabel.get_height())/2;this._centerLabelOffset.set_x(e),this._centerLabelOffset.set_y(t)}},setCenterLabelOffset:function(e,t){this._centerLabelOffset.set_x(e),this._centerLabelOffset.set_y(t)},getCenterLabelOffset:function(){var e=this._centerLabelOffset.x,t=this._centerLabelOffset.y;null==t&&(t=0),null==e&&(e=0);var i=flixel_math_FlxPoint._pool.get().set(e,t);return i._inPool=!1,i},forceStateHandler:function(e){switch(e){case"click_button":this.onUpHandler();break;case"down_button":this.onDownHandler();break;case"out_button":this.onOutHandler();break;case"over_button":this.onOverHandler()}},grabButtonFrame:function(e,t,i,l,n,s){null==n&&(n=0),null==l&&(l=0),null==i&&(i=!1);var a=n;0==a&&(a=i?e.height/6|0:e.height/3|0);var r=l;0==r&&(r=e.width),this._flashRect.x=0,this._flashRect.y=t*a,this._flashRect.width=r,this._flashRect.height=a,this._flashRect.y>=e.height&&4==(e.height/a|0)&&(4==t?this._flashRect.y=3*a:5==t&&(this._flashRect.y=2*a));var _=s+"{x:"+this._flashRect.x+"y:"+this._flashRect.y+"w:"+this._flashRect.width+"h:"+this._flashRect.height+"}";if(null!=_&&null!=flixel_FlxG.bitmap._cache.h[_])return flixel_FlxG.bitmap._cache.h[_].bitmap;var o=new openfl_display_BitmapData(r,a);return o.copyPixels(e,this._flashRect,this._flashPointZero),null!=s&&(flixel_FlxG.bitmap.add(o,!0,_),this.addToCleanup(_)),o},combineToggleBitmaps:function(e,t){var i=new openfl_display_BitmapData(e.width,e.height+t.height);return i.copyPixels(e,e.rect,this._flashPointZero),this._flashPoint.x=0,this._flashPoint.y=e.height,i.copyPixels(t,t.rect,this._flashPoint),i},assembleButtonFrames:function(e,t,i){var l;return(l=null!=t?null!=i?new openfl_display_BitmapData(e.width,3*e.height):new openfl_display_BitmapData(e.width,2*e.height):new openfl_display_BitmapData(e.width,e.height)).copyPixels(e,e.rect,this._flashPointZero),null!=t&&(this._flashPoint.x=0,this._flashPoint.y=e.height,l.copyPixels(t,t.rect,this._flashPoint),null!=i&&(this._flashPoint.y=2*e.height,l.copyPixels(i,i.rect,this._flashPoint))),l},updateButton:function(){this.skipButtonUpdate||flixel_ui_FlxTypedButton.prototype.updateButton.call(this)},addToCleanup:function(e){null==this._assetsToCleanup&&(this._assetsToCleanup=[]),-1==this._assetsToCleanup.indexOf(e)&&this._assetsToCleanup.push(e)},cleanup:function(){if(null!=this._assetsToCleanup){for(var e=0,t=this._assetsToCleanup;e<t.length;){var i=t[e];++e,flixel_FlxG.bitmap.removeByKey(i)}this._assetsToCleanup=null}},fetchAndShowCorrectLabel:function(){return this.has_toggle?this.toggled&&null!=this.toggle_label?(this._spriteLabel.set_visible(!1),this.toggle_label.set_visible(!0),this.toggle_label):(null!=this.toggle_label&&this.toggle_label.set_visible(!1),this._spriteLabel.set_visible(!0),this.label):this.label},onUpHandler:function(){if(this.has_toggle&&this.set_toggled(!this.toggled),flixel_ui_FlxTypedButton.prototype.onUpHandler.call(this),null!=this.label){var e=this.fetchAndShowCorrectLabel();e.set_visible(this.toggled?this.up_toggle_visible:this.up_visible);var t=this.toggled?this.up_toggle_color:this.up_color;null!=t&&e.set_color(t)}this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("click_button",this,null,this.params)},onDownHandler:function(){if(flixel_ui_FlxTypedButton.prototype.onDownHandler.call(this),null!=this.label){var e=this.fetchAndShowCorrectLabel();e.set_visible(this.toggled?this.down_toggle_visible:this.down_visible);var t=this.toggled?this.down_toggle_color:this.down_color;null!=t&&e.set_color(t)}this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("down_button",this,null,this.params)},onOverHandler:function(){if(flixel_ui_FlxTypedButton.prototype.onOverHandler.call(this),this.inputOver.press(),null!=this.label){var e=this.fetchAndShowCorrectLabel();e.set_visible(this.toggled?this.over_toggle_visible:this.over_visible);var t=this.toggled?this.over_toggle_color:this.over_color;null!=t&&e.set_color(t)}this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("over_button",this,null,this.params)},onOutHandler:function(){if(flixel_ui_FlxTypedButton.prototype.onOutHandler.call(this),this.inputOver.release(),null!=this.label){var e=this.fetchAndShowCorrectLabel();e.set_visible(this.toggled?this.up_toggle_visible:this.up_visible);var t=this.toggled?this.up_toggle_color:this.up_color;null!=t&&e.set_color(t)}this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("out_button",this,null,this.params)},set_x:function(e){return flixel_ui_FlxTypedButton.prototype.set_x.call(this,e),null!=this._spriteLabel&&(this._spriteLabel.set_x(this.x+this._centerLabelOffset.x+this.labelOffsets[this.status].x),this.round_labels&&this._spriteLabel.set_x(this._spriteLabel.x+.5|0),this.has_toggle&&null!=this.toggle_label&&this.toggle_label.set_x(this._spriteLabel.x)),e},set_y:function(e){return flixel_ui_FlxTypedButton.prototype.set_y.call(this,e),null!=this.label&&(this._spriteLabel.set_y(this.y+this._centerLabelOffset.y+this.labelOffsets[this.status].y),this.round_labels&&this._spriteLabel.set_y(this._spriteLabel.y+.5|0),this.has_toggle&&null!=this.toggle_label&&this.toggle_label.set_y(this._spriteLabel.y)),e},_autoCleanup:null,_assetsToCleanup:null,_no_graphic:null,_src_w:null,_src_h:null,_frame_indeces:null,_slice9_arrays:null,_slice9_assets:null,_centerLabelOffset:null,__class__:flixel_addons_ui_FlxUITypedButton,__properties__:$extend(flixel_ui_FlxTypedButton.prototype.__properties__,{set_params:"set_params",set_skipButtonUpdate:"set_skipButtonUpdate",set_toggle_label:"set_toggle_label",get_justMousedOut:"get_justMousedOut",get_mouseIsOut:"get_mouseIsOut",get_mouseIsOver:"get_mouseIsOver",get_justMousedOver:"get_justMousedOver",set_toggled:"set_toggled"})});var flixel_addons_ui_interfaces_ILabeled=function(){};$hxClasses["flixel.addons.ui.interfaces.ILabeled"]=flixel_addons_ui_interfaces_ILabeled,flixel_addons_ui_interfaces_ILabeled.__name__="flixel.addons.ui.interfaces.ILabeled",flixel_addons_ui_interfaces_ILabeled.__isInterface__=!0,flixel_addons_ui_interfaces_ILabeled.prototype={getLabel:null,setLabel:null,__class__:flixel_addons_ui_interfaces_ILabeled};var flixel_addons_ui_FlxUIButton=function(e,t,i,l,n,s,a){null==a&&(a=-1),null==s&&(s=!1),null==n&&(n=!0),null==t&&(t=0),null==e&&(e=0),this.down_toggle_style=null,this.over_toggle_style=null,this.up_toggle_style=null,this.down_style=null,this.over_style=null,this.up_style=null,flixel_addons_ui_FlxUITypedButton.call(this,e,t,l),this.set_color(a),null!=i&&(this.set_label(new flixel_addons_ui_FlxUIText(0,0,80,i,8)),this.label.setFormat(null,8,3355443,"center")),s&&(this._no_graphic=!0),n?this.resize(this.get_width(),this.get_height()):0==this._no_graphic?this.doResize(this.get_width(),this.get_height(),!1):this.doResize(this.get_width(),this.get_height(),!0)};$hxClasses["flixel.addons.ui.FlxUIButton"]=flixel_addons_ui_FlxUIButton,flixel_addons_ui_FlxUIButton.__name__="flixel.addons.ui.FlxUIButton",flixel_addons_ui_FlxUIButton.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIButton,flixel_addons_ui_interfaces_ILabeled],flixel_addons_ui_FlxUIButton.__super__=flixel_addons_ui_FlxUITypedButton,flixel_addons_ui_FlxUIButton.prototype=$extend(flixel_addons_ui_FlxUITypedButton.prototype,{_noIconGraphicsBkup:null,up_style:null,over_style:null,down_style:null,up_toggle_style:null,over_toggle_style:null,down_toggle_style:null,setLabelFormat:function(e,t,i,l,n,s,a){return null==a&&(a=!0),null==s&&(s=0),null==i&&(i=-1),null==t&&(t=8),null!=this.label?(this.label.setFormat(e,t,i,l,n,s,a),this.label):null},autoCenterLabel:function(){flixel_addons_ui_FlxUITypedButton.prototype.autoCenterLabel.call(this)},clone:function(){var e=new flixel_addons_ui_FlxUIButton(0,0,null==this.label?null:this.label.text,this.onUp.callback,!1);return e.copyGraphic(this),e.copyStyle(this),e},copyStyle:function(e){if(flixel_addons_ui_FlxUITypedButton.prototype.copyStyle.call(this,e),e instanceof flixel_addons_ui_FlxUIButton){var t=e;this.up_style=t.up_style,this.over_style=t.over_style,this.down_style=t.down_style,this.up_toggle_style=t.up_toggle_style,this.over_toggle_style=t.over_toggle_style,this.down_toggle_style=t.down_toggle_style;var i=t.label,l=i.textField.get_defaultTextFormat();if(-1==i._font.indexOf(flixel_system_FlxAssets.FONT_DEFAULT))flixel_addons_ui_FontDef.copyFromFlxText(i).apply(null,this.label);else{var n=flixel_text_FlxTextAlign.fromOpenFL(l.align);this.label.setFormat(null,0|l.size,l.color,n,i.borderStyle,i.borderColor,i.textField.set_embedFonts(!0))}}},setLabel:function(e){return this.set_label(e),this.label},getLabel:function(){return this.label},resize:function(e,t){flixel_addons_ui_FlxUITypedButton.prototype.resize.call(this,e,t)},addIcon:function(e,t,i,l){null==l&&(l=!0),null==i&&(i=0),null==t&&(t=0),this._noIconGraphicsBkup=this.graphic.bitmap.clone();var n=this._noIconGraphicsBkup.clone(),s=this.graphic.key+",icon:"+e.graphic.key,a=flixel_FlxG.bitmap.add(n,!1,s);this.loadGraphic(a,!0,0|this.get_width(),0|this.get_height());var r=t,_=i;l&&(r=(this.get_width()-e.get_width())/2|0,_=(this.get_height()-e.get_height())/2|0);for(var o=0,h=this.numFrames;o<h;){var u=o++;this.stamp(e,r+(0|this.labelOffsets[u>2?2:u].x),_+(u*this.get_height()|0)+(0|this.labelOffsets[u>2?2:u].y))}},removeIcon:function(){null!=this._noIconGraphicsBkup&&(this.graphic.bitmap.fillRect(this.graphic.bitmap.rect,0),this.graphic.bitmap.copyPixels(this._noIconGraphicsBkup,new openfl_geom_Rectangle(0,0,this._noIconGraphicsBkup.width,this._noIconGraphicsBkup.height),new openfl_geom_Point),this.dirty=!0)},changeIcon:function(e){this.removeIcon(),this.addIcon(e)},destroy:function(){this._noIconGraphicsBkup=flixel_util_FlxDestroyUtil.dispose(this._noIconGraphicsBkup),flixel_addons_ui_FlxUITypedButton.prototype.destroy.call(this)},loadDefaultGraphic:function(){},resetHelpers:function(){if(flixel_addons_ui_FlxUITypedButton.prototype.resetHelpers.call(this),null!=this.label){var e=this.label,t=0|this.get_width();e.set_width(this.label.frameWidth=t),this.label.set_fieldWidth(this.label.get_width()),this.label.set_size(0|this.label._defaultFormat.size)}},onDownHandler:function(){flixel_addons_ui_FlxUITypedButton.prototype.onDownHandler.call(this),null!=this.label&&(this.toggled&&null!=this.down_toggle_style?(this.label.set_color(this.down_toggle_style.color),null!=this.down_toggle_style.border&&(this.label.set_borderStyle(this.down_toggle_style.border.style),this.label.set_borderColor(this.down_toggle_style.border.color),this.label.set_borderSize(this.down_toggle_style.border.size),this.label.set_borderQuality(this.down_toggle_style.border.quality))):this.toggled||null==this.down_style||(this.label.set_color(this.down_style.color),null!=this.down_style.border&&(this.label.set_borderStyle(this.down_style.border.style),this.label.set_borderColor(this.down_style.border.color),this.label.set_borderSize(this.down_style.border.size),this.label.set_borderQuality(this.down_style.border.quality))))},onOverHandler:function(){flixel_addons_ui_FlxUITypedButton.prototype.onOverHandler.call(this),null!=this.label&&(this.toggled&&null!=this.over_toggle_style?(this.label.set_color(this.over_toggle_style.color),null!=this.over_toggle_style.border&&(this.label.set_borderStyle(this.over_toggle_style.border.style),this.label.set_borderColor(this.over_toggle_style.border.color),this.label.set_borderSize(this.over_toggle_style.border.size),this.label.set_borderQuality(this.over_toggle_style.border.quality))):this.toggled||null==this.over_style||(this.label.set_color(this.over_style.color),null!=this.over_style.border&&(this.label.set_borderStyle(this.over_style.border.style),this.label.set_borderColor(this.over_style.border.color),this.label.set_borderSize(this.over_style.border.size),this.label.set_borderQuality(this.over_style.border.quality))))},onOutHandler:function(){flixel_addons_ui_FlxUITypedButton.prototype.onOutHandler.call(this),null!=this.label&&(this.toggled&&null!=this.up_toggle_style?(this.label.set_color(this.up_toggle_style.color),null!=this.up_toggle_style.border&&(this.label.set_borderStyle(this.up_toggle_style.border.style),this.label.set_borderColor(this.up_toggle_style.border.color),this.label.set_borderSize(this.up_toggle_style.border.size),this.label.set_borderQuality(this.up_toggle_style.border.quality))):this.toggled||null==this.up_style||(this.label.set_color(this.up_style.color),null!=this.up_style.border&&(this.label.set_borderStyle(this.up_style.border.style),this.label.set_borderColor(this.up_style.border.color),this.label.set_borderSize(this.up_style.border.size),this.label.set_borderQuality(this.up_style.border.quality))))},onUpHandler:function(){flixel_addons_ui_FlxUITypedButton.prototype.onUpHandler.call(this),null!=this.label&&(this.toggled&&null!=this.up_toggle_style?(this.label.set_color(this.up_toggle_style.color),null!=this.up_toggle_style.border&&(this.label.set_borderStyle(this.up_toggle_style.border.style),this.label.set_borderColor(this.up_toggle_style.border.color),this.label.set_borderSize(this.up_toggle_style.border.size),this.label.set_borderQuality(this.up_toggle_style.border.quality))):this.toggled||null==this.up_style||(this.label.set_color(this.up_style.color),null!=this.up_style.border&&(this.label.set_borderStyle(this.up_style.border.style),this.label.set_borderColor(this.up_style.border.color),this.label.set_borderSize(this.up_style.border.size),this.label.set_borderQuality(this.up_style.border.quality))))},__class__:flixel_addons_ui_FlxUIButton});var flixel_addons_ui_FlxUICheckBox=function(e,t,i,l,n,s,a,r){null==s&&(s=100),null==t&&(t=0),null==e&&(e=0),this.skipButtonUpdate=!1,this.box_space=2,this.textY=0,this.textX=0,this.checkbox_dirty=!1,this.textIsClickable=!0,this.checked=!1,this.max_width=-1,flixel_addons_ui_FlxUIGroup.call(this),this.callback=r,this.set_params(a),null==i&&(i="flixel/flixel-ui/img/check_box.png"),i instanceof flixel_FlxSprite?this.box=i:(this.box=new flixel_FlxSprite,this.box.loadGraphic(i,!0)),this.button=new flixel_addons_ui_FlxUIButton(0,0,n,$bind(this,this._clickCheck)),this.button.label.setFormat(null,8,16777215,"left",flixel_text_FlxTextBorderStyle.OUTLINE),this.button.label.set_fieldWidth(s),this.button.up_color=16777215,this.button.down_color=16777215,this.button.over_color=16777215,this.button.up_toggle_color=16777215,this.button.down_toggle_color=16777215,this.button.over_toggle_color=16777215,this.button.loadGraphicSlice9(["","",""],this.box.get_width()+this.box_space+s|0,0|this.box.get_height()),this.max_width=this.box.get_width()+this.box_space+s|0,this.button.onUp.callback=$bind(this,this._clickCheck),null==l&&(l="flixel/flixel-ui/img/check_mark.png"),l instanceof flixel_FlxSprite?this.mark=l:(this.mark=new flixel_FlxSprite,this.mark.loadGraphic(l)),this.add(this.box),this.add(this.mark),this.add(this.button),this.anchorLabelX(),this.anchorLabelY(),this.set_checked(!1),this.button.setAllLabelOffsets(0,0),this.set_x(e),this.set_y(t),this.set_textX(0),this.set_textY(0)};$hxClasses["flixel.addons.ui.FlxUICheckBox"]=flixel_addons_ui_FlxUICheckBox,flixel_addons_ui_FlxUICheckBox.__name__="flixel.addons.ui.FlxUICheckBox",flixel_addons_ui_FlxUICheckBox.__interfaces__=[flixel_addons_ui_interfaces_ICursorPointable,flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIClickable,flixel_addons_ui_interfaces_ILabeled],flixel_addons_ui_FlxUICheckBox.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUICheckBox.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{box:null,mark:null,button:null,max_width:null,checked:null,params:null,textIsClickable:null,checkbox_dirty:null,textX:null,textY:null,box_space:null,skipButtonUpdate:null,callback:null,set_skipButtonUpdate:function(e){return this.skipButtonUpdate=e,this.button.set_skipButtonUpdate(this.skipButtonUpdate),this.skipButtonUpdate},set_params:function(e){this.params=e,null==this.params&&(this.params=[]);var t={name:"checked",value:!1};return this.params.push(t),this.params},set_color:function(e){return null!=this.button&&this.button.label.set_color(e),flixel_addons_ui_FlxUIGroup.prototype.set_color.call(this,e)},setLabel:function(e){return null==this.button?null:(this.button.set_label(e),this.button.label)},getLabel:function(){return null==this.button?null:this.button.label},set_visible:function(e){return this.visible=e,this.visible},anchorTime:function(e){this.anchorLabelY()},set_textX:function(e){return this.textX=e,this.anchorLabelX(),this.textX},set_textY:function(e){return this.textY=e,this.anchorLabelY(),this.textY},anchorLabelX:function(){null!=this.button&&this.button.label.offset.set_x(-(this.box.get_width()+this.box_space+this.textX))},anchorLabelY:function(){null!=this.button&&this.button.set_y(this.box.y+(this.box.get_height()-this.button.get_height())/2+this.textY)},destroy:function(){flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this),null!=this.mark&&(this.mark.destroy(),this.mark=null),null!=this.box&&(this.box.destroy(),this.box=null),null!=this.button&&(this.button.destroy(),this.button=null)},get_text:function(){return this.button.label.text},set_text:function(e){return this.button.label.set_text(e),this.checkbox_dirty=!0,e},update:function(e){flixel_addons_ui_FlxUIGroup.prototype.update.call(this,e),this.checkbox_dirty&&null!=this.button.label&&(this.button.label instanceof flixel_addons_ui_FlxUIText&&this.button.label.drawFrame(),this.anchorLabelX(),this.anchorLabelY(),this.button.set_width(this.box.frameWidth+this.box_space+this.button.label.textField.get_textWidth()),this.checkbox_dirty=!1)},set_checked:function(e){return this.mark.set_visible(e),this.checked=e},_clickCheck:function(){this.visible&&(this.set_checked(!this.checked),null!=this.callback&&this.callback(),this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("click_check_box",this,this.checked,this.params))},__class__:flixel_addons_ui_FlxUICheckBox,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_text:"set_text",get_text:"get_text",set_skipButtonUpdate:"set_skipButtonUpdate",set_textY:"set_textY",set_textX:"set_textX",set_params:"set_params",set_checked:"set_checked"})});var flixel_addons_ui_FlxUICursor=function(e,t,i,l){null==i&&(i=1),null==t&&(t=1),this._clickTime=0,this._clickPressed=!1,this.lastMouseY=0,this.lastMouseX=0,this.inputMethod=0,this.dispatchEvents=!0,this.gamepadAutoConnect=flixel_addons_ui_GamepadAutoConnectPreference.FirstActive,this.listIndex=0,this.location=-1,this.wrap=!0,null==l&&(l=flixel_FlxG.height<400?"flixel/flixel-ui/img/finger_small.png":"flixel/flixel-ui/img/finger_big.png"),flixel_addons_ui_FlxUISprite.call(this,0,0,l),this.inputMethod=t,this._lists=[{x:0,y:0,width:0,height:0,widgets:[]}],this._widgets=this._lists[0].widgets,this.anchor=new flixel_addons_ui_Anchor(-2,0,"left","center","right","center"),this.setDefaultKeys(i),this.callback=e,this.scrollFactor.set(0,0),null!=flixel_FlxG.mouse&&flixel_FlxG.mouse instanceof flixel_addons_ui_FlxUIMouse==0?(this._newMouse=new flixel_addons_ui_FlxUIMouse(flixel_FlxG.mouse.cursorContainer),flixel_FlxG.set_mouse(this._newMouse)):this._newMouse=flixel_FlxG.mouse};$hxClasses["flixel.addons.ui.FlxUICursor"]=flixel_addons_ui_FlxUICursor,flixel_addons_ui_FlxUICursor.__name__="flixel.addons.ui.FlxUICursor",flixel_addons_ui_FlxUICursor.__super__=flixel_addons_ui_FlxUISprite,flixel_addons_ui_FlxUICursor.prototype=$extend(flixel_addons_ui_FlxUISprite.prototype,{callback:null,wrap:null,location:null,listIndex:null,ignoreNextInput:null,findVisibleLocation:function(e,t,i){if(null==i&&(i=!0),null==t&&(t=!0),this.set_location(e),-1!=this.location)for(var l=!1;null==this._widgets[this.location]||0==this._widgets[this.location].visible;)if(t)if(this.location==this._widgets.length-1){if(!i)return void this.set_location(-1);if(l)return void this.set_location(-1);l=!0,this.set_location(0)}else{var n=this;n.set_location(n.location+1)}else if(0==this.location){if(!i)return void this.set_location(-1);if(l)return void this.set_location(-1);l=!0,this.set_location(this._widgets.length-1)}else{var s=this;s.set_location(s.location-1)}},getCurrentWidget:function(){return null!=this._widgets&&this.location>=0&&this.location<this._widgets.length?this._widgets[this.location]:null},set_listIndex:function(e){return e>=this._lists.length?e=this._lists.length-1:e<0&&(e=0),this.listIndex=e,this.set_location(0),this._updateCursor(),this.listIndex},set_visible:function(e){return e=flixel_addons_ui_FlxUISprite.prototype.set_visible.call(this,e)},set_location:function(e){return e>=this._widgets.length&&(e=this._widgets.length-1),this.location=e,this._updateCursor(),this.location},gamepadAutoConnect:null,set_gamepad:function(e){this._gamepad=e,this.setDefaultKeys(this._defaultCode);for(var t=[this.keysUp,this.keysDown,this.keysLeft,this.keysRight,this.keysClick],i=0;i<t.length;){var l=t[i];if(++i,null!=l)for(var n=0;n<l.length;){var s=l[n];++n,s instanceof flixel_addons_ui_FlxMultiGamepad&&(s.gamepad=this._gamepad)}}return e},get_gamepad:function(){return this._gamepad},_gamepad:null,keysUp:null,keysDown:null,keysLeft:null,keysRight:null,keysClick:null,anchor:null,dispatchEvents:null,inputMethod:null,destroy:function(){flixel_addons_ui_FlxUISprite.prototype.destroy.call(this),flixel_FlxG.mouse==this._newMouse&&(this._newMouse=null),this.keysUp=flixel_util_FlxDestroyUtil.destroyArray(this.keysUp),this.keysDown=flixel_util_FlxDestroyUtil.destroyArray(this.keysDown),this.keysLeft=flixel_util_FlxDestroyUtil.destroyArray(this.keysLeft),this.keysRight=flixel_util_FlxDestroyUtil.destroyArray(this.keysRight),this.keysClick=flixel_util_FlxDestroyUtil.destroyArray(this.keysClick),this.anchor=flixel_util_FlxDestroyUtil.destroy(this.anchor);for(var e=0,t=this._lists;e<t.length;){var i=t[e];++e,flixel_addons_ui_U.clearArraySoft(i.widgets)}flixel_addons_ui_U.clearArraySoft(this._lists),this._widgets=null},update:function(e){if(null==this.get_gamepad()){var t=this.getGamepad(!1);null!=t&&this.set_gamepad(t)}if(this.lastMouseX!=flixel_FlxG.mouse.x||this.lastMouseY!=flixel_FlxG.mouse.y){var i=this.visible;this.jumpToXY(flixel_FlxG.mouse.x,flixel_FlxG.mouse.y),this.set_visible(i),this.lastMouseX=flixel_FlxG.mouse.x,this.lastMouseY=flixel_FlxG.mouse.y}this._checkKeys(),this._clickTime+=e,flixel_addons_ui_FlxUISprite.prototype.update.call(this,e)},addWidgetsFromUI:function(e){if(null!=e.cursorLists){for(var t=0,i=e.cursorLists;t<i.length;){var l=i[t];++t,this.addWidgetList(l)}this._widgets=this._lists[0].widgets,this.set_location(0),this.set_listIndex(0)}else for(var t=0,i=e.group.members;t<i.length;){var n=i[t];++t,(js_Boot.__implements(n,flixel_addons_ui_interfaces_ICursorPointable)||n instanceof flixel_addons_ui_FlxUIGroup)&&this.addWidget(n)}},jumpTo:function(e){var t=0,i=0;if(null==this._lists)return i=this._widgets.indexOf(e),this.set_location(i),!0;for(var l=0,n=this._lists;l<n.length;){var s=n[l];if(++l,-1!=(i=s.widgets.indexOf(e)))return this.set_listIndex(t),this.set_location(i),!0;++t}return!1},jumpToXY:function(e,t){var i=0,l=1/0,n=-1,s=-1;if(null!=this._lists){for(var a=0,r=this._lists;a<r.length;){var _=r[a];++a;for(var o=0,h=_.widgets.length;o<h;){u=o++;1==(d=_.widgets[u]).visible&&e>=d.x&&t>=d.y&&e<=d.x+d.get_width()&&t<=d.y+d.get_height()&&(f=(c=d.x+d.get_width()/2-e)*c+(p=d.y+d.get_height()/2-t)*p)<l&&(l=f,n=i,s=u)}++i}if(-1!=n&&-1!=s)return this.set_listIndex(n),this.set_location(s),!0}else{for(var a=0,r=this._widgets.length;a<r;){var u=a++,d=this._widgets[u];if(1==d.visible&&e>=d.x&&t>=d.y&&e<=d.x+d.get_width()&&t<=d.y+d.get_height()){var c=d.x+d.get_width()/2-e,p=d.y+d.get_height()/2-t,f=c*c+p*p;f<l&&(l=f,s=u)}}if(-1!=s)return this.set_location(s),!0}return!1},addWidgetList:function(e){for(var t=0,i=this._lists;t<i.length;){var l=i[t];if(++t,flixel_util_FlxArrayUtil.equals(l.widgets,e))return}for(var n=1/0,s=1/0,a=-1/0,r=-1/0,t=0;t<e.length;){var _=e[t];++t,_.x<n&&(n=_.x),_.y<s&&(s=_.y),_.x+_.get_width()>a&&(a=_.x),_.y+_.get_height()>r&&(r=_.y)}var o=null;1==this._lists.length&&null!=this._lists[0].widgets&&0==this._lists[0].widgets.length?(this._lists[0].widgets=[],this._lists[0].x=0|n,this._lists[0].y=0|s,this._lists[0].width=a-n|0,this._lists[0].height=r-s|0,o=this._lists[0]):(this._lists.push({x:0|n,y:0|s,width:a-n|0,height:r-s|0,widgets:[]}),o=this._lists[this._lists.length-1]);var h=this._widgets;this._widgets=o.widgets;for(t=0;t<e.length;){var u=e[t];++t,this.addWidget(u)}this._widgets=h,this._lists.sort($bind(this,this._sortXYWidgetList));for(var t=0,i=this._lists;t<i.length;){var d=i[t];++t,d.widgets.sort($bind(this,this._sortXYVisible))}},addWidget:function(e){if(js_Boot.__implements(e,flixel_addons_ui_interfaces_ICursorPointable))this._widgets.push(e);else if(e instanceof flixel_addons_ui_FlxUIGroup)for(var t=0,i=e.group.members;t<i.length;){var l=i[t];++t,js_Boot.__implements(l,flixel_addons_ui_interfaces_IFlxUIWidget)&&this.addWidget(l)}this._widgets.sort($bind(this,this._sortXYVisible))},sortWidgets:function(e,t){switch(null==t&&(t=this._widgets),e._hx_index){case 0:t.sort($bind(this,this._sortXYVisible));break;case 1:t.sort($bind(this,this._sortIDVisible))}},clearWidgets:function(){flixel_util_FlxArrayUtil.clearArray(this._widgets)},removeWidget:function(e,t){null==t&&(t=this._widgets);var i=!1;return null!=t&&-1!=t.indexOf(e)&&(i=HxOverrides.remove(t,e),t.sort($bind(this,this._sortXYVisible))),i},setDefaultKeys:function(e){this._defaultCode=e,this._clearKeys(),this._newKeys(),1==(1&e)&&(this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiKey(9,null,[16])),this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiKey(9,[16])),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiKey(13))),256==(256&e)&&(this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiKey(39)),this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiKey(37)),this._addToKeys(this.keysDown,new flixel_addons_ui_FlxMultiKey(40)),this._addToKeys(this.keysUp,new flixel_addons_ui_FlxMultiKey(38)),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiKey(13))),16==(16&e)&&(this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiKey(68)),this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiKey(65)),this._addToKeys(this.keysDown,new flixel_addons_ui_FlxMultiKey(83)),this._addToKeys(this.keysUp,new flixel_addons_ui_FlxMultiKey(87)),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiKey(13))),4096==(4096&e)&&(this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiKey(102)),this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiKey(100)),this._addToKeys(this.keysDown,new flixel_addons_ui_FlxMultiKey(98)),this._addToKeys(this.keysUp,new flixel_addons_ui_FlxMultiKey(104)),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiKey(13))),null==this.get_gamepad()&&(this._gamepad=this.getGamepad()),65536==(65536&e)&&(this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),13)),this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),14)),this._addToKeys(this.keysDown,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),12)),this._addToKeys(this.keysUp,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),11)),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),0))),268435456==(268435456&e)&&(this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),4)),this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),5)),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),0))),1048576==(1048576&e)&&(this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:19,axis:flixel_addons_ui_XY.X,positive:!1})),this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:19,axis:flixel_addons_ui_XY.X,positive:!0})),this._addToKeys(this.keysUp,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:19,axis:flixel_addons_ui_XY.Y,positive:!1})),this._addToKeys(this.keysDown,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:19,axis:flixel_addons_ui_XY.Y,positive:!0})),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),0))),16777216==(16777216&e)&&(this._addToKeys(this.keysLeft,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:20,axis:flixel_addons_ui_XY.X,positive:!1})),this._addToKeys(this.keysRight,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:20,axis:flixel_addons_ui_XY.X,positive:!0})),this._addToKeys(this.keysUp,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:20,axis:flixel_addons_ui_XY.Y,positive:!1})),this._addToKeys(this.keysDown,new flixel_addons_ui_FlxMultiGamepadAnalogStick(this.get_gamepad(),{id:20,axis:flixel_addons_ui_XY.Y,positive:!0})),this._addToKeys(this.keysClick,new flixel_addons_ui_FlxMultiGamepad(this.get_gamepad(),0)))},_lists:null,_widgets:null,_newMouse:null,lastMouseX:null,lastMouseY:null,_clickPressed:null,_defaultCode:null,_rightAnchor:null,_topAnchor:null,_leftAnchor:null,_bottomAnchor:null,_clickTime:null,getGamepad:function(e){null==e&&(e=!0);var t;switch((i=this.gamepadAutoConnect)._hx_index){case 0:t=null;break;case 1:t=flixel_FlxG.gamepads.getFirstActiveGamepad();break;case 2:t=flixel_FlxG.gamepads.lastActive;break;case 3:n=i.i;t=flixel_FlxG.gamepads._activeGamepads[n]}if(null==t&&e)for(var i=0,l=flixel_FlxG.gamepads.get_numActiveGamepads();i<l;){var n=i++;if(null!=(t=flixel_FlxG.gamepads._activeGamepads[n]))return t}return t},_sortIDVisible:function(e,t){return e.visible&&!t.visible?-1:t.visible&&!e.visible?1:e.ID<t.ID?-1:e.ID>t.ID?1:0},_sortXYWidgetList:function(e,t){return e.y<t.y?-1:e.y>t.y?1:e.x<t.x?-1:e.x>t.x?1:0},_sortXYVisible:function(e,t){return e.visible&&!t.visible?-1:t.visible&&!e.visible?1:e.y<t.y?-1:e.y>t.y?1:e.x<t.x?-1:e.x>t.x?1:0},_addToKeys:function(e,t){for(var i=!1,l=0;l<e.length;){var n=e[l];if(++l,t.equals(n)){i=!0;break}}i||e.push(t)},_clearKeys:function(){flixel_addons_ui_U.clearArray(this.keysUp),this.keysUp=null,flixel_addons_ui_U.clearArray(this.keysDown),this.keysDown=null,flixel_addons_ui_U.clearArray(this.keysLeft),this.keysLeft=null,flixel_addons_ui_U.clearArray(this.keysRight),this.keysRight=null,flixel_addons_ui_U.clearArray(this.keysClick),this.keysClick=null},_newKeys:function(){this.keysUp=[],this.keysDown=[],this.keysLeft=[],this.keysRight=[],this.keysClick=[]},_checkKeys:function(){for(var e=0==this.visible,t=this.location,i=0,l=this.keysUp;i<l.length;){n=l[i];if(++i,n.justPressed()){this._doInput(0,-1);break}}for(var i=0,l=this.keysDown;i<l.length;){n=l[i];if(++i,n.justPressed()){this._doInput(0,1);break}}for(var i=0,l=this.keysLeft;i<l.length;){n=l[i];if(++i,n.justPressed()){this._doInput(-1,0);break}}for(var i=0,l=this.keysRight;i<l.length;){var n=l[i];if(++i,n.justPressed()){this._doInput(1,0);break}}e&&this.visible&&-1!=t&&this.set_location(t),this._clickKeysJustPressed()&&(this.ignoreNextInput?this.ignoreNextInput=!1:(this._clickPressed=!0,this._clickTime=0,this._doPress())),this._clickKeysPressed()?(this._clickPressed=!0,this._doMouseMove()):this._clickTime>0&&this._clickPressed&&(this._doRelease(),this._clickPressed=!1)},_clickKeysJustPressed:function(){for(var e=0,t=this.keysClick;e<t.length;){var i=t[e];if(++e,i.justPressed())return!0}return!1},_clickKeysPressed:function(){for(var e=0,t=this.keysClick;e<t.length;){var i=t[e];if(++e,i.pressed())return!0}return!1},_getWidgetPoint:function(e){null==e&&(e=flixel_FlxG.camera);var t=this._widgets[this.location];if(null==t)return null;var i=null;t instanceof flixel_FlxObject&&(i=t.getScreenPosition());var l=i;if(l.set_x(l.x*e.totalScaleX),(l=i).set_y(l.y*e.totalScaleY),null==i){var n=t.x,s=t.y;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1,i=a}return(l=i).set_x(l.x+t.get_width()/2),(l=i).set_y(l.y+t.get_height()/2),i},_doMouseMove:function(e){var t=!1;if(null==e){if(null==(e=this._getWidgetPoint()))return;t=!0}if(this.dispatchEvents){(_=flixel_FlxG.mouse)._globalScreenX=e.x/flixel_FlxG.scaleMode.scale.x|0,_._globalScreenY=e.y/flixel_FlxG.scaleMode.scale.y|0,_.updatePositions(),null!=this._newMouse&&(this._newMouse.updateGlobalScreenPosition=!1);var i=openfl_Lib.get_current().stage,l=e.x,n=e.y,s=openfl_Lib.get_current().stage,a=(_=flixel_FlxG.keys.pressed).keyManager.checkStatus(17,_.status),r=(_=flixel_FlxG.keys.pressed).keyManager.checkStatus(18,_.status),_=flixel_FlxG.keys.pressed;i.dispatchEvent(new openfl_events_MouseEvent("mouseMove",!0,!1,l,n,s,a,r,_.keyManager.checkStatus(16,_.status)))}t&&e.put()},_doPress:function(e){var t=this._widgets[this.location];if(null!=t){var i=!1;if(null==e){if(null==(e=this._getWidgetPoint()))return;i=!0}if(this.dispatchEvents){var l=e.x*flixel_FlxG.camera.zoom,n=e.y*flixel_FlxG.camera.zoom,s=openfl_Lib.get_current().stage,a=openfl_Lib.get_current().stage,r=(o=flixel_FlxG.keys.pressed).keyManager.checkStatus(17,o.status),_=(o=flixel_FlxG.keys.pressed).keyManager.checkStatus(18,o.status),o=flixel_FlxG.keys.pressed;s.dispatchEvent(new openfl_events_MouseEvent("mouseDown",!0,!1,l,n,a,r,_,o.keyManager.checkStatus(16,o.status)))}null!=this.callback&&this.callback("cursor_down",t),i&&e.put()}},_doRelease:function(e){var t=this._widgets[this.location];if(null!=t){var i=!1;if(null==e){if(null==(e=this._getWidgetPoint()))return;i=!0}var l=e.x*flixel_FlxG.camera.zoom,n=e.y*flixel_FlxG.camera.zoom;if(this.dispatchEvents){var s=openfl_Lib.get_current().stage,a=openfl_Lib.get_current().stage,r=(o=flixel_FlxG.keys.pressed).keyManager.checkStatus(17,o.status),_=(o=flixel_FlxG.keys.pressed).keyManager.checkStatus(18,o.status),o=flixel_FlxG.keys.pressed;if(s.dispatchEvent(new openfl_events_MouseEvent("mouseUp",!0,!1,l,n,a,r,_,o.keyManager.checkStatus(16,o.status))),this._clickPressed){var s=openfl_Lib.get_current().stage,a=openfl_Lib.get_current().stage,r=(o=flixel_FlxG.keys.pressed).keyManager.checkStatus(17,o.status),_=(o=flixel_FlxG.keys.pressed).keyManager.checkStatus(18,o.status),o=flixel_FlxG.keys.pressed;s.dispatchEvent(new openfl_events_MouseEvent("click",!0,!1,l,n,a,r,_,o.keyManager.checkStatus(16,o.status)))}}if(null!=this.callback&&this.callback("cursor_click",t),i&&e.put(),null!=this._newMouse){this._newMouse.updateGlobalScreenPosition=!0;var o=this._newMouse,h=0|flixel_FlxG.game.get_mouseX(),u=0|flixel_FlxG.game.get_mouseY();o._globalScreenX=h/flixel_FlxG.scaleMode.scale.x|0,o._globalScreenY=u/flixel_FlxG.scaleMode.scale.y|0,o.updatePositions()}}},_findNextY:function(e,t,i,l){var n=0,s=0,a=0;null!=i?(n=0|i[t].x,s=0|i[t].y,a=i.length):null!=l&&(n=l[t].x,s=l[t].y,a=l.length);for(var r=0,_=0,o=1/0,h=1/0,u=o,d=h,c=-1,p=0,f=a;p<f;){var m=p++;m!=t&&(null!=i?(r=0|i[m].x,_=0|i[m].y):null!=l&&(r=l[m].x,_=l[m].y),((h=_-s)<0?-1:1)==(e<0?-1:1)&&0!=h&&((h=Math.abs(h))<d?(d=h,u=Math.abs(n-r),c=m):h==d&&(o=Math.abs(n-r))<u&&(u=o,c=m)))}return c},_wrapX:function(e,t,i){return t+e<0?t=t+e+i:t+e>=i&&(t=t+e-i),t},_wrapY:function(e,t,i,l){var n=1/0,s=1/0,a=n,r=s,_=-1;a=1/0,r=0;var o=0,h=0,u=0;null!=i&&(o=i.length,h=0|i[t].x,u=0|i[t].y),null!=l&&(o=l.length,h=l[t].x,u=l[t].y);for(var d=0,c=o;d<c;){var p=d++;if(p!=this.location){var f=0,m=0;null!=i?(f=0|i[p].x,m=0|i[p].y):null!=l&&(f=0|l[p].x,m=0|l[p].y),((s=m-u)<0?-1:1)==(e<0?-1:1)==0&&0!=s&&((s=Math.abs(s))>r?(r=s,a=Math.abs(h-f),_=p):s==r&&(n=Math.abs(h-f))<a&&(a=n,_=p))}}return-1!=_&&(t=_),t},_doInput:function(e,t,i){if(null==i&&(i=0),this.ignoreNextInput)this.ignoreNextInput=!1;else{var l=null;if(0==t)this.location+e>=0&&this.location+e<this._widgets.length?this.set_location(this.location+e):this.wrap&&(1==this._lists.length?this.set_location(this._wrapX(e,this.location,this._widgets.length)):(this.listIndex+e>=0&&this.listIndex+e<this._lists.length?this.set_listIndex(this.listIndex+e):this.set_listIndex(this._wrapX(e,this.listIndex,this._lists.length)),-1==e&&this.set_location(this._widgets.length-1))),l=this._widgets[this.location];else{var n=this._findNextY(t,this.location,this._widgets,null);if(-1!=n)this.set_location(n),l=this._widgets[this.location];else if(this.wrap){if(1==this._lists.length)this.set_location(this._wrapY(t,this.location,this._widgets,null)),l=this._widgets[this.location];else{var s=this._findNextY(t,this.listIndex,null,this._lists);-1!=s?(this.set_listIndex(s),l=this._widgets[this.location]):this.set_listIndex(this._wrapY(t,this.listIndex,null,this._lists)),-1==t&&this.set_location(this._widgets.length-1)}l=this._widgets[this.location]}}null!=l&&null!=this._widgets&&0==l.visible&&i<this._widgets.length?this._doInput(e,t,i+1):null!=this.callback&&this.callback("cursor_jump",l)}},_updateCursor:function(){if(this._widgets=this._lists[this.listIndex].widgets,this.location<0||null==this._lists||null==this._widgets)this.set_visible(!1);else{this.set_visible(this.set_active(!0));var e=this._widgets[this.location],t=!1,i=!1;if(null!=e){var l=e;if(l instanceof flixel_FlxSprite){var n=l;null!=n&&null!=n.scrollFactor&&this.scrollFactor.set(n.scrollFactor.x,n.scrollFactor.y)}e instanceof flixel_addons_ui_FlxUICheckBox&&(l=l.box),this.anchor.anchorThing(this,l),this.x<0?(this._flipAnchor("left",l),t=!0):this.x>flixel_FlxG.width+this.get_width()&&(this._flipAnchor("right",l),t=!0),this.y<0?(this._flipAnchor("top",l),i=!0):this.y>flixel_FlxG.height+this.get_height()&&(this._flipAnchor("bottom",l),i=!0),this.set_flipX(t),this.set_flipY(i)}}},_flipAnchor:function(e,t){var i=null;switch(e){case"bottom":"bottom"==this.anchor.y.side&&(this._bottomAnchor=this.anchor.getFlipped(!0,!1,this._bottomAnchor),i=this._bottomAnchor);break;case"left":"left"==this.anchor.x.side&&(this._leftAnchor=this.anchor.getFlipped(!0,!1,this._leftAnchor),i=this._leftAnchor);break;case"right":"right"==this.anchor.x.side&&(this._topAnchor=this.anchor.getFlipped(!0,!1,this._rightAnchor),i=this._rightAnchor);break;case"top":"top"==this.anchor.y.side&&(this._topAnchor=this.anchor.getFlipped(!0,!1,this._topAnchor),i=this._topAnchor)}null!=i&&i.anchorThing(this,t)},__class__:flixel_addons_ui_FlxUICursor,__properties__:$extend(flixel_addons_ui_FlxUISprite.prototype.__properties__,{set_gamepad:"set_gamepad",get_gamepad:"get_gamepad",set_listIndex:"set_listIndex",set_location:"set_location"})});var flixel_addons_ui_GamepadAutoConnectPreference=$hxEnums["flixel.addons.ui.GamepadAutoConnectPreference"]={__ename__:"flixel.addons.ui.GamepadAutoConnectPreference",__constructs__:["Never","FirstActive","LastActive","GamepadID"],Never:{_hx_index:0,__enum__:"flixel.addons.ui.GamepadAutoConnectPreference",toString:$estr},FirstActive:{_hx_index:1,__enum__:"flixel.addons.ui.GamepadAutoConnectPreference",toString:$estr},LastActive:{_hx_index:2,__enum__:"flixel.addons.ui.GamepadAutoConnectPreference",toString:$estr},GamepadID:($_=function(e){return{_hx_index:3,i:e,__enum__:"flixel.addons.ui.GamepadAutoConnectPreference",toString:$estr}},$_.__params__=["i"],$_)},flixel_addons_ui_SortMethod=$hxEnums["flixel.addons.ui.SortMethod"]={__ename__:"flixel.addons.ui.SortMethod",__constructs__:["XY","ID"],XY:{_hx_index:0,__enum__:"flixel.addons.ui.SortMethod",toString:$estr},ID:{_hx_index:1,__enum__:"flixel.addons.ui.SortMethod",toString:$estr}},flixel_addons_ui_FlxUIDropDownMenu=function(e,t,i,l,n,s,a,r){if(null==t&&(t=0),null==e&&(e=0),this.dropDirection=flixel_addons_ui_FlxUIDropDownMenuDropDirection.Automatic,this.list=[],flixel_addons_ui_FlxUIGroup.call(this,e,t),this.callback=l,this.header=n,this.dropPanel=s,null==this.header&&(this.header=new flixel_addons_ui_FlxUIDropDownHeader),null==this.dropPanel){var _=new openfl_geom_Rectangle(0,0,this.header.background.get_width(),this.header.background.get_height());this.dropPanel=new flixel_addons_ui_FlxUI9SliceSprite(0,0,"flixel/flixel-ui/img/box.png",_,[1,1,14,14])}if(null!=i){for(var o=0,h=i.length;o<h;){var u=o++,d=i[u];this.list.push(this.makeListButton(u,d.label,d.name))}this.selectSomething(i[0].name,i[0].label)}else if(null!=a)for(o=0;o<a.length;){c=a[o];++o,this.list.push(c),c.resize(this.header.background.get_width(),this.header.background.get_height()),c.set_x(1)}this.updateButtonPositions(),this.dropPanel.resize(this.header.background.get_width(),this.getPanelHeight()),this.dropPanel.set_visible(!1),this.add(this.dropPanel);for(var o=0,h=this.list;o<h.length;){var c=h[o];++o,this.add(c),c.set_visible(!1)}this.header.button.onUp.callback=$bind(this,this.onDropdown),this.add(this.header)};$hxClasses["flixel.addons.ui.FlxUIDropDownMenu"]=flixel_addons_ui_FlxUIDropDownMenu,flixel_addons_ui_FlxUIDropDownMenu.__name__="flixel.addons.ui.FlxUIDropDownMenu",flixel_addons_ui_FlxUIDropDownMenu.__interfaces__=[flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIClickable,flixel_addons_ui_interfaces_IFlxUIWidget],flixel_addons_ui_FlxUIDropDownMenu.makeStrIdLabelArray=function(e,t){null==t&&(t=!1);for(var i=[],l=0,n=e.length;l<n;){var s=l++,a=e[s];t&&(a=null==s?"null":""+s),i[s]=new flixel_addons_ui_StrNameLabel(a,e[s])}return i},flixel_addons_ui_FlxUIDropDownMenu.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUIDropDownMenu.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{skipButtonUpdate:null,set_skipButtonUpdate:function(e){return this.skipButtonUpdate=e,this.header.button.set_skipButtonUpdate(e),e},_selectedId:null,_selectedLabel:null,get_selectedId:function(){return this._selectedId},set_selectedId:function(e){if(this._selectedId==e)return e;for(var t=0,i=0,l=this.list;i<l.length;){var n=l[i];if(++i,null!=n&&n.name==e){var s=this.list[t];return this._selectedId=e,null!=s.label?(this._selectedLabel=s.label.text,this.header.text.set_text(s.label.text)):(this._selectedLabel="",this.header.text.set_text("")),e}++t}return e},get_selectedLabel:function(){return this._selectedLabel},set_selectedLabel:function(e){if(this._selectedLabel==e)return e;for(var t=0,i=0,l=this.list;i<l.length;){var n=l[i];if(++i,n.label.text==e){var s=this.list[t];return this._selectedId=s.name,this._selectedLabel=e,this.header.text.set_text(e),e}++t}return e},header:null,list:null,dropPanel:null,params:null,set_params:function(e){return this.params=e},dropDirection:null,set_dropDirection:function(e){return this.dropDirection=e,this.updateButtonPositions(),e},callback:null,updateButtonPositions:function(){var e=this.header.background.get_height();this.dropPanel.set_y(this.header.background.y),this.dropsUp()?(i=this.dropPanel).set_y(i.y-this.getPanelHeight()):(i=this.dropPanel).set_y(i.y+e);for(var t=this.dropPanel.y,i=0,l=this.list;i<l.length;){var n=l[i];++i,n.set_y(t),t+=e}},set_visible:function(e){for(var t=this.dropPanel.visible,i=[],l=0,n=this.list.length;l<n;){s=l++;null!=this.list[s]?i.push(this.list[s].visible):i.push(!1)}flixel_addons_ui_FlxUIGroup.prototype.set_visible.call(this,e),this.dropPanel.set_visible(t);for(var l=0,n=this.list.length;l<n;){var s=l++;null!=this.list[s]&&this.list[s].set_visible(i[s])}return e},dropsUp:function(){return this.dropDirection==flixel_addons_ui_FlxUIDropDownMenuDropDirection.Up||this.dropDirection==flixel_addons_ui_FlxUIDropDownMenuDropDirection.Automatic&&this.exceedsHeight()},exceedsHeight:function(){return this.y+this.getPanelHeight()+this.header.background.get_height()>flixel_FlxG.height},getPanelHeight:function(){return this.list.length*this.header.background.get_height()},setData:function(e){var t=0;if(null!=e){for(a=0;a<e.length;){var i=e[a];++a;var l=!1;if(null!=this.list){if(t<=this.list.length-1){var n=this.list[t];null!=n&&(n.label.set_text(i.label),this.list[t].name=i.name,l=!0)}}else this.list=[];if(!l){var s=this.makeListButton(t,i.label,i.name);this.list.push(s),this.add(s),s.set_visible(!1)}++t}if(this.list.length>e.length)for(var a=e.length,r=this.list.length;a<r;){a++;var _=this.list.pop();_.set_visible(!1),_.set_active(!1),this.remove(_,!0),_.destroy(),_=null}this.selectSomething(e[0].name,e[0].label)}this.dropPanel.resize(this.header.background.get_width(),this.getPanelHeight()),this.updateButtonPositions()},selectSomething:function(e,t){this.header.text.set_text(t),this.set_selectedId(e),this.set_selectedLabel(t)},makeListButton:function(e,t,i){var l=new flixel_addons_ui_FlxUIButton(0,0,t);l.broadcastToFlxUI=!1;var n=$bind(this,this.onClickItem),s=e,a=function(){n(s)};l.onUp.callback=a,l.name=i,l.loadGraphicSlice9(["flixel/flixel-ui/img/invis.png","flixel/flixel-ui/img/hilight.png","flixel/flixel-ui/img/hilight.png"],0|this.header.background.get_width(),0|this.header.background.get_height(),[[1,1,3,3],[1,1,3,3],[1,1,3,3]],0),(r=l.labelOffsets[2]).set_y(r.y-1),l.up_color=-16777216,l.over_color=-1,l.down_color=-1,l.resize(this.header.background.get_width()-2,this.header.background.get_height()-1),l.label.set_alignment("left"),l.autoCenterLabel(),l.set_x(1);for(var r=0,_=l.labelOffsets;r<_.length;){var o=_[r];++r;var h=o;h.set_x(h.x+2)}return l},changeLabelByIndex:function(e,t){var i=this.getBtnByIndex(e);null!=i&&null!=i.label&&i.label.set_text(t)},changeLabelById:function(e,t){var i=this.getBtnById(e);null!=i&&null!=i.label&&i.label.set_text(t)},getBtnByIndex:function(e){return e>=0&&e<this.list.length?this.list[e]:null},getBtnById:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,l.name==e)return l}return null},update:function(e){flixel_addons_ui_FlxUIGroup.prototype.update.call(this,e),this.dropPanel.visible&&2==flixel_FlxG.mouse._leftButton.current&&(flixel_FlxG.mouse.overlaps(this)||this.showList(!1))},destroy:function(){flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this),this.dropPanel=flixel_util_FlxDestroyUtil.destroy(this.dropPanel),this.list=flixel_util_FlxDestroyUtil.destroyArray(this.list),this.callback=null},showList:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];++t,l.set_visible(e),l.set_active(e)}this.dropPanel.set_visible(e),flixel_addons_ui_FlxUI.forceFocus(e,this)},onDropdown:function(){this.dropPanel.visible?this.showList(!1):this.showList(!0)},onClickItem:function(e){var t=this.list[e];this.selectSomething(t.name,t.label.text),this.showList(!1),null!=this.callback&&this.callback(t.name),this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("click_dropdown",this,t.name,this.params)},__class__:flixel_addons_ui_FlxUIDropDownMenu,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_dropDirection:"set_dropDirection",set_params:"set_params",set_selectedLabel:"set_selectedLabel",get_selectedLabel:"get_selectedLabel",set_selectedId:"set_selectedId",get_selectedId:"get_selectedId",set_skipButtonUpdate:"set_skipButtonUpdate"})});var flixel_addons_ui_FlxUIDropDownHeader=function(e,t,i,l){null==e&&(e=120),flixel_addons_ui_FlxUIGroup.call(this),this.background=t,this.text=i,this.button=l,null==this.background&&(this.background=new flixel_addons_ui_FlxUI9SliceSprite(0,0,"flixel/flixel-ui/img/box.png",new openfl_geom_Rectangle(0,0,e,20),[1,1,14,14])),null==this.button&&(this.button=new flixel_addons_ui_FlxUISpriteButton(0,0,new flixel_FlxSprite(0,0,"flixel/flixel-ui/img/dropdown_mark.png")),this.button.loadGraphicSlice9(["flixel/flixel-ui/img/button_thin.png"],80,20,[flixel_util_FlxStringUtil.toIntArray("6,6,11,11")],0,-1,!1,18,18)),this.button.resize(this.background.get_height(),this.background.get_height()),this.button.set_x(this.background.x+this.background.get_width()-this.button.get_width()),this.button.set_width(e);var n=this.button.offset;n.set_x(n.x-(e-this.button.frameWidth)),this.button.set_x(this.offset.x),(n=this.button.label.offset).set_x(n.x+this.button.offset.x),null==this.text&&(this.text=new flixel_addons_ui_FlxUIText(0,0,0|this.background.get_width())),this.text.setPosition(2,4),this.text.set_color(-16777216),this.add(this.background),this.add(this.button),this.add(this.text)};$hxClasses["flixel.addons.ui.FlxUIDropDownHeader"]=flixel_addons_ui_FlxUIDropDownHeader,flixel_addons_ui_FlxUIDropDownHeader.__name__="flixel.addons.ui.FlxUIDropDownHeader",flixel_addons_ui_FlxUIDropDownHeader.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUIDropDownHeader.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{background:null,text:null,button:null,destroy:function(){flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this),this.background=flixel_util_FlxDestroyUtil.destroy(this.background),this.text=flixel_util_FlxDestroyUtil.destroy(this.text),this.button=flixel_util_FlxDestroyUtil.destroy(this.button)},__class__:flixel_addons_ui_FlxUIDropDownHeader});var flixel_addons_ui_FlxUIDropDownMenuDropDirection=$hxEnums["flixel.addons.ui.FlxUIDropDownMenuDropDirection"]={__ename__:"flixel.addons.ui.FlxUIDropDownMenuDropDirection",__constructs__:["Automatic","Down","Up"],Automatic:{_hx_index:0,__enum__:"flixel.addons.ui.FlxUIDropDownMenuDropDirection",toString:$estr},Down:{_hx_index:1,__enum__:"flixel.addons.ui.FlxUIDropDownMenuDropDirection",toString:$estr},Up:{_hx_index:2,__enum__:"flixel.addons.ui.FlxUIDropDownMenuDropDirection",toString:$estr}},flixel_addons_ui_FlxUIInputText=function(e,t,i,l,n,s,a,r){this.broadcastToFlxUI=!0,flixel_addons_ui_FlxInputText.call(this,e,t,i,l,n,s,a,r)};$hxClasses["flixel.addons.ui.FlxUIInputText"]=flixel_addons_ui_FlxUIInputText,flixel_addons_ui_FlxUIInputText.__name__="flixel.addons.ui.FlxUIInputText",flixel_addons_ui_FlxUIInputText.__interfaces__=[flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUIInputText.__super__=flixel_addons_ui_FlxInputText,flixel_addons_ui_FlxUIInputText.prototype=$extend(flixel_addons_ui_FlxInputText.prototype,{name:null,broadcastToFlxUI:null,resize:function(e,t){this.set_width(e),this.set_height(t),this.calcFrame()},onChange:function(e){if(flixel_addons_ui_FlxInputText.prototype.onChange.call(this,e),this.broadcastToFlxUI)switch(e){case"backspace":case"delete":flixel_addons_ui_FlxUI.event("delete_input_text",this,this.text,this.params),flixel_addons_ui_FlxUI.event("change_input_text",this,this.text,this.params);break;case"enter":flixel_addons_ui_FlxUI.event("enter_input_text",this,this.text,this.params);break;case"input":flixel_addons_ui_FlxUI.event("input_input_text",this,this.text,this.params),flixel_addons_ui_FlxUI.event("change_input_text",this,this.text,this.params)}},__class__:flixel_addons_ui_FlxUIInputText});var flixel_addons_ui_FlxUILine=function(e,t,i,l,n,s){this.thickness=1,this.length=10,this.axis=flixel_addons_ui_LineAxis.HORIZONTAL,flixel_addons_ui_FlxUISprite.call(this,e,t),this.makeGraphic(2,2,-1),this.set_color(s),this.set_axis(i),this.set_length(l),this.set_thickness(n)};$hxClasses["flixel.addons.ui.FlxUILine"]=flixel_addons_ui_FlxUILine,flixel_addons_ui_FlxUILine.__name__="flixel.addons.ui.FlxUILine",flixel_addons_ui_FlxUILine.__interfaces__=[flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUILine.__super__=flixel_addons_ui_FlxUISprite,flixel_addons_ui_FlxUILine.prototype=$extend(flixel_addons_ui_FlxUISprite.prototype,{axis:null,length:null,thickness:null,set_axis:function(e){return this.axis=e,this.refresh(),e},set_length:function(e){return this.length=e,this.refresh(),e},set_thickness:function(e){return this.thickness=e,this.refresh(),e},refresh:function(){this.axis==flixel_addons_ui_LineAxis.HORIZONTAL?this.scale.set(.5*this.length,.5*this.thickness):this.scale.set(.5*this.thickness,.5*this.length),this.updateHitbox()},resize:function(e,t){this.axis==flixel_addons_ui_LineAxis.HORIZONTAL?(this.set_length(e),this.set_thickness(t)):(this.set_length(t),this.set_thickness(e))},__class__:flixel_addons_ui_FlxUILine,__properties__:$extend(flixel_addons_ui_FlxUISprite.prototype.__properties__,{set_thickness:"set_thickness",set_length:"set_length",set_axis:"set_axis"})});var flixel_addons_ui_LineAxis=$hxEnums["flixel.addons.ui.LineAxis"]={__ename__:"flixel.addons.ui.LineAxis",__constructs__:["HORIZONTAL","VERTICAL"],HORIZONTAL:{_hx_index:0,__enum__:"flixel.addons.ui.LineAxis",toString:$estr},VERTICAL:{_hx_index:1,__enum__:"flixel.addons.ui.LineAxis",toString:$estr}},flixel_addons_ui_FlxUIList=function(e,t,i,l,n,s,a,r,_,o,h,u){if(null==r&&(r=0),null==a&&(a=1),null==s&&(s="<X> more..."),null==n&&(n=0),null==l&&(l=0),null==t&&(t=0),null==e&&(e=0),this._skipRefresh=!1,this.scrollIndex=0,this._skipRefresh=!0,flixel_addons_ui_FlxUIGroup.call(this,e,t),this.set_stacking(a),this.set_spacing(r),null!=i)for(c=0;c<i.length;){var d=i[c];++c,this.add(d)}if(this.prevButton=h,this.nextButton=u,this.prevButtonOffset=_,this.nextButtonOffset=o,this.set_moreString(s),null==this.prevButton){var c=$bind(this,this.onClick),p=new flixel_addons_ui_FlxUIButton(0,0," ",function(){c(-1)});0==this.stacking?(p.loadGraphicsUpOverDown("flixel/flixel-ui/img/button_arrow_left.png"),p.label.set_width(p.label.set_fieldWidth(100)),p.label.set_text(this.getMoreString(0)),p.setAllLabelOffsets(p.get_width()-p.label.get_width(),p.get_height()+2),p.label.set_alignment("right")):(p.loadGraphicsUpOverDown("flixel/flixel-ui/img/button_arrow_up.png"),p.label.set_width(p.label.set_fieldWidth(100)),p.label.set_text(this.getMoreString(0)),p.setAllLabelOffsets(0,0),p.setCenterLabelOffset(p.get_width()+2,p.get_height()-p.label.get_height()),p.label.set_alignment("left")),this.prevButton=p}else{if(this.prevButton instanceof flixel_addons_ui_FlxUIButton){var f=this.prevButton,m=$bind(this,this.onClick),x=function(){m(-1)};f.onUp.callback=x}if(this.prevButton instanceof flixel_addons_ui_FlxUISpriteButton){var g=this.prevButton,F=$bind(this,this.onClick),x=function(){F(-1)};g.onUp.callback=x}}if(null==this.nextButton){var y=$bind(this,this.onClick),S=new flixel_addons_ui_FlxUIButton(0,0," ",function(){y(1)});0==this.stacking?(S.loadGraphicsUpOverDown("flixel/flixel-ui/img/button_arrow_right.png"),S.label.set_width(S.label.set_fieldWidth(100)),S.label.set_text(this.getMoreString(0)),S.setAllLabelOffsets(0,S.get_height()+2),S.label.set_alignment("left")):(S.loadGraphicsUpOverDown("flixel/flixel-ui/img/button_arrow_down.png"),S.label.set_width(S.label.set_fieldWidth(100)),S.label.set_text(this.getMoreString(0)),S.setAllLabelOffsets(0,0),S.setCenterLabelOffset(S.get_width()+2,0),S.label.set_alignment("left")),this.nextButton=S}else{if(this.nextButton instanceof flixel_addons_ui_FlxUIButton){var f=this.nextButton,b=$bind(this,this.onClick),x=function(){b(1)};f.onUp.callback=x}if(this.nextButton instanceof flixel_addons_ui_FlxUISpriteButton){var g=this.nextButton,U=$bind(this,this.onClick),x=function(){U(1)};g.onUp.callback=x}}if(null==this.prevButtonOffset){e=0;null==(t=0)&&(t=0),null==e&&(e=0),(v=flixel_math_FlxPoint._pool.get().set(e,t))._inPool=!1,this.prevButtonOffset=v}if(null==this.nextButtonOffset){var e=0;null==(t=0)&&(t=0),null==e&&(e=0);var v=flixel_math_FlxPoint._pool.get().set(e,t);v._inPool=!1,this.nextButtonOffset=v}this._skipRefresh=!1,this.setSize(l,n)};$hxClasses["flixel.addons.ui.FlxUIList"]=flixel_addons_ui_FlxUIList,flixel_addons_ui_FlxUIList.__name__="flixel.addons.ui.FlxUIList",flixel_addons_ui_FlxUIList.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUIList.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{scrollIndex:null,set_scrollIndex:function(e){return this.scrollIndex=e,this.refreshList(),e},stacking:null,set_stacking:function(e){return this.stacking=e,this.refreshList(),e},spacing:null,set_spacing:function(e){return this.spacing=e,this.refreshList(),e},prevButtonOffset:null,nextButtonOffset:null,prevButton:null,nextButton:null,moreString:null,set_moreString:function(e){return this.moreString=e,this.refreshList(),this.moreString},amountPrevious:null,amountNext:null,destroy:function(){this.prevButton=null,this.nextButton=null,this.prevButtonOffset.put(),this.nextButtonOffset.put(),this.prevButtonOffset=null,this.nextButtonOffset=null,flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this)},setSize:function(e,t){var i=!1;0==this._skipRefresh&&(this._skipRefresh=!0,i=!0),this.set_width(e),this.set_height(t),i&&(this._skipRefresh=!1),this.refreshList()},add:function(e){return flixel_addons_ui_FlxUIGroup.prototype.add.call(this,e),this.refreshList(),e},safeAdd:function(e){return flixel_addons_ui_FlxUIGroup.prototype.add.call(this,e)},_skipRefresh:null,getMoreString:function(e){for(var t=this.moreString;-1!=t.indexOf("<X>");)t=StringTools.replace(t,"<X>",null==e?"null":""+e);return t},set_visible:function(e){return flixel_addons_ui_FlxUIGroup.prototype.set_visible.call(this,e),this.refreshList(),e},onClick:function(e){var t=this;t.set_scrollIndex(t.scrollIndex+e),this.refreshList()},refreshList:function(){if(!this._skipRefresh){this.autoBounds=!1,-1!=this.group.members.indexOf(this.prevButton)&&this.remove(this.prevButton,!0),-1!=this.group.members.indexOf(this.nextButton)&&this.remove(this.nextButton,!0);var e=0,t=0,i=0,l=!0;0==this.stacking?(this.prevButton.set_x(this.prevButtonOffset.x-this.prevButton.get_width()-2),this.prevButton.set_y(this.prevButtonOffset.y),this.nextButton.set_x(this.nextButtonOffset.x+this.get_width()+2),this.nextButton.set_y(this.nextButtonOffset.y)):(this.prevButton.set_x(this.prevButtonOffset.x),this.prevButton.set_y(this.prevButtonOffset.y-this.prevButton.get_height()-2),this.nextButton.set_x(this.nextButtonOffset.x),this.nextButton.set_y(this.nextButtonOffset.y+this.get_height()+2)),this.prevButton.set_x(0|this.prevButton.x),this.prevButton.set_y(0|this.prevButton.y),this.nextButton.set_x(0|this.nextButton.x),this.nextButton.set_y(0|this.nextButton.y);for(var n=0,s=0,a=this.group.members;s<a.length;){var r=a[s];++s,l=!1,i>=this.scrollIndex&&(l=1==this.stacking?t+r.get_height()<=this.get_height()||this.get_height()<=0:e+r.get_width()<=this.get_width()||this.get_width()<=0),l?(n=i,r.set_visible(r.set_active(!0)),r.set_x(this.x+e),r.set_y(this.y+t),1==this.stacking?t+=r.get_height()+this.spacing:e+=r.get_width()+this.spacing):(r.set_x(r.set_y(0)),r.set_visible(r.set_active(!1))),++i}this.amountPrevious=this.scrollIndex,this.amountNext=this.group.members.length-(n+1);this.amountPrevious>0&&(this.safeAdd(this.prevButton),this.prevButton instanceof flixel_addons_ui_FlxUIButton&&this.prevButton.label.set_text(this.getMoreString(this.amountPrevious))),this.amountNext>0&&(this.safeAdd(this.nextButton),this.nextButton instanceof flixel_addons_ui_FlxUIButton&&this.nextButton.label.set_text(this.getMoreString(this.amountNext)))}},get_width:function(){return this.width},get_height:function(){return this.height},set_width:function(e){return this.width=e,this.refreshList(),e},set_height:function(e){return this.height=e,this.refreshList(),e},__class__:flixel_addons_ui_FlxUIList,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_moreString:"set_moreString",set_spacing:"set_spacing",set_stacking:"set_stacking",set_scrollIndex:"set_scrollIndex"})});var flixel_input_FlxPointer=function(){this._globalScreenY=0,this._globalScreenX=0,this.screenY=0,this.screenX=0,this.y=0,this.x=0};$hxClasses["flixel.input.FlxPointer"]=flixel_input_FlxPointer,flixel_input_FlxPointer.__name__="flixel.input.FlxPointer",flixel_input_FlxPointer.prototype={x:null,y:null,screenX:null,screenY:null,_globalScreenX:null,_globalScreenY:null,getWorldPosition:function(e,t){if(null==e&&(e=flixel_FlxG.camera),null==t){var i=flixel_math_FlxPoint._pool.get().set(0,0);i._inPool=!1,t=i}return this.getScreenPosition(e,flixel_input_FlxPointer._cachedPoint),t.set_x(flixel_input_FlxPointer._cachedPoint.x+e.scroll.x),t.set_y(flixel_input_FlxPointer._cachedPoint.y+e.scroll.y),t},getScreenPosition:function(e,t){if(null==e&&(e=flixel_FlxG.camera),null==t){var i=flixel_math_FlxPoint._pool.get().set(0,0);i._inPool=!1,t=i}return t.set_x((this._globalScreenX-e.x+.5*e.width*(e.zoom-e.initialZoom))/e.zoom),t.set_y((this._globalScreenY-e.y+.5*e.height*(e.zoom-e.initialZoom))/e.zoom),t},getPositionInCameraView:function(e,t){if(null==e&&(e=flixel_FlxG.camera),null==t){var i=flixel_math_FlxPoint._pool.get().set(0,0);i._inPool=!1,t=i}return t.set_x((this._globalScreenX-e.x)/e.zoom+e.viewOffsetX),t.set_y((this._globalScreenY-e.y)/e.zoom+e.viewOffsetY),t},getPosition:function(e){if(null==e){var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,e=t}return e.set(this.x,this.y)},overlaps:function(e,t){var i=this,l=!1,n=flixel_group_FlxTypedGroup.resolveGroup(e);return null!=n?n.forEachExists(function(e){i.overlaps(e,t)&&(l=!0)}):(this.getPosition(flixel_input_FlxPointer._cachedPoint),l=e.overlapsPoint(flixel_input_FlxPointer._cachedPoint,!0,t)),l},setGlobalScreenPositionUnsafe:function(e,t){this._globalScreenX=e/flixel_FlxG.scaleMode.scale.x|0,this._globalScreenY=t/flixel_FlxG.scaleMode.scale.y|0,this.updatePositions()},toString:function(){var e=this.x,t=flixel_util_LabelValuePair._pool.get();t.label="x",t.value=e;var e=this.y,i=flixel_util_LabelValuePair._pool.get();return i.label="y",i.value=e,flixel_util_FlxStringUtil.getDebugString([t,i])},updatePositions:function(){this.getScreenPosition(flixel_FlxG.camera,flixel_input_FlxPointer._cachedPoint),this.screenX=0|flixel_input_FlxPointer._cachedPoint.x,this.screenY=0|flixel_input_FlxPointer._cachedPoint.y,this.getWorldPosition(flixel_FlxG.camera,flixel_input_FlxPointer._cachedPoint),this.x=0|flixel_input_FlxPointer._cachedPoint.x,this.y=0|flixel_input_FlxPointer._cachedPoint.y},__class__:flixel_input_FlxPointer};var flixel_input_IFlxInputManager=function(){};$hxClasses["flixel.input.IFlxInputManager"]=flixel_input_IFlxInputManager,flixel_input_IFlxInputManager.__name__="flixel.input.IFlxInputManager",flixel_input_IFlxInputManager.__isInterface__=!0,flixel_input_IFlxInputManager.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_IFlxInputManager.prototype={reset:null,update:null,onFocus:null,onFocusLost:null,__class__:flixel_input_IFlxInputManager};var flixel_input_mouse_FlxMouse=function(e){this._prevY=0,this._prevX=0,this._lastWheel=0,this._lastY=0,this._lastX=0,this._visibleWhenFocusLost=!0,this._wheelUsed=!1,this._cursor=null,this.useSystemCursor=!1,this.visible=!0,this.wheel=0,this.enabled=!0,flixel_input_FlxPointer.call(this),this.cursorContainer=e,this.cursorContainer.mouseChildren=!1,this.cursorContainer.mouseEnabled=!1,this._leftButton=new flixel_input_mouse_FlxMouseButton(-1),this._stage=openfl_Lib.get_current().stage,this._stage.addEventListener("mouseDown",($_=this._leftButton,$bind($_,$_.onDown))),this._stage.addEventListener("mouseUp",($_=this._leftButton,$bind($_,$_.onUp))),this._middleButton=new flixel_input_mouse_FlxMouseButton(-2),this._rightButton=new flixel_input_mouse_FlxMouseButton(-3),this._stage.addEventListener("middleMouseDown",($_=this._middleButton,$bind($_,$_.onDown))),this._stage.addEventListener("middleMouseUp",($_=this._middleButton,$bind($_,$_.onUp))),this._stage.addEventListener("rightMouseDown",($_=this._rightButton,$bind($_,$_.onDown))),this._stage.addEventListener("rightMouseUp",($_=this._rightButton,$bind($_,$_.onUp))),this._stage.addEventListener("mouseLeave",$bind(this,this.onMouseLeave)),this._stage.addEventListener("mouseWheel",$bind(this,this.onMouseWheel)),flixel_FlxG.signals.postGameStart.add($bind(this,this.onGameStart)),openfl_ui_Mouse.hide()};$hxClasses["flixel.input.mouse.FlxMouse"]=flixel_input_mouse_FlxMouse,flixel_input_mouse_FlxMouse.__name__="flixel.input.mouse.FlxMouse",flixel_input_mouse_FlxMouse.__interfaces__=[flixel_input_IFlxInputManager],flixel_input_mouse_FlxMouse.__super__=flixel_input_FlxPointer,flixel_input_mouse_FlxMouse.prototype=$extend(flixel_input_FlxPointer.prototype,{enabled:null,wheel:null,cursorContainer:null,visible:null,useSystemCursor:null,_leftButton:null,_middleButton:null,_rightButton:null,_cursor:null,_cursorBitmapData:null,_wheelUsed:null,_visibleWhenFocusLost:null,_lastX:null,_lastY:null,_lastWheel:null,_lastLeftButtonState:null,_prevX:null,_prevY:null,_stage:null,load:function(e,t,i,l){if(null==l&&(l=0),null==i&&(i=0),null==t&&(t=1),null!=this._cursor&&flixel_util_FlxDestroyUtil.removeChild(this.cursorContainer,this._cursor),null==e&&(e=new flixel_input_mouse__$FlxMouse_GraphicCursor(0,0)),js_Boot.__instanceof(e,Class))this._cursor=Type.createInstance(e,[]);else if(e instanceof openfl_display_BitmapData)this._cursor=new openfl_display_Bitmap(e);else if("string"==typeof e){var n=e;this._cursor=new openfl_display_Bitmap(openfl_utils_Assets.exists(n)?openfl_utils_Assets.getBitmapData(n,!1):null)}else this._cursor=new openfl_display_Bitmap(new flixel_input_mouse__$FlxMouse_GraphicCursor(0,0));this._cursor.set_x(i),this._cursor.set_y(l),this._cursor.set_scaleX(t),this._cursor.set_scaleY(t),this.cursorContainer.addChild(this._cursor)},unload:function(){null!=this._cursor&&(this.cursorContainer.get_visible()?this.load():this._cursor=flixel_util_FlxDestroyUtil.removeChild(this.cursorContainer,this._cursor))},destroy:function(){null!=this._stage&&(this._stage.removeEventListener("mouseDown",($_=this._leftButton,$bind($_,$_.onDown))),this._stage.removeEventListener("mouseUp",($_=this._leftButton,$bind($_,$_.onUp))),this._stage.removeEventListener("middleMouseDown",($_=this._middleButton,$bind($_,$_.onDown))),this._stage.removeEventListener("middleMouseUp",($_=this._middleButton,$bind($_,$_.onUp))),this._stage.removeEventListener("rightMouseDown",($_=this._rightButton,$bind($_,$_.onDown))),this._stage.removeEventListener("rightMouseUp",($_=this._rightButton,$bind($_,$_.onUp))),this._stage.removeEventListener("mouseLeave",$bind(this,this.onMouseLeave)),this._stage.removeEventListener("mouseWheel",$bind(this,this.onMouseWheel))),this.cursorContainer=null,this._cursor=null,this._leftButton=flixel_util_FlxDestroyUtil.destroy(this._leftButton),this._middleButton=flixel_util_FlxDestroyUtil.destroy(this._middleButton),this._rightButton=flixel_util_FlxDestroyUtil.destroy(this._rightButton),this._cursorBitmapData=flixel_util_FlxDestroyUtil.dispose(this._cursorBitmapData),flixel_FlxG.signals.postGameStart.remove($bind(this,this.onGameStart))},reset:function(){this._leftButton.reset(),this._middleButton.reset(),this._rightButton.reset()},update:function(){this._prevX=this.x,this._prevY=this.y;var e=flixel_FlxG.game.get_mouseX(),t=flixel_FlxG.game.get_mouseY();this._globalScreenX=e/flixel_FlxG.scaleMode.scale.x|0,this._globalScreenY=t/flixel_FlxG.scaleMode.scale.y|0,this.updatePositions(),this.visible&&(this.cursorContainer.set_x(flixel_FlxG.game.get_mouseX()),this.cursorContainer.set_y(flixel_FlxG.game.get_mouseY())),this._leftButton.update(),this._middleButton.update(),this._rightButton.update(),this._wheelUsed||(this.wheel=0),this._wheelUsed=!1},onFocus:function(){this.reset(),this.set_useSystemCursor(this.useSystemCursor),this.set_visible(this._visibleWhenFocusLost)},onFocusLost:function(){this._visibleWhenFocusLost=this.visible,this.visible&&this.set_visible(!1),openfl_ui_Mouse.show()},onGameStart:function(){this.set_visible(this.visible)},onMouseWheel:function(e){this.enabled&&(this._wheelUsed=!0,this.wheel=e.delta)},onMouseLeave:function(e){this._rightButton.onUp(),this._middleButton.onUp()},get_justMoved:function(){return this._prevX!=this.x||this._prevY!=this.y},get_pressed:function(){var e=this._leftButton;return 1==e.current||2==e.current},get_justPressed:function(){return 2==this._leftButton.current},get_justReleased:function(){return-1==this._leftButton.current},get_justPressedTimeInTicks:function(){return this._leftButton.justPressedTimeInTicks},get_pressedRight:function(){var e=this._rightButton;return 1==e.current||2==e.current},get_justPressedRight:function(){return 2==this._rightButton.current},get_justReleasedRight:function(){return-1==this._rightButton.current},get_justPressedTimeInTicksRight:function(){return this._rightButton.justPressedTimeInTicks},get_pressedMiddle:function(){var e=this._middleButton;return 1==e.current||2==e.current},get_justPressedMiddle:function(){return 2==this._middleButton.current},get_justReleasedMiddle:function(){return-1==this._middleButton.current},get_justPressedTimeInTicksMiddle:function(){return this._middleButton.justPressedTimeInTicks},showSystemCursor:function(){this.cursorContainer.set_visible(!1),openfl_ui_Mouse.show()},hideSystemCursor:function(){openfl_ui_Mouse.hide(),this.visible&&this.cursorContainer.set_visible(!0)},set_useSystemCursor:function(e){return e?this.showSystemCursor():this.hideSystemCursor(),this.useSystemCursor=e},showCursor:function(){this.useSystemCursor?openfl_ui_Mouse.show():(null==this._cursor&&this.load(),this.cursorContainer.set_visible(!0),openfl_ui_Mouse.hide())},hideCursor:function(){this.cursorContainer.set_visible(!1),openfl_ui_Mouse.hide()},set_visible:function(e){return e?this.showCursor():this.hideCursor(),this.visible=e},record:function(){return this._lastX==this._globalScreenX&&this._lastY==this._globalScreenY&&this._lastLeftButtonState==this._leftButton.current&&this._lastWheel==this.wheel?null:(this._lastX=this._globalScreenX,this._lastY=this._globalScreenY,this._lastLeftButtonState=this._leftButton.current,this._lastWheel=this.wheel,new flixel_system_replay_MouseRecord(this._lastX,this._lastY,this._leftButton.current,this._lastWheel))},playback:function(e){1!=this._lastLeftButtonState&&2!=this._lastLeftButtonState||0!=e.button&&-1!=e.button||this._stage.dispatchEvent(new openfl_events_MouseEvent("mouseUp",!0,!1,e.x,e.y)),this._lastLeftButtonState=this._leftButton.current=e.button,this.wheel=e.wheel,this._globalScreenX=e.x,this._globalScreenY=e.y,this.updatePositions()},__class__:flixel_input_mouse_FlxMouse,__properties__:{get_justPressedTimeInTicksMiddle:"get_justPressedTimeInTicksMiddle",get_justReleasedMiddle:"get_justReleasedMiddle",get_justPressedMiddle:"get_justPressedMiddle",get_pressedMiddle:"get_pressedMiddle",get_justPressedTimeInTicksRight:"get_justPressedTimeInTicksRight",get_justReleasedRight:"get_justReleasedRight",get_justPressedRight:"get_justPressedRight",get_pressedRight:"get_pressedRight",get_justPressedTimeInTicks:"get_justPressedTimeInTicks",get_justReleased:"get_justReleased",get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_justMoved:"get_justMoved",set_useSystemCursor:"set_useSystemCursor",set_visible:"set_visible"}});var flixel_addons_ui_FlxUIMouse=function(e){this.updateGlobalScreenPosition=!0,flixel_input_mouse_FlxMouse.call(this,e)};$hxClasses["flixel.addons.ui.FlxUIMouse"]=flixel_addons_ui_FlxUIMouse,flixel_addons_ui_FlxUIMouse.__name__="flixel.addons.ui.FlxUIMouse",flixel_addons_ui_FlxUIMouse.__super__=flixel_input_mouse_FlxMouse,flixel_addons_ui_FlxUIMouse.prototype=$extend(flixel_input_mouse_FlxMouse.prototype,{updateGlobalScreenPosition:null,update:function(){var e=this._globalScreenX,t=this._globalScreenY;flixel_input_mouse_FlxMouse.prototype.update.call(this),this.updateGlobalScreenPosition||(this._globalScreenX=e,this._globalScreenY=t)},__class__:flixel_addons_ui_FlxUIMouse});var flixel_addons_ui_FlxUINumericStepper=function(e,t,i,l,n,s,a,r,_,o,h,u){if(null==u&&(u=!1),null==r&&(r=1),null==a&&(a=0),null==s&&(s=999),null==n&&(n=-999),null==l&&(l=0),null==i&&(i=1),null==t&&(t=0),null==e&&(e=0),this.isPercent=!1,this.stack=1,this.value=0,this.max=10,this.min=0,this.decimals=0,this.stepSize=0,flixel_addons_ui_FlxUIGroup.call(this,e,t),null==_&&(_=new flixel_addons_ui_FlxUIInputText(0,0,25)),_.set_x(0),_.set_y(0),this.text_field=_,this.text_field.set_text(null==l?"null":""+l),this.text_field instanceof flixel_addons_ui_FlxUIInputText){var d=this.text_field;d.set_lines(1),d.callback=$bind(this,this._onInputTextEvent),d.broadcastToFlxUI=!1}this.stepSize=i,this.set_decimals(a),this.set_min(n),this.set_max(s),this.set_value(l),this.set_isPercent(u);var c=1+_.get_height();null==o&&((o=new flixel_addons_ui_FlxUITypedButton(0,0)).loadGraphicSlice9(["flixel/flixel-ui/img/button_thin.png"],c,c,[flixel_util_FlxStringUtil.toIntArray("2,2,15,15")],0,-1,!1,18,18),o.set_label(new flixel_FlxSprite(0,0,"flixel/flixel-ui/img/plus_mark.png"))),null==h&&((h=new flixel_addons_ui_FlxUITypedButton(0,0)).loadGraphicSlice9(["flixel/flixel-ui/img/button_thin.png"],c,c,[flixel_util_FlxStringUtil.toIntArray("2,2,15,15")],0,-1,!1,18,18),h.set_label(new flixel_FlxSprite(0,0,"flixel/flixel-ui/img/minus_mark.png"))),this.button_plus=o,this.button_minus=h,this.add(this.text_field),this.add(this.button_plus),this.add(this.button_minus),this.button_plus.onUp.callback=$bind(this,this._onPlus),this.button_plus.broadcastToFlxUI=!1,this.button_minus.onUp.callback=$bind(this,this._onMinus),this.button_minus.broadcastToFlxUI=!1,this.set_stack(r)};$hxClasses["flixel.addons.ui.FlxUINumericStepper"]=flixel_addons_ui_FlxUINumericStepper,flixel_addons_ui_FlxUINumericStepper.__name__="flixel.addons.ui.FlxUINumericStepper",flixel_addons_ui_FlxUINumericStepper.__interfaces__=[flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIClickable,flixel_addons_ui_interfaces_IFlxUIWidget],flixel_addons_ui_FlxUINumericStepper.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUINumericStepper.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{button_plus:null,button_minus:null,text_field:null,stepSize:null,decimals:null,min:null,max:null,value:null,stack:null,isPercent:null,params:null,set_params:function(e){return this.params=e,this.params},skipButtonUpdate:null,set_skipButtonUpdate:function(e){return this.skipButtonUpdate=e,this.button_plus.set_skipButtonUpdate(e),this.button_minus.set_skipButtonUpdate(e),e},set_color:function(e){return this.color=e,this.button_plus.set_color(e),this.button_minus.set_color(e),this.text_field instanceof flixel_addons_ui_FlxInputText?this.text_field.set_backgroundColor(e):this.text_field.set_color(e),e},set_min:function(e){return this.min=e,this.value<this.min&&this.set_value(this.min),this.min},set_max:function(e){return this.max=e,this.value>this.max&&this.set_value(this.max),this.max},set_value:function(e){if(this.value=e,this.value<this.min&&(this.value=this.min),this.value>this.max&&(this.value=this.max),null!=this.text_field){var t=this.value;if(this.isPercent){t*=100;i=Math.pow(10,this.decimals);this.text_field.set_text(Std.string(Std.string(Math.round(t*i)/i))+"%")}else{var i=Math.pow(10,this.decimals);this.text_field.set_text(Std.string(Math.round(t*i)/i))}}return this.value},set_decimals:function(e){return this.decimals=e,e<0&&(this.decimals=0),this.set_value(this.value),this.decimals},set_isPercent:function(e){return this.isPercent=e,this.set_value(this.value),this.isPercent},set_stack:function(e){this.stack=e;var t=10,i=0,l=0;switch(this.text_field instanceof flixel_addons_ui_FlxUIInputText&&(i=1,l=1),this.stack){case 0:t=1+this.text_field.get_height()/2,this.button_plus.get_height()!=t&&this.button_plus.resize(t,t),this.button_minus.get_height()!=t&&this.button_minus.resize(t,t),this.button_plus.set_x(i+this.text_field.x+this.text_field.get_width()),this.button_plus.set_y(-l+this.text_field.y),this.button_minus.set_x(i+this.text_field.x+this.text_field.get_width()),this.button_minus.set_y(l+this.text_field.y+(this.text_field.get_height()-this.button_minus.get_height()));break;case 1:t=2+this.text_field.get_height(),this.button_plus.get_height()!=t&&this.button_plus.resize(t,t),this.button_minus.get_height()!=t&&this.button_minus.resize(t,t),this.button_plus.set_x(i+this.text_field.x+this.text_field.get_width()),this.button_plus.set_y(-l+this.text_field.y),this.button_minus.set_x(this.button_plus.x+this.button_plus.get_width()),this.button_minus.set_y(this.button_plus.y)}return this.stack},decimalize:function(e,t){var i=Math.pow(10,t);return Std.string(Math.round(e*i)/i)},_onInputTextEvent:function(e,t){""==e&&(e=Std.string(this.min));for(var i=0,l=0,n=e.length;l<n;){var s=l++;"."==e.charAt(s)&&++i}1==i&&e.indexOf(".")==e.length-1||(this.set_value(parseFloat(e)),this._doCallback("edit_numeric_stepper"),this._doCallback("change_numeric_stepper"))},_onPlus:function(){var e=this;e.set_value(e.value+this.stepSize),this._doCallback("click_numeric_stepper"),this._doCallback("change_numeric_stepper")},_onMinus:function(){var e=this;e.set_value(e.value-this.stepSize),this._doCallback("click_numeric_stepper"),this._doCallback("change_numeric_stepper")},_doCallback:function(e){this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event(e,this,this.value,this.params)},__class__:flixel_addons_ui_FlxUINumericStepper,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_skipButtonUpdate:"set_skipButtonUpdate",set_params:"set_params",set_isPercent:"set_isPercent",set_stack:"set_stack",set_value:"set_value",set_max:"set_max",set_min:"set_min",set_decimals:"set_decimals"})});var flixel_addons_ui_FlxUIRadioGroup=function(e,t,i,l,n,s,a,r,_,o,h,u,d,c){null==o&&(o="<X> more..."),null==_&&(_=100),null==r&&(r=20),null==a&&(a=100),null==s&&(s=25),this._clickable=!0,this._selected=0,this._y_space=25,this._height=20,this._width=100,this._label_width=100,this.fixedSize=!1,flixel_addons_ui_FlxUIGroup.call(this),this._y_space=s,this._width=a,this._height=r,this._label_width=_,null==i&&(i=[]),null==l&&(l=[]),this.callback=n,this._list_radios=[],this._list_active=[],this._list=new flixel_addons_ui_FlxUIList(0,0,null,0,0,o,1,0,h,u,d,c),this.add(this._list),this.updateRadios(i,l),this.loadGraphics(null,null),this.set_x(e),this.set_y(t)};$hxClasses["flixel.addons.ui.FlxUIRadioGroup"]=flixel_addons_ui_FlxUIRadioGroup,flixel_addons_ui_FlxUIRadioGroup.__name__="flixel.addons.ui.FlxUIRadioGroup",flixel_addons_ui_FlxUIRadioGroup.__interfaces__=[flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIClickable],flixel_addons_ui_FlxUIRadioGroup.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUIRadioGroup.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{activeStyle:null,set_activeStyle:function(e){return this.activeStyle=e,this.updateActives(),this.activeStyle},inactiveStyle:null,set_inactiveStyle:function(e){return this.inactiveStyle=e,this.updateActives(),this.inactiveStyle},get_numRadios:function(){return this._list_radios.length},skipButtonUpdate:null,set_skipButtonUpdate:function(e){this.skipButtonUpdate=e;for(var t=0,i=this._list_radios;t<i.length;){var l=i[t];++t,l.set_skipButtonUpdate(e)}return this.skipButtonUpdate},callback:null,params:null,set_params:function(e){return this.params=e,this.params},fixedSize:null,set_width:function(e){return flixel_addons_ui_FlxUIGroup.prototype.set_width.call(this,e),this.fixedSize&&null!=this._list&&this._list.set_width(e),e},set_height:function(e){return flixel_addons_ui_FlxUIGroup.prototype.set_height.call(this,e),this.fixedSize&&null!=this._list&&this._list.set_height(e),e},loadGraphics:function(e,t){if(this._box_asset=null!=e?e:"flixel/flixel-ui/img/radio.png",this._dot_asset=null!=t?t:"flixel/flixel-ui/img/radio_dot.png",this._box_asset instanceof flixel_FlxSprite){i=this._box_asset;this._box_asset=i.graphic.key}if(this._dot_asset instanceof flixel_FlxSprite){var i=this._dot_asset;this._dot_asset=i.graphic.key}for(var l=0,n=this._list_radios;l<n.length;){var s=n[l];++l,s.box.loadGraphic(this._box_asset,!0),s.mark.loadGraphic(this._dot_asset)}this._refreshRadios()},destroy:function(){null!=this._list_radios&&flixel_addons_ui_U.clearArray(this._list_radios),null!=this._list_active&&flixel_addons_ui_U.clearArray(this._list_active),this._list_active=null,this._list_radios=null,this._list=null,this._ids=null,this._labels=null,flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this)},updateLabel:function(e,t){if(e>=this._list_radios.length)return!1;this._labels[e]=t;var i=this._list_radios[e];return null!=i&&(i.button.set_width(this._label_width),i.set_text(t)),!0},updateId:function(e,t){return!(e>=this._list_radios.length)&&(this._ids[e]=t,!0)},show:function(e){for(var t=0,i=this._list.group.members;t<i.length;){var l=i[t];++t,l.set_visible(e)}},updateRadios:function(e,t){this._ids=e,this._labels=t;for(var i=0,l=this._list_radios;i<l.length;){var n=l[i];++i,n.set_visible(!1)}this._refreshRadios()},getRadios:function(){return this._list_radios},getLabel:function(e){return e>=0&&e<this._labels.length?this._labels[e]:null},getId:function(e){return e>=0&&e<this._ids.length?this._ids[e]:null},getIsVisible:function(e){return e>=0&&e<this._list_radios.length&&this._list_radios[e].visible},get_clickable:function(){return this._clickable},set_clickable:function(e){this._clickable=e;for(var t=0,i=this._list_radios;t<i.length;){var l=i[t];++t,l.set_active(e)}return this._clickable},get_selectedIndex:function(){return this._selected},set_selectedIndex:function(e){this._selected=e;for(var t=0,i=0,l=this._list_radios;i<l.length;){var n=l[i];++i,n.set_checked(!1),t==e&&n.set_checked(!0),++t}return(this._selected<0||this._selected>=this._list_radios.length)&&(this._selected=-1),this._selected},get_selectedLabel:function(){return this._labels[this._selected]},set_selectedLabel:function(e){var t=0;this._selected=-1;for(var i=0,l=this._list_radios;i<l.length;){var n=l[i];++i,n.set_checked(!1),this._labels[t]==e&&(this._selected=t,n.set_checked(!0)),++t}return this._selected>=0&&this._selected<this._labels.length?this._labels[this._selected]:null},get_selectedId:function(){return this._ids[this._selected]},set_selectedId:function(e){var t=0;this._selected=-1;for(var i=0,l=this._list_radios;i<l.length;){var n=l[i];++i,n.set_checked(!1),this._ids[t]==e&&(this._selected=t,n.set_checked(!0)),++t}return this._selected>=0&&this._selected<this._ids.length?this._ids[this._selected]:null},setLineScroll:function(e,t){this._list.set_scrollIndex(e),null!=t&&1==this._list.stacking&&this.set_height(this._y_space*t+1);var i=this._list.amountPrevious,l=this._list.amountNext;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);return n._inPool=!1,n},setRadioActive:function(e,t){e>=0&&e<this._list_active.length&&(this._list_active[e]=t),this.updateActives()},_list_active:null,_list:null,_box_asset:null,_dot_asset:null,_labels:null,_ids:null,_label_width:null,_width:null,_height:null,_y_space:null,_selected:null,_clickable:null,_list_radios:null,_refreshRadios:function(){var e=this.x,t=this.y,i=0,l=0,n=0;this._list._skipRefresh=!0;for(var s=0,a=this._ids;s<a.length;){var r=a[s];++s;var _="";_=null!=this._labels&&this._labels.length>i?this._labels[i]:"<"+r+">";var o;this._list_radios.length>i?((o=this._list_radios[i]).set_visible(!0),o.set_text(_),0==i?(e=o.x,t=o.y):(o.set_x(0|e),o.set_y(0|t))):((o=new flixel_addons_ui_FlxUICheckBox(0,0,this._box_asset,this._dot_asset,_,this._label_width,[r,!1])).broadcastToFlxUI=!1,o.callback=function(e,t){return function(){e[0](t[0])}}([$bind(this,this._onCheckBoxEvent)],[o]),this._list.add(o),o.set_x(0|e),o.set_y(0|t),o.set_text(_),this._list_radios.length>0&&(o.button.copyStyle(this._list_radios[0].button),null==this.activeStyle&&this.set_activeStyle(this.makeActiveStyle()),o.button.set_width(this._list_radios[0].button.get_width()),o.button.set_height(this._list_radios[0].button.get_height()),o.set_textX(this._list_radios[0].textX),o.set_textY(this._list_radios[0].textY)),this._list_radios.push(o),this._list_active.push(!0)),e+o.get_width()>l&&(l=e+o.get_width()),t+o.get_height()>n&&(n=t+o.get_height()),t+=this._y_space,++i}0==this.fixedSize&&(n+=5,(l+=5)>this._list.get_width()&&this._list.set_width(l),n>this._list.get_height()&&this._list.set_height(n),this.set_width(l),this.set_height(n)),this._list._skipRefresh=!1,1==this.fixedSize&&this._list.refreshList(),this.updateActives()},updateActives:function(){for(var e=0,t=0,i=this._list_radios;t<i.length;){var l=i[t];++t,l.set_active(this._list_active[e]),0==this._list_active[e]&&null!=this.inactiveStyle?this.inactiveStyle.applyToCheck(l):1==this._list_active[e]&&null!=this.activeStyle&&this.activeStyle.applyToCheck(l),++e}},makeActiveStyle:function(){if(this._list_radios.length>0){var e=this._list_radios[0].button.label,t=flixel_addons_ui_FontDef.copyFromFlxText(e),i=new flixel_addons_ui_BorderDef(e.borderStyle,e.borderColor,e.borderSize,e.borderQuality);return new flixel_addons_ui_CheckStyle(16777215,t,flixel_text_FlxTextAlign.fromOpenFL(e._defaultFormat.align),e.color,i)}return null},_onCheckBoxEvent:function(e){this._onClick(e,!0)},_onClick:function(e,t){if(!this._clickable)return!1;for(var i=0,l=0,n=this._list_radios;l<n.length;){var s=n[l];++l,s.set_checked(!1),e==s&&(this._selected=i,s.set_checked(!0)),++i}return t&&(null!=this.callback&&this.callback(this.get_selectedId()),this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("click_radio_group",this,this._ids[this._selected],this.params)),!0},__class__:flixel_addons_ui_FlxUIRadioGroup,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_params:"set_params",set_skipButtonUpdate:"set_skipButtonUpdate",get_numRadios:"get_numRadios",set_inactiveStyle:"set_inactiveStyle",set_activeStyle:"set_activeStyle",set_selectedIndex:"set_selectedIndex",get_selectedIndex:"get_selectedIndex",set_selectedLabel:"set_selectedLabel",get_selectedLabel:"get_selectedLabel",set_selectedId:"set_selectedId",get_selectedId:"get_selectedId",set_clickable:"set_clickable",get_clickable:"get_clickable"})});var flixel_addons_ui_CheckStyle=function(e,t,i,l,n){this.checkColor=null,this.checkColor=e,flixel_addons_ui_ButtonLabelStyle.call(this,t,i,l,n)};$hxClasses["flixel.addons.ui.CheckStyle"]=flixel_addons_ui_CheckStyle,flixel_addons_ui_CheckStyle.__name__="flixel.addons.ui.CheckStyle",flixel_addons_ui_CheckStyle.__super__=flixel_addons_ui_ButtonLabelStyle,flixel_addons_ui_CheckStyle.prototype=$extend(flixel_addons_ui_ButtonLabelStyle.prototype,{checkColor:null,applyToCheck:function(e){null!=this.checkColor&&e.set_color(this.checkColor),this.apply(e.button.label)},__class__:flixel_addons_ui_CheckStyle});var flixel_addons_ui_FlxUIRegion=function(e,t,i,l){null==l&&(l=16),null==i&&(i=16),null==t&&(t=0),null==e&&(e=0),this.broadcastToFlxUI=!0,flixel_FlxSprite.call(this,e,t),this.makeGraphic(1,1,0),l<1&&(l=1),i<1&&(i=1),this.resize(i,l)};$hxClasses["flixel.addons.ui.FlxUIRegion"]=flixel_addons_ui_FlxUIRegion,flixel_addons_ui_FlxUIRegion.__name__="flixel.addons.ui.FlxUIRegion",flixel_addons_ui_FlxUIRegion.__interfaces__=[flixel_addons_ui_interfaces_IResizable,flixel_addons_ui_interfaces_IFlxUIWidget],flixel_addons_ui_FlxUIRegion.__super__=flixel_FlxSprite,flixel_addons_ui_FlxUIRegion.prototype=$extend(flixel_FlxSprite.prototype,{broadcastToFlxUI:null,name:null,resize:function(e,t){this.set_width(e),this.set_height(t)},__class__:flixel_addons_ui_FlxUIRegion});var flixel_addons_ui_FlxUISpriteButton=function(e,t,i,l){null==t&&(t=0),null==e&&(e=0),flixel_addons_ui_FlxUITypedButton.call(this,e,t,l),this.up_color=this.over_color=this.down_color=this.up_toggle_color=this.over_toggle_color=this.down_toggle_color=-1,null!=i&&this.set_label(i)};$hxClasses["flixel.addons.ui.FlxUISpriteButton"]=flixel_addons_ui_FlxUISpriteButton,flixel_addons_ui_FlxUISpriteButton.__name__="flixel.addons.ui.FlxUISpriteButton",flixel_addons_ui_FlxUISpriteButton.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIButton],flixel_addons_ui_FlxUISpriteButton.__super__=flixel_addons_ui_FlxUITypedButton,flixel_addons_ui_FlxUISpriteButton.prototype=$extend(flixel_addons_ui_FlxUITypedButton.prototype,{resize:function(e,t){flixel_addons_ui_FlxUITypedButton.prototype.resize.call(this,e,t),this.autoCenterLabel()},autoCenterLabel:function(){if(null!=this.label){if(this.label instanceof flixel_group_FlxTypedSpriteGroup){for(var e=this.label,t=0,i=e.group.members;t<i.length;){s=i[t];++t,s.set_x(-s.get_width()/2),s.set_y(-s.get_height()/2)}for(var l=e.get_width(),n=e.get_height(),t=0,i=e.group.members;t<i.length;){var s=i[t];++t,s.set_x((l-s.get_width())/2),s.set_y((n-s.get_height())/2)}}flixel_addons_ui_FlxUITypedButton.prototype.autoCenterLabel.call(this)}},__class__:flixel_addons_ui_FlxUISpriteButton});var flixel_addons_ui_FlxUISubState=function(e){null==e&&(e=0),this.getTextFallback=null,this._reload_countdown=0,this._reload=!1,this.reload_ui_on_resize=!1,this._xml_id="",this.cursor=null,flixel_FlxSubState.call(this,e)};$hxClasses["flixel.addons.ui.FlxUISubState"]=flixel_addons_ui_FlxUISubState,flixel_addons_ui_FlxUISubState.__name__="flixel.addons.ui.FlxUISubState",flixel_addons_ui_FlxUISubState.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIState],flixel_addons_ui_FlxUISubState.__super__=flixel_FlxSubState,flixel_addons_ui_FlxUISubState.prototype=$extend(flixel_FlxSubState.prototype,{destroyed:null,cursor:null,_makeCursor:null,tooltips:null,_xml_id:null,_ui:null,_tongue:null,reload_ui_on_resize:null,_reload:null,_reload_countdown:null,getTextFallback:null,forceScrollFactor:function(e,t){if(null!=this._ui){for(var i=0,l=this._ui.group.members;i<l.length;){var n=l[i];++i,n.scrollFactor.set(e,t)}null!=this._ui.scrollFactor&&this._ui.scrollFactor.set(e,t)}},forceFocus:function(e,t){null!=this._ui&&(e?this._ui.set_focus(t):this._ui.set_focus(null))},create:function(){if(null!=flixel_addons_ui_FlxUIState.static_tongue&&(this._tongue=flixel_addons_ui_FlxUIState.static_tongue),1==this._makeCursor&&(this.cursor=this.createCursor()),this.tooltips=new flixel_addons_ui_FlxUITooltipManager(null,this),this._ui=this.createUI(null,this,null,this._tongue),this.add(this._ui),this._ui.getTextFallback=this.getTextFallback,""!=this._xml_id&&null!=this._xml_id){var e=flixel_addons_ui_U.xml(this._xml_id);null==e&&(e=flixel_addons_ui_U.xml(this._xml_id,"xml",!0,"")),null!=e&&this._ui.load(e)}else this._ui.load(null);null!=this.cursor&&null!=this._ui&&(this.add(this.cursor),this.cursor.addWidgetsFromUI(this._ui),this.cursor.findVisibleLocation(0)),flixel_FlxG.mouse.set_visible(!0),this.tooltips.init(),flixel_FlxSubState.prototype.create.call(this),this.cleanup(),this._parentState instanceof flixel_addons_ui_FlxUIState&&(this.reload_ui_on_resize=js_Boot.__cast(this._parentState,flixel_addons_ui_FlxUIState).reload_ui_on_resize)},onCursorEvent:function(e,t){this.getEvent(e,t,null)},onShowTooltip:function(e){},onResize:function(e,t){this.reload_ui_on_resize&&(flixel_FlxG.scaleMode.onMeasure(e,t),this._reload_countdown=5,this._reload=!0)},update:function(e){flixel_FlxSubState.prototype.update.call(this,e),this.tooltips.update(e),this._reload&&this._reload_countdown>0&&0==--this._reload_countdown&&this.reloadUI()},destroy:function(){this.destroyed=!0,null!=this.tooltips&&(this.tooltips.destroy(),this.tooltips=null),null!=this._ui&&(this._ui.destroy(),this.remove(this._ui,!0),this._ui=null),flixel_FlxSubState.prototype.destroy.call(this)},getEvent:function(e,t,i,l){},getRequest:function(e,t,i,l){return null},getText:function(e,t,i){return null==i&&(i=!0),null==t&&(t="ui"),null!=this._tongue?this._tongue.get(e,t,i):null!=this.getTextFallback?this.getTextFallback(e,t,i):e},cleanup:function(){this._ui.cleanup()},createCursor:function(){return new flixel_addons_ui_FlxUICursor($bind(this,this.onCursorEvent))},createUI:function(e,t,i,l,n){return null==n&&(n=""),new flixel_addons_ui_FlxUI(e,t,i,l,n)},reloadUI:function(){null!=this._ui&&(this.remove(this._ui,!0),this._ui.destroy(),this._ui=null),this._ui=this.createUI(null,this,null,this._tongue),this.add(this._ui);var e=flixel_addons_ui_U.xml(this._xml_id);this._ui.load(e),this._reload=!1,this._reload_countdown=0},__class__:flixel_addons_ui_FlxUISubState});var flixel_addons_ui_FlxUITabMenu=function(e,t,i,l,n,s,a){if(null==n&&(n=!1),this._selected_tab=-1,this._selected_tab_id="",this._tab_offset=null,this._tab_stacking=null,this._tab_spacing=null,this._stretch_tabs=!1,flixel_addons_ui_FlxUIGroup.call(this),null==e&&(e=new flixel_addons_ui_FlxUI9SliceSprite(0,0,"flixel/flixel-ui/img/chrome_flat.png",new openfl_geom_Rectangle(0,0,200,200))),this._back=e,this.add(this._back),null==t&&null!=i){t=[];for(f=0;f<i.length;){var r=i[f];++f;var _=new flixel_addons_ui_FlxUIButton(0,0,r.label);_.up_color=16777215,_.down_color=16777215,_.over_color=16777215,_.up_toggle_color=16777215,_.down_toggle_color=16777215,_.over_toggle_color=16777215,_.label.set_color(16777215);var o=_.label;o.set_borderStyle(flixel_text_FlxTextBorderStyle.OUTLINE),o.set_borderColor(0),o.set_borderSize(1),o.set_borderQuality(1),_.name=r.name;var h=["flixel/flixel-ui/img/tab_back.png","flixel/flixel-ui/img/tab_back.png","flixel/flixel-ui/img/tab_back.png","flixel/flixel-ui/img/tab.png","flixel/flixel-ui/img/tab.png","flixel/flixel-ui/img/tab.png"],u=flixel_util_FlxStringUtil.toIntArray("6,6,11,11"),d=[u,u,u,u,u,u];_.loadGraphicSlice9(h,0,0,d,0,-1,!0),t.push(_)}}this._tabs=t,this._stretch_tabs=n,this._tab_spacing=s,this._tab_stacking=a,null==this._tab_stacking&&(this._tab_stacking=["front","back"]),this._tab_offset=l;for(var c=0,p=null,f=0,m=this._tabs;f<m.length;){var x=m[f];++f,p=x,this.add(p);var g=function(e,t){return function(){e[0](t[0])}}([$bind(this,this._onTabEvent)],[p.name]);p.onUp.callback=g,++c}this.distributeTabs(),this._tab_groups=[]};$hxClasses["flixel.addons.ui.FlxUITabMenu"]=flixel_addons_ui_FlxUITabMenu,flixel_addons_ui_FlxUITabMenu.__name__="flixel.addons.ui.FlxUITabMenu",flixel_addons_ui_FlxUITabMenu.__interfaces__=[flixel_addons_ui_interfaces_IEventGetter,flixel_addons_ui_interfaces_IFlxUIClickable,flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUITabMenu.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUITabMenu.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{get_numTabs:function(){return null!=this._tabs?this._tabs.length:0},getEvent:function(e,t,i,l){},getRequest:function(e,t,i,l){return null},skipButtonUpdate:null,set_skipButtonUpdate:function(e){this.skipButtonUpdate=e;for(var t=0,i=this._tabs;t<i.length;){var l=i[t];++t,l.set_skipButtonUpdate(e)}for(var t=0,i=this._tab_groups;t<i.length;){var n=i[t];++t;for(var s=0,a=n.group.members;s<a.length;){var r=a[s];++s,js_Boot.__implements(r,flixel_addons_ui_interfaces_IFlxUIClickable)&&r.set_skipButtonUpdate(e)}}return e},get_width:function(){return this._back.get_width()},get_height:function(){var e=this.getFirstTab();return null!=e?this._back.y+this._back.get_height()-e.y:this._back.get_height()},resize:function(e,t){var i;if(js_Boot.__implements(this._back,flixel_addons_ui_interfaces_IResizable)){this.distributeTabs(e),i=this._back;var l=this.getFirstTab();null!=l?i.resize(e,t-l.get_height()):i.resize(e,t)}else this.distributeTabs()},get_selected_tab:function(){return this._selected_tab},set_selected_tab:function(e){return this.showTabInt(e),this._selected_tab},get_selected_tab_id:function(){return this._selected_tab_id},set_selected_tab_id:function(e){return this.showTabId(e),this._selected_tab_id},destroy:function(){flixel_addons_ui_FlxUIGroup.prototype.destroy.call(this),flixel_addons_ui_U.clearArray(this._tab_groups),flixel_addons_ui_U.clearArray(this._tabs),this._back=null,this._tabs=null,this._tab_groups=null},getTab:function(e,t){if(null!=e)for(var i=0,l=this._tabs;i<l.length;){var n=l[i];if(++i,n.name==e)return n}return null!=t&&t<this._tabs.length?this._tabs[t]:null},getTabGroup:function(e,t){if(null!=e)for(var i=0,l=this._tab_groups;i<l.length;){var n=l[i];if(++i,n.name==e)return n}return null!=t&&t<this._tab_groups.length?this._tab_groups[t]:null},getBack:function(){return this._back},replaceBack:function(e){var t=this.group.members.indexOf(this._back);if(-1!=t){var i=this._back;js_Boot.__implements(e,flixel_addons_ui_interfaces_IResizable)&&e.resize(i.get_width(),i.get_height()),this.group.members[t]=e,e.set_x(i.x),e.set_y(i.y),i.destroy()}},addGroup:function(e){e!=this&&(this.hasThis(e)||(e.set_y(this._back.y-this.y),this.add(e),this._tab_groups.push(e)),this._showOnlyGroup(""),1==this._tab_groups.length&&this.set_selected_tab(0),-1!=this._selected_tab&&this.set_selected_tab(this._selected_tab))},_onTabEvent:function(e){this.showTabId(e);var t=this.getTab(e),i=null!=t?t.params:null;this.broadcastToFlxUI&&flixel_addons_ui_FlxUI.event("tab_menu_click",this,e,i)},stackTabs:function(){var e=this._back.x,t=this._back.y;this.group.remove(this._back,!0);for(var i=null,l=0,n=this._tabs;l<n.length;){s=n[l];++l,(i=s).toggled&&this.group.remove(i,!0)}this.group.add(this._back);for(var l=0,n=this._tabs;l<n.length;){var s=n[l];++l,(i=s).toggled&&this.group.add(i)}for(var l=0,n=this._tab_groups;l<n.length;){var a=n[l];++l;var r=a.x,_=a.y;this.remove(a,!0),this.add(a),a.set_x(r),a.set_y(_)}this._back.set_x(e),this._back.set_y(t)},showTabId:function(e){this._selected_tab=-1,this._selected_tab_id="";for(var t=0,i=0,l=this._tabs;i<l.length;){var n=l[i];++i,n.set_toggled(!1),n.forceStateHandler("out_button"),n.name==e&&(n.set_toggled(!0),this._selected_tab_id=e,this._selected_tab=t),++t}this._showOnlyGroup(e),this.stackTabs()},_back:null,_tabs:null,_tab_groups:null,_stretch_tabs:null,_tab_spacing:null,_tab_stacking:null,_tab_offset:null,_selected_tab_id:null,_selected_tab:null,sortTabs:function(e,t){return e.name<t.name?-1:e.name>t.name?1:-1},showTabInt:function(e){if(e>=0&&null!=this._tabs&&this._tabs.length>e){var t=this._tabs[e].name;this.showTabId(t)}else this.showTabId("")},_showOnlyGroup:function(e){for(var t=0,i=this._tab_groups;t<i.length;){var l=i[t];++t,l.name==e?l.set_visible(l.set_active(!0)):l.set_visible(l.set_active(!1))}},getFirstTab:function(){var e=null;return null!=this._tabs&&this._tabs.length>0&&(e=this._tabs[0]),e},distributeTabs:function(e){null==e&&(e=-1);var t=0,i=0;-1==e&&(e=this._back.get_width());var l=0;if(this._stretch_tabs){var n=(0|(i=e/this._tabs.length))*this._tabs.length;n<e&&(l=e-n)}this._tabs.sort($bind(this,this.sortTabs));for(var s,a=0,r=0,_=0,o=this._tabs;_<o.length;){var h=o[_];if(++_,(s=h).set_x(this.x+t),s.set_y(this.y),null!=this._tab_offset){var u=s;u.set_x(u.x+this._tab_offset.x);var d=s;d.set_y(d.y+this._tab_offset.y)}if(this._stretch_tabs){var c=s.get_height();0!=a&&(c=r,s.resize_ratio=-1),l>0?(s.resize(i+1,c),t+=1+(0|i),--l):(s.resize(i,c),t+=0|i)}else null!=this._tab_spacing?t+=s.get_width()+this._tab_spacing:t+=s.get_width();0==a&&(r=s.get_height()),++a}null!=this._tabs&&this._tabs.length>0&&null!=this._tabs[0]&&(this._back.set_y(this._tabs[0].y+this._tabs[0].get_height()-2),null!=this._tab_offset&&(_=this._back).set_y(_.y-this._tab_offset.y)),this.calcBounds()},__class__:flixel_addons_ui_FlxUITabMenu,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_selected_tab_id:"set_selected_tab_id",get_selected_tab_id:"get_selected_tab_id",set_selected_tab:"set_selected_tab",get_selected_tab:"get_selected_tab",set_skipButtonUpdate:"set_skipButtonUpdate",get_numTabs:"get_numTabs"})});var flixel_addons_ui_FlxUIText=function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=8),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.minimumHeight=1,this.broadcastToFlxUI=!0,flixel_text_FlxText.call(this,e,t,i,l,n,s)};$hxClasses["flixel.addons.ui.FlxUIText"]=flixel_addons_ui_FlxUIText,flixel_addons_ui_FlxUIText.__name__="flixel.addons.ui.FlxUIText",flixel_addons_ui_FlxUIText.__interfaces__=[flixel_addons_ui_interfaces_IHasParams,flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUIText.__super__=flixel_text_FlxText,flixel_addons_ui_FlxUIText.prototype=$extend(flixel_text_FlxText.prototype,{broadcastToFlxUI:null,name:null,params:null,minimumHeight:null,resize:function(e,t){var i=1;t<this.minimumHeight&&(t=this.minimumHeight),t<this.get_height()&&(i=-1),this.set_width(e),this.set_height(t),this.textField.set_width(this.get_width());for(var l=0|this._defaultFormat.size,n=this.get_height()-this.graphic.bitmap.height,s=0,a=this.textField.get_numLines();n*i>0&&s<999;){++s;var r=this;if(r.set_size((0|r._defaultFormat.size)+i),i>0&&this.textField.get_numLines()>a){var _=this;_.set_size((0|_._defaultFormat.size)-i);break}this._regen=!0,this.calcFrame(!0),n=t-this.graphic.bitmap.height,n=t-this.graphic.bitmap.height}s>=999&&this.set_size(l),this.set_width(e),this.set_height(t),this._regen=!0,this.calcFrame(!0)},set_minimumHeight:function(e){return e<1&&(e=1),this.minimumHeight=e,this.minimumHeight},set_params:function(e){return this.params=e,this.params},clone:function(){var e=new flixel_addons_ui_FlxUIText;e.set_width(this.get_width()),e.set_height(this.get_height());var t=this._font;t=flixel_addons_ui_FontFixer.fix(this._font),e.setFormat(t,0|this._defaultFormat.size,this.color),null!=this._defaultFormat&&null!=this._defaultFormat.align&&e.set_alignment(flixel_text_FlxTextAlign.fromOpenFL(this._defaultFormat.align));var i=this.borderColor,l=this.borderSize,n=this.borderQuality;return null==n&&(n=1),null==l&&(l=1),null==i&&(i=0),e.set_borderStyle(this.borderStyle),e.set_borderColor(i),e.set_borderSize(l),e.set_borderQuality(n),e.set_text(this.text),e},__class__:flixel_addons_ui_FlxUIText,__properties__:$extend(flixel_text_FlxText.prototype.__properties__,{set_minimumHeight:"set_minimumHeight",set_params:"set_params"})});var flixel_addons_ui_FlxUITileTest=function(e,t,i,l,n,s,a,r,_){null==_&&(_=!1),null==r&&(r=12895428),null==a&&(a=8421504),this.baseTileSize=-1,this.floorToEven=!1,this._color2=0,this._color1=0,this._tilesTall=2,this._tilesWide=2,flixel_addons_ui_FlxUISprite.call(this,e,t),this.tileWidth=i,this.tileHeight=l,this._tilesWide=n,this._tilesTall=s,this._color1=a,this._color2=r,this.floorToEven=_,this.makeTiles(this.tileWidth,this.tileHeight,this._tilesWide,this._tilesTall,this._color1,this._color2)};$hxClasses["flixel.addons.ui.FlxUITileTest"]=flixel_addons_ui_FlxUITileTest,flixel_addons_ui_FlxUITileTest.__name__="flixel.addons.ui.FlxUITileTest",flixel_addons_ui_FlxUITileTest.__interfaces__=[flixel_addons_ui_interfaces_IFlxUIWidget,flixel_addons_ui_interfaces_IResizable],flixel_addons_ui_FlxUITileTest.__super__=flixel_addons_ui_FlxUISprite,flixel_addons_ui_FlxUITileTest.prototype=$extend(flixel_addons_ui_FlxUISprite.prototype,{tileWidth:null,tileHeight:null,get_widthInTiles:function(){return this._tilesWide},get_heightInTiles:function(){return this._tilesTall},_tilesWide:null,_tilesTall:null,_color1:null,_color2:null,floorToEven:null,baseTileSize:null,makeTiles:function(e,t,i,l,n,s){null==s&&(s=-3881788),null==n&&(n=-8355712);var a=this.constrain(e*this._tilesWide,t*this._tilesTall);e=0|a.x,t=0|a.y,this.makeGraphic(i,l,n);for(var r=this.get_pixels(),_=0,o=0,h=i;o<h;){for(var u=o++,d=0,c=l;d<c;){var p=d++;_%2==0&&r.setPixel(u,p,s),++_}i%2!=0&&++_}this.set_pixels(r),this.scale.set(e,t),this.updateHitbox()},constrain:function(e,t){var i=e/this._tilesWide|0,l=t/this._tilesTall|0;return i<l?l=i:l<i&&(i=l),this.floorToEven&&i%2==1&&(l=--i),this.baseTileSize>0&&(l=i=(i/this.baseTileSize|0)*this.baseTileSize),new flixel_math_FlxPoint(i,l)},resize:function(e,t){this.makeTiles(this.tileWidth,this.tileHeight,this._tilesWide,this._tilesTall,this._color1,this._color2)},__class__:flixel_addons_ui_FlxUITileTest,__properties__:$extend(flixel_addons_ui_FlxUISprite.prototype.__properties__,{get_heightInTiles:"get_heightInTiles",get_widthInTiles:"get_widthInTiles"})});var flixel_addons_ui_FlxUITooltip=function(e,t,i,l){flixel_addons_ui_FlxUIGroup.call(this,0,0),null==i&&(i=new flixel_addons_ui_Anchor(0,0,"left","top","right","top")),l=flixel_addons_ui_FlxUITooltip.styleFix(l),this.refresh(e,t,"","",i,l),this.setScrollFactor(0,0)};$hxClasses["flixel.addons.ui.FlxUITooltip"]=flixel_addons_ui_FlxUITooltip,flixel_addons_ui_FlxUITooltip.__name__="flixel.addons.ui.FlxUITooltip",flixel_addons_ui_FlxUITooltip.styleFix=function(e,t){return null==e&&(e={titleFormat:null,bodyFormat:null,titleBorder:null,bodyBorder:null,titleOffset:null,bodyOffset:null,background:null,borderSize:-1,borderColor:null,arrow:null,titleWidth:-1,bodyWidth:-1,autoSizeHorizontal:null,autoSizeVertical:null,leftPadding:-1,rightPadding:-1,topPadding:-1,bottomPadding:-1}),null!=t&&(null==e.titleFormat&&(e.titleFormat=t.titleFormat),null==e.bodyFormat&&(e.bodyFormat=t.bodyFormat),null==e.titleBorder&&(e.titleBorder=t.titleBorder),null==e.bodyBorder&&(e.bodyBorder=t.bodyBorder),null==e.titleOffset&&(e.titleOffset=t.titleOffset),null==e.bodyOffset&&(e.bodyOffset=t.bodyOffset),null==e.background&&(e.background=t.background),null==e.borderColor&&(e.borderColor=t.borderColor),null==e.arrow&&(e.arrow=t.arrow),(null==e.borderSize||e.borderSize<0)&&(e.borderSize=t.borderSize),(null==e.titleWidth||e.titleWidth<0)&&(e.titleWidth=t.titleWidth),(null==e.bodyWidth||e.bodyWidth<0)&&(e.bodyWidth=t.bodyWidth),null==e.autoSizeHorizontal&&(e.autoSizeHorizontal=t.autoSizeHorizontal),null==e.autoSizeVertical&&(e.autoSizeVertical=t.autoSizeVertical),(null==e.leftPadding||e.leftPadding<0)&&(e.leftPadding=t.leftPadding),(null==e.rightPadding||e.rightPadding<0)&&(e.rightPadding=t.rightPadding),(null==e.topPadding||e.topPadding<0)&&(e.topPadding=t.topPadding),(null==e.leftPadding||e.bottomPadding<0)&&(e.bottomPadding=t.bottomPadding)),null!=t&&(null!=e.titleFormat&&(flixel_addons_ui_FlxUITooltip.fillFontDefNulls(e.titleFormat,t.titleFormat),null!=e.titleFormat.format&&null!=t.titleFormat.format&&flixel_addons_ui_FlxUITooltip.fillFormatNulls(e.titleFormat.format,t.titleFormat.format)),null!=e.bodyFormat&&(flixel_addons_ui_FlxUITooltip.fillFontDefNulls(e.bodyFormat,t.bodyFormat),null!=e.bodyFormat.format&&null!=t.bodyFormat.format&&flixel_addons_ui_FlxUITooltip.fillFormatNulls(e.bodyFormat.format,t.bodyFormat.format))),null==e.titleFormat&&(e.titleFormat=new flixel_addons_ui_FontDef(null,null,null,new openfl_text_TextFormat(null,8,-16777216),null)),null==e.bodyFormat&&(e.bodyFormat=new flixel_addons_ui_FontDef(null,null,null,new openfl_text_TextFormat(null,8,-16777216),null)),null==e.titleBorder&&(e.titleBorder=new flixel_addons_ui_BorderDef(flixel_text_FlxTextBorderStyle.NONE,0,0,1)),null==e.bodyBorder&&(e.bodyBorder=new flixel_addons_ui_BorderDef(flixel_text_FlxTextBorderStyle.NONE,0,0,1)),null==e.titleOffset&&(e.titleOffset=new flixel_math_FlxPoint(0,0)),null==e.bodyOffset&&(e.bodyOffset=new flixel_math_FlxPoint(0,0)),null==e.background&&(e.background=16777162),null==e.borderColor&&(e.borderColor=-16777216),null==e.arrow&&(e.arrow="flixel/flixel-ui/img/tooltip_arrow.png"),(null==e.borderSize||e.borderSize<0)&&(e.borderSize=1),(null==e.titleWidth||e.titleWidth<0)&&(e.titleWidth=100),(null==e.bodyWidth||e.bodyWidth<0)&&(e.bodyWidth=100),null==e.autoSizeHorizontal&&(e.autoSizeHorizontal=!0),null==e.autoSizeVertical&&(e.autoSizeVertical=!0),(null==e.leftPadding||e.leftPadding<0)&&(e.leftPadding=0),(null==e.rightPadding||e.rightPadding<0)&&(e.rightPadding=0),(null==e.topPadding||e.topPadding<0)&&(e.topPadding=0),(null==e.leftPadding||e.bottomPadding<0)&&(e.bottomPadding=0),e},flixel_addons_ui_FlxUITooltip.cloneStyle=function(e){return{titleFormat:null!=e.titleFormat?e.titleFormat.clone():null,bodyFormat:null!=e.bodyFormat?e.bodyFormat.clone():null,borderSize:e.borderSize,titleWidth:e.titleWidth,bodyWidth:e.bodyWidth,background:e.background,borderColor:e.borderColor,arrow:e.arrow,titleOffset:e.titleOffset.copyTo(),bodyOffset:e.bodyOffset.copyTo(),titleBorder:e.titleBorder.clone(),bodyBorder:e.bodyBorder.clone(),autoSizeVertical:e.autoSizeVertical,autoSizeHorizontal:e.autoSizeHorizontal,leftPadding:e.leftPadding,rightPadding:e.rightPadding,topPadding:e.topPadding,bottomPadding:e.bottomPadding}},flixel_addons_ui_FlxUITooltip.fillFontDefNulls=function(e,t){0==e.get_size()&&e.set_size(t.get_size()),null!=e.name&&""!=e.name||(e.name=t.name),null!=e.file&&""!=e.file||(e.file=t.file),null!=e.extension&&""!=e.extension||(e.extension=t.extension),null==e.border&&(e.border=null!=t.border?t.border.clone():null)},flixel_addons_ui_FlxUITooltip.fillFormatNulls=function(e,t){null==e.align&&(e.align=t.align),null==e.blockIndent&&(e.blockIndent=t.blockIndent),null==e.bold&&(e.bold=t.bold),null==e.bullet&&(e.bullet=t.bullet),null==e.color&&(e.color=t.color),null==e.font&&(e.font=t.font),null==e.indent&&(e.indent=t.indent),null==e.italic&&(e.italic=t.italic),null==e.kerning&&(e.kerning=t.kerning),null==e.leading&&(e.leading=t.leading),null==e.leftMargin&&(e.leftMargin=t.leftMargin),null==e.letterSpacing&&(e.letterSpacing=t.letterSpacing),null==e.rightMargin&&(e.rightMargin=t.rightMargin),null==e.size&&(e.size=t.size),null==e.tabStops&&(e.tabStops=t.tabStops),null==e.target&&(e.target=t.target),null==e.underline&&(e.underline=t.underline),null==e.url&&(e.url=t.url)},flixel_addons_ui_FlxUITooltip.__super__=flixel_addons_ui_FlxUIGroup,flixel_addons_ui_FlxUITooltip.prototype=$extend(flixel_addons_ui_FlxUIGroup.prototype,{style:null,anchor:null,title:null,body:null,show:function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=!0),null==l&&(l=!0),null==i&&(i=""),null==t&&(t=""),this.set_visible(!0),this.set_active(!0),this.set_x(0),this.set_y(0),this._bkg.set_x(0),this._bkg.set_y(0),this._arrow.set_x(0),this._arrow.set_y(0),this._arrowBkg.set_x(0),this._arrowBkg.set_y(0),this._arrowBkg=this.makeArrowBkg(this._arrowBkg),this._arrow.set_color(this.style.background),this._arrow.set_visible(this._arrowBkg.set_visible(s)),this.style.titleWidth>0&&this._titleText.set_width(0|this._titleText.textField.set_width(this.style.titleWidth)),this.style.bodyWidth>0&&this._bodyText.set_width(0|this._bodyText.textField.set_width(this.style.bodyWidth)),null!=this.style.titleFormat&&this.style.titleFormat.apply(null,this._titleText),null!=this.style.bodyFormat&&this.style.bodyFormat.apply(null,this._bodyText),null!=this.style.titleBorder&&this.style.titleBorder.apply(this._titleText),null!=this.style.bodyBorder&&this.style.bodyBorder.apply(this._bodyText),this._titleText.set_text(t),this._bodyText.set_text(i),this._titleText.update(0),this._bodyText.update(0);var a=this._titleText.textField.get_textHeight()+4|0;null!=this.style.titleOffset&&(this._titleText.set_x(0|this.style.titleOffset.x),this._titleText.set_y(0|this.style.titleOffset.y)),null!=this.style.bodyOffset&&(this._bodyText.set_x(0|this.style.bodyOffset.x),this._bodyText.set_y(this._titleText.y+a+this.style.bodyOffset.y|0));var r=0|this._bkg.get_width(),_=0|this._bkg.get_height();if(n){var o=""!=this._titleText.text?this._titleText.x+this._titleText.get_width():0,h=""!=this._bodyText.text?this._bodyText.x+this._bodyText.get_width():0;r=0|Math.max(o,h)}if(l){var u=""!=this._titleText.text?this._titleText.y+this._titleText.get_height():0,d=""!=this._bodyText.text?this._bodyText.y+this._bodyText.get_height():0;_=0|Math.max(u,d),_=0|Math.max(_,this._arrowBkg.get_height())}null==this.style.leftPadding&&(this.style.leftPadding=0),null==this.style.rightPadding&&(this.style.rightPadding=0),null==this.style.topPadding&&(this.style.topPadding=0),null==this.style.bottomPadding&&(this.style.bottomPadding=0),r+=this.style.leftPadding+this.style.rightPadding,_+=this.style.topPadding+this.style.bottomPadding,r|=0,_|=0,this.refreshBkg(r,_,this.style);var c=0|this._anchorArrow.x.offset,p=0|this._anchorArrow.y.offset;if(this._anchorArrow.x.offset-=this.anchor.x.offset,this._anchorArrow.y.offset+=this.anchor.y.offset,this._anchorArrow.x.offset=0|this._anchorArrow.x.offset,this._anchorArrow.y.offset=0|this._anchorArrow.y.offset,this._anchorArrow.anchorThing(this._arrow,this._bkg),this._anchorArrow.x.offset=c,this._anchorArrow.y.offset=p,this._arrow.x<0){var f=0|Math.abs(this._arrow.x);(g=this._bkg).set_x(g.x+f),(g=this._titleText).set_x(g.x+f),(g=this._bodyText).set_x(g.x+f),this._arrow.set_x(0)}if(this._arrow.y<0){var m=0|Math.abs(this._arrow.y);(g=this._bkg).set_y(g.y+m),(g=this._titleText).set_y(g.y+m),(g=this._bodyText).set_y(g.y+m),this._arrow.set_y(0)}if(""!=this._titleText.text&&""==this._bodyText.text){var x=(_-(this.style.topPadding+this.style.bottomPadding)-a)/2|0;(g=this._titleText).set_y(g.y+x)}var g=this._titleText;g.set_x(g.x+this.style.leftPadding),(g=this._bodyText).set_x(g.x+this.style.leftPadding),(g=this._titleText).set_y(g.y+this.style.topPadding),(g=this._bodyText).set_y(g.y+this.style.topPadding),""==this._titleText.text&&(this._titleText.set_x(this._bkg.x),this._titleText.set_y(this._bkg.y),this._titleText.set_width(this._bkg.get_width())),""==this._bodyText.text&&(this._bodyText.set_x(this._bkg.x),this._bodyText.set_y(this._bkg.y),this._bodyText.set_width(this._bkg.get_width())),this.anchor.anchorThing(this,e),this.set_x(0|this.x),this.set_y(0|this.y),this._arrowBkg.set_x(this._arrow.x-this.style.borderSize|0),this._arrowBkg.set_y(this._arrow.y-this.style.borderSize|0),this._titleText.set_x(0|this._titleText.x),this._bodyText.set_x(0|this._bodyText.x),this._bkg.set_x(0|this._bkg.x),this._bkg.set_y(0|this._bkg.y),this._arrowBkg.set_x(0|this._arrowBkg.x),this._arrowBkg.set_y(0|this._arrowBkg.y),this._arrow.set_x(0|this._arrow.x),this._arrow.set_y(0|this._arrow.y)},get_height:function(){if(0==this.group.length)return 0;for(var e=1/0,t=-1/0,i=0,l=this._sprites;i<l.length;){var n=l[i];if(++i,null!=n&&!(n instanceof flixel_text_FlxText)){var s=n.y,a=s+n.get_height();a>t&&(t=a),s<e&&(e=s)}}return t-e},hide:function(){this.set_visible(!1),this.set_active(!1)},set_anchor:function(e){return this.anchor=e,this._anchorArrow=this.getArrowAnchor(e,this._anchorArrow),null!=this._arrowBkg&&this.makeArrowBkg(this._arrowBkg),e},set_style:function(e){return this.style=e,e},set_title:function(e){return this.title=e,e},set_body:function(e){return this.body=e,e},_bkg:null,_titleText:null,_bodyText:null,_arrow:null,_arrowBkg:null,_anchorArrow:null,refresh:function(e,t,i,l,n,s){var a=null==this._bkg,r=null==this._arrow,_=null==this._titleText,o=null==this._bodyText;a&&(this._bkg=new flixel_FlxSprite),r&&(this._arrow=new flixel_FlxSprite),_&&(this._titleText=new flixel_addons_ui_FlxUIText(0,0,e),null!=s.titleFormat&&s.titleFormat.apply(null,this._titleText),null!=s.titleBorder&&s.titleBorder.apply(this._titleText)),o&&(this._bodyText=new flixel_addons_ui_FlxUIText(0,0,e),null!=s.bodyFormat&&s.bodyFormat.apply(null,this._bodyText),null!=s.bodyBorder&&s.bodyBorder.apply(this._bodyText)),this._titleText.set_text(i),this._bodyText.set_text(l),this._arrow.set_color(s.background);var h=flixel_FlxG.bitmap.add(s.arrow);null==s.arrow&&(s.arrow="flixel/flixel-ui/img/tooltip_arrow.png",flixel_FlxG.bitmap.add(s.arrow)),this._arrow.loadGraphic(s.arrow,!0,h.height,h.height),r&&(this._arrow.animation.add("right",[0],0,!1),this._arrow.animation.add("down",[1],0,!1),this._arrow.animation.add("left",[2],0,!1),this._arrow.animation.add("up",[3],0,!1)),this.refreshBkg(e,t,s),this.set_style(s),r&&s.borderSize>0&&(this._arrowBkg=new flixel_FlxSprite,this.add(this._arrowBkg)),this.set_anchor(n),a&&this.add(this._bkg),r&&this.add(this._arrow),_&&this.add(this._titleText),o&&this.add(this._bodyText)},refreshBkg:function(e,t,i){var l=this.getStyleKey(e,t,i);if(null==flixel_FlxG.bitmap._cache.h[l]){var n=null;i.borderSize>0?(n=new openfl_display_BitmapData(e,t,!1,i.borderColor)).fillRect(new openfl_geom_Rectangle(i.borderSize,i.borderSize,e-2*i.borderSize,t-2*i.borderSize),i.background):n=new openfl_display_BitmapData(e,t,!1,i.background),flixel_FlxG.bitmap.add(n,!0,l)}this._bkg.loadGraphic(l)},getStyleKey:function(e,t,i){var l=i.background,n=e+","+t+",0x"+StringTools.hex(l>>24&255,2)+StringTools.hex(l>>16&255,2)+StringTools.hex(l>>8&255,2)+StringTools.hex(255&l,2)+","+i.borderSize+",",l=i.borderColor;return n+"0x"+StringTools.hex(l>>24&255,2)+StringTools.hex(l>>16&255,2)+StringTools.hex(l>>8&255,2)+StringTools.hex(255&l,2)},makeArrowBkg:function(e){null==e&&(e=new flixel_FlxSprite);var t=null==this._arrow?"null":null==this._arrow.animation._curAnim?"null":this._arrow.animation._curAnim.name,i="arrowBkg:"+this.style.background+","+this.style.borderSize+","+this.style.borderColor+","+t;if(null==flixel_FlxG.bitmap._cache.h[i]){var l=this.style.borderSize;(l<0||null==l)&&(l=0);var n=this._arrow.get_width()+l|0,s=this._arrow.get_height()+l|0,a=new openfl_display_BitmapData(n,s,!0,0);flixel_FlxG.bitmap.add(a,!1,i),e.loadGraphic(i);var r=this._arrow.color;this._arrow.set_color(this.style.borderColor),(new openfl_geom_Matrix).identity(),e.stamp(this._arrow,0*this.style.borderSize,0*this.style.borderSize),e.stamp(this._arrow,this.style.borderSize,0*this.style.borderSize),e.stamp(this._arrow,2*this.style.borderSize,0*this.style.borderSize),e.stamp(this._arrow,0*this.style.borderSize,this.style.borderSize),e.stamp(this._arrow,2*this.style.borderSize,this.style.borderSize),e.stamp(this._arrow,0*this.style.borderSize,2*this.style.borderSize),e.stamp(this._arrow,this.style.borderSize,2*this.style.borderSize),e.stamp(this._arrow,2*this.style.borderSize,2*this.style.borderSize),this._arrow.set_color(r)}return e.loadGraphic(i),e},getArrowAnchor:function(e,t){var i="left"==e.x.side&&"right"==e.x.flush||"right"==e.x.side&&"left"==e.x.flush,l="top"==e.y.side&&"bottom"==e.y.flush||"bottom"==e.y.side&&"top"==e.y.flush,n="left"==e.x.side&&"left"==e.x.flush||"right"==e.x.side&&"right"==e.x.flush,s="top"==e.y.side&&"top"==e.y.flush||"bottom"==e.y.side&&"bottom"==e.y.flush,a=i&&l,r=n&&s,_=this.style.borderSize;return a||(i&&("left"==(t=e.getFlipped(!0,!1,t)).x.flush&&(t.x.offset-=_,this._arrow.animation.play("right")),"right"==t.x.flush&&(t.x.offset+=_,this._arrow.animation.play("left"))),l&&("top"==(t=e.getFlipped(!1,!0,t)).y.flush&&(t.y.offset-=_,this._arrow.animation.play("down")),"bottom"==t.y.flush&&(t.y.offset+=_,this._arrow.animation.play("up")))),r||(n&&("left"==t.x.flush&&(t.x.offset+=_),"right"==t.x.flush&&(t.x.offset-=_)),s&&("top"==t.y.flush&&(t.y.offset+=_),"bottom"==t.y.flush&&(t.y.offset-=_))),null!=t?t:e},__class__:flixel_addons_ui_FlxUITooltip,__properties__:$extend(flixel_addons_ui_FlxUIGroup.prototype.__properties__,{set_body:"set_body",set_title:"set_title",set_anchor:"set_anchor",set_style:"set_style"})});var flixel_addons_ui_FlxUITooltipManager=function(e,t){this.current=-1,this._init=!1,this.delay=.1,this.showOnClick=!1,this.defaultStyle=null,this.fixedPosition=null,this.defaultAnchor=null,this.autoFlipAnchor=!0,null!=e?this.state=e:null!=t&&(this.subState=t),this.list=[],this.tooltip=new flixel_addons_ui_FlxUITooltip(100,50),this.lastPosition=new flixel_math_FlxPoint(0,0),this.defaultAnchor=this.tooltip.anchor.clone(),this.defaultStyle=flixel_addons_ui_FlxUITooltip.cloneStyle(this.tooltip.style)};$hxClasses["flixel.addons.ui.FlxUITooltipManager"]=flixel_addons_ui_FlxUITooltipManager,flixel_addons_ui_FlxUITooltipManager.__name__="flixel.addons.ui.FlxUITooltipManager",flixel_addons_ui_FlxUITooltipManager.__interfaces__=[flixel_util_IFlxDestroyable],flixel_addons_ui_FlxUITooltipManager.prototype={autoFlipAnchor:null,defaultAnchor:null,fixedPosition:null,defaultStyle:null,showOnClick:null,delay:null,showTooltipArrow:null,cameras:null,init:function(){var e=null!=this.state?this.state._ui:null!=this.subState?this.subState._ui:null;if(null!=e&&null!=e&&null!=e.getDefinition("default:tooltip")){var t=e._loadTooltipData(null);this.defaultStyle=flixel_addons_ui_FlxUITooltip.cloneStyle(t.style),this.tooltip.set_style(this.defaultStyle)}},destroy:function(){flixel_util_FlxDestroyUtil.destroyArray(this.list),this.list=null,this.tooltip=null,this.lastPosition=null,this.state=null,this.subState=null,this.defaultAnchor=null,this.defaultStyle=null},clear:function(){for(;this.list.length>0;){var e=this.list.pop();null!=e&&e.destroy()}},hideCurrent:function(){this.current>0&&this.hide(this.current)},isVisible:function(){return this.current>0},doesCurrentTooltipBelongTo:function(e,t){if(null==t&&(t=!0),e instanceof flixel_addons_ui_FlxUIGroup){if(-1!=(s=this.findObj(e)))return s==this.current;if(t)for(var i=0,l=e.group.members;i<l.length;){var n=l[i];if(++i,this.doesCurrentTooltipBelongTo(n))return!0}}else{if(e instanceof flixel_addons_ui_FlxUIButton)return-1!=(s=this.findBtn(e))&&s==this.current;if(e instanceof flixel_FlxObject){var s=this.findObj(e);return-1!=s&&s==this.current}}return!1},stickyTooltipFor:function(e,t){null==t&&(t=!0);var i=this.findThing(e);-1!=i&&(this.list[i].sticky=t)},showTooltipFor:function(e,t){null==t&&(t=!0);var i=this.findThing(e);-1!=i&&(this.current=-1,t?this.show(i):this.hide(i))},enableTooltipFor:function(e,t){var i=this.findThing(e);return i>=0&&i<this.list.length&&(this.list[i].enabled=t,!0)},add:function(e,t){this._init&&(t.style=flixel_addons_ui_FlxUITooltip.styleFix(t.style,this.defaultStyle));var i=null,l=-1;if(js_Boot.__implements(e,flixel_addons_ui_interfaces_IFlxUIButton))i=e,-1==(l=this.findBtn(i))?this.list.push(new flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry(i,t)):(this.list[l].data=t,this.list[l].count=0);else if(-1==(l=this.findObj(e))){var n=new flixel_addons_ui_FlxUIButton(0,0,"",null,!1,!0);n.resize(e.get_width(),e.get_height()),(i=n).set_x(e.x),i.set_y(e.y),i.set_width(e.get_width()),i.set_height(e.get_height()),i.scrollFactor.set(e.scrollFactor.x,e.scrollFactor.y),null!=this.state?this.state.add(i):null!=this.subState&&this.subState.add(i),this.list.push(new flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry(i,t,e))}else this.list[l].data=t,this.list[l].count=0,this.list[l].btn.set_x(e.x),this.list[l].btn.set_y(e.y),this.list[l].btn.set_width(e.get_width()),this.list[l].btn.set_height(e.get_height()),this.list[l].btn.scrollFactor.set(e.scrollFactor.x,e.scrollFactor.y)},remove:function(e){var t=null,i=-1;if(js_Boot.__implements(e,flixel_addons_ui_interfaces_IFlxUIButton)?(t=e,i=this.findBtn(t)):i=this.findObj(e),-1!=i){this.current==i&&this.hide(this.current);var l=this.list[i];this.list.splice(i,1),l.destroy()}},update:function(e){for(var t=0,i=this.list.length;t<i;){var l=t++,n=this.list[l].btn,s=this.list[l].obj;0!=this.list[l].enabled?(null!=s&&(n.set_x(s.x),n.set_y(s.y),n.set_width(s.get_width()),n.set_height(s.get_height()),n.set_visible(s.visible)),0==this.list[l].sticky&&(0==n.visible||n.get_justMousedOut()||n.get_mouseIsOut())?(this.list[l].count=0,this.hide(l)):(n.get_justMousedOver()||n.get_mouseIsOver())&&n.get_mouseIsOver()&&(this.list[l].count+=e),(this.list[l].count>this.delay||this.list[l].data.delay>=0&&this.list[l].count>this.list[l].data.delay)&&(this.current!=l?this.show(l):this.list[l].data.moving&&this.show(l))):(this.current==l&&this.hide(l),this.list[l].count=0)}},_init:null,list:null,tooltip:null,current:null,lastPosition:null,state:null,subState:null,hide:function(e){this.current==e&&(this.tooltip.hide(),null!=this.state&&this.state.remove(this.tooltip,!0),null!=this.subState&&this.subState.remove(this.tooltip,!0),this.current=-1)},findThing:function(e){if(null==e)return-1;for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,l.obj==e||js_Boot.__implements(e,flixel_addons_ui_interfaces_IFlxUIButton)&&js_Boot.__cast(e,flixel_addons_ui_interfaces_IFlxUIButton)==l.btn)return this.list.indexOf(l)}return-1},findBtn:function(e){if(null==e)return-1;for(var t=0,i=this.list.length;t<i;){var l=t++;if(null!=this.list[l]&&this.list[l].btn==e)return l}return-1},findObj:function(e){if(null==e)return-1;for(var t=0,i=this.list.length;t<i;){var l=t++;if(null!=this.list[l]&&this.list[l].obj==e)return l}return-1},set_fixedPosition:function(e){return this.fixedPosition=e,null!=this.tooltip&&this.tooltip.visible&&this.show(this.current),this.fixedPosition},set_showTooltipArrow:function(e){return this.showTooltipArrow=e,null!=this.tooltip&&this.tooltip.visible&&this.tooltip._arrow.set_visible(this.tooltip._arrowBkg.set_visible(e)),this.showTooltipArrow},show:function(e){if(!(e<0||e>=this.list.length)){var t=this.list[e].btn;if(0!=t.visible&&(null==this.list[e].obj||0!=this.list[e].obj.visible)){if(this.current==e){var i=t.x-this.lastPosition.x,l=t.y-this.lastPosition.y;this.lastPosition.set_x(t.x),this.lastPosition.set_y(t.y);var n=this.tooltip;return n.set_x(n.x+i),void(n=this.tooltip).set_y(n.y+l)}this.current=e;var s=this.list[e].data;1!=s.init&&(s.style=flixel_addons_ui_FlxUITooltip.styleFix(s.style,this.defaultStyle),s.init=!0);var a=!0,r=!0;null!=s.style&&(this.tooltip.set_style(s.style),a=s.style.autoSizeVertical,r=s.style.autoSizeHorizontal),null!=s.anchor?this.tooltip.set_anchor(s.anchor):null!=this.defaultAnchor&&this.tooltip.set_anchor(this.defaultAnchor),null!=this.state&&this.state.add(this.tooltip),null!=this.subState&&this.subState.add(this.tooltip),this.tooltip.show(t,s.title,s.body,a,r),null!=this.fixedPosition&&this.fixedPosition.anchor.anchorThing(this.tooltip,this.fixedPosition.object),this.autoFlipAnchor&&this.checkAutoFlip(this.tooltip,null!=this.fixedPosition?this.fixedPosition.anchor:null)&&(null!=this.fixedPosition?this.fixedPosition.anchor.anchorThing(this.tooltip,this.fixedPosition.object):this.tooltip.show(t,s.title,s.body,a,r,this.showTooltipArrow)),this.lastPosition.set(t.x,t.y),null!=this.state?this.state.onShowTooltip(this.tooltip):null!=this.subState&&this.subState.onShowTooltip(this.tooltip)}}},checkAutoFlip:function(e,t){var i=e.x<0||e.x+e.get_width()>flixel_FlxG.width,l=e.y<0||e.y+e.get_height()>flixel_FlxG.height;return!(!i&&!l)&&(null==t&&(t=e.anchor),t.getFlipped(i,l,t),!0)},set_cameras:function(e){return this.tooltip.set_cameras(e),this.cameras=e},__class__:flixel_addons_ui_FlxUITooltipManager,__properties__:{set_cameras:"set_cameras",set_showTooltipArrow:"set_showTooltipArrow",set_fixedPosition:"set_fixedPosition"}};var flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry=function(e,t,i){this.sticky=!1,this.btn=e,this.data=t,this.obj=i,this.count=0,this.enabled=!0,null!=this.data&&(null==this.data.delay&&(this.data.delay=-1),null==this.data.moving&&(this.data.moving=!1))};$hxClasses["flixel.addons.ui._FlxUITooltipManager.FlxUITooltipEntry"]=flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry,flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry.__name__="flixel.addons.ui._FlxUITooltipManager.FlxUITooltipEntry",flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry.__interfaces__=[flixel_util_IFlxDestroyable],flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry.prototype={obj:null,btn:null,count:null,data:null,enabled:null,sticky:null,destroy:function(){this.count=0,this.obj=null,this.btn=null,this.data.anchor=null,this.data.style=null,this.data=null},__class__:flixel_addons_ui__$FlxUITooltipManager_FlxUITooltipEntry};var flixel_addons_ui_FontDef=function(e,t,i,l,n){null==i&&(i=""),null==t&&(t=".ttf"),this._size=0,this.name=e,this.extension=t,this.file=i,this.format=l,null==this.format&&(this.format=new openfl_text_TextFormat),this.border=n,null==this.border&&(this.border=new flixel_addons_ui_BorderDef(flixel_text_FlxTextBorderStyle.NONE,0))};$hxClasses["flixel.addons.ui.FontDef"]=flixel_addons_ui_FontDef,flixel_addons_ui_FontDef.__name__="flixel.addons.ui.FontDef",flixel_addons_ui_FontDef.copyFromTextField=function(e){var t=e.get_defaultTextFormat(),i=new flixel_addons_ui_FontDef("");return i.fromStr(t.font),i.format.font=t.font,i.format.size=t.size,i.format.color=t.color,i.format.bold=t.bold,i.format.italic=t.italic,i.format.underline=t.underline,i.format.url=t.url,i.format.letterSpacing=t.letterSpacing,i.format.leading=t.leading,i.format.target=t.target,i.format.align=t.align,i},flixel_addons_ui_FontDef.copyFromFlxText=function(e){var t=flixel_addons_ui_FontDef.copyFromTextField(e.textField);return t.fromStr(e._font),t.border.style=e.borderStyle,t.border.color=e.borderColor,t.border.quality=e.borderQuality,t.border.size=e.borderSize,t},flixel_addons_ui_FontDef.fromXML=function(e){var t=flixel_addons_ui_U.xml_str(e,"font"),i=flixel_addons_ui_U.xml_str(e,"style"),l=null;""!=t&&(l=flixel_addons_ui_FlxUI.font(t,i));var n,i=flixel_addons_ui_U.xml_str(e,"style"),s=flixel_addons_ui_FlxUI.fontSize(l,flixel_addons_ui_U.xml_i(e,"size",8)),a=flixel_addons_ui_U.xml_color(e,"color",!0,-1);switch(flixel_addons_ui_U.xml_str(e,"align").toLowerCase()){case"center":n=0;break;case"justify":n=2;break;case"left":n=3;break;case"right":n=4;break;default:n=3}var r=new flixel_addons_ui_FontDef(flixel_addons_ui_U.xml_str(e,"font"),".ttf",l);return r.format.color=a,r.format.size=s,r.format.align=n,r.set_size(s),r.setFontStyle(i),r.border=flixel_addons_ui_BorderDef.fromXML(e),r},flixel_addons_ui_FontDef.prototype={name:null,extension:null,file:null,format:null,border:null,get_size:function(){return null!=this.format&&(this._size=0|this.format.size),this._size},set_size:function(e){return null!=this.format&&(this.format.size=e),this._size=e,this._size},clone:function(){var e=null==this.border?null:this.border.clone(),t=null==this.format?null:new openfl_text_TextFormat(this.format.font,this.format.size,this.format.color,this.format.bold,this.format.italic,this.format.underline,this.format.url,this.format.target,this.format.align,this.format.leftMargin,this.format.rightMargin,this.format.indent,this.format.leading);null!=this.format&&(t.letterSpacing=this.format.letterSpacing);var i=new flixel_addons_ui_FontDef(this.name,this.extension,this.file,t,e);return i.set_size(this.get_size()),i},applyTxt:function(e){return e.setTextFormat(this.format),e},applyFlx:function(e){var t=null;if(null!=this.format.align)switch(this.format.align){case 0:t="center";break;case 2:t="justify";break;case 3:t="left";break;case 4:t="right";break;default:t="left"}var i=""==this.file||null==this.file?null:this.file;return e.setFormat(i,0|this.format.size,this.format.color,t,this.border.style,this.border.color),e.textField.get_defaultTextFormat().leading=this.format.leading,e.textField.get_defaultTextFormat().letterSpacing=this.format.letterSpacing,e},apply:function(e,t){null!=e&&e.setTextFormat(this.format),null!=t&&this.applyFlx(t)},fromStr:function(e,t){if(null==t&&(t=0),!(t>3)){e=flixel_addons_ui_FontFixer.fix(e);var i=this.getFontStyle(e);this.setFontStyle(i);for(var l="",n=0,s=flixel_addons_ui_FontDef.EXTENSIONS;n<s.length;){a=s[n];if(++n,-1!=e.indexOf(a)&&openfl_utils_Assets.exists(e+l,"FONT")){this.name=StringTools.replace(e,l,""),this.file=e,l=a;break}}if(""!=l)return e=this.stripFontExtensions(e),""!=this.getFontStyle(e)?(e=HxOverrides.substr(e,e.length-1,1),void this.fromStr(e,t+1)):void this.fromStr(e,t+1);for(var n=0,s=flixel_addons_ui_FontDef.EXTENSIONS;n<s.length;){var a=s[n];if(++n,openfl_utils_Assets.exists(e+a,"FONT")){l=a,this.name=e,this.file=e+l,l=a;break}}this.setFontStyle(i)}},_size:null,stripFontExtensions:function(e){if(null==e)return e;for(var t=0,i=flixel_addons_ui_FontDef.EXTENSIONS;t<i.length;){var l=i[t];++t,null!=e&&-1!=e.indexOf(l)&&(e=StringTools.replace(e,l,""))}return e},getFontExtension:function(e){if(null==e)return"";for(var t=0,i=flixel_addons_ui_FontDef.EXTENSIONS;t<i.length;){var l=i[t];if(++t,-1!=e.indexOf(l))return l}return e},fixFontName:function(){var e=this.getFontStyle(this.file),t=this.getFontExtension(this.file),i=this.stripFontExtensions(this.file);""!=e&&(i=HxOverrides.substr(i,0,i.length-1));var l="";this.format.bold&&this.format.italic?l="z":this.format.bold?l="b":this.format.italic&&(l="i"),this.file=i+l+t},getFontStyle:function(e){if(null==e)return"";e=this.stripFontExtensions(e);var t=HxOverrides.substr(e,e.length-1,1);if(""!=t&&null!=t)switch(t=t.toLowerCase()){case"b":return"b";case"i":return"i";case"z":return"z";default:return""}return""},setFontStyle:function(e){switch(e=e.toLowerCase()){case"b":case"bold":this.format.bold=!0,this.format.italic=!1;break;case"all":case"bi":case"bold-italic":case"bolditalic":case"both":case"ib":case"italicbold":case"z":this.format.bold=!0,this.format.italic=!0;break;case"i":case"italic":this.format.bold=!1,this.format.italic=!0;break;default:this.format.bold=!1,this.format.italic=!1}this.fixFontName()},toString:function(){return"{name:"+this.name+",size:"+this.get_size()+",file:"+this.file+",extension:"+this.extension+",format:"+Std.string(this.format)+",border:"+Std.string(this.border)+"}"},__class__:flixel_addons_ui_FontDef,__properties__:{set_size:"set_size",get_size:"get_size"}};var flixel_addons_ui_FontFixer=function(){};$hxClasses["flixel.addons.ui.FontFixer"]=flixel_addons_ui_FontFixer,flixel_addons_ui_FontFixer.__name__="flixel.addons.ui.FontFixer",flixel_addons_ui_FontFixer.name2File=null,flixel_addons_ui_FontFixer.init=function(){null==flixel_addons_ui_FontFixer.name2File&&(flixel_addons_ui_FontFixer.name2File=new haxe_ds_StringMap)},flixel_addons_ui_FontFixer.fix=function(e){return flixel_addons_ui_FontFixer.init(),-1==e.indexOf(".ttf")&&Object.prototype.hasOwnProperty.call(flixel_addons_ui_FontFixer.name2File.h,e)&&(e=flixel_addons_ui_FontFixer.name2File.h[e]),e},flixel_addons_ui_FontFixer.add=function(e,t){if(null==t&&(t=""),flixel_addons_ui_FontFixer.init(),""!=t&&Object.prototype.hasOwnProperty.call(flixel_addons_ui_FontFixer.name2File.h,t))return flixel_addons_ui_FontFixer.name2File.h[t];if(!openfl_utils_Assets.exists(e,"FONT"))return e;var i=openfl_utils_Assets.getFont(e);return null==i?e:(""==t&&(t=i.name),flixel_addons_ui_FontFixer.name2File.h[t]=e,flixel_addons_ui_FontFixer.fix(e))};var flixel_addons_ui_StrNameLabel=function(e,t){null==t&&(t=""),null==e&&(e=""),this.name=e,this.label=t};$hxClasses["flixel.addons.ui.StrNameLabel"]=flixel_addons_ui_StrNameLabel,flixel_addons_ui_StrNameLabel.__name__="flixel.addons.ui.StrNameLabel",flixel_addons_ui_StrNameLabel.sortByLabel=function(e,t){return e.label<t.label?-1:e.label>t.label?1:0},flixel_addons_ui_StrNameLabel.sortByName=function(e,t){return e.name<t.name?-1:e.name>t.name?1:0},flixel_addons_ui_StrNameLabel.prototype={name:null,label:null,copy:function(){return new flixel_addons_ui_StrNameLabel(this.name,this.label)},toString:function(){var e=this.name,t=flixel_util_LabelValuePair._pool.get();t.label="name",t.value=e;var e=this.label,i=flixel_util_LabelValuePair._pool.get();return i.label="label",i.value=e,flixel_util_FlxStringUtil.getDebugString([t,i])},__class__:flixel_addons_ui_StrNameLabel};var flixel_addons_ui_U=function(){};$hxClasses["flixel.addons.ui.U"]=flixel_addons_ui_U,flixel_addons_ui_U.__name__="flixel.addons.ui.U",flixel_addons_ui_U.xml_str=function(e,t,i,l){return null==l&&(l=""),null==i&&(i=!1),null!=e.get(t)?i?e.get(t).toLowerCase():e.get(t):l},flixel_addons_ui_U.xml_name=function(e){var t=flixel_addons_ui_U.xml_str(e,"name",!0,"");return""==t&&(t=flixel_addons_ui_U.xml_str(e,"id",!0,"")),t},flixel_addons_ui_U.xml_color=function(e,t,i,l){null==i&&(i=!0);var n=null,s=flixel_addons_ui_U.xml_str(e,t,!0);if(""!=s){var a=flixel_util_FlxColor.fromString(s);if(null==a)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+s);n=a}return null==n&&null!=l&&(n=l),n},flixel_addons_ui_U.xml_iArray=function(e,t){var i=flixel_addons_ui_U.xml_strArray(e,t),l=null;if(null!=i&&i.length>0){l=[];for(var n=0,s=i.length;n<s;){var a=n++;l[a]=Std.parseInt(i[a])}}return l},flixel_addons_ui_U.xml_fArray=function(e,t){var i=flixel_addons_ui_U.xml_strArray(e,t),l=null;if(null!=i&&i.length>0){l=[];for(var n=0,s=i.length;n<s;){var a=n++;l[a]=parseFloat(i[a])}}return l},flixel_addons_ui_U.xml_strArray=function(e,t,i,l){null==i&&(i=!0);var n=flixel_addons_ui_U.xml_str(e,t,i);return""!=n?n.split(","):l},flixel_addons_ui_U.xml_colorArray=function(e,t,i){null==i&&(i=!0);var l=flixel_addons_ui_U.xml_strArray(e,t),n=null;if(null!=l&&l.length>0){n=[];for(var s=0,a=l.length;s<a;){var r=s++,_=l[r],o=flixel_util_FlxColor.fromString(_);if(null==o)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+_);n[r]=o}}return n},flixel_addons_ui_U.perc_to_float=function(e){if(e.lastIndexOf("%")==e.length-1){e=HxOverrides.substr(e,0,e.length-1);var t=new EReg("([0-9]+)?(\\.)?([0-9]*)?","");if(t.match(e)){var i=t.matchedPos();if(0==i.pos&&i.len==e.length){var l=parseFloat(e);return l/=100}}}return NaN},flixel_addons_ui_U.isStrNum=function(e){if(null==e||""==e)return!1;var t=new EReg("-?([0-9]+)?(\\.)?([0-9]*)?","");if(t.match(e)){var i=t.matchedPos();if(0==i.pos&&i.len==e.length)return!0}return!1},flixel_addons_ui_U.isStrInt=function(e){var t=new EReg("[0-9]+","");if(t.match(e)){var i=t.matchedPos();if(0==i.pos&&i.len==e.length)return!0}return!1},flixel_addons_ui_U.isStrFloat=function(e){var t=new EReg("[0-9]+\\.[0-9]+","");if(t.match(e)){var i=t.matchedPos();if(0==i.pos&&i.len==e.length)return!0}return!1},flixel_addons_ui_U.xml_f=function(e,t,i){return null==i&&(i=0),null!=e.get(t)?parseFloat(e.get(t)):i},flixel_addons_ui_U.xml_i=function(e,t,i){return null==i&&(i=0),null!=e.get(t)?Std.parseInt(e.get(t)):i},flixel_addons_ui_U.xml_pt=function(e,t,i){return null!=e.get(t)?flixel_addons_ui_U.pointify(e.get(t)):i},flixel_addons_ui_U.boolify=function(e){return"true"==(e=e.toLowerCase())||"1"==e},flixel_addons_ui_U.pointify=function(e){var t=null;if(null!=e){for(var i=["(",")"," ","=",":"],l=0;l<i.length;){var n=i[l];for(++l;-1!=e.indexOf(n);)e=StringTools.replace(e,n,"")}-1==e.indexOf(",")&&-1!=e.indexOf("x")&&(e=StringTools.replace(e,"x",",")),2==(i=e.split(",")).length&&(t=new flixel_math_FlxPoint(parseFloat(i[0]),parseFloat(i[1])))}return t},flixel_addons_ui_U.compareStringVars=function(e,t,i,l){switch(null==l&&(l="=="),i){case"bool":var n=flixel_addons_ui_U.boolify(e),s=flixel_addons_ui_U.boolify(t);if("=="==l||"="==l)return n==s;if("!=="==l||"!="==l)return n!=s;break;case"float":var a=parseFloat(e),r=parseFloat(t);if("=="==l||"="==l)return a==r;if("!=="==l||"!="==l)return a!=r;if("<"==l)return a<r;if(">"==l)return a>r;if("<="==l)return a<=r;if(">="==l)return a>=r;break;case"int":var _=Std.parseInt(e),o=Std.parseInt(t);if("=="==l||"="==l)return _==o;if("!=="==l||"!="==l)return _!=o;if("<"==l)return _<o;if(">"==l)return _>o;if("<="==l)return _<=o;if(">="==l)return _>=o;break;case"string":if("=="==l||"="==l)return e==t;if("!=="==l||"!="==l)return e!=t}return!1},flixel_addons_ui_U.xml_bool=function(e,t,i){if(null==i&&(i=!1),null!=e.get(t)){var l=e.get(t);return"true"==(l=l.toLowerCase())||"1"==l}return i},flixel_addons_ui_U.xml_gfx=function(e,t,i){null==i&&(i=!0);var l="";if(null!=e.get(t))if(""==(l=e.get(t))||null==l)l="";else if(l=flixel_addons_ui_U.gfx(l),i)try{if(!openfl_utils_Assets.exists(l,"IMAGE"))throw haxe_Exception.thrown("couldn't load bmp \""+t+'"')}catch(e){if(haxe_NativeStackTrace.lastError=e,"string"!=typeof haxe_Exception.caught(e).unwrap())throw e}return l},flixel_addons_ui_U.center=function(e,t,i,l){null==l&&(l=!0),null==i&&(i=!0),i&&t.set_x(e.x+(e.get_width()-t.get_width())/2),l&&t.set_y(e.y+(e.get_height()-t.get_height())/2)},flixel_addons_ui_U.test_int=function(e,t,i){switch(t){case"!=":return e!=i;case"<":return e<i;case"<=":return e<=i;case"==":return e==i;case">":return e>i;case">=":return e>=i;default:return!1}},flixel_addons_ui_U.test_float=function(e,t,i){switch(t){case"!=":return e!=i;case"<":return e<i;case"<=":return e<=i;case"==":return e==i;case">":return e>i;case">=":return e>=i;default:return!1}},flixel_addons_ui_U.padDigits=function(e,t,i){null==i&&(i="0");for(var l=e,n="",s=0;l>=1;)l/=10,++s;if(0==e&&(s=1),s<t)for(var a=0,r=t-s;a<r;){a++;n+=i}return n+(null==e?"null":""+e)},flixel_addons_ui_U.conformToBounds=function(e,t){return null!=t&&(e.x<t.min_width&&(e.x=t.min_width),e.y<t.min_height&&(e.y=t.min_height),e.x>t.max_width&&(e.x=t.max_width),e.x>t.max_height&&(e.y=t.max_height)),e},flixel_addons_ui_U.parseHex=function(e,t,i,l){null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1);var n=flixel_util_FlxColor.fromString(e);if(null==n){if(!i)throw haxe_Exception.thrown("U.parseHex() unable to parse hex String "+e);n=l}return n},flixel_addons_ui_U.hexChar2dec=function(e){switch(e){case"0":case"1":case"10":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return Std.parseInt(e);case"A":case"a":return 10;case"C":case"c":return 12;case"E":case"e":return 14;case"B":case"b":return 11;case"D":case"d":return 13;case"F":case"f":return 15;default:throw haxe_Exception.thrown("U.hexChar2dec() illegal char("+e+")")}},flixel_addons_ui_U.hex2dec=function(e){for(var t=1,i=0,l=e.length-1;l>=0;){var n,s=HxOverrides.substr(e,l,1);switch(s){case"0":case"1":case"10":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=Std.parseInt(s);break;case"A":case"a":n=10;break;case"C":case"c":n=12;break;case"E":case"e":n=14;break;case"B":case"b":n=11;break;case"D":case"d":n=13;break;case"F":case"f":n=15;break;default:throw haxe_Exception.thrown("U.hexChar2dec() illegal char("+s+")")}i+=n*t,t*=16,--l}return i},flixel_addons_ui_U.hex2rgb=function(e){return[e>>16&255,e>>8&255,255&e]},flixel_addons_ui_U.applyResize=function(e,t,i,l,n){if(null==n&&(n=new flixel_math_FlxPoint),e>0){var s=i/l;Math.abs(s-e)>1e-4&&(1==t?l=i*(1/e):i=l*(1/e))}return(0|i)<1&&(i=1),(0|l)<1&&(l=1),n.set(i,l),n},flixel_addons_ui_U.rgb2hex=function(e,t,i){return e<<16|t<<8|i},flixel_addons_ui_U.interpolate=function(e,t,i){i<0?i=0:i>1&&(i=1);var l=1-i;return((e>>16&255)*l+(t>>16&255)*i|0)<<16|((e>>8&255)*l+(t>>8&255)*i|0)<<8|((255&e)*l+(255&t)*i|0)},flixel_addons_ui_U.getLocList=function(e,t,i,l){for(var n=[],s=t,a=l+1;s<a;)for(var r=s++,_=e,o=i+1;_<o;){var h=_++,u=r;null==u&&(u=0),null==h&&(h=0);var d=flixel_math_FlxPoint._pool.get().set(h,u);d._inPool=!1,n.push(d)}return n},flixel_addons_ui_U.disposeXML=function(e){},flixel_addons_ui_U.copyAccess=function(e){var t=Xml.parse(haxe_xml_Printer.print(e)).firstElement();if(t.nodeType!=Xml.Document&&t.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));return t},flixel_addons_ui_U.copyXml=function(e){return Xml.parse(haxe_xml_Printer.print(e)).firstElement()},flixel_addons_ui_U.getXML=function(e,t){null==t&&(t="");var i=e;return""!=t&&(i=t+"/"+i),flixel_addons_ui_U.xml(i)},flixel_addons_ui_U.json=function(e,t,i){null==i&&(i="assets/json/"),null==t&&(t="json");var l=openfl_utils_Assets.getText(i+e+"."+t);return""!=l&&null!=l?JSON.parse(l):null},flixel_addons_ui_U.field=function(e,t,i){if(null==e)return null;if(Object.prototype.hasOwnProperty.call(e,t)){var l=Reflect.field(e,t);return null==l?i:l}return i},flixel_addons_ui_U.xml=function(e,t,i,l){null==l&&(l="assets/xml/"),null==i&&(i=!0),null==t&&(t="xml"),0!=e.indexOf("raw:")&&0!=e.indexOf("RAW:")||(e=HxOverrides.substr(e,4,e.length-4),l="");var n=l+e+"."+t;if(!openfl_utils_Assets.exists(n,"TEXT"))return null;var s=openfl_utils_Assets.getText(l+e+"."+t);if(null==s)return null;var a=Xml.parse(s);if(i){var r=a.firstElement();if(r.nodeType!=Xml.Document&&r.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==r.nodeType?"null":XmlType.toString(r.nodeType)));return r}return a.firstElement()},flixel_addons_ui_U.clearArraySoft=function(e){if(null!=e){for(var t=e.length-1;t>=0;)e[t]=null,e.splice(t,1),--t;e=null}},flixel_addons_ui_U.clearArray=function(e){if(null!=e){for(var t=e.length-1;t>=0;)flixel_addons_ui_U.destroyThing(e[t]),e[t]=null,e.splice(t,1),--t;e=null}},flixel_addons_ui_U.destroyThing=function(e){if(null!=e){if(e instanceof Array)flixel_addons_ui_U.clearArray(e);else if(js_Boot.__implements(e,flixel_util_IFlxDestroyable)){var t=js_Boot.__cast(e,flixel_util_IFlxDestroyable);t.destroy(),t=null}else if(e instanceof flixel_FlxBasic){var i=js_Boot.__cast(e,flixel_FlxBasic);i.destroy(),i=null}e=null}},flixel_addons_ui_U.fontStr=function(e,t){null==t&&(t="");var i=t;null==i&&(i="");var l="";switch(i=i.toLowerCase()){case"b":case"bold":l="b";break;case"bi":case"bold-italic":case"boldi":case"bolditalic":case"ib":case"ibold":case"italic-bold":case"italicbold":case"z":l="z";break;case"i":case"italic":l="i";break;case"":case"none":case"normal":case"regular":l=""}return 0!=e.indexOf("assets/fonts/")?"assets/fonts/"+e+l:e+l},flixel_addons_ui_U.font=function(e,t,i){null==i&&(i=".ttf"),null==t&&(t="");var l=e,n=t;null==n&&(n="");var s="";switch(n=n.toLowerCase()){case"b":case"bold":s="b";break;case"bi":case"bold-italic":case"boldi":case"bolditalic":case"ib":case"ibold":case"italic-bold":case"italicbold":case"z":s="z";break;case"i":case"italic":s="i";break;case"":case"none":case"normal":case"regular":s=""}if(0!=e.indexOf("assets/fonts/")?e="assets/fonts/"+e+s:e+=s,-1==e.indexOf(i)&&(e+=i),e=flixel_addons_ui_FontFixer.add(e),!openfl_utils_Assets.exists(e,"FONT")&&".ttf"==i){var a=flixel_addons_ui_U.font(l,t,".otf");if(openfl_utils_Assets.exists(a,"FONT"))return a}return e},flixel_addons_ui_U._font=function(e,t){null==t&&(t="");var i="";switch(t=t.toLowerCase()){case"b":case"bold":i="b";break;case"bi":case"bold-italic":case"boldi":case"bolditalic":case"ib":case"ibold":case"italic-bold":case"italicbold":case"z":i="z";break;case"i":case"italic":i="i";break;case"":case"none":case"normal":case"regular":i=""}return 0!=e.indexOf("assets/fonts/")?"assets/fonts/"+e+i:e+i},flixel_addons_ui_U.fsx=function(e){return new flixel_addons_ui_FlxUISprite(0,0,e)},flixel_addons_ui_U.fs=function(e){return new flixel_FlxSprite(0,0,e)},flixel_addons_ui_U.FU=function(e){return HxOverrides.substr(e,0,1).toUpperCase()+HxOverrides.substr(e,1,e.length-1)},flixel_addons_ui_U.FUL=function(e){return HxOverrides.substr(e,0,1).toUpperCase()+HxOverrides.substr(e,1,e.length-1).toLowerCase()},flixel_addons_ui_U.getBmp=function(e){var t=null;if("string"==typeof e)t=e;else if(e instanceof flixel_graphics_FlxGraphic)t=e.key;else if(e instanceof openfl_display_BitmapData)return e;if(null!=flixel_FlxG.bitmap._cache.h[t]){var i=flixel_FlxG.bitmap._cache.h[t];if(null!=i.bitmap)return i.bitmap}return openfl_utils_Assets.getBitmapData(t,!1)},flixel_addons_ui_U.checkHaxedef=function(e){switch(e=e.toLowerCase()){case"android":break;case"console-pc":case"console_pc":case"cpp":case"demo":case"desktop":case"flash":break;case"html5":return!0;case"ios":break;case"js":return!0;case"legacy":case"lime_legacy":break;case"lime_next":case"next":return!0;case"linux":case"mac":case"mobile":case"neko":case"ps3":case"ps4":case"sys":case"tvos":case"vita":break;case"web":return!0}return!1},flixel_addons_ui_U.copy_shallow_arr=function(e){if(null==e)return null;var t=[];if(null==e)return t;for(var i=0;i<e.length;){var l=e[i];++i,t.push(l)}return t},flixel_addons_ui_U.copy_arr_arr_i=function(e){if(null==e)return null;for(var t=[],i=0;i<e.length;){var l=e[i];++i;for(var n=[],s=0;s<l.length;){var a=l[s];++s,n.push(a)}t.push(n)}return t},flixel_addons_ui_U.copy_shallow_arr_i=function(e){if(null==e)return null;for(var t=[],i=0;i<e.length;){var l=e[i];++i,t.push(l)}return t},flixel_addons_ui_U.copy_shallow_arr_str=function(e){if(null==e)return null;for(var t=[],i=0;i<e.length;){var l=e[i];++i,t.push(l)}return t},flixel_addons_ui_U.FU_=function(e){for(var t=e.split(" "),e="",i=0,l=t.length;i<l;){var n=i++;e+=flixel_addons_ui_U.FU(t[n]),n!=t.length-1&&(e+=" ")}return e},flixel_addons_ui_U.xml_blend=function(e,t){return flixel_addons_ui_U.blendModeFromString(flixel_addons_ui_U.xml_str(e,t,!0,"normal"))},flixel_addons_ui_U.blendModeFromString=function(e){switch(e=e.toLowerCase()){case"add":return 0;case"alpha":return 1;case"darken":return 2;case"difference":return 3;case"erase":return 4;case"hardlight":return 5;case"invert":return 6;case"layer":return 7;case"lighten":return 8;case"multiply":return 9;case"normal":return 10;case"overlay":return 11;case"screen":return 12;case"subtract":return 14;default:return 10}},flixel_addons_ui_U.scaleTileBmp=function(e,t,i,l,n,s,a){null==a&&(a=!0),null==s&&(s=-1),null==n&&(n=-1);var r=openfl_utils_Assets.getBitmapData(e,!1);if(null==r){if(null==flixel_FlxG.bitmap._cache.h[e])return null;r=flixel_FlxG.bitmap._cache.h[e].bitmap}var _=r.width/i|0,o=r.height/l|0;if(-1==n&&(n=i*t|0),-1==s&&(t=(s=l*t|0)/l),Math.abs(t-1)>.001){var h=new openfl_display_BitmapData(n*_|0,s*o|0,!0,0),u=new openfl_geom_Rectangle,d=new openfl_geom_Point,c=new openfl_geom_Matrix;c.scale(t,t);for(var p=0,f=o;p<f;)for(var m=p++,x=0,g=_;x<g;){var F=x++,y=new openfl_display_BitmapData(i,l,!0,0);u.setTo(F*i,m*l,i,l),d.setTo(0,0),y.copyPixels(r,u,d);var S=new openfl_display_BitmapData(n,s,!0,0);S.draw(y,c,null,null,null,a),d.setTo(F*n,m*s),h.copyPixels(S,S.rect,d)}return h}return r.clone()},flixel_addons_ui_U.scaleAndStoreTileset=function(e,t,i,l,n,s,a){null==a&&(a=!0),null==s&&(s=-1),null==n&&(n=-1);var r=e+"_x"+t;if(null!=flixel_FlxG.bitmap._cache.h[r]==0){var _=flixel_addons_ui_U.scaleTileBmp(e,t,i,l,n,s,a);flixel_FlxG.bitmap.add(_,!1,r)}return r},flixel_addons_ui_U.loadScaledImage=function(e,t,i,l){null==l&&(l=!0);var n=flixel_addons_ui_U.gfx(e),s=openfl_utils_Assets.getBitmapData(n,!1);if(null!=s){if(t<0&&(t=s.width),i<0&&(i=s.height),Math.abs(t-s.width)+Math.abs(i-s.height)>.01){var a=n+"_"+(0|t)+"x"+(0|i);if(null==flixel_FlxG.bitmap._cache.h[a]){var r=new openfl_display_BitmapData(0|t,0|i,!0,0),_=flixel_addons_ui_U.getMatrix();_.identity(),_.scale(t/s.width,i/s.height),r.draw(s,_,null,null,null,l),flixel_FlxG.bitmap.add(r,!0,a)}return a}return n}return null},flixel_addons_ui_U.loadImageScaleToHeight=function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!0);var n=flixel_addons_ui_U.gfx(e),s=null;if(l){var a=flixel_FlxG.bitmap._cache.h[n];s=null!=a?a.bitmap:null}else s=openfl_utils_Assets.getBitmapData(n,!1);var r=null!=s?t/s.height:1;return flixel_addons_ui_U.loadMonoScaledImage(n,r,i,l)},flixel_addons_ui_U.loadMonoScaledImage=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=!0);var s=flixel_addons_ui_U.gfx(e),a=null;if(l){var r=flixel_FlxG.bitmap._cache.h[s];a=null!=r?r.bitmap:null}else null==(a=openfl_utils_Assets.getBitmapData(s,!1))&&(a=openfl_utils_Assets.getBitmapData(s,!0));if(null!=a){if(t<=0)throw haxe_Exception.thrown("Error! Scale must be positive & > 0! (Scale was = "+t+")");if(Math.abs(t-1)>.001){var _=s+"_ScaleX"+t;if(null==flixel_FlxG.bitmap._cache.h[_]){var o=new openfl_display_BitmapData(a.width*t|0,a.height*t|0,!0,0),h=flixel_addons_ui_U.getMatrix();if(h.identity(),h.scale(t,t),o.draw(a,h,null,null,null,i),n){var u=new openfl_display_BitmapData(o.width,o.height,!0,-16777216);u.copyPixels(o,o.rect,new openfl_geom_Point,null,null,!0),u.copyChannel(o,o.rect,new openfl_geom_Point(0,0),8,8);var d=o;o=u,d.dispose()}flixel_FlxG.bitmap.add(o,!0,_)}return _}return flixel_FlxG.bitmap.add(a,!1,s),s}return null},flixel_addons_ui_U.gfx=function(e,t,i,l,n,s){null==s&&(s=!1),null==n&&(n=""),null==l&&(l=""),null==i&&(i=""),null==t&&(t=""),null!=e&&(e=e.toLowerCase());var a="";return""!=t&&(a=t+"/",""!=i&&(a+=i+"/",""!=l&&(a+=l+"/",""!=n&&(a+=n+"/")))),""!=a&&(e=a+e),0!=e.indexOf("raw:")&&(e=StringTools.replace(e,"-","_")),flixel_addons_ui_U.get_gfx(e)},flixel_addons_ui_U.bmpToArrayIntLayer=function(e,t){for(var i,l=[],n=t.width,s=0,a=t.height;s<a;)for(var r=s++,_=0,o=n;_<o;){var h=_++;i=(i=t.getPixel(h,r))==e?1:0,l.push(i)}return l},flixel_addons_ui_U.bmpToCSVLayer=function(e,t){for(var i,l="",n=t.width,s=0,a=t.height;s<a;)for(var r=s++,_=0,o=n;_<o;){var h=_++;i=(i=t.getPixel(h,r))==e?1:0,l+=0==h?0==r?i:"\n"+i:", "+i}return l},flixel_addons_ui_U.get_gfx=function(e){var t="",i="";return i=-1!=e.indexOf(".jpg")?".jpg":".png",null!=e&&e.length>4&&-1!=e.indexOf(i)&&(e=HxOverrides.substr(e,0,e.length-4)),0!=e.indexOf("raw:")&&0!=e.indexOf("RAW:")||(t=(e=HxOverrides.substr(e,4,e.length-4))+i),null!=e&&0==e.indexOf("assets/gfx/")&&(t=e+i),""==t&&(t="assets/gfx/"+e+i),-1!=t.indexOf(".stitch.txt"+i)&&(t=StringTools.replace(t,".stitch.txt"+i,".stitch.txt")),t},flixel_addons_ui_U.sfx=function(e){return".ogg",0==e.indexOf("RAW:")?(e=HxOverrides.substr(e,4,e.length-4))+".ogg":"assets/sfx/"+e+".ogg"},flixel_addons_ui_U.intStr_to_arr=function(e){for(var t=e.split(","),i=[],l=0;l<t.length;){var n=t[l];if(++l,-1==n.indexOf("-"))i.push(Std.parseInt(n));else{var s=e.split("-"),a=-1,r=-1;if(null!=s&&2==s.length&&(a=Std.parseInt(s[0]),r=Std.parseInt(s[1])+1,a>=0&&r>a))for(var _=a,o=r;_<o;){var h=_++;i.push(h)}}}return i},flixel_addons_ui_U.intStr_to_arrStr=function(e){for(var t=e.split(","),i=[],l=0;l<t.length;){var n=t[l];if(++l,-1==n.indexOf("-"))i.push(Std.string(Std.parseInt(n)));else{var s=e.split("-"),a=-1,r=-1;if(null!=s&&2==s.length&&(a=Std.parseInt(s[0]),r=Std.parseInt(s[1])+1,a>=0&&r>a))for(var _=a,o=r;_<o;){var h=_++;i.push(null==h?"null":""+h)}}}return i},flixel_addons_ui_U.dirStr=function(e,t){var i="";return 0==e?-1==t?i="N":1==t?i="S":0==t&&(i="NONE"):1==e?-1==t?i="NE":1==t?i="SE":0==t&&(i="E"):-1==e?-1==t?i="NW":1==t?i="SW":0==t&&(i="W"):i="NONE",i},flixel_addons_ui_U.obj_direction=function(e,t){var i=e.x-t.x,l=e.y-t.y,n=i/Math.abs(i)|0,s=l/Math.abs(l)|0;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);return a._inPool=!1,a},flixel_addons_ui_U.circle_test=function(e,t,i,l,n,s){var a=e-l,r=t-n;return a*a+r*r<=i*i+s*s},flixel_addons_ui_U.point_circle_test=function(e,t,i,l,n){var s=e-i,a=t-l;return s*s+a*a<=n*n},flixel_addons_ui_U.aabb_test_mult=function(e,t,i,l){null==l&&(l=1),null==i&&(i=1);var n=e.get_width()*i,s=(n-e.get_width())/2,a=e.x-s,r=e.x+e.get_width()+s;s=((n=e.get_height()*i)-e.get_height())/2;var _=e.y-s,o=e.y+e.get_height()+s;s=((n=t.get_width()*l)-t.get_width())/2;var h=t.x-s,u=t.x+t.get_width()+s;s=((n=t.get_height()*l)-t.get_height())/2;var d=t.y-s,c=t.y+t.get_height()+s;return Math.abs(u+h-(r+a))<=u-h+r-a&&Math.abs(c+d-(o+_))<=c-d+o-_},flixel_addons_ui_U.aabb_test=function(e,t){var i=e.x,l=e.x+e.get_width(),n=e.y,s=e.y+e.get_height(),a=t.x,r=t.x+t.get_width(),_=t.y,o=t.y+t.get_height();return Math.abs(r+a-(l+i))<=r-a+l-i&&Math.abs(o+_-(s+n))<=o-_+s-n},flixel_addons_ui_U.bitStringDimensions=function(e){var t=new openfl_geom_Point(0,0),i=e.split("\n");return null!=i&&i.length>1&&(t.y=i.length,null!=i[0]&&i[0].length>1&&(t.x=i[0].length)),t},flixel_addons_ui_U.splitBitString=function(e){for(var t=[],i=e.split("\n"),l=0;l<i.length;){for(var n=i[l].length,s=0;s<n;){var a=i[l].charAt(s),r=Std.parseInt(a);t.push(r),++s}++l}return t},flixel_addons_ui_U.getShortTextFromFlxKeyText=function(e){switch(e=e.toUpperCase()){case"ACCENT":return"`";case"ALT":return"AT";case"BACKSLASH":return"\\";case"BACKSPACE":return"BK";case"CAPSLOCK":return"CP";case"COMMA":return",";case"CONTROL":return"CT";case"DELETE":return"DE";case"DOWN":return"DN";case"EIGHT":return"8";case"END":return"ED";case"ENTER":return"EN";case"EQUALS":return"=";case"ESC":case"ESCAPE":return"EC";case"FIVE":return"5";case"FOUR":return"4";case"HOME":return"HM";case"INSERT":return"IN";case"LBRACKET":return"[";case"LEFT":return"LT";case"MINUS":return"-";case"NINE":return"9";case"NULL":return" ";case"NUM0":return"N0";case"NUM1":return"N1";case"NUM2":return"N2";case"NUM3":return"N3";case"NUM4":return"N4";case"NUM5":return"N5";case"NUM6":return"N6";case"NUM7":return"N7";case"NUM8":return"N8";case"NUM9":return"N9";case"NUMDEC":return"N.";case"NUMDIV":return"N/";case"NUMLOCK":return"NM";case"NUMMINUS":return"N-";case"NUMMULT":return"N*";case"NUMPLUS":return"N+";case"ONE":return"1";case"PAGEDOWN":return"PD";case"PAGEUP":return"PU";case"PAUSEBREAK":return"PB";case"PERIOD":return".";case"PLUS":return"+";case"QUOTE":return'"';case"RBRACKET":return"]";case"RIGHT":return"RT";case"SCROLLLOCK":return"SC";case"SEMICOLON":return";";case"SEVEN":return"7";case"SHIFT":return"SH";case"SIX":return"6";case"SLASH":return"/";case"SPACE":return"SP";case"TAB":return"TB";case"TEN":return"10";case"THREE":return"3";case"TWO":return"2";case"UP":return"UP";case"ZERO":return"0";default:return e}},flixel_addons_ui_U.getFlxKeyTextFromShortText=function(e){switch(e=e.toUpperCase()){case"":return" ";case'"':return"QUOTE";case"*":return"NUMMULT";case"+":return"PLUS";case",":return"COMMA";case"-":return"MINUS";case".":return"PERIOD";case"/":return"SLASH";case"0":return"ZERO";case"1":return"ONE";case"10":return"TEN";case"2":return"TWO";case"3":return"THREE";case"4":return"FOUR";case"5":return"FIVE";case"6":return"SIX";case"7":return"SEVEN";case"8":return"EIGHT";case"9":return"NINE";case";":return"SEMICOLON";case"=":return"EQUALS";case"AT":return"ALT";case"BK":return"BACKSPACE";case"CP":return"CAPSLOCK";case"CT":return"CONTROL";case"DE":return"DELETE";case"DN":return"DOWN";case"EC":return"ESCAPE";case"ED":return"END";case"EN":return"ENTER";case"HM":return"HOME";case"IN":return"INSERT";case"LT":return"LEFT";case"N+":return"NUMPLUS";case"N-":return"NUMMINUS";case"N.":return"NUMDEC";case"N/":return"NUMDIV";case"N0":return"NUM0";case"N1":return"NUM1";case"N2":return"NUM2";case"N3":return"NUM3";case"N4":return"NUM4";case"N5":return"NUM5";case"N6":return"NUM6";case"N7":return"NUM7";case"N8":return"NUM8";case"N9":return"NUM9";case"NM":return"NUMLOCK";case"PB":return"PAUSEBREAK";case"PD":return"PAGEDOWN";case"PU":return"PAGEUP";case"RT":return"RIGHT";case"SC":return"SCROLLLOCK";case"SH":return"SHIFT";case"SP":return"SPACE";case"TB":return"TAB";case"UP":return"UP";case"[":return"LBRACKET";case"\\":return"BACKSLASH";case"]":return"RBRACKET";case"`":return"ACCENT";default:return e}},flixel_addons_ui_U.formatXml=function(e){var t=haxe_xml_Printer.print(e),i=new EReg(">[^`<]*<","g");t=t.replace(i.r,">___SPLITHERE___<");var l=(i=new EReg("___SPLITHERE___","g")).split(t);t="";for(var n=0,s=0;s<l.length;){var a=l[s];++s;for(var r=0,_=n;r<_;){r++;t+="\t"}"<"==a.charAt(0)&&"/"==a.charAt(1)?(--n,t=HxOverrides.substr(t,0,t.length-"\t".length)):">"==a.charAt(a.length-1)&&"/"!=a.charAt(a.length-2)&&"-"!=a.charAt(a.length-2)&&++n,t+=a+"\n"}return t},flixel_addons_ui_U.strCase=function(e,t){switch(t){case"fu":return flixel_addons_ui_U.FU(e);case"fu_":return flixel_addons_ui_U.FU_(e);case"l":return e.toLowerCase();case"u":return e.toUpperCase();default:return e}},flixel_addons_ui_U.unparentXML=function(e){return null!=e.parent&&e.parent.removeChild(e),e},flixel_addons_ui_U.setButtonLabel=function(e,t){if(null!=e)if(e instanceof flixel_addons_ui_FlxUIButton)js_Boot.__cast(e,flixel_addons_ui_FlxUIButton).label.set_text(t);else if(e instanceof flixel_addons_ui_FlxUISpriteButton){var i=e;if(null==i.label)return;if(i.label instanceof flixel_group_FlxTypedSpriteGroup){var l=i.label;if(null==l.group.members)return;for(var n=0,s=l.group.members;n<s.length;){var a=s[n];if(++n,null!=a&&a instanceof flixel_text_FlxText)return void js_Boot.__cast(a,flixel_text_FlxText).set_text(t)}}}},flixel_addons_ui_U.getMatrix=function(){return null==flixel_addons_ui_U._matrix&&(flixel_addons_ui_U._matrix=new openfl_geom_Matrix),flixel_addons_ui_U._matrix};var flixel_addons_ui_interfaces_IFireTongue=function(){};$hxClasses["flixel.addons.ui.interfaces.IFireTongue"]=flixel_addons_ui_interfaces_IFireTongue,flixel_addons_ui_interfaces_IFireTongue.__name__="flixel.addons.ui.interfaces.IFireTongue",flixel_addons_ui_interfaces_IFireTongue.__isInterface__=!0,flixel_addons_ui_interfaces_IFireTongue.prototype={get:null,getFont:null,getFontSize:null,locale:null,__class__:flixel_addons_ui_interfaces_IFireTongue};var flixel_animation_FlxBaseAnimation=function(e,t){this.curIndex=0,this.parent=e,this.name=t};$hxClasses["flixel.animation.FlxBaseAnimation"]=flixel_animation_FlxBaseAnimation,flixel_animation_FlxBaseAnimation.__name__="flixel.animation.FlxBaseAnimation",flixel_animation_FlxBaseAnimation.__interfaces__=[flixel_util_IFlxDestroyable],flixel_animation_FlxBaseAnimation.prototype={parent:null,name:null,curIndex:null,set_curIndex:function(e){return this.curIndex=e,null!=this.parent&&this.parent._curAnim==this&&this.parent.set_frameIndex(e),e},destroy:function(){this.parent=null,this.name=null},update:function(e){},clone:function(e){return null},__class__:flixel_animation_FlxBaseAnimation,__properties__:{set_curIndex:"set_curIndex"}};var flixel_animation_FlxAnimation=function(e,t,i,l,n,s,a){null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=!0),null==l&&(l=0),this._frameTimer=0,this.flipY=!1,this.flipX=!1,this.reversed=!1,this.looped=!0,this.paused=!0,this.finished=!0,this.delay=0,this.curFrame=0,flixel_animation_FlxBaseAnimation.call(this,e,t),this.set_frameRate(l),this.frames=i,this.looped=n,this.flipX=s,this.flipY=a};$hxClasses["flixel.animation.FlxAnimation"]=flixel_animation_FlxAnimation,flixel_animation_FlxAnimation.__name__="flixel.animation.FlxAnimation",flixel_animation_FlxAnimation.__super__=flixel_animation_FlxBaseAnimation,flixel_animation_FlxAnimation.prototype=$extend(flixel_animation_FlxBaseAnimation.prototype,{frameRate:null,curFrame:null,delay:null,finished:null,paused:null,looped:null,reversed:null,flipX:null,flipY:null,frames:null,_frameTimer:null,destroy:function(){this.frames=null,this.name=null,flixel_animation_FlxBaseAnimation.prototype.destroy.call(this)},play:function(e,t,i){if(null==i&&(i=0),null==t&&(t=!1),null==e&&(e=!1),!e&&!this.finished&&this.reversed==t)return this.paused=!1,void(this.finished=!1);this.reversed=t,this.paused=!1,this._frameTimer=0,this.finished=0==this.delay;var l=this.frames.length-1;if(i<0?this.set_curFrame(flixel_FlxG.random.int(0,l)):(i>l&&(i=l),this.reversed&&(i=l-i),this.set_curFrame(i)),this.finished){var n=this.parent;null!=n.finishCallback&&n.finishCallback(this.name)}},restart:function(){this.play(!0,this.reversed)},stop:function(){this.finished=!0,this.paused=!0},reset:function(){this.stop(),this.set_curFrame(this.reversed?this.frames.length-1:0)},finish:function(){this.stop(),this.set_curFrame(this.reversed?0:this.frames.length-1)},pause:function(){this.paused=!0},resume:function(){this.paused=!1},reverse:function(){this.reversed=!this.reversed,this.finished&&this.play(!1,this.reversed)},update:function(e){if(0!=this.delay&&!this.finished&&!this.paused)for(this._frameTimer+=e;this._frameTimer>this.delay&&!this.finished;)if(this._frameTimer-=this.delay,this.reversed)if(this.looped&&0==this.curFrame)this.set_curFrame(this.frames.length-1);else{var t=this;t.set_curFrame(t.curFrame-1)}else if(this.looped&&this.curFrame==this.frames.length-1)this.set_curFrame(0);else{var i=this;i.set_curFrame(i.curFrame+1)}},clone:function(e){return new flixel_animation_FlxAnimation(e,this.name,this.frames,this.frameRate,this.looped,this.flipX,this.flipY)},set_frameRate:function(e){return this.delay=0,this.frameRate=e,e>0&&(this.delay=1/e),e},set_curFrame:function(e){var t=this.frames.length-1;if((this.reversed?t-e:e)>=0?!this.looped&&e>t?(this.finished=!0,this.curFrame=this.reversed?0:t):this.curFrame=e:this.curFrame=flixel_FlxG.random.int(0,t),this.set_curIndex(this.frames[this.curFrame]),this.finished&&null!=this.parent){var i=this.parent;null!=i.finishCallback&&i.finishCallback(this.name)}return e},get_numFrames:function(){return this.frames.length},__class__:flixel_animation_FlxAnimation,__properties__:$extend(flixel_animation_FlxBaseAnimation.prototype.__properties__,{get_numFrames:"get_numFrames",set_curFrame:"set_curFrame",set_frameRate:"set_frameRate"})});var flixel_animation_FlxAnimationController=function(e){this.frameIndex=-1,this._sprite=e,this._animations=new haxe_ds_StringMap};$hxClasses["flixel.animation.FlxAnimationController"]=flixel_animation_FlxAnimationController,flixel_animation_FlxAnimationController.__name__="flixel.animation.FlxAnimationController",flixel_animation_FlxAnimationController.__interfaces__=[flixel_util_IFlxDestroyable],flixel_animation_FlxAnimationController.prototype={frameIndex:null,callback:null,finishCallback:null,_sprite:null,_curAnim:null,_animations:null,_prerotated:null,update:function(e){null!=this._curAnim?this._curAnim.update(e):null!=this._prerotated&&this._prerotated.set_angle(this._sprite.angle)},copyFrom:function(e){this.destroyAnimations();for(var t=haxe_ds_StringMap.valueIterator(e._animations.h);t.hasNext();){var i=t.next();this.add(i.name,i.frames,i.frameRate,i.looped,i.flipX,i.flipY)}return null!=e._prerotated&&this.createPrerotated(),null!=e.get_name()&&this.set_name(e.get_name()),this.set_frameIndex(e.frameIndex),this},createPrerotated:function(e){this.destroyAnimations(),null==e&&(e=this),this._prerotated=new flixel_animation_FlxPrerotatedAnimation(e,e._sprite.bakedRotationAngle),this._prerotated.set_angle(this._sprite.angle)},destroyAnimations:function(){this.clearAnimations(),this.clearPrerotated()},destroy:function(){this.destroyAnimations(),this._animations=null,this.callback=null,this._sprite=null},clearPrerotated:function(){null!=this._prerotated&&this._prerotated.destroy(),this._prerotated=null},clearAnimations:function(){if(null!=this._animations)for(var e,t=haxe_ds_StringMap.keysIterator(this._animations.h);t.hasNext();){var i=t.next();null!=(e=this._animations.h[i])&&e.destroy()}this._animations=new haxe_ds_StringMap,this._curAnim=null},add:function(e,t,i,l,n,s){null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!0),null==i&&(i=30);for(var a=t,r=a.length-1;r>=0;)a[r]>=this._sprite.numFrames&&(a==t&&(a=t.slice()),a.splice(r,1)),--r;if(a.length>0){var _=new flixel_animation_FlxAnimation(this,e,a,i,l,n,s);this._animations.h[e]=_}},remove:function(e){var t=this._animations.h[e];if(null!=t){var i=this._animations;Object.prototype.hasOwnProperty.call(i.h,e)&&delete i.h[e],t.destroy()}},append:function(e,t){var i=this._animations.h[e];if(null!=i)for(var l=t.length-1,n=l;n>=0;)t[l-n]<this._sprite.numFrames&&i.frames.push(t[l-n]),--n},addByNames:function(e,t,i,l,n,s){if(null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!0),null==i&&(i=30),null!=this._sprite.frames){var a=[];if(this.byNamesHelper(a,t),a.length>0){var r=new flixel_animation_FlxAnimation(this,e,a,i,l,n,s);this._animations.h[e]=r}}},appendByNames:function(e,t){var i=this._animations.h[e];null!=i&&null!=this._sprite.frames&&this.byNamesHelper(i.frames,t)},addByStringIndices:function(e,t,i,l,n,s,a,r){if(null==r&&(r=!1),null==a&&(a=!1),null==s&&(s=!0),null==n&&(n=30),null!=this._sprite.frames){var _=[];if(this.byStringIndicesHelper(_,t,i,l),_.length>0){var o=new flixel_animation_FlxAnimation(this,e,_,n,s,a,r);this._animations.h[e]=o}}},appendByStringIndices:function(e,t,i,l){var n=this._animations.h[e];null!=n&&null!=this._sprite.frames&&this.byStringIndicesHelper(n.frames,t,i,l)},addByIndices:function(e,t,i,l,n,s,a,r){if(null==r&&(r=!1),null==a&&(a=!1),null==s&&(s=!0),null==n&&(n=30),null!=this._sprite.frames){var _=[];if(this.byIndicesHelper(_,t,i,l),_.length>0){var o=new flixel_animation_FlxAnimation(this,e,_,n,s,a,r);this._animations.h[e]=o}}},appendByIndices:function(e,t,i,l){var n=this._animations.h[e];null!=n&&null!=this._sprite.frames&&this.byIndicesHelper(n.frames,t,i,l)},findSpriteFrame:function(e,t,i){for(var l=this._sprite.numFrames,n=this._sprite.frames.frames,s=0,a=l;s<a;){var r=s++,_=n[r].name;if(StringTools.startsWith(_,e)&&StringTools.endsWith(_,i)){var o=Std.parseInt(_.substring(e.length,_.length-i.length));if(null!=o&&o==t)return r}}return-1},addByPrefix:function(e,t,i,l,n,s){if(null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!0),null==i&&(i=30),null!=this._sprite.frames){var a=[];if(this.findByPrefix(a,t),a.length>0){var r=[];if(this.byPrefixHelper(r,a,t),r.length>0){var _=new flixel_animation_FlxAnimation(this,e,r,i,l,n,s);this._animations.h[e]=_}}}},appendByPrefix:function(e,t){var i=this._animations.h[e];if(null!=i&&null!=this._sprite.frames){var l=[];this.findByPrefix(l,t),l.length>0&&this.byPrefixHelper(i.frames,l,t)}},play:function(e,t,i,l){if(null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1),null==e&&(null!=this._curAnim&&this._curAnim.stop(),this._curAnim=null),null!=e&&null!=this._animations.h[e]){var n=!1,s=!1;null!=this._curAnim&&e!=this._curAnim.name&&(n=this._curAnim.flipX,s=this._curAnim.flipY,this._curAnim.stop()),this._curAnim=this._animations.h[e],this._curAnim.play(t,i,l),n==this._curAnim.flipX&&s==this._curAnim.flipY||(this._sprite.dirty=!0)}},reset:function(){null!=this._curAnim&&this._curAnim.reset()},finish:function(){null!=this._curAnim&&this._curAnim.finish()},stop:function(){null!=this._curAnim&&this._curAnim.stop()},pause:function(){null!=this._curAnim&&this._curAnim.pause()},resume:function(){null!=this._curAnim&&(this._curAnim.paused=!1)},reverse:function(){null!=this._curAnim&&this._curAnim.reverse()},getByName:function(e){return this._animations.h[e]},randomFrame:function(){null!=this._curAnim&&(this._curAnim.stop(),this._curAnim=null),this.set_frameIndex(flixel_FlxG.random.int(0,this._sprite.numFrames-1))},fireCallback:function(){if(null!=this.callback){var e=null!=this._curAnim?this._curAnim.name:null,t=null!=this._curAnim?this._curAnim.curFrame:this.frameIndex;this.callback(e,t,this.frameIndex)}},fireFinishCallback:function(e){null!=this.finishCallback&&this.finishCallback(e)},byNamesHelper:function(e,t){for(var i=0;i<t.length;){var l=t[i];if(++i,Object.prototype.hasOwnProperty.call(this._sprite.frames.framesHash.h,l)){var n=this._sprite.frames.framesHash.h[l];e.push(this._sprite.frames.frames.indexOf(n))}}},byStringIndicesHelper:function(e,t,i,l){for(var n=0;n<i.length;){var s=i[n];++n;var a=t+s+l;if(Object.prototype.hasOwnProperty.call(this._sprite.frames.framesHash.h,a)){var r=this._sprite.frames.framesHash.h[a];e.push(this._sprite.frames.frames.indexOf(r))}}},byIndicesHelper:function(e,t,i,l){for(var n=0;n<i.length;){var s=i[n];++n;var a=this.findSpriteFrame(t,s,l);-1!=a&&e.push(a)}},byPrefixHelper:function(e,t,i){var l=t[0].name,n=l.indexOf(".",i.length),s=l.substring(-1==n?l.length:n,l.length);flixel_graphics_frames_FlxFrame.sort(t,i.length,s.length);for(var a=0;a<t.length;){var r=t[a];++a,e.push(this._sprite.frames.frames.indexOf(r))}},findByPrefix:function(e,t){for(var i=0,l=this._sprite.frames.frames;i<l.length;){var n=l[i];++i,null!=n.name&&StringTools.startsWith(n.name,t)&&e.push(n)}},set_frameIndex:function(e){if(null!=this._sprite.frames&&this._sprite.numFrames>0&&(e%=this._sprite.numFrames,this._sprite.set_frame(this._sprite.frames.frames[e]),this.frameIndex=e,null!=this.callback)){var t=null!=this._curAnim?this._curAnim.name:null,i=null!=this._curAnim?this._curAnim.curFrame:this.frameIndex;this.callback(t,i,this.frameIndex)}return this.frameIndex},get_frameName:function(){return this._sprite.frame.name},set_frameName:function(e){if(null!=this._sprite.frames&&Object.prototype.hasOwnProperty.call(this._sprite.frames.framesHash.h,e)){null!=this._curAnim&&(this._curAnim.stop(),this._curAnim=null);var t=this._sprite.frames.framesHash.h[e];null!=t&&this.set_frameIndex(this._sprite.frames.frames.indexOf(t))}return e},get_name:function(){var e=null;return null!=this._curAnim&&(e=this._curAnim.name),e},set_name:function(e){return this.play(e),e},get_curAnim:function(){return this._curAnim},set_curAnim:function(e){return e!=this._curAnim&&(null!=this._curAnim&&this._curAnim.stop(),null!=e&&e.play()),this._curAnim=e},get_paused:function(){var e=!1;return null!=this._curAnim&&(e=this._curAnim.paused),e},set_paused:function(e){return null!=this._curAnim&&(e?this._curAnim.pause():this._curAnim.paused=!1),e},get_finished:function(){var e=!0;return null!=this._curAnim&&(e=this._curAnim.finished),e},set_finished:function(e){return e&&null!=this._curAnim&&this._curAnim.finish(),e},get_frames:function(){return this._sprite.numFrames},getFrameIndex:function(e){return this._sprite.frames.frames.indexOf(e)},__class__:flixel_animation_FlxAnimationController,__properties__:{get_frames:"get_frames",set_finished:"set_finished",get_finished:"get_finished",set_paused:"set_paused",get_paused:"get_paused",set_name:"set_name",get_name:"get_name",set_frameName:"set_frameName",get_frameName:"get_frameName",set_frameIndex:"set_frameIndex",set_curAnim:"set_curAnim",get_curAnim:"get_curAnim"}};var flixel_animation_FlxPrerotatedAnimation=function(e,t){this.angle=0,flixel_animation_FlxBaseAnimation.call(this,e,"prerotated_animation"),this.baked=t,this.rotations=Math.round(360/t)};$hxClasses["flixel.animation.FlxPrerotatedAnimation"]=flixel_animation_FlxPrerotatedAnimation,flixel_animation_FlxPrerotatedAnimation.__name__="flixel.animation.FlxPrerotatedAnimation",flixel_animation_FlxPrerotatedAnimation.__super__=flixel_animation_FlxBaseAnimation,flixel_animation_FlxPrerotatedAnimation.prototype=$extend(flixel_animation_FlxBaseAnimation.prototype,{rotations:null,baked:null,angle:null,set_angle:function(e){if(isNaN(e))throw haxe_Exception.thrown("angle must not be NaN");for(var t=this.curIndex,i=Math.floor(e%360);i<0;)i+=360;var l=Math.floor(i/this.baked+.5);return l=l%this.rotations|0,t!=l&&this.set_curIndex(l),this.angle=e},set_curIndex:function(e){return this.curIndex=e,null!=this.parent&&this.parent.set_frameIndex(e),e},clone:function(e){return new flixel_animation_FlxPrerotatedAnimation(e,this.baked)},__class__:flixel_animation_FlxPrerotatedAnimation,__properties__:$extend(flixel_animation_FlxBaseAnimation.prototype.__properties__,{set_angle:"set_angle"})});var flixel_util_FlxPool_$flixel_$effects_$FlxFlicker=function(e){this._count=0,this._pool=[],this._class=e};$hxClasses["flixel.util.FlxPool_flixel_effects_FlxFlicker"]=flixel_util_FlxPool_$flixel_$effects_$FlxFlicker,flixel_util_FlxPool_$flixel_$effects_$FlxFlicker.__name__="flixel.util.FlxPool_flixel_effects_FlxFlicker",flixel_util_FlxPool_$flixel_$effects_$FlxFlicker.__interfaces__=[flixel_util_IFlxPool],flixel_util_FlxPool_$flixel_$effects_$FlxFlicker.prototype={_pool:null,_class:null,_count:null,get:function(){return 0==this._count?Type.createInstance(this._class,[]):this._pool[--this._count]},put:function(e){if(null!=e){var t=this._pool.indexOf(e);(-1==t||t>=this._count)&&(e.destroy(),this._pool[this._count++]=e)}},putUnsafe:function(e){null!=e&&(e.destroy(),this._pool[this._count++]=e)},preAllocate:function(e){for(;e-- >0;)this._pool[this._count++]=Type.createInstance(this._class,[])},clear:function(){this._count=0;var e=this._pool;return this._pool=[],e},get_length:function(){return this._count},__class__:flixel_util_FlxPool_$flixel_$effects_$FlxFlicker,__properties__:{get_length:"get_length"}};var flixel_effects_FlxFlicker=function(){};$hxClasses["flixel.effects.FlxFlicker"]=flixel_effects_FlxFlicker,flixel_effects_FlxFlicker.__name__="flixel.effects.FlxFlicker",flixel_effects_FlxFlicker.__interfaces__=[flixel_util_IFlxDestroyable],flixel_effects_FlxFlicker.flicker=function(e,t,i,l,n,s,a){if(null==n&&(n=!0),null==l&&(l=!0),null==i&&(i=.04),null==t&&(t=1),flixel_effects_FlxFlicker.isFlickering(e)){if(!n)return flixel_effects_FlxFlicker._boundObjects.h[e.__id__];flixel_effects_FlxFlicker.stopFlickering(e)}i<=0&&(i=flixel_FlxG.elapsed);var r=flixel_effects_FlxFlicker._pool.get();return r.start(e,t,i,l,s,a),flixel_effects_FlxFlicker._boundObjects.set(e,r),r},flixel_effects_FlxFlicker.isFlickering=function(e){return null!=flixel_effects_FlxFlicker._boundObjects.h.__keys__[e.__id__]},flixel_effects_FlxFlicker.stopFlickering=function(e){var t=flixel_effects_FlxFlicker._boundObjects.h[e.__id__];null!=t&&t.stop()},flixel_effects_FlxFlicker.prototype={object:null,endVisibility:null,timer:null,completionCallback:null,progressCallback:null,duration:null,interval:null,destroy:function(){this.object=null,this.timer=null,this.completionCallback=null,this.progressCallback=null},start:function(e,t,i,l,n,s){this.object=e,this.duration=t,this.interval=i,this.completionCallback=n,this.progressCallback=s,this.endVisibility=l,this.timer=(new flixel_util_FlxTimer).start(this.interval,$bind(this,this.flickerProgress),this.duration/this.interval|0)},stop:function(){this.timer.cancel(),this.object.set_visible(!0),this.release()},release:function(){flixel_effects_FlxFlicker._boundObjects.remove(this.object),flixel_effects_FlxFlicker._pool.put(this)},flickerProgress:function(e){this.object.set_visible(!this.object.visible),null!=this.progressCallback&&this.progressCallback(this),e.loops>0&&e.loops-e._loopsCounter==0&&(this.object.set_visible(this.endVisibility),null!=this.completionCallback&&this.completionCallback(this),this.release())},__class__:flixel_effects_FlxFlicker};var flixel_effects_postprocess_PostProcess=function(e){};$hxClasses["flixel.effects.postprocess.PostProcess"]=flixel_effects_postprocess_PostProcess,flixel_effects_postprocess_PostProcess.__name__="flixel.effects.postprocess.PostProcess",flixel_effects_postprocess_PostProcess.prototype={enable:function(e){},capture:function(){},rebuild:function(){},update:function(e){},render:function(e){},setUniform:function(e,t){},set_to:function(e){return null},__class__:flixel_effects_postprocess_PostProcess,__properties__:{set_to:"set_to"}};var flixel_graphics_FlxGraphic=function(e,t,i){this._destroyOnNoUse=!0,this._useCount=0,this.unique=!1,this.isDumped=!1,this.persist=!1,this.height=0,this.width=0,this.key=e,this.persist=null!=i?i:flixel_graphics_FlxGraphic.defaultPersist,this.frameCollections=new haxe_ds_EnumValueMap,this.frameCollectionTypes=[],this.set_bitmap(t),this.shader=new flixel_graphics_tile_FlxGraphicsShader};$hxClasses["flixel.graphics.FlxGraphic"]=flixel_graphics_FlxGraphic,flixel_graphics_FlxGraphic.__name__="flixel.graphics.FlxGraphic",flixel_graphics_FlxGraphic.__interfaces__=[flixel_util_IFlxDestroyable],flixel_graphics_FlxGraphic.fromAssetKey=function(e,t,i,l){null==l&&(l=!0),null==t&&(t=!1);var n=null;if(!l)return n=openfl_utils_Assets.exists(e)?openfl_utils_Assets.getBitmapData(e,!1):null,null==n?null:flixel_graphics_FlxGraphic.createGraphic(n,i,t,l);var s=flixel_FlxG.bitmap.generateKey(e,i,t),a=flixel_FlxG.bitmap._cache.h[s];return null!=a?a:null==(n=openfl_utils_Assets.exists(e)?openfl_utils_Assets.getBitmapData(e,!1):null)?null:(a=flixel_graphics_FlxGraphic.createGraphic(n,s,t),a.assetsKey=e,a)},flixel_graphics_FlxGraphic.fromClass=function(e,t,i,l){null==l&&(l=!0),null==t&&(t=!1);var n=null;if(!l)return n=Type.createInstance(e,[0,0]),flixel_graphics_FlxGraphic.createGraphic(n,i,t,l);flixel_FlxG.bitmap;var s=e.__name__;s=flixel_FlxG.bitmap.generateKey(s,i,t);var a=flixel_FlxG.bitmap._cache.h[s];return null!=a?a:(n=Type.createInstance(e,[0,0]),a=flixel_graphics_FlxGraphic.createGraphic(n,s,t),a.assetsClass=e,a)},flixel_graphics_FlxGraphic.fromBitmapData=function(e,t,i,l){if(null==l&&(l=!0),null==t&&(t=!1),!l)return flixel_graphics_FlxGraphic.createGraphic(e,i,t,l);var n=flixel_FlxG.bitmap.findKeyForBitmap(e),s=null,a=null,r=null;return null!=n&&(s=(r=flixel_FlxG.bitmap._cache.h[n]).assetsKey,a=r.assetsClass),n=flixel_FlxG.bitmap.generateKey(n,i,t),null!=(r=flixel_FlxG.bitmap._cache.h[n])?r:(r=flixel_graphics_FlxGraphic.createGraphic(e,n,t),r.assetsKey=s,r.assetsClass=a,r)},flixel_graphics_FlxGraphic.fromFrame=function(e,t,i,l){null==l&&(l=!0),null==t&&(t=!1);var n=e.name;if(null==n){var s=e.frame,a=s.x,r=flixel_util_LabelValuePair._pool.get();r.label="x",r.value=a;var a=s.y,_=flixel_util_LabelValuePair._pool.get();_.label="y",_.value=a;var a=s.width,o=flixel_util_LabelValuePair._pool.get();o.label="w",o.value=a;a=s.height;(s=flixel_util_LabelValuePair._pool.get()).label="h",s.value=a,n=flixel_util_FlxStringUtil.getDebugString([r,_,o,s])}n=e.parent.key+":"+n,n=flixel_FlxG.bitmap.generateKey(n,i,t);var h=flixel_FlxG.bitmap._cache.h[n];if(null!=h)return h;var u=e.paint();return h=flixel_graphics_FlxGraphic.createGraphic(u,n,t,l),flixel_graphics_frames_FlxImageFrame.fromGraphic(h).frames[0].name=e.name,h},flixel_graphics_FlxGraphic.fromFrames=function(e,t,i){return null==t&&(t=!1),flixel_graphics_FlxGraphic.fromGraphic(e.parent,t,i)},flixel_graphics_FlxGraphic.fromGraphic=function(e,t,i){if(null==t&&(t=!1),!t)return e;var l=flixel_FlxG.bitmap.generateKey(e.key,i,t),n=flixel_graphics_FlxGraphic.createGraphic(e.bitmap,l,t);return n.unique=t,n.assetsClass=e.assetsClass,n.assetsKey=e.assetsKey,flixel_FlxG.bitmap._cache.h[n.key]=n,n},flixel_graphics_FlxGraphic.fromRectangle=function(e,t,i,l,n){null==l&&(l=!1);var s=e+"x"+t+":"+i,a=flixel_FlxG.bitmap.generateKey(s,n,l),r=flixel_FlxG.bitmap._cache.h[a];if(null!=r)return r;var _=new openfl_display_BitmapData(e,t,!0,i);return flixel_graphics_FlxGraphic.createGraphic(_,a)},flixel_graphics_FlxGraphic.getBitmap=function(e,t){return null==t&&(t=!1),t?e.clone():e},flixel_graphics_FlxGraphic.createGraphic=function(e,t,i,l){null==l&&(l=!0),null==i&&(i=!1);var n=i;null==n&&(n=!1),n&&(e=e.clone());var s=null;return l?((s=new flixel_graphics_FlxGraphic(t,e)).unique=i,flixel_FlxG.bitmap._cache.h[s.key]=s):s=new flixel_graphics_FlxGraphic(null,e),s},flixel_graphics_FlxGraphic.prototype={key:null,bitmap:null,width:null,height:null,assetsKey:null,assetsClass:null,persist:null,isDumped:null,shader:null,frameCollections:null,frameCollectionTypes:null,unique:null,_imageFrame:null,_useCount:null,_destroyOnNoUse:null,dump:function(){},undump:function(){var e=this.getBitmapFromSystem();null!=e&&this.set_bitmap(e),this.isDumped=!1},onContext:function(){this.isDumped&&(this.undump(),this.dump())},onAssetsReload:function(){if(null!=this.assetsClass||null!=this.assetsKey){var e=this.isDumped;this.undump(),e&&this.dump()}},destroy:function(){if(this.set_bitmap(flixel_util_FlxDestroyUtil.dispose(this.bitmap)),this.shader=null,this.key=null,this.assetsKey=null,this.assetsClass=null,this._imageFrame=null,null!=this.frameCollections){for(var e,t=0,i=this.frameCollectionTypes;t<i.length;){var l=i[t];++t,e=this.frameCollections.get(l),flixel_util_FlxDestroyUtil.destroyArray(e)}this.frameCollections=null,this.frameCollectionTypes=null}},addFrameCollection:function(e){if(null!=e.type){var t=e.type,i=this.frameCollections.get(t);null==i&&(i=[],this.frameCollections.set(t,i)),i.push(e)}},getFramesCollections:function(e){var t=this.frameCollections.get(e);return null==t&&(t=[],this.frameCollections.set(e,t)),t},getEmptyFrame:function(e){var t=new flixel_graphics_frames_FlxFrame(this);t.type=2;var i=flixel_math_FlxRect._pool.get(),l=0,n=0,s=0,a=0;null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),i.x=l,i.y=n,i.width=s,i.height=a;var r=i;return r._inPool=!1,t.set_frame(r),(i=t.sourceSize).set_x(e.x),i.set_y(e.y),e._weak&&e.put(),t},getBitmapFromSystem:function(){var e=null;if(null!=this.assetsClass)e=Type.createInstance(this.assetsClass,[0,0]);else if(null!=this.assetsKey){var t=this.assetsKey;e=openfl_utils_Assets.exists(t)?openfl_utils_Assets.getBitmapData(t,!1):null}if(null!=e){var i=this.unique;return null==i&&(i=!1),i?e.clone():e}return null},get_canBeDumped:function(){return null!=this.assetsClass||null!=this.assetsKey},get_useCount:function(){return this._useCount},set_useCount:function(e){return e<=0&&this._destroyOnNoUse&&!this.persist&&flixel_FlxG.bitmap.remove(this),this._useCount=e},get_destroyOnNoUse:function(){return this._destroyOnNoUse},set_destroyOnNoUse:function(e){return e&&this._useCount<=0&&null!=this.key&&!this.persist&&flixel_FlxG.bitmap.remove(this),this._destroyOnNoUse=e},get_imageFrame:function(){if(null==this._imageFrame){var e=0,t=0,i=this.bitmap.width,l=this.bitmap.height;null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0);var n=flixel_math_FlxRect._pool.get(),s=e,a=t,r=i,_=l;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),n.x=s,n.y=a,n.width=r,n.height=_;var o=n;o._inPool=!1,this._imageFrame=flixel_graphics_frames_FlxImageFrame.fromRectangle(this,o)}return this._imageFrame},get_atlasFrames:function(){return flixel_graphics_frames_FlxAtlasFrames.findFrame(this,null)},set_bitmap:function(e){return null!=e&&(this.bitmap=e,this.width=this.bitmap.width,this.height=this.bitmap.height),e},__class__:flixel_graphics_FlxGraphic,__properties__:{get_atlasFrames:"get_atlasFrames",get_imageFrame:"get_imageFrame",set_useCount:"set_useCount",get_useCount:"get_useCount",get_canBeDumped:"get_canBeDumped",set_destroyOnNoUse:"set_destroyOnNoUse",get_destroyOnNoUse:"get_destroyOnNoUse",set_bitmap:"set_bitmap"}};var flixel_graphics_atlas_FlxAtlas=function(e,t,i,l,n,s){null==l&&(l=!1),null==i&&(i=1),null==t&&(t=!1),this.powerOfTwo=!1,this.allowRotation=!1,this.maxHeight=1024,this.maxWidth=1024,this.minHeight=128,this.minWidth=128,this.border=1,this.persist=!1,this.nodes=new haxe_ds_StringMap,this.name=e,this.set_powerOfTwo(t),this.border=i,null==n&&(n=flixel_graphics_atlas_FlxAtlas.defaultMinSize),null==s&&(s=flixel_graphics_atlas_FlxAtlas.defaultMaxSize),this.set_minWidth(0|n.x),this.set_minHeight(0|n.y),this.set_maxWidth(s.x>n.x?0|s.x:this.minWidth),this.set_maxHeight(s.y>n.x?0|s.y:this.minHeight),this.allowRotation=l,this.initRoot(),flixel_FlxG.signals.preStateCreate.add($bind(this,this.onClear))};$hxClasses["flixel.graphics.atlas.FlxAtlas"]=flixel_graphics_atlas_FlxAtlas,flixel_graphics_atlas_FlxAtlas.__name__="flixel.graphics.atlas.FlxAtlas",flixel_graphics_atlas_FlxAtlas.__interfaces__=[flixel_util_IFlxDestroyable],flixel_graphics_atlas_FlxAtlas.prototype={root:null,name:null,nodes:null,bitmapData:null,persist:null,border:null,width:null,height:null,minWidth:null,minHeight:null,maxWidth:null,maxHeight:null,allowRotation:null,powerOfTwo:null,_graphic:null,_tempStorage:null,initRoot:function(){var e=this.minWidth,t=this.minHeight;this.powerOfTwo&&(e=this.getNextPowerOfTwo(e),t=this.getNextPowerOfTwo(t));var i=0,l=0,n=e,s=t;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0);var a=flixel_math_FlxRect._pool.get(),r=i,_=l,o=n,h=s;null==h&&(h=0),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),a.x=r,a.y=_,a.width=o,a.height=h;var u=a;u._inPool=!1,this.root=new flixel_graphics_atlas_FlxNode(u,this)},addNode:function(e,t){var i=flixel_system_FlxAssets.resolveKey(e,t);if(null==i)return null;if(this.hasNodeWithName(i))return this.nodes.h[i];var l=flixel_system_FlxAssets.resolveBitmapData(e);if(null==l)return null;if(null==this.root.left)return this.insertFirstNodeInRoot(l,i);if(null==this.root.right)return this.expand(l,i);var n=this.tryInsert(l,i);return null!=n?n:(this.wrapRoot(),this.expand(l,i))},wrapRoot:function(){var e=this.root,t=0,i=0,l=0|e.rect.width,n=0|e.rect.height;null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),null==t&&(t=0);var s=flixel_math_FlxRect._pool.get(),a=t,r=i,_=l,o=n;null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),s.x=a,s.y=r,s.width=_,s.height=o;var h=s;h._inPool=!1,this.root=new flixel_graphics_atlas_FlxNode(h,this),this.root.left=e},tryInsert:function(e,t){var i=e.width+this.border,l=e.height+this.border,n=!1,s=this.findNodeToInsert(i,l);if(this.allowRotation){var a=this.findNodeToInsert(l,i);if(null!=a){var r=(0|a.rect.width)*(0|a.rect.height);if(null==s||null!=s&&(0|s.rect.width)*(0|s.rect.height)>r){s=a,n=!0;var _=i;i=l,l=_}}}if(null!=s){var o=this.needToDivideHorizontally(s,i,l);return this.divideNode(s,i,l,o,e,t,n)}return null},needToDivideHorizontally:function(e,t,i){return(0|e.rect.width)-t>(0|e.rect.height)-i},divideNode:function(e,t,i,l,n,s,a){if(null==a&&(a=!1),null!=e){var r=null,_=null,o=null,h=null,u=null!=s;if(l){var d=0|e.rect.x,c=0|e.rect.y,p=t;null==(F=0|e.rect.height)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;if(null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,r=new flixel_graphics_atlas_FlxNode(S,this),(0|e.rect.width)-t>0){var d=(0|e.rect.x)+t,c=0|e.rect.y,p=(0|e.rect.width)-t;null==(F=0|e.rect.height)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,_=new flixel_graphics_atlas_FlxNode(S,this)}var d=0|r.rect.x,c=0|r.rect.y,p=t;null==(F=i)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;if(null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,o=new flixel_graphics_atlas_FlxNode(S,this,u,s,a),(0|r.rect.height)-i>0){var d=0|r.rect.x,c=(0|r.rect.y)+i,p=t;null==(F=(0|r.rect.height)-i)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,h=new flixel_graphics_atlas_FlxNode(S,this)}}else{var d=0|e.rect.x,c=0|e.rect.y,p=0|e.rect.width,F=i;null==F&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p,y=F;null==y&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y;var S=f;if(S._inPool=!1,r=new flixel_graphics_atlas_FlxNode(S,this),(0|e.rect.height)-i>0){var d=0|e.rect.x,c=(0|e.rect.y)+i,p=0|e.rect.width;null==(F=(0|e.rect.height)-i)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,_=new flixel_graphics_atlas_FlxNode(S,this)}var d=0|r.rect.x,c=0|r.rect.y,p=t;null==(F=i)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;if(null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,o=new flixel_graphics_atlas_FlxNode(S,this,u,s,a),(0|r.rect.width)-t>0){var d=(0|r.rect.x)+t,c=0|r.rect.y,p=(0|r.rect.width)-t;null==(F=i)&&(F=0),null==p&&(p=0),null==c&&(c=0),null==d&&(d=0);var f=flixel_math_FlxRect._pool.get(),m=d,x=c,g=p;null==(y=F)&&(y=0),null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),f.x=m,f.y=x,f.width=g,f.height=y,(S=f)._inPool=!1,h=new flixel_graphics_atlas_FlxNode(S,this)}}return r.left=o,r.right=h,e.left=r,e.right=_,null!=s&&null!=n&&(this.expandBitmapData(),a?(flixel_graphics_atlas_FlxAtlas.matrix.identity(),flixel_graphics_atlas_FlxAtlas.matrix.rotate(Math.PI/2),flixel_graphics_atlas_FlxAtlas.matrix.translate(n.height+(0|o.rect.x),0|o.rect.y),this.bitmapData.draw(n,flixel_graphics_atlas_FlxAtlas.matrix)):(flixel_graphics_atlas_FlxAtlas.point.setTo(0|o.rect.x,0|o.rect.y),this.bitmapData.copyPixels(n,n.rect,flixel_graphics_atlas_FlxAtlas.point)),this.addNodeToAtlasFrames(o),this.nodes.h[s]=o),o}return null},insertFirstNodeInRoot:function(e,t){if(null==this.root.left){var i=e.width+this.border,l=e.height+this.border,n=i,s=l;if(this.powerOfTwo&&(n=this.getNextPowerOfTwo(n),s=this.getNextPowerOfTwo(s)),this.minWidth>n&&(n=this.minWidth),this.minHeight>s&&(s=this.minHeight),this.powerOfTwo&&(n=this.getNextPowerOfTwo(n),s=this.getNextPowerOfTwo(s)),this.maxWidth>0&&n>this.maxWidth||this.maxHeight>0&&s>this.maxHeight)return null;this.root.set_width(n),this.root.set_height(s);var a=this.needToDivideHorizontally(this.root,i,l);return this.divideNode(this.root,i,l,a,e,t)}return null},expand:function(e,t){if(null==this.root.right){var i=e.width+this.border,l=e.height+this.border,n=(0|this.root.rect.width)+i,s=0|Math.max(0|this.root.rect.height,l),a=0|Math.max(0|this.root.rect.width,i),r=(0|this.root.rect.height)+l,_=n,o=s,h=a,u=r;this.allowRotation&&(_=(0|this.root.rect.width)+l,o=0|Math.max(0|this.root.rect.height,i),h=0|Math.max(0|this.root.rect.width,l),u=(0|this.root.rect.height)+i),this.powerOfTwo&&(_=n=this.getNextPowerOfTwo(n),o=s=this.getNextPowerOfTwo(s),h=a=this.getNextPowerOfTwo(a),u=r=this.getNextPowerOfTwo(r),this.allowRotation&&(_=this.getNextPowerOfTwo(_),o=this.getNextPowerOfTwo(o),h=this.getNextPowerOfTwo(h),u=this.getNextPowerOfTwo(u)));var d=!0,c=!0,p=this.allowRotation,f=this.allowRotation;if((this.maxWidth>0&&n>this.maxWidth||this.maxHeight>0&&s>this.maxHeight)&&(d=!1),(this.maxWidth>0&&a>this.maxWidth||this.maxHeight>0&&r>this.maxHeight)&&(c=!1),(this.maxWidth>0&&_>this.maxWidth||this.maxHeight>0&&o>this.maxHeight)&&(p=!1),(this.maxWidth>0&&h>this.maxWidth||this.maxHeight>0&&u>this.maxHeight)&&(f=!1),!(d||c||p||f))return null;var m=n*s,x=a*r,g=_*o,F=h*u,y=!1,S=!1;(d&&p&&m>g||!d&&p)&&(m=F,n=_,s=o,d=!0,y=!0),(c&&f&&x>F||!c&&f)&&(x=F,a=h,r=u,c=!0,S=!0),!d&&c?(m=x+1,y):d&&!c&&(x=m+1,S);var b=null,U=this.root,v=i,T=l;return x>=m?(y&&(v=l,T=i),this.expandRoot((0|U.rect.width)+v,Math.max(0|U.rect.height,T),!0),b=this.divideNode(this.root.right,v,T,!0,e,t,y),this.expandRoot(n,s,!1,!0)):(S&&(v=l,T=i),this.expandRoot(Math.max(0|U.rect.width,v),(0|U.rect.height)+T,!1),b=this.divideNode(this.root.right,v,T,!0,e,t,S),this.expandRoot(a,r,!1,!0)),b}return null},expandRoot:function(e,t,i,l){if(null==l&&(l=!1),e>(0|this.root.rect.width)||t>(0|this.root.rect.height)){var n=this.root,s=0,a=0,r=e,_=t;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0);var o=flixel_math_FlxRect._pool.get(),h=s,u=a,d=r,c=_;null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=c;var p=o;p._inPool=!1,this.root=new flixel_graphics_atlas_FlxNode(p,this),l&&(i=this.needToDivideHorizontally(this.root,0|n.rect.width,0|n.rect.height)),this.divideNode(this.root,0|n.rect.width,0|n.rect.height,i),this.root.left.left=n}},expandBitmapData:function(){if(null==this.bitmapData||this.bitmapData.width!=(0|this.root.rect.width)||this.bitmapData.height!=(0|this.root.rect.height)){var e=new openfl_display_BitmapData(0|this.root.rect.width,0|this.root.rect.height,!0,0);null!=this.bitmapData&&(flixel_graphics_atlas_FlxAtlas.point.setTo(0,0),e.copyPixels(this.bitmapData,this.bitmapData.rect,flixel_graphics_atlas_FlxAtlas.point)),this.set_bitmapData(flixel_util_FlxDestroyUtil.dispose(this.bitmapData)),this.set_bitmapData(e)}},getNextPowerOfTwo:function(e){var t=0|e;if(t>0&&0==(t&t-1))return t;for(var i=1;i<t;)i<<=1;return i},addNodeWithSpacesAndBorders:function(e,t,i,l,n,s){var a=flixel_system_FlxAssets.resolveKey(e,t);if(null==a)return null;if(a=flixel_FlxG.bitmap.getKeyWithSpacesAndBorders(a,i,l,n,s),this.hasNodeWithName(a))return this.nodes.h[a].getTileFrames(i,l,n);var r=flixel_system_FlxAssets.resolveBitmapData(e);if(null==r)return null;var _=flixel_util_FlxBitmapDataUtil.addSpacesAndBorders(r,i,l,n,s),o=this.addNode(_,a);if(null==o)return null;if(null!=n){var h=2*n.x,u=2*n.y;null==u&&(u=0),null==h&&(h=0);var d=i;d.set_x(d.x+h),(d=i).set_y(d.y+u)}return o.getTileFrames(i,l,n)},getAtlasFrames:function(){var e=this.get_graphic(),t=e.get_atlasFrames();null==e.get_atlasFrames()&&(t=new flixel_graphics_frames_FlxAtlasFrames(e));for(var i=haxe_ds_StringMap.valueIterator(this.nodes.h);i.hasNext();){var l=i.next();this.addNodeToAtlasFrames(l)}return t},addNodeToAtlasFrames:function(e){if(null!=this._graphic&&null!=this._graphic.get_atlasFrames()&&null!=e){var t=this._graphic.get_atlasFrames();if(e.filled&&!Object.prototype.hasOwnProperty.call(t.framesHash.h,e.key)){var i=0|e.rect.x,l=0|e.rect.y,n=(0|e.rect.width)-this.border,s=(0|e.rect.height)-this.border;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0);var a=flixel_math_FlxRect._pool.get(),r=i,_=l,o=n,h=s;null==h&&(h=0),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),a.x=r,a.y=_,a.width=o,a.height=h;var u=a;u._inPool=!1;var d,c=u;if(e.rotated){i=(0|e.rect.height)-this.border;null==(l=(0|e.rect.width)-this.border)&&(l=0),null==i&&(i=0),(p=flixel_math_FlxPoint._pool.get().set(i,l))._inPool=!1,d=p}else{i=(0|e.rect.width)-this.border;null==(l=(0|e.rect.height)-this.border)&&(l=0),null==i&&(i=0),(p=flixel_math_FlxPoint._pool.get().set(i,l))._inPool=!1,d=p}i=0;null==(l=0)&&(l=0),null==i&&(i=0);var p=flixel_math_FlxPoint._pool.get().set(i,l);p._inPool=!1;var f=p,m=e.rotated?-90:0;t.addAtlasFrame(c,d,f,e.key,m)}}},hasNodeWithName:function(e){return Object.prototype.hasOwnProperty.call(this.nodes.h,e)},getNode:function(e){return this.nodes.h[e]},addNodes:function(e,t){var i=t.length,l=e.length;if(l!=i)return null;this._tempStorage=[];for(var n=0,s=l;n<s;){var a=n++;this._tempStorage.push({bmd:e[a],keyStr:t[a]})}return this.addFromAtlasObjects(this._tempStorage),this},addFromAtlasObjects:function(e){e.sort($bind(this,this.bitmapSorter));for(var t=0,i=e.length;t<i;){var l=t++;this.addNode(e[l].bmd,e[l].keyStr)}this._tempStorage=null},bitmapSorter:function(e,t){if(this.allowRotation){var i=e.bmd.width*e.bmd.height;return t.bmd.width*t.bmd.height-i}return t.bmd.width==e.bmd.width?t.bmd.height-e.bmd.height:t.bmd.width-e.bmd.width},createQueue:function(){return this._tempStorage=[],this},addToQueue:function(e,t){return null==this._tempStorage&&(this._tempStorage=[]),this._tempStorage.push({bmd:e,keyStr:t}),this},generateFromQueue:function(){return null!=this._tempStorage&&this.addFromAtlasObjects(this._tempStorage),this},onClear:function(e){(!this.persist||null!=this._graphic&&this._graphic.get_useCount()<=0)&&this.destroy()},destroy:function(){this._tempStorage=null,this.deleteSubtree(this.root),this.root=null,flixel_FlxG.bitmap.removeByKey(this.name),this.set_bitmapData(null),this.nodes=null,this._graphic=null,flixel_FlxG.signals.preStateCreate.remove($bind(this,this.onClear))},clear:function(){this.deleteSubtree(this.root),this.initRoot(),flixel_FlxG.bitmap.removeByKey(this.name),this.set_bitmapData(null),this.nodes=new haxe_ds_StringMap,this._graphic=null},getLibGdxData:function(){var e="\n";e+=this.name+"\n",e+="format: RGBA8888\n",e+="filter: Linear,Linear\n",e+="repeat: none\n";for(var t=haxe_ds_StringMap.valueIterator(this.nodes.h);t.hasNext();){var i=t.next();e+=i.key+"\n",e+=" rotate: "+(null==i.rotated?"null":""+i.rotated)+"\n",e+=" xy: "+(0|i.rect.x)+", "+(0|i.rect.y)+"\n",this.allowRotation?(e+="size: "+(0|i.rect.height)+", "+(0|i.rect.width)+"\n",e+="orig: "+(0|i.rect.height)+", "+(0|i.rect.width)+"\n"):(e+="size: "+(0|i.rect.width)+", "+(0|i.rect.height)+"\n",e+="orig: "+(0|i.rect.width)+", "+(0|i.rect.height)+"\n"),e+=" offset: 0, 0\n",e+=" index: -1\n"}return e},deleteSubtree:function(e){null!=e&&(null!=e.left&&this.deleteSubtree(e.left),null!=e.right&&this.deleteSubtree(e.right),e.key=null,e.left=null,e.right=null,e.rect=null,e.atlas=null)},findNodeToInsert:function(e,t){for(var i,l=[],n=this.root,s=!1,a=!1,r=!0,_=null,o=this.maxWidth*this.maxHeight+1;r;){if(!n.filled&&null==n.left&&null==n.right&&n.rect.width>=e&&n.rect.height>=t&&(i=(0|n.rect.width)*(0|n.rect.height))<o&&(o=i,_=n),null!=n.right){var h=n.right;s=h.rect.width>=e&&h.rect.height>=t}else s=!1;if(null!=n.left){var u=n.left;a=u.rect.width>=e&&u.rect.height>=t}else a=!1;s&&a?(l.push(n.right),n=n.left):a?n=n.left:s?n=n.right:l.length>0?n=l.pop():r=!1}return _},set_bitmapData:function(e){return null!=e&&null!=this._graphic&&this._graphic.set_bitmap(e),this.bitmapData=e},get_graphic:function(){return null!=this._graphic?this._graphic:(this._graphic=flixel_FlxG.bitmap.add(this.bitmapData,!1,this.name),this._graphic.persist=this.persist,this._graphic)},set_persist:function(e){return null!=this._graphic&&(this._graphic.persist=e),this.persist=e},set_minWidth:function(e){return e<=this.maxWidth&&(this.minWidth=e,e>this.get_width()&&this.set_width(e)),this.minWidth},set_minHeight:function(e){return e<=this.maxHeight&&(this.minHeight=e,e>this.get_height()&&this.set_height(e)),this.minHeight},get_width:function(){return null!=this.root?0|this.root.rect.width:0},set_width:function(e){return e>this.get_width()&&(this.powerOfTwo&&(e=this.getNextPowerOfTwo(e)),e<=this.maxWidth&&null!=this.root&&(0|this.root.rect.width)<e&&this.expandRoot(e,0|this.root.rect.height,this.needToDivideHorizontally(this.root,0|this.root.rect.width,0|this.root.rect.height))),e},get_height:function(){return null!=this.root?0|this.root.rect.height:0},set_height:function(e){return e>this.get_height()&&(this.powerOfTwo&&(e=this.getNextPowerOfTwo(e)),e<=this.maxHeight&&null!=this.root&&(0|this.root.rect.height)<e&&this.expandRoot(0|this.root.rect.width,e,this.needToDivideHorizontally(this.root,0|this.root.rect.width,0|this.root.rect.height))),e},set_maxWidth:function(e){return e>=this.minWidth&&(null==this.root||e>=this.get_width())&&(this.maxWidth=e),this.maxWidth},set_maxHeight:function(e){return e>=this.minHeight&&(null==this.root||e>=this.get_height())&&(this.maxHeight=e),this.maxHeight},set_powerOfTwo:function(e){if(e!=this.powerOfTwo&&e&&null!=this.root){var t=this.getNextPowerOfTwo(0|this.root.rect.width),i=this.getNextPowerOfTwo(0|this.root.rect.height);if(t!=(0|this.root.rect.width)||i!=(0|this.root.rect.height)){if(this.maxWidth>0&&t>this.maxWidth||this.maxHeight>0&&i>this.maxHeight)return!1;var l=this.root,n=0,s=0,a=t,r=i;null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0);var _=flixel_math_FlxRect._pool.get(),o=n,h=s,u=a,d=r;null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d;var c=_;c._inPool=!1,this.root=new flixel_graphics_atlas_FlxNode(c,this),null!=l.left&&(this.divideNode(this.root,0|l.rect.width,0|l.rect.height,this.needToDivideHorizontally(this.root,0|l.rect.width,0|l.rect.height)),this.root.left.left=l)}}return this.powerOfTwo=e},__class__:flixel_graphics_atlas_FlxAtlas,__properties__:{set_powerOfTwo:"set_powerOfTwo",set_maxHeight:"set_maxHeight",set_maxWidth:"set_maxWidth",set_minHeight:"set_minHeight",set_minWidth:"set_minWidth",set_height:"set_height",get_height:"get_height",set_width:"set_width",get_width:"get_width",set_persist:"set_persist",get_graphic:"get_graphic",set_bitmapData:"set_bitmapData"}};var flixel_graphics_atlas_FlxNode=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=""),null==i&&(i=!1),this.filled=i,this.left=null,this.right=null,this.rect=e,this.key=l,this.atlas=t,this.rotated=n};$hxClasses["flixel.graphics.atlas.FlxNode"]=flixel_graphics_atlas_FlxNode,flixel_graphics_atlas_FlxNode.__name__="flixel.graphics.atlas.FlxNode",flixel_graphics_atlas_FlxNode.__interfaces__=[flixel_util_IFlxDestroyable],flixel_graphics_atlas_FlxNode.prototype={left:null,right:null,rect:null,key:null,filled:null,atlas:null,rotated:null,destroy:function(){this.key=null,this.left=null,this.right=null,this.rect=null,this.atlas=null},canPlace:function(e,t){return this.rect.width>=e&&this.rect.height>=t},getTileFrames:function(e,t,i){flixel_FlxG.bitmap.add(this.atlas.bitmapData,!1,this.atlas.name);var l=this.atlas.getAtlasFrames().framesHash.h[this.key];if(null!=l){var n=flixel_graphics_frames_FlxTileFrames.fromFrame(l,e,t);return null!=i&&(n=n.addBorder(i)),n}return null},getImageFrame:function(){flixel_FlxG.bitmap.add(this.atlas.bitmapData,!1,this.atlas.name);var e=this.atlas.getAtlasFrames().framesHash.h[this.key];return null!=e?flixel_graphics_frames_FlxImageFrame.fromFrame(e):null},get_isEmpty:function(){return!this.filled&&null==this.left&&null==this.right},get_x:function(){return 0|this.rect.x},get_y:function(){return 0|this.rect.y},get_width:function(){return 0|this.rect.width},set_width:function(e){return this.rect.width=e,e},get_height:function(){return 0|this.rect.height},set_height:function(e){return this.rect.height=e,e},__class__:flixel_graphics_atlas_FlxNode,__properties__:{get_isEmpty:"get_isEmpty",set_height:"set_height",get_height:"get_height",set_width:"set_width",get_width:"get_width",get_y:"get_y",get_x:"get_x"}};var flixel_graphics_frames_FlxFramesCollection=function(e,t,i){this.parent=e,this.type=t;var l;if(null==i){var n=flixel_math_FlxPoint._pool.get().set(0,0);n._inPool=!1,l=n}else l=i;this.border=l,this.frames=[],this.framesHash=new haxe_ds_StringMap,null!=e&&e.addFrameCollection(this)};$hxClasses["flixel.graphics.frames.FlxFramesCollection"]=flixel_graphics_frames_FlxFramesCollection,flixel_graphics_frames_FlxFramesCollection.__name__="flixel.graphics.frames.FlxFramesCollection",flixel_graphics_frames_FlxFramesCollection.__interfaces__=[flixel_util_IFlxDestroyable],flixel_graphics_frames_FlxFramesCollection.prototype={frames:null,framesHash:null,parent:null,type:null,border:null,getByName:function(e){return this.framesHash.h[e]},getByIndex:function(e){return this.frames[e]},getIndexByName:function(e){for(var t=0,i=this.frames.length;t<i;){var l=t++;if(this.frames[l].name==e)return l}return-1},getFrameIndex:function(e){return this.frames.indexOf(e)},destroy:function(){this.frames=flixel_util_FlxDestroyUtil.destroyArray(this.frames),this.border=flixel_util_FlxDestroyUtil.put(this.border),this.framesHash=null,this.parent=null,this.type=null},addEmptyFrame:function(e){var t=new flixel_graphics_frames_FlxFrame(this.parent);t.type=2;var i=flixel_math_FlxRect._pool.get(),l=0,n=0,s=0,a=0;null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),i.x=l,i.y=n,i.width=s,i.height=a;var r=i;return r._inPool=!1,t.set_frame(r),t.sourceSize.set(e.width,e.height),this.frames.push(t),t},addSpriteSheetFrame:function(e){var t=new flixel_graphics_frames_FlxFrame(this.parent);return t.set_frame(this.checkFrame(e)),t.sourceSize.set(e.width,e.height),t.offset.set(0,0),this.pushFrame(t)},addAtlasFrame:function(e,t,i,l,n,s,a){if(null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=0),null!=l&&Object.prototype.hasOwnProperty.call(this.framesHash.h,l))return this.framesHash.h[l];var r=new flixel_graphics_frames_FlxFrame(this.parent,n,s,a);return r.name=l,r.sourceSize.set(t.x,t.y),r.offset.set(i.x,i.y),r.set_frame(this.checkFrame(e,l)),t=flixel_util_FlxDestroyUtil.put(t),i=flixel_util_FlxDestroyUtil.put(i),this.pushFrame(r)},checkFrame:function(e,t){var i=e.x,l=this.parent.width,n=i<0?0:i,s=null!=l&&n>l?l:n,i=e.y,l=this.parent.height,n=i<0?0:i,a=null!=l&&n>l?l:n,i=e.x+e.width,l=this.parent.width,n=i<0?0:i,r=null!=l&&n>l?l:n,i=e.y+e.height,l=this.parent.height,n=i<0?0:i,_=s,o=a,h=r-s,u=(null!=l&&n>l?l:n)-a;null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),null==_&&(_=0),e.x=_,e.y=o,e.width=h,e.height=u;e.width<=0||e.height;return e},pushFrame:function(e){var t=e.name;return null!=t&&Object.prototype.hasOwnProperty.call(this.framesHash.h,t)?this.framesHash.h[t]:(this.frames.push(e),e.cacheFrameMatrix(),null!=t&&(this.framesHash.h[t]=e),e)},addBorder:function(e){throw haxe_Exception.thrown("To be overriden in subclasses")},toString:function(){var e=this.frames,t=flixel_util_LabelValuePair._pool.get();t.label="frames",t.value=e;var e=this.type,i=flixel_util_LabelValuePair._pool.get();return i.label="type",i.value=e,flixel_util_FlxStringUtil.getDebugString([t,i])},get_numFrames:function(){return this.frames.length},__class__:flixel_graphics_frames_FlxFramesCollection,__properties__:{get_numFrames:"get_numFrames"}};var flixel_graphics_frames_FlxAtlasFrames=function(e,t){flixel_graphics_frames_FlxFramesCollection.call(this,e,flixel_graphics_frames_FlxFrameCollectionType.ATLAS,t)};$hxClasses["flixel.graphics.frames.FlxAtlasFrames"]=flixel_graphics_frames_FlxAtlasFrames,flixel_graphics_frames_FlxAtlasFrames.__name__="flixel.graphics.frames.FlxAtlasFrames",flixel_graphics_frames_FlxAtlasFrames.fromTexturePackerJson=function(e,t){var i=flixel_FlxG.bitmap.add(e,!1);if(null==i)return null;var l=flixel_graphics_frames_FlxAtlasFrames.findFrame(i);if(null!=l)return l;if(null==i||null==t)return null;l=new flixel_graphics_frames_FlxAtlasFrames(i);var n;if("string"==typeof t){var s=t;openfl_utils_Assets.exists(s)&&(s=openfl_utils_Assets.getText(s)),n=JSON.parse(s)}else n=t;if(n.frames instanceof Array)for(var a=0,r=Lambda.array(n.frames);a<r.length;){var _=r[a];++a,flixel_graphics_frames_FlxAtlasFrames.texturePackerHelper(_.filename,_,l)}else for(var a=0,r=Reflect.fields(n.frames);a<r.length;){var o=r[a];++a,flixel_graphics_frames_FlxAtlasFrames.texturePackerHelper(o,Reflect.field(n.frames,o),l)}return l},flixel_graphics_frames_FlxAtlasFrames.texturePackerHelper=function(e,t,i){var l=t.rotated,n=e,s=t.sourceSize.w;null==(u=t.sourceSize.h)&&(u=0),null==s&&(s=0);var a=flixel_math_FlxPoint._pool.get().set(s,u);a._inPool=!1;var r=a,s=t.spriteSourceSize.x;null==(u=t.spriteSourceSize.y)&&(u=0),null==s&&(s=0),(a=flixel_math_FlxPoint._pool.get().set(s,u))._inPool=!1;var _=a,o=0,h=null;if(l){var s=t.frame.x,u=t.frame.y,d=t.frame.h;null==(x=t.frame.w)&&(x=0),null==d&&(d=0),null==u&&(u=0),null==s&&(s=0);var c=flixel_math_FlxRect._pool.get(),p=s,f=u,m=d;null==(g=x)&&(g=0),null==m&&(m=0),null==f&&(f=0),null==p&&(p=0),c.x=p,c.y=f,c.width=m,c.height=g,(F=c)._inPool=!1,h=F,o=-90}else{var s=t.frame.x,u=t.frame.y,d=t.frame.w,x=t.frame.h;null==x&&(x=0),null==d&&(d=0),null==u&&(u=0),null==s&&(s=0);var c=flixel_math_FlxRect._pool.get(),p=s,f=u,m=d,g=x;null==g&&(g=0),null==m&&(m=0),null==f&&(f=0),null==p&&(p=0),c.x=p,c.y=f,c.width=m,c.height=g;var F=c;F._inPool=!1,h=F}i.addAtlasFrame(h,r,_,n,o)},flixel_graphics_frames_FlxAtlasFrames.fromLibGdx=function(e,t){var i=flixel_FlxG.bitmap.add(e);if(null==i)return null;var l=flixel_graphics_frames_FlxAtlasFrames.findFrame(i);if(null!=l)return l;if(null==i||null==t)return null;l=new flixel_graphics_frames_FlxAtlasFrames(i),openfl_utils_Assets.exists(t)&&(t=openfl_utils_Assets.getText(t));var n=StringTools.trim(t).split("\n"),s=n[3].indexOf("repeat:")>-1?3:4;n.splice(0,s+1);for(var a=[],r=0,_=n.length/7|0;r<_;){var o=7*r++,h=n[o++],u=n[o++].indexOf("true")>=0,d=0,c=n[o++],p=flixel_graphics_frames_FlxAtlasFrames.getDimensions(c,a),f=p[0],m=p[1];c=n[o++];var x=(p=flixel_graphics_frames_FlxAtlasFrames.getDimensions(c,p))[0],g=p[1],F=null;if(u){var y=f,S=m,b=g,U=x;null==U&&(U=0),null==b&&(b=0),null==S&&(S=0),null==y&&(y=0);var v=flixel_math_FlxRect._pool.get(),T=y,N=S,D=b,Q=U;null==Q&&(Q=0),null==D&&(D=0),null==N&&(N=0),null==T&&(T=0),v.x=T,v.y=N,v.width=D,v.height=Q;var B=v;B._inPool=!1,F=B,d=90}else{var R=f,w=m,E=x,k=g;null==k&&(k=0),null==E&&(E=0),null==w&&(w=0),null==R&&(R=0);var W=flixel_math_FlxRect._pool.get(),Z=R,M=w,P=E,V=k;null==V&&(V=0),null==P&&(P=0),null==M&&(M=0),null==Z&&(Z=0),W.x=Z,W.y=M,W.width=P,W.height=V;var A=W;A._inPool=!1,F=A}c=n[o++];var G=(p=flixel_graphics_frames_FlxAtlasFrames.getDimensions(c,p))[0],C=p[1];null==C&&(C=0),null==G&&(G=0);var I=flixel_math_FlxPoint._pool.get().set(G,C);I._inPool=!1;var L=I;c=n[o++];var J=(p=flixel_graphics_frames_FlxAtlasFrames.getDimensions(c,p))[0],O=L.y-p[1]-g;null==O&&(O=0),null==J&&(J=0);var $=flixel_math_FlxPoint._pool.get().set(J,O);$._inPool=!1;var H=$;l.addAtlasFrame(F,L,H,h,d)}return l},flixel_graphics_frames_FlxAtlasFrames.getDimensions=function(e,t){var i=e.indexOf(":"),l=e.indexOf(",");return t[0]=Std.parseInt(e.substring(i+1,l)),t[1]=Std.parseInt(e.substring(l+1,e.length)),t},flixel_graphics_frames_FlxAtlasFrames.fromSparrow=function(e,t){var i=flixel_FlxG.bitmap.add(e);if(null==i)return null;var l=flixel_graphics_frames_FlxAtlasFrames.findFrame(i);if(null!=l)return l;if(null==i||null==t)return null;l=new flixel_graphics_frames_FlxAtlasFrames(i),openfl_utils_Assets.exists(t)&&(t=openfl_utils_Assets.getText(t));var n=Xml.parse(t).firstElement();if(n.nodeType!=Xml.Document&&n.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==n.nodeType?"null":XmlType.toString(n.nodeType)));for(var s=n,a=0,r=haxe_xml__$Access_NodeListAccess.resolve(s,"SubTexture");a<r.length;){var _=r[a];++a;var o=haxe_xml__$Access_AttribAccess.resolve(_,"name"),h=haxe_xml__$Access_HasAttribAccess.resolve(_,"frameX"),u=haxe_xml__$Access_HasAttribAccess.resolve(_,"rotated")&&"true"==haxe_xml__$Access_AttribAccess.resolve(_,"rotated"),d=haxe_xml__$Access_HasAttribAccess.resolve(_,"flipX")&&"true"==haxe_xml__$Access_AttribAccess.resolve(_,"flipX"),c=haxe_xml__$Access_HasAttribAccess.resolve(_,"flipY")&&"true"==haxe_xml__$Access_AttribAccess.resolve(_,"flipY"),p=parseFloat(haxe_xml__$Access_AttribAccess.resolve(_,"x")),f=parseFloat(haxe_xml__$Access_AttribAccess.resolve(_,"y")),m=parseFloat(haxe_xml__$Access_AttribAccess.resolve(_,"width")),x=parseFloat(haxe_xml__$Access_AttribAccess.resolve(_,"height"));null==x&&(x=0),null==m&&(m=0),null==f&&(f=0),null==p&&(p=0);var g=flixel_math_FlxRect._pool.get(),F=p,y=f,S=m,b=x;null==b&&(b=0),null==S&&(S=0),null==y&&(y=0),null==F&&(F=0),g.x=F,g.y=y,g.width=S,g.height=b;var U=g;U._inPool=!1;var v=U,T=h?new openfl_geom_Rectangle(Std.parseInt(haxe_xml__$Access_AttribAccess.resolve(_,"frameX")),Std.parseInt(haxe_xml__$Access_AttribAccess.resolve(_,"frameY")),Std.parseInt(haxe_xml__$Access_AttribAccess.resolve(_,"frameWidth")),Std.parseInt(haxe_xml__$Access_AttribAccess.resolve(_,"frameHeight"))):new openfl_geom_Rectangle(0,0,v.width,v.height),N=u?-90:0,D=-T.get_left(),Q=-T.get_top();null==Q&&(Q=0),null==D&&(D=0);var B=flixel_math_FlxPoint._pool.get().set(D,Q);B._inPool=!1;var R=B,w=T.width,E=T.height;null==E&&(E=0),null==w&&(w=0);var k=flixel_math_FlxPoint._pool.get().set(w,E);k._inPool=!1;var W=k;u&&!h&&W.set(T.height,T.width),l.addAtlasFrame(v,W,R,o,N,d,c)}return l},flixel_graphics_frames_FlxAtlasFrames.fromTexturePackerXml=function(e,t){var i=flixel_FlxG.bitmap.add(e,!1);if(null==i)return null;var l=flixel_graphics_frames_FlxAtlasFrames.findFrame(i);if(null!=l)return l;if(null==i||null==t)return null;l=new flixel_graphics_frames_FlxAtlasFrames(i),openfl_utils_Assets.exists(t)&&(t=openfl_utils_Assets.getText(t));for(var n=Xml.parse(t).firstElement().elements();n.hasNext();){var s=n.next(),a=s.exists("oX")||s.exists("oY"),r=s.exists("r")&&"y"==s.get("r")?-90:0,_=s.get("n"),o=0,h=0;null==h&&(h=0),null==o&&(o=0);var u=flixel_math_FlxPoint._pool.get().set(o,h);u._inPool=!1;var d=u,c=Std.parseInt(s.get("x")),p=Std.parseInt(s.get("y")),f=Std.parseInt(s.get("w")),m=Std.parseInt(s.get("h"));null==m&&(m=0),null==f&&(f=0),null==p&&(p=0),null==c&&(c=0);var x=flixel_math_FlxRect._pool.get(),g=c,F=p,y=f,S=m;null==S&&(S=0),null==y&&(y=0),null==F&&(F=0),null==g&&(g=0),x.x=g,x.y=F,x.width=y,x.height=S;var b=x;b._inPool=!1;var U=b,v=U.width,T=U.height;null==T&&(T=0),null==v&&(v=0);var N=flixel_math_FlxPoint._pool.get().set(v,T);N._inPool=!1;var D=N;a&&(d.set(Std.parseInt(s.get("oX")),Std.parseInt(s.get("oY"))),D.set(Std.parseInt(s.get("oW")),Std.parseInt(s.get("oH")))),l.addAtlasFrame(U,D,d,_,r)}return l},flixel_graphics_frames_FlxAtlasFrames.fromSpriteSheetPacker=function(e,t){var i=flixel_FlxG.bitmap.add(e);if(null==i)return null;var l=flixel_graphics_frames_FlxAtlasFrames.findFrame(i);if(null!=l)return l;if(null==i||null==t)return null;l=new flixel_graphics_frames_FlxAtlasFrames(i),openfl_utils_Assets.exists(t)&&(t=openfl_utils_Assets.getText(t));for(var n=StringTools.trim(t).split("\n"),s=0,a=n.length;s<a;){var r=n[s++].split("="),_=StringTools.trim(r[0]),o=StringTools.trim(r[1]).split(" "),h=Std.parseInt(o[0]),u=Std.parseInt(o[1]),d=Std.parseInt(o[2]),c=Std.parseInt(o[3]);null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0);var p=flixel_math_FlxRect._pool.get(),f=h,m=u,x=d,g=c;null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),null==f&&(f=0),p.x=f,p.y=m,p.width=x,p.height=g;var F=p;F._inPool=!1;var y=F,S=y.width,b=y.height;null==b&&(b=0),null==S&&(S=0);var U=flixel_math_FlxPoint._pool.get().set(S,b);U._inPool=!1;var v=U,T=flixel_math_FlxPoint._pool.get().set(0,0);T._inPool=!1;var N=T;l.addAtlasFrame(y,v,N,_,0)}return l},flixel_graphics_frames_FlxAtlasFrames.findFrame=function(e,t){if(null==t){var i=0,l=0;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);n._inPool=!1;var s=n;s._weak=!0,t=s}var a=flixel_graphics_frames_FlxFrameCollectionType.ATLAS,r=e.frameCollections.get(a);null==r&&(r=[],e.frameCollections.set(a,r));for(var _=r,o=0;o<_.length;){var h=_[o];++o;var u=h.border,d=Math.abs(u.x-t.x)<=1e-7&&Math.abs(u.y-t.y)<=1e-7;if(t._weak&&t.put(),d)return h}return null},flixel_graphics_frames_FlxAtlasFrames.__super__=flixel_graphics_frames_FlxFramesCollection,flixel_graphics_frames_FlxAtlasFrames.prototype=$extend(flixel_graphics_frames_FlxFramesCollection.prototype,{addBorder:function(e){var t=0,i=0;null==i&&(i=0),null==t&&(t=0);var l=flixel_math_FlxPoint._pool.get().set(t,i);l._inPool=!1;var n=l;n._weak=!0;var s=n.addPoint(this.border).addPoint(e),a=flixel_graphics_frames_FlxAtlasFrames.findFrame(this.parent,s);if(null!=a)return a;a=new flixel_graphics_frames_FlxAtlasFrames(this.parent,s);for(var r=0,_=this.frames;r<_.length;){var o=_[r];++r,a.pushFrame(o.setBorderTo(e))}return a},__class__:flixel_graphics_frames_FlxAtlasFrames});var flixel_graphics_frames_FlxFrame=function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=0),this.matrix=new flixel_math_FlxMatrix,this.rect=new openfl_geom_Rectangle,this.point2=new openfl_geom_Point,this.point1=new openfl_geom_Point,this.parent=e,this.angle=t,this.flipX=i,this.flipY=l,this.type=0;var n=flixel_math_FlxPoint._pool.get().set(0,0);n._inPool=!1,this.sourceSize=n,(n=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,this.offset=n;s=new Array(6);if(this.blitMatrix=s,flixel_FlxG.renderTile){var s=new Array(6);this.tileMatrix=s}};$hxClasses["flixel.graphics.frames.FlxFrame"]=flixel_graphics_frames_FlxFrame,flixel_graphics_frames_FlxFrame.__name__="flixel.graphics.frames.FlxFrame",flixel_graphics_frames_FlxFrame.__interfaces__=[flixel_util_IFlxDestroyable],flixel_graphics_frames_FlxFrame.sort=function(e,t,i){var l=t,n=i;haxe_ds_ArraySort.sort(e,function(e,t){return flixel_graphics_frames_FlxFrame.sortByName(e,t,l,n)})},flixel_graphics_frames_FlxFrame.sortByName=function(e,t,i,l){var n=e.name,s=t.name,a=Std.parseInt(n.substring(i,n.length-l)),r=Std.parseInt(s.substring(i,s.length-l));return null==a&&(a=0),null==r&&(r=0),a-r},flixel_graphics_frames_FlxFrame.prototype={point1:null,point2:null,rect:null,matrix:null,name:null,frame:null,uv:null,parent:null,angle:null,flipX:null,flipY:null,sourceSize:null,offset:null,type:null,tileMatrix:null,blitMatrix:null,cacheFrameMatrix:function(){var e=this.matrix,t=!0;if(null==t&&(t=!0),e.identity(),t&&e.translate(-this.frame.x,-this.frame.y),90==this.angle?(e.setTo(-e.b,e.a,-e.d,e.c,-e.ty,e.tx),e.translate(this.frame.height,0)):-90==this.angle&&(e.setTo(e.b,-e.a,e.d,-e.c,e.ty,-e.tx),e.translate(0,this.frame.width)),e.translate(this.offset.x,this.offset.y),this.blitMatrix[0]=this.matrix.a,this.blitMatrix[1]=this.matrix.b,this.blitMatrix[2]=this.matrix.c,this.blitMatrix[3]=this.matrix.d,this.blitMatrix[4]=this.matrix.tx,this.blitMatrix[5]=this.matrix.ty,flixel_FlxG.renderTile){e=this.matrix;null==(t=!1)&&(t=!0),e.identity(),t&&e.translate(-this.frame.x,-this.frame.y),90==this.angle?(e.setTo(-e.b,e.a,-e.d,e.c,-e.ty,e.tx),e.translate(this.frame.height,0)):-90==this.angle&&(e.setTo(e.b,-e.a,e.d,-e.c,e.ty,-e.tx),e.translate(0,this.frame.width)),e.translate(this.offset.x,this.offset.y),this.tileMatrix[0]=this.matrix.a,this.tileMatrix[1]=this.matrix.b,this.tileMatrix[2]=this.matrix.c,this.tileMatrix[3]=this.matrix.d,this.tileMatrix[4]=this.matrix.tx,this.tileMatrix[5]=this.matrix.ty}},prepareBlitMatrix:function(e,t){return null==t&&(t=!0),e.identity(),t&&e.translate(-this.frame.x,-this.frame.y),90==this.angle?(e.setTo(-e.b,e.a,-e.d,e.c,-e.ty,e.tx),e.translate(this.frame.height,0)):-90==this.angle&&(e.setTo(e.b,-e.a,e.d,-e.c,e.ty,-e.tx),e.translate(0,this.frame.width)),e.translate(this.offset.x,this.offset.y),e},rotateAndFlip:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=0);var n=0|this.sourceSize.x,s=0|this.sourceSize.y;if(0!=t){var a=n;n=s,s=a,90==t?(e.setTo(-e.b,e.a,-e.d,e.c,-e.ty,e.tx),e.translate(this.sourceSize.y,0)):-90!=t&&-90!=t||(e.setTo(e.b,-e.a,e.d,-e.c,e.ty,-e.tx),e.translate(0,this.sourceSize.x))}return i&&(e.scale(-1,1),e.translate(n,0)),l&&(e.scale(1,-1),e.translate(0,s)),e},prepareTransformedBlitMatrix:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=0),e.a=this.blitMatrix[0],e.b=this.blitMatrix[1],e.c=this.blitMatrix[2],e.d=this.blitMatrix[3],e.tx=this.blitMatrix[4],e.ty=this.blitMatrix[5];var n=t,s=i,a=l;null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=0);var r=0|this.sourceSize.x,_=0|this.sourceSize.y;if(0!=n){var o=r;r=_,_=o,90==n?(e.setTo(-e.b,e.a,-e.d,e.c,-e.ty,e.tx),e.translate(this.sourceSize.y,0)):-90!=n&&-90!=n||(e.setTo(e.b,-e.a,e.d,-e.c,e.ty,-e.tx),e.translate(0,this.sourceSize.x))}return s&&(e.scale(-1,1),e.translate(r,0)),a&&(e.scale(1,-1),e.translate(0,_)),e},prepareMatrix:function(e,t,i,l){if(null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=0),flixel_FlxG.renderBlit)return e.identity(),e;e.a=this.tileMatrix[0],e.b=this.tileMatrix[1],e.c=this.tileMatrix[2],e.d=this.tileMatrix[3],e.tx=this.tileMatrix[4],e.ty=this.tileMatrix[5];var n=i!=this.flipX,s=l!=this.flipY;if(0==t&&!n&&!s)return e;var a=t,i=n;null==(l=s)&&(l=!1),null==i&&(i=!1),null==a&&(a=0);var r=0|this.sourceSize.x,_=0|this.sourceSize.y;if(0!=a){var o=r;r=_,_=o,90==a?(e.setTo(-e.b,e.a,-e.d,e.c,-e.ty,e.tx),e.translate(this.sourceSize.y,0)):-90!=a&&-90!=a||(e.setTo(e.b,-e.a,e.d,-e.c,e.ty,-e.tx),e.translate(0,this.sourceSize.x))}return i&&(e.scale(-1,1),e.translate(r,0)),l&&(e.scale(1,-1),e.translate(0,_)),e},fillBlitMatrix:function(e){return e.a=this.blitMatrix[0],e.b=this.blitMatrix[1],e.c=this.blitMatrix[2],e.d=this.blitMatrix[3],e.tx=this.blitMatrix[4],e.ty=this.blitMatrix[5],e},paint:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=this.point1).setTo(0,0);var n=e,s=0,a=i,r=l;null==r&&(r=!1),null==a&&(a=!1),null==s&&(s=0);var _=0|this.sourceSize.x,o=0|this.sourceSize.y;if(0!=s){var h=_;_=o,o=h}if(null!=n&&r&&(n=flixel_util_FlxDestroyUtil.disposeIfNotEqual(n,_,o)),null==n||a?null==n&&(n=new openfl_display_BitmapData(_,o,!0,0)):(this.rect.setTo(t.x,t.y,_,o),n.fillRect(this.rect,0)),e=n,2==this.type)return e;if(0==this.angle){var u=this.offset,d=this.point2;null==d&&(d=new openfl_geom_Point),d.x=u.x,d.y=u.y,this.point2.x+=t.x,this.point2.y+=t.y;var c=this.parent.bitmap,u=this.frame;null==(w=this.rect)&&(w=new openfl_geom_Rectangle),w.x=u.x,w.y=u.y,w.width=u.width,w.height=u.height,e.copyPixels(c,w,this.point2,null,null,i)}else{(p=this.matrix).a=this.blitMatrix[0],p.b=this.blitMatrix[1],p.c=this.blitMatrix[2],p.d=this.blitMatrix[3],p.tx=this.blitMatrix[4],p.ty=this.blitMatrix[5],this.matrix.translate(t.x,t.y);var p=this.matrix,f=this.frame.x;null==(U=this.frame.y)&&(U=0),null==f&&(f=0);var m=f,x=U;null==x&&(x=0),null==m&&(m=0),(t=flixel_math_FlxPoint._pool.get().set(m,x))._inPool=!1;var g=t;g._weak=!0;var F=g,f=(u=this.frame).x+u.width;null==(U=(u=this.frame).y+u.height)&&(U=0),null==f&&(f=0);m=f;null==(x=U)&&(x=0),null==m&&(m=0),(t=flixel_math_FlxPoint._pool.get().set(m,x))._inPool=!1,(g=t)._weak=!0;var y=g,S=F.x*p.a+F.y*p.c+p.tx,b=F.x*p.b+F.y*p.d+p.ty;F.set(S,b);var S=y.x*p.a+y.y*p.c+p.tx,b=y.x*p.b+y.y*p.d+p.ty;y.set(S,b);var u=flixel_math_FlxRect._pool.get(),f=0,U=0,v=0,T=0;null==T&&(T=0),null==v&&(v=0),null==U&&(U=0),null==f&&(f=0),u.x=f,u.y=U,u.width=v,u.height=T,(E=u)._inPool=!1;var u=E,N=Math.min(F.x,y.x),D=Math.min(F.y,y.y),Q=Math.max(F.x,y.x),B=Math.max(F.y,y.y);F._weak&&F.put(),y._weak&&y.put();var f=N,U=D,v=Q-N;null==(T=B-D)&&(T=0),null==v&&(v=0),null==U&&(U=0),null==f&&(f=0),u.x=f,u.y=U,u.width=v,u.height=T;var R=u,w=this.rect;null==w&&(w=new openfl_geom_Rectangle),w.x=R.x,w.y=R.y,w.width=R.width,w.height=R.height,R._inPool||(R._inPool=!0,R._weak=!1,flixel_math_FlxRect._pool.putUnsafe(R));var E=this.rect;e.draw(this.parent.bitmap,this.matrix,null,null,E)}return e},paintRotatedAndFlipped:function(e,t,i,l,n,s,a){if(null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=0),2==this.type&&0==i)return this.paint(e,t,s,a);null==t&&(t=this.point2).setTo(0,0);var r=e,_=i,o=s,h=a;null==h&&(h=!1),null==o&&(o=!1),null==_&&(_=0);var u=0|this.sourceSize.x,d=0|this.sourceSize.y;if(0!=_){var c=u;u=d,d=c}if(null!=r&&h&&(r=flixel_util_FlxDestroyUtil.disposeIfNotEqual(r,u,d)),null==r||o?null==r&&(r=new openfl_display_BitmapData(u,d,!0,0)):(this.rect.setTo(t.x,t.y,u,d),r.fillRect(this.rect,0)),e=r,2==this.type)return e;var p=l!=this.flipX,f=n!=this.flipY;this.prepareTransformedBlitMatrix(this.matrix,i,p,f),this.matrix.translate(t.x,t.y);var m=this.matrix,x=this.frame.x;null==(N=this.frame.y)&&(N=0),null==x&&(x=0);var g=x,F=N;null==F&&(F=0),null==g&&(g=0),(t=flixel_math_FlxPoint._pool.get().set(g,F))._inPool=!1;var y=t;y._weak=!0;var S=y,x=(T=this.frame).x+T.width;null==(N=(T=this.frame).y+T.height)&&(N=0),null==x&&(x=0);g=x;null==(F=N)&&(F=0),null==g&&(g=0),(t=flixel_math_FlxPoint._pool.get().set(g,F))._inPool=!1,(y=t)._weak=!0;var b=y,U=S.x*m.a+S.y*m.c+m.tx,v=S.x*m.b+S.y*m.d+m.ty;S.set(U,v);var U=b.x*m.a+b.y*m.c+m.tx,v=b.x*m.b+b.y*m.d+m.ty;b.set(U,v);var T=flixel_math_FlxRect._pool.get(),x=0,N=0,D=0,Q=0;null==Q&&(Q=0),null==D&&(D=0),null==N&&(N=0),null==x&&(x=0),T.x=x,T.y=N,T.width=D,T.height=Q,(Z=T)._inPool=!1;var T=Z,B=Math.min(S.x,b.x),R=Math.min(S.y,b.y),w=Math.max(S.x,b.x),E=Math.max(S.y,b.y);S._weak&&S.put(),b._weak&&b.put();var x=B,N=R,D=w-B;null==(Q=E-R)&&(Q=0),null==D&&(D=0),null==N&&(N=0),null==x&&(x=0),T.x=x,T.y=N,T.width=D,T.height=Q;var k=T,W=this.rect;null==W&&(W=new openfl_geom_Rectangle),W.x=k.x,W.y=k.y,W.width=k.width,W.height=k.height,k._inPool||(k._inPool=!0,k._weak=!1,flixel_math_FlxRect._pool.putUnsafe(k));var Z=this.rect;return e.draw(this.parent.bitmap,this.matrix,null,null,Z),e},checkInputBitmap:function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=0);var s=0|this.sourceSize.x,a=0|this.sourceSize.y;if(0!=i){var r=s;s=a,a=r}return null!=e&&n&&(e=flixel_util_FlxDestroyUtil.disposeIfNotEqual(e,s,a)),null==e||l?null==e&&(e=new openfl_display_BitmapData(s,a,!0,0)):(this.rect.setTo(t.x,t.y,s,a),e.fillRect(this.rect,0)),e},getDrawFrameRect:function(e){a=this.frame.x;null==(u=this.frame.y)&&(u=0),null==a&&(a=0);var t=a,i=u;null==i&&(i=0),null==t&&(t=0);var l=flixel_math_FlxPoint._pool.get().set(t,i);l._inPool=!1;var n=l;n._weak=!0;var s=n,a=(h=this.frame).x+h.width;null==(u=(h=this.frame).y+h.height)&&(u=0),null==a&&(a=0);t=a;null==(i=u)&&(i=0),null==t&&(t=0),(l=flixel_math_FlxPoint._pool.get().set(t,i))._inPool=!1,(n=l)._weak=!0;var r=n,_=s.x*e.a+s.y*e.c+e.tx,o=s.x*e.b+s.y*e.d+e.ty;s.set(_,o);var _=r.x*e.a+r.y*e.c+e.tx,o=r.x*e.b+r.y*e.d+e.ty;r.set(_,o);var h=flixel_math_FlxRect._pool.get(),a=0,u=0,d=0,c=0;null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==a&&(a=0),h.x=a,h.y=u,h.width=d,h.height=c;var p=h;p._inPool=!1;var h=p,f=Math.min(s.x,r.x),m=Math.min(s.y,r.y),x=Math.max(s.x,r.x),g=Math.max(s.y,r.y);s._weak&&s.put(),r._weak&&r.put();var a=f,u=m,d=x-f;null==(c=g-m)&&(c=0),null==d&&(d=0),null==u&&(u=0),null==a&&(a=0),h.x=a,h.y=u,h.width=d,h.height=c;var F=h,y=this.rect;return null==y&&(y=new openfl_geom_Rectangle),y.x=F.x,y.y=F.y,y.width=F.width,y.height=F.height,F._inPool||(F._inPool=!0,F._weak=!1,flixel_math_FlxRect._pool.putUnsafe(F)),this.rect},subFrameTo:function(e,t){if(null==t?t=new flixel_graphics_frames_FlxFrame(this.parent,this.angle):(t.parent=this.parent,t.angle=this.angle,t.set_frame(flixel_util_FlxDestroyUtil.put(t.frame))),t.sourceSize.set(e.width,e.height),2==this.type)return t.type=2,t.offset.set(0,0),t;var i=flixel_math_FlxRect._pool.get(),l=0,n=0,s=0,a=0;null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),i.x=l,i.y=n,i.width=s,i.height=a;var r=i;r._inPool=!1,(i=r).width=this.frame.width,i.height=this.frame.height;var _=i;0!=this.angle&&(_.width=this.frame.height,_.height=this.frame.width);var o=Math.max(this.offset.x,0),h=Math.max(this.offset.y,0);e.x+=-o,e.y+=-h;var u=_.intersection(e);if(_=flixel_util_FlxDestroyUtil.put(_),e.x+=o,e.y+=h,0==u.width||0==u.height){t.type=2;var l=0,n=0,s=0;null==(a=0)&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),u.x=l,u.y=n,u.width=s,u.height=a,t.set_frame(u),t.offset.set(0,0)}else{t.type=0;var i=t.offset.set(u.x,u.y),l=e.x;null==(n=e.y)&&(n=0),null==l&&(l=0);var d=i;d.set_x(d.x-l),(d=i).set_y(d.y-n),i.addPoint(this.offset);l=u.x;null==(n=u.y)&&(n=0),null==l&&(l=0);var c=l,p=n;null==p&&(p=0),null==c&&(c=0);var f=flixel_math_FlxPoint._pool.get().set(c,p);f._inPool=!1;var m=f;m._weak=!0;var x=m,l=u.x+u.width;null==(n=u.y+u.height)&&(n=0),null==l&&(l=0);c=l;null==(p=n)&&(p=0),null==c&&(c=0),(f=flixel_math_FlxPoint._pool.get().set(c,p))._inPool=!1,(m=f)._weak=!0;var g=m;if(this.matrix.identity(),-90==this.angle?((i=this.matrix).setTo(-i.b,i.a,-i.d,i.c,-i.ty,i.tx),this.matrix.translate(this.frame.width,0)):90==this.angle&&((i=this.matrix).setTo(i.b,-i.a,i.d,-i.c,i.ty,-i.tx),this.matrix.translate(0,this.frame.height)),0!=this.angle){var F=this.matrix,y=x.x*F.a+x.y*F.c+F.tx,S=x.x*F.b+x.y*F.d+F.ty;x.set(y,S);var F=this.matrix,y=g.x*F.a+g.y*F.c+F.tx,S=g.x*F.b+g.y*F.d+F.ty;g.set(y,S)}var b=Math.min(x.x,g.x),U=Math.min(x.y,g.y),v=Math.max(x.x,g.x),T=Math.max(x.y,g.y);x._weak&&x.put(),g._weak&&g.put();var l=b,n=U,s=v-b;null==(a=T-U)&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),u.x=l,u.y=n,u.width=s,u.height=a,u.x+=this.frame.x,u.y+=this.frame.y,t.set_frame(u),t.cacheFrameMatrix()}return t},setBorderTo:function(e,t){var i=e.x,l=e.y,n=this.sourceSize.x-2*e.x,s=this.sourceSize.y-2*e.y;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0);var a=flixel_math_FlxRect._pool.get(),r=i,_=l,o=n,h=s;null==h&&(h=0),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),a.x=r,a.y=_,a.width=o,a.height=h;var u=a;u._inPool=!1;var d=u;return t=this.subFrameTo(d,t),t.name=this.name,d=flixel_util_FlxDestroyUtil.put(d),t},clipTo:function(e,t){null==t?t=new flixel_graphics_frames_FlxFrame(this.parent,this.angle):(t.parent=this.parent,t.angle=this.angle,t.set_frame(flixel_util_FlxDestroyUtil.put(t.frame)));var i=t.sourceSize,l=this.sourceSize;if(i.set_x(l.x),i.set_y(l.y),l._weak&&l.put(),t.name=this.name,2==this.type)return t.type=2,t.offset.set(0,0),t;u=0;null==(d=0)&&(d=0),null==u&&(u=0);var i=flixel_math_FlxRect._pool.get(),n=u,s=d,a=0,r=0;null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),i.x=n,i.y=s,i.width=a,i.height=r;var _=i;_._inPool=!1,(i=_).width=this.frame.width,i.height=this.frame.height;var o=i;0!=this.angle&&(o.width=this.frame.height,o.height=this.frame.width),e.x+=-this.offset.x,e.y+=-this.offset.y;var h=o.intersection(e);if(o=flixel_util_FlxDestroyUtil.put(o),0==h.width||0==h.height){t.type=2;var u=0,d=0,a=0;null==(r=0)&&(r=0),null==a&&(a=0),null==d&&(d=0),null==u&&(u=0),h.x=u,h.y=d,h.width=a,h.height=r,t.set_frame(h),t.offset.set(0,0)}else{t.type=0,t.offset.set(h.x,h.y).addPoint(this.offset);u=h.x;null==(d=h.y)&&(d=0),null==u&&(u=0);n=u;null==(s=d)&&(s=0),null==n&&(n=0),(l=flixel_math_FlxPoint._pool.get().set(n,s))._inPool=!1;var c=l;c._weak=!0;var p=c,u=h.x+h.width;null==(d=h.y+h.height)&&(d=0),null==u&&(u=0);n=u;null==(s=d)&&(s=0),null==n&&(n=0),(l=flixel_math_FlxPoint._pool.get().set(n,s))._inPool=!1,(c=l)._weak=!0;var f=c;if(this.matrix.identity(),-90==this.angle?((i=this.matrix).setTo(-i.b,i.a,-i.d,i.c,-i.ty,i.tx),this.matrix.translate(this.frame.width,0)):90==this.angle&&((i=this.matrix).setTo(i.b,-i.a,i.d,-i.c,i.ty,-i.tx),this.matrix.translate(0,this.frame.height)),0!=this.angle){var m=this.matrix,x=p.x*m.a+p.y*m.c+m.tx,g=p.x*m.b+p.y*m.d+m.ty;p.set(x,g);var m=this.matrix,x=f.x*m.a+f.y*m.c+m.tx,g=f.x*m.b+f.y*m.d+m.ty;f.set(x,g)}var F=Math.min(p.x,f.x),y=Math.min(p.y,f.y),S=Math.max(p.x,f.x),b=Math.max(p.y,f.y);p._weak&&p.put(),f._weak&&f.put();var u=F,d=y,a=S-F;null==(r=b-y)&&(r=0),null==a&&(a=0),null==d&&(d=0),null==u&&(u=0),h.x=u,h.y=d,h.width=a,h.height=r,h.x+=this.frame.x,h.y+=this.frame.y,t.set_frame(h),t.cacheFrameMatrix()}return e.x+=this.offset.x,e.y+=this.offset.y,t},copyTo:function(e){null==e?e=new flixel_graphics_frames_FlxFrame(this.parent,this.angle):(e.parent=this.parent,e.angle=this.angle,e.set_frame(flixel_util_FlxDestroyUtil.put(e.frame)));var t=e.offset,i=this.offset;t.set_x(i.x),t.set_y(i.y),i._weak&&i.put(),e.flipX=this.flipX,e.flipY=this.flipY;var t=e.sourceSize,i=this.sourceSize;t.set_x(i.x),t.set_y(i.y),i._weak&&i.put();var t=flixel_math_FlxRect._pool.get(),l=0,n=0,s=0,a=0;null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),t.x=l,t.y=n,t.width=s,t.height=a;var r=t;r._inPool=!1;var t=r,_=this.frame;return t.x=_.x,t.y=_.y,t.width=_.width,t.height=_.height,_._weak&&(_._inPool||(_._inPool=!0,_._weak=!1,flixel_math_FlxRect._pool.putUnsafe(_))),e.set_frame(t),e.type=this.type,e.name=this.name,e.cacheFrameMatrix(),e},destroy:function(){this.name=null,this.parent=null,this.sourceSize=flixel_util_FlxDestroyUtil.put(this.sourceSize),this.offset=flixel_util_FlxDestroyUtil.put(this.offset),this.set_frame(flixel_util_FlxDestroyUtil.put(this.frame)),this.uv=flixel_util_FlxDestroyUtil.put(this.uv),this.blitMatrix=null,this.tileMatrix=null},toString:function(){var e=this.name,t=flixel_util_LabelValuePair._pool.get();return t.label="name",t.value=e,flixel_util_FlxStringUtil.getDebugString([t])},set_frame:function(e){if(null!=e){if(null==this.uv){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0;null==(a=0)&&(a=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=a;var s=t;s._inPool=!1,this.uv=s}var t=this.uv,i=e.x/this.parent.width,l=e.y/this.parent.height,n=(e.x+e.width)/this.parent.width,a=(e.y+e.height)/this.parent.height;null==a&&(a=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=a}return this.frame=e},__class__:flixel_graphics_frames_FlxFrame,__properties__:{set_frame:"set_frame"}};var flixel_graphics_frames_FlxFrameCollectionType=$hxEnums["flixel.graphics.frames.FlxFrameCollectionType"]={__ename__:"flixel.graphics.frames.FlxFrameCollectionType",__constructs__:["IMAGE","TILES","ATLAS","FONT","USER","FILTER"],IMAGE:{_hx_index:0,__enum__:"flixel.graphics.frames.FlxFrameCollectionType",toString:$estr},TILES:{_hx_index:1,__enum__:"flixel.graphics.frames.FlxFrameCollectionType",toString:$estr},ATLAS:{_hx_index:2,__enum__:"flixel.graphics.frames.FlxFrameCollectionType",toString:$estr},FONT:{_hx_index:3,__enum__:"flixel.graphics.frames.FlxFrameCollectionType",toString:$estr},USER:($_=function(e){return{_hx_index:4,type:e,__enum__:"flixel.graphics.frames.FlxFrameCollectionType",toString:$estr}},$_.__params__=["type"],$_),FILTER:{_hx_index:5,__enum__:"flixel.graphics.frames.FlxFrameCollectionType",toString:$estr}},flixel_graphics_frames_FlxImageFrame=function(e,t){flixel_graphics_frames_FlxFramesCollection.call(this,e,flixel_graphics_frames_FlxFrameCollectionType.IMAGE,t)};$hxClasses["flixel.graphics.frames.FlxImageFrame"]=flixel_graphics_frames_FlxImageFrame,flixel_graphics_frames_FlxImageFrame.__name__="flixel.graphics.frames.FlxImageFrame",flixel_graphics_frames_FlxImageFrame.fromEmptyFrame=function(e,t){if(null==e||null==t)return null;var i=flixel_graphics_frames_FlxImageFrame.findEmptyFrame(e,t);return null!=i?i:((i=new flixel_graphics_frames_FlxImageFrame(e)).addEmptyFrame(t),i)},flixel_graphics_frames_FlxImageFrame.fromFrame=function(e){var t=e.parent,i=e.frame,l=flixel_graphics_frames_FlxImageFrame.findFrame(t,i);if(null!=l)return l;l=new flixel_graphics_frames_FlxImageFrame(t);var n=flixel_math_FlxRect._pool.get(),s=0,a=0,r=0,_=0;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),n.x=s,n.y=a,n.width=r,n.height=_;var o=n;o._inPool=!1;var h=o;return h.x=i.x,h.y=i.y,h.width=i.width,h.height=i.height,h._weak&&(h._inPool||(h._inPool=!0,h._weak=!1,flixel_math_FlxRect._pool.putUnsafe(h))),l.addSpriteSheetFrame(h),l},flixel_graphics_frames_FlxImageFrame.fromImage=function(e){return flixel_graphics_frames_FlxImageFrame.fromRectangle(e,null)},flixel_graphics_frames_FlxImageFrame.fromGraphic=function(e,t){if(null==e)return null;var i=t;if(null==i){var l=0,n=0,s=e.width;null==(d=e.height)&&(d=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0);var a=l,r=n,_=s;null==(c=d)&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0);var o=flixel_math_FlxRect._pool.get(),l=a,n=r,s=_;null==(d=c)&&(d=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),o.x=l,o.y=n,o.width=s,o.height=d,(p=o)._inPool=!1;var h=p;h._weak=!0,i=h}var u=flixel_graphics_frames_FlxImageFrame.findFrame(e,i);if(null!=u)return u;if(u=new flixel_graphics_frames_FlxImageFrame(e),null==t){var l=0,n=0,s=e.width,d=e.height;null==d&&(d=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0);var o=flixel_math_FlxRect._pool.get(),a=l,r=n,_=s,c=d;null==c&&(c=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),o.x=a,o.y=r,o.width=_,o.height=c;var p=o;p._inPool=!1,t=p}else 0==t.width&&(t.width=e.width-t.x),0==t.height&&(t.height=e.height-t.y);return u.addSpriteSheetFrame(t),u},flixel_graphics_frames_FlxImageFrame.fromRectangle=function(e,t){var i=flixel_FlxG.bitmap.add(e,!1);return flixel_graphics_frames_FlxImageFrame.fromGraphic(i,t)},flixel_graphics_frames_FlxImageFrame.fromBitmapAddSpacesAndBorders=function(e,t,i){var l=flixel_FlxG.bitmap.add(e,!1);if(null==l)return null;var n=flixel_FlxG.bitmap.getKeyWithSpacesAndBorders(l.key,null,null,t,i),s=flixel_FlxG.bitmap._cache.h[n];if(null==s){var a=flixel_util_FlxBitmapDataUtil.addSpacesAndBorders(l.bitmap,null,null,t,i);s=flixel_FlxG.bitmap.add(a,!1,n)}return flixel_graphics_frames_FlxImageFrame.fromGraphic(l).addBorder(t)},flixel_graphics_frames_FlxImageFrame.fromFrameAddSpacesAndBorders=function(e,t){var i=e.paint();return flixel_graphics_frames_FlxImageFrame.fromBitmapAddSpacesAndBorders(i,t)},flixel_graphics_frames_FlxImageFrame.findFrame=function(e,t,i){if(null==i){var l=0,n=0;null==n&&(n=0),null==l&&(l=0),(p=flixel_math_FlxPoint._pool.get().set(l,n))._inPool=!1;var s=p;s._weak=!0,i=s}var a=flixel_graphics_frames_FlxFrameCollectionType.IMAGE,r=e.frameCollections.get(a);null==r&&(r=[],e.frameCollections.set(a,r));for(var _=r,o=0;o<_.length;){var h=_[o];++o;var u,d=h.get_frame().frame,c=Math.abs(t.x-d.x)<=1e-7&&Math.abs(t.y-d.y)<=1e-7&&Math.abs(t.width-d.width)<=1e-7&&Math.abs(t.height-d.height)<=1e-7;if(d._weak&&(d._inPool||(d._inPool=!0,d._weak=!1,flixel_math_FlxRect._pool.putUnsafe(d))),c){var p=h.border,f=Math.abs(i.x-p.x)<=1e-7&&Math.abs(i.y-p.y)<=1e-7;p._weak&&p.put(),u=f}else u=!1;if(u&&2!=h.get_frame().type)return h}return null},flixel_graphics_frames_FlxImageFrame.findEmptyFrame=function(e,t){var i=flixel_graphics_frames_FlxFrameCollectionType.IMAGE,l=e.frameCollections.get(i);null==l&&(l=[],e.frameCollections.set(i,l));for(var n=l,s=0;s<n.length;){var a=n[s];++s;var r=a.get_frame();if(r.sourceSize.x==t.width&&r.sourceSize.y==t.height&&2==r.type)return a}return null},flixel_graphics_frames_FlxImageFrame.__super__=flixel_graphics_frames_FlxFramesCollection,flixel_graphics_frames_FlxImageFrame.prototype=$extend(flixel_graphics_frames_FlxFramesCollection.prototype,{equals:function(e,t){var i=this.get_frame().frame,l=Math.abs(e.x-i.x)<=1e-7&&Math.abs(e.y-i.y)<=1e-7&&Math.abs(e.width-i.width)<=1e-7&&Math.abs(e.height-i.height)<=1e-7;if(i._weak&&(i._inPool||(i._inPool=!0,i._weak=!1,flixel_math_FlxRect._pool.putUnsafe(i))),l){var n=this.border,l=Math.abs(t.x-n.x)<=1e-7&&Math.abs(t.y-n.y)<=1e-7;return n._weak&&n.put(),l}return!1},addBorder:function(e){var t=0,i=0;null==i&&(i=0),null==t&&(t=0);var l=flixel_math_FlxPoint._pool.get().set(t,i);l._inPool=!1;var n=l;n._weak=!0;var s=n.addPoint(this.border).addPoint(e),a=flixel_graphics_frames_FlxImageFrame.findFrame(this.parent,this.get_frame().frame,s);return null!=a?a:((a=new flixel_graphics_frames_FlxImageFrame(this.parent,s)).pushFrame(this.get_frame().setBorderTo(e)),a)},destroy:function(){flixel_graphics_frames_FlxFramesCollection.prototype.destroy.call(this),flixel_util_FlxDestroyUtil.destroy(this.get_frame())},get_frame:function(){return this.frames[0]},__class__:flixel_graphics_frames_FlxImageFrame,__properties__:$extend(flixel_graphics_frames_FlxFramesCollection.prototype.__properties__,{get_frame:"get_frame"})});var flixel_graphics_frames_FlxTileFrames=function(e,t){this.numCols=0,this.numRows=0,flixel_graphics_frames_FlxFramesCollection.call(this,e,flixel_graphics_frames_FlxFrameCollectionType.TILES,t)};$hxClasses["flixel.graphics.frames.FlxTileFrames"]=flixel_graphics_frames_FlxTileFrames,flixel_graphics_frames_FlxTileFrames.__name__="flixel.graphics.frames.FlxTileFrames",flixel_graphics_frames_FlxTileFrames.fromBitmapAddSpacesAndBorders=function(e,t,i,l,n){var s=flixel_FlxG.bitmap.add(e,!1);if(null==s)return null;var a=flixel_FlxG.bitmap.getKeyWithSpacesAndBorders(s.key,t,i,l,n),r=flixel_FlxG.bitmap._cache.h[a];if(null==r){var _=flixel_util_FlxBitmapDataUtil.addSpacesAndBorders(s.bitmap,t,i,l,n);r=flixel_FlxG.bitmap.add(_,!1,a)}var o=0,h=0;null!=l&&(o=0|l.x,h=0|l.y);var u=flixel_math_FlxPoint._pool.get().set(0,0);u._inPool=!1;var d=u.addPoint(t),c=2*o,p=2*h;null==p&&(p=0),null==c&&(c=0);var f=d;f.set_x(f.x+c),(f=d).set_y(f.y+p);var m=flixel_graphics_frames_FlxTileFrames.fromGraphic(r,d,null,i);return null==l?m:m.addBorder(l)},flixel_graphics_frames_FlxTileFrames.fromFrameAddSpacesAndBorders=function(e,t,i,l){var n=e.paint();return flixel_graphics_frames_FlxTileFrames.fromBitmapAddSpacesAndBorders(n,t,i,l)},flixel_graphics_frames_FlxTileFrames.fromFrame=function(e,t,i){var l=e.parent,n=flixel_graphics_frames_FlxTileFrames.findFrame(l,t,null,e,i);if(null!=n)return n;if(null==i){h=0;null==(u=0)&&(u=0),null==h&&(h=0);var s=flixel_math_FlxPoint._pool.get().set(h,u);s._inPool=!1,i=s}(n=new flixel_graphics_frames_FlxTileFrames(l)).atlasFrame=e,n.region=e.frame,n.tileSize=t,n.tileSpacing=i,i.set_x(Math.floor(i.x)),i.set_y(Math.floor(i.y)),t.set_x(Math.floor(t.x)),t.set_y(Math.floor(t.y));var a=t.x+i.x,r=t.y+i.y,_=0==t.y?1:(e.sourceSize.y+i.y)/r|0,o=0==t.x?1:(e.sourceSize.x+i.x)/a|0,h=0,u=0,d=t.x,c=t.y;null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0);var p=flixel_math_FlxRect._pool.get(),f=h,m=u,x=d,g=c;null==g&&(g=0),null==x&&(x=0),null==m&&(m=0),null==f&&(f=0),p.x=f,p.y=m,p.width=x,p.height=g;var F=p;F._inPool=!1;for(var y=F,S=0,b=_;S<b;)for(var U=S++,v=0,T=o;v<T;){var N=v++;y.x=a*N,y.y=r*U,n.pushFrame(e.subFrameTo(y))}return y=flixel_util_FlxDestroyUtil.put(y),n.numCols=o,n.numRows=_,n},flixel_graphics_frames_FlxTileFrames.fromFrames=function(e){for(var t=e[0],i=t.parent,l=0;l<e.length;){u=e[l];++l;var n;if(u.parent==t.parent){var s=u.sourceSize,a=t.sourceSize,r=Math.abs(s.x-a.x)<=1e-7&&Math.abs(s.y-a.y)<=1e-7;a._weak&&a.put(),n=!r}else n=!0;if(n)return null}var _=new flixel_graphics_frames_FlxTileFrames(i);_.region=null,_.atlasFrame=null,(a=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var s=a,a=t.sourceSize;s.set_x(a.x),s.set_y(a.y),a._weak&&a.put(),_.tileSize=s;var o=0,h=0;null==h&&(h=0),null==o&&(o=0),(a=flixel_math_FlxPoint._pool.get().set(o,h))._inPool=!1,_.tileSpacing=a,_.numCols=e.length,_.numRows=1;for(l=0;l<e.length;){var u=e[l];++l,_.frames.push(u),null!=u.name&&(_.framesHash.h[u.name]=u)}return _},flixel_graphics_frames_FlxTileFrames.fromAtlasByPrefix=function(e,t){for(var i=[],l=0,n=e.frames;l<n.length;){var s=n[l];++l,StringTools.startsWith(s.name,t)&&i.push(s)}if(i.length>0){var a=i[0].name,r=a.indexOf(".",t.length),_=a.substring(-1==r?a.length:r,a.length);return flixel_graphics_frames_FlxFrame.sort(i,t.length,_.length),flixel_graphics_frames_FlxTileFrames.fromFrames(i)}return null},flixel_graphics_frames_FlxTileFrames.fromGraphic=function(e,t,i,l){var n=flixel_graphics_frames_FlxTileFrames.findFrame(e,t,i,null,l);if(null!=n)return n;if(null==i){var s=0,a=0,r=e.width;null==(v=e.height)&&(v=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0);var _=flixel_math_FlxRect._pool.get(),o=s,h=a,u=r;null==(T=v)&&(T=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=T,(N=_)._inPool=!1,i=N}else 0==i.width&&(i.width=e.width-i.x),0==i.height&&(i.height=e.height-i.y);if(null==l){s=0;null==(a=0)&&(a=0),null==s&&(s=0);var d=flixel_math_FlxPoint._pool.get().set(s,a);d._inPool=!1,l=d}(n=new flixel_graphics_frames_FlxTileFrames(e)).region=i,n.atlasFrame=null,n.tileSize=t,n.tileSpacing=l,i.x=Math.floor(i.x),i.y=Math.floor(i.y),i.width=Math.floor(i.width),i.height=Math.floor(i.height),l.set_x(Math.floor(l.x)),l.set_y(Math.floor(l.y)),t.set_x(Math.floor(t.x)),t.set_y(Math.floor(t.y));for(var c,p=t.x+l.x,f=t.y+l.y,m=0==t.y?1:(i.height+l.y)/f|0,x=0==t.x?1:(i.width+l.x)/p|0,g=0,F=m;g<F;)for(var y=g++,S=0,b=x;S<b;){var U=S++,s=i.x+U*p,a=i.y+y*f,r=t.x,v=t.y;null==v&&(v=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0);var _=flixel_math_FlxRect._pool.get(),o=s,h=a,u=r,T=v;null==T&&(T=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=T;var N=_;N._inPool=!1,c=N,n.addSpriteSheetFrame(c)}return n.numCols=x,n.numRows=m,n},flixel_graphics_frames_FlxTileFrames.fromRectangle=function(e,t,i,l){var n=flixel_FlxG.bitmap.add(e,!1);return null==n?null:flixel_graphics_frames_FlxTileFrames.fromGraphic(n,t,i,l)},flixel_graphics_frames_FlxTileFrames.combineTileSets=function(e,t,i,l){for(var n=[],s=0;s<e.length;){var a=e[s];++s,n.push(flixel_graphics_frames_FlxTileFrames.fromRectangle(a,t))}return flixel_graphics_frames_FlxTileFrames.combineTileFrames(n,i,l)},flixel_graphics_frames_FlxTileFrames.combineTileFrames=function(e,t,i){var l=0,n=0,s=0,a=0|e[0].frames[0].sourceSize.x,r=0|e[0].frames[0].sourceSize.y,_=0,o=0;null!=t&&(_=0|t.x,o=0|t.y);var h=0,u=0;null!=i&&(h=0|i.x,u=0|i.y);for(B=0;B<e.length;){R=e[B];++B,l+=(s=R.numCols)*(a+2*h)*(n=R.numRows)*(r+2*u)|0}var d=((s=Math.sqrt(l)/(a+2*h)|0)*(a+2*h)|0)+(s-1)*_,c=((n=Math.ceil(l/(s*(a+2*h)*(r+2*u))))*(r+2*u)|0)+(n-1)*o,p=new openfl_display_BitmapData(d,c,!0,0),f=flixel_FlxG.bitmap.add(p),m=new flixel_graphics_frames_FlxTileFrames(f),x=new openfl_geom_Point(h,u),g=0,F=0,y=d,S=c;null==S&&(S=0),null==y&&(y=0),null==F&&(F=0),null==g&&(g=0);var b=flixel_math_FlxRect._pool.get(),U=g,v=F,T=y,N=S;null==N&&(N=0),null==T&&(T=0),null==v&&(v=0),null==U&&(U=0),b.x=U,b.y=v,b.width=T,b.height=N;var D=b;D._inPool=!1,m.region=D,m.atlasFrame=null;g=a;null==(F=r)&&(F=0),null==g&&(g=0);var Q=flixel_math_FlxPoint._pool.get().set(g,F);Q._inPool=!1,m.tileSize=Q;g=_;null==(F=o)&&(F=0),null==g&&(g=0),(Q=flixel_math_FlxPoint._pool.get().set(g,F))._inPool=!1,m.tileSpacing=Q,m.numCols=s,m.numRows=n;for(var B=0;B<e.length;){var R=e[B];++B;for(var w=0,E=R.frames;w<E.length;){var k=E[w];++w,k.paint(p,x,!0);var g=x.x,F=x.y,y=a;null==(S=r)&&(S=0),null==y&&(y=0),null==F&&(F=0),null==g&&(g=0);var b=flixel_math_FlxRect._pool.get(),U=g,v=F,T=y;null==(N=S)&&(N=0),null==T&&(T=0),null==v&&(v=0),null==U&&(U=0),b.x=U,b.y=v,b.width=T,b.height=N,(D=b)._inPool=!1;var W=a,Z=r;null==Z&&(Z=0),null==W&&(W=0),(Q=flixel_math_FlxPoint._pool.get().set(W,Z))._inPool=!1;var M=0,P=0;null==P&&(P=0),null==M&&(M=0);var V=flixel_math_FlxPoint._pool.get().set(M,P);V._inPool=!1,m.addAtlasFrame(D,Q,V),x.x+=a+2*h+_,x.x>=p.width&&(x.x=h,x.y+=r+2*u+o)}}return flixel_util_FlxBitmapDataUtil.copyBorderPixels(p,a,r,_,o,h,u,s,n),m},flixel_graphics_frames_FlxTileFrames.findFrame=function(e,t,i,l,n,s){var a=flixel_graphics_frames_FlxFrameCollectionType.TILES,r=e.frameCollections.get(a);null==r&&(r=[],e.frameCollections.set(a,r));for(var _=r,o=0;o<_.length;){var h=_[o];if(++o,h.equals(t,i,null,n,s))return h}return null},flixel_graphics_frames_FlxTileFrames.__super__=flixel_graphics_frames_FlxFramesCollection,flixel_graphics_frames_FlxTileFrames.prototype=$extend(flixel_graphics_frames_FlxFramesCollection.prototype,{atlasFrame:null,region:null,tileSize:null,tileSpacing:null,numRows:null,numCols:null,getByTilePosition:function(e,t){return this.frames[t*this.numCols+e]},equals:function(e,t,i,l,n){if(null==this.region&&null==this.atlasFrame)return!1;if(null!=i&&(t=i.frame),null==t){var s=0,a=0,r=this.parent.width,_=this.parent.height;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0);var o=s,h=a,u=r,d=_;null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0);var c=flixel_math_FlxRect._pool.get(),s=o,a=h,r=u;null==(_=d)&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),c.x=s,c.y=a,c.width=r,c.height=_;var p=c;p._inPool=!1;var f=p;f._weak=!0,t=f}if(null==l){s=0;null==(a=0)&&(a=0),null==s&&(s=0),(m=flixel_math_FlxPoint._pool.get().set(s,a))._inPool=!1,(x=m)._weak=!0,l=x}if(null==n){s=0;null==(a=0)&&(a=0),null==s&&(s=0);var m=flixel_math_FlxPoint._pool.get().set(s,a);m._inPool=!1;var x=m;x._weak=!0,n=x}var g,F,y;if(this.atlasFrame==i){var c=this.region,S=Math.abs(c.x-t.x)<=1e-7&&Math.abs(c.y-t.y)<=1e-7&&Math.abs(c.width-t.width)<=1e-7&&Math.abs(c.height-t.height)<=1e-7;t._weak&&(t._inPool||(t._inPool=!0,t._weak=!1,flixel_math_FlxRect._pool.putUnsafe(t))),y=S}else y=!1;if(y){var c=this.tileSize,S=Math.abs(c.x-e.x)<=1e-7&&Math.abs(c.y-e.y)<=1e-7;e._weak&&e.put(),F=S}else F=!1;if(F){var c=this.tileSpacing,S=Math.abs(c.x-l.x)<=1e-7&&Math.abs(c.y-l.y)<=1e-7;l._weak&&l.put(),g=S}else g=!1;if(g){var c=this.border,S=Math.abs(c.x-n.x)<=1e-7&&Math.abs(c.y-n.y)<=1e-7;return n._weak&&n.put(),S}return!1},addBorder:function(e){(l=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var t=l.addPoint(this.border).addPoint(e);(l=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var i=l,l=this.tileSize;i.set_x(l.x),i.set_y(l.y),l._weak&&l.put();var n=i,s=2*e.x;null==(_=2*e.y)&&(_=0),null==s&&(s=0),(c=n).set_x(c.x-s),(c=n).set_y(c.y-_);var a=n,r=flixel_graphics_frames_FlxTileFrames.findFrame(this.parent,a,this.region,this.atlasFrame,this.tileSpacing,t);if(null!=r)return a=flixel_util_FlxDestroyUtil.put(a),r;r=new flixel_graphics_frames_FlxTileFrames(this.parent,t);var i=flixel_math_FlxRect._pool.get(),s=0,_=0,o=0,h=0;null==h&&(h=0),null==o&&(o=0),null==_&&(_=0),null==s&&(s=0),i.x=s,i.y=_,i.width=o,i.height=h;var u=i;u._inPool=!1;var i=u,d=this.region;i.x=d.x,i.y=d.y,i.width=d.width,i.height=d.height,d._weak&&(d._inPool||(d._inPool=!0,d._weak=!1,flixel_math_FlxRect._pool.putUnsafe(d))),r.region=i,r.atlasFrame=this.atlasFrame,r.tileSize=a,(l=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var i=l,l=this.tileSpacing;i.set_x(l.x),i.set_y(l.y),l._weak&&l.put(),r.tileSpacing=i;for(var c=0,p=this.frames;c<p.length;){var f=p[c];++c,r.pushFrame(f.setBorderTo(e))}return r},destroy:function(){flixel_graphics_frames_FlxFramesCollection.prototype.destroy.call(this),this.atlasFrame=null,this.region=flixel_util_FlxDestroyUtil.put(this.region),this.tileSize=flixel_util_FlxDestroyUtil.put(this.tileSize),this.tileSpacing=flixel_util_FlxDestroyUtil.put(this.tileSpacing)},__class__:flixel_graphics_frames_FlxTileFrames});var flixel_graphics_tile_FlxDrawBaseItem=function(){this.blending=0,this.hasColorOffsets=!1,this.colored=!1,this.antialiasing=!1};$hxClasses["flixel.graphics.tile.FlxDrawBaseItem"]=flixel_graphics_tile_FlxDrawBaseItem,flixel_graphics_tile_FlxDrawBaseItem.__name__="flixel.graphics.tile.FlxDrawBaseItem",flixel_graphics_tile_FlxDrawBaseItem.blendToInt=function(e){return 0},flixel_graphics_tile_FlxDrawBaseItem.prototype={nextTyped:null,next:null,graphics:null,antialiasing:null,colored:null,hasColorOffsets:null,blending:null,blend:null,type:null,reset:function(){this.graphics=null,this.antialiasing=!1,this.nextTyped=null,this.next=null},dispose:function(){this.graphics=null,this.next=null,this.type=null,this.nextTyped=null},render:function(e){flixel_graphics_tile_FlxDrawBaseItem.drawCalls++},addQuad:function(e,t,i){},get_numVertices:function(){return 0},get_numTriangles:function(){return 0},__class__:flixel_graphics_tile_FlxDrawBaseItem,__properties__:{get_numTriangles:"get_numTriangles",get_numVertices:"get_numVertices"}};var flixel_graphics_tile_FlxDrawItemType=$hxEnums["flixel.graphics.tile.FlxDrawItemType"]={__ename__:"flixel.graphics.tile.FlxDrawItemType",__constructs__:["TILES","TRIANGLES"],TILES:{_hx_index:0,__enum__:"flixel.graphics.tile.FlxDrawItemType",toString:$estr},TRIANGLES:{_hx_index:1,__enum__:"flixel.graphics.tile.FlxDrawItemType",toString:$estr}},flixel_graphics_tile_FlxDrawQuadsItem=function(){flixel_graphics_tile_FlxDrawBaseItem.call(this),this.type=flixel_graphics_tile_FlxDrawItemType.TILES,this.rects=openfl_Vector.toFloatVector(null),this.transforms=openfl_Vector.toFloatVector(null),this.alphas=[]};$hxClasses["flixel.graphics.tile.FlxDrawQuadsItem"]=flixel_graphics_tile_FlxDrawQuadsItem,flixel_graphics_tile_FlxDrawQuadsItem.__name__="flixel.graphics.tile.FlxDrawQuadsItem",flixel_graphics_tile_FlxDrawQuadsItem.__super__=flixel_graphics_tile_FlxDrawBaseItem,flixel_graphics_tile_FlxDrawQuadsItem.prototype=$extend(flixel_graphics_tile_FlxDrawBaseItem.prototype,{shader:null,rects:null,transforms:null,alphas:null,colorMultipliers:null,colorOffsets:null,reset:function(){flixel_graphics_tile_FlxDrawBaseItem.prototype.reset.call(this),this.rects.set_length(0),this.transforms.set_length(0),this.alphas.splice(0,this.alphas.length),null!=this.colorMultipliers&&this.colorMultipliers.splice(0,this.colorMultipliers.length),null!=this.colorOffsets&&this.colorOffsets.splice(0,this.colorOffsets.length)},dispose:function(){flixel_graphics_tile_FlxDrawBaseItem.prototype.dispose.call(this),this.rects=null,this.transforms=null,this.alphas=null,this.colorMultipliers=null,this.colorOffsets=null},addQuad:function(e,t,i){var l=e.frame;if(this.rects.push(l.x),this.rects.push(l.y),this.rects.push(l.width),this.rects.push(l.height),this.transforms.push(t.a),this.transforms.push(t.b),this.transforms.push(t.c),this.transforms.push(t.d),this.transforms.push(t.tx),this.transforms.push(t.ty),this.alphas.push(null!=i?i.alphaMultiplier:1),this.alphas.push(null!=i?i.alphaMultiplier:1),this.alphas.push(null!=i?i.alphaMultiplier:1),this.alphas.push(null!=i?i.alphaMultiplier:1),this.colored||this.hasColorOffsets){null==this.colorMultipliers&&(this.colorMultipliers=[]),null==this.colorOffsets&&(this.colorOffsets=[]);for(var n=0;n<4;){n++;null!=i?(this.colorMultipliers.push(i.redMultiplier),this.colorMultipliers.push(i.greenMultiplier),this.colorMultipliers.push(i.blueMultiplier),this.colorOffsets.push(i.redOffset),this.colorOffsets.push(i.greenOffset),this.colorOffsets.push(i.blueOffset),this.colorOffsets.push(i.alphaOffset)):(this.colorMultipliers.push(1),this.colorMultipliers.push(1),this.colorMultipliers.push(1),this.colorOffsets.push(0),this.colorOffsets.push(0),this.colorOffsets.push(0),this.colorOffsets.push(0)),this.colorMultipliers.push(1)}}},render:function(e){if(0!=this.rects.get_length()){var t=null!=this.shader?this.shader:this.graphics.shader;t.bitmap.input=this.graphics.bitmap,t.bitmap.filter=e.antialiasing||this.antialiasing?4:5,t.alpha.value=this.alphas,(this.colored||this.hasColorOffsets)&&(t.colorMultiplier.value=this.colorMultipliers,t.colorOffset.value=this.colorOffsets);var i=t.hasTransform;null==i.value&&(i.value=[]),i.value[0]=!0,null==(i=t.hasColorTransform).value&&(i.value=[]),i.value[0]=this.colored||this.hasColorOffsets,e.canvas.get_graphics().overrideBlendMode(this.blend),e.canvas.get_graphics().beginShaderFill(t),e.canvas.get_graphics().drawQuads(this.rects,null,this.transforms),flixel_graphics_tile_FlxDrawBaseItem.prototype.render.call(this,e)}},setParameterValue:function(e,t){null==e.value&&(e.value=[]),e.value[0]=t},__class__:flixel_graphics_tile_FlxDrawQuadsItem});var flixel_graphics_tile_FlxDrawTrianglesItem=function(){var e=flixel_math_FlxRect._pool.get();e.x=0,e.y=0,e.width=0,e.height=0,e._inPool=!1,this.bounds=e,this.colorsPosition=0,this.indicesPosition=0,this.verticesPosition=0,this.colors=openfl_Vector.toIntVector(null),this.uvtData=openfl_Vector.toFloatVector(null),this.indices=openfl_Vector.toIntVector(null),this.vertices=openfl_Vector.toFloatVector(null),flixel_graphics_tile_FlxDrawBaseItem.call(this),this.type=flixel_graphics_tile_FlxDrawItemType.TRIANGLES};$hxClasses["flixel.graphics.tile.FlxDrawTrianglesItem"]=flixel_graphics_tile_FlxDrawTrianglesItem,flixel_graphics_tile_FlxDrawTrianglesItem.__name__="flixel.graphics.tile.FlxDrawTrianglesItem",flixel_graphics_tile_FlxDrawTrianglesItem.inflateBounds=function(e,t,i){return t<e.x&&(e.width+=e.x-t,e.x=t),i<e.y&&(e.height+=e.y-i,e.y=i),t>e.x+e.width&&(e.width=t-e.x),i>e.y+e.height&&(e.height=i-e.y),e},flixel_graphics_tile_FlxDrawTrianglesItem.__super__=flixel_graphics_tile_FlxDrawBaseItem,flixel_graphics_tile_FlxDrawTrianglesItem.prototype=$extend(flixel_graphics_tile_FlxDrawBaseItem.prototype,{vertices:null,indices:null,uvtData:null,colors:null,verticesPosition:null,indicesPosition:null,colorsPosition:null,bounds:null,render:function(e){if(flixel_FlxG.renderTile&&!(this.get_numTriangles()<=0)){var t=e.antialiasing||this.antialiasing;e.canvas.get_graphics().beginBitmapFill(this.graphics.bitmap,null,!0,t),e.canvas.get_graphics().drawTriangles(this.vertices,this.indices,this.uvtData,1),e.canvas.get_graphics().endFill(),flixel_graphics_tile_FlxDrawBaseItem.prototype.render.call(this,e)}},reset:function(){flixel_graphics_tile_FlxDrawBaseItem.prototype.reset.call(this),this.vertices.splice(0,this.vertices.get_length()),this.indices.splice(0,this.indices.get_length()),this.uvtData.splice(0,this.uvtData.get_length()),this.colors.splice(0,this.colors.get_length()),this.verticesPosition=0,this.indicesPosition=0,this.colorsPosition=0},dispose:function(){flixel_graphics_tile_FlxDrawBaseItem.prototype.dispose.call(this),this.vertices=null,this.indices=null,this.uvtData=null,this.colors=null,this.bounds=null},addTriangles:function(e,t,i,l,n,s){if(null==n&&(n=flixel_graphics_tile_FlxDrawTrianglesItem.point.set()),null==s){var a=flixel_graphics_tile_FlxDrawTrianglesItem.rect,r=0,_=0,o=flixel_FlxG.width;null==(S=flixel_FlxG.height)&&(S=0),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),a.x=r,a.y=_,a.width=o,a.height=S,s=a}for(var h,u,d=e.get_length(),c=this.vertices.get_length(),p=d/2|0,f=this.indices.get_length(),m=this.uvtData.get_length(),x=this.colors.get_length(),g=this.get_numVertices(),F=0,y=c;F<d;){if(h=n.x+e.get(F),u=n.y+e.get(F+1),this.vertices.set(y++,h),this.vertices.set(y++,u),0==F){var a=this.bounds,r=h,_=u,o=0,S=0;null==S&&(S=0),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),a.x=r,a.y=_,a.width=o,a.height=S}else{var b=this.bounds;h<b.x&&(b.width+=b.x-h,b.x=h),u<b.y&&(b.height+=b.y-u,b.y=u),h>b.x+b.width&&(b.width=h-b.x),u>b.y+b.height&&(b.height=u-b.y)}F+=2}var U=this.bounds,v=U.x+U.width>s.x&&U.x<s.x+s.width&&U.y+U.height>s.y&&U.y<s.y+s.height;if(U._weak&&(U._inPool||(U._inPool=!0,U._weak=!1,flixel_math_FlxRect._pool.putUnsafe(U))),v){for(var T=0,N=i.get_length();T<N;){F=T++;this.uvtData.set(m+F,i.get(F))}for(var D=t.get_length(),T=0,N=D;T<N;){F=T++;this.indices.set(f+F,t.get(F)+g)}if(this.colored){for(var T=0,N=p;T<N;){F=T++;this.colors.set(x+F,l.get(F))}this.colorsPosition+=p}this.verticesPosition+=d,this.indicesPosition+=D}else this.vertices.splice(this.vertices.get_length()-d,d);n._weak&&n.put(),s._weak&&(s._inPool||(s._inPool=!0,s._weak=!1,flixel_math_FlxRect._pool.putUnsafe(s)))},addQuad:function(e,t,i){var l=this.verticesPosition,n=this.indicesPosition,s=this.colorsPosition,a=this.get_numVertices(),r=flixel_math_FlxPoint._pool.get().set(0,0);r._inPool=!1;var _=r,o=_.x*t.a+_.y*t.c+t.tx,h=_.x*t.b+_.y*t.d+t.ty;_.set(o,h),this.vertices.set(l,_.x),this.vertices.set(l+1,_.y),this.uvtData.set(l,e.uv.x),this.uvtData.set(l+1,e.uv.y),_.set(e.frame.width,0);var o=_.x*t.a+_.y*t.c+t.tx,h=_.x*t.b+_.y*t.d+t.ty;_.set(o,h),this.vertices.set(l+2,_.x),this.vertices.set(l+3,_.y),this.uvtData.set(l+2,e.uv.width),this.uvtData.set(l+3,e.uv.y),_.set(e.frame.width,e.frame.height);var o=_.x*t.a+_.y*t.c+t.tx,h=_.x*t.b+_.y*t.d+t.ty;_.set(o,h),this.vertices.set(l+4,_.x),this.vertices.set(l+5,_.y),this.uvtData.set(l+4,e.uv.width),this.uvtData.set(l+5,e.uv.height),_.set(0,e.frame.height);var o=_.x*t.a+_.y*t.c+t.tx,h=_.x*t.b+_.y*t.d+t.ty;if(_.set(o,h),this.vertices.set(l+6,_.x),this.vertices.set(l+7,_.y),_.put(),this.uvtData.set(l+6,e.uv.x),this.uvtData.set(l+7,e.uv.height),this.indices.set(n,a),this.indices.set(n+1,a+1),this.indices.set(n+2,a+2),this.indices.set(n+3,a+2),this.indices.set(n+4,a+3),this.indices.set(n+5,a),this.colored){var u=1,d=1,c=1,p=1;null!=i&&(u=i.redMultiplier,d=i.greenMultiplier,c=i.blueMultiplier,p=i.alphaMultiplier);var f=p;null==f&&(f=1);var m=flixel_util_FlxColor._new(),x=f;null==x&&(x=1);var g=Math.round(255*u);m&=-16711681,m|=(g>255?255:g<0?0:g)<<16,m&=-65281,m|=((g=Math.round(255*d))>255?255:g<0?0:g)<<8,m&=-256,m|=(g=Math.round(255*c))>255?255:g<0?0:g,m&=16777215;var F=m|=((g=Math.round(255*x))>255?255:g<0?0:g)<<24;this.colors.set(s,F),this.colors.set(s+1,F),this.colors.set(s+2,F),this.colors.set(s+3,F),this.colorsPosition+=4}this.verticesPosition+=8,this.indicesPosition+=6},get_numVertices:function(){return this.vertices.get_length()/2|0},get_numTriangles:function(){return this.indices.get_length()/3|0},__class__:flixel_graphics_tile_FlxDrawTrianglesItem});var flixel_group_FlxTypedGroupIterator=function(e,t){this._groupMembers=e,this._filter=t,this._cursor=0,this._length=this._groupMembers.length};$hxClasses["flixel.group.FlxTypedGroupIterator"]=flixel_group_FlxTypedGroupIterator,flixel_group_FlxTypedGroupIterator.__name__="flixel.group.FlxTypedGroupIterator",flixel_group_FlxTypedGroupIterator.prototype={_groupMembers:null,_filter:null,_cursor:null,_length:null,next:function(){return this.hasNext()?this._groupMembers[this._cursor++]:null},hasNext:function(){for(;this._cursor<this._length&&(null==this._groupMembers[this._cursor]||null!=this._filter&&!this._filter(this._groupMembers[this._cursor]));)this._cursor++;return this._cursor<this._length},__class__:flixel_group_FlxTypedGroupIterator};var flixel_input_FlxAccelerometer=function(){this.z=0,this.y=0,this.x=0,openfl_sensors_Accelerometer.get_isSupported()&&(this._sensor=new openfl_sensors_Accelerometer,this._sensor.addEventListener("update",$bind(this,this.update)))};$hxClasses["flixel.input.FlxAccelerometer"]=flixel_input_FlxAccelerometer,flixel_input_FlxAccelerometer.__name__="flixel.input.FlxAccelerometer",flixel_input_FlxAccelerometer.prototype={x:null,y:null,z:null,_sensor:null,get_isSupported:function(){return openfl_sensors_Accelerometer.get_isSupported()},update:function(e){this.x=e.accelerationX,this.y=e.accelerationY,this.z=e.accelerationZ,this.x/=10,this.y/=10,this.z/=10},__class__:flixel_input_FlxAccelerometer,__properties__:{get_isSupported:"get_isSupported"}};var flixel_input_FlxBaseKeyList=function(e,t){this.status=e,this.keyManager=t};$hxClasses["flixel.input.FlxBaseKeyList"]=flixel_input_FlxBaseKeyList,flixel_input_FlxBaseKeyList.__name__="flixel.input.FlxBaseKeyList",flixel_input_FlxBaseKeyList.prototype={status:null,keyManager:null,check:function(e){return this.keyManager.checkStatus(e,this.status)},get_ANY:function(){for(var e=0,t=this.keyManager._keyListArray;e<t.length;){var i=t[e];if(++e,null!=i&&this.keyManager.checkStatus(i.ID,this.status))return!0}return!1},get_NONE:function(){for(var e=0,t=this.keyManager._keyListArray;e<t.length;){var i=t[e];if(++e,null!=i&&this.keyManager.checkStatus(i.ID,this.status))return!1}return!0},__class__:flixel_input_FlxBaseKeyList,__properties__:{get_NONE:"get_NONE",get_ANY:"get_ANY"}};var flixel_input_FlxInput=function(e){this.last=0,this.current=0,this.ID=e};$hxClasses["flixel.input.FlxInput"]=flixel_input_FlxInput,flixel_input_FlxInput.__name__="flixel.input.FlxInput",flixel_input_FlxInput.__interfaces__=[flixel_input_IFlxInput],flixel_input_FlxInput.prototype={ID:null,current:null,last:null,press:function(){this.last=this.current,this.current=1==this.current||2==this.current?1:2},release:function(){this.last=this.current,this.current=1==this.current||2==this.current?-1:0},update:function(){-1==this.last&&-1==this.current?this.current=0:2==this.last&&2==this.current&&(this.current=1),this.last=this.current},reset:function(){this.current=0,this.last=0},hasState:function(e){switch(e){case-1:return-1==this.current;case 0:return 0==this.current||-1==this.current;case 1:return 1==this.current||2==this.current;case 2:return 2==this.current}},get_justReleased:function(){return-1==this.current},get_released:function(){return 0==this.current||-1==this.current},get_pressed:function(){return 1==this.current||2==this.current},get_justPressed:function(){return 2==this.current},__class__:flixel_input_FlxInput,__properties__:{get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_released:"get_released",get_justReleased:"get_justReleased"}};var flixel_input_FlxKeyManager=function(e){this._keyListMap=new haxe_ds_IntMap,this._keyListArray=[],this.preventDefaultKeys=[],this.enabled=!0,openfl_Lib.get_current().stage.addEventListener("keyDown",$bind(this,this.onKeyDown)),openfl_Lib.get_current().stage.addEventListener("keyUp",$bind(this,this.onKeyUp)),this.pressed=e(1,this),this.released=e(0,this),this.justPressed=e(2,this),this.justReleased=e(-1,this)};$hxClasses["flixel.input.FlxKeyManager"]=flixel_input_FlxKeyManager,flixel_input_FlxKeyManager.__name__="flixel.input.FlxKeyManager",flixel_input_FlxKeyManager.__interfaces__=[flixel_input_IFlxInputManager],flixel_input_FlxKeyManager.prototype={enabled:null,preventDefaultKeys:null,pressed:null,justPressed:null,released:null,justReleased:null,_keyListArray:null,_keyListMap:null,anyPressed:function(e){return this.checkKeyArrayState(e,1)},anyJustPressed:function(e){return this.checkKeyArrayState(e,2)},anyJustReleased:function(e){return this.checkKeyArrayState(e,-1)},firstPressed:function(){for(var e=0,t=this._keyListArray;e<t.length;){var i=t[e];if(++e,null!=i&&(1==i.current||2==i.current))return i.ID}return-1},firstJustPressed:function(){for(var e=0,t=this._keyListArray;e<t.length;){var i=t[e];if(++e,null!=i&&2==i.current)return i.ID}return-1},firstJustReleased:function(){for(var e=0,t=this._keyListArray;e<t.length;){var i=t[e];if(++e,null!=i&&-1==i.current)return i.ID}return-1},checkStatus:function(e,t){switch(e){case-2:switch(t){case-1:return this.justReleased.get_ANY();case 0:return this.released.get_ANY();case 1:return this.pressed.get_ANY();case 2:return this.justPressed.get_ANY()}break;case-1:switch(t){case-1:return this.justReleased.get_NONE();case 0:return this.released.get_NONE();case 1:return this.pressed.get_NONE();case 2:return this.justPressed.get_NONE()}break;default:var i=this._keyListMap.h[e];return null!=i&&i.hasState(t)}},getIsDown:function(){for(var e=[],t=0,i=this._keyListArray;t<i.length;){var l=i[t];++t,null==l||1!=l.current&&2!=l.current||e.push(l)}return e},destroy:function(){this._keyListArray=null,this._keyListMap=null},reset:function(){for(var e=0,t=this._keyListArray;e<t.length;){var i=t[e];++e,null!=i&&i.release()}},update:function(){for(var e=0,t=this._keyListArray;e<t.length;){var i=t[e];++e,null!=i&&i.update()}},checkKeyArrayState:function(e,t){if(null==e)return!1;for(var i=0;i<e.length;){var l=e[i];if(++i,this.checkStatus(l,t))return!0}return!1},onKeyUp:function(e){var t=this.resolveKeyCode(e);if(this.handlePreventDefaultKeys(t,e),this.enabled){var i=this._keyListMap.h[t];null!=i&&i.release()}},onKeyDown:function(e){var t=this.resolveKeyCode(e);if(this.handlePreventDefaultKeys(t,e),this.enabled){var i=this._keyListMap.h[t];null!=i&&i.press()}},handlePreventDefaultKeys:function(e,t){var i=this._keyListMap.h[e];null!=i&&null!=this.preventDefaultKeys&&-1!=this.preventDefaultKeys.indexOf(i.ID)&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},inKeyArray:function(e,t){if(null==e)return!1;for(var i=this.resolveKeyCode(t),l=0;l<e.length;){var n=e[l];if(++l,n==i||-2==n)return!0}return!1},resolveKeyCode:function(e){return e.keyCode},updateKeyStates:function(e,t){var i=this._keyListMap.h[e];null!=i&&(t?i.press():i.release())},onFocus:function(){},onFocusLost:function(){this.reset()},getKey:function(e){return this._keyListMap.h[e]},__class__:flixel_input_FlxKeyManager};var flixel_input_FlxSwipe=function(e,t,i,l){this.ID=e,this.startPosition=t,this.endPosition=i,this._startTimeInTicks=l,this._endTimeInTicks=flixel_FlxG.game.ticks};$hxClasses["flixel.input.FlxSwipe"]=flixel_input_FlxSwipe,flixel_input_FlxSwipe.__name__="flixel.input.FlxSwipe",flixel_input_FlxSwipe.prototype={ID:null,startPosition:null,endPosition:null,_startTimeInTicks:null,_endTimeInTicks:null,toString:function(){var e=this.ID,t=flixel_util_LabelValuePair._pool.get();t.label="ID",t.value=e;var e=this.startPosition,i=flixel_util_LabelValuePair._pool.get();i.label="start",i.value=e;var e=this.endPosition,l=flixel_util_LabelValuePair._pool.get();l.label="end",l.value=e;var n=this.startPosition.x-this.endPosition.x,s=this.startPosition.y-this.endPosition.y,e=Math.sqrt(n*n+s*s),a=flixel_util_LabelValuePair._pool.get();a.label="distance",a.value=e;var e=this.startPosition.angleBetween(this.endPosition),r=flixel_util_LabelValuePair._pool.get();r.label="angle",r.value=e;var e=(this._endTimeInTicks-this._startTimeInTicks)/1e3,_=flixel_util_LabelValuePair._pool.get();return _.label="duration",_.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,a,r,_])},get_distance:function(){var e=this.startPosition.x-this.endPosition.x,t=this.startPosition.y-this.endPosition.y;return Math.sqrt(e*e+t*t)},get_angle:function(){return this.startPosition.angleBetween(this.endPosition)},get_duration:function(){return(this._endTimeInTicks-this._startTimeInTicks)/1e3},__class__:flixel_input_FlxSwipe,__properties__:{get_duration:"get_duration",get_angle:"get_angle",get_distance:"get_distance"}};var flixel_input_actions_FlxAction=function(e,t){this.steamOriginsChanged=!1,this._checked=!1,this._timestamp=0,this._y=null,this._x=null,this.triggered=!1,this.steamHandle=-1,this.type=e,this.name=t,this.inputs=[]};$hxClasses["flixel.input.actions.FlxAction"]=flixel_input_actions_FlxAction,flixel_input_actions_FlxAction.__name__="flixel.input.actions.FlxAction",flixel_input_actions_FlxAction.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_actions_FlxAction.prototype={type:null,name:null,steamHandle:null,triggered:null,inputs:null,_x:null,_y:null,_timestamp:null,_checked:null,steamOriginsChanged:null,getFirstSteamOrigin:function(){return 0},getSteamOrigins:function(e){return e},removeAll:function(e){null==e&&(e=!0);for(var t=this.inputs.length,i=0,l=t;i<l;){var n=t-i++-1,s=this.inputs[n];this.remove(s,e),this.inputs.splice(n,1)}},remove:function(e,t){null==t&&(t=!1),null!=e&&(HxOverrides.remove(this.inputs,e),t&&e.destroy())},toString:function(){return"FlxAction("+Std.string(this.type)+") name:"+this.name},check:function(){if(this._x=null,this._y=null,this._timestamp==flixel_FlxG.game.ticks)return this.triggered=this._checked,this._checked;this._timestamp=flixel_FlxG.game.ticks,this._checked=!1;for(var e=null!=this.inputs?this.inputs.length:0,t=0,i=e;t<i;){var l=e-t++-1,n=this.inputs[l];n.destroyed?this.inputs.splice(l,1):(n.update(),n.check(this)&&(this._checked=!0))}return this.triggered=this._checked,this._checked},update:function(){this.check()},destroy:function(){flixel_util_FlxDestroyUtil.destroyArray(this.inputs),this.inputs=null},match:function(e){return this.name==e.name&&this.steamHandle==e.steamHandle},addGenericInput:function(e){return null==this.inputs&&(this.inputs=[]),this.checkExists(e)||this.inputs.push(e),this},checkExists:function(e){return null!=this.inputs&&-1!=this.inputs.indexOf(e)},__class__:flixel_input_actions_FlxAction};var flixel_input_actions_FlxActionDigital=function(e,t){null==e&&(e=""),flixel_input_actions_FlxAction.call(this,flixel_input_actions_FlxInputType.DIGITAL,e),this.callback=t};$hxClasses["flixel.input.actions.FlxActionDigital"]=flixel_input_actions_FlxActionDigital,flixel_input_actions_FlxActionDigital.__name__="flixel.input.actions.FlxActionDigital",flixel_input_actions_FlxActionDigital.__super__=flixel_input_actions_FlxAction,flixel_input_actions_FlxActionDigital.prototype=$extend(flixel_input_actions_FlxAction.prototype,{callback:null,add:function(e){return this.addGenericInput(e),this},addInput:function(e,t){return this.add(new flixel_input_actions_FlxActionInputDigitalIFlxInput(e,t))},addGamepad:function(e,t,i){return null==i&&(i=-2),this.add(new flixel_input_actions_FlxActionInputDigitalGamepad(e,t,i))},addKey:function(e,t){return this.add(new flixel_input_actions_FlxActionInputDigitalKeyboard(e,t))},addMouse:function(e,t){return this.add(new flixel_input_actions_FlxActionInputDigitalMouse(e,t))},addMouseWheel:function(e,t){return this.add(new flixel_input_actions_FlxActionInputDigitalMouseWheel(e,t))},destroy:function(){this.callback=null,flixel_input_actions_FlxAction.prototype.destroy.call(this)},check:function(){var e=flixel_input_actions_FlxAction.prototype.check.call(this);return e&&null!=this.callback&&this.callback(this),e},__class__:flixel_input_actions_FlxActionDigital});var flixel_input_actions_FlxActionAnalog=function(e,t){null==e&&(e=""),flixel_input_actions_FlxAction.call(this,flixel_input_actions_FlxInputType.ANALOG,e),this.callback=t};$hxClasses["flixel.input.actions.FlxActionAnalog"]=flixel_input_actions_FlxActionAnalog,flixel_input_actions_FlxActionAnalog.__name__="flixel.input.actions.FlxActionAnalog",flixel_input_actions_FlxActionAnalog.__super__=flixel_input_actions_FlxAction,flixel_input_actions_FlxActionAnalog.prototype=$extend(flixel_input_actions_FlxAction.prototype,{callback:null,add:function(e){return this.addGenericInput(e),this},addMouseClickAndDragMotion:function(e,t,i,l,n,s,a){return null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=.1),null==l&&(l=10),null==i&&(i=3),this.add(new flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion(e,t,i,l,n,s,a))},addMouseMotion:function(e,t,i,l,n,s){return null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=.1),null==i&&(i=10),null==t&&(t=3),this.add(new flixel_input_actions_FlxActionInputAnalogMouseMotion(e,t,i,l,n,s))},addMousePosition:function(e,t){return null==t&&(t=3),this.add(new flixel_input_actions_FlxActionInputAnalogMousePosition(e,t))},addGamepad:function(e,t,i,l){return null==l&&(l=-2),null==i&&(i=3),this.add(new flixel_input_actions_FlxActionInputAnalogGamepad(e,t,i,l))},update:function(){this._x=null,this._y=null,flixel_input_actions_FlxAction.prototype.update.call(this)},destroy:function(){this.callback=null,flixel_input_actions_FlxAction.prototype.destroy.call(this)},toString:function(){return"FlxAction("+Std.string(this.type)+") name:"+this.name+" x/y:"+this._x+","+this._y},check:function(){var e=flixel_input_actions_FlxAction.prototype.check.call(this);return e&&null!=this.callback&&this.callback(this),e},get_x:function(){return null!=this._x?this._x:0},get_y:function(){return null!=this._y?this._y:0},__class__:flixel_input_actions_FlxActionAnalog,__properties__:{get_y:"get_y",get_x:"get_x"}});var flixel_input_actions_FlxActionInput=function(e,t,i,l,n){null==n&&(n=-2),this.destroyed=!1,this.type=e,this.device=t,this.inputID=i,this.trigger=l,this.deviceID=n};$hxClasses["flixel.input.actions.FlxActionInput"]=flixel_input_actions_FlxActionInput,flixel_input_actions_FlxActionInput.__name__="flixel.input.actions.FlxActionInput",flixel_input_actions_FlxActionInput.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_actions_FlxActionInput.prototype={type:null,device:null,deviceID:null,destroyed:null,inputID:null,trigger:null,update:function(){},destroy:function(){this.destroyed=!0},check:function(e){return!1},compareState:function(e,t){switch(e){case-1:return-1==t;case 0:return 0==t||-1==t;case 1:return 1==t||2==t;case 2:return 2==t;default:return!1}},__class__:flixel_input_actions_FlxActionInput};var flixel_input_actions_FlxInputType=$hxEnums["flixel.input.actions.FlxInputType"]={__ename__:"flixel.input.actions.FlxInputType",__constructs__:["DIGITAL","ANALOG"],DIGITAL:{_hx_index:0,__enum__:"flixel.input.actions.FlxInputType",toString:$estr},ANALOG:{_hx_index:1,__enum__:"flixel.input.actions.FlxInputType",toString:$estr}},flixel_input_actions_FlxInputDevice=$hxEnums["flixel.input.actions.FlxInputDevice"]={__ename__:"flixel.input.actions.FlxInputDevice",__constructs__:["UNKNOWN","MOUSE","MOUSE_WHEEL","KEYBOARD","GAMEPAD","STEAM_CONTROLLER","IFLXINPUT_OBJECT","OTHER","ALL","NONE"],UNKNOWN:{_hx_index:0,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},MOUSE:{_hx_index:1,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},MOUSE_WHEEL:{_hx_index:2,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},KEYBOARD:{_hx_index:3,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},GAMEPAD:{_hx_index:4,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},STEAM_CONTROLLER:{_hx_index:5,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},IFLXINPUT_OBJECT:{_hx_index:6,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},OTHER:{_hx_index:7,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},ALL:{_hx_index:8,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr},NONE:{_hx_index:9,__enum__:"flixel.input.actions.FlxInputDevice",toString:$estr}},flixel_input_actions_FlxInputDeviceID=function(){};$hxClasses["flixel.input.actions.FlxInputDeviceID"]=flixel_input_actions_FlxInputDeviceID,flixel_input_actions_FlxInputDeviceID.__name__="flixel.input.actions.FlxInputDeviceID";var flixel_input_actions_FlxInputDeviceObject=function(e,t,i){null==i&&(i=""),this.device=e,this.id=t,this.model=i};$hxClasses["flixel.input.actions.FlxInputDeviceObject"]=flixel_input_actions_FlxInputDeviceObject,flixel_input_actions_FlxInputDeviceObject.__name__="flixel.input.actions.FlxInputDeviceObject",flixel_input_actions_FlxInputDeviceObject.prototype={device:null,id:null,model:null,toString:function(){return"{device:"+Std.string(this.device)+",id:"+this.id+",model:"+this.model+"}"},__class__:flixel_input_actions_FlxInputDeviceObject};var flixel_input_actions_FlxActionInputAnalog=function(e,t,i,l,n){null==n&&(n=-2),null==l&&(l=3),this.y=0,this.x=0,flixel_input_actions_FlxActionInput.call(this,flixel_input_actions_FlxInputType.ANALOG,e,t,i,n),this.axis=l,this.xMoved=new flixel_input_FlxInput(0),this.yMoved=new flixel_input_FlxInput(1)};$hxClasses["flixel.input.actions.FlxActionInputAnalog"]=flixel_input_actions_FlxActionInputAnalog,flixel_input_actions_FlxActionInputAnalog.__name__="flixel.input.actions.FlxActionInputAnalog",flixel_input_actions_FlxActionInputAnalog.__super__=flixel_input_actions_FlxActionInput,flixel_input_actions_FlxActionInputAnalog.prototype=$extend(flixel_input_actions_FlxActionInput.prototype,{axis:null,x:null,y:null,xMoved:null,yMoved:null,check:function(e){var t;switch(this.axis){case 0:l=this.xMoved.current;switch(this.trigger){case-1:t=-1==l;break;case 0:t=0==l||-1==l;break;case 1:t=1==l||2==l;break;case 2:t=2==l;break;default:t=!1}break;case 1:l=this.yMoved.current;switch(this.trigger){case-1:t=-1==l;break;case 0:t=0==l||-1==l;break;case 1:t=1==l||2==l;break;case 2:t=2==l;break;default:t=!1}break;case 2:var i,l=this.xMoved.current;switch(this.trigger){case-1:i=-1==l;break;case 0:i=0==l||-1==l;break;case 1:i=1==l||2==l;break;case 2:i=2==l;break;default:i=!1}if(i){l=this.yMoved.current;switch(this.trigger){case-1:t=-1==l;break;case 0:t=0==l||-1==l;break;case 1:t=1==l||2==l;break;case 2:t=2==l;break;default:t=!1}}else t=!1;break;case 3:switch(this.trigger){case-1:t=this.checkAxis(!0,-1)&&this.checkAxis(!1,0)||this.checkAxis(!0,0)&&this.checkAxis(!1,-1);break;case 0:t=this.checkAxis(!0,0)||this.checkAxis(!1,0);break;case 1:t=this.checkAxis(!0,1)||this.checkAxis(!1,1);break;case 2:t=this.checkAxis(!0,2)&&this.checkAxis(!1,2)||this.checkAxis(!0,2)&&this.checkAxis(!1,0)||this.checkAxis(!0,0)&&this.checkAxis(!1,2)}}return t&&(null==e._x&&(e._x=this.x),null==e._y&&(e._y=this.y)),t},checkAxis:function(e,t){var i=(e?this.xMoved:this.yMoved).current;switch(t){case-1:return-1==i;case 0:return 0==i||-1==i;case 1:return 1==i||2==i;case 2:return 2==i;default:return!1}},updateValues:function(e,t){0!=e?this.xMoved.press():this.xMoved.release(),0!=t?this.yMoved.press():this.yMoved.release(),this.x=e,this.y=t},__class__:flixel_input_actions_FlxActionInputAnalog});var flixel_input_actions_FlxActionInputAnalogMouseMotion=function(e,t,i,l,n,s){null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=.1),null==i&&(i=10),null==t&&(t=3),this.lastY=0,this.lastX=0,this.pixelsPerUnit=i,this.pixelsPerUnit<1&&(this.pixelsPerUnit=1),this.deadZone=l,this.invertX=s,this.invertY=n,flixel_input_actions_FlxActionInputAnalog.call(this,flixel_input_actions_FlxInputDevice.MOUSE,-1,e,t)};$hxClasses["flixel.input.actions.FlxActionInputAnalogMouseMotion"]=flixel_input_actions_FlxActionInputAnalogMouseMotion,flixel_input_actions_FlxActionInputAnalogMouseMotion.__name__="flixel.input.actions.FlxActionInputAnalogMouseMotion",flixel_input_actions_FlxActionInputAnalogMouseMotion.__super__=flixel_input_actions_FlxActionInputAnalog,flixel_input_actions_FlxActionInputAnalogMouseMotion.prototype=$extend(flixel_input_actions_FlxActionInputAnalog.prototype,{lastX:null,lastY:null,pixelsPerUnit:null,deadZone:null,invertX:null,invertY:null,update:function(){this.updateXYPosition(flixel_FlxG.mouse.x,flixel_FlxG.mouse.y)},updateXYPosition:function(e,t){var i=e-this.lastX,l=t-this.lastY;this.lastX=e,this.lastY=t,this.invertX&&(i*=-1),this.invertY&&(l*=-1),i/=this.pixelsPerUnit,l/=this.pixelsPerUnit,Math.abs(i)<this.deadZone&&(i=0),Math.abs(l)<this.deadZone&&(l=0),this.updateValues(i,l)},__class__:flixel_input_actions_FlxActionInputAnalogMouseMotion});var flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion=function(e,t,i,l,n,s,a){null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=.1),null==l&&(l=10),null==i&&(i=3),flixel_input_actions_FlxActionInputAnalogMouseMotion.call(this,t,i,l,n,s,a),this.button=e};$hxClasses["flixel.input.actions.FlxActionInputAnalogClickAndDragMouseMotion"]=flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion,flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion.__name__="flixel.input.actions.FlxActionInputAnalogClickAndDragMouseMotion",flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion.__super__=flixel_input_actions_FlxActionInputAnalogMouseMotion,flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion.prototype=$extend(flixel_input_actions_FlxActionInputAnalogMouseMotion.prototype,{button:null,updateValues:function(e,t){var i=!1;switch(this.button){case-3:i=1==(l=flixel_FlxG.mouse._rightButton).current||2==l.current;break;case-2:i=1==(l=flixel_FlxG.mouse._middleButton).current||2==l.current;break;case-1:var l=flixel_FlxG.mouse._leftButton;i=1==l.current||2==l.current}i||(e=0,t=0),flixel_input_actions_FlxActionInputAnalogMouseMotion.prototype.updateValues.call(this,e,t)},__class__:flixel_input_actions_FlxActionInputAnalogClickAndDragMouseMotion});var flixel_input_actions_FlxActionInputAnalogMousePosition=function(e,t){null==t&&(t=3),flixel_input_actions_FlxActionInputAnalog.call(this,flixel_input_actions_FlxInputDevice.MOUSE,-1,e,t)};$hxClasses["flixel.input.actions.FlxActionInputAnalogMousePosition"]=flixel_input_actions_FlxActionInputAnalogMousePosition,flixel_input_actions_FlxActionInputAnalogMousePosition.__name__="flixel.input.actions.FlxActionInputAnalogMousePosition",flixel_input_actions_FlxActionInputAnalogMousePosition.__super__=flixel_input_actions_FlxActionInputAnalog,flixel_input_actions_FlxActionInputAnalogMousePosition.prototype=$extend(flixel_input_actions_FlxActionInputAnalog.prototype,{update:function(){this.updateValues(flixel_FlxG.mouse.x,flixel_FlxG.mouse.y)},updateValues:function(e,t){e!=this.x?this.xMoved.press():this.xMoved.release(),t!=this.y?this.yMoved.press():this.yMoved.release(),this.x=e,this.y=t},__class__:flixel_input_actions_FlxActionInputAnalogMousePosition});var flixel_input_actions_FlxActionInputAnalogGamepad=function(e,t,i,l){null==l&&(l=-2),null==i&&(i=3),flixel_input_actions_FlxActionInputAnalog.call(this,flixel_input_actions_FlxInputDevice.GAMEPAD,e,t,i,l)};$hxClasses["flixel.input.actions.FlxActionInputAnalogGamepad"]=flixel_input_actions_FlxActionInputAnalogGamepad,flixel_input_actions_FlxActionInputAnalogGamepad.__name__="flixel.input.actions.FlxActionInputAnalogGamepad",flixel_input_actions_FlxActionInputAnalogGamepad.__super__=flixel_input_actions_FlxActionInputAnalog,flixel_input_actions_FlxActionInputAnalogGamepad.prototype=$extend(flixel_input_actions_FlxActionInputAnalog.prototype,{update:function(){if(-1!=this.deviceID){var e=null;if(-2==this.deviceID?e=flixel_FlxG.gamepads.getFirstActiveGamepad():this.deviceID>=0&&(e=flixel_FlxG.gamepads._activeGamepads[this.deviceID]),null!=e)switch(this.inputID){case 17:this.updateValues(e.analog.value.gamepad.getAxis(17),0);break;case 18:this.updateValues(e.analog.value.gamepad.getAxis(18),0);break;case 19:var t=(i=e.analog.value.gamepad).getAnalogXAxisValue(i.mapping.getAnalogStick(19)),i=e.analog.value.gamepad;this.updateValues(t,i.getYAxisRaw(i.mapping.getAnalogStick(19)));break;case 20:var t=(i=e.analog.value.gamepad).getAnalogXAxisValue(i.mapping.getAnalogStick(20)),i=e.analog.value.gamepad;this.updateValues(t,i.getYAxisRaw(i.mapping.getAnalogStick(20)));break;case 21:var l=13,n=(i=e.pressed).gamepad,s=i.status;switch(l){case-2:a=n.anyButton(s);break;case-1:a=!n.anyButton(s);break;default:_=n.mapping.getRawID(l);a=null!=(o=n.buttons[_])&&o.hasState(s)}if(a)t=-1;else{var l=14,n=(i=e.pressed).gamepad,s=i.status;switch(l){case-2:a=n.anyButton(s);break;case-1:a=!n.anyButton(s);break;default:_=n.mapping.getRawID(l);a=null!=(o=n.buttons[_])&&o.hasState(s)}t=a?1:0}var a,l=11,n=(i=e.pressed).gamepad,s=i.status;switch(l){case-2:r=n.anyButton(s);break;case-1:r=!n.anyButton(s);break;default:_=n.mapping.getRawID(l);r=null!=(o=n.buttons[_])&&o.hasState(s)}if(r)a=-1;else{var r,l=12,n=(i=e.pressed).gamepad,s=i.status;switch(l){case-2:r=n.anyButton(s);break;case-1:r=!n.anyButton(s);break;default:var _=n.mapping.getRawID(l),o=n.buttons[_];r=null!=o&&o.hasState(s)}a=r?1:0}this.updateValues(t,a);break;case 28:this.updateValues(e.analog.value.gamepad.getAxis(28),0);break;case 29:this.updateValues(e.analog.value.gamepad.getAxis(29),0)}else this.updateValues(0,0)}},__class__:flixel_input_actions_FlxActionInputAnalogGamepad});var flixel_input_actions_FlxActionInputAnalogSteam=function(e,t,i,l){null==l&&(l=-1),null==i&&(i=3),flixel_input_actions_FlxActionInputAnalog.call(this,flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e,t,i,l)};$hxClasses["flixel.input.actions.FlxActionInputAnalogSteam"]=flixel_input_actions_FlxActionInputAnalogSteam,flixel_input_actions_FlxActionInputAnalogSteam.__name__="flixel.input.actions.FlxActionInputAnalogSteam",flixel_input_actions_FlxActionInputAnalogSteam.__super__=flixel_input_actions_FlxActionInputAnalog,flixel_input_actions_FlxActionInputAnalogSteam.prototype=$extend(flixel_input_actions_FlxActionInputAnalog.prototype,{update:function(){},__class__:flixel_input_actions_FlxActionInputAnalogSteam});var flixel_input_actions_FlxActionInputDigital=function(e,t,i,l){null==l&&(l=-2),flixel_input_actions_FlxActionInput.call(this,flixel_input_actions_FlxInputType.DIGITAL,e,t,i,l),this.inputID=t};$hxClasses["flixel.input.actions.FlxActionInputDigital"]=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigital.__name__="flixel.input.actions.FlxActionInputDigital",flixel_input_actions_FlxActionInputDigital.__super__=flixel_input_actions_FlxActionInput,flixel_input_actions_FlxActionInputDigital.prototype=$extend(flixel_input_actions_FlxActionInput.prototype,{__class__:flixel_input_actions_FlxActionInputDigital});var flixel_input_actions_FlxActionInputDigitalMouseWheel=function(e,t){this.sign=0,flixel_input_actions_FlxActionInputDigital.call(this,flixel_input_actions_FlxInputDevice.MOUSE_WHEEL,0,t),this.input=new flixel_input_FlxInput(0),this.sign=e?1:-1};$hxClasses["flixel.input.actions.FlxActionInputDigitalMouseWheel"]=flixel_input_actions_FlxActionInputDigitalMouseWheel,flixel_input_actions_FlxActionInputDigitalMouseWheel.__name__="flixel.input.actions.FlxActionInputDigitalMouseWheel",flixel_input_actions_FlxActionInputDigitalMouseWheel.__super__=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigitalMouseWheel.prototype=$extend(flixel_input_actions_FlxActionInputDigital.prototype,{input:null,sign:null,check:function(e){switch(this.trigger){case-1:return-1==this.input.current;case 0:return 0==(t=this.input).current||-1==t.current||-1==this.input.current;case 1:var t=this.input;return 1==t.current||2==t.current||2==this.input.current;case 2:return 2==this.input.current;default:return!1}},update:function(){flixel_input_actions_FlxActionInputDigital.prototype.update.call(this),flixel_FlxG.mouse.wheel*this.sign>0?this.input.press():this.input.release()},__class__:flixel_input_actions_FlxActionInputDigitalMouseWheel});var flixel_input_actions_FlxActionInputDigitalGamepad=function(e,t,i){null==i&&(i=-2),flixel_input_actions_FlxActionInputDigital.call(this,flixel_input_actions_FlxInputDevice.GAMEPAD,e,t,i),this.input=new flixel_input_FlxInput(e)};$hxClasses["flixel.input.actions.FlxActionInputDigitalGamepad"]=flixel_input_actions_FlxActionInputDigitalGamepad,flixel_input_actions_FlxActionInputDigitalGamepad.__name__="flixel.input.actions.FlxActionInputDigitalGamepad",flixel_input_actions_FlxActionInputDigitalGamepad.__super__=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigitalGamepad.prototype=$extend(flixel_input_actions_FlxActionInputDigital.prototype,{input:null,toString:function(){return"FlxActionInputDigitalGamepad{inputID:"+this.inputID+",trigger:"+this.trigger+",deviceID:"+this.deviceID+",device:"+Std.string(this.device)+",type:"+Std.string(this.type)+"}"},update:function(){if(flixel_input_actions_FlxActionInputDigital.prototype.update.call(this),-1==this.deviceID)flixel_FlxG.gamepads.anyHasState(this.inputID,1)||flixel_FlxG.gamepads.anyHasState(this.inputID,2)?this.input.press():this.input.release();else{var e=null;if(-2==this.deviceID?e=flixel_FlxG.gamepads.getFirstActiveGamepad():this.deviceID>=0&&(e=flixel_FlxG.gamepads._activeGamepads[this.deviceID]),null!=e)if(-2==this.inputID&&0==this.trigger)e.released.get_ANY()?this.input.release():this.input.press();else{var t,i,l=this.inputID,n=1;switch(l){case-2:i=e.anyButton(n);break;case-1:i=!e.anyButton(n);break;default:s=e.mapping.getRawID(l);i=null!=(a=e.buttons[s])&&a.hasState(n)}if(i)t=!0;else{n=2;switch(l=this.inputID){case-2:t=e.anyButton(n);break;case-1:t=!e.anyButton(n);break;default:var s=e.mapping.getRawID(l),a=e.buttons[s];t=null!=a&&a.hasState(n)}}t?this.input.press():this.input.release()}else-2==this.deviceID&&this.input.release()}},check:function(e){switch(this.trigger){case-1:return-1==this.input.current;case 0:return 0==(t=this.input).current||-1==t.current||-1==this.input.current;case 1:var t=this.input;return 1==t.current||2==t.current||2==this.input.current;case 2:return 2==this.input.current;default:return!1}},__class__:flixel_input_actions_FlxActionInputDigitalGamepad});var flixel_input_actions_FlxActionInputDigitalKeyboard=function(e,t){flixel_input_actions_FlxActionInputDigital.call(this,flixel_input_actions_FlxInputDevice.KEYBOARD,e,t)};$hxClasses["flixel.input.actions.FlxActionInputDigitalKeyboard"]=flixel_input_actions_FlxActionInputDigitalKeyboard,flixel_input_actions_FlxActionInputDigitalKeyboard.__name__="flixel.input.actions.FlxActionInputDigitalKeyboard",flixel_input_actions_FlxActionInputDigitalKeyboard.__super__=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigitalKeyboard.prototype=$extend(flixel_input_actions_FlxActionInputDigital.prototype,{check:function(e){switch(this.trigger){case-1:return flixel_FlxG.keys.checkStatus(this.inputID,-1);case 0:return!!flixel_FlxG.keys.checkStatus(this.inputID,0)||flixel_FlxG.keys.checkStatus(this.inputID,-1);case 1:return!!flixel_FlxG.keys.checkStatus(this.inputID,1)||flixel_FlxG.keys.checkStatus(this.inputID,2);case 2:return flixel_FlxG.keys.checkStatus(this.inputID,2);default:return!1}},__class__:flixel_input_actions_FlxActionInputDigitalKeyboard});var flixel_input_actions_FlxActionInputDigitalMouse=function(e,t){flixel_input_actions_FlxActionInputDigital.call(this,flixel_input_actions_FlxInputDevice.MOUSE,e,t)};$hxClasses["flixel.input.actions.FlxActionInputDigitalMouse"]=flixel_input_actions_FlxActionInputDigitalMouse,flixel_input_actions_FlxActionInputDigitalMouse.__name__="flixel.input.actions.FlxActionInputDigitalMouse",flixel_input_actions_FlxActionInputDigitalMouse.__super__=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigitalMouse.prototype=$extend(flixel_input_actions_FlxActionInputDigital.prototype,{check:function(e){switch(this.inputID){case-3:switch(this.trigger){case-1:return-1==flixel_FlxG.mouse._rightButton.current;case 0:return 1!=(t=flixel_FlxG.mouse._rightButton).current&&2!=t.current||-1==flixel_FlxG.mouse._rightButton.current;case 1:return 1==(t=flixel_FlxG.mouse._rightButton).current||2==t.current||2==flixel_FlxG.mouse._rightButton.current;case 2:return 2==flixel_FlxG.mouse._rightButton.current}break;case-2:switch(this.trigger){case-1:return-1==flixel_FlxG.mouse._middleButton.current;case 0:return 1!=(t=flixel_FlxG.mouse._middleButton).current&&2!=t.current||-1==flixel_FlxG.mouse._middleButton.current;case 1:return 1==(t=flixel_FlxG.mouse._middleButton).current||2==t.current||2==flixel_FlxG.mouse._middleButton.current;case 2:return 2==flixel_FlxG.mouse._middleButton.current}break;case-1:switch(this.trigger){case-1:return-1==flixel_FlxG.mouse._leftButton.current;case 0:return 1!=(t=flixel_FlxG.mouse._leftButton).current&&2!=t.current||-1==flixel_FlxG.mouse._leftButton.current;case 1:var t=flixel_FlxG.mouse._leftButton;return 1==t.current||2==t.current||2==flixel_FlxG.mouse._leftButton.current;case 2:return 2==flixel_FlxG.mouse._leftButton.current}break;default:return!1}},__class__:flixel_input_actions_FlxActionInputDigitalMouse});var flixel_input_actions_FlxActionInputDigitalSteam=function(e,t,i){null==i&&(i=-2),flixel_input_actions_FlxActionInputDigital.call(this,flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e,t,i)};$hxClasses["flixel.input.actions.FlxActionInputDigitalSteam"]=flixel_input_actions_FlxActionInputDigitalSteam,flixel_input_actions_FlxActionInputDigitalSteam.__name__="flixel.input.actions.FlxActionInputDigitalSteam",flixel_input_actions_FlxActionInputDigitalSteam.__super__=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigitalSteam.prototype=$extend(flixel_input_actions_FlxActionInputDigital.prototype,{steamInput:null,check:function(e){switch(this.trigger){case-1:return-1==this.steamInput.current;case 0:return 0!=(t=this.steamInput).current&&-1!=t.current||-1==this.steamInput.current;case 1:var t=this.steamInput;return 1==t.current||2==t.current||2==this.steamInput.current;case 2:return 2==this.steamInput.current}},update:function(){var e=this.deviceID;-2==e&&(e=flixel_input_actions_FlxSteamController.getFirstActiveHandle());var t=flixel_input_actions_FlxSteamController.getDigitalActionData(e,this.inputID);t.bActive&&t.bState?this.steamInput.press():this.steamInput.release()},getSteamControllerData:function(e){-2==e&&(e=flixel_input_actions_FlxSteamController.getFirstActiveHandle());var t=flixel_input_actions_FlxSteamController.getDigitalActionData(e,this.inputID);return!!t.bActive&&t.bState},__class__:flixel_input_actions_FlxActionInputDigitalSteam});var flixel_input_actions_FlxActionInputDigitalIFlxInput=function(e,t){flixel_input_actions_FlxActionInputDigital.call(this,flixel_input_actions_FlxInputDevice.IFLXINPUT_OBJECT,0,t),this.input=e};$hxClasses["flixel.input.actions.FlxActionInputDigitalIFlxInput"]=flixel_input_actions_FlxActionInputDigitalIFlxInput,flixel_input_actions_FlxActionInputDigitalIFlxInput.__name__="flixel.input.actions.FlxActionInputDigitalIFlxInput",flixel_input_actions_FlxActionInputDigitalIFlxInput.__super__=flixel_input_actions_FlxActionInputDigital,flixel_input_actions_FlxActionInputDigitalIFlxInput.prototype=$extend(flixel_input_actions_FlxActionInputDigital.prototype,{input:null,check:function(e){switch(this.trigger){case-1:return this.input.get_justReleased();case 0:return!this.input.get_pressed()||this.input.get_justReleased();case 1:return!!this.input.get_pressed()||this.input.get_justPressed();case 2:return this.input.get_justPressed();default:return!1}},destroy:function(){flixel_input_actions_FlxActionInputDigital.prototype.destroy.call(this),this.input=null},__class__:flixel_input_actions_FlxActionInputDigitalIFlxInput});var flixel_input_actions_FlxActionManager=function(){this.resetOnStateSwitch=flixel_input_actions_ResetPolicy.DEFAULT_SET_ONLY,this.defaultSet=null,this.sets=[],this.register=new flixel_input_actions__$FlxActionManager_ActionSetRegister,this.deviceConnected=new flixel_util__$FlxSignal_FlxSignal3,this.deviceDisconnected=new flixel_util__$FlxSignal_FlxSignal3,this.inputsChanged=new flixel_util__$FlxSignal_FlxSignal1,flixel_FlxG.gamepads.deviceConnected.add($bind(this,this.onDeviceConnected)),flixel_FlxG.gamepads.deviceDisconnected.add($bind(this,this.onDeviceDisconnected)),flixel_input_actions_FlxSteamController.onControllerConnect=$bind(this,this.updateSteamControllers),flixel_input_actions_FlxSteamController.onOriginUpdate=$bind(this,this.updateSteamOrigins),flixel_FlxG.signals.preStateSwitch.add($bind(this,this.onStateSwitched))};$hxClasses["flixel.input.actions.FlxActionManager"]=flixel_input_actions_FlxActionManager,flixel_input_actions_FlxActionManager.__name__="flixel.input.actions.FlxActionManager",flixel_input_actions_FlxActionManager.__interfaces__=[flixel_util_IFlxDestroyable,flixel_input_IFlxInputManager],flixel_input_actions_FlxActionManager.prototype={sets:null,register:null,defaultSet:null,deviceDisconnected:null,deviceConnected:null,inputsChanged:null,resetOnStateSwitch:null,activateSet:function(e,t,i){this.register.activate(e,t,i),this.onChange()},addActions:function(e,t){null==t&&(t=0);for(var i=!0,l=0;l<e.length;){var n=e[l];++l,this.addAction(n)||(i=!1)}return i},addAction:function(e,t){null==t&&(t=0);var i=!1;if(null==this.sets&&(this.sets=[]),0==this.sets.length){this.defaultSet=new flixel_input_actions_FlxActionSet("default");var l=this.addSet(this.defaultSet);this.activateSet(l,flixel_input_actions_FlxInputDevice.ALL,-1)}return t>=0&&t<this.sets.length&&(i=this.sets[t].add(e)),this.onChange(),i},addSet:function(e){return-1!=this.sets.indexOf(e)?-1:(this.sets.push(e),this.onChange(),this.sets.length-1)},deactivateSet:function(e,t){null==t&&(t=-1),this.register.activate(e,flixel_input_actions_FlxInputDevice.NONE,t),this.onChange()},destroy:function(){this.sets=flixel_util_FlxDestroyUtil.destroyArray(this.sets),this.register=flixel_util_FlxDestroyUtil.destroy(this.register)},getSetIndex:function(e){for(var t=0,i=this.sets.length;t<i;){var l=t++;if(this.sets[l].name==e)return l}return-1},getSetName:function(e){return e>=0&&e<this.sets.length?this.sets[e].name:""},getSet:function(e){return e>=0&&e<this.sets.length?this.sets[e]:null},getSetActivatedForDevice:function(e,t){null==t&&(t=-1);var i=-1,l=-1;switch(e._hx_index){case 1:l=this.register.mouseSet;break;case 3:l=this.register.keyboardSet;break;case 4:switch(t){case-3:l=-1;break;case-2:i=flixel_FlxG.gamepads.getFirstActiveGamepadID();break;case-1:l=this.register.gamepadAllSet;break;default:-1!=this.register.gamepadAllSet?l=this.register.gamepadAllSet:i=t}i>=0&&i<this.register.gamepadSets.length&&(l=this.register.gamepadSets[i]);break;case 5:switch(t){case-3:l=-1;break;case-1:l=this.register.steamControllerAllSet;break;default:-1!=this.register.steamControllerAllSet?l=this.register.steamControllerAllSet:i=t}i>=0&&i<this.register.steamControllerSets.length&&(l=this.register.steamControllerSets[i]);break;case 8:-1==t&&(l=this.register.gamepadAllSet);break;default:l=-1}return l>=0&&l<this.sets.length?this.sets[l]:null},initFromJson:function(e,t,i){if(null==e)return 0;var l=0,n=e.actionSets;if(null==n)return 0;for(var s=0;s<n.length;){var a=n[s];++s,-1!=this.addSet(flixel_input_actions_FlxActionSet.fromJson(a,t,i))&&++l}return this.onChange(),l},exportToJson:function(){return JSON.stringify({actionSets:this.sets},function(e,t){if(t instanceof flixel_input_actions_FlxAction)return t.name;if(t instanceof flixel_input_actions_FlxActionSet){var i=t;return{name:i.name,digitalActions:i.digitalActions,analogActions:i.analogActions}}return t},"\t")},removeSet:function(e,t){null==t&&(t=!0);var i=HxOverrides.remove(this.sets,e);return i&&(t&&flixel_util_FlxDestroyUtil.destroy(e),this.onChange()),i},removeAction:function(e,t){var i=!1;return t>=0&&t<this.sets.length&&(i=this.sets[t].remove(e)),this.onChange(),i},reset:function(){},get_numSets:function(){return this.sets.length},onChange:function(){this.register.markActiveSets(this.sets)},onDeviceConnected:function(e){this.deviceConnected.dispatch(flixel_input_actions_FlxInputDevice.GAMEPAD,e.id,Std.string(e.model).toLowerCase())},onDeviceDisconnected:function(e){if(null!=e){var t=this.getSetActivatedForDevice(flixel_input_actions_FlxInputDevice.GAMEPAD,e.id);if(null!=t&&t.active){var i=e.id,l=null!=e.model?Std.string(e.model).toLowerCase():"";this.deviceDisconnected.dispatch(flixel_input_actions_FlxInputDevice.GAMEPAD,i,l)}}},onFocus:function(){},onFocusLost:function(){},onStateSwitched:function(){switch(this.resetOnStateSwitch._hx_index){case 1:for(;this.sets.length>0;)this.removeSet(this.getSet(0),!0);this.defaultSet=null;break;case 2:null!=this.defaultSet&&this.removeSet(this.defaultSet,!0),this.defaultSet=null}},onSteamConnected:function(e){var t=this.register.steamControllerAllSet;if(-1!=t)this.activateSet(t,flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,-1);else{var i=this.getSetActivatedForDevice(flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e);null!=i&&i.active&&this.activateSet(this.getSetIndex(i.name),flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e)}this.deviceConnected.dispatch(flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e,"")},onSteamDisconnected:function(e){if(e>=0){var t=this.getSetActivatedForDevice(flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e);null!=t&&t.active&&this.deviceDisconnected.dispatch(flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e,"")}},updateSteamControllers:function(){},updateSteamOrigins:function(){},update:function(){this.register.update(this.sets)},__class__:flixel_input_actions_FlxActionManager,__properties__:{get_numSets:"get_numSets"}};var flixel_input_actions__$FlxActionManager_ActionSetRegister=function(){this.steamControllerAllSet=-1,this.gamepadAllSet=-1,this.keyboardSet=-1,this.mouseSet=-1,flixel_input_actions_FlxSteamController.init(),this.gamepadSets=[],this.steamControllerSets=[]};$hxClasses["flixel.input.actions._FlxActionManager.ActionSetRegister"]=flixel_input_actions__$FlxActionManager_ActionSetRegister,flixel_input_actions__$FlxActionManager_ActionSetRegister.__name__="flixel.input.actions._FlxActionManager.ActionSetRegister",flixel_input_actions__$FlxActionManager_ActionSetRegister.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_actions__$FlxActionManager_ActionSetRegister.prototype={mouseSet:null,keyboardSet:null,gamepadAllSet:null,steamControllerAllSet:null,gamepadSets:null,steamControllerSets:null,destroy:function(){this.gamepadSets=null,this.steamControllerSets=null},activate:function(e,t,i){null==i&&(i=-2),this.setActivate(e,t,i)},markActiveSets:function(e){for(var t=0,i=e.length;t<i;)e[t++].active=!1;this.syncDevice(flixel_input_actions_FlxInputDevice.MOUSE,e),this.syncDevice(flixel_input_actions_FlxInputDevice.KEYBOARD,e),this.syncDevice(flixel_input_actions_FlxInputDevice.GAMEPAD,e),this.syncDevice(flixel_input_actions_FlxInputDevice.STEAM_CONTROLLER,e)},update:function(e){for(var t=0,i=e.length;t<i;)e[t++].update()},updateSteam:function(e){},setActivate:function(e,t,i,l){switch(null==l&&(l=!0),null==i&&(i=-2),t._hx_index){case 1:this.mouseSet=l?e:-1;break;case 3:this.keyboardSet=l?e:-1;break;case 4:switch(i){case-3:this.clearSetFromArray(e,this.gamepadSets);break;case-2:this.gamepadSets[flixel_FlxG.gamepads.getFirstActiveGamepadID()]=l?e:-1;break;case-1:this.clearSetFromArray(-1,this.gamepadSets),this.gamepadAllSet=l?e:-1;break;default:this.gamepadSets[i]=l?e:-1}break;case 5:switch(i){case-3:this.clearSetFromArray(e,this.steamControllerSets);break;case-2:this.steamControllerSets[flixel_input_actions_FlxSteamController.getFirstActiveHandle()]=l?e:-1;break;case-1:this.steamControllerAllSet=l?e:-1,this.clearSetFromArray(-1,this.steamControllerSets);break;default:this.steamControllerSets[i]=l?e:-1}break;case 8:this.setActivate(e,flixel_input_actions_FlxInputDevice.MOUSE,i,l),this.setActivate(e,flixel_input_actions_FlxInputDevice.KEYBOARD,i,l),this.setActivate(e,flixel_input_actions_FlxInputDevice.GAMEPAD,i,l);break;case 9:this.setActivate(e,flixel_input_actions_FlxInputDevice.ALL,i,!1)}},updateSteamOrigins:function(e){return[]},updateDigitalActionOrigins:function(e,t,i){},updateAnalogActionOrigins:function(e,t,i){},cheapChecksum:function(e){var t=0,i=0;if(null!=e)for(var l=0;l<e.length;){var n=e[l];++l,i=(i+(t=(t+n)%255))%255}return i<<8|t},updateSteamInputs:function(e){},changeSteamControllerActionSet:function(e,t,i){var l=flixel_input_actions_FlxSteamController.getCurrentActionSet(e);l!=t&&null!=i&&(-1!=l&&l<i.length&&i[l].attachSteamController(e,!1),i[t].attachSteamController(e))},syncDevice:function(e,t){switch(e._hx_index){case 1:this.mouseSet>=0&&this.mouseSet<t.length&&(t[this.mouseSet].active=!0);break;case 3:this.keyboardSet>=0&&this.keyboardSet<t.length&&(t[this.keyboardSet].active=!0);break;case 4:if(this.gamepadAllSet>=0&&this.gamepadAllSet<t.length)t[this.gamepadAllSet].active=!0;else for(var i=0,l=this.gamepadSets.length;i<l;){var n=i++,s=this.gamepadSets[n];s>=0&&s<t.length&&(t[s].active=!0)}break;case 5:if(this.updateSteamInputs(t),this.steamControllerAllSet>=0&&this.steamControllerAllSet<t.length)t[this.steamControllerAllSet].active=!0;else for(var i=0,l=this.steamControllerSets.length;i<l;){var n=i++,a=this.steamControllerSets[n];a>=0&&a<t.length&&(t[a].active=!0)}}},clearSetFromArray:function(e,t){null==e&&(e=-1);for(var i=0,l=t.length;i<l;){var n=i++;-1!=e&&t[n]!=e||(t[n]=-1)}},__class__:flixel_input_actions__$FlxActionManager_ActionSetRegister};var flixel_input_actions_ResetPolicy=$hxEnums["flixel.input.actions.ResetPolicy"]={__ename__:"flixel.input.actions.ResetPolicy",__constructs__:["NONE","ALL_SETS","DEFAULT_SET_ONLY"],NONE:{_hx_index:0,__enum__:"flixel.input.actions.ResetPolicy",toString:$estr},ALL_SETS:{_hx_index:1,__enum__:"flixel.input.actions.ResetPolicy",toString:$estr},DEFAULT_SET_ONLY:{_hx_index:2,__enum__:"flixel.input.actions.ResetPolicy",toString:$estr}},flixel_input_actions_FlxSteamController=function(){};$hxClasses["flixel.input.actions.FlxSteamController"]=flixel_input_actions_FlxSteamController,flixel_input_actions_FlxSteamController.__name__="flixel.input.actions.FlxSteamController",flixel_input_actions_FlxSteamController.__properties__={get_MAX_ORIGINS:"get_MAX_ORIGINS",get_MAX_CONTROLLERS:"get_MAX_CONTROLLERS"},flixel_input_actions_FlxSteamController.controllers=null,flixel_input_actions_FlxSteamController.get_MAX_CONTROLLERS=function(){return 0},flixel_input_actions_FlxSteamController.get_MAX_ORIGINS=function(){return 0},flixel_input_actions_FlxSteamController.clear=function(){},flixel_input_actions_FlxSteamController.init=function(){flixel_input_actions_FlxSteamController.controllers=[]},flixel_input_actions_FlxSteamController.getActionSetHandle=function(e){return-1},flixel_input_actions_FlxSteamController.getCurrentActionSet=function(e){return-1},flixel_input_actions_FlxSteamController.activateActionSet=function(e,t){},flixel_input_actions_FlxSteamController.getFirstActiveHandle=function(){return-1},flixel_input_actions_FlxSteamController.getConnectedControllers=function(){return[]},flixel_input_actions_FlxSteamController.getAnalogActionData=function(e,t,i){return null},flixel_input_actions_FlxSteamController.getDigitalActionData=function(e,t){return new flixel_input_actions__$FlxSteamController_DigitalActionData(!1,!1)},flixel_input_actions_FlxSteamController.getAnalogActionHandle=function(e){return-1},flixel_input_actions_FlxSteamController.getDigitalActionHandle=function(e){return-1};var flixel_input_actions__$FlxSteamController_DigitalActionData=function(e,t){this.bActive=e,this.bState=t};$hxClasses["flixel.input.actions._FlxSteamController.DigitalActionData"]=flixel_input_actions__$FlxSteamController_DigitalActionData,flixel_input_actions__$FlxSteamController_DigitalActionData.__name__="flixel.input.actions._FlxSteamController.DigitalActionData",flixel_input_actions__$FlxSteamController_DigitalActionData.prototype={bActive:null,bState:null,__class__:flixel_input_actions__$FlxSteamController_DigitalActionData};var flixel_input_actions__$FlxSteamController_FlxSteamControllerMetadata=function(){this.connected=new flixel_input_FlxInput(0),this.active=!1,this.actionSet=-1,this.handle=-1};$hxClasses["flixel.input.actions._FlxSteamController.FlxSteamControllerMetadata"]=flixel_input_actions__$FlxSteamController_FlxSteamControllerMetadata,flixel_input_actions__$FlxSteamController_FlxSteamControllerMetadata.__name__="flixel.input.actions._FlxSteamController.FlxSteamControllerMetadata",flixel_input_actions__$FlxSteamController_FlxSteamControllerMetadata.prototype={handle:null,actionSet:null,active:null,connected:null,__class__:flixel_input_actions__$FlxSteamController_FlxSteamControllerMetadata};var flixel_input_actions__$FlxSteamController_FlxSteamUpdater=function(){this.originTime=0,this.controllerTime=0};$hxClasses["flixel.input.actions._FlxSteamController.FlxSteamUpdater"]=flixel_input_actions__$FlxSteamController_FlxSteamUpdater,flixel_input_actions__$FlxSteamController_FlxSteamUpdater.__name__="flixel.input.actions._FlxSteamController.FlxSteamUpdater",flixel_input_actions__$FlxSteamController_FlxSteamUpdater.__interfaces__=[flixel_input_IFlxInputManager],flixel_input_actions__$FlxSteamController_FlxSteamUpdater.prototype={controllerTime:null,originTime:null,destroy:function(){},reset:function(){},update:function(){},onFocus:function(){},onFocusLost:function(){},__class__:flixel_input_actions__$FlxSteamController_FlxSteamUpdater};var flixel_input_gamepad_FlxGamepad=function(e,t,i,l){this.buttons=[],this._deadZone=.15,this.axisActive=!1;var n=[];n.push(0),n.push(0),n.push(0),n.push(0),n.push(0),n.push(0),this.axis=n,this.deadZoneMode=flixel_input_gamepad_FlxGamepadDeadZoneMode.INDEPENDENT_AXES,this.connected=!0,this.id=e,this.manager=t,this.pressed=new flixel_input_gamepad_lists_FlxGamepadButtonList(1,this),this.released=new flixel_input_gamepad_lists_FlxGamepadButtonList(0,this),this.justPressed=new flixel_input_gamepad_lists_FlxGamepadButtonList(2,this),this.justReleased=new flixel_input_gamepad_lists_FlxGamepadButtonList(-1,this),this.analog=new flixel_input_gamepad_lists_FlxGamepadAnalogList(this),this.motion=new flixel_input_gamepad_lists_FlxGamepadMotionValueList(this),this.pointer=new flixel_input_gamepad_lists_FlxGamepadPointerValueList(this),null==i&&(i=flixel_input_gamepad_FlxGamepadModel.XINPUT),null==l&&(l=flixel_input_gamepad_FlxGamepadAttachment.NONE),this.set_model(i),this.detectedModel=i};$hxClasses["flixel.input.gamepad.FlxGamepad"]=flixel_input_gamepad_FlxGamepad,flixel_input_gamepad_FlxGamepad.__name__="flixel.input.gamepad.FlxGamepad",flixel_input_gamepad_FlxGamepad.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_gamepad_FlxGamepad.prototype={id:null,model:null,detectedModel:null,mapping:null,connected:null,attachment:null,deadZoneMode:null,pressed:null,released:null,justPressed:null,justReleased:null,analog:null,motion:null,pointer:null,axis:null,axisActive:null,manager:null,_deadZone:null,_device:null,buttons:null,getButton:function(e){if(-1==e)return null;var t=this.buttons[e];return null==t&&(t=new flixel_input_gamepad_FlxGamepadButton(e),this.buttons[e]=t),t},applyAxisFlip:function(e,t){return this.mapping.isAxisFlipped(t)&&(e*=-1),e},update:function(){var e;if(null!=this._device){for(var t=0,i=this._device.get_numControls();t<i;){var l=t++;e=this._device.getControlAt(l),s=this.getButton(l),this.isAxisForAnalogStick(l)&&this.handleAxisMove(l,e.value,s.value),s.value=e.value;var n=Math.abs(e.value);n<this.get_deadZone()?s.release():n>this.get_deadZone()&&s.press()}for(var t=0,i=this.buttons;t<i.length;){var s=i[t];++t,null!=s&&s.update()}}},reset:function(){for(var e=0,t=this.buttons;e<t.length;){var i=t[e];++e,null!=i&&i.reset()}for(var e=0,t=this.axis.length;e<t;){var l=e++;this.axis[l]=0}},destroy:function(){this.connected=!1,this.buttons=null,this.axis=null,this.manager=null},checkStatus:function(e,t){switch(e){case-2:return this.anyButton(t);case-1:return!this.anyButton(t);default:var i=this.mapping.getRawID(e),l=this.buttons[i];return null!=l&&l.hasState(t)}},checkStatusRaw:function(e,t){var i=this.buttons[e];return null!=i&&i.hasState(t)},checkButtonArrayState:function(e,t){if(null==e)return!1;for(var i=0;i<e.length;){var l=e[i];++i;var n;switch(l){case-2:n=this.anyButton(t);break;case-1:n=!this.anyButton(t);break;default:var s=this.mapping.getRawID(l),a=this.buttons[s];n=null!=a&&a.hasState(t)}if(n)return!0}return!1},checkButtonArrayStateRaw:function(e,t){if(null==e)return!1;for(var i=0;i<e.length;){var l=e[i];++i;var n=this.buttons[l];if(null!=n&&n.hasState(t))return!0}return!1},anyPressed:function(e){return this.checkButtonArrayState(e,1)},anyPressedRaw:function(e){return this.checkButtonArrayStateRaw(e,1)},anyJustPressed:function(e){return this.checkButtonArrayState(e,2)},anyJustPressedRaw:function(e){return this.checkButtonArrayStateRaw(e,2)},anyJustReleased:function(e){return this.checkButtonArrayState(e,-1)},anyJustReleasedRaw:function(e){return this.checkButtonArrayStateRaw(e,-1)},firstPressedID:function(){return this.mapping.getID(this.firstPressedRawID())},firstPressedRawID:function(){for(var e=0,t=this.buttons;e<t.length;){var i=t[e];if(++e,null!=i&&(0==i.current||-1==i.current))return i.ID}return-1},firstJustPressedID:function(){return this.mapping.getID(this.firstJustPressedRawID())},firstJustPressedRawID:function(){for(var e=0,t=this.buttons;e<t.length;){var i=t[e];if(++e,null!=i&&2==i.current)return i.ID}return-1},firstJustReleasedID:function(){return this.mapping.getID(this.firstJustReleasedRawID())},firstJustReleasedRawID:function(){for(var e=0,t=this.buttons;e<t.length;){var i=t[e];if(++e,null!=i&&-1==i.current)return i.ID}return-1},getAxis:function(e){var t=this.getAxisValue(this.mapping.getRawID(e));return Math.abs(t)>this.get_deadZone()?t:0},getAxisRaw:function(e){var t=this.getAxisValue(e);return Math.abs(t)>this.get_deadZone()?t:0},isAxisForAnalogStick:function(e){var t=this.mapping.leftStick,i=this.mapping.rightStick;return null!=t&&(e==t.x||e==t.y)||null!=i&&(e==i.x||e==i.y)},getAnalogStickByAxis:function(e){var t=this.mapping.leftStick,i=this.mapping.rightStick;return null!=t&&e==t.x||e==t.y?t:null!=i&&e==i.x||e==i.y?i:null},getXAxis:function(e){return this.getAnalogXAxisValue(this.mapping.getAnalogStick(e))},getXAxisRaw:function(e){return this.getAnalogXAxisValue(e)},getYAxis:function(e){return this.getYAxisRaw(this.mapping.getAnalogStick(e))},getYAxisRaw:function(e){return this.getAnalogYAxisValue(e)},getAnalogAxes:function(e){var t=this.getAnalogXAxisValue(this.mapping.getAnalogStick(e)),i=this.getYAxisRaw(this.mapping.getAnalogStick(e));null==i&&(i=0),null==t&&(t=0);var l=t,n=i;null==n&&(n=0),null==l&&(l=0);var s=flixel_math_FlxPoint._pool.get().set(l,n);return s._inPool=!1,s},anyButton:function(e){null==e&&(e=1);for(var t=0,i=this.buttons;t<i.length;){var l=i[t];if(++t,null!=l&&l.hasState(e))return!0}return!1},anyInput:function(){if(this.anyButton())return!0;for(var e=0,t=this.axis.length;e<t;){e++;if(0!=this.axis[0])return!0}return!1},getAxisValue:function(e){var t=0;if(-1==e)return 0;var i;if(null!=this._device&&this._device.enabled){var l=this._device.get_numControls()-1;i=e>=0&&(null==l||e<=l)}else i=!1;if(i&&(t=this._device.getControlAt(e).value),this.isAxisForAnalogStick(e)){var n=t;this.mapping.isAxisFlipped(e)&&(n*=-1),t=n}return t},getAnalogXAxisValue:function(e){return null==e?0:this.deadZoneMode==flixel_input_gamepad_FlxGamepadDeadZoneMode.CIRCULAR?this.getAnalogAxisValueCircular(e,e.x):this.getAnalogAxisValueIndependent(e.x)},getAnalogYAxisValue:function(e){return null==e?0:this.deadZoneMode==flixel_input_gamepad_FlxGamepadDeadZoneMode.CIRCULAR?this.getAnalogAxisValueCircular(e,e.y):this.getAnalogAxisValueIndependent(e.y)},getAnalogAxisValueCircular:function(e,t){if(null==e)return 0;var i=this.getAxisValue(e.x),l=this.getAxisValue(e.y);null==l&&(l=0),null==i&&(i=0);var n=i,s=l;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1;var r=a,_=Math.sqrt(r.x*r.x+r.y*r.y);return r.put(),_>this.get_deadZone()?this.getAxisValue(t):0},getAnalogAxisValueIndependent:function(e){var t=this.getAxisValue(e);return Math.abs(t)>this.get_deadZone()?t:0},handleAxisMove:function(e,t,i){l=t;this.mapping.isAxisFlipped(e)&&(l*=-1),t=l;var l=i;this.mapping.isAxisFlipped(e)&&(l*=-1),i=l;var n=this.mapping.leftStick,s=this.mapping.rightStick,a=null!=n&&e==n.x||e==n.y?n:null!=s&&e==s.x||e==s.y?s:null;if(a.mode==flixel_input_gamepad_FlxAnalogToDigitalMode.ONLY_DIGITAL||a.mode==flixel_input_gamepad_FlxAnalogToDigitalMode.BOTH){this.handleAxisMoveSub(a,e,t,i,1),this.handleAxisMoveSub(a,e,t,i,-1);a.mode,flixel_input_gamepad_FlxAnalogToDigitalMode.ONLY_DIGITAL}},handleAxisMoveSub:function(e,t,i,l,n){null==n&&(n=1);var s=-1;t==e.x?s=n<0?e.rawLeft:e.rawRight:t==e.y&&(s=n<0?e.rawUp:e.rawDown);var a=e.digitalThreshold,r=i*n,_=l*n;if(r>a&&_<=a)null!=(o=this.getButton(s))&&o.press();else if(r<=a&&_>a){var o=this.getButton(s);null!=o&&o.release()}},createMappingForModel:function(e){switch(e._hx_index){case 0:return new flixel_input_gamepad_mappings_LogitechMapping(this.attachment);case 1:return new flixel_input_gamepad_mappings_OUYAMapping(this.attachment);case 2:return new flixel_input_gamepad_mappings_PS4Mapping(this.attachment);case 3:return new flixel_input_gamepad_mappings_PSVitaMapping(this.attachment);case 4:return new flixel_input_gamepad_mappings_XInputMapping(this.attachment);case 5:return new flixel_input_gamepad_mappings_MayflashWiiRemoteMapping(this.attachment);case 6:return new flixel_input_gamepad_mappings_WiiRemoteMapping(this.attachment);case 7:return new flixel_input_gamepad_mappings_MFiMapping(this.attachment);case 8:return new flixel_input_gamepad_mappings_SwitchProMapping(this.attachment);case 9:return new flixel_input_gamepad_mappings_SwitchJoyconLeftMapping(this.attachment);case 10:return new flixel_input_gamepad_mappings_SwitchJoyconRightMapping(this.attachment);default:return new flixel_input_gamepad_mappings_XInputMapping(this.attachment)}},get_name:function(){return null==this._device?null:this._device.name},set_model:function(e){return this.model=e,this.mapping=this.createMappingForModel(this.model),this.model},set_attachment:function(e){return this.attachment=e,this.mapping.set_attachment(e),this.attachment},get_deadZone:function(){return null==this.manager||null==this.manager.globalDeadZone?this._deadZone:this.manager.globalDeadZone},set_deadZone:function(e){return this._deadZone=e},getInputLabel:function(e){return this.mapping.getInputLabel(e)},toString:function(){var e=this.id,t=flixel_util_LabelValuePair._pool.get();t.label="id",t.value=e;var e=this.model,i=flixel_util_LabelValuePair._pool.get();i.label="model",i.value=e;var e=this.get_deadZone(),l=flixel_util_LabelValuePair._pool.get();return l.label="deadZone",l.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l])},__class__:flixel_input_gamepad_FlxGamepad,__properties__:{set_deadZone:"set_deadZone",get_deadZone:"get_deadZone",set_attachment:"set_attachment",set_model:"set_model",get_name:"get_name"}};var flixel_input_gamepad_FlxGamepadDeadZoneMode=$hxEnums["flixel.input.gamepad.FlxGamepadDeadZoneMode"]={__ename__:"flixel.input.gamepad.FlxGamepadDeadZoneMode",__constructs__:["INDEPENDENT_AXES","CIRCULAR"],INDEPENDENT_AXES:{_hx_index:0,__enum__:"flixel.input.gamepad.FlxGamepadDeadZoneMode",toString:$estr},CIRCULAR:{_hx_index:1,__enum__:"flixel.input.gamepad.FlxGamepadDeadZoneMode",toString:$estr}},flixel_input_gamepad_FlxGamepadModel=$hxEnums["flixel.input.gamepad.FlxGamepadModel"]={__ename__:"flixel.input.gamepad.FlxGamepadModel",__constructs__:["LOGITECH","OUYA","PS4","PSVITA","XINPUT","MAYFLASH_WII_REMOTE","WII_REMOTE","MFI","SWITCH_PRO","SWITCH_JOYCON_LEFT","SWITCH_JOYCON_RIGHT","UNKNOWN"],LOGITECH:{_hx_index:0,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},OUYA:{_hx_index:1,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},PS4:{_hx_index:2,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},PSVITA:{_hx_index:3,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},XINPUT:{_hx_index:4,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},MAYFLASH_WII_REMOTE:{_hx_index:5,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},WII_REMOTE:{_hx_index:6,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},MFI:{_hx_index:7,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},SWITCH_PRO:{_hx_index:8,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},SWITCH_JOYCON_LEFT:{_hx_index:9,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},SWITCH_JOYCON_RIGHT:{_hx_index:10,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr},UNKNOWN:{_hx_index:11,__enum__:"flixel.input.gamepad.FlxGamepadModel",toString:$estr}},flixel_input_gamepad_FlxGamepadAttachment=$hxEnums["flixel.input.gamepad.FlxGamepadAttachment"]={__ename__:"flixel.input.gamepad.FlxGamepadAttachment",__constructs__:["WII_NUNCHUCK","WII_CLASSIC_CONTROLLER","NONE"],WII_NUNCHUCK:{_hx_index:0,__enum__:"flixel.input.gamepad.FlxGamepadAttachment",toString:$estr},WII_CLASSIC_CONTROLLER:{_hx_index:1,__enum__:"flixel.input.gamepad.FlxGamepadAttachment",toString:$estr},NONE:{_hx_index:2,__enum__:"flixel.input.gamepad.FlxGamepadAttachment",toString:$estr}},flixel_input_gamepad_FlxGamepadAnalogStick=function(e,t,i){this.mode=flixel_input_gamepad_FlxAnalogToDigitalMode.BOTH,this.digitalThreshold=.5,this.rawRight=-1,this.rawLeft=-1,this.rawDown=-1,this.rawUp=-1,this.x=e,this.y=t,null!=i&&(this.mode=null!=i.mode?i.mode:flixel_input_gamepad_FlxAnalogToDigitalMode.BOTH,this.rawUp=null!=i.up?i.up:-1,this.rawDown=null!=i.down?i.down:-1,this.rawLeft=null!=i.left?i.left:-1,this.rawRight=null!=i.right?i.right:-1,this.digitalThreshold=null!=i.threshold?i.threshold:.5)};$hxClasses["flixel.input.gamepad.FlxGamepadAnalogStick"]=flixel_input_gamepad_FlxGamepadAnalogStick,flixel_input_gamepad_FlxGamepadAnalogStick.__name__="flixel.input.gamepad.FlxGamepadAnalogStick",flixel_input_gamepad_FlxGamepadAnalogStick.prototype={x:null,y:null,rawUp:null,rawDown:null,rawLeft:null,rawRight:null,digitalThreshold:null,mode:null,toString:function(){var e=this.x,t=flixel_util_LabelValuePair._pool.get();t.label="x",t.value=e;var e=this.y,i=flixel_util_LabelValuePair._pool.get();i.label="y",i.value=e;var e=this.rawUp,l=flixel_util_LabelValuePair._pool.get();l.label="rawUp",l.value=e;var e=this.rawDown,n=flixel_util_LabelValuePair._pool.get();n.label="rawDown",n.value=e;var e=this.rawLeft,s=flixel_util_LabelValuePair._pool.get();s.label="rawLeft",s.value=e;var e=this.rawRight,a=flixel_util_LabelValuePair._pool.get();a.label="rawRight",a.value=e;var e=this.digitalThreshold,r=flixel_util_LabelValuePair._pool.get();r.label="digitalThreshold",r.value=e;var e=this.mode,_=flixel_util_LabelValuePair._pool.get();return _.label="mode",_.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,n,s,a,r,_])},__class__:flixel_input_gamepad_FlxGamepadAnalogStick};var flixel_input_gamepad_FlxAnalogToDigitalMode=$hxEnums["flixel.input.gamepad.FlxAnalogToDigitalMode"]={__ename__:"flixel.input.gamepad.FlxAnalogToDigitalMode",__constructs__:["BOTH","ONLY_DIGITAL","ONLY_ANALOG"],BOTH:{_hx_index:0,__enum__:"flixel.input.gamepad.FlxAnalogToDigitalMode",toString:$estr},ONLY_DIGITAL:{_hx_index:1,__enum__:"flixel.input.gamepad.FlxAnalogToDigitalMode",toString:$estr},ONLY_ANALOG:{_hx_index:2,__enum__:"flixel.input.gamepad.FlxAnalogToDigitalMode",toString:$estr}},flixel_input_gamepad_FlxGamepadButton=function(e){this.value=0,flixel_input_FlxInput.call(this,e)};$hxClasses["flixel.input.gamepad.FlxGamepadButton"]=flixel_input_gamepad_FlxGamepadButton,flixel_input_gamepad_FlxGamepadButton.__name__="flixel.input.gamepad.FlxGamepadButton",flixel_input_gamepad_FlxGamepadButton.__super__=flixel_input_FlxInput,flixel_input_gamepad_FlxGamepadButton.prototype=$extend(flixel_input_FlxInput.prototype,{value:null,__class__:flixel_input_gamepad_FlxGamepadButton});var flixel_input_gamepad_FlxGamepadInputID={};flixel_input_gamepad_FlxGamepadInputID.fromString=function(e){return e=e.toUpperCase(),Object.prototype.hasOwnProperty.call(flixel_input_gamepad_FlxGamepadInputID.fromStringMap.h,e)?flixel_input_gamepad_FlxGamepadInputID.fromStringMap.h[e]:-1},flixel_input_gamepad_FlxGamepadInputID.toString=function(e){return flixel_input_gamepad_FlxGamepadInputID.toStringMap.h[e]};var openfl_ui_GameInput=function(){openfl_events_EventDispatcher.call(this),openfl_ui_GameInput.__instances.push(this)};$hxClasses["openfl.ui.GameInput"]=openfl_ui_GameInput,openfl_ui_GameInput.__name__="openfl.ui.GameInput",openfl_ui_GameInput.getDeviceAt=function(e){return e>=0&&e<openfl_ui_GameInput.__deviceList.length?openfl_ui_GameInput.__deviceList[e]:null},openfl_ui_GameInput.__getDevice=function(e){if(null==e)return null;if(null==openfl_ui_GameInput.__devices.h.__keys__[e.__id__]){var t=(i=lime_ui_Joystick.__getDeviceData())[e.id].id,i=lime_ui_Joystick.__getDeviceData(),l=new openfl_ui_GameInputDevice(t,i[e.id].id);openfl_ui_GameInput.__deviceList.push(l),openfl_ui_GameInput.__devices.set(e,l),openfl_ui_GameInput.numDevices=openfl_ui_GameInput.__deviceList.length}return openfl_ui_GameInput.__devices.h[e.__id__]},openfl_ui_GameInput.__onGamepadAxisMove=function(e,t,i){var l=openfl_ui_GameInput.__getDevice(e);if(null!=l&&l.enabled){if(!l.__axis.h.hasOwnProperty(t)){var n;if(null==t)n="null";else switch(t){case 0:n="LEFT_X";break;case 1:n="LEFT_Y";break;case 2:n="RIGHT_X";break;case 3:n="RIGHT_Y";break;case 4:n="TRIGGER_LEFT";break;case 5:n="TRIGGER_RIGHT";break;default:n="UNKNOWN ("+t+")"}var s=new openfl_ui_GameInputControl(l,"AXIS_"+n,-1,1);l.__axis.h[t]=s,l.__controls.push(s)}(n=l.__axis.h[t]).value=i,n.dispatchEvent(new openfl_events_Event("change"))}},openfl_ui_GameInput.__onGamepadButtonDown=function(e,t){var i=openfl_ui_GameInput.__getDevice(e);if(null!=i&&i.enabled){if(!i.__button.h.hasOwnProperty(t)){var l;if(null==t)l="null";else switch(t){case 0:l="A";break;case 1:l="B";break;case 2:l="X";break;case 3:l="Y";break;case 4:l="BACK";break;case 5:l="GUIDE";break;case 6:l="START";break;case 7:l="LEFT_STICK";break;case 8:l="RIGHT_STICK";break;case 9:l="LEFT_SHOULDER";break;case 10:l="RIGHT_SHOULDER";break;case 11:l="DPAD_UP";break;case 12:l="DPAD_DOWN";break;case 13:l="DPAD_LEFT";break;case 14:l="DPAD_RIGHT";break;default:l="UNKNOWN ("+t+")"}var n=new openfl_ui_GameInputControl(i,"BUTTON_"+l,0,1);i.__button.h[t]=n,i.__controls.push(n)}(l=i.__button.h[t]).value=1,l.dispatchEvent(new openfl_events_Event("change"))}},openfl_ui_GameInput.__onGamepadButtonUp=function(e,t){var i=openfl_ui_GameInput.__getDevice(e);if(null!=i&&i.enabled){if(!i.__button.h.hasOwnProperty(t)){var l;if(null==t)l="null";else switch(t){case 0:l="A";break;case 1:l="B";break;case 2:l="X";break;case 3:l="Y";break;case 4:l="BACK";break;case 5:l="GUIDE";break;case 6:l="START";break;case 7:l="LEFT_STICK";break;case 8:l="RIGHT_STICK";break;case 9:l="LEFT_SHOULDER";break;case 10:l="RIGHT_SHOULDER";break;case 11:l="DPAD_UP";break;case 12:l="DPAD_DOWN";break;case 13:l="DPAD_LEFT";break;case 14:l="DPAD_RIGHT";break;default:l="UNKNOWN ("+t+")"}var n=new openfl_ui_GameInputControl(i,"BUTTON_"+l,0,1);i.__button.h[t]=n,i.__controls.push(n)}(l=i.__button.h[t]).value=0,l.dispatchEvent(new openfl_events_Event("change"))}},openfl_ui_GameInput.__onGamepadConnect=function(e){var t=openfl_ui_GameInput.__getDevice(e);if(null!=t)for(var i=0,l=openfl_ui_GameInput.__instances;i<l.length;){var n=l[i];++i,n.dispatchEvent(new openfl_events_GameInputEvent("deviceAdded",!0,!1,t))}},openfl_ui_GameInput.__onGamepadDisconnect=function(e){var t=openfl_ui_GameInput.__devices.h[e.__id__];if(null!=t){null!=openfl_ui_GameInput.__devices.h.__keys__[e.__id__]&&(HxOverrides.remove(openfl_ui_GameInput.__deviceList,openfl_ui_GameInput.__devices.h[e.__id__]),openfl_ui_GameInput.__devices.remove(e)),openfl_ui_GameInput.numDevices=openfl_ui_GameInput.__deviceList.length;for(var i=0,l=openfl_ui_GameInput.__instances;i<l.length;){var n=l[i];++i,n.dispatchEvent(new openfl_events_GameInputEvent("deviceRemoved",!0,!1,t))}}},openfl_ui_GameInput.__super__=openfl_events_EventDispatcher,openfl_ui_GameInput.prototype=$extend(openfl_events_EventDispatcher.prototype,{addEventListener:function(e,t,i,l,n){if(null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),openfl_events_EventDispatcher.prototype.addEventListener.call(this,e,t,i,l,n),"deviceAdded"==e)for(var s=0,a=openfl_ui_GameInput.__deviceList;s<a.length;){var r=a[s];++s,this.dispatchEvent(new openfl_events_GameInputEvent("deviceAdded",!0,!1,r))}},__class__:openfl_ui_GameInput});var flixel_input_gamepad_FlxGamepadManager=function(){this._activeGamepads=[],this._gamepads=[],this.deviceConnected=new flixel_util__$FlxSignal_FlxSignal1,this.deviceDisconnected=new flixel_util__$FlxSignal_FlxSignal1,flixel_input_gamepad_FlxGamepadManager._gameInput.addEventListener("deviceAdded",$bind(this,this.onDeviceAdded)),flixel_input_gamepad_FlxGamepadManager._gameInput.addEventListener("deviceRemoved",$bind(this,this.onDeviceRemoved));for(var e=0,t=openfl_ui_GameInput.numDevices;e<t;){var i=e++;this.addGamepad(openfl_ui_GameInput.getDeviceAt(i))}};$hxClasses["flixel.input.gamepad.FlxGamepadManager"]=flixel_input_gamepad_FlxGamepadManager,flixel_input_gamepad_FlxGamepadManager.__name__="flixel.input.gamepad.FlxGamepadManager",flixel_input_gamepad_FlxGamepadManager.__interfaces__=[flixel_input_IFlxInputManager],flixel_input_gamepad_FlxGamepadManager.prototype={firstActive:null,lastActive:null,globalDeadZone:null,deviceConnected:null,deviceDisconnected:null,_gamepads:null,_activeGamepads:null,getByID:function(e){return this._activeGamepads[e]},removeByID:function(e){var t=this._gamepads[e];if(null!=t){this._gamepads[e]=null;var i=this._activeGamepads.indexOf(t);-1!=i&&(this._activeGamepads[i]=null,this.deviceDisconnected.dispatch(t)),flixel_util_FlxDestroyUtil.destroy(t)}this.lastActive==t&&(this.lastActive=null),this.firstActive==t&&(this.firstActive=null)},createByID:function(e,t){var i=this._gamepads[e];if(null==i){i=new flixel_input_gamepad_FlxGamepad(e,this,t),this._gamepads[e]=i;for(var l=!1,n=0,s=this._activeGamepads.length;n<s;){var a=n++;if(null==this._activeGamepads[a]){this._activeGamepads[a]=i,l=!0;break}}l||this._activeGamepads.push(i)}return this.lastActive=i,null==this.firstActive&&(this.firstActive=i),i},getActiveGamepadIDs:function(e){null==e&&(e=[]);for(var t=0,i=this._gamepads;t<i.length;){var l=i[t];++t,null!=l&&l.anyInput()&&e.push(l.id)}return e},getActiveGamepads:function(e){null==e&&(e=[]);for(var t=0,i=this._gamepads;t<i.length;){var l=i[t];++t,null!=l&&l.anyInput()&&e.push(l)}return e},getFirstActiveGamepadID:function(){var e=this.getFirstActiveGamepad();return null==e?-1:e.id},getFirstActiveGamepad:function(){for(var e=0,t=this._gamepads;e<t.length;){var i=t[e];if(++e,null!=i&&i.anyInput())return i}return null},anyButton:function(e){null==e&&(e=1);for(var t=0,i=this._gamepads;t<i.length;){var l=i[t];if(++t,null!=l&&l.anyButton(e))return!0}return!1},anyInput:function(){for(var e=0,t=this._gamepads;e<t.length;){var i=t[e];if(++e,null!=i&&i.anyInput())return!0}return!1},anyPressed:function(e){return this.anyHasState(e,1)},anyJustPressed:function(e){return this.anyHasState(e,2)},anyJustReleased:function(e){return this.anyHasState(e,-1)},anyHasState:function(e,t){for(var i=0,l=this._gamepads;i<l.length;){var n=l[i];++i;var s;if(null!=n)switch(e){case-2:s=n.anyButton(t);break;case-1:s=!n.anyButton(t);break;default:var a=n.mapping.getRawID(e),r=n.buttons[a];s=null!=r&&r.hasState(t)}else s=!1;if(s)return!0}return!1},anyMovedXAxis:function(e){for(var t=0,i=this._gamepads;t<i.length;){var l=i[t];if(++t,null!=l){var n=l.getAnalogXAxisValue(e);if(0!=n)return n}}return 0},anyMovedYAxis:function(e){for(var t=0,i=this._gamepads;t<i.length;){var l=i[t];if(++t,null!=l){var n=l.getYAxisRaw(e);if(0!=n)return n}}return 0},destroy:function(){this._gamepads=flixel_util_FlxDestroyUtil.destroyArray(this._gamepads),this.firstActive=null,this.lastActive=null,this._gamepads=null,flixel_input_gamepad_FlxGamepadManager._gameInput.removeEventListener("deviceAdded",$bind(this,this.onDeviceAdded)),flixel_input_gamepad_FlxGamepadManager._gameInput.removeEventListener("deviceRemoved",$bind(this,this.onDeviceRemoved))},reset:function(){for(var e=0,t=this._gamepads;e<t.length;){var i=t[e];++e,null!=i&&i.reset()}},onDeviceAdded:function(e){this.addGamepad(e.device)},onDeviceRemoved:function(e){this.removeGamepad(e.device)},findGamepadIndex:function(e){if(null==e)return-1;for(var t=0,i=openfl_ui_GameInput.numDevices;t<i;){var l=t++;if(openfl_ui_GameInput.getDeviceAt(l)==e)return l}return-1},addGamepad:function(e){if(null!=e){e.enabled=!0;var t=this.findGamepadIndex(e);if(!(t<0)){var i=this.createByID(t,this.getModelFromDeviceName(e.name));i._device=e,this.deviceConnected.dispatch(i)}}},getModelFromDeviceName:function(e){return null==e?flixel_input_gamepad_FlxGamepadModel.UNKNOWN:(e=StringTools.replace(StringTools.replace(e.toLowerCase(),"-",""),"_",""),-1!=e.indexOf("ouya")?flixel_input_gamepad_FlxGamepadModel.OUYA:-1!=e.indexOf("wireless controller")||-1!=e.indexOf("ps4")?flixel_input_gamepad_FlxGamepadModel.PS4:-1!=e.indexOf("logitech")?flixel_input_gamepad_FlxGamepadModel.LOGITECH:-1!=e.indexOf("xbox")&&-1!=e.indexOf("360")||-1!=e.indexOf("xinput")?flixel_input_gamepad_FlxGamepadModel.XINPUT:-1!=e.indexOf("nintendo rvlcnt01tr")?flixel_input_gamepad_FlxGamepadModel.WII_REMOTE:-1!=e.indexOf("nintendo rvlcnt01")?flixel_input_gamepad_FlxGamepadModel.WII_REMOTE:-1!=e.indexOf("mayflash wiimote pc adapter")?flixel_input_gamepad_FlxGamepadModel.MAYFLASH_WII_REMOTE:-1!=e.indexOf("pro controller")||-1!=e.indexOf("joycon l+r")?flixel_input_gamepad_FlxGamepadModel.SWITCH_PRO:-1!=e.indexOf("joycon (l)")?flixel_input_gamepad_FlxGamepadModel.SWITCH_JOYCON_LEFT:-1!=e.indexOf("joycon (r)")?flixel_input_gamepad_FlxGamepadModel.SWITCH_JOYCON_RIGHT:-1!=e.indexOf("mfi")?flixel_input_gamepad_FlxGamepadModel.MFI:flixel_input_gamepad_FlxGamepadModel.UNKNOWN)},removeGamepad:function(e){if(null!=e)for(var t=0,i=this._gamepads.length;t<i;){var l=t++,n=this._gamepads[l];null!=n&&n._device==e&&this.removeByID(l)}},update:function(){for(var e=0,t=this._gamepads;e<t.length;){var i=t[e];++e,null!=i&&i.update()}},onFocus:function(){},onFocusLost:function(){this.reset()},get_numActiveGamepads:function(){for(var e=0,t=0,i=this._gamepads;t<i.length;){var l=i[t];++t,null!=l&&++e}return e},__class__:flixel_input_gamepad_FlxGamepadManager,__properties__:{get_numActiveGamepads:"get_numActiveGamepads"}};var flixel_input_gamepad_id_LogitechID=function(){};$hxClasses["flixel.input.gamepad.id.LogitechID"]=flixel_input_gamepad_id_LogitechID,flixel_input_gamepad_id_LogitechID.__name__="flixel.input.gamepad.id.LogitechID";var flixel_input_gamepad_id_MFiID=function(){};$hxClasses["flixel.input.gamepad.id.MFiID"]=flixel_input_gamepad_id_MFiID,flixel_input_gamepad_id_MFiID.__name__="flixel.input.gamepad.id.MFiID";var flixel_input_gamepad_id_MayflashWiiRemoteID=function(){};$hxClasses["flixel.input.gamepad.id.MayflashWiiRemoteID"]=flixel_input_gamepad_id_MayflashWiiRemoteID,flixel_input_gamepad_id_MayflashWiiRemoteID.__name__="flixel.input.gamepad.id.MayflashWiiRemoteID";var flixel_input_gamepad_id_OUYAID=function(){};$hxClasses["flixel.input.gamepad.id.OUYAID"]=flixel_input_gamepad_id_OUYAID,flixel_input_gamepad_id_OUYAID.__name__="flixel.input.gamepad.id.OUYAID";var flixel_input_gamepad_id_PS4ID=function(){};$hxClasses["flixel.input.gamepad.id.PS4ID"]=flixel_input_gamepad_id_PS4ID,flixel_input_gamepad_id_PS4ID.__name__="flixel.input.gamepad.id.PS4ID";var flixel_input_gamepad_id_PSVitaID=function(){};$hxClasses["flixel.input.gamepad.id.PSVitaID"]=flixel_input_gamepad_id_PSVitaID,flixel_input_gamepad_id_PSVitaID.__name__="flixel.input.gamepad.id.PSVitaID";var flixel_input_gamepad_id_SwitchJoyconLeftID=function(){};$hxClasses["flixel.input.gamepad.id.SwitchJoyconLeftID"]=flixel_input_gamepad_id_SwitchJoyconLeftID,flixel_input_gamepad_id_SwitchJoyconLeftID.__name__="flixel.input.gamepad.id.SwitchJoyconLeftID";var flixel_input_gamepad_id_SwitchJoyconRightID=function(){};$hxClasses["flixel.input.gamepad.id.SwitchJoyconRightID"]=flixel_input_gamepad_id_SwitchJoyconRightID,flixel_input_gamepad_id_SwitchJoyconRightID.__name__="flixel.input.gamepad.id.SwitchJoyconRightID";var flixel_input_gamepad_id_SwitchProID=function(){};$hxClasses["flixel.input.gamepad.id.SwitchProID"]=flixel_input_gamepad_id_SwitchProID,flixel_input_gamepad_id_SwitchProID.__name__="flixel.input.gamepad.id.SwitchProID";var flixel_input_gamepad_id_WiiRemoteID=function(){};$hxClasses["flixel.input.gamepad.id.WiiRemoteID"]=flixel_input_gamepad_id_WiiRemoteID,flixel_input_gamepad_id_WiiRemoteID.__name__="flixel.input.gamepad.id.WiiRemoteID";var flixel_input_gamepad_id_XInputID=function(){};$hxClasses["flixel.input.gamepad.id.XInputID"]=flixel_input_gamepad_id_XInputID,flixel_input_gamepad_id_XInputID.__name__="flixel.input.gamepad.id.XInputID";var flixel_input_gamepad_lists_FlxBaseGamepadList=function(e,t){this.status=e,this.gamepad=t};$hxClasses["flixel.input.gamepad.lists.FlxBaseGamepadList"]=flixel_input_gamepad_lists_FlxBaseGamepadList,flixel_input_gamepad_lists_FlxBaseGamepadList.__name__="flixel.input.gamepad.lists.FlxBaseGamepadList",flixel_input_gamepad_lists_FlxBaseGamepadList.prototype={status:null,gamepad:null,check:function(e){var t=this.gamepad,i=this.status;switch(e){case-2:return t.anyButton(i);case-1:return!t.anyButton(i);default:var l=t.mapping.getRawID(e),n=t.buttons[l];return null!=n&&n.hasState(i)}},checkRaw:function(e){var t=this.gamepad.buttons[e];return null!=t&&t.hasState(this.status)},get_ANY:function(){for(var e=0,t=this.gamepad.buttons;e<t.length;){var i=t[e];++e;var l;if(null!=i){var n=this.gamepad.buttons[i.ID];l=null!=n&&n.hasState(this.status)}else l=!1;if(l)return!0}return!1},get_ALL:function(){for(var e=0,t=this.gamepad.buttons;e<t.length;){var i=t[e];++e;var l;if(null!=i){var n=this.gamepad.buttons[i.ID];l=!(null!=n&&n.hasState(this.status))}else l=!1;if(l)return!1}return!0},get_NONE:function(){for(var e=0,t=this.gamepad.buttons;e<t.length;){var i=t[e];++e;var l;if(null!=i){var n=this.gamepad.buttons[i.ID];l=null!=n&&n.hasState(this.status)}else l=!1;if(l)return!1}return!0},__class__:flixel_input_gamepad_lists_FlxBaseGamepadList,__properties__:{get_NONE:"get_NONE",get_ALL:"get_ALL",get_ANY:"get_ANY"}};var flixel_input_gamepad_lists_FlxGamepadAnalogList=function(e){this.value=new flixel_input_gamepad_lists_FlxGamepadAnalogValueList(e),this.justMoved=new flixel_input_gamepad_lists_FlxGamepadAnalogStateList(2,e),this.justReleased=new flixel_input_gamepad_lists_FlxGamepadAnalogStateList(-1,e)};$hxClasses["flixel.input.gamepad.lists.FlxGamepadAnalogList"]=flixel_input_gamepad_lists_FlxGamepadAnalogList,flixel_input_gamepad_lists_FlxGamepadAnalogList.__name__="flixel.input.gamepad.lists.FlxGamepadAnalogList",flixel_input_gamepad_lists_FlxGamepadAnalogList.prototype={value:null,justMoved:null,justReleased:null,__class__:flixel_input_gamepad_lists_FlxGamepadAnalogList};var flixel_input_gamepad_lists_FlxGamepadAnalogStateList=function(e,t){this.status=e,this.gamepad=t};$hxClasses["flixel.input.gamepad.lists.FlxGamepadAnalogStateList"]=flixel_input_gamepad_lists_FlxGamepadAnalogStateList,flixel_input_gamepad_lists_FlxGamepadAnalogStateList.__name__="flixel.input.gamepad.lists.FlxGamepadAnalogStateList",flixel_input_gamepad_lists_FlxGamepadAnalogStateList.prototype={gamepad:null,status:null,get_LEFT_STICK:function(){return this.checkXY(19)},get_LEFT_STICK_X:function(){var e=this.gamepad.mapping.getAnalogStick(19);if(null==e)return!1;var t=this.gamepad.buttons[e.x];return null!=t&&t.hasState(this.status)},get_LEFT_STICK_Y:function(){var e=this.gamepad.mapping.getAnalogStick(19);if(null==e)return!1;var t=this.gamepad.buttons[e.y];return null!=t&&t.hasState(this.status)},get_RIGHT_STICK:function(){return this.checkXY(20)},get_RIGHT_STICK_X:function(){var e=this.gamepad.mapping.getAnalogStick(20);if(null==e)return!1;var t=this.gamepad.buttons[e.x];return null!=t&&t.hasState(this.status)},get_RIGHT_STICK_Y:function(){var e=this.gamepad.mapping.getAnalogStick(20);if(null==e)return!1;var t=this.gamepad.buttons[e.y];return null!=t&&t.hasState(this.status)},checkXY:function(e){var t=this.gamepad.mapping.getAnalogStick(e);if(null==t)return!1;var i=this.gamepad.buttons[t.x],l=null!=i&&i.hasState(this.status),n=null!=(i=this.gamepad.buttons[t.y])&&i.hasState(this.status);if(l&&n)return!0;if(l){var s=null!=(i=this.gamepad.buttons[t.y])&&i.hasState(0),a=null!=(i=this.gamepad.buttons[t.y])&&i.hasState(-1);if(s||a)return!0}if(n){var r=null!=(i=this.gamepad.buttons[t.x])&&i.hasState(0),_=null!=(i=this.gamepad.buttons[t.x])&&i.hasState(-1);if(r||_)return!0}return!1},checkX:function(e){var t=this.gamepad.mapping.getAnalogStick(e);if(null==t)return!1;var i=this.gamepad.buttons[t.x];return null!=i&&i.hasState(this.status)},checkY:function(e){var t=this.gamepad.mapping.getAnalogStick(e);if(null==t)return!1;var i=this.gamepad.buttons[t.y];return null!=i&&i.hasState(this.status)},checkRaw:function(e,t){var i=this.gamepad.buttons[e];return null!=i&&i.hasState(t)},__class__:flixel_input_gamepad_lists_FlxGamepadAnalogStateList,__properties__:{get_RIGHT_STICK_Y:"get_RIGHT_STICK_Y",get_RIGHT_STICK_X:"get_RIGHT_STICK_X",get_RIGHT_STICK:"get_RIGHT_STICK",get_LEFT_STICK_Y:"get_LEFT_STICK_Y",get_LEFT_STICK_X:"get_LEFT_STICK_X",get_LEFT_STICK:"get_LEFT_STICK"}};var flixel_input_gamepad_lists_FlxGamepadAnalogValueList=function(e){this.gamepad=e};$hxClasses["flixel.input.gamepad.lists.FlxGamepadAnalogValueList"]=flixel_input_gamepad_lists_FlxGamepadAnalogValueList,flixel_input_gamepad_lists_FlxGamepadAnalogValueList.__name__="flixel.input.gamepad.lists.FlxGamepadAnalogValueList",flixel_input_gamepad_lists_FlxGamepadAnalogValueList.prototype={gamepad:null,get_LEFT_STICK_X:function(){var e=this.gamepad;return e.getAnalogXAxisValue(e.mapping.getAnalogStick(19))},get_LEFT_STICK_Y:function(){var e=this.gamepad;return e.getYAxisRaw(e.mapping.getAnalogStick(19))},get_RIGHT_STICK_X:function(){var e=this.gamepad;return e.getAnalogXAxisValue(e.mapping.getAnalogStick(20))},get_RIGHT_STICK_Y:function(){var e=this.gamepad;return e.getYAxisRaw(e.mapping.getAnalogStick(20))},get_LEFT_TRIGGER:function(){return this.gamepad.getAxis(17)},get_RIGHT_TRIGGER:function(){return this.gamepad.getAxis(18)},get_POINTER_X:function(){return this.gamepad.getAxis(28)},get_POINTER_Y:function(){return this.gamepad.getAxis(29)},getAxis:function(e){return this.gamepad.getAxis(e)},getXAxis:function(e){var t=this.gamepad;return t.getAnalogXAxisValue(t.mapping.getAnalogStick(e))},getYAxis:function(e){var t=this.gamepad;return t.getYAxisRaw(t.mapping.getAnalogStick(e))},__class__:flixel_input_gamepad_lists_FlxGamepadAnalogValueList,__properties__:{get_POINTER_Y:"get_POINTER_Y",get_POINTER_X:"get_POINTER_X",get_RIGHT_TRIGGER:"get_RIGHT_TRIGGER",get_LEFT_TRIGGER:"get_LEFT_TRIGGER",get_RIGHT_STICK_Y:"get_RIGHT_STICK_Y",get_RIGHT_STICK_X:"get_RIGHT_STICK_X",get_LEFT_STICK_Y:"get_LEFT_STICK_Y",get_LEFT_STICK_X:"get_LEFT_STICK_X"}};var flixel_input_gamepad_lists_FlxGamepadButtonList=function(e,t){flixel_input_gamepad_lists_FlxBaseGamepadList.call(this,e,t)};$hxClasses["flixel.input.gamepad.lists.FlxGamepadButtonList"]=flixel_input_gamepad_lists_FlxGamepadButtonList,flixel_input_gamepad_lists_FlxGamepadButtonList.__name__="flixel.input.gamepad.lists.FlxGamepadButtonList",flixel_input_gamepad_lists_FlxGamepadButtonList.__super__=flixel_input_gamepad_lists_FlxBaseGamepadList,flixel_input_gamepad_lists_FlxGamepadButtonList.prototype=$extend(flixel_input_gamepad_lists_FlxBaseGamepadList.prototype,{get_A:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(0),l=e.buttons[i];return null!=l&&l.hasState(t)},get_B:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(1),l=e.buttons[i];return null!=l&&l.hasState(t)},get_X:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(2),l=e.buttons[i];return null!=l&&l.hasState(t)},get_Y:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(3),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_SHOULDER:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(4),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_SHOULDER:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(5),l=e.buttons[i];return null!=l&&l.hasState(t)},get_BACK:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(6),l=e.buttons[i];return null!=l&&l.hasState(t)},get_START:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(7),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_STICK_CLICK:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(8),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_STICK_CLICK:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(9),l=e.buttons[i];return null!=l&&l.hasState(t)},get_GUIDE:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(10),l=e.buttons[i];return null!=l&&l.hasState(t)},get_DPAD_UP:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(11),l=e.buttons[i];return null!=l&&l.hasState(t)},get_DPAD_DOWN:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(12),l=e.buttons[i];return null!=l&&l.hasState(t)},get_DPAD_LEFT:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(13),l=e.buttons[i];return null!=l&&l.hasState(t)},get_DPAD_RIGHT:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(14),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_TRIGGER_BUTTON:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(15),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_TRIGGER_BUTTON:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(16),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_TRIGGER:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(17),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_TRIGGER:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(18),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_ANALOG_STICK:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(19),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_ANALOG_STICK:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(20),l=e.buttons[i];return null!=l&&l.hasState(t)},get_DPAD:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(21),l=e.buttons[i];return null!=l&&l.hasState(t)},get_TILT_PITCH:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(26),l=e.buttons[i];return null!=l&&l.hasState(t)},get_TILT_ROLL:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(27),l=e.buttons[i];return null!=l&&l.hasState(t)},get_POINTER_X:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(28),l=e.buttons[i];return null!=l&&l.hasState(t)},get_POINTER_Y:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(29),l=e.buttons[i];return null!=l&&l.hasState(t)},get_EXTRA_0:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(30),l=e.buttons[i];return null!=l&&l.hasState(t)},get_EXTRA_1:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(31),l=e.buttons[i];return null!=l&&l.hasState(t)},get_EXTRA_2:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(32),l=e.buttons[i];return null!=l&&l.hasState(t)},get_EXTRA_3:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(33),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_STICK_DIGITAL_UP:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(34),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_STICK_DIGITAL_RIGHT:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(35),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_STICK_DIGITAL_DOWN:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(36),l=e.buttons[i];return null!=l&&l.hasState(t)},get_LEFT_STICK_DIGITAL_LEFT:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(37),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_STICK_DIGITAL_UP:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(38),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_STICK_DIGITAL_RIGHT:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(39),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_STICK_DIGITAL_DOWN:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(40),l=e.buttons[i];return null!=l&&l.hasState(t)},get_RIGHT_STICK_DIGITAL_LEFT:function(){var e=this.gamepad,t=this.status,i=e.mapping.getRawID(41),l=e.buttons[i];return null!=l&&l.hasState(t)},__class__:flixel_input_gamepad_lists_FlxGamepadButtonList,__properties__:$extend(flixel_input_gamepad_lists_FlxBaseGamepadList.prototype.__properties__,{get_RIGHT_STICK_DIGITAL_LEFT:"get_RIGHT_STICK_DIGITAL_LEFT",get_RIGHT_STICK_DIGITAL_DOWN:"get_RIGHT_STICK_DIGITAL_DOWN",get_RIGHT_STICK_DIGITAL_RIGHT:"get_RIGHT_STICK_DIGITAL_RIGHT",get_RIGHT_STICK_DIGITAL_UP:"get_RIGHT_STICK_DIGITAL_UP",get_LEFT_STICK_DIGITAL_LEFT:"get_LEFT_STICK_DIGITAL_LEFT",get_LEFT_STICK_DIGITAL_DOWN:"get_LEFT_STICK_DIGITAL_DOWN",get_LEFT_STICK_DIGITAL_RIGHT:"get_LEFT_STICK_DIGITAL_RIGHT",get_LEFT_STICK_DIGITAL_UP:"get_LEFT_STICK_DIGITAL_UP",get_EXTRA_3:"get_EXTRA_3",get_EXTRA_2:"get_EXTRA_2",get_EXTRA_1:"get_EXTRA_1",get_EXTRA_0:"get_EXTRA_0",get_POINTER_Y:"get_POINTER_Y",get_POINTER_X:"get_POINTER_X",get_TILT_ROLL:"get_TILT_ROLL",get_TILT_PITCH:"get_TILT_PITCH",get_DPAD:"get_DPAD",get_RIGHT_ANALOG_STICK:"get_RIGHT_ANALOG_STICK",get_LEFT_ANALOG_STICK:"get_LEFT_ANALOG_STICK",get_RIGHT_TRIGGER:"get_RIGHT_TRIGGER",get_LEFT_TRIGGER:"get_LEFT_TRIGGER",get_RIGHT_TRIGGER_BUTTON:"get_RIGHT_TRIGGER_BUTTON",get_LEFT_TRIGGER_BUTTON:"get_LEFT_TRIGGER_BUTTON",get_DPAD_RIGHT:"get_DPAD_RIGHT",get_DPAD_LEFT:"get_DPAD_LEFT",get_DPAD_DOWN:"get_DPAD_DOWN",get_DPAD_UP:"get_DPAD_UP",get_GUIDE:"get_GUIDE",get_RIGHT_STICK_CLICK:"get_RIGHT_STICK_CLICK",get_LEFT_STICK_CLICK:"get_LEFT_STICK_CLICK",get_START:"get_START",get_BACK:"get_BACK",get_RIGHT_SHOULDER:"get_RIGHT_SHOULDER",get_LEFT_SHOULDER:"get_LEFT_SHOULDER",get_Y:"get_Y",get_X:"get_X",get_B:"get_B",get_A:"get_A"})});var flixel_input_gamepad_lists_FlxGamepadMotionValueList=function(e){this.gamepad=e};$hxClasses["flixel.input.gamepad.lists.FlxGamepadMotionValueList"]=flixel_input_gamepad_lists_FlxGamepadMotionValueList,flixel_input_gamepad_lists_FlxGamepadMotionValueList.__name__="flixel.input.gamepad.lists.FlxGamepadMotionValueList",flixel_input_gamepad_lists_FlxGamepadMotionValueList.prototype={gamepad:null,get_TILT_PITCH:function(){return this.gamepad.mapping.supportsMotion?this.gamepad.getAxis(26):0},get_TILT_ROLL:function(){return this.gamepad.mapping.supportsMotion?this.gamepad.getAxis(27):0},getAxis:function(e){return this.gamepad.mapping.supportsMotion?this.gamepad.getAxis(e):0},get_isSupported:function(){return this.gamepad.mapping.supportsMotion},__class__:flixel_input_gamepad_lists_FlxGamepadMotionValueList,__properties__:{get_TILT_ROLL:"get_TILT_ROLL",get_TILT_PITCH:"get_TILT_PITCH",get_isSupported:"get_isSupported"}};var flixel_input_gamepad_lists_FlxGamepadPointerValueList=function(e){this.gamepad=e};$hxClasses["flixel.input.gamepad.lists.FlxGamepadPointerValueList"]=flixel_input_gamepad_lists_FlxGamepadPointerValueList,flixel_input_gamepad_lists_FlxGamepadPointerValueList.__name__="flixel.input.gamepad.lists.FlxGamepadPointerValueList",flixel_input_gamepad_lists_FlxGamepadPointerValueList.prototype={gamepad:null,get_X:function(){return this.gamepad.mapping.supportsPointer?this.gamepad.getAxis(28):0},get_Y:function(){return this.gamepad.mapping.supportsPointer?this.gamepad.getAxis(29):0},getAxis:function(e){return this.gamepad.mapping.supportsPointer?this.gamepad.getAxis(e):0},get_isSupported:function(){return this.gamepad.mapping.supportsPointer},__class__:flixel_input_gamepad_lists_FlxGamepadPointerValueList,__properties__:{get_Y:"get_Y",get_X:"get_X",get_isSupported:"get_isSupported"}};var flixel_input_gamepad_mappings_FlxGamepadMapping=function(e){this.attachment=flixel_input_gamepad_FlxGamepadAttachment.NONE,this.supportsPointer=!1,this.supportsMotion=!1,null!=e&&this.set_attachment(e),this.initValues()};$hxClasses["flixel.input.gamepad.mappings.FlxGamepadMapping"]=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_FlxGamepadMapping.__name__="flixel.input.gamepad.mappings.FlxGamepadMapping",flixel_input_gamepad_mappings_FlxGamepadMapping.prototype={supportsMotion:null,supportsPointer:null,leftStick:null,rightStick:null,attachment:null,manufacturer:null,initValues:function(){},getAnalogStick:function(e){switch(e){case 19:return this.leftStick;case 20:return this.rightStick;default:return null}},getID:function(e){return-1},getRawID:function(e){return-1},isAxisFlipped:function(e){return!1},isAxisForMotion:function(e){return!1},set_attachment:function(e){return this.attachment=e},getInputLabel:function(e){if(-1==this.getRawID(e))return null;switch(e){case 0:return"a";case 1:return"b";case 2:return"x";case 3:return"y";case 4:return"lb";case 5:return"rb";case 6:return"back";case 7:return"start";case 8:return"ls-click";case 9:return"rs-click";case 10:return"guide";case 11:return"up";case 12:return"down";case 13:return"left";case 14:return"right";case 15:return"l2-click";case 16:return"r2-click";case 17:return"lt";case 18:return"rt";case 19:return"ls";case 20:return"rs";case 21:return"dpad";case 34:return"ls-up";case 35:return"ls-right";case 36:return"ls-down";case 37:return"ls-left";case 38:return"rs-up";case 39:return"rs-right";case 40:return"rs-down";case 41:return"rs-left";default:return null}},__class__:flixel_input_gamepad_mappings_FlxGamepadMapping,__properties__:{set_attachment:"set_attachment"}};var flixel_input_gamepad_mappings_Manufacturer=$hxEnums["flixel.input.gamepad.mappings.Manufacturer"]={__ename__:"flixel.input.gamepad.mappings.Manufacturer",__constructs__:["GooglePepper","AdobeWindows","Unknown"],GooglePepper:{_hx_index:0,__enum__:"flixel.input.gamepad.mappings.Manufacturer",toString:$estr},AdobeWindows:{_hx_index:1,__enum__:"flixel.input.gamepad.mappings.Manufacturer",toString:$estr},Unknown:{_hx_index:2,__enum__:"flixel.input.gamepad.mappings.Manufacturer",toString:$estr}};flixel_input_gamepad_mappings_Manufacturer.__meta__={obj:{SuppressWarnings:["checkstyle:MemberName"]}};var flixel_input_gamepad_mappings_LogitechMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.LogitechMapping"]=flixel_input_gamepad_mappings_LogitechMapping,flixel_input_gamepad_mappings_LogitechMapping.__name__="flixel.input.gamepad.mappings.LogitechMapping",flixel_input_gamepad_mappings_LogitechMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_LogitechMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_LogitechID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_LogitechID.RIGHT_ANALOG_STICK},getID:function(e){switch(e){case-5:return 10;case 0:return 2;case 1:return 0;case 2:return 1;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 17;case 7:return 18;case 8:return 6;case 9:return 7;case 10:return 8;case 11:return 9;case 16:return 11;case 17:return 12;case 18:return 13;case 19:return 14;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 1;case 1:return 2;case 2:return 0;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 8;case 7:return 9;case 8:return 10;case 9:return 11;case 10:return-5;case 11:return 16;case 12:return 17;case 13:return 18;case 14:return 19;case 17:return 6;case 18:return 7;case 34:return flixel_input_gamepad_id_LogitechID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_LogitechID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_LogitechID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_LogitechID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_LogitechID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_LogitechID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_LogitechID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_LogitechID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"2";case 1:return"3";case 2:return"1";case 3:return"4";case 4:return"5";case 5:return"6";case 6:return"9";case 7:return"10";case 10:return"logitech";case 17:return"7";case 18:return"8";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},__class__:flixel_input_gamepad_mappings_LogitechMapping});var flixel_input_gamepad_mappings_MFiMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.MFiMapping"]=flixel_input_gamepad_mappings_MFiMapping,flixel_input_gamepad_mappings_MFiMapping.__name__="flixel.input.gamepad.mappings.MFiMapping",flixel_input_gamepad_mappings_MFiMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_MFiMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_MFiID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_MFiID.RIGHT_ANALOG_STICK},getID:function(e){switch(e){case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 6;case 11:return 10;case 12:return 7;case 13:return 8;case 14:return 9;case 15:return 4;case 16:return 5;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 6:return 10;case 7:return 12;case 8:return 13;case 9:return 14;case 10:return 11;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 17:return 4;case 18:return 5;case 34:return flixel_input_gamepad_id_MFiID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_MFiID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_MFiID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_MFiID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_MFiID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_MFiID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_MFiID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_MFiID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},__class__:flixel_input_gamepad_mappings_MFiMapping});var flixel_input_gamepad_mappings_MayflashWiiRemoteMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.MayflashWiiRemoteMapping"]=flixel_input_gamepad_mappings_MayflashWiiRemoteMapping,flixel_input_gamepad_mappings_MayflashWiiRemoteMapping.__name__="flixel.input.gamepad.mappings.MayflashWiiRemoteMapping",flixel_input_gamepad_mappings_MayflashWiiRemoteMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_MayflashWiiRemoteMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.supportsPointer=!0},getID:function(e){switch(this.attachment._hx_index){case 0:return this.getIDNunchuk(e);case 1:return this.getIDClassicController(e);case 2:return this.getIDDefault(e)}},getIDClassicController:function(e){switch(e){case 4:return 11;case 5:return 12;case 6:return 13;case 7:return 14;case 8:return 2;case 9:return 3;case 10:return 0;case 11:return 1;case 12:return 17;case 13:return 18;case 14:return 4;case 15:return 5;case 16:return 6;case 17:return 7;case 19:return 10;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getIDNunchuk:function(e){switch(e){case 4:return 11;case 5:return 12;case 6:return 13;case 7:return 14;case 8:return 2;case 9:return 3;case 10:return 0;case 11:return 1;case 12:return 6;case 13:return 7;case 14:return 17;case 15:return 4;case 19:return 10;default:flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawUp,flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawDown,flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawLeft,flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawRight;return-1}},getIDDefault:function(e){switch(e){case 8:return 2;case 9:return 3;case 10:return 0;case 11:return 1;case 12:return 6;case 13:return 7;case 19:return 10;case 22:return 11;case 23:return 12;case 24:return 13;case 25:return 14;default:return-1}},getRawID:function(e){switch(this.attachment._hx_index){case 0:return this.getRawNunchuk(e);case 1:return this.getRawClassicController(e);case 2:return this.getRawDefault(e)}},getRawClassicController:function(e){switch(e){case 0:return 10;case 1:return 11;case 2:return 8;case 3:return 9;case 4:return 14;case 5:return 15;case 6:return 16;case 7:return 17;case 10:return 19;case 11:return 4;case 12:return 5;case 13:return 6;case 14:return 7;case 17:return 12;case 18:return 13;case 30:case 31:return-1;case 34:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_ANALOG_STICK.rawLeft;default:return this.getRawDefault(e)}},getRawNunchuk:function(e){switch(e){case 0:return 10;case 1:return 11;case 2:return 8;case 3:return 9;case 4:return 15;case 6:return 12;case 7:return 13;case 10:return 19;case 11:return 4;case 12:return 5;case 13:return 6;case 14:return 7;case 17:return 14;case 28:return 2;case 29:return 3;case 34:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK.rawLeft;default:return-1}},getRawDefault:function(e){switch(e){case 0:return 10;case 1:return 11;case 2:return 8;case 3:return 9;case 6:return 12;case 7:return 13;case 10:return 19;case 11:return 22;case 12:return 23;case 13:return 24;case 14:return 25;default:return-1}},set_attachment:function(e){var t;switch(e._hx_index){case 0:case 1:t=flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK;break;case 2:t=flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_DPAD}return this.leftStick=t,this.rightStick=1==e._hx_index?flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_ANALOG_STICK:null,flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.set_attachment.call(this,e)},getInputLabel:function(e){var t=flixel_input_gamepad_mappings_WiiRemoteMapping.getWiiInputLabel(e,this.attachment);return null==t?flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e):t},__class__:flixel_input_gamepad_mappings_MayflashWiiRemoteMapping});var flixel_input_gamepad_mappings_OUYAMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.OUYAMapping"]=flixel_input_gamepad_mappings_OUYAMapping,flixel_input_gamepad_mappings_OUYAMapping.__name__="flixel.input.gamepad.mappings.OUYAMapping",flixel_input_gamepad_mappings_OUYAMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_OUYAMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_OUYAID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_OUYAID.RIGHT_ANALOG_STICK},getID:function(e){switch(e){case 4:return 17;case 5:return 18;case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 13:return 8;case 14:return 9;case 15:return 4;case 16:return 5;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;case 16777234:return 10;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 8:return 13;case 9:return 14;case 10:return 16777234;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 17:return 4;case 18:return 5;case 34:return flixel_input_gamepad_id_OUYAID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_OUYAID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_OUYAID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_OUYAID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_OUYAID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_OUYAID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_OUYAID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_OUYAID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"o";case 1:return"a";case 2:return"u";case 3:return"y";case 10:return"home";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},__class__:flixel_input_gamepad_mappings_OUYAMapping});var flixel_input_gamepad_mappings_PS4Mapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.PS4Mapping"]=flixel_input_gamepad_mappings_PS4Mapping,flixel_input_gamepad_mappings_PS4Mapping.__name__="flixel.input.gamepad.mappings.PS4Mapping",flixel_input_gamepad_mappings_PS4Mapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_PS4Mapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_PS4ID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_PS4ID.RIGHT_ANALOG_STICK,this.supportsMotion=!0,this.supportsPointer=!0},getID:function(e){switch(e){case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 6;case 11:return 10;case 12:return 7;case 13:return 8;case 14:return 9;case 15:return 4;case 16:return 5;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 6:return 10;case 7:return 12;case 8:return 13;case 9:return 14;case 10:return 11;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 17:return 4;case 18:return 5;case 34:return flixel_input_gamepad_id_PS4ID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_PS4ID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_PS4ID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_PS4ID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_PS4ID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_PS4ID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_PS4ID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_PS4ID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"x";case 1:return"circle";case 2:return"square";case 3:return"triangle";case 4:return"l1";case 5:return"r1";case 6:return"share";case 7:return"options";case 10:return"ps";case 17:return"l2";case 18:return"r2";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},__class__:flixel_input_gamepad_mappings_PS4Mapping});var flixel_input_gamepad_mappings_PSVitaMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.PSVitaMapping"]=flixel_input_gamepad_mappings_PSVitaMapping,flixel_input_gamepad_mappings_PSVitaMapping.__name__="flixel.input.gamepad.mappings.PSVitaMapping",flixel_input_gamepad_mappings_PSVitaMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_PSVitaMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK},getID:function(e){switch(e){case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 6;case 12:return 7;case 15:return 4;case 16:return 5;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?34:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 6:return 10;case 7:return 12;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 34:return flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"x";case 1:return"circle";case 2:return"square";case 3:return"triangle";case 4:return"l1";case 5:return"r1";case 6:return"select";case 17:return"l2";case 18:return"r2";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},isAxisFlipped:function(e){return e==flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK.y||e==flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK.y},__class__:flixel_input_gamepad_mappings_PSVitaMapping});var flixel_input_gamepad_mappings_SwitchJoyconLeftMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.SwitchJoyconLeftMapping"]=flixel_input_gamepad_mappings_SwitchJoyconLeftMapping,flixel_input_gamepad_mappings_SwitchJoyconLeftMapping.__name__="flixel.input.gamepad.mappings.SwitchJoyconLeftMapping",flixel_input_gamepad_mappings_SwitchJoyconLeftMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_SwitchJoyconLeftMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_ANALOG_STICK,this.supportsMotion=!0,this.supportsPointer=!1},getID:function(e){switch(e){case 4:return 17;case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 30;case 12:return 7;case 13:return 8;case 15:return 4;case 16:return 5;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 7:return 12;case 8:return 13;case 17:return 4;case 30:return 10;case 34:return flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"down";case 1:return"right";case 2:return"left";case 3:return"up";case 4:return"sl";case 5:return"sr";case 7:return"minus";case 17:return"zl";case 30:return"l";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},__class__:flixel_input_gamepad_mappings_SwitchJoyconLeftMapping});var flixel_input_gamepad_mappings_SwitchJoyconRightMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.SwitchJoyconRightMapping"]=flixel_input_gamepad_mappings_SwitchJoyconRightMapping,flixel_input_gamepad_mappings_SwitchJoyconRightMapping.__name__="flixel.input.gamepad.mappings.SwitchJoyconRightMapping",flixel_input_gamepad_mappings_SwitchJoyconRightMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_SwitchJoyconRightMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_ANALOG_STICK,this.supportsMotion=!0,this.supportsPointer=!1},getID:function(e){switch(e){case 5:return 18;case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 30;case 11:return 10;case 12:return 7;case 13:return 8;case 15:return 4;case 16:return 5;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 7:return 12;case 8:return 13;case 10:return 11;case 18:return 5;case 30:return 10;case 34:return flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"a";case 1:return"x";case 2:return"b";case 3:return"y";case 4:return"sl";case 5:return"sr";case 7:return"plus";case 10:return"home";case 18:return"zr";case 30:return"r";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},__class__:flixel_input_gamepad_mappings_SwitchJoyconRightMapping});var flixel_input_gamepad_mappings_SwitchProMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.SwitchProMapping"]=flixel_input_gamepad_mappings_SwitchProMapping,flixel_input_gamepad_mappings_SwitchProMapping.__name__="flixel.input.gamepad.mappings.SwitchProMapping",flixel_input_gamepad_mappings_SwitchProMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_SwitchProMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_SwitchProID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_SwitchProID.RIGHT_ANALOG_STICK,this.supportsMotion=!0,this.supportsPointer=!1},getID:function(e){switch(e){case 4:return 17;case 5:return 18;case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 6;case 11:return 10;case 12:return 7;case 13:return 8;case 14:return 9;case 15:return 4;case 16:return 5;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;case 21:return 30;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 6:return 10;case 7:return 12;case 8:return 13;case 9:return 14;case 10:return 11;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 17:return 4;case 18:return 5;case 30:return 21;case 34:return flixel_input_gamepad_id_SwitchProID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_SwitchProID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_SwitchProID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_SwitchProID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_SwitchProID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_SwitchProID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_SwitchProID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_SwitchProID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},getInputLabel:function(e){switch(e){case 0:return"b";case 1:return"a";case 2:return"y";case 3:return"x";case 4:return"l";case 5:return"r";case 6:return"minus";case 7:return"plus";case 10:return"home";case 17:return"zl";case 18:return"zr";case 30:return"capture";default:return flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e)}},__class__:flixel_input_gamepad_mappings_SwitchProMapping});var flixel_input_gamepad_mappings_WiiRemoteMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.WiiRemoteMapping"]=flixel_input_gamepad_mappings_WiiRemoteMapping,flixel_input_gamepad_mappings_WiiRemoteMapping.__name__="flixel.input.gamepad.mappings.WiiRemoteMapping",flixel_input_gamepad_mappings_WiiRemoteMapping.getWiiInputLabel=function(e,t){switch(e){case 6:return"minus";case 7:return"plus";case 10:return"home"}switch(t._hx_index){case 0:switch(e){case 2:return"1";case 3:return"2";case 4:return"c";case 17:return"z";default:return null}break;case 1:switch(e){case 0:return"b";case 1:return"a";case 2:return"y";case 3:return"x";case 4:return"zl";case 5:return"zr";case 17:return"l";case 18:return"r";case 30:return"1";case 31:return"2";default:return null}break;case 2:switch(e){case 2:return"1";case 3:return"2";case 6:return"minus";case 7:return"plus";case 10:return"home";default:return null}}},flixel_input_gamepad_mappings_WiiRemoteMapping.getLabelClassicController=function(e){switch(e){case 0:return"b";case 1:return"a";case 2:return"y";case 3:return"x";case 4:return"zl";case 5:return"zr";case 17:return"l";case 18:return"r";case 30:return"1";case 31:return"2";default:return null}},flixel_input_gamepad_mappings_WiiRemoteMapping.getLabelNunchuk=function(e){switch(e){case 2:return"1";case 3:return"2";case 4:return"c";case 17:return"z";default:return null}},flixel_input_gamepad_mappings_WiiRemoteMapping.getLabelDefault=function(e){switch(e){case 2:return"1";case 3:return"2";case 6:return"minus";case 7:return"plus";case 10:return"home";default:return null}},flixel_input_gamepad_mappings_WiiRemoteMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_WiiRemoteMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.supportsMotion=!0,this.supportsPointer=!1},getID:function(e){switch(this.attachment._hx_index){case 0:return this.getIDNunchuk(e);case 1:return this.getIDClassicController(e);case 2:return this.getIDDefault(e)}},getIDClassicController:function(e){switch(e){case 5:return 11;case 6:return 12;case 7:return 13;case 8:return 14;case 9:return 1;case 10:return 0;case 11:return 2;case 12:return 3;case 13:return 17;case 14:return 18;case 15:return 4;case 16:return 5;case 17:return 7;case 18:return 6;case 19:return 10;case 20:return 30;case 21:return 31;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getIDNunchuk:function(e){switch(e){case 5:return 11;case 6:return 12;case 7:return 13;case 8:return 14;case 9:return 0;case 10:return 1;case 11:return 4;case 12:return 17;case 13:return 2;case 14:return 3;case 15:return 7;case 16:return 6;case 17:return 10;default:flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawUp,flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawDown,flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawLeft,flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawRight;return-1}},getIDDefault:function(e){switch(e){case 9:return 2;case 10:return 3;case 11:return 0;case 12:return 1;case 13:return 7;case 14:return 6;case 15:return 10;case 22:return 11;case 23:return 12;case 24:return 13;case 25:return 14;default:return-1}},getRawID:function(e){switch(this.attachment._hx_index){case 0:return this.getRawNunchuk(e);case 1:return this.getRawClassicController(e);case 2:return this.getRawDefault(e)}},getRawClassicController:function(e){switch(e){case 0:return 10;case 1:return 9;case 2:return 11;case 3:return 12;case 4:return 15;case 5:return 16;case 6:return 18;case 7:return 17;case 10:return 19;case 11:return 5;case 12:return 6;case 13:return 7;case 14:return 8;case 17:return 13;case 18:return 14;case 30:return 20;case 31:return 21;case 34:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_WiiRemoteID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_WiiRemoteID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_WiiRemoteID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_WiiRemoteID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},getRawNunchuk:function(e){switch(e){case 0:return 9;case 1:return 10;case 2:return 13;case 3:return 14;case 4:return 11;case 6:return 16;case 7:return 15;case 10:return 17;case 11:return 5;case 12:return 6;case 13:return 7;case 14:return 8;case 17:return 12;case 26:return 3;case 27:return 2;case 34:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK.rawLeft;default:return-1}},getRawDefault:function(e){switch(e){case 0:return 11;case 1:return 12;case 2:return 9;case 3:return 10;case 6:return 14;case 7:return 13;case 10:return 15;case 11:return 22;case 12:return 23;case 13:return 24;case 14:return 25;case 26:return 2;case 27:return 3;default:return-1}},isAxisForMotion:function(e){if(this.attachment==flixel_input_gamepad_FlxGamepadAttachment.NONE){if(2==e||3==e)return!0}else if(this.attachment==flixel_input_gamepad_FlxGamepadAttachment.WII_NUNCHUCK&&(3==e||2==e))return!0;return!1},isAxisFlipped:function(e){return 4==e},set_attachment:function(e){var t;switch(e._hx_index){case 0:case 1:t=flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK;break;case 2:t=flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD}return this.leftStick=t,this.rightStick=1==e._hx_index?flixel_input_gamepad_id_WiiRemoteID.RIGHT_ANALOG_STICK:null,flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.set_attachment.call(this,e)},getInputLabel:function(e){var t=flixel_input_gamepad_mappings_WiiRemoteMapping.getWiiInputLabel(e,this.attachment);return null==t?flixel_input_gamepad_mappings_FlxGamepadMapping.prototype.getInputLabel.call(this,e):t},__class__:flixel_input_gamepad_mappings_WiiRemoteMapping});var flixel_input_gamepad_mappings_XInputMapping=function(e){flixel_input_gamepad_mappings_FlxGamepadMapping.call(this,e)};$hxClasses["flixel.input.gamepad.mappings.XInputMapping"]=flixel_input_gamepad_mappings_XInputMapping,flixel_input_gamepad_mappings_XInputMapping.__name__="flixel.input.gamepad.mappings.XInputMapping",flixel_input_gamepad_mappings_XInputMapping.__super__=flixel_input_gamepad_mappings_FlxGamepadMapping,flixel_input_gamepad_mappings_XInputMapping.prototype=$extend(flixel_input_gamepad_mappings_FlxGamepadMapping.prototype,{initValues:function(){this.leftStick=flixel_input_gamepad_id_XInputID.LEFT_ANALOG_STICK,this.rightStick=flixel_input_gamepad_id_XInputID.RIGHT_ANALOG_STICK},getID:function(e){switch(e){case-1:return 10;case 4:return 17;case 5:return 18;case 6:return 0;case 7:return 1;case 8:return 2;case 9:return 3;case 10:return 6;case 12:return 7;case 13:return 8;case 14:return 9;case 15:return 4;case 16:return 5;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;default:var t=e;return t==this.leftStick.rawUp?34:(t=e)==this.leftStick.rawDown?36:(t=e)==this.leftStick.rawLeft?37:(t=e)==this.leftStick.rawRight?35:(t=e)==this.rightStick.rawUp?38:(t=e)==this.rightStick.rawDown?40:(t=e)==this.rightStick.rawLeft?41:(t=e)==this.rightStick.rawRight?39:-1}},getRawID:function(e){switch(e){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 15;case 5:return 16;case 6:return 10;case 7:return 12;case 8:return 13;case 9:return 14;case 10:return-1;case 11:return 17;case 12:return 18;case 13:return 19;case 14:return 20;case 17:return 4;case 18:return 5;case 34:return flixel_input_gamepad_id_XInputID.LEFT_ANALOG_STICK.rawUp;case 35:return flixel_input_gamepad_id_XInputID.LEFT_ANALOG_STICK.rawRight;case 36:return flixel_input_gamepad_id_XInputID.LEFT_ANALOG_STICK.rawDown;case 37:return flixel_input_gamepad_id_XInputID.LEFT_ANALOG_STICK.rawLeft;case 38:return flixel_input_gamepad_id_XInputID.RIGHT_ANALOG_STICK.rawUp;case 39:return flixel_input_gamepad_id_XInputID.RIGHT_ANALOG_STICK.rawRight;case 40:return flixel_input_gamepad_id_XInputID.RIGHT_ANALOG_STICK.rawDown;case 41:return flixel_input_gamepad_id_XInputID.RIGHT_ANALOG_STICK.rawLeft;default:return-1}},__class__:flixel_input_gamepad_mappings_XInputMapping});var flixel_input_keyboard_FlxKey={};flixel_input_keyboard_FlxKey.fromString=function(e){return e=e.toUpperCase(),Object.prototype.hasOwnProperty.call(flixel_input_keyboard_FlxKey.fromStringMap.h,e)?flixel_input_keyboard_FlxKey.fromStringMap.h[e]:-1},flixel_input_keyboard_FlxKey.toString=function(e){return flixel_input_keyboard_FlxKey.toStringMap.h[e]};var flixel_input_keyboard_FlxKeyList=function(e,t){flixel_input_FlxBaseKeyList.call(this,e,t)};$hxClasses["flixel.input.keyboard.FlxKeyList"]=flixel_input_keyboard_FlxKeyList,flixel_input_keyboard_FlxKeyList.__name__="flixel.input.keyboard.FlxKeyList",flixel_input_keyboard_FlxKeyList.__super__=flixel_input_FlxBaseKeyList,flixel_input_keyboard_FlxKeyList.prototype=$extend(flixel_input_FlxBaseKeyList.prototype,{get_A:function(){return this.keyManager.checkStatus(65,this.status)},get_B:function(){return this.keyManager.checkStatus(66,this.status)},get_C:function(){return this.keyManager.checkStatus(67,this.status)},get_D:function(){return this.keyManager.checkStatus(68,this.status)},get_E:function(){return this.keyManager.checkStatus(69,this.status)},get_F:function(){return this.keyManager.checkStatus(70,this.status)},get_G:function(){return this.keyManager.checkStatus(71,this.status)},get_H:function(){return this.keyManager.checkStatus(72,this.status)},get_I:function(){return this.keyManager.checkStatus(73,this.status)},get_J:function(){return this.keyManager.checkStatus(74,this.status)},get_K:function(){return this.keyManager.checkStatus(75,this.status)},get_L:function(){return this.keyManager.checkStatus(76,this.status)},get_M:function(){return this.keyManager.checkStatus(77,this.status)},get_N:function(){return this.keyManager.checkStatus(78,this.status)},get_O:function(){return this.keyManager.checkStatus(79,this.status)},get_P:function(){return this.keyManager.checkStatus(80,this.status)},get_Q:function(){return this.keyManager.checkStatus(81,this.status)},get_R:function(){return this.keyManager.checkStatus(82,this.status)},get_S:function(){return this.keyManager.checkStatus(83,this.status)},get_T:function(){return this.keyManager.checkStatus(84,this.status)},get_U:function(){return this.keyManager.checkStatus(85,this.status)},get_V:function(){return this.keyManager.checkStatus(86,this.status)},get_W:function(){return this.keyManager.checkStatus(87,this.status)},get_X:function(){return this.keyManager.checkStatus(88,this.status)},get_Y:function(){return this.keyManager.checkStatus(89,this.status)},get_Z:function(){return this.keyManager.checkStatus(90,this.status)},get_ZERO:function(){return this.keyManager.checkStatus(48,this.status)},get_ONE:function(){return this.keyManager.checkStatus(49,this.status)},get_TWO:function(){return this.keyManager.checkStatus(50,this.status)},get_THREE:function(){return this.keyManager.checkStatus(51,this.status)},get_FOUR:function(){return this.keyManager.checkStatus(52,this.status)},get_FIVE:function(){return this.keyManager.checkStatus(53,this.status)},get_SIX:function(){return this.keyManager.checkStatus(54,this.status)},get_SEVEN:function(){return this.keyManager.checkStatus(55,this.status)},get_EIGHT:function(){return this.keyManager.checkStatus(56,this.status)},get_NINE:function(){return this.keyManager.checkStatus(57,this.status)},get_PAGEUP:function(){return this.keyManager.checkStatus(33,this.status)},get_PAGEDOWN:function(){return this.keyManager.checkStatus(34,this.status)},get_HOME:function(){return this.keyManager.checkStatus(36,this.status)},get_END:function(){return this.keyManager.checkStatus(35,this.status)},get_INSERT:function(){return this.keyManager.checkStatus(45,this.status)},get_ESCAPE:function(){return this.keyManager.checkStatus(27,this.status)},get_MINUS:function(){return this.keyManager.checkStatus(189,this.status)},get_PLUS:function(){return this.keyManager.checkStatus(187,this.status)},get_DELETE:function(){return this.keyManager.checkStatus(46,this.status)},get_BACKSPACE:function(){return this.keyManager.checkStatus(8,this.status)},get_LBRACKET:function(){return this.keyManager.checkStatus(219,this.status)},get_RBRACKET:function(){return this.keyManager.checkStatus(221,this.status)},get_BACKSLASH:function(){return this.keyManager.checkStatus(220,this.status)},get_CAPSLOCK:function(){return this.keyManager.checkStatus(20,this.status)},get_SEMICOLON:function(){return this.keyManager.checkStatus(186,this.status)},get_QUOTE:function(){return this.keyManager.checkStatus(222,this.status)},get_ENTER:function(){return this.keyManager.checkStatus(13,this.status)},get_SHIFT:function(){return this.keyManager.checkStatus(16,this.status)},get_COMMA:function(){return this.keyManager.checkStatus(188,this.status)},get_PERIOD:function(){return this.keyManager.checkStatus(190,this.status)},get_SLASH:function(){return this.keyManager.checkStatus(191,this.status)},get_GRAVEACCENT:function(){return this.keyManager.checkStatus(192,this.status)},get_CONTROL:function(){return this.keyManager.checkStatus(17,this.status)},get_ALT:function(){return this.keyManager.checkStatus(18,this.status)},get_SPACE:function(){return this.keyManager.checkStatus(32,this.status)},get_UP:function(){return this.keyManager.checkStatus(38,this.status)},get_DOWN:function(){return this.keyManager.checkStatus(40,this.status)},get_LEFT:function(){return this.keyManager.checkStatus(37,this.status)},get_RIGHT:function(){return this.keyManager.checkStatus(39,this.status)},get_TAB:function(){return this.keyManager.checkStatus(9,this.status)},get_PRINTSCREEN:function(){return this.keyManager.checkStatus(301,this.status)},get_F1:function(){return this.keyManager.checkStatus(112,this.status)},get_F2:function(){return this.keyManager.checkStatus(113,this.status)},get_F3:function(){return this.keyManager.checkStatus(114,this.status)},get_F4:function(){return this.keyManager.checkStatus(115,this.status)},get_F5:function(){return this.keyManager.checkStatus(116,this.status)},get_F6:function(){return this.keyManager.checkStatus(117,this.status)},get_F7:function(){return this.keyManager.checkStatus(118,this.status)},get_F8:function(){return this.keyManager.checkStatus(119,this.status)},get_F9:function(){return this.keyManager.checkStatus(120,this.status)},get_F10:function(){return this.keyManager.checkStatus(121,this.status)},get_F11:function(){return this.keyManager.checkStatus(122,this.status)},get_F12:function(){return this.keyManager.checkStatus(123,this.status)},get_NUMPADONE:function(){return this.keyManager.checkStatus(97,this.status)},get_NUMPADTWO:function(){return this.keyManager.checkStatus(98,this.status)},get_NUMPADTHREE:function(){return this.keyManager.checkStatus(99,this.status)},get_NUMPADFOUR:function(){return this.keyManager.checkStatus(100,this.status)},get_NUMPADFIVE:function(){return this.keyManager.checkStatus(101,this.status)},get_NUMPADSIX:function(){return this.keyManager.checkStatus(102,this.status)},get_NUMPADSEVEN:function(){return this.keyManager.checkStatus(103,this.status)},get_NUMPADEIGHT:function(){return this.keyManager.checkStatus(104,this.status)},get_NUMPADNINE:function(){return this.keyManager.checkStatus(105,this.status)},get_NUMPADZERO:function(){return this.keyManager.checkStatus(96,this.status)},get_NUMPADMINUS:function(){return this.keyManager.checkStatus(109,this.status)},get_NUMPADPLUS:function(){return this.keyManager.checkStatus(107,this.status)},get_NUMPADPERIOD:function(){return this.keyManager.checkStatus(110,this.status)},get_NUMPADMULTIPLY:function(){return this.keyManager.checkStatus(106,this.status)},__class__:flixel_input_keyboard_FlxKeyList,__properties__:$extend(flixel_input_FlxBaseKeyList.prototype.__properties__,{get_NUMPADMULTIPLY:"get_NUMPADMULTIPLY",get_NUMPADPERIOD:"get_NUMPADPERIOD",get_NUMPADPLUS:"get_NUMPADPLUS",get_NUMPADMINUS:"get_NUMPADMINUS",get_NUMPADZERO:"get_NUMPADZERO",get_NUMPADNINE:"get_NUMPADNINE",get_NUMPADEIGHT:"get_NUMPADEIGHT",get_NUMPADSEVEN:"get_NUMPADSEVEN",get_NUMPADSIX:"get_NUMPADSIX",get_NUMPADFIVE:"get_NUMPADFIVE",get_NUMPADFOUR:"get_NUMPADFOUR",get_NUMPADTHREE:"get_NUMPADTHREE",get_NUMPADTWO:"get_NUMPADTWO",get_NUMPADONE:"get_NUMPADONE",get_F12:"get_F12",get_F11:"get_F11",get_F10:"get_F10",get_F9:"get_F9",get_F8:"get_F8",get_F7:"get_F7",get_F6:"get_F6",get_F5:"get_F5",get_F4:"get_F4",get_F3:"get_F3",get_F2:"get_F2",get_F1:"get_F1",get_PRINTSCREEN:"get_PRINTSCREEN",get_TAB:"get_TAB",get_RIGHT:"get_RIGHT",get_LEFT:"get_LEFT",get_DOWN:"get_DOWN",get_UP:"get_UP",get_SPACE:"get_SPACE",get_ALT:"get_ALT",get_CONTROL:"get_CONTROL",get_GRAVEACCENT:"get_GRAVEACCENT",get_SLASH:"get_SLASH",get_PERIOD:"get_PERIOD",get_COMMA:"get_COMMA",get_SHIFT:"get_SHIFT",get_ENTER:"get_ENTER",get_QUOTE:"get_QUOTE",get_SEMICOLON:"get_SEMICOLON",get_CAPSLOCK:"get_CAPSLOCK",get_BACKSLASH:"get_BACKSLASH",get_RBRACKET:"get_RBRACKET",get_LBRACKET:"get_LBRACKET",get_BACKSPACE:"get_BACKSPACE",get_DELETE:"get_DELETE",get_PLUS:"get_PLUS",get_MINUS:"get_MINUS",get_ESCAPE:"get_ESCAPE",get_INSERT:"get_INSERT",get_END:"get_END",get_HOME:"get_HOME",get_PAGEDOWN:"get_PAGEDOWN",get_PAGEUP:"get_PAGEUP",get_NINE:"get_NINE",get_EIGHT:"get_EIGHT",get_SEVEN:"get_SEVEN",get_SIX:"get_SIX",get_FIVE:"get_FIVE",get_FOUR:"get_FOUR",get_THREE:"get_THREE",get_TWO:"get_TWO",get_ONE:"get_ONE",get_ZERO:"get_ZERO",get_Z:"get_Z",get_Y:"get_Y",get_X:"get_X",get_W:"get_W",get_V:"get_V",get_U:"get_U",get_T:"get_T",get_S:"get_S",get_R:"get_R",get_Q:"get_Q",get_P:"get_P",get_O:"get_O",get_N:"get_N",get_M:"get_M",get_L:"get_L",get_K:"get_K",get_J:"get_J",get_I:"get_I",get_H:"get_H",get_G:"get_G",get_F:"get_F",get_E:"get_E",get_D:"get_D",get_C:"get_C",get_B:"get_B",get_A:"get_A"})});var flixel_input_keyboard_FlxKeyboard=function(){flixel_input_FlxKeyManager.call(this,function(e,t){return new flixel_input_keyboard_FlxKeyList(e,t)}),this.preventDefaultKeys=[38,40,37,39,32,9];for(var e=haxe_ds_StringMap.valueIterator(flixel_input_keyboard_FlxKey.fromStringMap.h);e.hasNext();){var t=e.next();if(-2!=t&&-1!=t){var i=new flixel_input_FlxInput(t);this._keyListArray.push(i),this._keyListMap.h[t]=i}}};$hxClasses["flixel.input.keyboard.FlxKeyboard"]=flixel_input_keyboard_FlxKeyboard,flixel_input_keyboard_FlxKeyboard.__name__="flixel.input.keyboard.FlxKeyboard",flixel_input_keyboard_FlxKeyboard.__super__=flixel_input_FlxKeyManager,flixel_input_keyboard_FlxKeyboard.prototype=$extend(flixel_input_FlxKeyManager.prototype,{onKeyUp:function(e){flixel_input_FlxKeyManager.prototype.onKeyUp.call(this,e)},onKeyDown:function(e){flixel_input_FlxKeyManager.prototype.onKeyDown.call(this,e)},resolveKeyCode:function(e){return e.keyCode},record:function(){for(var e=null,t=0,i=this._keyListArray;t<i.length;){var l=i[t];++t,null!=l&&0!=l.current&&-1!=l.current&&(null==e&&(e=[]),e.push(new flixel_system_replay_CodeValuePair(l.ID,l.current)))}return e},playback:function(e){for(var t=0,i=e.length;t<i;){var l=e[t++];this._keyListMap.h[l.code].current=l.value}},__class__:flixel_input_keyboard_FlxKeyboard});var flixel_input_mouse__$FlxMouse_GraphicCursor=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_input_mouse__$FlxMouse_GraphicCursor.preload)this.__fromImage(flixel_input_mouse__$FlxMouse_GraphicCursor.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_input_mouse__$FlxMouse_GraphicCursor.resourceName),flixel_input_mouse__$FlxMouse_GraphicCursor.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_input_mouse__$FlxMouse_GraphicCursor.preload&&(flixel_input_mouse__$FlxMouse_GraphicCursor.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.input.mouse._FlxMouse.GraphicCursor"]=flixel_input_mouse__$FlxMouse_GraphicCursor,flixel_input_mouse__$FlxMouse_GraphicCursor.__name__="flixel.input.mouse._FlxMouse.GraphicCursor",flixel_input_mouse__$FlxMouse_GraphicCursor.preload=null,flixel_input_mouse__$FlxMouse_GraphicCursor.__super__=openfl_display_BitmapData,flixel_input_mouse__$FlxMouse_GraphicCursor.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_input_mouse__$FlxMouse_GraphicCursor});var flixel_input_mouse_FlxMouseButton=function(e){this.justPressedTimeInTicks=-1;var t=flixel_math_FlxPoint._pool.get().set(0,0);t._inPool=!1,this.justPressedPosition=t,flixel_input_FlxInput.call(this,e)};$hxClasses["flixel.input.mouse.FlxMouseButton"]=flixel_input_mouse_FlxMouseButton,flixel_input_mouse_FlxMouseButton.__name__="flixel.input.mouse.FlxMouseButton",flixel_input_mouse_FlxMouseButton.__interfaces__=[flixel_util_IFlxDestroyable],flixel_input_mouse_FlxMouseButton.getByID=function(e){switch(e){case-3:return flixel_FlxG.mouse._rightButton;case-2:return flixel_FlxG.mouse._middleButton;case-1:return flixel_FlxG.mouse._leftButton}},flixel_input_mouse_FlxMouseButton.__super__=flixel_input_FlxInput,flixel_input_mouse_FlxMouseButton.prototype=$extend(flixel_input_FlxInput.prototype,{justPressedPosition:null,justPressedTimeInTicks:null,update:function(){flixel_input_FlxInput.prototype.update.call(this),2==this.current?(this.justPressedPosition.set(flixel_FlxG.mouse.screenX,flixel_FlxG.mouse.screenY),this.justPressedTimeInTicks=flixel_FlxG.game.ticks):-1==this.current&&flixel_FlxG.swipes.push(new flixel_input_FlxSwipe(this.ID,this.justPressedPosition,flixel_FlxG.mouse.getScreenPosition(),this.justPressedTimeInTicks))},destroy:function(){this.justPressedPosition=flixel_util_FlxDestroyUtil.put(this.justPressedPosition)},onDown:function(e){flixel_FlxG.mouse.enabled&&this.press()},onUp:function(e){flixel_FlxG.mouse.enabled&&this.release()},__class__:flixel_input_mouse_FlxMouseButton});var flixel_input_touch_FlxTouch=function(e,t,i){null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.justPressedTimeInTicks=-1;var l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1,this.justPressedPosition=l,this.flashPoint=new openfl_geom_Point,flixel_input_FlxPointer.call(this),this.input=new flixel_input_FlxInput(i),this.setXY(e,t)};$hxClasses["flixel.input.touch.FlxTouch"]=flixel_input_touch_FlxTouch,flixel_input_touch_FlxTouch.__name__="flixel.input.touch.FlxTouch",flixel_input_touch_FlxTouch.__interfaces__=[flixel_input_IFlxInput,flixel_util_IFlxDestroyable],flixel_input_touch_FlxTouch.__super__=flixel_input_FlxPointer,flixel_input_touch_FlxTouch.prototype=$extend(flixel_input_FlxPointer.prototype,{input:null,flashPoint:null,justPressedPosition:null,justPressedTimeInTicks:null,destroy:function(){this.input=null,this.justPressedPosition=flixel_util_FlxDestroyUtil.put(this.justPressedPosition),this.flashPoint=null},recycle:function(e,t,i){this.setXY(e,t),this.input.ID=i,this.input.reset()},update:function(){this.input.update(),2==this.input.current?(this.justPressedPosition.set(this.screenX,this.screenY),this.justPressedTimeInTicks=flixel_FlxG.game.ticks):-1==this.input.current&&flixel_FlxG.swipes.push(new flixel_input_FlxSwipe(this.input.ID,this.justPressedPosition,this.getScreenPosition(),this.justPressedTimeInTicks))},setXY:function(e,t){this.flashPoint.setTo(e,t),this.flashPoint=flixel_FlxG.game.globalToLocal(this.flashPoint),this._globalScreenX=this.flashPoint.x/flixel_FlxG.scaleMode.scale.x|0,this._globalScreenY=this.flashPoint.y/flixel_FlxG.scaleMode.scale.y|0,this.updatePositions()},get_touchPointID:function(){return this.input.ID},get_justReleased:function(){return-1==this.input.current},get_released:function(){var e=this.input;return 0==e.current||-1==e.current},get_pressed:function(){var e=this.input;return 1==e.current||2==e.current},get_justPressed:function(){return 2==this.input.current},__class__:flixel_input_touch_FlxTouch,__properties__:{get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_released:"get_released",get_justReleased:"get_justReleased",get_touchPointID:"get_touchPointID"}});var flixel_input_touch_FlxTouchManager=function(){this.list=[],this._inactiveTouches=[],this._touchesCache=new haxe_ds_IntMap,flixel_input_touch_FlxTouchManager.maxTouchPoints=openfl_ui_Multitouch.maxTouchPoints,openfl_ui_Multitouch.inputMode=2,openfl_Lib.get_current().stage.addEventListener("touchBegin",$bind(this,this.handleTouchBegin)),openfl_Lib.get_current().stage.addEventListener("touchEnd",$bind(this,this.handleTouchEnd)),openfl_Lib.get_current().stage.addEventListener("touchMove",$bind(this,this.handleTouchMove))};$hxClasses["flixel.input.touch.FlxTouchManager"]=flixel_input_touch_FlxTouchManager,flixel_input_touch_FlxTouchManager.__name__="flixel.input.touch.FlxTouchManager",flixel_input_touch_FlxTouchManager.__interfaces__=[flixel_input_IFlxInputManager],flixel_input_touch_FlxTouchManager.prototype={list:null,_inactiveTouches:null,_touchesCache:null,getByID:function(e){return this._touchesCache.h[e]},getFirst:function(){return null!=this.list[0]?this.list[0]:null},destroy:function(){for(var e=0,t=this.list;e<t.length;){i=t[e];++e,i.destroy()}this.list=null;for(var e=0,t=this._inactiveTouches;e<t.length;){var i=t[e];++e,i.destroy()}this._inactiveTouches=null,this._touchesCache=null},justStarted:function(e){null==e&&(e=[]);var t=e.length;t>0&&e.splice(0,t);for(var i=0,l=this.list;i<l.length;){var n=l[i];++i,2==n.input.current&&e.push(n)}return e},justReleased:function(e){null==e&&(e=[]);var t=e.length;t>0&&e.splice(0,t);for(var i=0,l=this.list;i<l.length;){var n=l[i];++i,-1==n.input.current&&e.push(n)}return e},reset:function(){for(var e=this._touchesCache.keys();e.hasNext();){var t=e.next();this._touchesCache.remove(t)}for(var i=0,l=this.list;i<l.length;){var n=l[i];++i,n.input.reset(),this._inactiveTouches.push(n)}this.list.splice(0,this.list.length)},handleTouchBegin:function(e){var t=this._touchesCache.h[e.touchPointID];null!=t?t.setXY(0|e.stageX,0|e.stageY):t=this.recycle(0|e.stageX,0|e.stageY,e.touchPointID),t.input.press()},handleTouchEnd:function(e){var t=this._touchesCache.h[e.touchPointID];null!=t&&t.input.release()},handleTouchMove:function(e){var t=this._touchesCache.h[e.touchPointID];null!=t&&t.setXY(0|e.stageX,0|e.stageY)},add:function(e){return this.list.push(e),this._touchesCache.h[e.input.ID]=e,e},recycle:function(e,t,i){if(this._inactiveTouches.length>0){var l=this._inactiveTouches.pop();return l.recycle(e,t,i),this.add(l)}return this.add(new flixel_input_touch_FlxTouch(e,t,i))},update:function(){for(var e,t=this.list.length-1;t>=0;){var i=(e=this.list[t]).input;0!=i.current&&-1!=i.current||-1==e.input.current?e.update():(e.input.reset(),this._touchesCache.remove(e.input.ID),this.list.splice(t,1),this._inactiveTouches.push(e)),--t}},onFocus:function(){},onFocusLost:function(){this.reset()},__class__:flixel_input_touch_FlxTouchManager};var flixel_math_FlxAngle=function(){};$hxClasses["flixel.math.FlxAngle"]=flixel_math_FlxAngle,flixel_math_FlxAngle.__name__="flixel.math.FlxAngle",flixel_math_FlxAngle.__properties__={get_TO_RAD:"get_TO_RAD",get_TO_DEG:"get_TO_DEG"},flixel_math_FlxAngle.wrapAngle=function(e){return e>180?e=flixel_math_FlxAngle.wrapAngle(e-360):e<-180&&(e=flixel_math_FlxAngle.wrapAngle(e+360)),e},flixel_math_FlxAngle.asDegrees=function(e){return e*(180/Math.PI)},flixel_math_FlxAngle.asRadians=function(e){return e*(Math.PI/180)},flixel_math_FlxAngle.angleBetween=function(e,t,i){null==i&&(i=!1);var l=t.x+t.origin.x-(e.x+e.origin.x),n=t.y+t.origin.y-(e.y+e.origin.y);return i?Math.atan2(n,l)*(180/Math.PI):Math.atan2(n,l)},flixel_math_FlxAngle.angleBetweenPoint=function(e,t,i){null==i&&(i=!1);var l=t.x-(e.x+e.origin.x),n=t.y-(e.y+e.origin.y);return t._weak&&t.put(),i?Math.atan2(n,l)*(180/Math.PI):Math.atan2(n,l)},flixel_math_FlxAngle.angleBetweenMouse=function(e,t){if(null==t&&(t=!1),null==e)return 0;var i=e.getScreenPosition(),l=flixel_FlxG.mouse.screenX-i.x,n=flixel_FlxG.mouse.screenY-i.y;return i.put(),t?Math.atan2(n,l)*(180/Math.PI):Math.atan2(n,l)},flixel_math_FlxAngle.angleBetweenTouch=function(e,t,i){null==i&&(i=!1);var l=e.getScreenPosition(),n=t.screenX-l.x,s=t.screenY-l.y;return l.put(),i?Math.atan2(s,n)*(180/Math.PI):Math.atan2(s,n)},flixel_math_FlxAngle.angleFromFacing=function(e,t){null==t&&(t=!1);var i;switch(e){case 1:i=180;break;case 16:i=0;break;case 256:i=-90;break;case 4096:i=90;break;default:var l=e;i=257==l?-135:272==(l=e)?-45:4097==(l=e)?135:4112==(l=e)?45:0}return t?i:i*(Math.PI/180)},flixel_math_FlxAngle.getCartesianCoords=function(e,t,i){var l=i;return null==l&&((i=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,l=i),l.set_x(e*Math.cos(t*(Math.PI/180))),l.set_y(e*Math.sin(t*(Math.PI/180))),l},flixel_math_FlxAngle.getPolarCoords=function(e,t,i){var l=i;return null==l&&((i=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1,l=i),l.set_x(Math.sqrt(e*e+t*t)),l.set_y(Math.atan2(t,e)*(180/Math.PI)),l},flixel_math_FlxAngle.get_TO_DEG=function(){return 180/Math.PI},flixel_math_FlxAngle.get_TO_RAD=function(){return Math.PI/180};var flixel_math_FlxMath=function(){};$hxClasses["flixel.math.FlxMath"]=flixel_math_FlxMath,flixel_math_FlxMath.__name__="flixel.math.FlxMath",flixel_math_FlxMath.roundDecimal=function(e,t){for(var i=1,l=0,n=t;l<n;){l++;i*=10}return Math.round(e*i)/i},flixel_math_FlxMath.bound=function(e,t,i){var l=null!=t&&e<t?t:e;return null!=i&&l>i?i:l},flixel_math_FlxMath.lerp=function(e,t,i){return e+i*(t-e)},flixel_math_FlxMath.inBounds=function(e,t,i){return(null==t||e>=t)&&(null==i||e<=i)},flixel_math_FlxMath.isOdd=function(e){return 0!=(1&(0|e))},flixel_math_FlxMath.isEven=function(e){return 0==(1&(0|e))},flixel_math_FlxMath.numericComparison=function(e,t){return t>e?-1:e>t?1:0},flixel_math_FlxMath.pointInCoordinates=function(e,t,i,l,n,s){return e>=i&&e<=i+n&&t>=l&&t<=l+s},flixel_math_FlxMath.pointInFlxRect=function(e,t,i){return e>=i.x&&e<=i.x+i.width&&t>=i.y&&t<=i.y+i.height},flixel_math_FlxMath.mouseInFlxRect=function(e,t){return null==t||(e?flixel_math_FlxMath.pointInFlxRect(Math.floor(flixel_FlxG.mouse.x),Math.floor(flixel_FlxG.mouse.y),t):flixel_math_FlxMath.pointInFlxRect(flixel_FlxG.mouse.screenX,flixel_FlxG.mouse.screenY,t))},flixel_math_FlxMath.pointInRectangle=function(e,t,i){return e>=i.x&&e<=i.get_right()&&t>=i.y&&t<=i.get_bottom()},flixel_math_FlxMath.maxAdd=function(e,t,i,l){return null==l&&(l=0),e+=t,e>i?e=i:e<=l&&(e=l),e},flixel_math_FlxMath.wrap=function(e,t,i){var l=i-t+1;return e<t&&(e+=l*((t-e)/l+1|0)),t+(e-t)%l},flixel_math_FlxMath.remapToRange=function(e,t,i,l,n){return l+(n-l)/(i-t)*(e-t)},flixel_math_FlxMath.dotProduct=function(e,t,i,l){return e*i+t*l},flixel_math_FlxMath.vectorLength=function(e,t){return Math.sqrt(e*e+t*t)},flixel_math_FlxMath.distanceBetween=function(e,t){var i=e.x+e.origin.x-(t.x+t.origin.x),l=e.y+e.origin.y-(t.y+t.origin.y);return 0|Math.sqrt(i*i+l*l)},flixel_math_FlxMath.isDistanceWithin=function(e,t,i,l){null==l&&(l=!1);var n=e.x+e.origin.x-(t.x+t.origin.x),s=e.y+e.origin.y-(t.y+t.origin.y);return l?n*n+s*s<=i*i:n*n+s*s<i*i},flixel_math_FlxMath.distanceToPoint=function(e,t){var i=e.x+e.origin.x-t.x,l=e.y+e.origin.y-t.y;return t._weak&&t.put(),0|Math.sqrt(i*i+l*l)},flixel_math_FlxMath.isDistanceToPointWithin=function(e,t,i,l){null==l&&(l=!1);var n=e.x+e.origin.x-t.x,s=e.y+e.origin.y-t.y;return t._weak&&t.put(),l?n*n+s*s<=i*i:n*n+s*s<i*i},flixel_math_FlxMath.distanceToMouse=function(e){var t=e.x+e.origin.x-flixel_FlxG.mouse.screenX,i=e.y+e.origin.y-flixel_FlxG.mouse.screenY;return 0|Math.sqrt(t*t+i*i)},flixel_math_FlxMath.isDistanceToMouseWithin=function(e,t,i){null==i&&(i=!1);var l=e.x+e.origin.x-flixel_FlxG.mouse.screenX,n=e.y+e.origin.y-flixel_FlxG.mouse.screenY;return i?l*l+n*n<=t*t:l*l+n*n<t*t},flixel_math_FlxMath.distanceToTouch=function(e,t){var i=e.x+e.origin.x-t.screenX,l=e.y+e.origin.y-t.screenY;return 0|Math.sqrt(i*i+l*l)},flixel_math_FlxMath.isDistanceToTouchWithin=function(e,t,i,l){null==l&&(l=!1);var n=e.x+e.origin.x-t.screenX,s=e.y+e.origin.y-t.screenY;return l?n*n+s*s<=i*i:n*n+s*s<i*i},flixel_math_FlxMath.getDecimals=function(e){var t=(null==e?"null":""+e).split("."),i=0;return t.length>1&&(i=t[1].length),i},flixel_math_FlxMath.equal=function(e,t,i){return null==i&&(i=1e-7),Math.abs(e-t)<=i},flixel_math_FlxMath.signOf=function(e){return e<0?-1:1},flixel_math_FlxMath.sameSign=function(e,t){return(e<0?-1:1)==(t<0?-1:1)},flixel_math_FlxMath.fastSin=function(e){return e*=.3183098862,e>1?e-=Math.ceil(e)>>1<<1:e<-1&&(e+=Math.ceil(-e)>>1<<1),e>0?e*(3.1+e*(.5+e*(3.6*e-7.2))):e*(3.1-e*(.5+e*(7.2+3.6*e)))},flixel_math_FlxMath.fastCos=function(e){var t=e+1.570796327;return t*=.3183098862,t>1?t-=Math.ceil(t)>>1<<1:t<-1&&(t+=Math.ceil(-t)>>1<<1),t>0?t*(3.1+t*(.5+t*(3.6*t-7.2))):t*(3.1-t*(.5+t*(7.2+3.6*t)))},flixel_math_FlxMath.sinh=function(e){return(Math.exp(e)-Math.exp(-e))/2},flixel_math_FlxMath.maxInt=function(e,t){return e>t?e:t},flixel_math_FlxMath.minInt=function(e,t){return e>t?t:e},flixel_math_FlxMath.absInt=function(e){return e>0?e:-e};var flixel_math_FlxMatrix=function(e,t,i,l,n,s){openfl_geom_Matrix.call(this,e,t,i,l,n,s)};$hxClasses["flixel.math.FlxMatrix"]=flixel_math_FlxMatrix,flixel_math_FlxMatrix.__name__="flixel.math.FlxMatrix",flixel_math_FlxMatrix.__super__=openfl_geom_Matrix,flixel_math_FlxMatrix.prototype=$extend(openfl_geom_Matrix.prototype,{rotateWithTrig:function(e,t){var i=this.a*e-this.b*t;this.b=this.a*t+this.b*e,this.a=i;var l=this.c*e-this.d*t;this.d=this.c*t+this.d*e,this.c=l;var n=this.tx*e-this.ty*t;return this.ty=this.tx*t+this.ty*e,this.tx=n,this},rotateBy180:function(){return this.setTo(-this.a,-this.b,-this.c,-this.d,-this.tx,-this.ty),this},rotateByPositive90:function(){return this.setTo(-this.b,this.a,-this.d,this.c,-this.ty,this.tx),this},rotateByNegative90:function(){return this.setTo(this.b,-this.a,this.d,-this.c,this.ty,-this.tx),this},transformX:function(e,t){return e*this.a+t*this.c+this.tx},transformY:function(e,t){return e*this.b+t*this.d+this.ty},__class__:flixel_math_FlxMatrix});var flixel_math_FlxCallbackPoint=function(e,t,i){flixel_math_FlxPoint.call(this),this._setXCallback=e,this._setYCallback=i,this._setXYCallback=i,null!=this._setXCallback&&(null==this._setYCallback&&(this._setYCallback=e),null==this._setXYCallback&&(this._setXYCallback=e))};$hxClasses["flixel.math.FlxCallbackPoint"]=flixel_math_FlxCallbackPoint,flixel_math_FlxCallbackPoint.__name__="flixel.math.FlxCallbackPoint",flixel_math_FlxCallbackPoint.__super__=flixel_math_FlxPoint,flixel_math_FlxCallbackPoint.prototype=$extend(flixel_math_FlxPoint.prototype,{_setXCallback:null,_setYCallback:null,_setXYCallback:null,set:function(e,t){return null==t&&(t=0),null==e&&(e=0),flixel_math_FlxPoint.prototype.set.call(this,e,t),null!=this._setXYCallback&&this._setXYCallback(this),this},set_x:function(e){return flixel_math_FlxPoint.prototype.set_x.call(this,e),null!=this._setXCallback&&this._setXCallback(this),e},set_y:function(e){return flixel_math_FlxPoint.prototype.set_y.call(this,e),null!=this._setYCallback&&this._setYCallback(this),e},destroy:function(){flixel_math_FlxPoint.prototype.destroy.call(this),this._setXCallback=null,this._setYCallback=null,this._setXYCallback=null},put:function(){},__class__:flixel_math_FlxCallbackPoint});var flixel_math_FlxVector={};flixel_math_FlxVector.__properties__={get_ly:"get_ly",get_lx:"get_lx",get_ry:"get_ry",get_rx:"get_rx",set_radians:"set_radians",get_radians:"get_radians",set_degrees:"set_degrees",get_degrees:"get_degrees",get_lengthSquared:"get_lengthSquared",set_length:"set_length",get_length:"get_length",get_dy:"get_dy",get_dx:"get_dx",set_y:"set_y",get_y:"get_y",set_x:"set_x",get_x:"get_x",get_pool:"get_pool"},flixel_math_FlxVector.get=function(e,t){null==t&&(t=0),null==e&&(e=0);var i=e,l=t;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);return n._inPool=!1,n},flixel_math_FlxVector.weak=function(e,t){null==t&&(t=0),null==e&&(e=0);var i=e,l=t;null==l&&(l=0),null==i&&(i=0);var n=i,s=l;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1;var r=a;return r._weak=!0,r},flixel_math_FlxVector._new=function(e,t){return null==t&&(t=0),null==e&&(e=0),new flixel_math_FlxPoint(e,t)},flixel_math_FlxVector.set=function(e,t,i){return null==i&&(i=0),null==t&&(t=0),e.set(t,i)},flixel_math_FlxVector.add=function(e,t,i){null==i&&(i=0),null==t&&(t=0);var l=t,n=i;null==n&&(n=0),null==l&&(l=0);var s=e;return s.set_x(s.x+l),(s=e).set_y(s.y+n),e},flixel_math_FlxVector.addPoint=function(e,t){return e.addPoint(t)},flixel_math_FlxVector.subtract=function(e,t,i){null==i&&(i=0),null==t&&(t=0);var l=t,n=i;null==n&&(n=0),null==l&&(l=0);var s=e;return s.set_x(s.x-l),(s=e).set_y(s.y-n),e},flixel_math_FlxVector.subtractPoint=function(e,t){return e.subtractPoint(t)},flixel_math_FlxVector.scale=function(e,t){return e.scale(t)},flixel_math_FlxVector.scaleNew=function(e,t){return flixel_math_FlxVector.clone(e).scale(t)},flixel_math_FlxVector.addNew=function(e,t){return flixel_math_FlxVector.clone(e).addPoint(t)},flixel_math_FlxVector.subtractNew=function(e,t){return flixel_math_FlxVector.clone(e).subtractPoint(t)},flixel_math_FlxVector.copyFrom=function(e,t){return e.set_x(t.x),e.set_y(t.y),t._weak&&t.put(),e},flixel_math_FlxVector.copyFromFlash=function(e,t){return e.set_x(t.x),e.set_y(t.y),e},flixel_math_FlxVector.floor=function(e){return e.set_x(Math.floor(e.x)),e.set_y(Math.floor(e.y)),e},flixel_math_FlxVector.ceil=function(e){return e.set_x(Math.ceil(e.x)),e.set_y(Math.ceil(e.y)),e},flixel_math_FlxVector.round=function(e){return e.set_x(Math.round(e.x)),e.set_y(Math.round(e.y)),e},flixel_math_FlxVector.rotate=function(e,t,i){return e.rotate(t,i)},flixel_math_FlxVector.transform=function(e,t){var i=e.x*t.a+e.y*t.c+t.tx,l=e.x*t.b+e.y*t.d+t.ty;return e.set(i,l)},flixel_math_FlxVector.dotProduct=function(e,t){var i=e.x*t.x+e.y*t.y;return t._weak&&t.put(),i},flixel_math_FlxVector.dotProductWeak=function(e,t){return e.x*t.x+e.y*t.y},flixel_math_FlxVector.dotProdWithNormalizing=function(e,t){var i=flixel_math_FlxVector.normalize(flixel_math_FlxVector.clone(t,flixel_math_FlxVector._vector1));return t._weak&&t.put(),e.x*i.x+e.y*i.y},flixel_math_FlxVector.isPerpendicular=function(e,t){var i=e.x*t.x+e.y*t.y;return t._weak&&t.put(),Math.abs(i)<9.999999999999998e-15},flixel_math_FlxVector.crossProductLength=function(e,t){var i=e.x*t.y-e.y*t.x;return t._weak&&t.put(),i},flixel_math_FlxVector.crossProductLengthWeak=function(e,t){return e.x*t.y-e.y*t.x},flixel_math_FlxVector.isParallel=function(e,t){var i=Math.abs(e.x*t.y-e.y*t.x)<9.999999999999998e-15;return t._weak&&t.put(),i},flixel_math_FlxVector.isParallelWeak=function(e,t){return Math.abs(e.x*t.y-e.y*t.x)<9.999999999999998e-15},flixel_math_FlxVector.isZero=function(e){return Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7},flixel_math_FlxVector.zero=function(e){return e.set_x(e.set_y(0)),e},flixel_math_FlxVector.normalize=function(e){return Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7?e:e.scale(1/Math.sqrt(e.x*e.x+e.y*e.y))},flixel_math_FlxVector.isNormalized=function(e){return Math.abs(e.x*e.x+e.y*e.y-1)<9.999999999999998e-15},flixel_math_FlxVector.rotateByRadians=function(e,t){var i=Math.sin(t),l=Math.cos(t),n=e.x;return e.set_x(n*l-e.y*i),e.set_y(n*i+e.y*l),e},flixel_math_FlxVector.rotateByDegrees=function(e,t){var i=t*(Math.PI/180),l=Math.sin(i),n=Math.cos(i),s=e.x;return e.set_x(s*n-e.y*l),e.set_y(s*l+e.y*n),e},flixel_math_FlxVector.rotateWithTrig=function(e,t,i){var l=e.x;return e.set_x(l*i-e.y*t),e.set_y(l*t+e.y*i),e},flixel_math_FlxVector.rightNormal=function(e,t){if(null==t){var i=0,l=0;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);n._inPool=!1,t=n}var s=-e.y,a=e.x;return null==a&&(a=0),null==s&&(s=0),t.set(s,a),t},flixel_math_FlxVector.leftNormal=function(e,t){if(null==t){var i=0,l=0;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);n._inPool=!1,t=n}var s=e.y,a=-e.x;return null==a&&(a=0),null==s&&(s=0),t.set(s,a),t},flixel_math_FlxVector.negate=function(e){var t=e;return t.set_x(-1*t.x),(t=e).set_y(-1*t.y),e},flixel_math_FlxVector.negateNew=function(e){var t=flixel_math_FlxVector.clone(e),i=t;return i.set_x(-1*i.x),(i=t).set_y(-1*i.y),t},flixel_math_FlxVector.projectTo=function(e,t,i){var l=e.x*t.x+e.y*t.y,n=t.x*t.x+t.y*t.y;if(null==i){var s=0,a=0;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1,i=r}var _=l*t.x/n,o=l*t.y/n;return null==o&&(o=0),null==_&&(_=0),i.set(_,o),t._weak&&t.put(),i},flixel_math_FlxVector.projectToNormalized=function(e,t,i){var l=i,n=e.x*t.x+e.y*t.y;if(null==l){var s=0,a=0;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1,l=r}var _=n*t.x,o=n*t.y;return null==o&&(o=0),null==_&&(_=0),i=l.set(_,o),t._weak&&t.put(),i},flixel_math_FlxVector.projectToNormalizedWeak=function(e,t,i){var l=e.x*t.x+e.y*t.y;if(null==i){var n=0,s=0;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1,i=a}var r=l*t.x,_=l*t.y;return null==_&&(_=0),null==r&&(r=0),i.set(r,_)},flixel_math_FlxVector.perpProduct=function(e,t){var i=e.y*t.x+-e.x*t.y;return t._weak&&t.put(),i},flixel_math_FlxVector.perpProductWeak=function(e,t){return e.y*t.x+-e.x*t.y},flixel_math_FlxVector.ratio=function(e,t,i,l){var n;if(Math.abs(e.x*l.y-e.y*l.x)<9.999999999999998e-15)n=NaN;else if(e.x*e.x+e.y*e.y<9.999999999999998e-15||l.x*l.x+l.y*l.y<9.999999999999998e-15)n=NaN;else{flixel_math_FlxVector._vector1=flixel_math_FlxVector.clone(i,flixel_math_FlxVector._vector1);var s=flixel_math_FlxVector._vector1,a=s;a.set_x(a.x-t.x),(a=s).set_y(a.y-t.y);var r=flixel_math_FlxVector._vector1;n=(r.y*l.x+-r.x*l.y)/(e.y*l.x+-e.x*l.y)}return t._weak&&t.put(),i._weak&&i.put(),l._weak&&l.put(),n},flixel_math_FlxVector.ratioWeak=function(e,t,i,l){if(Math.abs(e.x*l.y-e.y*l.x)<9.999999999999998e-15)return NaN;if(e.x*e.x+e.y*e.y<9.999999999999998e-15||l.x*l.x+l.y*l.y<9.999999999999998e-15)return NaN;flixel_math_FlxVector._vector1=flixel_math_FlxVector.clone(i,flixel_math_FlxVector._vector1);var n=flixel_math_FlxVector._vector1,s=n;s.set_x(s.x-t.x),(s=n).set_y(s.y-t.y);var a=flixel_math_FlxVector._vector1;return(a.y*l.x+-a.x*l.y)/(e.y*l.x+-e.x*l.y)},flixel_math_FlxVector.findIntersection=function(e,t,i,l,n){var s;if(Math.abs(e.x*l.y-e.y*l.x)<9.999999999999998e-15)s=NaN;else if(e.x*e.x+e.y*e.y<9.999999999999998e-15||l.x*l.x+l.y*l.y<9.999999999999998e-15)s=NaN;else{flixel_math_FlxVector._vector1=flixel_math_FlxVector.clone(i,flixel_math_FlxVector._vector1);var a=flixel_math_FlxVector._vector1,r=a;r.set_x(r.x-t.x),(r=a).set_y(r.y-t.y);var _=flixel_math_FlxVector._vector1;s=(_.y*l.x+-_.x*l.y)/(e.y*l.x+-e.x*l.y)}if(null==n){var o=0,h=0;null==h&&(h=0),null==o&&(o=0);var u=flixel_math_FlxPoint._pool.get().set(o,h);u._inPool=!1,n=u}if(isNaN(s)){d=NaN;null==(c=NaN)&&(c=0),null==d&&(d=0),n.set(d,c)}else{var d=t.x+s*e.x,c=t.y+s*e.y;null==c&&(c=0),null==d&&(d=0),n.set(d,c)}return t._weak&&t.put(),i._weak&&i.put(),l._weak&&l.put(),n},flixel_math_FlxVector.findIntersectionInBounds=function(e,t,i,l,n){if(null==n){var s=0,a=0;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1,n=r}var _;Math.abs(e.x*l.y-e.y*l.x)<9.999999999999998e-15?_=NaN:e.x*e.x+e.y*e.y<9.999999999999998e-15||l.x*l.x+l.y*l.y<9.999999999999998e-15?_=NaN:(flixel_math_FlxVector._vector1=flixel_math_FlxVector.clone(i,flixel_math_FlxVector._vector1),(u=h=flixel_math_FlxVector._vector1).set_x(u.x-t.x),(u=h).set_y(u.y-t.y),_=((d=flixel_math_FlxVector._vector1).y*l.x+-d.x*l.y)/(e.y*l.x+-e.x*l.y));var o;if(Math.abs(l.x*e.y-l.y*e.x)<9.999999999999998e-15)o=NaN;else if(l.x*l.x+l.y*l.y<9.999999999999998e-15||e.x*e.x+e.y*e.y<9.999999999999998e-15)o=NaN;else{flixel_math_FlxVector._vector1=flixel_math_FlxVector.clone(t,flixel_math_FlxVector._vector1);var h=flixel_math_FlxVector._vector1,u=h;u.set_x(u.x-i.x),(u=h).set_y(u.y-i.y);var d=flixel_math_FlxVector._vector1;o=(d.y*e.x+-d.x*e.y)/(l.y*e.x+-l.x*e.y)}if(!isNaN(_)&&!isNaN(o)&&_>0&&_<=1&&o>0&&o<=1){c=t.x+_*e.x;null==(p=t.y+_*e.y)&&(p=0),null==c&&(c=0),n.set(c,p)}else{var c=NaN,p=NaN;null==p&&(p=0),null==c&&(c=0),n.set(c,p)}return t._weak&&t.put(),i._weak&&i.put(),l._weak&&l.put(),n},flixel_math_FlxVector.truncate=function(e,t){var i=Math.min(t,Math.sqrt(e.x*e.x+e.y*e.y));if(!(Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7)){var l=flixel_math_FlxVector.get_radians(e);e.set_x(i*Math.cos(l)),e.set_y(i*Math.sin(l))}return e},flixel_math_FlxVector.radiansBetween=function(e,t){var i=Math.acos((e.x*t.x+e.y*t.y)/(Math.sqrt(e.x*e.x+e.y*e.y)*Math.sqrt(t.x*t.x+t.y*t.y)));return t._weak&&t.put(),i},flixel_math_FlxVector.degreesBetween=function(e,t){var i=Math.acos((e.x*t.x+e.y*t.y)/(Math.sqrt(e.x*e.x+e.y*e.y)*Math.sqrt(t.x*t.x+t.y*t.y)));return t._weak&&t.put(),i*(180/Math.PI)},flixel_math_FlxVector.sign=function(e,t,i){var l=(t.x-e.x)*(i.y-e.y)-(t.y-e.y)*(i.x-e.x);return t._weak&&t.put(),i._weak&&i.put(),0==l?0:Math.round(l/Math.abs(l))},flixel_math_FlxVector.dist=function(e,t){var i=t.x-e.x,l=t.y-e.y;return t._weak&&t.put(),Math.sqrt(i*i+l*l)},flixel_math_FlxVector.distSquared=function(e,t){var i=t.x-e.x,l=t.y-e.y;return t._weak&&t.put(),i*i+l*l},flixel_math_FlxVector.bounce=function(e,t,i){null==i&&(i=1);var l=(1+i)*(e.x*t.x+e.y*t.y),n=e;return n.set_x(n.x-l*t.x),(n=e).set_y(n.y-l*t.y),t._weak&&t.put(),e},flixel_math_FlxVector.bounceWithFriction=function(e,t,i,l){null==l&&(l=0),null==i&&(i=1);var n=flixel_math_FlxVector.rightNormal(t,flixel_math_FlxVector._vector3),s=flixel_math_FlxVector._vector1,a=e.x*n.x+e.y*n.y;if(null==s){h=0;null==(u=0)&&(u=0),null==h&&(h=0),(d=flixel_math_FlxPoint._pool.get().set(h,u))._inPool=!1,s=d}var r=a*n.x,_=a*n.y;null==_&&(_=0),null==r&&(r=0);var o=s.set(r,_),s=flixel_math_FlxVector._vector2,a=e.x*t.x+e.y*t.y;if(null==s){var h=0,u=0;null==u&&(u=0),null==h&&(h=0);var d=flixel_math_FlxPoint._pool.get().set(h,u);d._inPool=!1,s=d}r=a*t.x;null==(_=a*t.y)&&(_=0),null==r&&(r=0);var c=s.set(r,_),p=-c.x,f=-c.y,m=o.x,x=o.y;return e.set_x(p*i+m*l),e.set_y(f*i+x*l),t._weak&&t.put(),e},flixel_math_FlxVector.isValid=function(e){var t,i,l=e.x;if(isNaN(l))i=!1;else{l=e.y;i=!isNaN(l)}if(i){l=e.x;t=isFinite(l)}else t=!1;if(t){l=e.y;return isFinite(l)}return!1},flixel_math_FlxVector.clone=function(e,t){if(null==t){var i=0,l=0;null==l&&(l=0),null==i&&(i=0);var n=flixel_math_FlxPoint._pool.get().set(i,l);n._inPool=!1,t=n}return t.set_x(e.x),t.set_y(e.y),t},flixel_math_FlxVector.get_x=function(e){return e.x},flixel_math_FlxVector.set_x=function(e,t){return e.set_x(t)},flixel_math_FlxVector.get_y=function(e){return e.y},flixel_math_FlxVector.set_y=function(e,t){return e.set_y(t)},flixel_math_FlxVector.get_dx=function(e){return Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7?0:e.x/Math.sqrt(e.x*e.x+e.y*e.y)},flixel_math_FlxVector.get_dy=function(e){return Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7?0:e.y/Math.sqrt(e.x*e.x+e.y*e.y)},flixel_math_FlxVector.get_length=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},flixel_math_FlxVector.set_length=function(e,t){if(!(Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7)){var i=flixel_math_FlxVector.get_radians(e);e.set_x(t*Math.cos(i)),e.set_y(t*Math.sin(i))}return t},flixel_math_FlxVector.get_lengthSquared=function(e){return e.x*e.x+e.y*e.y},flixel_math_FlxVector.get_degrees=function(e){return flixel_math_FlxVector.get_radians(e)*(180/Math.PI)},flixel_math_FlxVector.set_degrees=function(e,t){var i=t*(Math.PI/180),l=Math.sqrt(e.x*e.x+e.y*e.y);return e.set_x(l*Math.cos(i)),e.set_y(l*Math.sin(i)),t},flixel_math_FlxVector.get_radians=function(e){return Math.abs(e.x)<1e-7&&Math.abs(e.y)<1e-7?0:Math.atan2(e.y,e.x)},flixel_math_FlxVector.set_radians=function(e,t){var i=Math.sqrt(e.x*e.x+e.y*e.y);return e.set_x(i*Math.cos(t)),e.set_y(i*Math.sin(t)),t},flixel_math_FlxVector.get_rx=function(e){return-e.y},flixel_math_FlxVector.get_ry=function(e){return e.x},flixel_math_FlxVector.get_lx=function(e){return e.y},flixel_math_FlxVector.get_ly=function(e){return-e.x},flixel_math_FlxVector.get_pool=function(){return flixel_math_FlxPoint.get_pool()};var flixel_math_FlxVelocity=function(){};$hxClasses["flixel.math.FlxVelocity"]=flixel_math_FlxVelocity,flixel_math_FlxVelocity.__name__="flixel.math.FlxVelocity",flixel_math_FlxVelocity.moveTowardsObject=function(e,t,i,l){null==l&&(l=0),null==i&&(i=60);var n=flixel_math_FlxAngle.angleBetween(e,t);if(l>0){var s=e.x+e.origin.x-(t.x+t.origin.x),a=e.y+e.origin.y-(t.y+t.origin.y);i=(0|Math.sqrt(s*s+a*a))/(l/1e3)|0}e.velocity.set_x(Math.cos(n)*i),e.velocity.set_y(Math.sin(n)*i)},flixel_math_FlxVelocity.accelerateTowardsObject=function(e,t,i,l){var n=flixel_math_FlxAngle.angleBetween(e,t),s=Math.sin(n),a=Math.cos(n);e.velocity.set(0,0),e.acceleration.set(a*i,s*i),e.maxVelocity.set(Math.abs(a*l),Math.abs(s*l))},flixel_math_FlxVelocity.moveTowardsMouse=function(e,t,i){null==i&&(i=0),null==t&&(t=60);var l=flixel_math_FlxAngle.angleBetweenMouse(e);if(i>0){var n=e.x+e.origin.x-flixel_FlxG.mouse.screenX,s=e.y+e.origin.y-flixel_FlxG.mouse.screenY;t=(0|Math.sqrt(n*n+s*s))/(i/1e3)|0}e.velocity.set_x(Math.cos(l)*t),e.velocity.set_y(Math.sin(l)*t)},flixel_math_FlxVelocity.moveTowardsTouch=function(e,t,i,l){null==l&&(l=0),null==i&&(i=60);var n=flixel_math_FlxAngle.angleBetweenTouch(e,t);if(l>0){var s=e.x+e.origin.x-t.screenX,a=e.y+e.origin.y-t.screenY;i=(0|Math.sqrt(s*s+a*a))/(l/1e3)|0}e.velocity.set_x(Math.cos(n)*i),e.velocity.set_y(Math.sin(n)*i)},flixel_math_FlxVelocity.accelerateTowardsMouse=function(e,t,i){var l=flixel_math_FlxAngle.angleBetweenMouse(e),n=Math.sin(l),s=Math.cos(l);e.velocity.set(0,0),e.acceleration.set(s*t,n*t),e.maxVelocity.set(Math.abs(s*i),Math.abs(n*i))},flixel_math_FlxVelocity.accelerateTowardsTouch=function(e,t,i,l){var n=flixel_math_FlxAngle.angleBetweenTouch(e,t),s=Math.sin(n),a=Math.cos(n);e.velocity.set(0,0),e.acceleration.set(a*i,s*i),e.maxVelocity.set(Math.abs(a*l),Math.abs(s*l))},flixel_math_FlxVelocity.moveTowardsPoint=function(e,t,i,l){null==l&&(l=0),null==i&&(i=60);var n=flixel_math_FlxAngle.angleBetweenPoint(e,t);if(l>0){var s=e.x+e.origin.x-t.x,a=e.y+e.origin.y-t.y;t._weak&&t.put(),i=(0|Math.sqrt(s*s+a*a))/(l/1e3)|0}e.velocity.set_x(Math.cos(n)*i),e.velocity.set_y(Math.sin(n)*i),t._weak&&t.put()},flixel_math_FlxVelocity.accelerateTowardsPoint=function(e,t,i,l){var n=flixel_math_FlxAngle.angleBetweenPoint(e,t),s=Math.sin(n),a=Math.cos(n);e.velocity.set(0,0),e.acceleration.set(a*i,s*i),e.maxVelocity.set(Math.abs(a*l),Math.abs(s*l)),t._weak&&t.put()},flixel_math_FlxVelocity.velocityFromAngle=function(e,t){var i=e*(Math.PI/180),l=Math.cos(i)*t,n=Math.sin(i)*t;null==n&&(n=0),null==l&&(l=0);var s=flixel_math_FlxPoint._pool.get().set(l,n);return s._inPool=!1,s},flixel_math_FlxVelocity.velocityFromFacing=function(e,t){var i=flixel_math_FlxAngle.angleFromFacing(e.facing),l=Math.cos(i)*t,n=Math.sin(i)*t;null==n&&(n=0),null==l&&(l=0);var s=flixel_math_FlxPoint._pool.get().set(l,n);return s._inPool=!1,s},flixel_math_FlxVelocity.computeVelocity=function(e,t,i,l,n){if(0!=t)e+=t*n;else if(0!=i){var s=i*n;e-s>0?e-=s:e+s<0?e+=s:e=0}return 0!=e&&0!=l&&(e>l?e=l:e<-l&&(e=-l)),e},flixel_math_FlxVelocity.accelerateFromAngle=function(e,t,i,l,n){null==n&&(n=!0);var s=Math.sin(t),a=Math.cos(t);n&&e.velocity.set(0,0),e.acceleration.set(a*i,s*i),e.maxVelocity.set(Math.abs(a*l),Math.abs(s*l))};var flixel_system_GraphicLogo=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_GraphicLogo.preload)this.__fromImage(flixel_system_GraphicLogo.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_GraphicLogo.resourceName),flixel_system_GraphicLogo.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_GraphicLogo.preload&&(flixel_system_GraphicLogo.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.GraphicLogo"]=flixel_system_GraphicLogo,flixel_system_GraphicLogo.__name__="flixel.system.GraphicLogo",flixel_system_GraphicLogo.preload=null,flixel_system_GraphicLogo.__super__=openfl_display_BitmapData,flixel_system_GraphicLogo.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_GraphicLogo});var flixel_system_GraphicVirtualInput=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_GraphicVirtualInput.preload)this.__fromImage(flixel_system_GraphicVirtualInput.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_GraphicVirtualInput.resourceName),flixel_system_GraphicVirtualInput.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_GraphicVirtualInput.preload&&(flixel_system_GraphicVirtualInput.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.GraphicVirtualInput"]=flixel_system_GraphicVirtualInput,flixel_system_GraphicVirtualInput.__name__="flixel.system.GraphicVirtualInput",flixel_system_GraphicVirtualInput.preload=null,flixel_system_GraphicVirtualInput.__super__=openfl_display_BitmapData,flixel_system_GraphicVirtualInput.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_GraphicVirtualInput});var haxe_io_Bytes=function(e){this.length=e.byteLength,this.b=new Uint8Array(e),this.b.bufferValue=e,e.hxBytes=this,e.bytes=this.b};$hxClasses["haxe.io.Bytes"]=haxe_io_Bytes,haxe_io_Bytes.__name__="haxe.io.Bytes",haxe_io_Bytes.alloc=function(e){return new haxe_io_Bytes(new ArrayBuffer(e))},haxe_io_Bytes.ofString=function(e,t){for(var i=[],l=0;l<e.length;){var n=e.charCodeAt(l++);55296<=n&&n<=56319&&(n=n-55232<<10|1023&e.charCodeAt(l++)),n<=127?i.push(n):n<=2047?(i.push(192|n>>6),i.push(128|63&n)):n<=65535?(i.push(224|n>>12),i.push(128|n>>6&63),i.push(128|63&n)):(i.push(240|n>>18),i.push(128|n>>12&63),i.push(128|n>>6&63),i.push(128|63&n))}return new haxe_io_Bytes(new Uint8Array(i).buffer)},haxe_io_Bytes.ofData=function(e){var t=e.hxBytes;return null!=t?t:new haxe_io_Bytes(e)},haxe_io_Bytes.ofHex=function(e){if(0!=(1&e.length))throw haxe_Exception.thrown("Not a hex string (odd number of digits)");for(var t=[],i=0,l=e.length>>1;i<l;){var n=e.charCodeAt(2*i),s=e.charCodeAt(2*i+1);n=(15&n)+9*((64&n)>>6),s=(15&s)+9*((64&s)>>6),t.push(255&(n<<4|s)),++i}return new haxe_io_Bytes(new Uint8Array(t).buffer)},haxe_io_Bytes.fastGet=function(e,t){return e.bytes[t]},haxe_io_Bytes.prototype={length:null,b:null,data:null,get:function(e){return this.b[e]},set:function(e,t){this.b[e]=255&t},blit:function(e,t,i,l){if(e<0||i<0||l<0||e+l>this.length||i+l>t.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);0==i&&l==t.b.byteLength?this.b.set(t.b,e):this.b.set(t.b.subarray(i,i+l),e)},fill:function(e,t,i){for(var l=0,n=t;l<n;){l++;this.b[e++]=255&i}},sub:function(e,t){if(e<0||t<0||e+t>this.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);return new haxe_io_Bytes(this.b.buffer.slice(e+this.b.byteOffset,e+this.b.byteOffset+t))},compare:function(e){for(var t=this.b,i=e.b,l=0,n=this.length<e.length?this.length:e.length;l<n;){var s=l++;if(t[s]!=i[s])return t[s]-i[s]}return this.length-e.length},initData:function(){null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength))},getDouble:function(e){return null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.getFloat64(e,!0)},getFloat:function(e){return null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.getFloat32(e,!0)},setDouble:function(e,t){null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.setFloat64(e,t,!0)},setFloat:function(e,t){null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.setFloat32(e,t,!0)},getUInt16:function(e){return null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.getUint16(e,!0)},setUInt16:function(e,t){null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.setUint16(e,t,!0)},getInt32:function(e){return null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.getInt32(e,!0)},setInt32:function(e,t){null==this.data&&(this.data=new DataView(this.b.buffer,this.b.byteOffset,this.b.byteLength)),this.data.setInt32(e,t,!0)},getInt64:function(e){return new haxe__$Int64__$_$_$Int64(this.getInt32(e+4),this.getInt32(e))},setInt64:function(e,t){this.setInt32(e,t.low),this.setInt32(e+4,t.high)},getString:function(e,t,i){if(e<0||t<0||e+t>this.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);for(var l="",n=this.b,s=_$String_String_$Impl_$.fromCharCode,a=e,r=e+t;a<r;){var _=n[a++];if(_<128){if(0==_)break;l+=s(_)}else if(_<224)l+=s((63&_)<<6|127&n[a++]);else if(_<240)l+=s((31&_)<<12|(127&n[a++])<<6|127&n[a++]);else{var o=(15&_)<<18|(127&n[a++])<<12|(127&n[a++])<<6|127&n[a++];l+=s(55232+(o>>10)),l+=s(1023&o|56320)}}return l},readString:function(e,t){return this.getString(e,t)},toString:function(){return this.getString(0,this.length)},toHex:function(){for(var e="",t=[],i="0123456789abcdef",l=0,n=i.length;l<n;){s=l++;t.push(HxOverrides.cca(i,s))}for(var l=0,n=this.length;l<n;){var s=l++,a=this.b[s];e+=String.fromCodePoint(t[a>>4]),e+=String.fromCodePoint(t[15&a])}return e},getData:function(){return this.b.bufferValue},__class__:haxe_io_Bytes};var openfl_utils_IDataOutput=function(){};$hxClasses["openfl.utils.IDataOutput"]=openfl_utils_IDataOutput,openfl_utils_IDataOutput.__name__="openfl.utils.IDataOutput",openfl_utils_IDataOutput.__isInterface__=!0,openfl_utils_IDataOutput.prototype={get_endian:null,set_endian:null,objectEncoding:null,writeBoolean:null,writeByte:null,writeBytes:null,writeDouble:null,writeFloat:null,writeInt:null,writeMultiByte:null,writeObject:null,writeShort:null,writeUnsignedInt:null,writeUTF:null,writeUTFBytes:null,__class__:openfl_utils_IDataOutput,__properties__:{set_endian:"set_endian",get_endian:"get_endian"}};var openfl_utils_IDataInput=function(){};$hxClasses["openfl.utils.IDataInput"]=openfl_utils_IDataInput,openfl_utils_IDataInput.__name__="openfl.utils.IDataInput",openfl_utils_IDataInput.__isInterface__=!0,openfl_utils_IDataInput.prototype={get_bytesAvailable:null,get_endian:null,set_endian:null,objectEncoding:null,readBoolean:null,readByte:null,readBytes:null,readDouble:null,readFloat:null,readInt:null,readMultiByte:null,readObject:null,readShort:null,readUnsignedByte:null,readUnsignedInt:null,readUnsignedShort:null,readUTF:null,readUTFBytes:null,__class__:openfl_utils_IDataInput,__properties__:{set_endian:"set_endian",get_endian:"get_endian",get_bytesAvailable:"get_bytesAvailable"}};var openfl_utils_ByteArrayData=function(e){null==e&&(e=0);var t=new haxe_io_Bytes(new ArrayBuffer(e));haxe_io_Bytes.call(this,t.b.buffer),this.__length=e,null==openfl_utils_ByteArrayData.__defaultEndian&&(lime_system_System.get_endianness()==lime_system_Endian.LITTLE_ENDIAN?openfl_utils_ByteArrayData.__defaultEndian=1:openfl_utils_ByteArrayData.__defaultEndian=0),this.__endian=openfl_utils_ByteArrayData.__defaultEndian,this.objectEncoding=openfl_utils_ByteArrayData.defaultObjectEncoding,this.position=0};$hxClasses["openfl.utils.ByteArrayData"]=openfl_utils_ByteArrayData,openfl_utils_ByteArrayData.__name__="openfl.utils.ByteArrayData",openfl_utils_ByteArrayData.__interfaces__=[openfl_utils_IDataOutput,openfl_utils_IDataInput],openfl_utils_ByteArrayData.__properties__={set_defaultEndian:"set_defaultEndian",get_defaultEndian:"get_defaultEndian"},openfl_utils_ByteArrayData.fromBytes=function(e){var t=new openfl_utils_ByteArrayData;return t.__fromBytes(e),t},openfl_utils_ByteArrayData.get_defaultEndian=function(){return null==openfl_utils_ByteArrayData.__defaultEndian&&(lime_system_System.get_endianness()==lime_system_Endian.LITTLE_ENDIAN?openfl_utils_ByteArrayData.__defaultEndian=1:openfl_utils_ByteArrayData.__defaultEndian=0),openfl_utils_ByteArrayData.__defaultEndian},openfl_utils_ByteArrayData.set_defaultEndian=function(e){return openfl_utils_ByteArrayData.__defaultEndian=e},openfl_utils_ByteArrayData.__super__=haxe_io_Bytes,openfl_utils_ByteArrayData.prototype=$extend(haxe_io_Bytes.prototype,{objectEncoding:null,position:null,__endian:null,__length:null,clear:function(){this.length=0,this.position=0},compress:function(e){if(null==e&&(e=2),this.__length>this.length){var t=this.length;this.length=this.__length;var i=new haxe_io_Bytes(new ArrayBuffer(t));i.blit(0,this,0,t),this.b=i.b,this.__length=i.length,this.data=i.data,this.length=t}var l,n=this;switch(e){case 0:l=lime_utils_Bytes.compress(n,lime_utils_CompressionAlgorithm.DEFLATE);break;case 1:l=lime_utils_Bytes.compress(n,lime_utils_CompressionAlgorithm.LZMA);break;default:l=lime_utils_Bytes.compress(n,lime_utils_CompressionAlgorithm.ZLIB)}null!=l&&(this.b=l.b,this.__length=l.length,this.data=l.data,this.length=this.__length,this.position=this.length)},deflate:function(){this.compress(0)},inflate:function(){this.uncompress(0)},readBoolean:function(){if(this.position<this.length)return 0!=this.b[this.position++];throw haxe_Exception.thrown(new openfl_errors_EOFError)},readByte:function(){var e=this.readUnsignedByte();return 0!=(128&e)?e-256:e},readBytes:function(e,t,i){if(null==i&&(i=0),null==t&&(t=0),0==i&&(i=this.length-this.position),this.position+i>this.length)throw haxe_Exception.thrown(new openfl_errors_EOFError);e.length<t+i&&e.__resize(t+i),e.blit(t,this,this.position,i),this.position+=i},readDouble:function(){if(1==this.__endian){if(this.position+8>this.length)throw haxe_Exception.thrown(new openfl_errors_EOFError);return this.position+=8,this.getDouble(this.position-8)}var e=this.readInt(),t=this.readInt();return haxe_io_FPHelper.i64ToDouble(t,e)},readFloat:function(){if(1==this.__endian){if(this.position+4>this.length)throw haxe_Exception.thrown(new openfl_errors_EOFError);return this.position+=4,this.getFloat(this.position-4)}return haxe_io_FPHelper.i32ToFloat(this.readInt())},readInt:function(){var e=this.readUnsignedByte(),t=this.readUnsignedByte(),i=this.readUnsignedByte(),l=this.readUnsignedByte();return 1==this.__endian?l<<24|i<<16|t<<8|e:e<<24|t<<16|i<<8|l},readMultiByte:function(e,t){return this.readUTFBytes(e)},readObject:function(){switch(this.objectEncoding){case 10:e=this.readUTF();return haxe_Unserializer.run(e);case 12:var e=this.readUTF();return JSON.parse(e);default:return null}},readShort:function(){var e,t=this.readUnsignedByte(),i=this.readUnsignedByte();return e=1==this.__endian?i<<8|t:t<<8|i,0!=(32768&e)?e-65536:e},readUnsignedByte:function(){if(this.position<this.length)return this.b[this.position++];throw haxe_Exception.thrown(new openfl_errors_EOFError)},readUnsignedInt:function(){var e=this.readUnsignedByte(),t=this.readUnsignedByte(),i=this.readUnsignedByte(),l=this.readUnsignedByte();return 1==this.__endian?l<<24|i<<16|t<<8|e:e<<24|t<<16|i<<8|l},readUnsignedShort:function(){var e=this.readUnsignedByte(),t=this.readUnsignedByte();return 1==this.__endian?(t<<8)+e:e<<8|t},readUTF:function(){var e=this.readUnsignedShort();return this.readUTFBytes(e)},readUTFBytes:function(e){if(this.position+e>this.length)throw haxe_Exception.thrown(new openfl_errors_EOFError);return this.position+=e,this.getString(this.position-e,e)},uncompress:function(e){if(null==e&&(e=2),this.__length>this.length){var t=this.length;this.length=this.__length;var i=new haxe_io_Bytes(new ArrayBuffer(t));i.blit(0,this,0,t),this.b=i.b,this.__length=i.length,this.data=i.data,this.length=t}var l,n=this;switch(e){case 0:l=lime_utils_Bytes.decompress(n,lime_utils_CompressionAlgorithm.DEFLATE);break;case 1:l=lime_utils_Bytes.decompress(n,lime_utils_CompressionAlgorithm.LZMA);break;default:l=lime_utils_Bytes.decompress(n,lime_utils_CompressionAlgorithm.ZLIB)}null!=l&&(this.b=l.b,this.__length=l.length,this.data=l.data,this.length=this.__length),this.position=0},writeBoolean:function(e){this.writeByte(e?1:0)},writeByte:function(e){this.__resize(this.position+1),this.b[this.position++]=255&e},writeBytes:function(e,t,i){null==i&&(i=0),null==t&&(t=0),0!=openfl_utils_ByteArray.get_length(e)&&(0==i&&(i=openfl_utils_ByteArray.get_length(e)-t),this.__resize(this.position+i),this.blit(this.position,e,t,i),this.position=this.position+i)},writeDouble:function(e){var t=haxe_io_FPHelper.doubleToI64(e);1==this.__endian?(this.writeInt(t.low),this.writeInt(t.high)):(this.writeInt(t.high),this.writeInt(t.low))},writeFloat:function(e){if(1==this.__endian)this.__resize(this.position+4),this.setFloat(this.position,e),this.position+=4;else{var t=haxe_io_FPHelper.floatToI32(e);this.writeInt(t)}},writeInt:function(e){this.__resize(this.position+4),1==this.__endian?(this.b[this.position++]=255&e,this.b[this.position++]=255&e>>8,this.b[this.position++]=255&e>>16,this.b[this.position++]=255&e>>24):(this.b[this.position++]=255&e>>24,this.b[this.position++]=255&e>>16,this.b[this.position++]=255&e>>8,this.b[this.position++]=255&e)},writeMultiByte:function(e,t){this.writeUTFBytes(e)},writeObject:function(e){switch(this.objectEncoding){case 10:t=haxe_Serializer.run(e);this.writeUTF(t);break;case 12:var t=JSON.stringify(e);this.writeUTF(t);break;default:return}},writeShort:function(e){this.__resize(this.position+2),1==this.__endian?(this.b[this.position++]=255&e,this.b[this.position++]=e>>8&255):(this.b[this.position++]=e>>8&255,this.b[this.position++]=255&e)},writeUnsignedInt:function(e){this.writeInt(e)},writeUTF:function(e){var t=haxe_io_Bytes.ofString(e);this.writeShort(t.length),this.writeBytes(openfl_utils_ByteArray.fromBytes(t))},writeUTFBytes:function(e){var t=haxe_io_Bytes.ofString(e);this.writeBytes(openfl_utils_ByteArray.fromBytes(t))},__fromBytes:function(e){this.b=e.b,this.__length=e.length,this.data=e.data,this.length=e.length},__resize:function(e){if(e>this.__length){var t=new haxe_io_Bytes(new ArrayBuffer(3*(e+1)>>1));if(this.__length>0){var i=this.length;this.length=this.__length,t.blit(0,this,0,this.__length),this.length=i}this.b=t.b,this.__length=t.length,this.data=t.data}this.length<e&&(this.length=e)},__setData:function(e){this.b=e.b,this.__length=e.length,this.data=e.data},get_bytesAvailable:function(){return this.length-this.position},get_endian:function(){return this.__endian},set_endian:function(e){return this.__endian=e},__class__:openfl_utils_ByteArrayData,__properties__:{set_endian:"set_endian",get_endian:"get_endian",get_bytesAvailable:"get_bytesAvailable"}});var flixel_system_VirtualInputData=function(e){null==e&&(e=0),openfl_utils_ByteArrayData.call(this);var t=haxe_Resource.getBytes(flixel_system_VirtualInputData.resourceName);this.__fromBytes(t)};$hxClasses["flixel.system.VirtualInputData"]=flixel_system_VirtualInputData,flixel_system_VirtualInputData.__name__="flixel.system.VirtualInputData",flixel_system_VirtualInputData.__super__=openfl_utils_ByteArrayData,flixel_system_VirtualInputData.prototype=$extend(openfl_utils_ByteArrayData.prototype,{__class__:flixel_system_VirtualInputData});var flixel_system_FlxAssets=function(){};$hxClasses["flixel.system.FlxAssets"]=flixel_system_FlxAssets,flixel_system_FlxAssets.__name__="flixel.system.FlxAssets",flixel_system_FlxAssets.drawLogo=function(e){e.beginFill(47394),e.moveTo(50,13),e.lineTo(51,13),e.lineTo(87,50),e.lineTo(87,51),e.lineTo(51,87),e.lineTo(50,87),e.lineTo(13,51),e.lineTo(13,50),e.lineTo(50,13),e.endFill(),e.beginFill(16761138),e.moveTo(0,0),e.lineTo(25,0),e.lineTo(50,13),e.lineTo(13,50),e.lineTo(0,25),e.lineTo(0,0),e.endFill(),e.beginFill(16066382),e.moveTo(100,0),e.lineTo(75,0),e.lineTo(51,13),e.lineTo(87,50),e.lineTo(100,25),e.lineTo(100,0),e.endFill(),e.beginFill(3555839),e.moveTo(0,100),e.lineTo(25,100),e.lineTo(50,87),e.lineTo(13,51),e.lineTo(0,75),e.lineTo(0,100),e.endFill(),e.beginFill(314875),e.moveTo(100,100),e.lineTo(75,100),e.lineTo(51,87),e.lineTo(87,51),e.lineTo(100,75),e.lineTo(100,100),e.endFill()},flixel_system_FlxAssets.getBitmapData=function(e){return openfl_utils_Assets.exists(e)?openfl_utils_Assets.getBitmapData(e,!1):null},flixel_system_FlxAssets.getBitmapFromClass=function(e){return Type.createInstance(e,[0,0])},flixel_system_FlxAssets.resolveBitmapData=function(e){return e instanceof openfl_display_BitmapData?e:js_Boot.__instanceof(e,Class)?Type.createInstance(e,[0,0]):"string"==typeof e&&openfl_utils_Assets.exists(e)?openfl_utils_Assets.getBitmapData(e,!1):null},flixel_system_FlxAssets.resolveKey=function(e,t){if(null!=t)return t;if(e instanceof openfl_display_BitmapData)return t;if(js_Boot.__instanceof(e,Class)){flixel_FlxG.bitmap;return e.__name__}return"string"==typeof e?e:null},flixel_system_FlxAssets.getSound=function(e){return".ogg",openfl_utils_Assets.getSound(e+".ogg")},flixel_system_FlxAssets.getVirtualInputFrames=function(){var e=new flixel_system_GraphicVirtualInput(0,0);Reflect.setProperty(e,"width",399),Reflect.setProperty(e,"height",183);var t=flixel_graphics_FlxGraphic.fromBitmapData(e);return flixel_graphics_frames_FlxAtlasFrames.fromSpriteSheetPacker(t,Std.string(new flixel_system_VirtualInputData))};var flixel_system_FlxBGSprite=function(){flixel_FlxSprite.call(this),this.makeGraphic(1,1,-1,!0,flixel_FlxG.bitmap.getUniqueKey("bg_graphic_")),this.scrollFactor.set()};$hxClasses["flixel.system.FlxBGSprite"]=flixel_system_FlxBGSprite,flixel_system_FlxBGSprite.__name__="flixel.system.FlxBGSprite",flixel_system_FlxBGSprite.__super__=flixel_FlxSprite,flixel_system_FlxBGSprite.prototype=$extend(flixel_FlxSprite.prototype,{draw:function(){for(var e=0,t=this.get_cameras();e<t.length;){var i=t[e];++e,i.visible&&i.exists&&(this._matrix.identity(),this._matrix.scale(i.viewWidth,i.viewHeight),i.drawPixels(this.frame,null,this._matrix,this.colorTransform))}},__class__:flixel_system_FlxBGSprite});var flixel_system__$FlxBasePreloader_DefaultPreloader=function(){openfl_display_Sprite.call(this),this.addEventListener("addedToStage",$bind(this,this.onAddedToStage))};$hxClasses["flixel.system._FlxBasePreloader.DefaultPreloader"]=flixel_system__$FlxBasePreloader_DefaultPreloader,flixel_system__$FlxBasePreloader_DefaultPreloader.__name__="flixel.system._FlxBasePreloader.DefaultPreloader",flixel_system__$FlxBasePreloader_DefaultPreloader.__super__=openfl_display_Sprite,flixel_system__$FlxBasePreloader_DefaultPreloader.prototype=$extend(openfl_display_Sprite.prototype,{onAddedToStage:function(e){this.removeEventListener("addedToStage",$bind(this,this.onAddedToStage)),this.onInit(),this.onUpdate(this.get_loaderInfo().bytesLoaded,this.get_loaderInfo().bytesTotal),this.addEventListener("progress",$bind(this,this.onProgress)),this.addEventListener("complete",$bind(this,this.onComplete))},onComplete:function(e){e.preventDefault(),this.removeEventListener("progress",$bind(this,this.onProgress)),this.removeEventListener("complete",$bind(this,this.onComplete)),this.onLoaded()},onProgress:function(e){this.onUpdate(0|e.bytesLoaded,0|e.bytesTotal)},onInit:function(){},onLoaded:function(){this.dispatchEvent(new openfl_events_Event("unload"))},onUpdate:function(e,t){},__class__:flixel_system__$FlxBasePreloader_DefaultPreloader});var flixel_system_FlxBasePreloader=function(e,t){null==e&&(e=0),this._destroyed=!1,this._urlChecked=!1,this._loaded=!1,this._percent=0,this.siteLockBodyText="It appears the website you are using is hosting an unauthorized copy of this game. Storage or redistribution of this content, without the express permission of the developer or other copyright holder, is prohibited under copyright law.\n\nThank you for your interest in this game! Please support the developer by visiting the following website to play the game:",this.siteLockTitleText="Sorry.",this.siteLockURLIndex=0,this.minDisplayTime=0,flixel_system__$FlxBasePreloader_DefaultPreloader.call(this),this.minDisplayTime=e,this.allowedURLs=null!=t?t:[],this._startTime=(new Date).getTime()};$hxClasses["flixel.system.FlxBasePreloader"]=flixel_system_FlxBasePreloader,flixel_system_FlxBasePreloader.__name__="flixel.system.FlxBasePreloader",flixel_system_FlxBasePreloader.__super__=flixel_system__$FlxBasePreloader_DefaultPreloader,flixel_system_FlxBasePreloader.prototype=$extend(flixel_system__$FlxBasePreloader_DefaultPreloader.prototype,{minDisplayTime:null,allowedURLs:null,siteLockURLIndex:null,siteLockTitleText:null,siteLockBodyText:null,_percent:null,_width:null,_height:null,_loaded:null,_urlChecked:null,_destroyed:null,_startTime:null,create:function(){},onInit:function(){flixel_system__$FlxBasePreloader_DefaultPreloader.prototype.onInit.call(this),openfl_Lib.get_current().stage.set_scaleMode(2),openfl_Lib.get_current().stage.align=6,this.create(),this.addEventListener("enterFrame",$bind(this,this.onEnterFrame)),this.checkSiteLock()},onUpdate:function(e,t){this._percent=0!=t?e/t:0},onEnterFrame:function(e){var t=(new Date).getTime()-this._startTime,i=1e3*this.minDisplayTime,l=this._percent;i>0&&this._percent>t/i&&(l=t/i),this._destroyed||this.update(l),this._loaded&&(i<=0||t/i>=1)&&(this.removeEventListener("enterFrame",$bind(this,this.onEnterFrame)),flixel_system__$FlxBasePreloader_DefaultPreloader.prototype.onLoaded.call(this),this.destroy(),this._destroyed=!0)},destroy:function(){},update:function(e){},onLoaded:function(){this._loaded=!0,this._percent=1},createBitmap:function(e,t){var i=new openfl_display_Bitmap;return i.set_bitmapData(Type.createInstance(e,[0,0,!0,-1,function(e){t(i)}])),i},loadBitmapData:function(e,t){return Type.createInstance(e,[0,0,!0,-1,t])},checkSiteLock:function(){this._urlChecked||(this.isHostUrlAllowed()?this._urlChecked=!0:(this.removeChildren(),this.removeEventListener("enterFrame",$bind(this,this.onEnterFrame)),this.createSiteLockFailureScreen()))},createSiteLockFailureScreen:function(){this.addChild(this.createSiteLockFailureBackground(16777215,15066597)),this.addChild(this.createSiteLockFailureIcon(15066597,.9)),this.addChild(this.createSiteLockFailureText(30))},createSiteLockFailureBackground:function(e,t){var i=new openfl_display_Shape,l=i.get_graphics();l.clear();var n=new openfl_geom_Matrix;n.createGradientBox(1,1,0,-.5,-.5);var s=Math.max(this.stage.stageWidth,this.stage.stageHeight);return n.scale(s,s),n.translate(.5*this.stage.stageWidth,.5*this.stage.stageHeight),l.beginGradientFill(1,[e,t],[1,1],[0,255],n),l.drawRect(0,0,this.stage.stageWidth,this.stage.stageHeight),l.endFill(),i},createSiteLockFailureIcon:function(e,t){var i=new openfl_display_Shape,l=i.get_graphics();l.clear(),l.beginFill(e);for(var n=[1,6,2,2,2,6,6,2,2,2,6,1,6,2,6,2,6,2,6,1,6,6,2,2,2,6,6],s=openfl_Vector.toIntVector(null),a=0,r=n.length;a<r;){o=a++;s.set(o,n[o])}for(var _=s,n=[120,0,164,0,200,35,200,79,200,130,160,130,160,79,160,57,142,40,120,40,97,40,79,57,79,79,80,130,40,130,40,79,40,35,75,0,120,0,220,140,231,140,240,148,240,160,240,300,240,311,231,320,220,320,20,320,8,320,0,311,0,300,0,160,0,148,8,140,20,140,120,190,108,190,100,198,100,210,100,217,104,223,110,227,110,270,130,270,130,227,135,223,140,217,140,210,140,198,131,190,120,190],s=openfl_Vector.toFloatVector(null),a=0,r=n.length;a<r;){var o=a++;s.set(o,n[o])}l.drawPath(_,s,1),l.endFill();var h=new openfl_geom_Matrix;h.translate(-.5*i.get_width(),-.5*i.get_height());var u=t*Math.min(this.stage.stageWidth/i.get_width(),this.stage.stageHeight/i.get_height());return h.scale(u,u),h.translate(.5*this.stage.stageWidth,.5*this.stage.stageHeight),i.get_transform().set_matrix(h),i},createSiteLockFailureText:function(e){var t=new openfl_display_Sprite,i=new openfl_geom_Rectangle(0,0,this.stage.stageWidth,this.stage.stageHeight);i.inflate(-e,-e);var l=new openfl_text_TextField,n=new openfl_text_TextFormat("_sans",33,3355443,!0);n.align=3,l.set_defaultTextFormat(n),l.set_selectable(!1),l.set_width(i.width),l.set_text(this.siteLockTitleText);var s=new openfl_text_TextField,a=new openfl_text_TextFormat("_sans",22,3355443);a.align=2,s.set_defaultTextFormat(a),s.set_multiline(!0),s.set_wordWrap(!0),s.set_selectable(!1),s.set_width(i.width),s.set_text(this.siteLockBodyText);var r=new openfl_text_TextField,_=new openfl_text_TextFormat("_sans",22,7247820,!0,!1,!0);_.align=0,_.url=this.allowedURLs[this.siteLockURLIndex],r.set_defaultTextFormat(_),r.set_selectable(!0),r.set_width(i.width),r.set_text(this.allowedURLs[this.siteLockURLIndex]),this.adjustSiteLockTextFields(l,s,r);return l.set_height(l.get_textHeight()+4),s.set_height(s.get_textHeight()+4),r.set_height(r.get_textHeight()+4),l.set_x(s.set_x(r.set_x(i.get_left()))),l.set_y(i.get_top()),s.set_y(l.get_y()+2*l.get_height()),r.set_y(s.get_y()+s.get_height()+r.get_height()),t.addChild(l),t.addChild(s),t.addChild(r),t},adjustSiteLockTextFields:function(e,t,i){},goToMyURL:function(e){if("localhost"!=this.allowedURLs[this.siteLockURLIndex]){var t=this.allowedURLs[this.siteLockURLIndex],i="";new EReg("^https?://","").match(t)||(i="http://"),openfl_Lib.getURL(new openfl_net_URLRequest(i+t),"_blank")}else openfl_Lib.getURL(new openfl_net_URLRequest(this.allowedURLs[this.siteLockURLIndex]))},isHostUrlAllowed:function(){if(0==this.allowedURLs.length)return!0;for(var e=$global.location.href,t=flixel_util_FlxStringUtil.getDomain(e),i=0,l=this.allowedURLs;i<l.length;){var n=l[i];if(++i,flixel_util_FlxStringUtil.getDomain(n)==t)return!0}return!1},__class__:flixel_system_FlxBasePreloader});var flixel_system_FlxLinkedList=function(){this.exists=!0};$hxClasses["flixel.system.FlxLinkedList"]=flixel_system_FlxLinkedList,flixel_system_FlxLinkedList.__name__="flixel.system.FlxLinkedList",flixel_system_FlxLinkedList.__interfaces__=[flixel_util_IFlxDestroyable],flixel_system_FlxLinkedList._cachedListsHead=null,flixel_system_FlxLinkedList.recycle=function(){if(null!=flixel_system_FlxLinkedList._cachedListsHead){var e=flixel_system_FlxLinkedList._cachedListsHead;return flixel_system_FlxLinkedList._cachedListsHead=flixel_system_FlxLinkedList._cachedListsHead.next,flixel_system_FlxLinkedList._NUM_CACHED_FLX_LIST--,e.exists=!0,e.next=null,e}return new flixel_system_FlxLinkedList},flixel_system_FlxLinkedList.clearCache=function(){for(;null!=flixel_system_FlxLinkedList._cachedListsHead;){var e=flixel_system_FlxLinkedList._cachedListsHead;flixel_system_FlxLinkedList._cachedListsHead=flixel_system_FlxLinkedList._cachedListsHead.next,e.object=null,e.next=null}flixel_system_FlxLinkedList._NUM_CACHED_FLX_LIST=0},flixel_system_FlxLinkedList.prototype={object:null,next:null,exists:null,destroy:function(){this.exists&&(this.object=null,null!=this.next&&this.next.destroy(),this.exists=!1,this.next=flixel_system_FlxLinkedList._cachedListsHead,flixel_system_FlxLinkedList._cachedListsHead=this,flixel_system_FlxLinkedList._NUM_CACHED_FLX_LIST++)},__class__:flixel_system_FlxLinkedList};var flixel_system__$FlxPreloader_GraphicLogoLight=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system__$FlxPreloader_GraphicLogoLight.preload)this.__fromImage(flixel_system__$FlxPreloader_GraphicLogoLight.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system__$FlxPreloader_GraphicLogoLight.resourceName),flixel_system__$FlxPreloader_GraphicLogoLight.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system__$FlxPreloader_GraphicLogoLight.preload&&(flixel_system__$FlxPreloader_GraphicLogoLight.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system._FlxPreloader.GraphicLogoLight"]=flixel_system__$FlxPreloader_GraphicLogoLight,flixel_system__$FlxPreloader_GraphicLogoLight.__name__="flixel.system._FlxPreloader.GraphicLogoLight",flixel_system__$FlxPreloader_GraphicLogoLight.preload=null,flixel_system__$FlxPreloader_GraphicLogoLight.__super__=openfl_display_BitmapData,flixel_system__$FlxPreloader_GraphicLogoLight.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system__$FlxPreloader_GraphicLogoLight});var flixel_system__$FlxPreloader_GraphicLogoCorners=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system__$FlxPreloader_GraphicLogoCorners.preload)this.__fromImage(flixel_system__$FlxPreloader_GraphicLogoCorners.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system__$FlxPreloader_GraphicLogoCorners.resourceName),flixel_system__$FlxPreloader_GraphicLogoCorners.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system__$FlxPreloader_GraphicLogoCorners.preload&&(flixel_system__$FlxPreloader_GraphicLogoCorners.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system._FlxPreloader.GraphicLogoCorners"]=flixel_system__$FlxPreloader_GraphicLogoCorners,flixel_system__$FlxPreloader_GraphicLogoCorners.__name__="flixel.system._FlxPreloader.GraphicLogoCorners",flixel_system__$FlxPreloader_GraphicLogoCorners.preload=null,flixel_system__$FlxPreloader_GraphicLogoCorners.__super__=openfl_display_BitmapData,flixel_system__$FlxPreloader_GraphicLogoCorners.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system__$FlxPreloader_GraphicLogoCorners});var flixel_system_FlxPreloader=function(e,t){null==e&&(e=0),flixel_system_FlxBasePreloader.call(this,e,t)};$hxClasses["flixel.system.FlxPreloader"]=flixel_system_FlxPreloader,flixel_system_FlxPreloader.__name__="flixel.system.FlxPreloader",flixel_system_FlxPreloader.__super__=flixel_system_FlxBasePreloader,flixel_system_FlxPreloader.prototype=$extend(flixel_system_FlxBasePreloader.prototype,{_buffer:null,_bmpBar:null,_text:null,_logo:null,_logoGlow:null,create:function(){var e=this;this._buffer=new openfl_display_Sprite,this._buffer.set_scaleX(this._buffer.set_scaleY(2)),this.addChild(this._buffer),this._width=openfl_Lib.get_current().stage.stageWidth/this._buffer.get_scaleX()|0,this._height=openfl_Lib.get_current().stage.stageHeight/this._buffer.get_scaleY()|0,this._buffer.addChild(new openfl_display_Bitmap(new openfl_display_BitmapData(this._width,this._height,!1,13406)));var t=this.createBitmap(flixel_system__$FlxPreloader_GraphicLogoLight,function(t){t.set_width(t.set_height(e._height)),t.set_x((e._width-t.get_width())/2)});t.smoothing=!0,this._buffer.addChild(t),this._bmpBar=new openfl_display_Bitmap(new openfl_display_BitmapData(1,7,!1,6253311)),this._bmpBar.set_x(4),this._bmpBar.set_y(this._height-11),this._buffer.addChild(this._bmpBar),this._text=new openfl_text_TextField,this._text.set_defaultTextFormat(new openfl_text_TextFormat(flixel_system_FlxAssets.FONT_DEFAULT,8,6253311)),this._text.set_embedFonts(!0),this._text.set_selectable(!1),this._text.set_multiline(!1),this._text.set_x(2),this._text.set_y(this._bmpBar.get_y()-11),this._text.set_width(200),this._buffer.addChild(this._text),this._logo=new openfl_display_Sprite,flixel_system_FlxAssets.drawLogo(this._logo.get_graphics()),this._logo.set_scaleX(this._logo.set_scaleY(this._height/8*.04)),this._logo.set_x((this._width-this._logo.get_width())/2),this._logo.set_y((this._height-this._logo.get_height())/2),this._buffer.addChild(this._logo),this._logoGlow=new openfl_display_Sprite,flixel_system_FlxAssets.drawLogo(this._logoGlow.get_graphics()),this._logoGlow.set_blendMode(12),this._logoGlow.set_scaleX(this._logoGlow.set_scaleY(this._height/8*.04)),this._logoGlow.set_x((this._width-this._logoGlow.get_width())/2),this._logoGlow.set_y((this._height-this._logoGlow.get_height())/2),this._buffer.addChild(this._logoGlow);var i=this.createBitmap(flixel_system__$FlxPreloader_GraphicLogoCorners,function(t){t.set_width(e._width),t.set_height(e.get_height())});i.smoothing=!0,this._buffer.addChild(i);for(var l=new openfl_display_Bitmap(new openfl_display_BitmapData(this._width,this._height,!1,16777215)),n=0,s=0;n<this._height;){for(s=0;s<this._width;)l.get_bitmapData().setPixel(s++,n,0);n+=2}l.set_blendMode(11),l.set_alpha(.25),this._buffer.addChild(l),flixel_system_FlxBasePreloader.prototype.create.call(this)},destroy:function(){null!=this._buffer&&this.removeChild(this._buffer),this._buffer=null,this._bmpBar=null,this._text=null,this._logo=null,this._logoGlow=null,flixel_system_FlxBasePreloader.prototype.destroy.call(this)},update:function(e){this._bmpBar.set_scaleX(e*(this._width-8)),this._text.set_text(Std.string(flixel_FlxG.VERSION)+" "+(100*e|0)+"%"),e<.1?(this._logoGlow.set_alpha(0),this._logo.set_alpha(0)):e<.15?(this._logoGlow.set_alpha(Math.random()),this._logo.set_alpha(0)):e<.2?(this._logoGlow.set_alpha(0),this._logo.set_alpha(0)):e<.25?(this._logoGlow.set_alpha(0),this._logo.set_alpha(Math.random())):e<.7?(this._logoGlow.set_alpha((e-.45)/.45),this._logo.set_alpha(1)):e>.8&&e<.9?(this._logoGlow.set_alpha(1-(e-.8)/.1),this._logo.set_alpha(0)):e>.9&&this._buffer.set_alpha(1-(e-.9)/.1)},__class__:flixel_system_FlxPreloader});var flixel_system_FlxQuadTree=function(e,t,i,l,n){flixel_math_FlxRect.call(this);var s=e,a=t,r=i,_=l;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),this.x=s,this.y=a,this.width=r,this.height=_,this.reset(e,t,i,l,n)};$hxClasses["flixel.system.FlxQuadTree"]=flixel_system_FlxQuadTree,flixel_system_FlxQuadTree.__name__="flixel.system.FlxQuadTree",flixel_system_FlxQuadTree.divisions=null,flixel_system_FlxQuadTree._min=null,flixel_system_FlxQuadTree._object=null,flixel_system_FlxQuadTree._objectLeftEdge=null,flixel_system_FlxQuadTree._objectTopEdge=null,flixel_system_FlxQuadTree._objectRightEdge=null,flixel_system_FlxQuadTree._objectBottomEdge=null,flixel_system_FlxQuadTree._list=null,flixel_system_FlxQuadTree._useBothLists=null,flixel_system_FlxQuadTree._processingCallback=null,flixel_system_FlxQuadTree._notifyCallback=null,flixel_system_FlxQuadTree._iterator=null,flixel_system_FlxQuadTree._objectHullX=null,flixel_system_FlxQuadTree._objectHullY=null,flixel_system_FlxQuadTree._objectHullWidth=null,flixel_system_FlxQuadTree._objectHullHeight=null,flixel_system_FlxQuadTree._checkObjectHullX=null,flixel_system_FlxQuadTree._checkObjectHullY=null,flixel_system_FlxQuadTree._checkObjectHullWidth=null,flixel_system_FlxQuadTree._checkObjectHullHeight=null,flixel_system_FlxQuadTree._cachedTreesHead=null,flixel_system_FlxQuadTree.recycle=function(e,t,i,l,n){if(null!=flixel_system_FlxQuadTree._cachedTreesHead){var s=flixel_system_FlxQuadTree._cachedTreesHead;return flixel_system_FlxQuadTree._cachedTreesHead=flixel_system_FlxQuadTree._cachedTreesHead.next,flixel_system_FlxQuadTree._NUM_CACHED_QUAD_TREES--,s.reset(e,t,i,l,n),s}return new flixel_system_FlxQuadTree(e,t,i,l,n)},flixel_system_FlxQuadTree.clearCache=function(){for(;null!=flixel_system_FlxQuadTree._cachedTreesHead;){var e=flixel_system_FlxQuadTree._cachedTreesHead;flixel_system_FlxQuadTree._cachedTreesHead=flixel_system_FlxQuadTree._cachedTreesHead.next,e.next=null}flixel_system_FlxQuadTree._NUM_CACHED_QUAD_TREES=0},flixel_system_FlxQuadTree.__super__=flixel_math_FlxRect,flixel_system_FlxQuadTree.prototype=$extend(flixel_math_FlxRect.prototype,{exists:null,_canSubdivide:null,_headA:null,_tailA:null,_headB:null,_tailB:null,_northWestTree:null,_northEastTree:null,_southEastTree:null,_southWestTree:null,_leftEdge:null,_rightEdge:null,_topEdge:null,_bottomEdge:null,_halfWidth:null,_halfHeight:null,_midpointX:null,_midpointY:null,next:null,reset:function(e,t,i,l,n){this.exists=!0;var s=e,a=t,r=i,_=l;if(null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),this.x=s,this.y=a,this.width=r,this.height=_,this._headA=this._tailA=flixel_system_FlxLinkedList.recycle(),this._headB=this._tailB=flixel_system_FlxLinkedList.recycle(),null!=n){var o,h;if(null!=n._headA.object)for(o=n._headA;null!=o;)null!=this._tailA.object&&(h=this._tailA,this._tailA=flixel_system_FlxLinkedList.recycle(),h.next=this._tailA),this._tailA.object=o.object,o=o.next;if(null!=n._headB.object)for(o=n._headB;null!=o;)null!=this._tailB.object&&(h=this._tailB,this._tailB=flixel_system_FlxLinkedList.recycle(),h.next=this._tailB),this._tailB.object=o.object,o=o.next}else flixel_system_FlxQuadTree._min=Math.floor((this.width+this.height)/(2*flixel_system_FlxQuadTree.divisions));this._canSubdivide=this.width>flixel_system_FlxQuadTree._min||this.height>flixel_system_FlxQuadTree._min,this._northWestTree=null,this._northEastTree=null,this._southEastTree=null,this._southWestTree=null,this._leftEdge=this.x,this._rightEdge=this.x+this.width,this._halfWidth=this.width/2,this._midpointX=this._leftEdge+this._halfWidth,this._topEdge=this.y,this._bottomEdge=this.y+this.height,this._halfHeight=this.height/2,this._midpointY=this._topEdge+this._halfHeight},destroy:function(){this._headA=flixel_util_FlxDestroyUtil.destroy(this._headA),this._headB=flixel_util_FlxDestroyUtil.destroy(this._headB),this._tailA=flixel_util_FlxDestroyUtil.destroy(this._tailA),this._tailB=flixel_util_FlxDestroyUtil.destroy(this._tailB),this._northWestTree=flixel_util_FlxDestroyUtil.destroy(this._northWestTree),this._northEastTree=flixel_util_FlxDestroyUtil.destroy(this._northEastTree),this._southWestTree=flixel_util_FlxDestroyUtil.destroy(this._southWestTree),this._southEastTree=flixel_util_FlxDestroyUtil.destroy(this._southEastTree),flixel_system_FlxQuadTree._object=null,flixel_system_FlxQuadTree._processingCallback=null,flixel_system_FlxQuadTree._notifyCallback=null,this.exists=!1,this.next=flixel_system_FlxQuadTree._cachedTreesHead,flixel_system_FlxQuadTree._cachedTreesHead=this,flixel_system_FlxQuadTree._NUM_CACHED_QUAD_TREES++,flixel_math_FlxRect.prototype.destroy.call(this)},load:function(e,t,i,l){this.add(e,0),null!=t?(this.add(t,1),flixel_system_FlxQuadTree._useBothLists=!0):flixel_system_FlxQuadTree._useBothLists=!1,flixel_system_FlxQuadTree._notifyCallback=i,flixel_system_FlxQuadTree._processingCallback=l},add:function(e,t){flixel_system_FlxQuadTree._list=t;var i=flixel_group_FlxTypedGroup.resolveGroup(e);if(null!=i)for(var l,n=0,s=i.members,a=i.length;n<a;)null!=(l=s[n++])&&l.exists&&(null!=(i=flixel_group_FlxTypedGroup.resolveGroup(l))?this.add(i,t):(flixel_system_FlxQuadTree._object=l,flixel_system_FlxQuadTree._object.exists&&0!=flixel_system_FlxQuadTree._object.allowCollisions&&(flixel_system_FlxQuadTree._objectLeftEdge=flixel_system_FlxQuadTree._object.x,flixel_system_FlxQuadTree._objectTopEdge=flixel_system_FlxQuadTree._object.y,flixel_system_FlxQuadTree._objectRightEdge=flixel_system_FlxQuadTree._object.x+flixel_system_FlxQuadTree._object.get_width(),flixel_system_FlxQuadTree._objectBottomEdge=flixel_system_FlxQuadTree._object.y+flixel_system_FlxQuadTree._object.get_height(),this.addObject())));else flixel_system_FlxQuadTree._object=e,flixel_system_FlxQuadTree._object.exists&&0!=flixel_system_FlxQuadTree._object.allowCollisions&&(flixel_system_FlxQuadTree._objectLeftEdge=flixel_system_FlxQuadTree._object.x,flixel_system_FlxQuadTree._objectTopEdge=flixel_system_FlxQuadTree._object.y,flixel_system_FlxQuadTree._objectRightEdge=flixel_system_FlxQuadTree._object.x+flixel_system_FlxQuadTree._object.get_width(),flixel_system_FlxQuadTree._objectBottomEdge=flixel_system_FlxQuadTree._object.y+flixel_system_FlxQuadTree._object.get_height(),this.addObject())},addObject:function(){if(!this._canSubdivide||this._leftEdge>=flixel_system_FlxQuadTree._objectLeftEdge&&this._rightEdge<=flixel_system_FlxQuadTree._objectRightEdge&&this._topEdge>=flixel_system_FlxQuadTree._objectTopEdge&&this._bottomEdge<=flixel_system_FlxQuadTree._objectBottomEdge)this.addToList();else{if(flixel_system_FlxQuadTree._objectLeftEdge>this._leftEdge&&flixel_system_FlxQuadTree._objectRightEdge<this._midpointX){if(flixel_system_FlxQuadTree._objectTopEdge>this._topEdge&&flixel_system_FlxQuadTree._objectBottomEdge<this._midpointY)return null==this._northWestTree&&(this._northWestTree=flixel_system_FlxQuadTree.recycle(this._leftEdge,this._topEdge,this._halfWidth,this._halfHeight,this)),void this._northWestTree.addObject();if(flixel_system_FlxQuadTree._objectTopEdge>this._midpointY&&flixel_system_FlxQuadTree._objectBottomEdge<this._bottomEdge)return null==this._southWestTree&&(this._southWestTree=flixel_system_FlxQuadTree.recycle(this._leftEdge,this._midpointY,this._halfWidth,this._halfHeight,this)),void this._southWestTree.addObject()}if(flixel_system_FlxQuadTree._objectLeftEdge>this._midpointX&&flixel_system_FlxQuadTree._objectRightEdge<this._rightEdge){if(flixel_system_FlxQuadTree._objectTopEdge>this._topEdge&&flixel_system_FlxQuadTree._objectBottomEdge<this._midpointY)return null==this._northEastTree&&(this._northEastTree=flixel_system_FlxQuadTree.recycle(this._midpointX,this._topEdge,this._halfWidth,this._halfHeight,this)),void this._northEastTree.addObject();if(flixel_system_FlxQuadTree._objectTopEdge>this._midpointY&&flixel_system_FlxQuadTree._objectBottomEdge<this._bottomEdge)return null==this._southEastTree&&(this._southEastTree=flixel_system_FlxQuadTree.recycle(this._midpointX,this._midpointY,this._halfWidth,this._halfHeight,this)),void this._southEastTree.addObject()}flixel_system_FlxQuadTree._objectRightEdge>this._leftEdge&&flixel_system_FlxQuadTree._objectLeftEdge<this._midpointX&&flixel_system_FlxQuadTree._objectBottomEdge>this._topEdge&&flixel_system_FlxQuadTree._objectTopEdge<this._midpointY&&(null==this._northWestTree&&(this._northWestTree=flixel_system_FlxQuadTree.recycle(this._leftEdge,this._topEdge,this._halfWidth,this._halfHeight,this)),this._northWestTree.addObject()),flixel_system_FlxQuadTree._objectRightEdge>this._midpointX&&flixel_system_FlxQuadTree._objectLeftEdge<this._rightEdge&&flixel_system_FlxQuadTree._objectBottomEdge>this._topEdge&&flixel_system_FlxQuadTree._objectTopEdge<this._midpointY&&(null==this._northEastTree&&(this._northEastTree=flixel_system_FlxQuadTree.recycle(this._midpointX,this._topEdge,this._halfWidth,this._halfHeight,this)),this._northEastTree.addObject()),flixel_system_FlxQuadTree._objectRightEdge>this._midpointX&&flixel_system_FlxQuadTree._objectLeftEdge<this._rightEdge&&flixel_system_FlxQuadTree._objectBottomEdge>this._midpointY&&flixel_system_FlxQuadTree._objectTopEdge<this._bottomEdge&&(null==this._southEastTree&&(this._southEastTree=flixel_system_FlxQuadTree.recycle(this._midpointX,this._midpointY,this._halfWidth,this._halfHeight,this)),this._southEastTree.addObject()),flixel_system_FlxQuadTree._objectRightEdge>this._leftEdge&&flixel_system_FlxQuadTree._objectLeftEdge<this._midpointX&&flixel_system_FlxQuadTree._objectBottomEdge>this._midpointY&&flixel_system_FlxQuadTree._objectTopEdge<this._bottomEdge&&(null==this._southWestTree&&(this._southWestTree=flixel_system_FlxQuadTree.recycle(this._leftEdge,this._midpointY,this._halfWidth,this._halfHeight,this)),this._southWestTree.addObject())}},addToList:function(){var e;0==flixel_system_FlxQuadTree._list?(null!=this._tailA.object&&(e=this._tailA,this._tailA=flixel_system_FlxLinkedList.recycle(),e.next=this._tailA),this._tailA.object=flixel_system_FlxQuadTree._object):(null!=this._tailB.object&&(e=this._tailB,this._tailB=flixel_system_FlxLinkedList.recycle(),e.next=this._tailB),this._tailB.object=flixel_system_FlxQuadTree._object),this._canSubdivide&&(null!=this._northWestTree&&this._northWestTree.addToList(),null!=this._northEastTree&&this._northEastTree.addToList(),null!=this._southEastTree&&this._southEastTree.addToList(),null!=this._southWestTree&&this._southWestTree.addToList())},execute:function(){var e=!1;if(null!=this._headA.object)for(var t=this._headA;null!=t;)flixel_system_FlxQuadTree._object=t.object,flixel_system_FlxQuadTree._useBothLists?flixel_system_FlxQuadTree._iterator=this._headB:flixel_system_FlxQuadTree._iterator=t.next,null!=flixel_system_FlxQuadTree._object&&flixel_system_FlxQuadTree._object.exists&&flixel_system_FlxQuadTree._object.allowCollisions>0&&null!=flixel_system_FlxQuadTree._iterator&&null!=flixel_system_FlxQuadTree._iterator.object&&this.overlapNode()&&(e=!0),t=t.next;return null!=this._northWestTree&&this._northWestTree.execute()&&(e=!0),null!=this._northEastTree&&this._northEastTree.execute()&&(e=!0),null!=this._southEastTree&&this._southEastTree.execute()&&(e=!0),null!=this._southWestTree&&this._southWestTree.execute()&&(e=!0),e},overlapNode:function(){flixel_system_FlxQuadTree._objectHullX=flixel_system_FlxQuadTree._object.x<flixel_system_FlxQuadTree._object.last.x?flixel_system_FlxQuadTree._object.x:flixel_system_FlxQuadTree._object.last.x,flixel_system_FlxQuadTree._objectHullY=flixel_system_FlxQuadTree._object.y<flixel_system_FlxQuadTree._object.last.y?flixel_system_FlxQuadTree._object.y:flixel_system_FlxQuadTree._object.last.y,flixel_system_FlxQuadTree._objectHullWidth=flixel_system_FlxQuadTree._object.x-flixel_system_FlxQuadTree._object.last.x,flixel_system_FlxQuadTree._objectHullWidth=flixel_system_FlxQuadTree._object.get_width()+(flixel_system_FlxQuadTree._objectHullWidth>0?flixel_system_FlxQuadTree._objectHullWidth:-flixel_system_FlxQuadTree._objectHullWidth),flixel_system_FlxQuadTree._objectHullHeight=flixel_system_FlxQuadTree._object.y-flixel_system_FlxQuadTree._object.last.y,flixel_system_FlxQuadTree._objectHullHeight=flixel_system_FlxQuadTree._object.get_height()+(flixel_system_FlxQuadTree._objectHullHeight>0?flixel_system_FlxQuadTree._objectHullHeight:-flixel_system_FlxQuadTree._objectHullHeight);for(var e,t=!1;null!=flixel_system_FlxQuadTree._iterator;)e=flixel_system_FlxQuadTree._iterator.object,flixel_system_FlxQuadTree._object==e||!e.exists||e.allowCollisions<=0?flixel_system_FlxQuadTree._iterator=flixel_system_FlxQuadTree._iterator.next:(flixel_system_FlxQuadTree._checkObjectHullX=e.x<e.last.x?e.x:e.last.x,flixel_system_FlxQuadTree._checkObjectHullY=e.y<e.last.y?e.y:e.last.y,flixel_system_FlxQuadTree._checkObjectHullWidth=e.x-e.last.x,flixel_system_FlxQuadTree._checkObjectHullWidth=e.get_width()+(flixel_system_FlxQuadTree._checkObjectHullWidth>0?flixel_system_FlxQuadTree._checkObjectHullWidth:-flixel_system_FlxQuadTree._checkObjectHullWidth),flixel_system_FlxQuadTree._checkObjectHullHeight=e.y-e.last.y,flixel_system_FlxQuadTree._checkObjectHullHeight=e.get_height()+(flixel_system_FlxQuadTree._checkObjectHullHeight>0?flixel_system_FlxQuadTree._checkObjectHullHeight:-flixel_system_FlxQuadTree._checkObjectHullHeight),flixel_system_FlxQuadTree._objectHullX+flixel_system_FlxQuadTree._objectHullWidth>flixel_system_FlxQuadTree._checkObjectHullX&&flixel_system_FlxQuadTree._objectHullX<flixel_system_FlxQuadTree._checkObjectHullX+flixel_system_FlxQuadTree._checkObjectHullWidth&&flixel_system_FlxQuadTree._objectHullY+flixel_system_FlxQuadTree._objectHullHeight>flixel_system_FlxQuadTree._checkObjectHullY&&flixel_system_FlxQuadTree._objectHullY<flixel_system_FlxQuadTree._checkObjectHullY+flixel_system_FlxQuadTree._checkObjectHullHeight&&(null==flixel_system_FlxQuadTree._processingCallback||flixel_system_FlxQuadTree._processingCallback(flixel_system_FlxQuadTree._object,e))&&(t=!0,null!=flixel_system_FlxQuadTree._notifyCallback&&flixel_system_FlxQuadTree._notifyCallback(flixel_system_FlxQuadTree._object,e)),null!=flixel_system_FlxQuadTree._iterator&&(flixel_system_FlxQuadTree._iterator=flixel_system_FlxQuadTree._iterator.next));return t},__class__:flixel_system_FlxQuadTree});var flixel_system_FlxSound=function(){this._alreadyPaused=!1,this._volumeAdjust=1,this._length=0,this._time=0,this.loopTime=0,flixel_FlxBasic.call(this),this.reset()};$hxClasses["flixel.system.FlxSound"]=flixel_system_FlxSound,flixel_system_FlxSound.__name__="flixel.system.FlxSound",flixel_system_FlxSound.__super__=flixel_FlxBasic,flixel_system_FlxSound.prototype=$extend(flixel_FlxBasic.prototype,{x:null,y:null,persist:null,name:null,artist:null,amplitude:null,amplitudeLeft:null,amplitudeRight:null,autoDestroy:null,onComplete:null,group:null,looped:null,loopTime:null,endTime:null,fadeTween:null,_sound:null,_channel:null,_transform:null,_paused:null,_volume:null,_time:null,_length:null,_volumeAdjust:null,_target:null,_radius:null,_proximityPan:null,_alreadyPaused:null,reset:function(){this.destroy(),this.x=0,this.y=0,this._time=0,this._paused=!1,this._volume=1,this._volumeAdjust=1,this.looped=!1,this.loopTime=0,this.endTime=0,this._target=null,this._radius=0,this._proximityPan=!1,this.set_visible(!1),this.amplitude=0,this.amplitudeLeft=0,this.amplitudeRight=0,this.autoDestroy=!1,null==this._transform&&(this._transform=new openfl_media_SoundTransform),this._transform.pan=0},destroy:function(){this._transform=null,this.set_exists(!1),this.set_active(!1),this._target=null,this.name=null,this.artist=null,null!=this._channel&&(this._channel.removeEventListener("soundComplete",$bind(this,this.stopped)),this._channel.stop(),this._channel=null),null!=this._sound&&(this._sound.removeEventListener("id3",$bind(this,this.gotID3)),this._sound=null),this.onComplete=null,flixel_FlxBasic.prototype.destroy.call(this)},update:function(e){if(null!=this._channel){this._time=this._channel.get_position();var t=1;if(null!=this._target){var i=this._target.getPosition(),l=this.x,n=this.y;null==n&&(n=0),null==l&&(l=0);var s=l,a=n;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1;var _=r;if(_._weak=!0,t=i.distanceTo(_)/this._radius,i.put(),t=1-((h=t<0?0:t)>1?1:h),this._proximityPan){var o=(this.x-this._target.x)/this._radius,h=o<-1?-1:o;this._transform.pan=h>1?1:h}}this._volumeAdjust=t,this.updateTransform(),this._transform.volume>0?(this.amplitudeLeft=this._channel.leftPeak/this._transform.volume,this.amplitudeRight=this._channel.rightPeak/this._transform.volume,this.amplitude=.5*(this.amplitudeLeft+this.amplitudeRight)):(this.amplitudeLeft=0,this.amplitudeRight=0,this.amplitude=0),null!=this.endTime&&this._time>=this.endTime&&this.stopped()}},kill:function(){flixel_FlxBasic.prototype.kill.call(this),this.cleanup(!1)},loadEmbedded:function(e,t,i,l){return null==i&&(i=!1),null==t&&(t=!1),null==e?this:(this.cleanup(!0),e instanceof openfl_media_Sound?this._sound=e:js_Boot.__instanceof(e,Class)?this._sound=Type.createInstance(e,[]):"string"==typeof e&&(openfl_utils_Assets.exists(e,"SOUND")||openfl_utils_Assets.exists(e,"MUSIC"))&&(this._sound=openfl_utils_Assets.getSound(e)),this.init(t,i,l))},loadStream:function(e,t,i,l){return null==i&&(i=!1),null==t&&(t=!1),this.cleanup(!0),this._sound=new openfl_media_Sound,this._sound.addEventListener("id3",$bind(this,this.gotID3)),this._sound.load(new openfl_net_URLRequest(e)),this.init(t,i,l)},init:function(e,t,i){return null==t&&(t=!1),null==e&&(e=!1),this.looped=e,this.autoDestroy=t,this.updateTransform(),this.set_exists(!0),this.onComplete=i,this._length=null==this._sound?0:this._sound.get_length(),this.endTime=this._length,this},proximity:function(e,t,i,l,n){return null==n&&(n=!0),this.x=e,this.y=t,this._target=i,this._radius=l,this._proximityPan=n,this},play:function(e,t,i){if(null==t&&(t=0),null==e&&(e=!1),!this.exists)return this;if(e)this.cleanup(!1,!0);else if(null!=this._channel)return this;return this._paused?this.resume():this.startSound(t),this.endTime=i,this},resume:function(){return this._paused&&this.startSound(this._time),this},pause:function(){return null==this._channel?this:(this._time=this._channel.get_position(),this._paused=!0,this.cleanup(!1,!1),this)},stop:function(){return this.cleanup(this.autoDestroy,!0),this},fadeOut:function(e,t,i){return null==t&&(t=0),null==e&&(e=1),null!=this.fadeTween&&this.fadeTween.cancel(),this.fadeTween=flixel_tweens_FlxTween.num(this._volume,t,e,{onComplete:i},$bind(this,this.volumeTween)),this},fadeIn:function(e,t,i,l){return null==i&&(i=1),null==t&&(t=0),null==e&&(e=1),null==this._channel&&this.play(),null!=this.fadeTween&&this.fadeTween.cancel(),this.fadeTween=flixel_tweens_FlxTween.num(t,i,e,{onComplete:l},$bind(this,this.volumeTween)),this},volumeTween:function(e){this.set_volume(e)},getActualVolume:function(){return this._volume*this._volumeAdjust},setPosition:function(e,t){null==t&&(t=0),null==e&&(e=0),this.x=e,this.y=t},updateTransform:function(){this._transform.volume=(flixel_FlxG.sound.muted?0:1)*flixel_FlxG.sound.volume*(null!=this.group?this.group.volume:1)*this._volume*this._volumeAdjust,null!=this._channel&&this._channel.set_soundTransform(this._transform)},startSound:function(e){null!=this._sound&&(this._time=e,this._paused=!1,this._channel=this._sound.play(this._time,0,this._transform),null!=this._channel?(this._channel.addEventListener("soundComplete",$bind(this,this.stopped)),this.set_active(!0)):(this.set_exists(!1),this.set_active(!1)))},stopped:function(e){null!=this.onComplete&&this.onComplete(),this.looped?(this.cleanup(!1),this.play(!1,this.loopTime,this.endTime)):this.cleanup(this.autoDestroy)},cleanup:function(e,t){null==t&&(t=!0),e?this.reset():(null!=this._channel&&(this._channel.removeEventListener("soundComplete",$bind(this,this.stopped)),this._channel.stop(),this._channel=null),this.set_active(!1),t&&(this._time=0,this._paused=!1))},gotID3:function(e){this.name=this._sound.get_id3().songName,this.artist=this._sound.get_id3().artist,this._sound.removeEventListener("id3",$bind(this,this.gotID3))},onFocus:function(){this._alreadyPaused||this.resume()},onFocusLost:function(){this._alreadyPaused=this._paused,this.pause()},set_group:function(e){if(this.group!=e){var t=this.group;this.group=e,null!=t&&t.remove(this),null!=e&&e.add(this),this.updateTransform()}return e},get_playing:function(){return null!=this._channel},get_volume:function(){return this._volume},set_volume:function(e){var t=e<0?0:e;return this._volume=t>1?1:t,this.updateTransform(),e},get_pan:function(){return this._transform.pan},set_pan:function(e){return this._transform.pan=e},get_time:function(){return this._time},set_time:function(e){return null!=this._channel&&(this.cleanup(!1,!0),this.startSound(e)),this._time=e},get_length:function(){return this._length},toString:function(){var e=null!=this._channel,t=flixel_util_LabelValuePair._pool.get();t.label="playing",t.value=e;var e=this._time,i=flixel_util_LabelValuePair._pool.get();i.label="time",i.value=e;var e=this._length,l=flixel_util_LabelValuePair._pool.get();l.label="length",l.value=e;var e=this._volume,n=flixel_util_LabelValuePair._pool.get();return n.label="volume",n.value=e,flixel_util_FlxStringUtil.getDebugString([t,i,l,n])},__class__:flixel_system_FlxSound,__properties__:$extend(flixel_FlxBasic.prototype.__properties__,{set_group:"set_group",get_length:"get_length",set_time:"set_time",get_time:"get_time",set_volume:"set_volume",get_volume:"get_volume",get_playing:"get_playing",set_pan:"set_pan",get_pan:"get_pan"})});var flixel_system_FlxSoundGroup=function(e){null==e&&(e=1),this.sounds=[],this.set_volume(e)};$hxClasses["flixel.system.FlxSoundGroup"]=flixel_system_FlxSoundGroup,flixel_system_FlxSoundGroup.__name__="flixel.system.FlxSoundGroup",flixel_system_FlxSoundGroup.prototype={sounds:null,volume:null,add:function(e){return this.sounds.indexOf(e)<0&&(this.sounds.push(e),e.set_group(this),!0)},remove:function(e){return this.sounds.indexOf(e)>=0&&(e.set_group(null),HxOverrides.remove(this.sounds,e))},pause:function(){for(var e=0,t=this.sounds;e<t.length;){var i=t[e];++e,i.pause()}},resume:function(){for(var e=0,t=this.sounds;e<t.length;){var i=t[e];++e,i.resume()}},set_volume:function(e){this.volume=e;for(var t=0,i=this.sounds;t<i.length;){var l=i[t];++t,l.updateTransform()}return e},__class__:flixel_system_FlxSoundGroup,__properties__:{set_volume:"set_volume"}};var flixel_system_FlxSplash=function(e){this._curPart=0,flixel_FlxState.call(this,e)};$hxClasses["flixel.system.FlxSplash"]=flixel_system_FlxSplash,flixel_system_FlxSplash.__name__="flixel.system.FlxSplash",flixel_system_FlxSplash.nextState=null,flixel_system_FlxSplash.__super__=flixel_FlxState,flixel_system_FlxSplash.prototype=$extend(flixel_FlxState.prototype,{_sprite:null,_gfx:null,_text:null,_times:null,_colors:null,_functions:null,_curPart:null,_cachedBgColor:null,_cachedTimestep:null,_cachedAutoPause:null,create:function(){this._cachedBgColor=flixel_FlxG.cameras.get_bgColor(),flixel_FlxG.cameras.set_bgColor(-16777216),this._cachedTimestep=flixel_FlxG.fixedTimestep,flixel_FlxG.fixedTimestep=!1,this._cachedAutoPause=flixel_FlxG.autoPause,flixel_FlxG.autoPause=!1,flixel_FlxG.keys.enabled=!1,this._times=[.041,.184,.334,.495,.636],this._colors=[47394,16761138,16066382,3555839,314875],this._functions=[$bind(this,this.drawGreen),$bind(this,this.drawYellow),$bind(this,this.drawRed),$bind(this,this.drawBlue),$bind(this,this.drawLightBlue)];for(var e=0,t=this._times;e<t.length;){var i=t[e];++e,(new flixel_util_FlxTimer).start(i,$bind(this,this.timerCallback))}var l=openfl_Lib.get_current().stage.stageWidth,n=openfl_Lib.get_current().stage.stageHeight;this._sprite=new openfl_display_Sprite,openfl_Lib.get_current().stage.addChild(this._sprite),this._gfx=this._sprite.get_graphics(),this._text=new openfl_text_TextField,this._text.set_selectable(!1),this._text.set_embedFonts(!0);var s=new openfl_text_TextFormat(flixel_system_FlxAssets.FONT_DEFAULT,16,16777215);if(s.align=0,this._text.set_defaultTextFormat(s),this._text.set_text("HaxeFlixel"),openfl_Lib.get_current().stage.addChild(this._text),this.onResize(l,n),!flixel_system_FlxSplash.muted){".ogg",flixel_FlxG.sound.load(openfl_utils_Assets.getSound("flixel/sounds/flixel.ogg")).play()}},destroy:function(){this._sprite=null,this._gfx=null,this._text=null,this._times=null,this._colors=null,this._functions=null,flixel_FlxState.prototype.destroy.call(this)},onResize:function(e,t){flixel_FlxState.prototype.onResize.call(this,e,t),this._sprite.set_x(e/2),this._sprite.set_y(t/2-20*flixel_FlxG.game.get_scaleY()),this._text.set_width(e/flixel_FlxG.game.get_scaleX()),this._text.set_x(0),this._text.set_y(this._sprite.get_y()+80*flixel_FlxG.game.get_scaleY()),this._sprite.set_scaleX(this._text.set_scaleX(flixel_FlxG.game.get_scaleX())),this._sprite.set_scaleY(this._text.set_scaleY(flixel_FlxG.game.get_scaleY()))},timerCallback:function(e){this._functions[this._curPart](),this._text.set_textColor(this._colors[this._curPart]),this._text.set_text("HaxeFlixel"),5==++this._curPart&&(flixel_tweens_FlxTween.tween(this._sprite,{alpha:0},3,{ease:flixel_tweens_FlxEase.quadOut,onComplete:$bind(this,this.onComplete)}),flixel_tweens_FlxTween.tween(this._text,{alpha:0},3,{ease:flixel_tweens_FlxEase.quadOut}))},drawGreen:function(){this._gfx.beginFill(47394),this._gfx.moveTo(0,-37),this._gfx.lineTo(1,-37),this._gfx.lineTo(37,0),this._gfx.lineTo(37,1),this._gfx.lineTo(1,37),this._gfx.lineTo(0,37),this._gfx.lineTo(-37,1),this._gfx.lineTo(-37,0),this._gfx.lineTo(0,-37),this._gfx.endFill()},drawYellow:function(){this._gfx.beginFill(16761138),this._gfx.moveTo(-50,-50),this._gfx.lineTo(-25,-50),this._gfx.lineTo(0,-37),this._gfx.lineTo(-37,0),this._gfx.lineTo(-50,-25),this._gfx.lineTo(-50,-50),this._gfx.endFill()},drawRed:function(){this._gfx.beginFill(16066382),this._gfx.moveTo(50,-50),this._gfx.lineTo(25,-50),this._gfx.lineTo(1,-37),this._gfx.lineTo(37,0),this._gfx.lineTo(50,-25),this._gfx.lineTo(50,-50),this._gfx.endFill()},drawBlue:function(){this._gfx.beginFill(3555839),this._gfx.moveTo(-50,50),this._gfx.lineTo(-25,50),this._gfx.lineTo(0,37),this._gfx.lineTo(-37,1),this._gfx.lineTo(-50,25),this._gfx.lineTo(-50,50),this._gfx.endFill()},drawLightBlue:function(){this._gfx.beginFill(314875),this._gfx.moveTo(50,50),this._gfx.lineTo(25,50),this._gfx.lineTo(1,37),this._gfx.lineTo(37,1),this._gfx.lineTo(50,25),this._gfx.lineTo(50,50),this._gfx.endFill()},onComplete:function(e){flixel_FlxG.cameras.set_bgColor(this._cachedBgColor),flixel_FlxG.fixedTimestep=this._cachedTimestep,flixel_FlxG.autoPause=this._cachedAutoPause,flixel_FlxG.keys.enabled=!0,openfl_Lib.get_current().stage.removeChild(this._sprite),openfl_Lib.get_current().stage.removeChild(this._text);var t=Type.createInstance(flixel_system_FlxSplash.nextState,[]);flixel_FlxG.game._state.switchTo(t)&&(flixel_FlxG.game._requestedState=t),flixel_FlxG.game._gameJustStarted=!0},__class__:flixel_system_FlxSplash});var flixel_system_debug_DebuggerUtil=function(){};$hxClasses["flixel.system.debug.DebuggerUtil"]=flixel_system_debug_DebuggerUtil,flixel_system_debug_DebuggerUtil.__name__="flixel.system.debug.DebuggerUtil",flixel_system_debug_DebuggerUtil.createTextField=function(e,t,i,l){return null==l&&(l=12),null==i&&(i=-1),null==t&&(t=0),null==e&&(e=0),flixel_system_debug_DebuggerUtil.initTextField(new openfl_text_TextField,e,t,i,l)},flixel_system_debug_DebuggerUtil.initTextField=function(e,t,i,l,n){return null==n&&(n=12),null==l&&(l=-1),null==i&&(i=0),null==t&&(t=0),e.set_x(t),e.set_y(i),e.set_multiline(!1),e.set_wordWrap(!1),e.set_embedFonts(!0),e.set_selectable(!1),e.set_defaultTextFormat(new openfl_text_TextFormat(flixel_system_FlxAssets.FONT_DEBUGGER,n,16777215&l)),e.set_alpha((l>>24&255)/255),e.set_autoSize(1),e},flixel_system_debug_DebuggerUtil.fixSize=function(e){return Reflect.setProperty(e,"width",11),Reflect.setProperty(e,"height",11),e};var flixel_system_debug__$FlxDebugger_GraphicFlixel=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug__$FlxDebugger_GraphicFlixel.preload)this.__fromImage(flixel_system_debug__$FlxDebugger_GraphicFlixel.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug__$FlxDebugger_GraphicFlixel.resourceName),flixel_system_debug__$FlxDebugger_GraphicFlixel.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug__$FlxDebugger_GraphicFlixel.preload&&(flixel_system_debug__$FlxDebugger_GraphicFlixel.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug._FlxDebugger.GraphicFlixel"]=flixel_system_debug__$FlxDebugger_GraphicFlixel,flixel_system_debug__$FlxDebugger_GraphicFlixel.__name__="flixel.system.debug._FlxDebugger.GraphicFlixel",flixel_system_debug__$FlxDebugger_GraphicFlixel.preload=null,flixel_system_debug__$FlxDebugger_GraphicFlixel.__super__=openfl_display_BitmapData,flixel_system_debug__$FlxDebugger_GraphicFlixel.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug__$FlxDebugger_GraphicFlixel});var flixel_system_debug__$FlxDebugger_GraphicDrawDebug=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug__$FlxDebugger_GraphicDrawDebug.preload)this.__fromImage(flixel_system_debug__$FlxDebugger_GraphicDrawDebug.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug__$FlxDebugger_GraphicDrawDebug.resourceName),flixel_system_debug__$FlxDebugger_GraphicDrawDebug.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug__$FlxDebugger_GraphicDrawDebug.preload&&(flixel_system_debug__$FlxDebugger_GraphicDrawDebug.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug._FlxDebugger.GraphicDrawDebug"]=flixel_system_debug__$FlxDebugger_GraphicDrawDebug,flixel_system_debug__$FlxDebugger_GraphicDrawDebug.__name__="flixel.system.debug._FlxDebugger.GraphicDrawDebug",flixel_system_debug__$FlxDebugger_GraphicDrawDebug.preload=null,flixel_system_debug__$FlxDebugger_GraphicDrawDebug.__super__=openfl_display_BitmapData,flixel_system_debug__$FlxDebugger_GraphicDrawDebug.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug__$FlxDebugger_GraphicDrawDebug});var flixel_system_debug_GraphicLog=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicLog.preload)this.__fromImage(flixel_system_debug_GraphicLog.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicLog.resourceName),flixel_system_debug_GraphicLog.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicLog.preload&&(flixel_system_debug_GraphicLog.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicLog"]=flixel_system_debug_GraphicLog,flixel_system_debug_GraphicLog.__name__="flixel.system.debug.GraphicLog",flixel_system_debug_GraphicLog.preload=null,flixel_system_debug_GraphicLog.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicLog.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicLog});var flixel_system_debug_GraphicStats=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicStats.preload)this.__fromImage(flixel_system_debug_GraphicStats.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicStats.resourceName),flixel_system_debug_GraphicStats.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicStats.preload&&(flixel_system_debug_GraphicStats.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicStats"]=flixel_system_debug_GraphicStats,flixel_system_debug_GraphicStats.__name__="flixel.system.debug.GraphicStats",flixel_system_debug_GraphicStats.preload=null,flixel_system_debug_GraphicStats.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicStats.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicStats});var flixel_system_debug_GraphicWatch=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicWatch.preload)this.__fromImage(flixel_system_debug_GraphicWatch.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicWatch.resourceName),flixel_system_debug_GraphicWatch.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicWatch.preload&&(flixel_system_debug_GraphicWatch.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicWatch"]=flixel_system_debug_GraphicWatch,flixel_system_debug_GraphicWatch.__name__="flixel.system.debug.GraphicWatch",flixel_system_debug_GraphicWatch.preload=null,flixel_system_debug_GraphicWatch.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicWatch.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicWatch});var flixel_system_debug_GraphicBitmapLog=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicBitmapLog.preload)this.__fromImage(flixel_system_debug_GraphicBitmapLog.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicBitmapLog.resourceName),flixel_system_debug_GraphicBitmapLog.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicBitmapLog.preload&&(flixel_system_debug_GraphicBitmapLog.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicBitmapLog"]=flixel_system_debug_GraphicBitmapLog,flixel_system_debug_GraphicBitmapLog.__name__="flixel.system.debug.GraphicBitmapLog",flixel_system_debug_GraphicBitmapLog.preload=null,flixel_system_debug_GraphicBitmapLog.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicBitmapLog.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicBitmapLog});var flixel_system_debug_GraphicConsole=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicConsole.preload)this.__fromImage(flixel_system_debug_GraphicConsole.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicConsole.resourceName),flixel_system_debug_GraphicConsole.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicConsole.preload&&(flixel_system_debug_GraphicConsole.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicConsole"]=flixel_system_debug_GraphicConsole,flixel_system_debug_GraphicConsole.__name__="flixel.system.debug.GraphicConsole",flixel_system_debug_GraphicConsole.preload=null,flixel_system_debug_GraphicConsole.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicConsole.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicConsole});var flixel_system_debug_GraphicArrowLeft=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicArrowLeft.preload)this.__fromImage(flixel_system_debug_GraphicArrowLeft.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicArrowLeft.resourceName),flixel_system_debug_GraphicArrowLeft.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicArrowLeft.preload&&(flixel_system_debug_GraphicArrowLeft.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicArrowLeft"]=flixel_system_debug_GraphicArrowLeft,flixel_system_debug_GraphicArrowLeft.__name__="flixel.system.debug.GraphicArrowLeft",flixel_system_debug_GraphicArrowLeft.preload=null,flixel_system_debug_GraphicArrowLeft.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicArrowLeft.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicArrowLeft});var flixel_system_debug_GraphicArrowRight=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicArrowRight.preload)this.__fromImage(flixel_system_debug_GraphicArrowRight.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicArrowRight.resourceName),flixel_system_debug_GraphicArrowRight.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicArrowRight.preload&&(flixel_system_debug_GraphicArrowRight.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicArrowRight"]=flixel_system_debug_GraphicArrowRight,flixel_system_debug_GraphicArrowRight.__name__="flixel.system.debug.GraphicArrowRight",flixel_system_debug_GraphicArrowRight.preload=null,flixel_system_debug_GraphicArrowRight.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicArrowRight.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicArrowRight});var flixel_system_debug_GraphicCloseButton=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicCloseButton.preload)this.__fromImage(flixel_system_debug_GraphicCloseButton.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicCloseButton.resourceName),flixel_system_debug_GraphicCloseButton.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicCloseButton.preload&&(flixel_system_debug_GraphicCloseButton.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicCloseButton"]=flixel_system_debug_GraphicCloseButton,flixel_system_debug_GraphicCloseButton.__name__="flixel.system.debug.GraphicCloseButton",flixel_system_debug_GraphicCloseButton.preload=null,flixel_system_debug_GraphicCloseButton.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicCloseButton.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicCloseButton});var flixel_system_debug_GraphicInteractive=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_GraphicInteractive.preload)this.__fromImage(flixel_system_debug_GraphicInteractive.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_GraphicInteractive.resourceName),flixel_system_debug_GraphicInteractive.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_GraphicInteractive.preload&&(flixel_system_debug_GraphicInteractive.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.GraphicInteractive"]=flixel_system_debug_GraphicInteractive,flixel_system_debug_GraphicInteractive.__name__="flixel.system.debug.GraphicInteractive",flixel_system_debug_GraphicInteractive.preload=null,flixel_system_debug_GraphicInteractive.__super__=openfl_display_BitmapData,flixel_system_debug_GraphicInteractive.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_GraphicInteractive});var flixel_system_debug_FlxDebugger=function(){openfl_display_Sprite.call(this)};$hxClasses["flixel.system.debug.FlxDebugger"]=flixel_system_debug_FlxDebugger,flixel_system_debug_FlxDebugger.__name__="flixel.system.debug.FlxDebugger",flixel_system_debug_FlxDebugger.__super__=openfl_display_Sprite,flixel_system_debug_FlxDebugger.prototype=$extend(openfl_display_Sprite.prototype,{__class__:flixel_system_debug_FlxDebugger});var flixel_system_debug_FlxDebuggerLayout=$hxEnums["flixel.system.debug.FlxDebuggerLayout"]={__ename__:"flixel.system.debug.FlxDebuggerLayout",__constructs__:["STANDARD","MICRO","BIG","TOP","LEFT","RIGHT"],STANDARD:{_hx_index:0,__enum__:"flixel.system.debug.FlxDebuggerLayout",toString:$estr},MICRO:{_hx_index:1,__enum__:"flixel.system.debug.FlxDebuggerLayout",toString:$estr},BIG:{_hx_index:2,__enum__:"flixel.system.debug.FlxDebuggerLayout",toString:$estr},TOP:{_hx_index:3,__enum__:"flixel.system.debug.FlxDebuggerLayout",toString:$estr},LEFT:{_hx_index:4,__enum__:"flixel.system.debug.FlxDebuggerLayout",toString:$estr},RIGHT:{_hx_index:5,__enum__:"flixel.system.debug.FlxDebuggerLayout",toString:$estr}},flixel_system_debug_Tooltip=function(){};$hxClasses["flixel.system.debug.Tooltip"]=flixel_system_debug_Tooltip,flixel_system_debug_Tooltip.__name__="flixel.system.debug.Tooltip",flixel_system_debug_Tooltip._container=null,flixel_system_debug_Tooltip.init=function(e){flixel_system_debug_Tooltip._container=e},flixel_system_debug_Tooltip.add=function(e,t){var i=new flixel_system_debug_TooltipOverlay(e,t);return flixel_system_debug_Tooltip._container.addChild(i),flixel_system_debug_Tooltip._tooltips.push(i),i},flixel_system_debug_Tooltip.remove=function(e){for(var t=!1,i=0,l=flixel_system_debug_Tooltip._tooltips.length;i<l;){var n=i++;if(null!=flixel_system_debug_Tooltip._tooltips[n]&&flixel_system_debug_Tooltip._tooltips[n].owner==e){flixel_system_debug_Tooltip._tooltips.splice(n,1)[0].destroy(),t=!0;break}}return t};var flixel_system_debug_TooltipOverlay=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),openfl_display_Sprite.call(this),this.owner=e,this.maxSize=new openfl_geom_Point(i,l),this._shadow=new openfl_display_Bitmap(new openfl_display_BitmapData(1,2,!0,-16777216)),this._background=new openfl_display_Bitmap(new openfl_display_BitmapData(1,1,!0,-12961222)),this.textField=flixel_system_debug_DebuggerUtil.createTextField(2,1),this.textField.set_alpha(.8),this.textField.set_text(t),this.textField.set_wordWrap(!0),this.addChild(this._shadow),this.addChild(this._background),this.addChild(this.textField),this.updateSize(),this.setVisible(!1),null!=this.owner&&(this.owner.addEventListener("mouseOver",$bind(this,this.handleMouseEvents)),this.owner.addEventListener("mouseOut",$bind(this,this.handleMouseEvents)))};$hxClasses["flixel.system.debug.TooltipOverlay"]=flixel_system_debug_TooltipOverlay,flixel_system_debug_TooltipOverlay.__name__="flixel.system.debug.TooltipOverlay",flixel_system_debug_TooltipOverlay.__super__=openfl_display_Sprite,flixel_system_debug_TooltipOverlay.prototype=$extend(openfl_display_Sprite.prototype,{_width:null,_height:null,_background:null,_shadow:null,textField:null,owner:null,maxSize:null,destroy:function(){this._shadow=flixel_util_FlxDestroyUtil.removeChild(this,this._shadow),this._background=flixel_util_FlxDestroyUtil.removeChild(this,this._background),this.textField=flixel_util_FlxDestroyUtil.removeChild(this,this.textField),this.maxSize=null,null!=this.owner&&(this.owner.removeEventListener("mouseOver",$bind(this,this.handleMouseEvents)),this.owner.removeEventListener("mouseOut",$bind(this,this.handleMouseEvents))),this.owner=null},resize:function(e,t){this.maxSize.x=0|Math.abs(e),this.maxSize.y=0|Math.abs(t),this.updateSize()},reposition:function(e,t){this.set_x(e),this.set_y(t),this.ensureOnScreen()},setVisible:function(e){this.set_visible(e),this.get_visible()&&(this.parent.addChild(this),this.ensureOnScreen())},setText:function(e){this.textField.set_text(e),this.updateSize(),this.ensureOnScreen()},toggleVisible:function(){this.setVisible(!this.get_visible())},putOnTop:function(){this.parent.addChild(this)},update:function(){},updateSize:function(){this._width=8+(0|(this.maxSize.x<=0?this.textField.get_textWidth():Math.abs(this.maxSize.x))),this._height=8+(0|(this.maxSize.y<=0?this.textField.get_textHeight():Math.abs(this.maxSize.y))),this._background.set_scaleX(this._width),this._background.set_scaleY(this._height),this._shadow.set_scaleX(this._width),this._shadow.set_y(this._height),this.textField.set_width(this._width)},ensureOnScreen:function(){this.set_x(this.get_x()<0?0:this.get_x()),this.set_y(this.get_y()<0?0:this.get_y());var e=this.get_x()+this.get_width()>=openfl_Lib.get_current().stage.stageWidth?openfl_Lib.get_current().stage.stageWidth-(this.get_x()+this.get_width()):0,t=this.get_y()+this.get_height()>=openfl_Lib.get_current().stage.stageHeight?openfl_Lib.get_current().stage.stageHeight-(this.get_y()+this.get_height()):0,i=this;i.set_x(i.get_x()+e),(i=this).set_y(i.get_y()+t)},handleMouseEvents:function(e){"mouseOver"!=e.type||this.get_visible()?"mouseOut"==e.type&&this.setVisible(!1):(this.set_x(e.stageX+10),this.set_y(e.stageY+10),this.setVisible(!0))},__class__:flixel_system_debug_TooltipOverlay});var flixel_system_debug__$Window_GraphicWindowHandle=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug__$Window_GraphicWindowHandle.preload)this.__fromImage(flixel_system_debug__$Window_GraphicWindowHandle.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug__$Window_GraphicWindowHandle.resourceName),flixel_system_debug__$Window_GraphicWindowHandle.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug__$Window_GraphicWindowHandle.preload&&(flixel_system_debug__$Window_GraphicWindowHandle.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug._Window.GraphicWindowHandle"]=flixel_system_debug__$Window_GraphicWindowHandle,flixel_system_debug__$Window_GraphicWindowHandle.__name__="flixel.system.debug._Window.GraphicWindowHandle",flixel_system_debug__$Window_GraphicWindowHandle.preload=null,flixel_system_debug__$Window_GraphicWindowHandle.__super__=openfl_display_BitmapData,flixel_system_debug__$Window_GraphicWindowHandle.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug__$Window_GraphicWindowHandle});var flixel_system_debug_Window=function(e,t,i,l,n,s,a,r){null==r&&(r=!0),null==a&&(a=!1),null==n&&(n=!0),null==l&&(l=0),null==i&&(i=0),openfl_display_Sprite.call(this),this.minSize=new openfl_geom_Point(50,30),this._width=0|Math.abs(i),this._height=0|Math.abs(l),this.updateBounds(s),this._drag=new openfl_geom_Point,this._resizable=n,this._closable=a,this._alwaysOnTop=r,this._shadow=new openfl_display_Bitmap(new openfl_display_BitmapData(1,2,!0,-16777216)),this._background=new openfl_display_Bitmap(new openfl_display_BitmapData(1,1,!0,-580952225)),this._header=new openfl_display_Bitmap(new openfl_display_BitmapData(1,15,!0,-1157627904)),this._background.set_y(this._header.get_height()),this._title=flixel_system_debug_DebuggerUtil.createTextField(2,-1),this._title.set_alpha(.8),this._title.set_text(e),this.addChild(this._shadow),this.addChild(this._background),this.addChild(this._header),this.addChild(this._title),null!=t&&(flixel_system_debug_DebuggerUtil.fixSize(t),this._icon=new openfl_display_Bitmap(t),this._icon.set_x(5),this._icon.set_y(2),this._icon.set_alpha(.8),this._title.set_x(this._icon.get_x()+this._icon.get_width()+2),this.addChild(this._icon)),this._resizable&&(this._handle=new openfl_display_Bitmap(flixel_system_debug_DebuggerUtil.fixSize(new flixel_system_debug__$Window_GraphicWindowHandle(0,0))),this.addChild(this._handle)),a?(this._closeButton=new flixel_system_ui_FlxSystemButton(new flixel_system_debug_GraphicCloseButton(0,0),$bind(this,this.close)),this._closeButton.set_alpha(.8),this.addChild(this._closeButton)):(this._id=flixel_system_debug_Window.WINDOW_AMOUNT,this.loadSaveData(),flixel_system_debug_Window.WINDOW_AMOUNT++),0==this._width&&0==this._height||this.updateSize(),this.bound(),this.addEventListener("enterFrame",$bind(this,this.init))};$hxClasses["flixel.system.debug.Window"]=flixel_system_debug_Window,flixel_system_debug_Window.__name__="flixel.system.debug.Window",flixel_system_debug_Window.__super__=openfl_display_Sprite,flixel_system_debug_Window.prototype=$extend(openfl_display_Sprite.prototype,{minSize:null,maxSize:null,toggleButton:null,_width:null,_height:null,_bounds:null,_background:null,_header:null,_shadow:null,_title:null,_handle:null,_icon:null,_closeButton:null,_overHeader:null,_overHandle:null,_drag:null,_dragging:null,_resizing:null,_resizable:null,_closable:null,_alwaysOnTop:null,_id:null,destroy:function(){this.minSize=null,this.maxSize=null,this._bounds=null,null!=this._shadow&&this.removeChild(this._shadow),this._shadow=null,null!=this._background&&this.removeChild(this._background),this._background=null,null!=this._header&&this.removeChild(this._header),this._header=null,null!=this._title&&this.removeChild(this._title),this._title=null,null!=this._handle&&this.removeChild(this._handle),this._handle=null,this._drag=null,this._closeButton=flixel_util_FlxDestroyUtil.destroy(this._closeButton);var e=openfl_Lib.get_current().stage;e.hasEventListener("mouseMove")&&e.removeEventListener("mouseMove",$bind(this,this.onMouseMove)),this.hasEventListener("mouseDown")&&this.removeEventListener("mouseDown",$bind(this,this.onMouseDown)),e.hasEventListener("mouseUp")&&e.removeEventListener("mouseUp",$bind(this,this.onMouseUp))},resize:function(e,t){this._width=0|Math.abs(e),this._height=0|Math.abs(t),this.updateSize()},reposition:function(e,t){this.set_x(e),this.set_y(t),this.bound()},updateBounds:function(e){this._bounds=e,null!=this._bounds?this.maxSize=new openfl_geom_Point(this._bounds.width,this._bounds.height):this.maxSize=new openfl_geom_Point(1.79e308,1.79e308)},setVisible:function(e){this.set_visible(e),this._closable||(flixel_FlxG.save.data.windowSettings[this._id]=this.get_visible(),flixel_FlxG.save.flush()),null!=this.toggleButton&&this.toggleButton.set_toggled(!this.get_visible()),this.get_visible()&&this._alwaysOnTop&&this.parent.addChild(this)},toggleVisible:function(){this.setVisible(!this.get_visible())},putOnTop:function(){this.parent.addChild(this)},loadSaveData:function(){null!=flixel_FlxG.save.data.windowSettings?this.set_visible(flixel_FlxG.save.data.windowSettings[this._id]):(this.initSaveData(),this.loadSaveData())},initSaveData:function(){var e=[];e[0]=!0,e[1]=!0,e[2]=!0,e[3]=!0,e[4]=!0,e[5]=!0,e[6]=!0,e[7]=!0,e[8]=!0,e[9]=!0,flixel_FlxG.save.data.windowSettings=e,flixel_FlxG.save.flush()},update:function(){},init:function(e){null!=this.stage&&(this.removeEventListener("enterFrame",$bind(this,this.init)),this.stage.addEventListener("mouseMove",$bind(this,this.onMouseMove)),this.stage.addEventListener("mouseUp",$bind(this,this.onMouseUp)),this.addEventListener("mouseDown",$bind(this,this.onMouseDown)))},onMouseMove:function(e){var t=this.get_mouseX()<0?0:this.get_mouseX(),i=this.get_mouseY()<0?0:this.get_mouseY();this.parent.get_visible()?this._dragging?(this._overHeader=!0,this.reposition(this.parent.get_mouseX()-this._drag.x,this.parent.get_mouseY()-this._drag.y)):this._resizing?(this._overHandle=!0,this.resize(t-this._drag.x,i-this._drag.y)):t>=0&&t<=this._width&&i>=0&&i<=this._height?(this._overHeader=t<=this._header.get_width()&&i<=this._header.get_height(),this._resizable&&(this._overHandle=t>=this._width-this._handle.get_width()&&i>=this._height-this._handle.get_height())):this._overHandle=this._overHeader=!1:this._overHandle=this._overHeader=!1},onMouseDown:function(e){if(this._overHeader)this._alwaysOnTop&&this.parent.addChild(this),this._dragging=!0,this._drag.x=this.get_mouseX(),this._drag.y=this.get_mouseY();else if(this._overHandle){this._alwaysOnTop&&this.parent.addChild(this),this._resizing=!0;var t=this._width,i=this.get_mouseX();this._drag.x=t-i;var t=this._height,i=this.get_mouseY();this._drag.y=t-i}},onMouseUp:function(e){this._dragging=!1,this._resizing=!1},bound:function(){if(null!=this._bounds){var e=this.get_x(),t=this._bounds.get_left(),i=this._bounds.get_right()-this._width,l=null!=t&&e<t?t:e;this.set_x(null!=i&&l>i?i:l);var e=this.get_y(),t=this._bounds.get_top(),i=this._bounds.get_bottom()-this._height,l=null!=t&&e<t?t:e;this.set_y(null!=i&&l>i?i:l)}},updateSize:function(){var e=this._width,t=this.minSize.x,i=this.maxSize.x,l=null!=t&&e<t?t:e;this._width=0|(null!=i&&l>i?i:l);var e=this._height,t=this.minSize.y,i=this.maxSize.y,l=null!=t&&e<t?t:e;this._height=0|(null!=i&&l>i?i:l),this._header.set_scaleX(this._width),this._background.set_scaleX(this._width),this._background.set_scaleY(this._height-this._header.get_height()),this._shadow.set_scaleX(this._width),this._shadow.set_y(this._height),this._title.set_width(this._width-4),this._resizable&&(this._handle.set_x(this._width-this._handle.get_width()),this._handle.set_y(this._height-this._handle.get_height())),null!=this._closeButton&&(this._closeButton.set_x(this._width-this._closeButton.get_width()-3),this._closeButton.set_y(3))},close:function(){this.destroy()},__class__:flixel_system_debug_Window});var flixel_system_debug_completion_CompletionList=function(e){this.upperVisibleIndex=0,this.lowerVisibleIndex=0,this.selectedIndex=0,this.entries=[],openfl_display_Sprite.call(this),this.set_visible(!1),this.upperVisibleIndex=e-1,this.actualHeight=20*e,this.createPopupEntries(e),this.createScrollBar(),this.updateSelectedItem(),openfl_Lib.get_current().stage.addEventListener("keyDown",$bind(this,this.onKeyDown))};$hxClasses["flixel.system.debug.completion.CompletionList"]=flixel_system_debug_completion_CompletionList,flixel_system_debug_completion_CompletionList.__name__="flixel.system.debug.completion.CompletionList",flixel_system_debug_completion_CompletionList.__super__=openfl_display_Sprite,flixel_system_debug_completion_CompletionList.prototype=$extend(openfl_display_Sprite.prototype,{completed:null,selectionChanged:null,closed:null,filter:null,items:null,entries:null,originalItems:null,selectedIndex:null,lowerVisibleIndex:null,upperVisibleIndex:null,scrollBar:null,actualHeight:null,show:function(e,t){this.set_visible(!0),this.set_x(e),this.originalItems=t,this.set_filter(""),this.updateEntries()},setY:function(e){this.set_y(e-this.actualHeight)},close:function(){this.set_visible(!1),this.set_filter(null),null!=this.closed&&this.closed()},createPopupEntries:function(e){for(var t=0,i=e;t<i;){var l=t++,n=new flixel_system_debug_completion_CompletionListEntry;this.entries.push(n),this.addChild(n),n.set_y(20*l)}},createScrollBar:function(){this.scrollBar=new flixel_system_debug_completion_CompletionListScrollBar(150,0,5,this.actualHeight),this.addChild(this.scrollBar)},onKeyDown:function(e){if(this.get_visible()){switch(e.keyCode){case 13:return null!=this.completed&&this.completed(this.items[this.selectedIndex]),void this.close();case 27:return void this.close();case 38:this.updateIndices(-1);break;case 40:this.updateIndices(1)}this.updateEntries()}},updateIndices:function(e){this.selectedIndex=this.bound(this.selectedIndex+e);var t=this.selectedIndex,i=this.lowerVisibleIndex,l=this.upperVisibleIndex;(null==i||t>=i)&&(null==l||t<=l)||(this.lowerVisibleIndex=this.bound(this.lowerVisibleIndex+e),this.upperVisibleIndex=this.bound(this.upperVisibleIndex+e),this.upperVisibleIndex-this.lowerVisibleIndex!=this.items.length&&(0==this.lowerVisibleIndex?this.upperVisibleIndex=this.entries.length-1:this.upperVisibleIndex==this.items.length-1&&(this.lowerVisibleIndex=this.items.length-this.entries.length)))},bound:function(e){var t=this.items.length-1,i=e<0?0:e;return 0|(null!=t&&i>t?t:i)},updateEntries:function(){this.updateLabels(),this.updateSelectedItem(),this.scrollBar.updateHandle(this.lowerVisibleIndex,this.items.length,this.entries.length)},updateLabels:function(){for(var e=0,t=this.entries.length;e<t;){var i=e++,l=this.items[this.lowerVisibleIndex+i];null==l&&(l=""),this.entries[i].setItem(l)}},updateSelectedItem:function(){for(var e=0,t=this.entries;e<t.length;){var i=t[e];++e,i.set_selected(!1)}this.entries[this.selectedIndex-this.lowerVisibleIndex].set_selected(!0),null!=this.selectionChanged&&this.selectionChanged(this.items[this.selectedIndex])},setItems:function(e){null!=e&&(0==e.length&&this.close(),this.items=e,this.selectedIndex=0,this.lowerVisibleIndex=0,this.upperVisibleIndex=this.entries.length-1,this.updateEntries())},filterItems:function(e){null==e&&(e="");for(var t=[],i=0,l=this.originalItems;i<l.length;){var n=l[i];++i,-1!=n.toLowerCase().indexOf(e.toLowerCase())&&t.push(n)}return this.sortItems(e,t)},sortItems:function(e,t){var i=this;return""==e?t:(t.sort(function(t,l){var n=i.startsWithExt(t,e),s=i.startsWithExt(l,e);return n>s?-n:s>n?s:n==s?t.length-l.length|0:0}),t)},startsWithExt:function(e,t){if(StringTools.startsWith(e,t))return 2;var i=new RegExp("^[_]+","".split("u").join(""));return StringTools.startsWith(e.replace(i,""),t)?1:0},set_filter:function(e){return e==this.filter?e:(this.setItems(this.filterItems(e)),this.filter=e)},__class__:flixel_system_debug_completion_CompletionList,__properties__:$extend(openfl_display_Sprite.prototype.__properties__,{set_filter:"set_filter"})});var flixel_system_debug_completion_CompletionListEntry=function(){this.selected=!1,openfl_display_Sprite.call(this),this.initBitmapDatas(),this.addChild(this.background=new openfl_display_Bitmap),this.background.set_bitmapData(flixel_system_debug_completion_CompletionListEntry.normalBitmapData),this.label=flixel_system_debug_DebuggerUtil.createTextField(),this.label.set_x(4),this.addChild(this.label)};$hxClasses["flixel.system.debug.completion.CompletionListEntry"]=flixel_system_debug_completion_CompletionListEntry,flixel_system_debug_completion_CompletionListEntry.__name__="flixel.system.debug.completion.CompletionListEntry",flixel_system_debug_completion_CompletionListEntry.normalBitmapData=null,flixel_system_debug_completion_CompletionListEntry.highlightBitmapData=null,flixel_system_debug_completion_CompletionListEntry.__super__=openfl_display_Sprite,flixel_system_debug_completion_CompletionListEntry.prototype=$extend(openfl_display_Sprite.prototype,{selected:null,background:null,label:null,initBitmapDatas:function(){null==flixel_system_debug_completion_CompletionListEntry.normalBitmapData&&(flixel_system_debug_completion_CompletionListEntry.normalBitmapData=new openfl_display_BitmapData(150,20,!0,-10526881)),null==flixel_system_debug_completion_CompletionListEntry.highlightBitmapData&&(flixel_system_debug_completion_CompletionListEntry.highlightBitmapData=new openfl_display_BitmapData(150,20,!0,-9605779))},setItem:function(e){this.label.set_text(e),this.label.get_width()>150&&(this.label.set_width(150),this.label.set_autoSize(2))},set_selected:function(e){return e==this.selected?e:(this.background.set_bitmapData(e?flixel_system_debug_completion_CompletionListEntry.highlightBitmapData:flixel_system_debug_completion_CompletionListEntry.normalBitmapData),this.selected=e)},__class__:flixel_system_debug_completion_CompletionListEntry,__properties__:$extend(openfl_display_Sprite.prototype.__properties__,{set_selected:"set_selected"})});var flixel_system_debug_completion_CompletionListScrollBar=function(e,t,i,l){openfl_display_Sprite.call(this),this.set_x(e),this.set_y(t),this.addChild(new openfl_display_Bitmap(new openfl_display_BitmapData(i,l,!0,-12303292))),this.handle=new openfl_display_Bitmap(new openfl_display_BitmapData(i,1,!0,-14540254)),this.addChild(this.handle)};$hxClasses["flixel.system.debug.completion.CompletionListScrollBar"]=flixel_system_debug_completion_CompletionListScrollBar,flixel_system_debug_completion_CompletionListScrollBar.__name__="flixel.system.debug.completion.CompletionListScrollBar",flixel_system_debug_completion_CompletionListScrollBar.__super__=openfl_display_Sprite,flixel_system_debug_completion_CompletionListScrollBar.prototype=$extend(openfl_display_Sprite.prototype,{handle:null,updateHandle:function(e,t,i){this.handle.set_scaleY(Math.min(this.get_height()/t*i,this.get_height())),this.handle.set_y(this.get_height()/t*e);var l=this.handle,n=this.handle.get_y(),s=this.get_height()-this.handle.get_scaleY(),a=n<0?0:n;l.set_y(null!=s&&a>s?s:a)},__class__:flixel_system_debug_completion_CompletionListScrollBar});var flixel_system_debug_console_ConsoleUtil=function(){};$hxClasses["flixel.system.debug.console.ConsoleUtil"]=flixel_system_debug_console_ConsoleUtil,flixel_system_debug_console_ConsoleUtil.__name__="flixel.system.debug.console.ConsoleUtil",flixel_system_debug_console_ConsoleUtil.parser=null,flixel_system_debug_console_ConsoleUtil.interp=null,flixel_system_debug_console_ConsoleUtil.init=function(){flixel_system_debug_console_ConsoleUtil.parser=new hscript_Parser,flixel_system_debug_console_ConsoleUtil.parser.allowJSON=!0,flixel_system_debug_console_ConsoleUtil.parser.allowTypes=!0,flixel_system_debug_console_ConsoleUtil.interp=new flixel_system_debug_console__$ConsoleUtil_Interp},flixel_system_debug_console_ConsoleUtil.parseCommand=function(e){return StringTools.endsWith(e,";")&&(e=HxOverrides.substr(e,0,-1)),flixel_system_debug_console_ConsoleUtil.parser.parseString(e)},flixel_system_debug_console_ConsoleUtil.runCommand=function(e){return flixel_system_debug_console_ConsoleUtil.interp.expr(flixel_system_debug_console_ConsoleUtil.parseCommand(e))},flixel_system_debug_console_ConsoleUtil.runExpr=function(e){return flixel_system_debug_console_ConsoleUtil.interp.expr(e)},flixel_system_debug_console_ConsoleUtil.registerObject=function(e,t){(null==t||Reflect.isObject(t))&&(flixel_system_debug_console_ConsoleUtil.interp.variables.h[e]=t)},flixel_system_debug_console_ConsoleUtil.registerFunction=function(e,t){Reflect.isFunction(t)&&(flixel_system_debug_console_ConsoleUtil.interp.variables.h[e]=t)},flixel_system_debug_console_ConsoleUtil.getFields=function(e){var t=[];js_Boot.__instanceof(e,Class)?t=Type.getClassFields(e):js_Boot.__instanceof(e,Enum)?t=e.__constructs__.slice():Reflect.isObject(e)&&(t=Type.getInstanceFields(js_Boot.getClass(e))),HxOverrides.remove(t,"__constructs__");for(var i=[],l=0;l<t.length;){var n=t[l];if(++l,StringTools.startsWith(n,"get_")||StringTools.startsWith(n,"set_")){var s=HxOverrides.substr(n,4,null);-1==t.indexOf(s)&&-1==i.indexOf(s)&&i.push(s)}else i.push(n)}return flixel_system_debug_console_ConsoleUtil.sortFields(i)},flixel_system_debug_console_ConsoleUtil.sortFields=function(e){for(var t=[],i=[],l=0,n=e;l<n.length;){var s=n[l];++l;var a;StringTools.startsWith(s,"_")?(t.push(s),a=!1):a=!0,a&&i.push(s)}return e=i,flixel_util_FlxStringUtil.sortAlphabetically(e),flixel_util_FlxStringUtil.sortAlphabetically(t),e.concat(t)},flixel_system_debug_console_ConsoleUtil.log=function(e){flixel_FlxG.log.advanced([e],flixel_system_debug_log_LogStyle.CONSOLE)};var hscript_Interp=function(){this.locals=new haxe_ds_StringMap,this.declared=[],this.resetVariables(),this.initOps()};$hxClasses["hscript.Interp"]=hscript_Interp,hscript_Interp.__name__="hscript.Interp",hscript_Interp.prototype={variables:null,locals:null,binops:null,depth:null,inTry:null,declared:null,returnValue:null,resetVariables:function(){var e=this;this.variables=new haxe_ds_StringMap,this.variables.h.null=null,this.variables.h.true=!0,this.variables.h.false=!1;var t=this.variables,i=Reflect.makeVarArgs(function(t){var i=e.posInfos(),l=t.shift();t.length>0&&(i.customParams=t),haxe_Log.trace(Std.string(l),i)});t.h.trace=i},posInfos:function(){return{fileName:"hscript",lineNumber:0}},initOps:function(){var e=this;this.binops=new haxe_ds_StringMap,this.binops.h["+"]=function(t,i){return e.expr(t)+e.expr(i)},this.binops.h["-"]=function(t,i){return e.expr(t)-e.expr(i)},this.binops.h["*"]=function(t,i){return e.expr(t)*e.expr(i)},this.binops.h["/"]=function(t,i){return e.expr(t)/e.expr(i)},this.binops.h["%"]=function(t,i){return e.expr(t)%e.expr(i)},this.binops.h["&"]=function(t,i){return e.expr(t)&e.expr(i)},this.binops.h["|"]=function(t,i){return e.expr(t)|e.expr(i)},this.binops.h["^"]=function(t,i){return e.expr(t)^e.expr(i)},this.binops.h["<<"]=function(t,i){return e.expr(t)<<e.expr(i)},this.binops.h[">>"]=function(t,i){return e.expr(t)>>e.expr(i)},this.binops.h[">>>"]=function(t,i){return e.expr(t)>>>e.expr(i)},this.binops.h["=="]=function(t,i){return e.expr(t)==e.expr(i)},this.binops.h["!="]=function(t,i){return e.expr(t)!=e.expr(i)},this.binops.h[">="]=function(t,i){return e.expr(t)>=e.expr(i)},this.binops.h["<="]=function(t,i){return e.expr(t)<=e.expr(i)},this.binops.h[">"]=function(t,i){return e.expr(t)>e.expr(i)},this.binops.h["<"]=function(t,i){return e.expr(t)<e.expr(i)},this.binops.h["||"]=function(t,i){return 1==e.expr(t)||1==e.expr(i)},this.binops.h["&&"]=function(t,i){return 1==e.expr(t)&&1==e.expr(i)},this.binops.h["="]=$bind(this,this.assign),this.binops.h["..."]=function(t,i){return new IntIterator(e.expr(t),e.expr(i))},this.assignOp("+=",function(e,t){return e+t}),this.assignOp("-=",function(e,t){return e-t}),this.assignOp("*=",function(e,t){return e*t}),this.assignOp("/=",function(e,t){return e/t}),this.assignOp("%=",function(e,t){return e%t}),this.assignOp("&=",function(e,t){return e&t}),this.assignOp("|=",function(e,t){return e|t}),this.assignOp("^=",function(e,t){return e^t}),this.assignOp("<<=",function(e,t){return e<<t}),this.assignOp(">>=",function(e,t){return e>>t}),this.assignOp(">>>=",function(e,t){return e>>>t})},assign:function(e,t){var i=this.expr(t);switch(e._hx_index){case 1:var l=e.v,n=this.locals.h[l];null==n?this.variables.h[l]=i:n.r=i;break;case 5:var s=e.f,a=e.e;i=this.set(this.expr(a),s,i);break;case 16:var r=e.index,a=e.e,_=this.expr(a),o=this.expr(r);js_Boot.__implements(_,haxe_IMap)?js_Boot.__cast(_,haxe_IMap).set(o,i):_[o]=i;break;default:a=hscript_Error.EInvalidOp("=");throw haxe_Exception.thrown(a)}return i},assignOp:function(e,t){var i=this;this.binops.h[e]=function(l,n){return i.evalAssignOp(e,t,l,n)}},evalAssignOp:function(e,t,i,l){var n;switch(i._hx_index){case 1:var s=i.v,a=this.locals.h[s];n=t(this.expr(i),this.expr(l)),null==a?this.variables.h[s]=n:a.r=n;break;case 5:var r=i.f,_=i.e,o=this.expr(_);n=t(this.get(o,r),this.expr(l)),n=this.set(o,r,n);break;case 16:var h=i.index,_=i.e,u=this.expr(_),d=this.expr(h);js_Boot.__implements(u,haxe_IMap)?(n=t(js_Boot.__cast(u,haxe_IMap).get(d),this.expr(l)),js_Boot.__cast(u,haxe_IMap).set(d,n)):(n=t(u[d],this.expr(l)),u[d]=n);break;default:_=hscript_Error.EInvalidOp(e);throw haxe_Exception.thrown(_)}return n},increment:function(e,t,i){switch(e._hx_index){case 1:var l=e.v,n=this.locals.h[l],s=null==n?this.variables.h[l]:n.r;return t?(s+=i,null==n?this.variables.h[l]=s:n.r=s):null==n?this.variables.h[l]=s+i:n.r=s+i,s;case 5:var a=e.f,r=e.e,_=this.expr(r),s=this.get(_,a);return t?(s+=i,this.set(_,a,s)):this.set(_,a,s+i),s;case 16:var o=e.index,r=e.e,h=this.expr(r),u=this.expr(o);if(js_Boot.__implements(h,haxe_IMap)){s=js_Boot.__cast(h,haxe_IMap).get(u);return t?(s+=i,js_Boot.__cast(h,haxe_IMap).set(u,s)):js_Boot.__cast(h,haxe_IMap).set(u,s+i),s}s=h[u];return t?(s+=i,h[u]=s):h[u]=s+i,s;default:var e=hscript_Error.EInvalidOp(i>0?"++":"--");throw haxe_Exception.thrown(e)}},execute:function(e){return this.depth=0,this.locals=new haxe_ds_StringMap,this.declared=[],this.exprReturn(e)},exprReturn:function(e){try{return this.expr(e)}catch(l){haxe_NativeStackTrace.lastError=l;var t=haxe_Exception.caught(l).unwrap();if(!js_Boot.__instanceof(t,hscript__$Interp_Stop))throw l;switch((e=t)._hx_index){case 0:throw haxe_Exception.thrown("Invalid break");case 1:throw haxe_Exception.thrown("Invalid continue");case 2:var i=this.returnValue;return this.returnValue=null,i}}},duplicate:function(e){for(var t=new haxe_ds_StringMap,i=haxe_ds_StringMap.keysIterator(e.h);i.hasNext();){var l=i.next();t.h[l]=e.h[l]}return t},restore:function(e){for(;this.declared.length>e;){var t=this.declared.pop();this.locals.h[t.n]=t.old}},error:function(e,t){throw null==t&&(t=!1),haxe_Exception.thrown(e)},rethrow:function(e){throw haxe_Exception.thrown(e)},resolve:function(e){var t=this.locals.h[e];if(null!=t)return t.r;var i=this.variables.h[e];if(null==i&&!Object.prototype.hasOwnProperty.call(this.variables.h,e)){var l=hscript_Error.EUnknownVariable(e);throw haxe_Exception.thrown(l)}return i},expr:function(e){var t=this;switch(e._hx_index){case 0:switch((le=e.c)._hx_index){case 0:return h=le.v;case 1:return u=le.f;case 2:return le.s}break;case 1:var i=e.v;return this.resolve(i);case 2:var l=e.t,n=e.e,s=e.n;this.declared.push({n:s,old:this.locals.h[s]});var a=this.locals,r=null==n?null:this.expr(n);return a.h[s]={r:r},null;case 3:n=e.e;return this.expr(n);case 4:for(var _=e.e,o=this.declared.length,h=null,l=0;l<_.length;){n=_[l];++l,h=this.expr(n)}return this.restore(o),h;case 5:var u=e.f,n=e.e;return this.get(this.expr(n),u);case 6:var d=e.e2,n=e.e1,c=e.op,p=this.binops.h[c];if(null==p){var f=hscript_Error.EInvalidOp(c);throw haxe_Exception.thrown(f)}return p(n,d);case 7:var n=e.e,m=e.prefix;switch(c=e.op){case"!":return 1!=this.expr(n);case"++":return this.increment(n,m,1);case"-":return-this.expr(n);case"--":return this.increment(n,m,-1);case"~":return~this.expr(n);default:n=hscript_Error.EInvalidOp(c);throw haxe_Exception.thrown(n)}break;case 8:for(var x=e.params,n=e.e,g=[],l=0;l<x.length;){D=x[l];++l,g.push(this.expr(D))}if(5==n._hx_index){var u=n.f,d=n.e,F=this.expr(d);if(null==F){d=hscript_Error.EInvalidAccess(u);throw haxe_Exception.thrown(d)}return this.fcall(F,u,g)}return this.call(null,this.expr(n),g);case 9:var d=e.e2,n=e.e1,y=e.cond;return 1==this.expr(y)?this.expr(n):null==d?null:this.expr(d);case 10:var n=e.e,y=e.cond;return this.whileLoop(y,n),null;case 11:var n=e.e,S=e.it,h=e.v;return this.forLoop(h,S,n),null;case 12:throw haxe_Exception.thrown(hscript__$Interp_Stop.SBreak);case 13:throw haxe_Exception.thrown(hscript__$Interp_Stop.SContinue);case 14:for(var l=e.ret,b=e.name,U=e.e,x=e.args,v=this.duplicate(this.locals),T=this,N=0,l=0;l<x.length;){var D=x[l];++l,D.opt?!0:N+=1}var u=function(e){if((null==e?0:e.length)!=x.length){if(e.length<N){var i="Invalid number of parameters. Got "+e.length+", required "+N;null!=b&&(i+=" for function '"+b+"'");c=hscript_Error.ECustom(i);throw haxe_Exception.thrown(c)}for(var l=[],n=e.length-N,s=0,a=0;a<x.length;){var r=x[a];++a,r.opt?n>0?(l.push(e[s++]),--n):l.push(null):l.push(e[s++])}e=l}var _=T.locals,o=T.depth;T.depth++,T.locals=T.duplicate(v);for(var a=0,h=x.length;a<h;){var u=a++;T.locals.h[x[u].name]={r:e[u]}}var d=null;if(t.inTry)try{d=T.exprReturn(U)}catch(a){haxe_NativeStackTrace.lastError=a;var c=haxe_Exception.caught(a).unwrap();throw T.locals=_,T.depth=o,haxe_Exception.thrown(c)}else d=T.exprReturn(U);return T.locals=_,T.depth=o,d},Q=Reflect.makeVarArgs(u);if(null!=b)if(0==this.depth)this.variables.h[b]=Q;else{this.declared.push({n:b,old:this.locals.h[b]});var B={r:Q};this.locals.h[b]=B,v.h[b]=B}return Q;case 15:n=e.e;throw this.returnValue=null==n?null:this.expr(n),haxe_Exception.thrown(hscript__$Interp_Stop.SReturn);case 16:var R=e.index,n=e.e,w=this.expr(n),E=this.expr(R);return js_Boot.__implements(w,haxe_IMap)?js_Boot.__cast(w,haxe_IMap).get(E):w[E];case 17:var k;if((w=e.e).length>0)if(6==(l=w[0])._hx_index){var W=l.e2,W=l.e1;k="=>"==l.op}else k=!1;else k=!1;if(k){for(var Z=!0,M=!0,P=!0,V=!0,A=[],G=[],l=0;l<w.length;){n=w[l];if(++l,6!=n._hx_index)throw haxe_Exception.thrown("=> expected");if("=>"!=n.op)throw haxe_Exception.thrown("=> expected");var C=n.e2,I=n.e1,L=this.expr(I),r=this.expr(C);Z=Z&&"string"==typeof L,M=M&&"number"==typeof L&&(0|L)===L,P=P&&Reflect.isObject(L),V=V&&Reflect.isEnumValue(L),A.push(L),G.push(r)}var J;if(M)J=new haxe_ds_IntMap;else if(Z)J=new haxe_ds_StringMap;else if(V)J=new haxe_ds_EnumValueMap;else{if(!P)throw haxe_Exception.thrown("Inconsistent key types");J=new haxe_ds_ObjectMap}for(var l=0,W=A.length;l<W;){s=l++;js_Boot.__cast(J,haxe_IMap).set(A[s],G[s])}return J}for(var O=[],l=0;l<w.length;){n=w[l];++l,O.push(this.expr(n))}return O;case 18:for(var $=e.params,H=e.cl,O=[],l=0;l<$.length;){n=$[l];++l,O.push(this.expr(n))}return this.cnew(H,O);case 19:n=e.e;throw haxe_Exception.thrown(this.expr(n));case 20:var l=e.t,z=e.ecatch,s=e.v,n=e.e,o=this.declared.length,Y=this.inTry;try{this.inTry=!0;h=this.expr(n);return this.restore(o),this.inTry=Y,h}catch(l){haxe_NativeStackTrace.lastError=l;W=haxe_Exception.caught(l).unwrap();if(js_Boot.__instanceof(W,hscript__$Interp_Stop)){X=W;throw this.inTry=Y,haxe_Exception.thrown(X)}var X=W;this.restore(o),this.inTry=Y,this.declared.push({n:s,old:this.locals.h[s]}),this.locals.h[s]={r:X};h=this.expr(z);return this.restore(o),h}break;case 21:for(var j=e.fl,K={},l=0;l<j.length;){u=j[l];++l,this.set(K,u.name,this.expr(u.e))}return K;case 22:var d=e.e2,n=e.e1,y=e.cond;return 1==this.expr(y)?this.expr(n):this.expr(d);case 23:for(var q=e.defaultExpr,ee=e.cases,n=e.e,te=this.expr(n),ie=!1,l=0;l<ee.length;){var le=ee[l];++l;for(var W=0,ne=le.values;W<ne.length;){h=ne[W];if(++W,this.expr(h)==te){ie=!0;break}}if(ie){te=this.expr(le.expr);break}}return ie||(te=null==q?null:this.expr(q)),te;case 24:var n=e.e,y=e.cond;return this.doWhileLoop(y,n),null;case 25:var l=e.args,l=e.name,n=e.e;return this.expr(n);case 26:var l=e.t,n=e.e;return this.expr(n)}},doWhileLoop:function(e,t){var i=this.declared.length;e:for(;;){try{this.expr(t)}catch(e){haxe_NativeStackTrace.lastError=e;var l=haxe_Exception.caught(e).unwrap();if(!js_Boot.__instanceof(l,hscript__$Interp_Stop))throw e;var n=l;switch(n._hx_index){case 0:break e;case 1:break;case 2:throw haxe_Exception.thrown(n)}}if(1!=this.expr(e))break}this.restore(i)},whileLoop:function(e,t){var i=this.declared.length;e:for(;1==this.expr(e);)try{this.expr(t)}catch(e){haxe_NativeStackTrace.lastError=e;var l=haxe_Exception.caught(e).unwrap();if(!js_Boot.__instanceof(l,hscript__$Interp_Stop))throw e;var n=l;switch(n._hx_index){case 0:break e;case 1:break;case 2:throw haxe_Exception.thrown(n)}}this.restore(i)},makeIterator:function(e){try{e=$getIterator(e)}catch(e){haxe_NativeStackTrace.lastError=e}if(null==e.hasNext||null==e.next){var t=hscript_Error.EInvalidIterator(e);throw haxe_Exception.thrown(t)}return e},forLoop:function(e,t,i){var l=this.declared.length;this.declared.push({n:e,old:this.locals.h[e]});var n=this.makeIterator(this.expr(t));e:for(;n.hasNext();){var s=this.locals,a={r:n.next()};s.h[e]=a;try{this.expr(i)}catch(e){haxe_NativeStackTrace.lastError=e;var r=haxe_Exception.caught(e).unwrap();if(!js_Boot.__instanceof(r,hscript__$Interp_Stop))throw e;var _=r;switch(_._hx_index){case 0:break e;case 1:break;case 2:throw haxe_Exception.thrown(_)}}}this.restore(l)},isMap:function(e){return js_Boot.__implements(e,haxe_IMap)},getMapValue:function(e,t){return js_Boot.__cast(e,haxe_IMap).get(t)},setMapValue:function(e,t,i){js_Boot.__cast(e,haxe_IMap).set(t,i)},get:function(e,t){if(null==e){var i=hscript_Error.EInvalidAccess(t);throw haxe_Exception.thrown(i)}return Reflect.getProperty(e,t)},set:function(e,t,i){if(null==e){var l=hscript_Error.EInvalidAccess(t);throw haxe_Exception.thrown(l)}return Reflect.setProperty(e,t,i),i},fcall:function(e,t,i){return this.call(e,this.get(e,t),i)},call:function(e,t,i){return t.apply(e,i)},cnew:function(e,t){var i=$hxClasses[e];return null==i&&(i=this.resolve(e)),Type.createInstance(i,t)},__class__:hscript_Interp};var flixel_system_debug_console__$ConsoleUtil_Interp=function(){hscript_Interp.call(this)};$hxClasses["flixel.system.debug.console._ConsoleUtil.Interp"]=flixel_system_debug_console__$ConsoleUtil_Interp,flixel_system_debug_console__$ConsoleUtil_Interp.__name__="flixel.system.debug.console._ConsoleUtil.Interp",flixel_system_debug_console__$ConsoleUtil_Interp.__super__=hscript_Interp,flixel_system_debug_console__$ConsoleUtil_Interp.prototype=$extend(hscript_Interp.prototype,{getGlobals:function(){return this.toArray(haxe_ds_StringMap.keysIterator(this.locals.h)).concat(this.toArray(haxe_ds_StringMap.keysIterator(this.variables.h)))},toArray:function(e){for(var t=[],i=e;i.hasNext();){var l=i.next();t.push(l)}return t},get:function(e,t){if(null==e){var i=hscript_Error.EInvalidAccess(t);throw haxe_Exception.thrown(i)}return Reflect.getProperty(e,t)},set:function(e,t,i){if(null==e){var l=hscript_Error.EInvalidAccess(t);throw haxe_Exception.thrown(l)}return Reflect.setProperty(e,t,i),i},__class__:flixel_system_debug_console__$ConsoleUtil_Interp});var flixel_system_debug_interaction_Interaction=function(e){this._flixelPointer=new flixel_input_FlxPointer,this._debuggerInteraction=!1,this._keysUp=new haxe_ds_IntMap,this._keysDown=new haxe_ds_IntMap,this._turn=2,this._tools=[],this.shouldDrawItemsSelection=!0,this.pointerPressed=!1,this.pointerJustReleased=!1,this.pointerJustPressed=!1,this.flixelPointer=new flixel_math_FlxPoint,this.selectedItems=new flixel_group_FlxTypedGroup,flixel_system_debug_Window.call(this,"Tools",new flixel_system_debug_GraphicInteractive(0,0),40,25,!1),this.reposition(2,100),this._container=e,this._customCursor=new openfl_display_Sprite,this._customCursor.mouseEnabled=!1,this._container.addChild(this._customCursor),this.addTool(new flixel_system_debug_interaction_tools_Pointer),this.addTool(new flixel_system_debug_interaction_tools_Mover),this.addTool(new flixel_system_debug_interaction_tools_Eraser),this.addTool(new flixel_system_debug_interaction_tools_Transform),flixel_FlxG.signals.postDraw.add($bind(this,this.postDraw)),flixel_FlxG.debugger.visibilityChanged.add($bind(this,this.handleDebuggerVisibilityChanged)),openfl_Lib.get_current().stage.addEventListener("mouseMove",$bind(this,this.updateMouse)),openfl_Lib.get_current().stage.addEventListener("mouseDown",$bind(this,this.handleMouseClick)),openfl_Lib.get_current().stage.addEventListener("mouseUp",$bind(this,this.handleMouseClick)),openfl_Lib.get_current().stage.addEventListener("keyDown",$bind(this,this.handleKeyEvent)),openfl_Lib.get_current().stage.addEventListener("keyUp",$bind(this,this.handleKeyEvent)),this._container.addEventListener("mouseOver",$bind(this,this.handleMouseInDebugger)),this._container.addEventListener("mouseOut",$bind(this,this.handleMouseInDebugger))};$hxClasses["flixel.system.debug.interaction.Interaction"]=flixel_system_debug_interaction_Interaction,flixel_system_debug_interaction_Interaction.__name__="flixel.system.debug.interaction.Interaction",flixel_system_debug_interaction_Interaction.__super__=flixel_system_debug_Window,flixel_system_debug_interaction_Interaction.prototype=$extend(flixel_system_debug_Window.prototype,{activeTool:null,selectedItems:null,flixelPointer:null,pointerJustPressed:null,pointerJustReleased:null,pointerPressed:null,shouldDrawItemsSelection:null,_container:null,_customCursor:null,_tools:null,_turn:null,_keysDown:null,_keysUp:null,_wasMouseVisible:null,_wasUsingSystemCursor:null,_debuggerInteraction:null,_flixelPointer:null,handleDebuggerVisibilityChanged:function(){flixel_FlxG.debugger.visible?this.saveSystemCursorInfo():this.restoreSystemCursor()},updateMouse:function(e){if(null!=e.stageX&&null!=e.stageY){var t=0,i=0;if(null!=this.activeTool){var l=this.activeTool.cursor;null!=l&&(t=l.width/flixel_FlxG.scaleMode.scale.x/2,i=l.height/flixel_FlxG.scaleMode.scale.y/2)}this._customCursor.set_x(e.stageX+t),this._customCursor.set_y(e.stageY+i);var n=this._flixelPointer;n._globalScreenX=e.stageX/flixel_FlxG.scaleMode.scale.x|0,n._globalScreenY=e.stageY/flixel_FlxG.scaleMode.scale.y|0,n.updatePositions(),this.flixelPointer.set_x(this._flixelPointer.x+t),this.flixelPointer.set_y(this._flixelPointer.y+i)}},handleMouseClick:function(e){"mouseDown"==e.type&&this.belongsToDebugger(e.target)||(this.pointerJustPressed="mouseDown"==e.type,this.pointerJustReleased="mouseUp"==e.type,this.pointerJustPressed?this.pointerPressed=!0:this.pointerJustReleased&&(this.pointerPressed=!1))},belongsToDebugger:function(e){return null!=e&&(e instanceof flixel_system_debug_FlxDebugger||this.belongsToDebugger(e.parent))},handleMouseInDebugger:function(e){this.isActive()&&("mouseOver"==e.type?this._debuggerInteraction=!0:"mouseOut"==e.type&&(this._debuggerInteraction=!1),e.stopPropagation())},handleKeyEvent:function(e){"keyDown"==e.type?this._keysDown.h[e.keyCode]=!0:"keyUp"==e.type&&(this._keysDown.h[e.keyCode]=!1,this._keysUp.h[e.keyCode]=this._turn)},countToolsWithUIButton:function(){for(var e=0,t=0,i=this._tools;t<i.length;){var l=i[t];++t,null!=l.button&&++e}return e},addTool:function(e){e.init(this),this._tools.push(e);var t=e.button;if(null!=t){var i=this.countToolsWithUIButton(),l=0|Math.ceil(i/2),n=i/l|0;t.set_x(25*n-15),t.set_y(20*l),this.addChild(t),this.resize(25*Math.min(i,2)+10,25*l+10)}},destroy:function(){flixel_FlxG.signals.postDraw.remove($bind(this,this.postDraw)),flixel_FlxG.debugger.visibilityChanged.remove($bind(this,this.handleDebuggerVisibilityChanged)),openfl_Lib.get_current().stage.removeEventListener("mouseMove",$bind(this,this.updateMouse)),openfl_Lib.get_current().stage.removeEventListener("mouseDown",$bind(this,this.handleMouseClick)),openfl_Lib.get_current().stage.removeEventListener("mouseUp",$bind(this,this.handleMouseClick)),openfl_Lib.get_current().stage.removeEventListener("keyDown",$bind(this,this.handleKeyEvent)),openfl_Lib.get_current().stage.removeEventListener("keyUp",$bind(this,this.handleKeyEvent)),null!=this._container&&(this._container.removeEventListener("mouseOver",$bind(this,this.handleMouseInDebugger)),this._container.removeEventListener("mouseOut",$bind(this,this.handleMouseInDebugger))),null!=this._customCursor&&(this._customCursor.parent.removeChild(this._customCursor),this._customCursor=null),this._tools=flixel_util_FlxDestroyUtil.destroyArray(this._tools),this.selectedItems=flixel_util_FlxDestroyUtil.destroy(this.selectedItems),this.flixelPointer=flixel_util_FlxDestroyUtil.destroy(this.flixelPointer),this._keysDown=null,this._keysUp=null},isActive:function(){return!!flixel_FlxG.debugger.visible&&this.get_visible()},update:function(){if(this.isActive()){this.updateCustomCursors();for(var e=0,t=this._tools;e<t.length;){var i=t[e];++e,i.update()}this.pointerJustPressed=!1,this.pointerJustReleased=!1,this._turn++}},postDraw:function(){if(this.isActive()){for(var e=0,t=this._tools;e<t.length;){var i=t[e];++e,i.draw()}this.shouldDrawItemsSelection&&this.drawItemsSelection()}},getDebugGraphics:function(){return flixel_FlxG.renderBlit?(flixel_util_FlxSpriteUtil.flashGfx.clear(),flixel_util_FlxSpriteUtil.flashGfx):null},drawItemsSelection:function(){var e=this.getDebugGraphics();if(null!=e){for(var t=new flixel_group_FlxTypedGroupIterator(this.selectedItems.members,null);t.hasNext();){var i=t.next();null!=i&&null!=i.scrollFactor&&i.isOnScreen()&&(e.lineStyle(.9,16711680),e.drawRect(i.x-flixel_FlxG.camera.scroll.x,i.y-flixel_FlxG.camera.scroll.y,i.get_width(),i.get_height()))}flixel_FlxG.renderBlit&&flixel_FlxG.camera.buffer.draw(flixel_util_FlxSpriteUtil.flashGfxSprite)}},getTool:function(e){for(var t=0,i=this._tools;t<i.length;){var l=i[t];if(++t,js_Boot.__instanceof(l,e))return l}return null},toggleVisible:function(){flixel_system_debug_Window.prototype.toggleVisible.call(this),this.get_visible()||(this.setActiveTool(null),this.restoreSystemCursor())},registerCustomCursor:function(e,t){if(null!=t){var i=new openfl_display_Sprite;i.set_visible(!1),i.set_name(e),i.addChild(new openfl_display_Bitmap(t)),this._customCursor.addChild(i)}},updateCustomCursors:function(){if(null==this.activeTool||this._debuggerInteraction)flixel_FlxG.mouse.set_useSystemCursor(!0);else if(null!=this.activeTool.cursor){for(var e=""==this.activeTool.cursorInUse?this.activeTool.getName():this.activeTool.cursorInUse,t=0,i=this._customCursor.get_numChildren();t<i;){var l=t++,n=this._customCursor.getChildAt(l);n.set_visible(n.get_name()==e)}flixel_FlxG.mouse.visible&&flixel_FlxG.mouse.set_visible(!1)}else flixel_FlxG.mouse.set_useSystemCursor(!0)},saveSystemCursorInfo:function(){this._wasMouseVisible=flixel_FlxG.mouse.visible,this._wasUsingSystemCursor=flixel_FlxG.mouse.useSystemCursor},restoreSystemCursor:function(){flixel_FlxG.mouse.set_useSystemCursor(this._wasUsingSystemCursor),flixel_FlxG.mouse.set_visible(this._wasMouseVisible),this._customCursor.set_visible(!1)},setActiveTool:function(e){null!=this.activeTool&&(this.activeTool.deactivate(),this.activeTool.button.set_toggled(!0)),this.activeTool==e&&(e=null),this.activeTool=e,null!=this.activeTool?(this.setToolsCursorVisibility(!0),this.activeTool.button.set_toggled(!1),this.activeTool.activate(),this.updateCustomCursors()):this.setSystemCursorVisibility(!0),flixel_FlxG.mouse.enabled=!this.isInUse()},setSystemCursorVisibility:function(e){flixel_FlxG.mouse.set_useSystemCursor(e),this._customCursor.set_visible(!e)},setToolsCursorVisibility:function(e){if(flixel_FlxG.mouse.set_useSystemCursor(!1),this._customCursor.set_visible(e),!e)for(var t=0,i=this._customCursor.get_numChildren();t<i;){var l=t++;this._customCursor.getChildAt(l).set_visible(!1)}},clearSelection:function(){this.selectedItems.clear()},keyPressed:function(e){return this._keysDown.h[e]},keyJustPressed:function(e){var t=null==this._keysUp.h[e]?0:this._keysUp.h[e];return this._turn-t==1},isInUse:function(){return!(!flixel_FlxG.debugger.visible||!this.get_visible())&&null!=this.activeTool},findItemsWithinState:function(e,t,i){this.findItemsWithinArea(e,t.members,i),null!=t.subState&&this.findItemsWithinState(e,t.subState,i)},findItemsWithinArea:function(e,t,i){for(var l=t.length;l-- >0;){var n=t[l];if(null!=n&&n.visible&&n.exists){var s=flixel_group_FlxTypedGroup.resolveGroup(n);if(null!=s)this.findItemsWithinArea(e,s.members,i);else{var a;if(n instanceof flixel_FlxSprite){var r=js_Boot.__cast(n,flixel_FlxSprite).getHitbox(),_=r.x+r.width>i.x&&r.x<i.x+i.width&&r.y+r.height>i.y&&r.y<i.y+i.height;r._weak&&(r._inPool||(r._inPool=!0,r._weak=!1,flixel_math_FlxRect._pool.putUnsafe(r))),a=_}else a=!1;a&&e.push(n)}}}},__class__:flixel_system_debug_interaction_Interaction});var flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.resourceName),flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.preload&&(flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Eraser.GraphicEraserTool"]=flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool,flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.__name__="flixel.system.debug.interaction.tools._Eraser.GraphicEraserTool",flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.preload=null,flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool});var flixel_system_debug_interaction_tools_Tool=function(){this._name="(Unknown tool)",this.cursorInUse="",openfl_display_Sprite.call(this)};$hxClasses["flixel.system.debug.interaction.tools.Tool"]=flixel_system_debug_interaction_tools_Tool,flixel_system_debug_interaction_tools_Tool.__name__="flixel.system.debug.interaction.tools.Tool",flixel_system_debug_interaction_tools_Tool.__interfaces__=[flixel_util_IFlxDestroyable],flixel_system_debug_interaction_tools_Tool.__super__=openfl_display_Sprite,flixel_system_debug_interaction_tools_Tool.prototype=$extend(openfl_display_Sprite.prototype,{button:null,cursor:null,cursorInUse:null,_name:null,_shortcut:null,_brain:null,init:function(e){return this._brain=e,this},update:function(){},draw:function(){},activate:function(){},deactivate:function(){},destroy:function(){},isActive:function(){return this._brain.activeTool==this&&this._brain.get_visible()},setButton:function(e){this.button=new flixel_system_ui_FlxSystemButton(Type.createInstance(e,[0,0]),$bind(this,this.onButtonClicked),!0),this.button.set_toggled(!0);var t=this._name;null!=this._shortcut&&(t+=" ("+this._shortcut+")"),flixel_system_debug_Tooltip.add(this.button,t)},setCursor:function(e){this.cursor=e,this._brain.registerCustomCursor(this._name,this.cursor)},setCursorInUse:function(e){this.cursorInUse=e},useDefaultCursor:function(){""!=this.cursorInUse&&(this.cursorInUse="")},onButtonClicked:function(){this._brain.setActiveTool(this)},getName:function(){return this._name},__class__:flixel_system_debug_interaction_tools_Tool});var flixel_system_debug_interaction_tools_Eraser=function(){flixel_system_debug_interaction_tools_Tool.call(this)};$hxClasses["flixel.system.debug.interaction.tools.Eraser"]=flixel_system_debug_interaction_tools_Eraser,flixel_system_debug_interaction_tools_Eraser.__name__="flixel.system.debug.interaction.tools.Eraser",flixel_system_debug_interaction_tools_Eraser.__super__=flixel_system_debug_interaction_tools_Tool,flixel_system_debug_interaction_tools_Eraser.prototype=$extend(flixel_system_debug_interaction_tools_Tool.prototype,{init:function(e){return flixel_system_debug_interaction_tools_Tool.prototype.init.call(this,e),this._name="Eraser",this},update:function(){this._brain.keyJustPressed(46)&&this.doDeletion(this._brain.keyPressed(16))},activate:function(){this.doDeletion(this._brain.keyPressed(16)),this._brain.setActiveTool(null)},doDeletion:function(e){var t=this._brain.selectedItems;null!=t&&(this.findAndDelete(t,e),t.clear())},findAndDelete:function(e,t){null==t&&(t=!1);for(var i=new flixel_group_FlxTypedGroupIterator(e.members,null);i.hasNext();){var l=i.next();null!=l&&(l instanceof flixel_group_FlxTypedGroup||(l.kill(),t&&this.removeFromMemory(l,flixel_FlxG.game._state)))}},removeFromMemory:function(e,t){for(var i=0,l=t.members;i<l.length;){var n=l[i];++i,null!=n&&(n instanceof flixel_group_FlxTypedGroup?this.removeFromMemory(e,n):n==e&&t.remove(n))}},__class__:flixel_system_debug_interaction_tools_Eraser});var flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.resourceName),flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.preload&&(flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Mover.GraphicMoverTool"]=flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool,flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.__name__="flixel.system.debug.interaction.tools._Mover.GraphicMoverTool",flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.preload=null,flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool});var flixel_system_debug_interaction_tools_Mover=function(){this._dragging=!1,flixel_system_debug_interaction_tools_Tool.call(this)};$hxClasses["flixel.system.debug.interaction.tools.Mover"]=flixel_system_debug_interaction_tools_Mover,flixel_system_debug_interaction_tools_Mover.__name__="flixel.system.debug.interaction.tools.Mover",flixel_system_debug_interaction_tools_Mover.__super__=flixel_system_debug_interaction_tools_Tool,flixel_system_debug_interaction_tools_Mover.prototype=$extend(flixel_system_debug_interaction_tools_Tool.prototype,{_dragging:null,_lastCursorPosition:null,init:function(e){return flixel_system_debug_interaction_tools_Tool.prototype.init.call(this,e),this._lastCursorPosition=new flixel_math_FlxPoint(e.flixelPointer.x,e.flixelPointer.x),this._name="Mover",this._shortcut="Shift",this.setButton(flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool),this.setCursor(new flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool(0,0)),this},update:function(){(this.isActive()||this._brain.keyPressed(16))&&(this._brain.pointerPressed&&!this._dragging?this.startDragging():this._brain.pointerPressed&&this._dragging?this.doDragging():this._brain.pointerJustReleased&&this.stopDragging(),this._lastCursorPosition.set_x(this._brain.flixelPointer.x),this._lastCursorPosition.set_y(this._brain.flixelPointer.y))},stopDragging:function(){this._dragging=!1},startDragging:function(){this._dragging||(this._dragging=!0,!this.isActive()&&this._brain.activeTool instanceof flixel_system_debug_interaction_tools_Pointer&&this._brain.activeTool.cancelSelection())},doDragging:function(){for(var e=this._brain.flixelPointer.x-this._lastCursorPosition.x,t=this._brain.flixelPointer.y-this._lastCursorPosition.y,i=0,l=this._brain.selectedItems.members;i<l.length;){var n=l[i];if(++i,n instanceof flixel_FlxObject){var s=n;if(null!=s){var a=s;a.set_x(a.x+e);var r=s;r.set_y(r.y+t)}}}},__class__:flixel_system_debug_interaction_tools_Mover});var flixel_system_debug_interaction_tools_GraphicCursorCross=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools_GraphicCursorCross.preload)this.__fromImage(flixel_system_debug_interaction_tools_GraphicCursorCross.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools_GraphicCursorCross.resourceName),flixel_system_debug_interaction_tools_GraphicCursorCross.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools_GraphicCursorCross.preload&&(flixel_system_debug_interaction_tools_GraphicCursorCross.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools.GraphicCursorCross"]=flixel_system_debug_interaction_tools_GraphicCursorCross,flixel_system_debug_interaction_tools_GraphicCursorCross.__name__="flixel.system.debug.interaction.tools.GraphicCursorCross",flixel_system_debug_interaction_tools_GraphicCursorCross.preload=null,flixel_system_debug_interaction_tools_GraphicCursorCross.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools_GraphicCursorCross.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools_GraphicCursorCross});var flixel_system_debug_interaction_tools_Pointer=function(){this._itemsInSelectionArea=[],this._selectionArea=new flixel_math_FlxRect,this._selectionCancelled=!1,this._selectionHappening=!1,this._selectionEndPoint=new flixel_math_FlxPoint,this._selectionStartPoint=new flixel_math_FlxPoint,flixel_system_debug_interaction_tools_Tool.call(this)};$hxClasses["flixel.system.debug.interaction.tools.Pointer"]=flixel_system_debug_interaction_tools_Pointer,flixel_system_debug_interaction_tools_Pointer.__name__="flixel.system.debug.interaction.tools.Pointer",flixel_system_debug_interaction_tools_Pointer.__super__=flixel_system_debug_interaction_tools_Tool,flixel_system_debug_interaction_tools_Pointer.prototype=$extend(flixel_system_debug_interaction_tools_Tool.prototype,{_selectionStartPoint:null,_selectionEndPoint:null,_selectionHappening:null,_selectionCancelled:null,_selectionArea:null,_itemsInSelectionArea:null,init:function(e){return flixel_system_debug_interaction_tools_Tool.prototype.init.call(this,e),this._name="Pointer",this.setButton(flixel_system_debug_interaction_tools_GraphicCursorCross),this.setCursor(new flixel_system_debug_interaction_tools_GraphicCursorCross(0,0)),this},update:function(){this.isActive()&&(this._brain.pointerJustPressed&&!this._selectionHappening&&this.startSelection(),this._selectionHappening&&(this._selectionEndPoint.set(this._brain.flixelPointer.x,this._brain.flixelPointer.y),this.calculateSelectionArea()),this._brain.pointerJustReleased&&(this._selectionHappening&&this.stopSelection(),this._itemsInSelectionArea.length>0?this.handleItemAddition(this._itemsInSelectionArea):this._brain.keyPressed(17)||this._selectionCancelled||this._brain.clearSelection()))},calculateSelectionArea:function(){this._selectionArea.x=this._selectionStartPoint.x,this._selectionArea.y=this._selectionStartPoint.y,this._selectionArea.width=this._selectionEndPoint.x-this._selectionArea.x,this._selectionArea.height=this._selectionEndPoint.y-this._selectionArea.y,this._selectionArea.width<0&&(this._selectionArea.width*=-1,this._selectionArea.x-=this._selectionArea.width),this._selectionArea.height<0&&(this._selectionArea.height*=-1,this._selectionArea.y-=this._selectionArea.height)},startSelection:function(){this._selectionHappening=!0,this._selectionCancelled=!1,this._selectionStartPoint.set(this._brain.flixelPointer.x,this._brain.flixelPointer.y),flixel_util_FlxArrayUtil.clearArray(this._itemsInSelectionArea),this.updateConsoleSelection()},cancelSelection:function(){this._selectionHappening&&(this._selectionCancelled=!0,this.stopSelection(!1))},stopSelection:function(e){if(null==e&&(e=!0),this._selectionHappening){this._selectionEndPoint.set(this._brain.flixelPointer.x,this._brain.flixelPointer.y),this.calculateSelectionArea(),e&&(this._brain.findItemsWithinState(this._itemsInSelectionArea,flixel_FlxG.game._state,this._selectionArea),this.updateConsoleSelection()),this._selectionHappening=!1;var t=this._selectionArea,i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s}},updateConsoleSelection:function(){},handleItemAddition:function(e){var t=this._brain.keyPressed(17),i=this._brain.selectedItems;if(0!=e.length){t||this._brain.clearSelection();for(var l=0;l<e.length;){var n=e[l];++l,-1!=i.members.indexOf(n)&&t?i.remove(n):i.add(n)}}},draw:function(){var e=this._brain.getDebugGraphics();null!=e&&(this._selectionHappening&&(e.lineStyle(.9,12255232),e.drawRect(this._selectionArea.x-flixel_FlxG.camera.scroll.x,this._selectionArea.y-flixel_FlxG.camera.scroll.y,this._selectionArea.width,this._selectionArea.height)),flixel_FlxG.renderBlit&&flixel_FlxG.camera.buffer.draw(flixel_util_FlxSpriteUtil.flashGfxSprite))},__class__:flixel_system_debug_interaction_tools_Pointer});var flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.resourceName),flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.preload&&(flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Transform.GraphicTransformTool"]=flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool,flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.__name__="flixel.system.debug.interaction.tools._Transform.GraphicTransformTool",flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.preload=null,flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool});var flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.resourceName),flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.preload&&(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorDefault"]=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.__name__="flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorDefault",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.preload=null,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault});var flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.resourceName),flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.preload&&(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorScaleY"]=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.__name__="flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorScaleY",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.preload=null,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY});var flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.resourceName),flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.preload&&(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorScaleX"]=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.__name__="flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorScaleX",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.preload=null,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX});var flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.resourceName),flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.preload&&(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorScaleXY"]=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.__name__="flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorScaleXY",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.preload=null,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY});var flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.preload)this.__fromImage(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.resourceName),flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.preload&&(flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorRotate"]=flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.__name__="flixel.system.debug.interaction.tools._Transform.GraphicTransformCursorRotate",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.preload=null,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.__super__=openfl_display_BitmapData,flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate});var flixel_system_debug_interaction_tools_Transform=function(){this._mouseCursor=new flixel_math_FlxPoint,this._targetArea=new flixel_math_FlxRect,this._markers=[],this._actionScaleDirection=new flixel_math_FlxPoint,this._actionStartPoint=new flixel_math_FlxPoint,this._actionTargetStartScale=new flixel_math_FlxPoint,flixel_system_debug_interaction_tools_Tool.call(this)};$hxClasses["flixel.system.debug.interaction.tools.Transform"]=flixel_system_debug_interaction_tools_Transform,flixel_system_debug_interaction_tools_Transform.__name__="flixel.system.debug.interaction.tools.Transform",flixel_system_debug_interaction_tools_Transform.__super__=flixel_system_debug_interaction_tools_Tool,flixel_system_debug_interaction_tools_Transform.prototype=$extend(flixel_system_debug_interaction_tools_Tool.prototype,{_actionTargetStartScale:null,_actionTargetStartAngle:null,_actionStartPoint:null,_actionHappening:null,_actionMarker:null,_actionScaleDirection:null,_tooltip:null,_markers:null,_target:null,_targetArea:null,_mouseCursor:null,init:function(e){var t=this;return flixel_system_debug_interaction_tools_Tool.prototype.init.call(this,e),this._name="Transform",this.setButton(flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool),this.setCursor(new flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault(0,0)),e.registerCustomCursor("transformRotate",new flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate(0,0)),e.registerCustomCursor("transformScaleX",new flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX(0,0)),e.registerCustomCursor("transformScaleY",new flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY(0,0)),e.registerCustomCursor("transformScaleXY",new flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY(0,0)),this._tooltip=flixel_system_debug_Tooltip.add(null,""),this._tooltip.textField.set_wordWrap(!1),this._markers.push(new flixel_math_FlxPoint),this._markers.push(new flixel_math_FlxPoint),this._markers.push(new flixel_math_FlxPoint),this._markers.push(new flixel_math_FlxPoint),this.stopAction(),flixel_FlxG.signals.preStateSwitch.add(function(){t._target=null}),this},updateTargetArea:function(){if(null==this._target)(e=this._targetArea).x=0,e.y=0,(e=this._targetArea).width=0,e.height=0;else{(e=this._targetArea).x=this._target.x-flixel_FlxG.camera.scroll.x,e.y=this._target.y-flixel_FlxG.camera.scroll.y;var e=this._targetArea,t=this._target.get_width(),i=this._target.get_height();e.width=t,e.height=i}},startAction:function(e){this._actionHappening||(this._actionHappening=!0,this._actionMarker=e,this._actionStartPoint.set(this._brain.flixelPointer.x-flixel_FlxG.camera.scroll.x,this._brain.flixelPointer.y-flixel_FlxG.camera.scroll.y),this._actionTargetStartAngle=flixel_math_FlxAngle.angleBetweenPoint(this._target,this._markers[0],!0),this._actionTargetStartScale.set(this._target.scale.x,this._target.scale.y))},stopAction:function(){this._actionHappening=!1,this._actionMarker=-1,this._tooltip.setVisible(!1)},getCursorNameByMarker:function(e){switch(e){case 0:return"transformRotate";case 1:return"transformScaleX";case 2:return"transformScaleXY";case 3:return"transformScaleY";default:return""}},handleInteractionsWithMarkersUI:function(){if(!this._actionHappening){for(var e="",t=0,i=this._markers.length;t<i;){var l=t++;if(this._mouseCursor.distanceTo(this._markers[l])<=5&&(e=this.getCursorNameByMarker(l),this._brain.pointerJustPressed)){this.startAction(l);break}}""!=e?this.setCursorInUse(e):this.useDefaultCursor()}},formatFloat:function(e){var t=flixel_math_FlxMath.roundDecimal(e,flixel_FlxG.debugger.precision);return null==t?"null":""+t},showTooltip:function(e){this._tooltip.get_visible()||this._tooltip.setVisible(!0),this._tooltip.set_x(this._target.x-flixel_FlxG.camera.scroll.x),this._tooltip.set_y(this._target.y-flixel_FlxG.camera.scroll.y),this._tooltip.setText(e)},updateScaleActionDirection:function(){var e=this._mouseCursor.x-this._actionStartPoint.x,t=this._mouseCursor.y-this._actionStartPoint.y;this._actionScaleDirection.set_x(e>=0?1:-1),this._actionScaleDirection.set_y(t>=0?1:-1)},updateScaleAction:function(){this.updateScaleActionDirection();var e=this._actionScaleDirection.x*Math.abs(this._mouseCursor.x-this._actionStartPoint.x)/10,t=this._actionScaleDirection.y*Math.abs(this._mouseCursor.y-this._actionStartPoint.y)/10;1!=this._actionMarker&&2!=this._actionMarker||this._target.scale.set_x(this._actionTargetStartScale.x+e),2!=this._actionMarker&&3!=this._actionMarker||this._target.scale.set_y(this._actionTargetStartScale.y+t),this._target.updateHitbox();var i=this._target;i.origin.set(.5*i.frameWidth,.5*i.frameHeight),this.showTooltip("w: "+this.formatFloat(this._target.get_width())+"\nh: "+this.formatFloat(this._target.get_height()))},updateRotateAction:function(){this._target.set_angle(flixel_math_FlxAngle.angleBetweenPoint(this._target,this._brain.flixelPointer,!0)-this._actionTargetStartAngle),this.showTooltip("deg: "+this.formatFloat(this._target.angle)+"\nrad: "+this.formatFloat(this._target.angle*(Math.PI/180)))},updateAction:function(){!this._actionHappening||this._actionMarker<0||(0==this._actionMarker?this.updateRotateAction():this.updateScaleAction())},updateMarkersPosition:function(){var e=this._targetArea.x-5,t=this._targetArea.y-5,i=this._targetArea.width+10,l=this._targetArea.height+10;this._markers[0].set(e,t),this._markers[1].set(e+i,t),this._markers[2].set(e+i,t+l),this._markers[3].set(e,t+l),0!=this._target.angle&&this.updateMarkersRotation(i,l)},updateMarkersRotation:function(e,t){var i=this._target.angle*(Math.PI/180),l=this._markers[0].x+e/2,n=this._markers[0].y+t/2,s=i+1.570796327;(s*=.3183098862)>1?s-=Math.ceil(s)>>1<<1:s<-1&&(s+=Math.ceil(-s)>>1<<1);var a=s>0?s*(3.1+s*(.5+s*(3.6*s-7.2))):s*(3.1-s*(.5+s*(7.2+3.6*s))),s=i;(s*=.3183098862)>1?s-=Math.ceil(s)>>1<<1:s<-1&&(s+=Math.ceil(-s)>>1<<1);for(var r=s>0?s*(3.1+s*(.5+s*(3.6*s-7.2))):s*(3.1-s*(.5+s*(7.2+3.6*s))),_=0,o=this._markers;_<o.length;){var h=o[_];++_;var u=(h.x-l)*a-(h.y-n)*r,d=(h.x-l)*r+(h.y-n)*a;h.set(u+l,d+n)}},update:function(){this.isActive()&&null!=this._target&&(this._mouseCursor.set_x(this._brain.flixelPointer.x-flixel_FlxG.camera.scroll.x),this._mouseCursor.set_y(this._brain.flixelPointer.y-flixel_FlxG.camera.scroll.y),this.updateTargetArea(),this.updateMarkersPosition(),this.handleInteractionsWithMarkersUI(),this._actionHappening&&(this.updateAction(),this._brain.pointerJustReleased&&this.stopAction()))},drawTargetAreaOutline:function(e){e.lineStyle(.9,-65281,1,!1,2,2),e.moveTo(this._markers[0].x,this._markers[0].y);for(var t=0,i=this._markers.length;t<i;){var l=t++;e.lineTo(this._markers[l].x,this._markers[l].y)}e.lineTo(this._markers[0].x,this._markers[0].y)},drawMarkers:function(e){e.lineStyle(.9,-65281,1,!1,2,2),e.beginFill(-65281);for(var t=0,i=this._markers.length;t<i;){var l=t++;0==l?e.drawCircle(this._markers[l].x,this._markers[l].y,2.7):e.drawRect(this._markers[l].x-1.5,this._markers[l].y-1.5,3,3)}e.endFill()},draw:function(){var e=this._brain.getDebugGraphics();null!=e&&null!=this._target&&this.isActive()&&(this.drawTargetAreaOutline(e),this.drawMarkers(e),flixel_FlxG.renderBlit&&flixel_FlxG.camera.buffer.draw(flixel_util_FlxSpriteUtil.flashGfxSprite))},activate:function(){if(this._target=null,0!=this._brain.selectedItems.length){for(var e=new flixel_group_FlxTypedGroupIterator(this._brain.selectedItems.members,null);e.hasNext();){var t=e.next();if(null!=t&&null!=t.scrollFactor&&t.isOnScreen()){this._target=t;break}}this._brain.shouldDrawItemsSelection=!1}},deactivate:function(){this._brain.shouldDrawItemsSelection=!0},__class__:flixel_system_debug_interaction_tools_Transform});var flixel_system_debug_log_LogStyle=function(e,t,i,l,n,s,a,r,_){null==r&&(r=!1),null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=12),null==t&&(t="FFFFFF"),null==e&&(e=""),this.prefix=e,this.color=t,this.size=i,this.bold=l,this.italic=n,this.underlined=s,this.errorSound=a,this.openConsole=r,this.callbackFunction=_};$hxClasses["flixel.system.debug.log.LogStyle"]=flixel_system_debug_log_LogStyle,flixel_system_debug_log_LogStyle.__name__="flixel.system.debug.log.LogStyle",flixel_system_debug_log_LogStyle.prototype={prefix:null,color:null,size:null,bold:null,italic:null,underlined:null,errorSound:null,openConsole:null,callbackFunction:null,__class__:flixel_system_debug_log_LogStyle};var flixel_system_debug_stats__$Stats_GraphicMinimizeButton=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_stats__$Stats_GraphicMinimizeButton.preload)this.__fromImage(flixel_system_debug_stats__$Stats_GraphicMinimizeButton.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_stats__$Stats_GraphicMinimizeButton.resourceName),flixel_system_debug_stats__$Stats_GraphicMinimizeButton.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_stats__$Stats_GraphicMinimizeButton.preload&&(flixel_system_debug_stats__$Stats_GraphicMinimizeButton.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.stats._Stats.GraphicMinimizeButton"]=flixel_system_debug_stats__$Stats_GraphicMinimizeButton,flixel_system_debug_stats__$Stats_GraphicMinimizeButton.__name__="flixel.system.debug.stats._Stats.GraphicMinimizeButton",flixel_system_debug_stats__$Stats_GraphicMinimizeButton.preload=null,flixel_system_debug_stats__$Stats_GraphicMinimizeButton.__super__=openfl_display_BitmapData,flixel_system_debug_stats__$Stats_GraphicMinimizeButton.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_stats__$Stats_GraphicMinimizeButton});var flixel_system_debug_stats__$Stats_GraphicMaximizeButton=function(e,t,i,l,n){if(null==l&&(l=-1),null==i&&(i=!0),openfl_display_BitmapData.call(this,0,0,i,l),null!=flixel_system_debug_stats__$Stats_GraphicMaximizeButton.preload)this.__fromImage(flixel_system_debug_stats__$Stats_GraphicMaximizeButton.preload);else{var s=this;lime_graphics_Image.loadFromBase64(haxe_Resource.getString(flixel_system_debug_stats__$Stats_GraphicMaximizeButton.resourceName),flixel_system_debug_stats__$Stats_GraphicMaximizeButton.resourceType).then(function(e){return s.__fromImage(e),lime_app_Future.withValue(s)}).onComplete(function(e){null==flixel_system_debug_stats__$Stats_GraphicMaximizeButton.preload&&(flixel_system_debug_stats__$Stats_GraphicMaximizeButton.preload=e.image),null!=n&&Reflect.isFunction(n)&&n(e)})}};$hxClasses["flixel.system.debug.stats._Stats.GraphicMaximizeButton"]=flixel_system_debug_stats__$Stats_GraphicMaximizeButton,flixel_system_debug_stats__$Stats_GraphicMaximizeButton.__name__="flixel.system.debug.stats._Stats.GraphicMaximizeButton",flixel_system_debug_stats__$Stats_GraphicMaximizeButton.preload=null,flixel_system_debug_stats__$Stats_GraphicMaximizeButton.__super__=openfl_display_BitmapData,flixel_system_debug_stats__$Stats_GraphicMaximizeButton.prototype=$extend(openfl_display_BitmapData.prototype,{__class__:flixel_system_debug_stats__$Stats_GraphicMaximizeButton});var flixel_system_debug_watch_Watch=function(e,t,i,l,n,s,a,r){flixel_system_debug_Window.call(this,e,t,i,l,n,s,a,r)};$hxClasses["flixel.system.debug.watch.Watch"]=flixel_system_debug_watch_Watch,flixel_system_debug_watch_Watch.__name__="flixel.system.debug.watch.Watch",flixel_system_debug_watch_Watch.__super__=flixel_system_debug_Window,flixel_system_debug_watch_Watch.prototype=$extend(flixel_system_debug_Window.prototype,{__class__:flixel_system_debug_watch_Watch});var flixel_system_debug_watch_Tracker=function(e,t,i,l,n,s,a,r){flixel_system_debug_watch_Watch.call(this,e,t,i,l,n,s,a,r)};$hxClasses["flixel.system.debug.watch.Tracker"]=flixel_system_debug_watch_Tracker,flixel_system_debug_watch_Tracker.__name__="flixel.system.debug.watch.Tracker",flixel_system_debug_watch_Tracker.__super__=flixel_system_debug_watch_Watch,flixel_system_debug_watch_Tracker.prototype=$extend(flixel_system_debug_watch_Watch.prototype,{__class__:flixel_system_debug_watch_Tracker});var flixel_system_debug_watch_TrackerProfile=function(e,t,i){this.objectClass=e,this.variables=t,this.extensions=i};$hxClasses["flixel.system.debug.watch.TrackerProfile"]=flixel_system_debug_watch_TrackerProfile,flixel_system_debug_watch_TrackerProfile.__name__="flixel.system.debug.watch.TrackerProfile",flixel_system_debug_watch_TrackerProfile.prototype={objectClass:null,variables:null,extensions:null,toString:function(){var e=this.variables,t=flixel_util_LabelValuePair._pool.get();t.label="variables",t.value=e;var e=this.extensions,i=flixel_util_LabelValuePair._pool.get();return i.label="extensions",i.value=e,flixel_util_FlxStringUtil.getDebugString([t,i])},__class__:flixel_system_debug_watch_TrackerProfile};var flixel_system_frontEnds_FlxBrowser=$hxEnums["flixel.system.frontEnds.FlxBrowser"]={__ename__:"flixel.system.frontEnds.FlxBrowser",__constructs__:["INTERNET_EXPLORER","CHROME","FIREFOX","SAFARI","OPERA","UNKNOWN"],INTERNET_EXPLORER:{_hx_index:0,__enum__:"flixel.system.frontEnds.FlxBrowser",toString:$estr},CHROME:{_hx_index:1,__enum__:"flixel.system.frontEnds.FlxBrowser",toString:$estr},FIREFOX:{_hx_index:2,__enum__:"flixel.system.frontEnds.FlxBrowser",toString:$estr},SAFARI:{_hx_index:3,__enum__:"flixel.system.frontEnds.FlxBrowser",toString:$estr},OPERA:{_hx_index:4,__enum__:"flixel.system.frontEnds.FlxBrowser",toString:$estr},UNKNOWN:{_hx_index:5,__enum__:"flixel.system.frontEnds.FlxBrowser",toString:$estr}},flixel_system_frontEnds_FlxPlatform=$hxEnums["flixel.system.frontEnds.FlxPlatform"]={__ename__:"flixel.system.frontEnds.FlxPlatform",__constructs__:["WINDOWS","LINUX","MAC","ANDROID","BLACKBERRY","WINDOWS_PHONE","IOS","UNKNOWN"],WINDOWS:{_hx_index:0,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr},LINUX:{_hx_index:1,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr},MAC:{_hx_index:2,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr},ANDROID:{_hx_index:3,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr},BLACKBERRY:{_hx_index:4,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr},WINDOWS_PHONE:{_hx_index:5,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr},IOS:($_=function(e){return{_hx_index:6,device:e,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr}},$_.__params__=["device"],$_),UNKNOWN:{_hx_index:7,__enum__:"flixel.system.frontEnds.FlxPlatform",toString:$estr}},flixel_system_frontEnds_FlxIOSDevice=$hxEnums["flixel.system.frontEnds.FlxIOSDevice"]={__ename__:"flixel.system.frontEnds.FlxIOSDevice",__constructs__:["IPHONE","IPAD","IPOD"],IPHONE:{_hx_index:0,__enum__:"flixel.system.frontEnds.FlxIOSDevice",toString:$estr},IPAD:{_hx_index:1,__enum__:"flixel.system.frontEnds.FlxIOSDevice",toString:$estr},IPOD:{_hx_index:2,__enum__:"flixel.system.frontEnds.FlxIOSDevice",toString:$estr}},flixel_system_frontEnds_PluginFrontEnd=function(){this.list=[],this.add_flixel_util_FlxTimerManager(flixel_util_FlxTimer.globalManager=new flixel_util_FlxTimerManager),this.add_flixel_tweens_FlxTweenManager(flixel_tweens_FlxTween.globalManager=new flixel_tweens_FlxTweenManager)};$hxClasses["flixel.system.frontEnds.PluginFrontEnd"]=flixel_system_frontEnds_PluginFrontEnd,flixel_system_frontEnds_PluginFrontEnd.__name__="flixel.system.frontEnds.PluginFrontEnd",flixel_system_frontEnds_PluginFrontEnd.prototype={add_flixel_tweens_FlxTweenManager:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},add_flixel_util_FlxTimerManager:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,flixel_util_FlxStringUtil.getClassName(e,!0)==flixel_util_FlxStringUtil.getClassName(l,!0))return e}return this.list.push(e),e},list:null,get:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];if(++t,js_Boot.__instanceof(l,e))return l}return null},remove:function(e){for(var t=this.list.length-1;t>=0;){if(this.list[t]==e)return this.list.splice(t,1),e;--t}return e},removeType:function(e){for(var t=!1,i=this.list.length-1;i>=0;)js_Boot.__instanceof(this.list[i],e)&&(this.list.splice(i,1),t=!0),--i;return t},update:function(e){for(var t=0,i=this.list;t<i.length;){var l=i[t];++t,l.exists&&l.active&&l.update(e)}},draw:function(){for(var e=0,t=this.list;e<t.length;){var i=t[e];++e,i.exists&&i.visible&&i.draw()}},__class__:flixel_system_frontEnds_PluginFrontEnd};var flixel_system_frontEnds_SoundFrontEnd=function(){this.volume=1,this.list=new flixel_group_FlxTypedGroup,this.defaultSoundGroup=new flixel_system_FlxSoundGroup,this.defaultMusicGroup=new flixel_system_FlxSoundGroup,this.soundTrayEnabled=!0,this.muteKeys=[48,96],this.volumeDownKeys=[189,109],this.volumeUpKeys=[187,107],this.muted=!1,this.loadSavedPrefs()};$hxClasses["flixel.system.frontEnds.SoundFrontEnd"]=flixel_system_frontEnds_SoundFrontEnd,flixel_system_frontEnds_SoundFrontEnd.__name__="flixel.system.frontEnds.SoundFrontEnd",flixel_system_frontEnds_SoundFrontEnd.prototype={music:null,muted:null,volumeHandler:null,volumeUpKeys:null,volumeDownKeys:null,muteKeys:null,soundTrayEnabled:null,defaultMusicGroup:null,defaultSoundGroup:null,list:null,volume:null,playMusic:function(e,t,i,l){if(null==i&&(i=!0),null==t&&(t=1),null==this.music)this.music=new flixel_system_FlxSound;else if(this.music.active){var n=this.music;n.cleanup(n.autoDestroy,!0)}this.music.loadEmbedded(e,i),this.music.set_volume(t),this.music.persist=!0,this.music.set_group(null==l?this.defaultMusicGroup:l),this.music.play()},load:function(e,t,i,l,n,s,a,r){if(null==s&&(s=!1),null==n&&(n=!1),null==i&&(i=!1),null==t&&(t=1),null==e&&null==a)return null;var _=this.list.recycle(flixel_system_FlxSound);return null!=e?_.loadEmbedded(e,i,n,r):_.loadStream(a,i,n,r),_.set_volume(t),s&&_.play(),_.set_group(null==l?this.defaultSoundGroup:l),_},cache:function(e){return openfl_utils_Assets.exists(e,"SOUND")||openfl_utils_Assets.exists(e,"MUSIC")?openfl_utils_Assets.getSound(e,!0):null},cacheAll:function(){for(var e=0,t=openfl_utils_Assets.list("SOUND");e<t.length;){var i=t[e];++e,(openfl_utils_Assets.exists(i,"SOUND")||openfl_utils_Assets.exists(i,"MUSIC"))&&openfl_utils_Assets.getSound(i,!0)}},play:function(e,t,i,l,n,s){null==n&&(n=!0),null==i&&(i=!1),null==t&&(t=1),"string"==typeof e&&(e=openfl_utils_Assets.exists(e,"SOUND")||openfl_utils_Assets.exists(e,"MUSIC")?openfl_utils_Assets.getSound(e,!0):null);var a=this.list.recycle(flixel_system_FlxSound).loadEmbedded(e,i,n,s);return a.set_volume(t),a.set_group(null==l?this.defaultSoundGroup:l),a.play()},stream:function(e,t,i,l,n,s){return null==n&&(n=!0),null==i&&(i=!1),null==t&&(t=1),this.load(null,t,i,null,n,!0,e,s)},pause:function(){null!=this.music&&this.music.exists&&this.music.active&&this.music.pause();for(var e=0,t=this.list.members;e<t.length;){var i=t[e];++e,null!=i&&i.exists&&i.active&&i.pause()}},resume:function(){null!=this.music&&this.music.exists&&this.music.resume();for(var e=0,t=this.list.members;e<t.length;){var i=t[e];++e,null!=i&&i.exists&&i.resume()}},destroy:function(e){null==e&&(e=!1),null==this.music||!e&&this.music.persist||(this.destroySound(this.music),this.music=null);for(var t=0,i=this.list.members;t<i.length;){var l=i[t];++t,null==l||!e&&l.persist||this.destroySound(l)}},destroySound:function(e){this.defaultMusicGroup.remove(e),this.defaultSoundGroup.remove(e),e.destroy()},toggleMuted:function(){this.muted=!this.muted,null!=this.volumeHandler&&this.volumeHandler(this.muted?0:this.volume),this.showSoundTray()},changeVolume:function(e){this.muted=!1;var t=this;t.set_volume(t.volume+e),this.showSoundTray()},showSoundTray:function(){null!=flixel_FlxG.game.soundTray&&this.soundTrayEnabled&&flixel_FlxG.game.soundTray.show()},update:function(e){null!=this.music&&this.music.active&&this.music.update(e),null!=this.list&&this.list.active&&this.list.update(e),flixel_FlxG.keys.checkKeyArrayState(this.muteKeys,-1)?this.toggleMuted():flixel_FlxG.keys.checkKeyArrayState(this.volumeUpKeys,-1)?this.changeVolume(.1):flixel_FlxG.keys.checkKeyArrayState(this.volumeDownKeys,-1)&&this.changeVolume(-.1)},onFocusLost:function(){null!=this.music&&this.music.onFocusLost();for(var e=0,t=this.list.members;e<t.length;){var i=t[e];++e,null!=i&&i.onFocusLost()}},onFocus:function(){null!=this.music&&this.music.onFocus();for(var e=0,t=this.list.members;e<t.length;){var i=t[e];++e,null!=i&&i.onFocus()}},loadSavedPrefs:function(){null!=flixel_FlxG.save.data.volume&&this.set_volume(flixel_FlxG.save.data.volume),null!=flixel_FlxG.save.data.mute&&(this.muted=flixel_FlxG.save.data.mute)},set_volume:function(e){var t=e<0?0:e;if(e=t>1?1:t,null!=this.volumeHandler){var i=this.muted?0:e;this.volumeHandler(i)}return this.volume=e},__class__:flixel_system_frontEnds_SoundFrontEnd,__properties__:{set_volume:"set_volume"}};var flixel_system_frontEnds_VCRFrontEnd=function(){this.stepRequested=!1,this.paused=!1};$hxClasses["flixel.system.frontEnds.VCRFrontEnd"]=flixel_system_frontEnds_VCRFrontEnd,flixel_system_frontEnds_VCRFrontEnd.__name__="flixel.system.frontEnds.VCRFrontEnd",flixel_system_frontEnds_VCRFrontEnd.prototype={paused:null,stepRequested:null,pause:function(){this.paused||(flixel_FlxG.mouse.useSystemCursor||openfl_ui_Mouse.show(),this.paused=!0)},resume:function(){this.paused&&(flixel_FlxG.mouse.useSystemCursor||openfl_ui_Mouse.hide(),this.paused=!1)},__class__:flixel_system_frontEnds_VCRFrontEnd};var flixel_system_macros_FlxMacroUtil=function(){};$hxClasses["flixel.system.macros.FlxMacroUtil"]=flixel_system_macros_FlxMacroUtil,flixel_system_macros_FlxMacroUtil.__name__="flixel.system.macros.FlxMacroUtil";var flixel_system_replay_CodeValuePair=function(e,t){this.code=e,this.value=t};$hxClasses["flixel.system.replay.CodeValuePair"]=flixel_system_replay_CodeValuePair,flixel_system_replay_CodeValuePair.__name__="flixel.system.replay.CodeValuePair",flixel_system_replay_CodeValuePair.prototype={code:null,value:null,__class__:flixel_system_replay_CodeValuePair};var flixel_system_replay_MouseRecord=function(e,t,i,l){this.x=e,this.y=t,this.button=i,this.wheel=l};$hxClasses["flixel.system.replay.MouseRecord"]=flixel_system_replay_MouseRecord,flixel_system_replay_MouseRecord.__name__="flixel.system.replay.MouseRecord",flixel_system_replay_MouseRecord.prototype={x:null,y:null,button:null,wheel:null,__class__:flixel_system_replay_MouseRecord};var flixel_system_ui_FlxSoundTray=function(){this._defaultScale=2,this._width=80,openfl_display_Sprite.call(this),this.set_visible(!1),this.set_scaleX(this._defaultScale),this.set_scaleY(this._defaultScale);var e=new openfl_display_Bitmap(new openfl_display_BitmapData(this._width,30,!0,2130706432));this.screenCenter(),this.addChild(e);var t=new openfl_text_TextField;t.set_width(e.get_width()),t.set_height(e.get_height()),t.set_multiline(!0),t.set_wordWrap(!0),t.set_selectable(!1);var i=new openfl_text_TextFormat(flixel_system_FlxAssets.FONT_DEFAULT,10,16777215);i.align=0,t.set_defaultTextFormat(i),this.addChild(t),t.set_text("VOLUME"),t.set_y(16);var l=10,n=14;this._bars=[];for(var s=0;s<10;){var a=s++;(e=new openfl_display_Bitmap(new openfl_display_BitmapData(4,a+1,!1,-1))).set_x(l),e.set_y(n),this.addChild(e),this._bars.push(e),l+=6,--n}this.set_y(-this.get_height()),this.set_visible(!1)};$hxClasses["flixel.system.ui.FlxSoundTray"]=flixel_system_ui_FlxSoundTray,flixel_system_ui_FlxSoundTray.__name__="flixel.system.ui.FlxSoundTray",flixel_system_ui_FlxSoundTray.__super__=openfl_display_Sprite,flixel_system_ui_FlxSoundTray.prototype=$extend(openfl_display_Sprite.prototype,{active:null,_timer:null,_bars:null,_width:null,_defaultScale:null,update:function(e){if(this._timer>0)this._timer-=e/1e3;else if(this.get_y()>-this.get_height()){var t=this;t.set_y(t.get_y()-e/1e3*flixel_FlxG.height*2),this.get_y()<=-this.get_height()&&(this.set_visible(!1),this.active=!1,flixel_FlxG.save.data.mute=flixel_FlxG.sound.muted,flixel_FlxG.save.data.volume=flixel_FlxG.sound.volume,flixel_FlxG.save.flush())}},show:function(e){if(null==e&&(e=!1),!e){".ogg";var t=openfl_utils_Assets.getSound("flixel/sounds/beep.ogg");null!=t&&flixel_FlxG.sound.load(t).play()}this._timer=1,this.set_y(0),this.set_visible(!0),this.active=!0;var i=Math.round(10*flixel_FlxG.sound.volume);flixel_FlxG.sound.muted&&(i=0);for(var l=0,n=this._bars.length;l<n;){var s=l++;s<i?this._bars[s].set_alpha(1):this._bars[s].set_alpha(.5)}},screenCenter:function(){this.set_scaleX(this._defaultScale),this.set_scaleY(this._defaultScale),this.set_x(.5*(openfl_Lib.get_current().stage.stageWidth-this._width*this._defaultScale)-flixel_FlxG.game.get_x())},__class__:flixel_system_ui_FlxSoundTray});var flixel_system_ui_FlxSystemButton=function(e,t,i){null==i&&(i=!1),this._mouseDown=!1,this.toggled=!1,this.toggleMode=!1,this.enabled=!0,openfl_display_Sprite.call(this),null!=e&&this.changeIcon(e),this.upHandler=t,this.toggleMode=i,this.addEventListener("mouseUp",$bind(this,this.onMouseUp)),this.addEventListener("mouseDown",$bind(this,this.onMouseDown)),this.addEventListener("mouseOut",$bind(this,this.onMouseOut)),this.addEventListener("mouseOver",$bind(this,this.onMouseOver))};$hxClasses["flixel.system.ui.FlxSystemButton"]=flixel_system_ui_FlxSystemButton,flixel_system_ui_FlxSystemButton.__name__="flixel.system.ui.FlxSystemButton",flixel_system_ui_FlxSystemButton.__interfaces__=[flixel_util_IFlxDestroyable],flixel_system_ui_FlxSystemButton.__super__=openfl_display_Sprite,flixel_system_ui_FlxSystemButton.prototype=$extend(openfl_display_Sprite.prototype,{upHandler:null,enabled:null,toggleMode:null,toggled:null,_icon:null,_mouseDown:null,changeIcon:function(e){null!=this._icon&&this.removeChild(this._icon),flixel_system_debug_DebuggerUtil.fixSize(e),this._icon=new openfl_display_Bitmap(e),this.addChild(this._icon)},destroy:function(){this.removeEventListener("mouseUp",$bind(this,this.onMouseUp)),this.removeEventListener("mouseDown",$bind(this,this.onMouseDown)),this.removeEventListener("mouseOut",$bind(this,this.onMouseOut)),this.removeEventListener("mouseOver",$bind(this,this.onMouseOver)),this._icon=null,this.upHandler=null},onMouseUp:function(e){this.enabled&&this._mouseDown&&(this.set_toggled(!this.toggled),this._mouseDown=!1,null!=this.upHandler&&this.upHandler())},onMouseDown:function(e){this._mouseDown=!0},onMouseOver:function(e){if(this.enabled){var t=this;t.set_alpha(t.get_alpha()-.2)}},onMouseOut:function(e){if(this.enabled){var t=this;t.set_alpha(t.get_alpha()+.2)}},set_toggled:function(e){return this.toggleMode&&this.set_alpha(e?.3:1),this.toggled=e},__class__:flixel_system_ui_FlxSystemButton,__properties__:$extend(openfl_display_Sprite.prototype.__properties__,{set_toggled:"set_toggled"})});var flixel_text_FlxTextFormat=function(e,t,i,l){this.format=new openfl_text_TextFormat(null,null,e,t,i),this.borderColor=null==l?0:l};$hxClasses["flixel.text.FlxTextFormat"]=flixel_text_FlxTextFormat,flixel_text_FlxTextFormat.__name__="flixel.text.FlxTextFormat",flixel_text_FlxTextFormat.prototype={borderColor:null,format:null,__class__:flixel_text_FlxTextFormat};var flixel_text__$FlxText_FlxTextFormatRange=function(e,t,i){this.range=new flixel_util_helpers_FlxRange(t,i),this.format=e};$hxClasses["flixel.text._FlxText.FlxTextFormatRange"]=flixel_text__$FlxText_FlxTextFormatRange,flixel_text__$FlxText_FlxTextFormatRange.__name__="flixel.text._FlxText.FlxTextFormatRange",flixel_text__$FlxText_FlxTextFormatRange.prototype={range:null,format:null,__class__:flixel_text__$FlxText_FlxTextFormatRange};var flixel_text_FlxTextFormatMarkerPair=function(e,t){this.format=e,this.marker=t};$hxClasses["flixel.text.FlxTextFormatMarkerPair"]=flixel_text_FlxTextFormatMarkerPair,flixel_text_FlxTextFormatMarkerPair.__name__="flixel.text.FlxTextFormatMarkerPair",flixel_text_FlxTextFormatMarkerPair.prototype={format:null,marker:null,__class__:flixel_text_FlxTextFormatMarkerPair};var flixel_text_FlxTextBorderStyle=$hxEnums["flixel.text.FlxTextBorderStyle"]={__ename__:"flixel.text.FlxTextBorderStyle",__constructs__:["NONE","SHADOW","OUTLINE","OUTLINE_FAST"],NONE:{_hx_index:0,__enum__:"flixel.text.FlxTextBorderStyle",toString:$estr},SHADOW:{_hx_index:1,__enum__:"flixel.text.FlxTextBorderStyle",toString:$estr},OUTLINE:{_hx_index:2,__enum__:"flixel.text.FlxTextBorderStyle",toString:$estr},OUTLINE_FAST:{_hx_index:3,__enum__:"flixel.text.FlxTextBorderStyle",toString:$estr}},flixel_text_FlxTextAlign={};flixel_text_FlxTextAlign.fromOpenFL=function(e){switch(e){case 0:return"center";case 2:return"justify";case 3:return"left";case 4:return"right";default:return"left"}},flixel_text_FlxTextAlign.toOpenFL=function(e){switch(e){case"center":return 0;case"justify":return 2;case"left":return 3;case"right":return 4;default:return 3}};var flixel_tile_FlxBaseTilemap=function(){this._collideIndex=0,this._drawIndex=0,this._startingIndex=0,this._tileObjects=[],this.totalTiles=0,this.heightInTiles=0,this.widthInTiles=0,this.auto=flixel_tile_FlxTilemapAutoTiling.OFF,flixel_FlxObject.call(this),this.flixelType=3,this.set_immovable(!0),this.set_moves(!1)};$hxClasses["flixel.tile.FlxBaseTilemap"]=flixel_tile_FlxBaseTilemap,flixel_tile_FlxBaseTilemap.__name__="flixel.tile.FlxBaseTilemap",flixel_tile_FlxBaseTilemap.__super__=flixel_FlxObject,flixel_tile_FlxBaseTilemap.prototype=$extend(flixel_FlxObject.prototype,{auto:null,widthInTiles:null,heightInTiles:null,totalTiles:null,customTileRemap:null,_randomIndices:null,_randomChoices:null,_randomLambda:null,_tileObjects:null,_startingIndex:null,_data:null,_drawIndex:null,_collideIndex:null,updateTile:function(e){throw haxe_Exception.thrown("updateTile must be implemented")},cacheGraphics:function(e,t,i){throw haxe_Exception.thrown("cacheGraphics must be implemented")},initTileObjects:function(){throw haxe_Exception.thrown("initTileObjects must be implemented")},updateMap:function(){throw haxe_Exception.thrown("updateMap must be implemented")},computeDimensions:function(){throw haxe_Exception.thrown("computeDimensions must be implemented")},getTileIndexByCoords:function(e){throw haxe_Exception.thrown("getTileIndexByCoords must be implemented")},getTileCoordsByIndex:function(e,t){throw null==t&&(t=!0),haxe_Exception.thrown("getTileCoordsByIndex must be implemented")},ray:function(e,t,i,l){throw null==l&&(l=1),haxe_Exception.thrown("ray must be implemented")},overlapsWithCallback:function(e,t,i,l){throw null==i&&(i=!1),haxe_Exception.thrown("overlapsWithCallback must be implemented")},setDirty:function(e){throw null==e&&(e=!0),haxe_Exception.thrown("setDirty must be implemented")},destroy:function(){this._data=null,flixel_FlxObject.prototype.destroy.call(this)},loadMapFromCSV:function(e,t,i,l,n,s,a,r){null==r&&(r=1),null==a&&(a=1),null==s&&(s=0),null==l&&(l=0),null==i&&(i=0),openfl_utils_Assets.exists(e)&&(e=openfl_utils_Assets.getText(e)),this._data=[];for(var _,o=[],h=0,u=new EReg("[ \t]*((\r\n)|\r|\n)[ \t]*","g").split(e);h<u.length;){var d=u[h];++h,""!=d&&o.push(d)}var c=o;this.heightInTiles=c.length,this.widthInTiles=0;for(var p=0;p<this.heightInTiles;){var f=c[p];if(StringTools.endsWith(f,",")&&(f=HxOverrides.substr(f,0,f.length-1)),0!=(_=f.split(",")).length){0==this.widthInTiles&&(this.widthInTiles=_.length);for(var m=0;m<this.widthInTiles;){var x=_[m],g=Std.parseInt(x);if(null==g)throw haxe_Exception.thrown("String in row "+p+", column "+m+' is not a valid integer: "'+x+'"');this._data.push(g),++m}++p}else this.heightInTiles--}return this.loadMapHelper(t,i,l,n,s,a,r),this},loadMapFromArray:function(e,t,i,l,n,s,a,r,_,o){return null==o&&(o=1),null==_&&(_=1),null==r&&(r=0),null==s&&(s=0),null==n&&(n=0),this.widthInTiles=t,this.heightInTiles=i,this._data=e.slice(),this.loadMapHelper(l,n,s,a,r,_,o),this},loadMapFrom2DArray:function(e,t,i,l,n,s,a,r){return null==r&&(r=1),null==a&&(a=1),null==s&&(s=0),null==l&&(l=0),null==i&&(i=0),this.widthInTiles=e[0].length,this.heightInTiles=e.length,this._data=flixel_util_FlxArrayUtil.flatten2DArray_Int(e),this.loadMapHelper(t,i,l,n,s,a,r),this},loadMapFromGraphic:function(e,t,i,l,n,s,a,r,_,o,h){null==h&&(h=1),null==o&&(o=1),null==_&&(_=0),null==a&&(a=0),null==s&&(s=0),null==i&&(i=1),null==t&&(t=!1);var u=flixel_system_FlxAssets.resolveBitmapData(e),d=flixel_util_FlxStringUtil.bitmapToCSV(u,t,i,l);return this.loadMapFromCSV(d,n,s,a,r,_,o,h)},loadMapHelper:function(e,t,i,l,n,s,a){null==a&&(a=1),null==s&&(s=1),null==n&&(n=0),null==i&&(i=0),null==t&&(t=0);for(var r=0,_=this._data.length;r<_;){var o=r++;this._data[o]<0&&(this._data[o]=0)}this.totalTiles=this._data.length,this.auto=null==l?flixel_tile_FlxTilemapAutoTiling.OFF:l,this._startingIndex=n<=0?0:n,this.auto!=flixel_tile_FlxTilemapAutoTiling.OFF&&(this._startingIndex=1,s=1,a=1),this._drawIndex=s,this._collideIndex=a,this.applyAutoTile(),this.applyCustomRemap(),this.randomizeIndices(),this.cacheGraphics(t,i,e),this.postGraphicLoad()},postGraphicLoad:function(){this.initTileObjects(),this.computeDimensions(),this.updateMap()},applyAutoTile:function(){if(this.auto!=flixel_tile_FlxTilemapAutoTiling.OFF)for(var e=0;e<this.totalTiles;)this.autoTile(e++)},applyCustomRemap:function(){var e=0;if(null!=this.customTileRemap)for(;e<this.totalTiles;){var t=this._data[e],i=t;t<this.customTileRemap.length&&(i=this.customTileRemap[t]),this._data[e]=i,++e}},randomizeIndices:function(){var e=0;if(null!=this._randomIndices)for(var t=null!=this._randomLambda?this._randomLambda:function(){return flixel_FlxG.random.float()};e<this.totalTiles;){for(var i=this._data[e],l=0,n=i,s=0,a=this._randomIndices;s<a.length;){var r=a[s];if(++s,i==r){var _=t()*this._randomChoices[l].length|0;n=this._randomChoices[l][_]}++l}this._data[e]=n,++e}},autoTile:function(e){0!=this._data[e]&&(this.auto!=flixel_tile_FlxTilemapAutoTiling.FULL?(this._data[e]=0,(e-this.widthInTiles<0||this._data[e-this.widthInTiles]>0)&&(this._data[e]+=1),(e%this.widthInTiles>=this.widthInTiles-1||this._data[e+1]>0)&&(this._data[e]+=2),((e+this.widthInTiles|0)>=this.totalTiles||this._data[e+this.widthInTiles]>0)&&(this._data[e]+=4),(e%this.widthInTiles<=0||this._data[e-1]>0)&&(this._data[e]+=8),this.auto==flixel_tile_FlxTilemapAutoTiling.ALT&&15==this._data[e]&&(e%this.widthInTiles>0&&(e+this.widthInTiles|0)<this.totalTiles&&this._data[e+this.widthInTiles-1]<=0&&(this._data[e]=1),e%this.widthInTiles>0&&e-this.widthInTiles>=0&&this._data[e-this.widthInTiles-1]<=0&&(this._data[e]=2),e%this.widthInTiles<this.widthInTiles-1&&e-this.widthInTiles>=0&&this._data[e-this.widthInTiles+1]<=0&&(this._data[e]=4),e%this.widthInTiles<this.widthInTiles-1&&(e+this.widthInTiles|0)<this.totalTiles&&this._data[e+this.widthInTiles+1]<=0&&(this._data[e]=8)),this._data[e]+=1):this.autoTileFull(e))},autoTileFull:function(e){this._data[e]=0;var t=e-this.widthInTiles<0,i=e%this.widthInTiles>=this.widthInTiles-1,l=(e+this.widthInTiles|0)>=this.totalTiles,n=e%this.widthInTiles<=0,s=t||this._data[e-this.widthInTiles]>0,a=t||i||this._data[e-this.widthInTiles+1]>0,r=i||this._data[e+1]>0,_=i||l||this._data[e+this.widthInTiles+1]>0,o=l||this._data[e+this.widthInTiles]>0,h=l||n||this._data[e+this.widthInTiles-1]>0,u=n||this._data[e-1]>0,d=n||t||this._data[e-this.widthInTiles-1]>0;s&&(this._data[e]+=1),a&&s&&r&&(this._data[e]+=2),r&&(this._data[e]+=4),_&&r&&o&&(this._data[e]+=8),o&&(this._data[e]+=16),h&&o&&u&&(this._data[e]+=32),u&&(this._data[e]+=64),d&&u&&s&&(this._data[e]+=128),this._data[e]-=flixel_tile_FlxBaseTilemap.offsetAutoTile[this._data[e]]-1},setCustomTileMappings:function(e,t,i,l){if(this.customTileRemap=e,this._randomIndices=t,this._randomChoices=i,this._randomLambda=l,null!=this._randomIndices&&(null==this._randomChoices||0==this._randomChoices.length))throw haxe_Exception.thrown("You must provide valid 'randomChoices' if you wish to randomize tilemap indices, please read documentation of 'setCustomTileMappings' function.")},getTile:function(e,t){return this._data[t*this.widthInTiles+e]},getTileByIndex:function(e){return this._data[e]},getTileCollisions:function(e){return this._tileObjects[e].allowCollisions},getTileInstances:function(e){for(var t=null,i=0,l=this.widthInTiles*this.heightInTiles;i<l;)this._data[i]==e&&(null==t&&(t=[]),t.push(i)),++i;return t},setTile:function(e,t,i,l){return null==l&&(l=!0),!(e>=this.widthInTiles||t>=this.heightInTiles)&&this.setTileByIndex(t*this.widthInTiles+e,i,l)},setTileByIndex:function(e,t,i){if(null==i&&(i=!0),e>=this._data.length)return!1;if(this._data[e]=t,!i)return!0;if(this.setDirty(),this.auto==flixel_tile_FlxTilemapAutoTiling.OFF)return this.updateTile(this._data[e]),!0;for(var l,n=(e/this.widthInTiles|0)-1,s=n+3,a=e%this.widthInTiles-1,r=a+3;n<s;){for(a=r-3;a<r;)n>=0&&n<this.heightInTiles&&a>=0&&a<this.widthInTiles&&(l=n*this.widthInTiles+a,this.autoTile(l),this.updateTile(this._data[l])),++a;++n}return!0},setTileProperties:function(e,t,i,l,n){null==n&&(n=1),null==t&&(t=4369),n<=0&&(n=1);var s,a=e,r=e+n,_=this._tileObjects.length;if(r>_)throw haxe_Exception.thrown("Index "+r+" exceeds the maximum tile index of "+_+". Please verify the Tile ("+e+") and Range ("+n+") parameters.");for(;a<r;)(s=this._tileObjects[a++]).set_allowCollisions(t),s.callbackFunction=i,s.filter=l},getData:function(e){if(null==e&&(e=!1),!e)return this._data;var t=0,i=this._data.length,l=[];for(flixel_util_FlxArrayUtil.setLength_Int(l,i);t<i;)l[t]=this._tileObjects[this._data[t]].allowCollisions>0?1:0,++t;return l},findPath:function(e,t,i,l,n){null==n&&(n=2),null==l&&(l=!1),null==i&&(i=!0);var s=this.getTileIndexByCoords(e),a=this.getTileIndexByCoords(t);if(s<0||a<0)return null;if(this._tileObjects[this._data[s]].allowCollisions>0||this._tileObjects[this._data[a]].allowCollisions>0)return null;var r=this.computePathDistance(s,a,n);if(null==r)return null;var _=[];this.walkPath(r,a,_);var o=_[_.length-1];o.set_x(e.x),o.set_y(e.y),e._weak&&e.put(),(o=_[0]).set_x(t.x),o.set_y(t.y),t._weak&&t.put(),i&&this.simplifyPath(_),l&&this.raySimplifyPath(_);for(var h=[],u=_.length-1;u>=0;)null!=(o=_[u--])&&h.push(o);return h},computePathDistance:function(e,t,i,l){null==l&&(l=!0);var n=this.widthInTiles*this.heightInTiles,s=[];flixel_util_FlxArrayUtil.setLength_Int(s,n);for(var a=0;a<n;)0!=this._tileObjects[this._data[a]].allowCollisions?s[a]=-2:s[a]=-1,++a;s[e]=0;for(var r,_,o,h,u,d,c,p=1,f=[e],m=!1;f.length>0;){for(r=f,f=[],a=0,c=r.length;a<c;){if((_=r[a++])==(0|t)&&(m=!0,l)){f=[];break}o=_%this.widthInTiles>0,h=_%this.widthInTiles<this.widthInTiles-1,u=_/this.widthInTiles>0,d=_/this.widthInTiles<this.heightInTiles-1;var x;if(u&&-1==s[x=_-this.widthInTiles]&&(s[x]=p,f.push(x)),h&&-1==s[x=_+1]&&(s[x]=p,f.push(x)),d&&-1==s[x=_+this.widthInTiles]&&(s[x]=p,f.push(x)),o&&-1==s[x=_-1]&&(s[x]=p,f.push(x)),0!=i){var g=2==i;u&&h&&(x=_-this.widthInTiles+1,g&&-1==s[x]&&s[_-this.widthInTiles]>=-1&&s[_+1]>=-1?(s[x]=p,f.push(x)):g||-1!=s[x]||(s[x]=p,f.push(x))),h&&d&&(x=_+this.widthInTiles+1,g&&-1==s[x]&&s[_+this.widthInTiles]>=-1&&s[_+1]>=-1?(s[x]=p,f.push(x)):g||-1!=s[x]||(s[x]=p,f.push(x))),o&&d&&(x=_+this.widthInTiles-1,g&&-1==s[x]&&s[_+this.widthInTiles]>=-1&&s[_-1]>=-1?(s[x]=p,f.push(x)):g||-1!=s[x]||(s[x]=p,f.push(x))),u&&o&&(x=_-this.widthInTiles-1,g&&-1==s[x]&&s[_-this.widthInTiles]>=-1&&s[_-1]>=-1?(s[x]=p,f.push(x)):g||-1!=s[x]||(s[x]=p,f.push(x)))}}++p}return m||(s=null),s},walkPath:function(e,t,i){if(i.push(this.getTileCoordsByIndex(t)),0!=e[t]){var l,n=t%this.widthInTiles>0,s=t%this.widthInTiles<this.widthInTiles-1,a=t/this.widthInTiles>0,r=t/this.widthInTiles<this.heightInTiles-1,_=e[t];return a&&(l=t-this.widthInTiles)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):s&&(l=t+1)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):r&&(l=t+this.widthInTiles)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):n&&(l=t-1)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):a&&s&&(l=t-this.widthInTiles+1)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):s&&r&&(l=t+this.widthInTiles+1)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):n&&r&&(l=t+this.widthInTiles-1)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):a&&n&&(l=t-this.widthInTiles-1)>=0&&e[l]>=0&&e[l]<_?void this.walkPath(e,l,i):void 0}},simplifyPath:function(e){for(var t,i,l,n=e[0],s=1,a=e.length-1;s<a;)t=((l=e[s]).x-n.x)/(l.y-n.y),i=(l.x-e[s+1].x)/(l.y-e[s+1].y),n.x==e[s+1].x||n.y==e[s+1].y||t==i?e[s]=null:n=l,++s},raySimplifyPath:function(e){for(var t,i=e[0],l=-1,n=1,s=e.length;n<s;)null!=(t=e[n++])&&(this.ray(i,t,this._point)?l>=0&&(e[l]=null):i=e[l],l=n-1)},overlaps:function(e,t,i){null==t&&(t=!1);var l=flixel_group_FlxTypedGroup.resolveGroup(e);return null!=l?flixel_group_FlxTypedGroup.overlaps($bind(this,this.tilemapOverlapsCallback),l,0,0,t,i):!(1==e.flixelType||3==e.flixelType?!this.overlapsWithCallback(e):!this.overlaps(e,!1,null))},tilemapOverlapsCallback:function(e,t,i,l,n){return null==l&&(l=!1),null==i&&(i=0),null==t&&(t=0),1==e.flixelType||3==e.flixelType?this.overlapsWithCallback(e):this.overlaps(e,l,n)},overlapsAt:function(e,t,i,l,n){null==l&&(l=!1);var s=flixel_group_FlxTypedGroup.resolveGroup(i);return null!=s?flixel_group_FlxTypedGroup.overlaps($bind(this,this.tilemapOverlapsAtCallback),s,e,t,l,n):!(1==i.flixelType||3==i.flixelType?!this.overlapsWithCallback(i,null,!1,this._point.set(e,t)):!this.overlapsAt(e,t,i,l,n))},tilemapOverlapsAtCallback:function(e,t,i,l,n){return 1==e.flixelType||3==e.flixelType?this.overlapsWithCallback(e,null,!1,this._point.set(t,i)):this.overlapsAt(t,i,e,l,n)},overlapsPoint:function(e,t,i){return null==t&&(t=!1),t&&(null==i&&(i=flixel_FlxG.camera),e.subtractPoint(i.scroll),e._weak&&e.put()),this.tileAtPointAllowsCollisions(e)},tileAtPointAllowsCollisions:function(e){var t=this.getTileIndexByCoords(e);return!(t<0||t>=this._data.length)&&this._tileObjects[this._data[t]].allowCollisions>0},getBounds:function(e){if(null==e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0;null==(a=0)&&(a=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=a;var s=t;s._inPool=!1,e=s}var i=this.x,l=this.y,n=this.get_width(),a=this.get_height();return null==a&&(a=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),e.x=i,e.y=l,e.width=n,e.height=a,e},__class__:flixel_tile_FlxBaseTilemap});var flixel_tile_FlxTilemapAutoTiling=$hxEnums["flixel.tile.FlxTilemapAutoTiling"]={__ename__:"flixel.tile.FlxTilemapAutoTiling",__constructs__:["OFF","AUTO","ALT","FULL"],OFF:{_hx_index:0,__enum__:"flixel.tile.FlxTilemapAutoTiling",toString:$estr},AUTO:{_hx_index:1,__enum__:"flixel.tile.FlxTilemapAutoTiling",toString:$estr},ALT:{_hx_index:2,__enum__:"flixel.tile.FlxTilemapAutoTiling",toString:$estr},FULL:{_hx_index:3,__enum__:"flixel.tile.FlxTilemapAutoTiling",toString:$estr}},flixel_tile_FlxTileblock=function(e,t,i,l){flixel_FlxSprite.call(this,e,t),this.makeGraphic(i,l,0,!0),this.set_active(!1),this.set_immovable(!0),this.set_moves(!1)};$hxClasses["flixel.tile.FlxTileblock"]=flixel_tile_FlxTileblock,flixel_tile_FlxTileblock.__name__="flixel.tile.FlxTileblock",flixel_tile_FlxTileblock.__super__=flixel_FlxSprite,flixel_tile_FlxTileblock.prototype=$extend(flixel_FlxSprite.prototype,{tileSprite:null,destroy:function(){this.tileSprite=flixel_util_FlxDestroyUtil.destroy(this.tileSprite),flixel_FlxSprite.prototype.destroy.call(this)},loadFrames:function(e,t){if(null==t&&(t=0),null==e)return this;this.tileSprite=null==this.tileSprite?new flixel_FlxSprite:this.tileSprite,this.tileSprite.set_frames(e);var i=0|this.tileSprite.get_width(),l=0|this.tileSprite.get_height(),n=this.tileSprite.numFrames+t,s=!1;this.get_width()%this.tileSprite.get_width()!=0&&(this.set_width((this.get_width()/i+1|0)*i),s=!0),this.get_height()%this.tileSprite.get_height()!=0&&(this.set_height((this.get_height()/l+1|0)*l),s=!0),s?this.makeGraphic(0|this.get_width(),0|this.get_height(),0,!0):flixel_util_FlxSpriteUtil.fill(this,0);for(var a,r,_=0,o=0,h=this.get_width()/i|0,u=this.get_height()/l|0;_<u;){for(r=0,a=0;a<h;)flixel_FlxG.random.float()*n>t&&(this.tileSprite.animation.randomFrame(),this.tileSprite.drawFrame(),this.stamp(this.tileSprite,r,o)),r+=i,++a;o+=l,++_}return this.dirty=!0,this},loadTiles:function(e,t,i,l){if(null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e)return this;var n=flixel_FlxG.bitmap.add(e);if(null==n)return this;0==t&&(t=n.height)>n.width&&(t=n.width),0==i&&(i=t)>n.height&&(i=n.height);var s=t,a=i;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1;var _=flixel_graphics_frames_FlxTileFrames.fromGraphic(n,r);return this.loadFrames(_,l)},setTile:function(e,t,i){this.tileSprite.animation.set_frameIndex(i),this.stamp(this.tileSprite,e*(0|this.tileSprite.get_width()),t*(0|this.tileSprite.get_height())),this.dirty=!0},__class__:flixel_tile_FlxTileblock});var flixel_tweens_FlxEase=function(){};$hxClasses["flixel.tweens.FlxEase"]=flixel_tweens_FlxEase,flixel_tweens_FlxEase.__name__="flixel.tweens.FlxEase",flixel_tweens_FlxEase.linear=function(e){return e},flixel_tweens_FlxEase.quadIn=function(e){return e*e},flixel_tweens_FlxEase.quadOut=function(e){return-e*(e-2)},flixel_tweens_FlxEase.quadInOut=function(e){return e<=.5?e*e*2:1- --e*e*2},flixel_tweens_FlxEase.cubeIn=function(e){return e*e*e},flixel_tweens_FlxEase.cubeOut=function(e){return 1+--e*e*e},flixel_tweens_FlxEase.cubeInOut=function(e){return e<=.5?e*e*e*4:1+--e*e*e*4},flixel_tweens_FlxEase.quartIn=function(e){return e*e*e*e},flixel_tweens_FlxEase.quartOut=function(e){return 1- --e*e*e*e},flixel_tweens_FlxEase.quartInOut=function(e){return e<=.5?e*e*e*e*8:(1-(e=2*e-2)*e*e*e)/2+.5},flixel_tweens_FlxEase.quintIn=function(e){return e*e*e*e*e},flixel_tweens_FlxEase.quintOut=function(e){return--e*e*e*e*e+1},flixel_tweens_FlxEase.quintInOut=function(e){return(e*=2)<1?e*e*e*e*e/2:((e-=2)*e*e*e*e+2)/2},flixel_tweens_FlxEase.smoothStepIn=function(e){var t=e/2;return t*t*(-2*t+3)*2},flixel_tweens_FlxEase.smoothStepOut=function(e){var t=e/2+.5;return t*t*(-2*t+3)*2-1},flixel_tweens_FlxEase.smoothStepInOut=function(e){return e*e*(-2*e+3)},flixel_tweens_FlxEase.smootherStepIn=function(e){var t=e/2;return t*t*t*(t*(6*t-15)+10)*2},flixel_tweens_FlxEase.smootherStepOut=function(e){var t=e/2+.5;return t*t*t*(t*(6*t-15)+10)*2-1},flixel_tweens_FlxEase.smootherStepInOut=function(e){return e*e*e*(e*(6*e-15)+10)},flixel_tweens_FlxEase.sineIn=function(e){return 1-Math.cos(flixel_tweens_FlxEase.PI2*e)},flixel_tweens_FlxEase.sineOut=function(e){return Math.sin(flixel_tweens_FlxEase.PI2*e)},flixel_tweens_FlxEase.sineInOut=function(e){return-Math.cos(Math.PI*e)/2+.5},flixel_tweens_FlxEase.bounceIn=function(e){return e=1-e,e<flixel_tweens_FlxEase.B1?1-7.5625*e*e:e<flixel_tweens_FlxEase.B2?1-(7.5625*(e-flixel_tweens_FlxEase.B3)*(e-flixel_tweens_FlxEase.B3)+.75):e<flixel_tweens_FlxEase.B4?1-(7.5625*(e-flixel_tweens_FlxEase.B5)*(e-flixel_tweens_FlxEase.B5)+.9375):1-(7.5625*(e-flixel_tweens_FlxEase.B6)*(e-flixel_tweens_FlxEase.B6)+.984375)},flixel_tweens_FlxEase.bounceOut=function(e){return e<flixel_tweens_FlxEase.B1?7.5625*e*e:e<flixel_tweens_FlxEase.B2?7.5625*(e-flixel_tweens_FlxEase.B3)*(e-flixel_tweens_FlxEase.B3)+.75:e<flixel_tweens_FlxEase.B4?7.5625*(e-flixel_tweens_FlxEase.B5)*(e-flixel_tweens_FlxEase.B5)+.9375:7.5625*(e-flixel_tweens_FlxEase.B6)*(e-flixel_tweens_FlxEase.B6)+.984375},flixel_tweens_FlxEase.bounceInOut=function(e){return e<.5?(e=1-2*e,e<flixel_tweens_FlxEase.B1?(1-7.5625*e*e)/2:e<flixel_tweens_FlxEase.B2?(1-(7.5625*(e-flixel_tweens_FlxEase.B3)*(e-flixel_tweens_FlxEase.B3)+.75))/2:e<flixel_tweens_FlxEase.B4?(1-(7.5625*(e-flixel_tweens_FlxEase.B5)*(e-flixel_tweens_FlxEase.B5)+.9375))/2:(1-(7.5625*(e-flixel_tweens_FlxEase.B6)*(e-flixel_tweens_FlxEase.B6)+.984375))/2):(e=2*e-1,e<flixel_tweens_FlxEase.B1?7.5625*e*e/2+.5:e<flixel_tweens_FlxEase.B2?(7.5625*(e-flixel_tweens_FlxEase.B3)*(e-flixel_tweens_FlxEase.B3)+.75)/2+.5:e<flixel_tweens_FlxEase.B4?(7.5625*(e-flixel_tweens_FlxEase.B5)*(e-flixel_tweens_FlxEase.B5)+.9375)/2+.5:(7.5625*(e-flixel_tweens_FlxEase.B6)*(e-flixel_tweens_FlxEase.B6)+.984375)/2+.5)},flixel_tweens_FlxEase.circIn=function(e){return-(Math.sqrt(1-e*e)-1)},flixel_tweens_FlxEase.circOut=function(e){return Math.sqrt(1-(e-1)*(e-1))},flixel_tweens_FlxEase.circInOut=function(e){return e<=.5?(Math.sqrt(1-e*e*4)-1)/-2:(Math.sqrt(1-(2*e-2)*(2*e-2))+1)/2},flixel_tweens_FlxEase.expoIn=function(e){return Math.pow(2,10*(e-1))},flixel_tweens_FlxEase.expoOut=function(e){return 1-Math.pow(2,-10*e)},flixel_tweens_FlxEase.expoInOut=function(e){return e<.5?Math.pow(2,10*(2*e-1))/2:(2-Math.pow(2,-10*(2*e-1)))/2},flixel_tweens_FlxEase.backIn=function(e){return e*e*(2.70158*e-1.70158)},flixel_tweens_FlxEase.backOut=function(e){return 1- --e*e*(-2.70158*e-1.70158)},flixel_tweens_FlxEase.backInOut=function(e){return(e*=2)<1?e*e*(2.70158*e-1.70158)/2:(--e,(1- --e*e*(-2.70158*e-1.70158))/2+.5)},flixel_tweens_FlxEase.elasticIn=function(e){return-flixel_tweens_FlxEase.ELASTIC_AMPLITUDE*Math.pow(2,10*--e)*Math.sin((e-flixel_tweens_FlxEase.ELASTIC_PERIOD/(2*Math.PI)*Math.asin(1/flixel_tweens_FlxEase.ELASTIC_AMPLITUDE))*(2*Math.PI)/flixel_tweens_FlxEase.ELASTIC_PERIOD)},flixel_tweens_FlxEase.elasticOut=function(e){return flixel_tweens_FlxEase.ELASTIC_AMPLITUDE*Math.pow(2,-10*e)*Math.sin((e-flixel_tweens_FlxEase.ELASTIC_PERIOD/(2*Math.PI)*Math.asin(1/flixel_tweens_FlxEase.ELASTIC_AMPLITUDE))*(2*Math.PI)/flixel_tweens_FlxEase.ELASTIC_PERIOD)+1},flixel_tweens_FlxEase.elasticInOut=function(e){return e<.5?Math.pow(2,10*(e-=.5))*Math.sin((e-flixel_tweens_FlxEase.ELASTIC_PERIOD/4)*(2*Math.PI)/flixel_tweens_FlxEase.ELASTIC_PERIOD)*-.5:Math.pow(2,-10*(e-=.5))*Math.sin((e-flixel_tweens_FlxEase.ELASTIC_PERIOD/4)*(2*Math.PI)/flixel_tweens_FlxEase.ELASTIC_PERIOD)*.5+1};var flixel_tweens_FlxTween=function(e,t){this._waitingForRestart=!1,this._running=!1,this._delayToUse=0,this._secondsSinceStart=0,this.loopDelay=0,this.startDelay=0,this.executions=0,this.scale=0,this.duration=0,this.active=!1,e=this.resolveTweenOptions(e),this.set_type(e.type),this.onStart=e.onStart,this.onUpdate=e.onUpdate,this.onComplete=e.onComplete,this.ease=e.ease,this.setDelays(e.startDelay,e.loopDelay),this.manager=null!=t?t:flixel_tweens_FlxTween.globalManager};$hxClasses["flixel.tweens.FlxTween"]=flixel_tweens_FlxTween,flixel_tweens_FlxTween.__name__="flixel.tweens.FlxTween",flixel_tweens_FlxTween.__interfaces__=[flixel_util_IFlxDestroyable],flixel_tweens_FlxTween.globalManager=null,flixel_tweens_FlxTween.tween=function(e,t,i,l){return null==i&&(i=1),flixel_tweens_FlxTween.globalManager.tween(e,t,i,l)},flixel_tweens_FlxTween.num=function(e,t,i,l,n){return null==i&&(i=1),flixel_tweens_FlxTween.globalManager.num(e,t,i,l,n)},flixel_tweens_FlxTween.angle=function(e,t,i,l,n){return null==l&&(l=1),flixel_tweens_FlxTween.globalManager.angle(e,t,i,l,n)},flixel_tweens_FlxTween.color=function(e,t,i,l,n){return null==t&&(t=1),flixel_tweens_FlxTween.globalManager.color(e,t,i,l,n)},flixel_tweens_FlxTween.linearMotion=function(e,t,i,l,n,s,a,r){return null==a&&(a=!0),null==s&&(s=1),flixel_tweens_FlxTween.globalManager.linearMotion(e,t,i,l,n,s,a,r)},flixel_tweens_FlxTween.quadMotion=function(e,t,i,l,n,s,a,r,_,o){return null==_&&(_=!0),null==r&&(r=1),flixel_tweens_FlxTween.globalManager.quadMotion(e,t,i,l,n,s,a,r,_,o)},flixel_tweens_FlxTween.cubicMotion=function(e,t,i,l,n,s,a,r,_,o,h){return null==o&&(o=1),flixel_tweens_FlxTween.globalManager.cubicMotion(e,t,i,l,n,s,a,r,_,o,h)},flixel_tweens_FlxTween.circularMotion=function(e,t,i,l,n,s,a,r,_){return null==r&&(r=!0),null==a&&(a=1),flixel_tweens_FlxTween.globalManager.circularMotion(e,t,i,l,n,s,a,r,_)},flixel_tweens_FlxTween.linearPath=function(e,t,i,l,n){return null==l&&(l=!0),null==i&&(i=1),flixel_tweens_FlxTween.globalManager.linearPath(e,t,i,l,n)},flixel_tweens_FlxTween.quadPath=function(e,t,i,l,n){return null==l&&(l=!0),null==i&&(i=1),flixel_tweens_FlxTween.globalManager.quadPath(e,t,i,l,n)},flixel_tweens_FlxTween.prototype={manager:null,active:null,duration:null,ease:null,onStart:null,onUpdate:null,onComplete:null,type:null,finished:null,scale:null,backward:null,executions:null,startDelay:null,loopDelay:null,_secondsSinceStart:null,_delayToUse:null,_running:null,_waitingForRestart:null,_chainedTweens:null,_nextTweenInChain:null,resolveTweenOptions:function(e){return null==e&&(e={type:8}),null==e.type&&(e.type=8),e},destroy:function(){this.onStart=null,this.onUpdate=null,this.onComplete=null,this.ease=null,this.manager=null,this._chainedTweens=null,this._nextTweenInChain=null},then:function(e){return this.addChainedTween(e)},wait:function(e){return this.addChainedTween(flixel_tweens_FlxTween.num(0,0,e))},addChainedTween:function(e){return e.setVarsOnEnd(),e.manager.remove(e,!1),null==this._chainedTweens&&(this._chainedTweens=[]),this._chainedTweens.push(e),this},update:function(e){this._secondsSinceStart+=e;var t=this.executions>0?this.loopDelay:this.startDelay;this._secondsSinceStart<t||(this.scale=Math.max(this._secondsSinceStart-t,0)/this.duration,null!=this.ease&&(this.scale=this.ease(this.scale)),this.backward&&(this.scale=1-this.scale),this._secondsSinceStart>t&&!this._running&&(this._running=!0,null!=this.onStart&&this.onStart(this)),this._secondsSinceStart>=this.duration+t?(this.scale=this.backward?0:1,this.finished=!0):null!=this.onUpdate&&this.onUpdate(this))},start:function(){return this._waitingForRestart=!1,this._secondsSinceStart=0,this._delayToUse=this.executions>0?this.loopDelay:this.startDelay,0==this.duration?(this.set_active(!1),this):(this.set_active(!0),this._running=!1,this.finished=!1,this)},cancel:function(){this.onEnd(),null!=this.manager&&this.manager.remove(this)},cancelChain:function(){null!=this._nextTweenInChain&&this._nextTweenInChain.cancelChain(),null!=this._chainedTweens&&(this._chainedTweens=null),this.cancel()},finish:function(){this.executions++,null!=this.onComplete&&this.onComplete(this);var e=-17&this.type;1!=e&&8!=e||(this.onEnd(),this._secondsSinceStart=this.duration+this.startDelay,8==e&&null!=this.manager&&this.manager.remove(this)),2!=e&&4!=e||(this._secondsSinceStart=(this._secondsSinceStart-this._delayToUse)%this.duration+this._delayToUse,this.scale=Math.max(this._secondsSinceStart-this._delayToUse,0)/this.duration,null!=this.ease&&this.scale>0&&this.scale<1&&(this.scale=this.ease(this.scale)),4==e&&(this.backward=!this.backward,this.backward&&(this.scale=1-this.scale)),this.restart())},onEnd:function(){this.setVarsOnEnd(),this.processTweenChain()},setVarsOnEnd:function(){this.set_active(!1),this._running=!1,this.finished=!0},processTweenChain:function(){null==this._chainedTweens||this._chainedTweens.length<=0||(this._nextTweenInChain=this._chainedTweens.shift(),this.doNextTween(this._nextTweenInChain),this._chainedTweens=null)},doNextTween:function(e){e.active||(e.start(),this.manager.add_flixel_tweens_FlxTween(e)),e.setChain(this._chainedTweens)},setChain:function(e){null!=e&&(null==this._chainedTweens?this._chainedTweens=e:this._chainedTweens=this._chainedTweens.concat(e))},restart:function(){this.active?this.start():this._waitingForRestart=!0},setDelays:function(e,t){return this.set_startDelay(null!=e?e:0),this.set_loopDelay(null!=t?t:0),this},set_startDelay:function(e){var t=Math.abs(e);return 0==this.executions&&(this._secondsSinceStart=this.duration*(Math.max(this._secondsSinceStart-this._delayToUse,0)/this.duration)+Math.max(t-this.startDelay,0),this._delayToUse=t),this.startDelay=t},set_loopDelay:function(e){var t=Math.abs(e);return this.executions>0&&(this._secondsSinceStart=this.duration*(Math.max(this._secondsSinceStart-this._delayToUse,0)/this.duration)+Math.max(t-this.loopDelay,0),this._delayToUse=t),this.loopDelay=t},get_percent:function(){return Math.max(this._secondsSinceStart-this._delayToUse,0)/this.duration},set_percent:function(e){return this._secondsSinceStart=this.duration*e+this._delayToUse},set_type:function(e){return 0==e?e=8:16==e&&(e=17),this.backward=(16&e)>0,this.type=e},set_active:function(e){return this.active=e,this._waitingForRestart&&this.restart(),e},__class__:flixel_tweens_FlxTween,__properties__:{set_loopDelay:"set_loopDelay",set_startDelay:"set_startDelay",set_percent:"set_percent",get_percent:"get_percent",set_type:"set_type",set_active:"set_active"}};var flixel_tweens_FlxTweenManager=function(){this._tweens=[],flixel_FlxBasic.call(this),this.set_visible(!1),flixel_FlxG.signals.preStateSwitch.add($bind(this,this.clear))};$hxClasses["flixel.tweens.FlxTweenManager"]=flixel_tweens_FlxTweenManager,flixel_tweens_FlxTweenManager.__name__="flixel.tweens.FlxTweenManager",flixel_tweens_FlxTweenManager.__super__=flixel_FlxBasic,flixel_tweens_FlxTweenManager.prototype=$extend(flixel_FlxBasic.prototype,{add_flixel_tweens_motion_QuadPath:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_motion_LinearPath:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_motion_CircularMotion:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_motion_CubicMotion:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_motion_QuadMotion:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_motion_LinearMotion:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_misc_ColorTween:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_misc_AngleTween:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_misc_NumTween:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_FlxTween:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},add_flixel_tweens_misc_VarTween:function(e,t){return null==t&&(t=!1),null==e?null:(this._tweens.push(e),t&&e.start(),e)},_tweens:null,tween:function(e,t,i,l){null==i&&(i=1);var n=new flixel_tweens_misc_VarTween(l,this);return n.tween(e,t,i),this.add_flixel_tweens_misc_VarTween(n)},num:function(e,t,i,l,n){null==i&&(i=1);var s=new flixel_tweens_misc_NumTween(l,this);return s.tween(e,t,i,n),this.add_flixel_tweens_misc_NumTween(s)},angle:function(e,t,i,l,n){null==l&&(l=1);var s=new flixel_tweens_misc_AngleTween(n,this);return s.tween(t,i,l,e),this.add_flixel_tweens_misc_AngleTween(s)},color:function(e,t,i,l,n){null==t&&(t=1);var s=new flixel_tweens_misc_ColorTween(n,this);return s.tween(t,i,l,e),this.add_flixel_tweens_misc_ColorTween(s)},linearMotion:function(e,t,i,l,n,s,a,r){null==a&&(a=!0),null==s&&(s=1);var _=new flixel_tweens_motion_LinearMotion(r,this);return _.setObject(e),_.setMotion(t,i,l,n,s,a),this.add_flixel_tweens_motion_LinearMotion(_)},quadMotion:function(e,t,i,l,n,s,a,r,_,o){null==_&&(_=!0),null==r&&(r=1);var h=new flixel_tweens_motion_QuadMotion(o,this);return h.setObject(e),h.setMotion(t,i,l,n,s,a,r,_),this.add_flixel_tweens_motion_QuadMotion(h)},cubicMotion:function(e,t,i,l,n,s,a,r,_,o,h){null==o&&(o=1);var u=new flixel_tweens_motion_CubicMotion(h,this);return u.setObject(e),u.setMotion(t,i,l,n,s,a,r,_,o),this.add_flixel_tweens_motion_CubicMotion(u)},circularMotion:function(e,t,i,l,n,s,a,r,_){null==r&&(r=!0),null==a&&(a=1);var o=new flixel_tweens_motion_CircularMotion(_,this);return o.setObject(e),o.setMotion(t,i,l,n,s,a,r),this.add_flixel_tweens_motion_CircularMotion(o)},linearPath:function(e,t,i,l,n){null==l&&(l=!0),null==i&&(i=1);var s=new flixel_tweens_motion_LinearPath(n,this);if(null!=t)for(var a=0;a<t.length;){var r=t[a];++a,s.addPoint(r.x,r.y)}return s.setObject(e),s.setMotion(i,l),this.add_flixel_tweens_motion_LinearPath(s)},quadPath:function(e,t,i,l,n){null==l&&(l=!0),null==i&&(i=1);var s=new flixel_tweens_motion_QuadPath(n,this);if(null!=t)for(var a=0;a<t.length;){var r=t[a];++a,s.addPoint(r.x,r.y)}return s.setObject(e),s.setMotion(i,l),this.add_flixel_tweens_motion_QuadPath(s)},destroy:function(){flixel_FlxBasic.prototype.destroy.call(this),flixel_FlxG.signals.preStateSwitch.remove($bind(this,this.clear))},update:function(e){for(var t=null,i=0,l=this._tweens;i<l.length;){var n=l[i];++i,n.active&&(n.update(e),n.finished&&(null==t&&(t=[]),t.push(n)))}if(null!=t)for(;t.length>0;)t.shift().finish()},remove:function(e,t){if(null==t&&(t=!0),null==e)return null;e.set_active(!1),t&&e.destroy();var i=this._tweens,l=i.indexOf(e);return-1!=l&&(i[l]=i[i.length-1],i.pop()),e},clear:function(){for(var e=0,t=this._tweens;e<t.length;){var i=t[e];++e,null!=i&&(i.set_active(!1),i.destroy())}this._tweens.splice(0,this._tweens.length)},completeAll:function(){for(var e=0,t=this._tweens;e<t.length;){var i=t[e];++e,0==(2&i.type)&&0==(4&i.type)&&i.active&&i.update(1.79e308)}},forEach:function(e){for(var t=0,i=this._tweens;t<i.length;){var l=i[t];++t,e(l)}},__class__:flixel_tweens_FlxTweenManager});var flixel_tweens_misc_AngleTween=function(e,t){flixel_tweens_FlxTween.call(this,e,t)};$hxClasses["flixel.tweens.misc.AngleTween"]=flixel_tweens_misc_AngleTween,flixel_tweens_misc_AngleTween.__name__="flixel.tweens.misc.AngleTween",flixel_tweens_misc_AngleTween.__super__=flixel_tweens_FlxTween,flixel_tweens_misc_AngleTween.prototype=$extend(flixel_tweens_FlxTween.prototype,{angle:null,sprite:null,_start:null,_range:null,destroy:function(){flixel_tweens_FlxTween.prototype.destroy.call(this),this.sprite=null},tween:function(e,t,i,l){return this._start=this.angle=e,this._range=t-this.angle,this.duration=i,this.sprite=l,null!=this.sprite&&this.sprite.set_angle(this.angle%360),this.start(),this},update:function(e){if(flixel_tweens_FlxTween.prototype.update.call(this,e),this.angle=this._start+this._range*this.scale,null!=this.sprite){var t=this.angle%360;this.sprite.set_angle(t)}},__class__:flixel_tweens_misc_AngleTween});var flixel_tweens_misc_ColorTween=function(e,t){flixel_tweens_FlxTween.call(this,e,t)};$hxClasses["flixel.tweens.misc.ColorTween"]=flixel_tweens_misc_ColorTween,flixel_tweens_misc_ColorTween.__name__="flixel.tweens.misc.ColorTween",flixel_tweens_misc_ColorTween.__super__=flixel_tweens_FlxTween,flixel_tweens_misc_ColorTween.prototype=$extend(flixel_tweens_FlxTween.prototype,{color:null,startColor:null,endColor:null,sprite:null,destroy:function(){flixel_tweens_FlxTween.prototype.destroy.call(this),this.sprite=null},tween:function(e,t,i,l){return this.color=this.startColor=t,this.endColor=i,this.duration=e,this.sprite=l,this.start(),this},update:function(e){flixel_tweens_FlxTween.prototype.update.call(this,e);var t=this.startColor,i=this.endColor,l=this.scale;null==l&&(l=.5);var n=((i>>16&255)-(t>>16&255))*l+(t>>16&255)|0,s=((i>>8&255)-(t>>8&255))*l+(t>>8&255)|0,a=((255&i)-(255&t))*l+(255&t)|0,r=((i>>24&255)-(t>>24&255))*l+(t>>24&255)|0;null==r&&(r=255);var _=flixel_util_FlxColor._new(),o=r;null==o&&(o=255),_&=-16711681,_|=(n>255?255:n<0?0:n)<<16,_&=-65281,_|=(s>255?255:s<0?0:s)<<8,_&=-256,_|=a>255?255:a<0?0:a,_&=16777215,_|=(o>255?255:o<0?0:o)<<24,this.color=_,null!=this.sprite&&(this.sprite.set_color(this.color),this.sprite.set_alpha((this.color>>24&255)/255))},__class__:flixel_tweens_misc_ColorTween});var flixel_tweens_misc_NumTween=function(e,t){flixel_tweens_FlxTween.call(this,e,t)};$hxClasses["flixel.tweens.misc.NumTween"]=flixel_tweens_misc_NumTween,flixel_tweens_misc_NumTween.__name__="flixel.tweens.misc.NumTween",flixel_tweens_misc_NumTween.__super__=flixel_tweens_FlxTween,flixel_tweens_misc_NumTween.prototype=$extend(flixel_tweens_FlxTween.prototype,{value:null,_tweenFunction:null,_start:null,_range:null,destroy:function(){flixel_tweens_FlxTween.prototype.destroy.call(this),this._tweenFunction=null},tween:function(e,t,i,l){return this._tweenFunction=l,this._start=this.value=e,this._range=t-this.value,this.duration=i,this.start(),this},update:function(e){flixel_tweens_FlxTween.prototype.update.call(this,e),this.value=this._start+this._range*this.scale,null!=this._tweenFunction&&this._tweenFunction(this.value)},__class__:flixel_tweens_misc_NumTween});var flixel_tweens_misc_VarTween=function(e,t){flixel_tweens_FlxTween.call(this,e,t)};$hxClasses["flixel.tweens.misc.VarTween"]=flixel_tweens_misc_VarTween,flixel_tweens_misc_VarTween.__name__="flixel.tweens.misc.VarTween",flixel_tweens_misc_VarTween.__super__=flixel_tweens_FlxTween,flixel_tweens_misc_VarTween.prototype=$extend(flixel_tweens_FlxTween.prototype,{_object:null,_properties:null,_propertyInfos:null,tween:function(e,t,i){return this._object=e,this._properties=t,this._propertyInfos=[],this.duration=i,this.start(),this},update:function(e){var t=this.executions>0?this.loopDelay:this.startDelay;if(this._secondsSinceStart<t)flixel_tweens_FlxTween.prototype.update.call(this,e);else{0==this._propertyInfos.length&&this.initializeVars(),flixel_tweens_FlxTween.prototype.update.call(this,e);for(var i=0,l=this._propertyInfos;i<l.length;){var n=l[i];++i,Reflect.setProperty(n.object,n.field,n.startValue+n.range*this.scale)}}},initializeVars:function(){var e;if(!Reflect.isObject(this._properties))throw haxe_Exception.thrown("Unsupported properties container - use an object containing key/value pairs.");e=Reflect.fields(this._properties);for(var t=0;t<e.length;){var i=e[t];++t;for(var l=this._object,n=i.split("."),s=n.pop(),a=0;a<n.length;){var r=n[a];if(++a,l=Reflect.getProperty(l,r),!Reflect.isObject(l))throw haxe_Exception.thrown('The object does not have the property "'+r+'" in "'+i+'"')}if(null==Reflect.getProperty(l,s))throw haxe_Exception.thrown('The object does not have the property "'+s+'"');var _=Reflect.getProperty(l,s);if(isNaN(_))throw haxe_Exception.thrown('The property "'+s+'" is not numeric.');var o=Reflect.getProperty(this._properties,i);this._propertyInfos.push({object:l,field:s,startValue:_,range:o-_})}},destroy:function(){flixel_tweens_FlxTween.prototype.destroy.call(this),this._object=null,this._properties=null,this._propertyInfos=null},__class__:flixel_tweens_misc_VarTween});var flixel_tweens_motion_Motion=function(e,t){this.y=0,this.x=0,flixel_tweens_FlxTween.call(this,e,t)};$hxClasses["flixel.tweens.motion.Motion"]=flixel_tweens_motion_Motion,flixel_tweens_motion_Motion.__name__="flixel.tweens.motion.Motion",flixel_tweens_motion_Motion.__super__=flixel_tweens_FlxTween,flixel_tweens_motion_Motion.prototype=$extend(flixel_tweens_FlxTween.prototype,{x:null,y:null,_object:null,_wasObjectImmovable:null,destroy:function(){flixel_tweens_FlxTween.prototype.destroy.call(this),this._object=null},setObject:function(e){return this._object=e,this._wasObjectImmovable=this._object.immovable,this._object.set_immovable(!0),this},update:function(e){flixel_tweens_FlxTween.prototype.update.call(this,e),this.postUpdate()},onEnd:function(){this._object.set_immovable(this._wasObjectImmovable),flixel_tweens_FlxTween.prototype.onEnd.call(this)},postUpdate:function(){null!=this._object&&this._object.setPosition(this.x,this.y)},__class__:flixel_tweens_motion_Motion});var flixel_tweens_motion_CircularMotion=function(e,t){this._angleFinish=0,this._angleStart=0,this._radius=0,this._centerY=0,this._centerX=0,this.angle=0,flixel_tweens_motion_Motion.call(this,e,t)};$hxClasses["flixel.tweens.motion.CircularMotion"]=flixel_tweens_motion_CircularMotion,flixel_tweens_motion_CircularMotion.__name__="flixel.tweens.motion.CircularMotion",flixel_tweens_motion_CircularMotion.__super__=flixel_tweens_motion_Motion,flixel_tweens_motion_CircularMotion.prototype=$extend(flixel_tweens_motion_Motion.prototype,{angle:null,_centerX:null,_centerY:null,_radius:null,_angleStart:null,_angleFinish:null,setMotion:function(e,t,i,l,n,s,a){return null==a&&(a=!0),this._centerX=e,this._centerY=t,this._radius=i,this.angle=this._angleStart=l*Math.PI/-180,this._angleFinish=2*Math.PI*(n?1:-1),this.duration=a?s:this._radius*(2*Math.PI)/s,this.start(),this},update:function(e){flixel_tweens_motion_Motion.prototype.update.call(this,e),this.angle=this._angleStart+this._angleFinish*this.scale,this.x=this._centerX+Math.cos(this.angle)*this._radius,this.y=this._centerY+Math.sin(this.angle)*this._radius,this.finished&&this.postUpdate()},get_circumference:function(){return this._radius*(2*Math.PI)},__class__:flixel_tweens_motion_CircularMotion,__properties__:$extend(flixel_tweens_motion_Motion.prototype.__properties__,{get_circumference:"get_circumference"})});var flixel_tweens_motion_CubicMotion=function(e,t){this._tt=0,this._ttt=0,this._bY=0,this._bX=0,this._aY=0,this._aX=0,this._toY=0,this._toX=0,this._fromY=0,this._fromX=0,flixel_tweens_motion_Motion.call(this,e,t)};$hxClasses["flixel.tweens.motion.CubicMotion"]=flixel_tweens_motion_CubicMotion,flixel_tweens_motion_CubicMotion.__name__="flixel.tweens.motion.CubicMotion",flixel_tweens_motion_CubicMotion.__super__=flixel_tweens_motion_Motion,flixel_tweens_motion_CubicMotion.prototype=$extend(flixel_tweens_motion_Motion.prototype,{_fromX:null,_fromY:null,_toX:null,_toY:null,_aX:null,_aY:null,_bX:null,_bY:null,_ttt:null,_tt:null,setMotion:function(e,t,i,l,n,s,a,r,_){return this.x=this._fromX=e,this.y=this._fromY=t,this._aX=i,this._aY=l,this._bX=n,this._bY=s,this._toX=a,this._toY=r,this.duration=_,this.start(),this},update:function(e){flixel_tweens_motion_Motion.prototype.update.call(this,e),this.x=this.scale*this.scale*this.scale*(this._toX+3*(this._aX-this._bX)-this._fromX)+3*this.scale*this.scale*(this._fromX-2*this._aX+this._bX)+3*this.scale*(this._aX-this._fromX)+this._fromX,this.y=this.scale*this.scale*this.scale*(this._toY+3*(this._aY-this._bY)-this._fromY)+3*this.scale*this.scale*(this._fromY-2*this._aY+this._bY)+3*this.scale*(this._aY-this._fromY)+this._fromY,this.finished&&this.postUpdate()},__class__:flixel_tweens_motion_CubicMotion});var flixel_tweens_motion_LinearMotion=function(e,t){this._distance=-1,this._moveY=0,this._moveX=0,this._fromY=0,this._fromX=0,flixel_tweens_motion_Motion.call(this,e,t)};$hxClasses["flixel.tweens.motion.LinearMotion"]=flixel_tweens_motion_LinearMotion,flixel_tweens_motion_LinearMotion.__name__="flixel.tweens.motion.LinearMotion",flixel_tweens_motion_LinearMotion.__super__=flixel_tweens_motion_Motion,flixel_tweens_motion_LinearMotion.prototype=$extend(flixel_tweens_motion_Motion.prototype,{_fromX:null,_fromY:null,_moveX:null,_moveY:null,_distance:null,setMotion:function(e,t,i,l,n,s){return null==s&&(s=!0),this._distance=-1,this.x=this._fromX=e,this.y=this._fromY=t,this._moveX=i-e,this._moveY=l-t,this.duration=s?n:this.get_distance()/n,this.start(),this},update:function(e){flixel_tweens_motion_Motion.prototype.update.call(this,e),this.x=this._fromX+this._moveX*this.scale,this.y=this._fromY+this._moveY*this.scale,this.x==this._fromX+this._moveX&&this.y==this._fromY+this._moveY&&this.active&&this._secondsSinceStart>=this.duration&&(this.finished=!0),this.finished&&this.postUpdate()},get_distance:function(){return this._distance>=0?this._distance:this._distance=Math.sqrt(this._moveX*this._moveX+this._moveY*this._moveY)},__class__:flixel_tweens_motion_LinearMotion,__properties__:$extend(flixel_tweens_motion_Motion.prototype.__properties__,{get_distance:"get_distance"})});var flixel_tweens_motion_LinearPath=function(e,t){this._index=0,this._speed=0,this.distance=0,flixel_tweens_motion_Motion.call(this,e,t),this.points=[],this._pointD=[0],this._pointT=[0]};$hxClasses["flixel.tweens.motion.LinearPath"]=flixel_tweens_motion_LinearPath,flixel_tweens_motion_LinearPath.__name__="flixel.tweens.motion.LinearPath",flixel_tweens_motion_LinearPath.__super__=flixel_tweens_motion_Motion,flixel_tweens_motion_LinearPath.prototype=$extend(flixel_tweens_motion_Motion.prototype,{distance:null,points:null,_pointD:null,_pointT:null,_speed:null,_index:null,_last:null,_prevPoint:null,_nextPoint:null,destroy:function(){flixel_tweens_motion_Motion.prototype.destroy.call(this);for(var e=0,t=this.points;e<t.length;){var i=t[e];++e,i=flixel_util_FlxDestroyUtil.put(i)}this._last=flixel_util_FlxDestroyUtil.put(this._last),this._prevPoint=flixel_util_FlxDestroyUtil.put(this._prevPoint),this._nextPoint=flixel_util_FlxDestroyUtil.put(this._nextPoint)},setMotion:function(e,t){return null==t&&(t=!0),this.updatePath(),t?(this.duration=e,this._speed=this.distance/e):(this.duration=this.distance/e,this._speed=e),this.start(),this},addPoint:function(e,t){null==t&&(t=0),null==e&&(e=0),null!=this._last&&(this.distance+=Math.sqrt((e-this._last.x)*(e-this._last.x)+(t-this._last.y)*(t-this._last.y)),this._pointD[this.points.length]=this.distance);var i=this.points,l=this.points.length,n=e,s=t;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);return a._inPool=!1,i[l]=this._last=a,this},getPoint:function(e){if(null==e&&(e=0),0==this.points.length)throw haxe_Exception.thrown("No points have been added to the path yet.");return this.points[e%this.points.length]},start:function(){return this._index=this.backward?this.points.length-1:0,flixel_tweens_motion_Motion.prototype.start.call(this),this},update:function(e){flixel_tweens_motion_Motion.prototype.update.call(this,e);var t,i;if(null!=this.points){if(this.backward){if(this._index>0)for(;this.scale<this._pointT[this._index-1];)if(this._index-=1,0==this._index){this._index+=1;break}t=this._pointT[this._index],i=this._pointT[this._index-1]-t,t=(this.scale-t)/i,this._prevPoint=this.points[this._index],this._nextPoint=this.points[this._index-1],this.x=this._prevPoint.x+(this._nextPoint.x-this._prevPoint.x)*t,this.y=this._prevPoint.y+(this._nextPoint.y-this._prevPoint.y)*t}else{if(this._index<this.points.length-1)for(;this.scale>this._pointT[this._index+1];)if(++this._index==this.points.length-1){this._index-=1;break}t=this._pointT[this._index],i=this._pointT[this._index+1]-t,t=(this.scale-t)/i,this._prevPoint=this.points[this._index],this._nextPoint=this.points[this._index+1],this.x=this._prevPoint.x+(this._nextPoint.x-this._prevPoint.x)*t,this.y=this._prevPoint.y+(this._nextPoint.y-this._prevPoint.y)*t}flixel_tweens_motion_Motion.prototype.postUpdate.call(this)}},updatePath:function(){if(this.points.length<2)throw haxe_Exception.thrown("A LinearPath must have at least 2 points to operate.");if(this._pointD.length!=this._pointT.length)for(var e=0;e<this.points.length;)this._pointT[e]=this._pointD[e++]/this.distance},__class__:flixel_tweens_motion_LinearPath});var flixel_tweens_motion_QuadMotion=function(e,t){this._controlY=0,this._controlX=0,this._toY=0,this._toX=0,this._fromY=0,this._fromX=0,this._distance=-1,flixel_tweens_motion_Motion.call(this,e,t)};$hxClasses["flixel.tweens.motion.QuadMotion"]=flixel_tweens_motion_QuadMotion,flixel_tweens_motion_QuadMotion.__name__="flixel.tweens.motion.QuadMotion",flixel_tweens_motion_QuadMotion.__super__=flixel_tweens_motion_Motion,flixel_tweens_motion_QuadMotion.prototype=$extend(flixel_tweens_motion_Motion.prototype,{_distance:null,_fromX:null,_fromY:null,_toX:null,_toY:null,_controlX:null,_controlY:null,setMotion:function(e,t,i,l,n,s,a,r){return null==r&&(r=!0),this._distance=-1,this.x=this._fromX=e,this.y=this._fromY=t,this._controlX=i,this._controlY=l,this._toX=n,this._toY=s,this.duration=r?a:this.get_distance()/a,this.start(),this},update:function(e){flixel_tweens_motion_Motion.prototype.update.call(this,e),this.x=this._fromX*(1-this.scale)*(1-this.scale)+2*this._controlX*(1-this.scale)*this.scale+this._toX*this.scale*this.scale,this.y=this._fromY*(1-this.scale)*(1-this.scale)+2*this._controlY*(1-this.scale)*this.scale+this._toY*this.scale*this.scale,this.finished&&this.postUpdate()},get_distance:function(){if(this._distance>=0)return this._distance;var e=flixel_math_FlxPoint._pool.get().set(0,0);e._inPool=!1;var t=e;(e=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var i=e;t.set_x(this.x-2*this._controlX+this._toX),t.set_y(this.y-2*this._controlY+this._toY),i.set_x(2*this._controlX-2*this.x),i.set_y(2*this._controlY-2*this.y);var l=4*(t.x*t.x+t.y*t.y),n=4*(t.x*i.x+t.y*i.y),s=i.x*i.x+i.y*i.y,a=2*Math.sqrt(l+n+s),r=Math.sqrt(l),_=2*l*r,o=2*Math.sqrt(s),h=n/r;return t.put(),i.put(),(_*a+r*n*(a-o)+(4*s*l-n*n)*Math.log((2*r+h+a)/(h+o)))/(4*_)},__class__:flixel_tweens_motion_QuadMotion,__properties__:$extend(flixel_tweens_motion_Motion.prototype.__properties__,{get_distance:"get_distance"})});var flixel_tweens_motion_QuadPath=function(e,t){this._updateCurve=!0,this._numSegs=0,this._index=0,this._speed=0,this._distance=0,flixel_tweens_motion_Motion.call(this,e,t),this._points=[],this._curveT=[],this._curveD=[]};$hxClasses["flixel.tweens.motion.QuadPath"]=flixel_tweens_motion_QuadPath,flixel_tweens_motion_QuadPath.__name__="flixel.tweens.motion.QuadPath",flixel_tweens_motion_QuadPath.__super__=flixel_tweens_motion_Motion,flixel_tweens_motion_QuadPath.prototype=$extend(flixel_tweens_motion_Motion.prototype,{_points:null,_distance:null,_speed:null,_index:null,_numSegs:null,_updateCurve:null,_curveT:null,_curveD:null,_a:null,_b:null,_c:null,destroy:function(){flixel_tweens_motion_Motion.prototype.destroy.call(this);for(var e=0,t=this._points;e<t.length;){var i=t[e];++e,i=flixel_util_FlxDestroyUtil.put(i)}this._a=flixel_util_FlxDestroyUtil.put(this._a),this._b=flixel_util_FlxDestroyUtil.put(this._b),this._c=flixel_util_FlxDestroyUtil.put(this._c)},setMotion:function(e,t){return null==t&&(t=!0),this.updatePath(),t?(this.duration=e,this._speed=this._distance/e):(this.duration=this._distance/e,this._speed=e),this.start(),this},addPoint:function(e,t){null==t&&(t=0),null==e&&(e=0),this._updateCurve=!0;var i=this._points,l=e,n=t;null==n&&(n=0),null==l&&(l=0);var s=flixel_math_FlxPoint._pool.get().set(l,n);return s._inPool=!1,i.push(s),this},getPoint:function(e){if(null==e&&(e=0),0==this._points.length)throw haxe_Exception.thrown("No points have been added to the path yet.");return this._points[e%this._points.length]},start:function(){return this._index=this.backward?this._numSegs-1:0,flixel_tweens_motion_Motion.prototype.start.call(this),this},update:function(e){flixel_tweens_motion_Motion.prototype.update.call(this,e);var t,i;if(this.backward||null==this._points){if(null!=this._points){if(this._index>0)for(;this.scale<this._curveT[this._index]&&0!=--this._index;);t=this._curveT[this._index+1],i=this._curveT[this._index]-t,t=(this.scale-t)/i,this._a=this._points[2*this._index+2],this._b=this._points[2*this._index+1],this._c=this._points[2*this._index],this.x=this._a.x*(1-t)*(1-t)+2*this._b.x*(1-t)*t+this._c.x*t*t,this.y=this._a.y*(1-t)*(1-t)+2*this._b.y*(1-t)*t+this._c.y*t*t}}else{if(this._index<this._numSegs-1)for(;this.scale>this._curveT[this._index+1]&&++this._index!=this._numSegs-1;);t=this._curveT[this._index],i=this._curveT[this._index+1]-t,t=(this.scale-t)/i,this._a=this._points[2*this._index],this._b=this._points[2*this._index+1],this._c=this._points[2*this._index+2],this.x=this._a.x*(1-t)*(1-t)+2*this._b.x*(1-t)*t+this._c.x*t*t,this.y=this._a.y*(1-t)*(1-t)+2*this._b.y*(1-t)*t+this._c.y*t*t}flixel_tweens_motion_Motion.prototype.postUpdate.call(this)},updatePath:function(){if((this._points.length-1)%2!=0||this._points.length<3)throw haxe_Exception.thrown("A QuadPath must have at least 3 points to operate and number of points must be a odd.");if(this._updateCurve){this._updateCurve=!1;var e=0,t=0;for(this._distance=0,this._numSegs=(this._points.length-1)/2|0;e<this._numSegs;)t=2*e,this._curveD[e]=this.getCurveLength(this._points[t],this._points[t+1],this._points[t+2]),this._distance+=this._curveD[e++];e=0;for(var i=0;e<this._numSegs;)i+=this._curveD[e],this._curveT[e++]=i/this._distance;this._curveT[this._numSegs-1]=1,this._curveT.unshift(0)}},getCurveLength:function(e,t,i){var l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1;var n=l;(l=flixel_math_FlxPoint._pool.get().set(0,0))._inPool=!1;var s=l;n.set_x(e.x-2*t.x+i.x),n.set_y(e.y-2*t.y+i.y),s.set_x(2*t.x-2*e.x),s.set_y(2*t.y-2*e.y);var a=4*(n.x*n.x+n.y*n.y),r=4*(n.x*s.x+n.y*s.y),_=s.x*s.x+s.y*s.y,o=2*Math.sqrt(a+r+_),h=Math.sqrt(a),u=2*a*h,d=2*Math.sqrt(_),c=r/h;return n.put(),s.put(),(u*o+h*r*(o-d)+(4*_*a-r*r)*Math.log((2*h+c+o)/(c+d)))/(4*u)},__class__:flixel_tweens_motion_QuadPath});var flixel_ui_FlxBarFillDirection=$hxEnums["flixel.ui.FlxBarFillDirection"]={__ename__:"flixel.ui.FlxBarFillDirection",__constructs__:["LEFT_TO_RIGHT","RIGHT_TO_LEFT","TOP_TO_BOTTOM","BOTTOM_TO_TOP","HORIZONTAL_INSIDE_OUT","HORIZONTAL_OUTSIDE_IN","VERTICAL_INSIDE_OUT","VERTICAL_OUTSIDE_IN"],LEFT_TO_RIGHT:{_hx_index:0,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},RIGHT_TO_LEFT:{_hx_index:1,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},TOP_TO_BOTTOM:{_hx_index:2,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},BOTTOM_TO_TOP:{_hx_index:3,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},HORIZONTAL_INSIDE_OUT:{_hx_index:4,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},HORIZONTAL_OUTSIDE_IN:{_hx_index:5,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},VERTICAL_INSIDE_OUT:{_hx_index:6,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr},VERTICAL_OUTSIDE_IN:{_hx_index:7,__enum__:"flixel.ui.FlxBarFillDirection",toString:$estr}},flixel_ui_FlxTypedButton_$flixel_$text_$FlxText=function(e,t,i){null==t&&(t=0),null==e&&(e=0),this.lastStatus=-1,this.maxInputMovement=1/0,this.mouseButtons=[-1],this.allowSwiping=!0,this.statusAnimations=["normal","highlight","pressed"],this.labelAlphas=[.8,1,.5];var l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1;var n=flixel_math_FlxPoint._pool.get().set(0,0);n._inPool=!1;var s=flixel_math_FlxPoint._pool.get().set(0,1);s._inPool=!1,this.labelOffsets=[l,n,s],flixel_FlxSprite.call(this,e,t),this.loadDefaultGraphic(),this.onUp=new flixel_ui__$FlxButton_FlxButtonEvent(i),this.onDown=new flixel_ui__$FlxButton_FlxButtonEvent,this.onOver=new flixel_ui__$FlxButton_FlxButtonEvent,this.onOut=new flixel_ui__$FlxButton_FlxButtonEvent,this.set_status(0),this.scrollFactor.set(),openfl_Lib.get_current().stage.addEventListener("mouseUp",$bind(this,this.onUpEventListener)),this.input=new flixel_input_FlxInput(0)};$hxClasses["flixel.ui.FlxTypedButton_flixel_text_FlxText"]=flixel_ui_FlxTypedButton_$flixel_$text_$FlxText,flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.__name__="flixel.ui.FlxTypedButton_flixel_text_FlxText",flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.__interfaces__=[flixel_input_IFlxInput],flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.__super__=flixel_FlxSprite,flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.prototype=$extend(flixel_FlxSprite.prototype,{label:null,labelOffsets:null,labelAlphas:null,statusAnimations:null,allowSwiping:null,mouseButtons:null,maxInputMovement:null,status:null,onUp:null,onDown:null,onOver:null,onOut:null,_spriteLabel:null,input:null,currentInput:null,lastStatus:null,graphicLoaded:function(){flixel_FlxSprite.prototype.graphicLoaded.call(this),this.setupAnimation("normal",0),this.setupAnimation("highlight",1),this.setupAnimation("pressed",2)},loadDefaultGraphic:function(){this.loadGraphic("flixel/images/ui/button.png",!0,80,20)},setupAnimation:function(e,t){t=0|Math.min(t,this.animation._sprite.numFrames-1),this.animation.add(e,[t])},destroy:function(){this.set_label(flixel_util_FlxDestroyUtil.destroy(this.label)),this._spriteLabel=null,this.onUp=flixel_util_FlxDestroyUtil.destroy(this.onUp),this.onDown=flixel_util_FlxDestroyUtil.destroy(this.onDown),this.onOver=flixel_util_FlxDestroyUtil.destroy(this.onOver),this.onOut=flixel_util_FlxDestroyUtil.destroy(this.onOut),this.labelOffsets=flixel_util_FlxDestroyUtil.putArray(this.labelOffsets),this.labelAlphas=null,this.currentInput=null,this.input=null,openfl_Lib.get_current().stage.removeEventListener("mouseUp",$bind(this,this.onUpEventListener)),flixel_FlxSprite.prototype.destroy.call(this)},update:function(e){flixel_FlxSprite.prototype.update.call(this,e),this.visible&&(this.updateButton(),this.lastStatus!=this.status&&(this.updateStatusAnimation(),this.lastStatus=this.status)),this.input.update()},updateStatusAnimation:function(){this.animation.play(this.statusAnimations[this.status])},draw:function(){flixel_FlxSprite.prototype.draw.call(this),null!=this._spriteLabel&&this._spriteLabel.visible&&(this._spriteLabel.set_cameras(this.get_cameras()),this._spriteLabel.draw())},stampOnAtlas:function(e){var t=e.addNode(this.graphic.bitmap,this.graphic.key),i=null!=t;if(null!=t){var l=this.frames,n=l.tileSize.x,s=l.tileSize.y;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1;var r=a,_=t.getTileFrames(r);this.set_frames(_)}if(i&&null!=this.label){var o=e.addNode(this.label.graphic.bitmap,this.label.graphic.key);i=i&&null!=o,null!=o&&this.label.set_frames(o.getImageFrame())}return i},updateButton:function(){var e=this.checkMouseOverlap();e||(e=this.checkTouchOverlap()),null!=this.currentInput&&this.currentInput.get_justReleased()&&e&&this.onUpHandler(),0!=this.status&&(!e||null!=this.currentInput&&this.currentInput.get_justReleased())&&this.onOutHandler()},checkMouseOverlap:function(){for(var e=!1,t=0,i=this.get_cameras();t<i.length;){var l=i[t];++t;for(var n=0,s=this.mouseButtons;n<s.length;){var a=s[n];++n;var r=flixel_input_mouse_FlxMouseButton.getByID(a);null!=r&&this.checkInput(flixel_FlxG.mouse,r,r.justPressedPosition,l)&&(e=!0)}}return e},checkTouchOverlap:function(){for(var e=!1,t=0,i=this.get_cameras();t<i.length;){var l=i[t];++t;for(var n=0,s=flixel_FlxG.touches.list;n<s.length;){var a=s[n];++n,this.checkInput(a,a,a.justPressedPosition,l)&&(e=!0)}}return e},checkInput:function(e,t,i,l){var n;if(this.maxInputMovement!=1/0){var s=0,a=0;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1;var _=r;_._weak=!0,n=i.distanceTo(e.getScreenPosition(null,_))>this.maxInputMovement}else n=!1;if(n&&t==this.currentInput)this.currentInput=null;else if(this.overlapsPoint(e.getWorldPosition(l,this._point),!0,l))return this.updateStatus(t),!0;return!1},updateStatus:function(e){e.get_justPressed()?(this.currentInput=e,this.onDownHandler()):0==this.status&&(this.allowSwiping&&e.get_pressed()?this.onDownHandler():this.onOverHandler())},updateLabelPosition:function(){null!=this._spriteLabel&&(this._spriteLabel.set_x((this.pixelPerfectPosition?Math.floor(this.x):this.x)+this.labelOffsets[this.status].x),this._spriteLabel.set_y((this.pixelPerfectPosition?Math.floor(this.y):this.y)+this.labelOffsets[this.status].y))},updateLabelAlpha:function(){null!=this._spriteLabel&&this.labelAlphas.length>this.status&&this._spriteLabel.set_alpha(this.alpha*this.labelAlphas[this.status])},onUpEventListener:function(e){this.visible&&this.exists&&this.active&&2==this.status&&this.onUpHandler()},onUpHandler:function(){this.set_status(0),this.input.release(),this.currentInput=null;var e=this.onUp;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},onDownHandler:function(){this.set_status(2),this.input.press();var e=this.onDown;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},onOverHandler:function(){if(flixel_FlxG.mouse.enabled){this.set_status(1);var e=this.onOver;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)}else this.set_status(0)},onOutHandler:function(){this.set_status(0),this.input.release();var e=this.onOut;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},set_label:function(e){return null!=e&&(e.scrollFactor.put(),e.scrollFactor=this.scrollFactor),this.label=e,this._spriteLabel=this.label,this.updateLabelPosition(),e},set_status:function(e){return this.status=e,this.updateLabelAlpha(),this.status},set_alpha:function(e){return flixel_FlxSprite.prototype.set_alpha.call(this,e),this.updateLabelAlpha(),this.alpha},set_x:function(e){return flixel_FlxSprite.prototype.set_x.call(this,e),this.updateLabelPosition(),this.x},set_y:function(e){return flixel_FlxSprite.prototype.set_y.call(this,e),this.updateLabelPosition(),this.y},get_justReleased:function(){return-1==this.input.current},get_released:function(){var e=this.input;return 0==e.current||-1==e.current},get_pressed:function(){var e=this.input;return 1==e.current||2==e.current},get_justPressed:function(){return 2==this.input.current},__class__:flixel_ui_FlxTypedButton_$flixel_$text_$FlxText,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_released:"get_released",get_justReleased:"get_justReleased",set_status:"set_status",set_label:"set_label"})});var flixel_ui_FlxButton=function(e,t,i,l){null==t&&(t=0),null==e&&(e=0),flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.call(this,e,t,l);for(var n=0,s=this.labelOffsets;n<s.length;){var a=s[n];++n,a.set(a.x-1,a.y+3)}null!=i&&(this.set_label(new flixel_text_FlxText(this.x+this.labelOffsets[0].x,this.y+this.labelOffsets[0].y,80,i)),this.label.setFormat(null,8,3355443,"center"),this.label.set_alpha(this.labelAlphas[this.status]),this.label.drawFrame(!0))};$hxClasses["flixel.ui.FlxButton"]=flixel_ui_FlxButton,flixel_ui_FlxButton.__name__="flixel.ui.FlxButton",flixel_ui_FlxButton.__super__=flixel_ui_FlxTypedButton_$flixel_$text_$FlxText,flixel_ui_FlxButton.prototype=$extend(flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.prototype,{resetHelpers:function(){if(flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.prototype.resetHelpers.call(this),null!=this.label){var e=this.label,t=0|this.get_width();e.set_fieldWidth(this.label.frameWidth=t),this.label.set_size(0|this.label._defaultFormat.size)}},initLabel:function(e){null!=e&&(this.set_label(new flixel_text_FlxText(this.x+this.labelOffsets[0].x,this.y+this.labelOffsets[0].y,80,e)),this.label.setFormat(null,8,3355443,"center"),this.label.set_alpha(this.labelAlphas[this.status]),this.label.drawFrame(!0))},get_text:function(){return null!=this.label?this.label.text:null},set_text:function(e){return null==this.label?null!=e&&(this.set_label(new flixel_text_FlxText(this.x+this.labelOffsets[0].x,this.y+this.labelOffsets[0].y,80,e)),this.label.setFormat(null,8,3355443,"center"),this.label.set_alpha(this.labelAlphas[this.status]),this.label.drawFrame(!0)):this.label.set_text(e),e},__class__:flixel_ui_FlxButton,__properties__:$extend(flixel_ui_FlxTypedButton_$flixel_$text_$FlxText.prototype.__properties__,{set_text:"set_text",get_text:"get_text"})});var flixel_ui__$FlxButton_FlxButtonEvent=function(e,t){this.callback=e,this.sound=t};$hxClasses["flixel.ui._FlxButton.FlxButtonEvent"]=flixel_ui__$FlxButton_FlxButtonEvent,flixel_ui__$FlxButton_FlxButtonEvent.__name__="flixel.ui._FlxButton.FlxButtonEvent",flixel_ui__$FlxButton_FlxButtonEvent.__interfaces__=[flixel_util_IFlxDestroyable],flixel_ui__$FlxButton_FlxButtonEvent.prototype={callback:null,sound:null,destroy:function(){this.callback=null,this.sound=flixel_util_FlxDestroyUtil.destroy(this.sound)},fire:function(){null!=this.callback&&this.callback(),null!=this.sound&&this.sound.play(!0)},__class__:flixel_ui__$FlxButton_FlxButtonEvent};var flixel_ui_FlxTypedButton_$flixel_$FlxSprite=function(e,t,i){null==t&&(t=0),null==e&&(e=0),this.lastStatus=-1,this.maxInputMovement=1/0,this.mouseButtons=[-1],this.allowSwiping=!0,this.statusAnimations=["normal","highlight","pressed"],this.labelAlphas=[.8,1,.5];var l=flixel_math_FlxPoint._pool.get().set(0,0);l._inPool=!1;var n=flixel_math_FlxPoint._pool.get().set(0,0);n._inPool=!1;var s=flixel_math_FlxPoint._pool.get().set(0,1);s._inPool=!1,this.labelOffsets=[l,n,s],flixel_FlxSprite.call(this,e,t),this.loadDefaultGraphic(),this.onUp=new flixel_ui__$FlxButton_FlxButtonEvent(i),this.onDown=new flixel_ui__$FlxButton_FlxButtonEvent,this.onOver=new flixel_ui__$FlxButton_FlxButtonEvent,this.onOut=new flixel_ui__$FlxButton_FlxButtonEvent,this.set_status(0),this.scrollFactor.set(),openfl_Lib.get_current().stage.addEventListener("mouseUp",$bind(this,this.onUpEventListener)),this.input=new flixel_input_FlxInput(0)};$hxClasses["flixel.ui.FlxTypedButton_flixel_FlxSprite"]=flixel_ui_FlxTypedButton_$flixel_$FlxSprite,flixel_ui_FlxTypedButton_$flixel_$FlxSprite.__name__="flixel.ui.FlxTypedButton_flixel_FlxSprite",flixel_ui_FlxTypedButton_$flixel_$FlxSprite.__interfaces__=[flixel_input_IFlxInput],flixel_ui_FlxTypedButton_$flixel_$FlxSprite.__super__=flixel_FlxSprite,flixel_ui_FlxTypedButton_$flixel_$FlxSprite.prototype=$extend(flixel_FlxSprite.prototype,{label:null,labelOffsets:null,labelAlphas:null,statusAnimations:null,allowSwiping:null,mouseButtons:null,maxInputMovement:null,status:null,onUp:null,onDown:null,onOver:null,onOut:null,_spriteLabel:null,input:null,currentInput:null,lastStatus:null,graphicLoaded:function(){flixel_FlxSprite.prototype.graphicLoaded.call(this),this.setupAnimation("normal",0),this.setupAnimation("highlight",1),this.setupAnimation("pressed",2)},loadDefaultGraphic:function(){this.loadGraphic("flixel/images/ui/button.png",!0,80,20)},setupAnimation:function(e,t){t=0|Math.min(t,this.animation._sprite.numFrames-1),this.animation.add(e,[t])},destroy:function(){this.set_label(flixel_util_FlxDestroyUtil.destroy(this.label)),this._spriteLabel=null,this.onUp=flixel_util_FlxDestroyUtil.destroy(this.onUp),this.onDown=flixel_util_FlxDestroyUtil.destroy(this.onDown),this.onOver=flixel_util_FlxDestroyUtil.destroy(this.onOver),this.onOut=flixel_util_FlxDestroyUtil.destroy(this.onOut),this.labelOffsets=flixel_util_FlxDestroyUtil.putArray(this.labelOffsets),this.labelAlphas=null,this.currentInput=null,this.input=null,openfl_Lib.get_current().stage.removeEventListener("mouseUp",$bind(this,this.onUpEventListener)),flixel_FlxSprite.prototype.destroy.call(this)},update:function(e){flixel_FlxSprite.prototype.update.call(this,e),this.visible&&(this.updateButton(),this.lastStatus!=this.status&&(this.updateStatusAnimation(),this.lastStatus=this.status)),this.input.update()},updateStatusAnimation:function(){this.animation.play(this.statusAnimations[this.status])},draw:function(){flixel_FlxSprite.prototype.draw.call(this),null!=this._spriteLabel&&this._spriteLabel.visible&&(this._spriteLabel.set_cameras(this.get_cameras()),this._spriteLabel.draw())},stampOnAtlas:function(e){var t=e.addNode(this.graphic.bitmap,this.graphic.key),i=null!=t;if(null!=t){var l=this.frames,n=l.tileSize.x,s=l.tileSize.y;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1;var r=a,_=t.getTileFrames(r);this.set_frames(_)}if(i&&null!=this.label){var o=e.addNode(this.label.graphic.bitmap,this.label.graphic.key);i=i&&null!=o,null!=o&&this.label.set_frames(o.getImageFrame())}return i},updateButton:function(){var e=this.checkMouseOverlap();e||(e=this.checkTouchOverlap()),null!=this.currentInput&&this.currentInput.get_justReleased()&&e&&this.onUpHandler(),0!=this.status&&(!e||null!=this.currentInput&&this.currentInput.get_justReleased())&&this.onOutHandler()},checkMouseOverlap:function(){for(var e=!1,t=0,i=this.get_cameras();t<i.length;){var l=i[t];++t;for(var n=0,s=this.mouseButtons;n<s.length;){var a=s[n];++n;var r=flixel_input_mouse_FlxMouseButton.getByID(a);null!=r&&this.checkInput(flixel_FlxG.mouse,r,r.justPressedPosition,l)&&(e=!0)}}return e},checkTouchOverlap:function(){for(var e=!1,t=0,i=this.get_cameras();t<i.length;){var l=i[t];++t;for(var n=0,s=flixel_FlxG.touches.list;n<s.length;){var a=s[n];++n,this.checkInput(a,a,a.justPressedPosition,l)&&(e=!0)}}return e},checkInput:function(e,t,i,l){var n;if(this.maxInputMovement!=1/0){var s=0,a=0;null==a&&(a=0),null==s&&(s=0);var r=flixel_math_FlxPoint._pool.get().set(s,a);r._inPool=!1;var _=r;_._weak=!0,n=i.distanceTo(e.getScreenPosition(null,_))>this.maxInputMovement}else n=!1;if(n&&t==this.currentInput)this.currentInput=null;else if(this.overlapsPoint(e.getWorldPosition(l,this._point),!0,l))return this.updateStatus(t),!0;return!1},updateStatus:function(e){e.get_justPressed()?(this.currentInput=e,this.onDownHandler()):0==this.status&&(this.allowSwiping&&e.get_pressed()?this.onDownHandler():this.onOverHandler())},updateLabelPosition:function(){null!=this._spriteLabel&&(this._spriteLabel.set_x((this.pixelPerfectPosition?Math.floor(this.x):this.x)+this.labelOffsets[this.status].x),this._spriteLabel.set_y((this.pixelPerfectPosition?Math.floor(this.y):this.y)+this.labelOffsets[this.status].y))},updateLabelAlpha:function(){null!=this._spriteLabel&&this.labelAlphas.length>this.status&&this._spriteLabel.set_alpha(this.alpha*this.labelAlphas[this.status])},onUpEventListener:function(e){this.visible&&this.exists&&this.active&&2==this.status&&this.onUpHandler()},onUpHandler:function(){this.set_status(0),this.input.release(),this.currentInput=null;var e=this.onUp;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},onDownHandler:function(){this.set_status(2),this.input.press();var e=this.onDown;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},onOverHandler:function(){if(flixel_FlxG.mouse.enabled){this.set_status(1);var e=this.onOver;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)}else this.set_status(0)},onOutHandler:function(){this.set_status(0),this.input.release();var e=this.onOut;null!=e.callback&&e.callback(),null!=e.sound&&e.sound.play(!0)},set_label:function(e){return null!=e&&(e.scrollFactor.put(),e.scrollFactor=this.scrollFactor),this.label=e,this._spriteLabel=this.label,this.updateLabelPosition(),e},set_status:function(e){return this.status=e,this.updateLabelAlpha(),this.status},set_alpha:function(e){return flixel_FlxSprite.prototype.set_alpha.call(this,e),this.updateLabelAlpha(),this.alpha},set_x:function(e){return flixel_FlxSprite.prototype.set_x.call(this,e),this.updateLabelPosition(),this.x},set_y:function(e){return flixel_FlxSprite.prototype.set_y.call(this,e),this.updateLabelPosition(),this.y},get_justReleased:function(){return-1==this.input.current},get_released:function(){var e=this.input;return 0==e.current||-1==e.current},get_pressed:function(){var e=this.input;return 1==e.current||2==e.current},get_justPressed:function(){return 2==this.input.current},__class__:flixel_ui_FlxTypedButton_$flixel_$FlxSprite,__properties__:$extend(flixel_FlxSprite.prototype.__properties__,{get_justPressed:"get_justPressed",get_pressed:"get_pressed",get_released:"get_released",get_justReleased:"get_justReleased",set_status:"set_status",set_label:"set_label"})});var flixel_ui_FlxSpriteButton=function(e,t,i,l){null==t&&(t=0),null==e&&(e=0),flixel_ui_FlxTypedButton_$flixel_$FlxSprite.call(this,e,t,l);for(var n=0,s=this.labelOffsets;n<s.length;){var a=s[n];++n,a.set(a.x-1,a.y+4)}this.set_label(i)};$hxClasses["flixel.ui.FlxSpriteButton"]=flixel_ui_FlxSpriteButton,flixel_ui_FlxSpriteButton.__name__="flixel.ui.FlxSpriteButton",flixel_ui_FlxSpriteButton.__interfaces__=[flixel_input_IFlxInput],flixel_ui_FlxSpriteButton.__super__=flixel_ui_FlxTypedButton_$flixel_$FlxSprite,flixel_ui_FlxSpriteButton.prototype=$extend(flixel_ui_FlxTypedButton_$flixel_$FlxSprite.prototype,{createTextLabel:function(e,t,i,l,n){if(null==n&&(n="center"),null==l&&(l=3355443),null==i&&(i=8),null!=e){var s=new flixel_text_FlxText(0,0,this.frameWidth,e);s.setFormat(t,i,l,n),s.set_alpha(this.labelAlphas[this.status]),s.drawFrame(!0);var a=s.graphic.bitmap.clone(),r=s.graphic.key;s.destroy(),null==this.label&&this.set_label(new flixel_FlxSprite);var _=flixel_FlxG.bitmap.add(a,!1,r);this.label.set_frames(flixel_graphics_frames_FlxImageFrame.fromGraphic(_))}return this},__class__:flixel_ui_FlxSpriteButton});var flixel_util_FlxArrayUtil=function(){};$hxClasses["flixel.util.FlxArrayUtil"]=flixel_util_FlxArrayUtil,flixel_util_FlxArrayUtil.__name__="flixel.util.FlxArrayUtil",flixel_util_FlxArrayUtil.setLength_Int=function(e,t){if(t<0)return e;var i=t-e.length;if(i>=0)return e;for(var l=0,n=i=-i;l<n;){l++;e.pop()}return e},flixel_util_FlxArrayUtil.flatten2DArray_Int=function(e){for(var t=[],i=0;i<e.length;){var l=e[i];++i;for(var n=0;n<l.length;){var s=l[n];++n,t.push(s)}}return t},flixel_util_FlxArrayUtil.setLength_cacheValue_T=function(e,t){if(t<0)return e;var i=t-e.length;if(i>=0)return e;for(var l=0,n=i=-i;l<n;){l++;e.pop()}return e},flixel_util_FlxArrayUtil.fastSplice_flixel_tweens_FlxTween=function(e,t){var i=e.indexOf(t);return-1!=i?(e[i]=e[e.length-1],e.pop(),e):e},flixel_util_FlxArrayUtil.fastSplice_flixel_util_FlxTimer=function(e,t){var i=e.indexOf(t);return-1!=i?(e[i]=e[e.length-1],e.pop(),e):e},flixel_util_FlxArrayUtil.swapAndPop_fastSplice_T=function(e,t){return e[t]=e[e.length-1],e.pop(),e},flixel_util_FlxArrayUtil.setLength_flixel_group_FlxTypedGroup_T=function(e,t){if(t<0)return e;var i=t-e.length;if(i>=0)return e;for(var l=0,n=i=-i;l<n;){l++;e.pop()}return e},flixel_util_FlxArrayUtil.clearArray=function(e,t){if(null==t&&(t=!1),null==e)return e;if(t)for(;e.length>0;)e.pop()instanceof Array&&flixel_util_FlxArrayUtil.clearArray(e,t);else for(;e.length>0;)e.pop();return e},flixel_util_FlxArrayUtil.equals=function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t)return!1;if(null!=e&&null==t)return!1;if(e.length!=t.length)return!1;for(var i=0,l=e.length;i<l;){var n=i++;if(e[n]!=t[n])return!1}return!0},flixel_util_FlxArrayUtil.last=function(e){return null==e||0==e.length?null:e[e.length-1]},flixel_util_FlxArrayUtil.safePush=function(e,t){return null==e&&(e=[]),e.push(t),e},flixel_util_FlxArrayUtil.contains=function(e,t){return-1!=e.indexOf(t)};var flixel_util_FlxAxes=$hxEnums["flixel.util.FlxAxes"]={__ename__:"flixel.util.FlxAxes",__constructs__:["X","Y","XY"],X:{_hx_index:0,__enum__:"flixel.util.FlxAxes",toString:$estr},Y:{_hx_index:1,__enum__:"flixel.util.FlxAxes",toString:$estr},XY:{_hx_index:2,__enum__:"flixel.util.FlxAxes",toString:$estr}},flixel_util_FlxBitmapDataPool=function(){};$hxClasses["flixel.util.FlxBitmapDataPool"]=flixel_util_FlxBitmapDataPool,flixel_util_FlxBitmapDataPool.__name__="flixel.util.FlxBitmapDataPool",flixel_util_FlxBitmapDataPool.__properties__={set_maxLength:"set_maxLength"},flixel_util_FlxBitmapDataPool.get=function(e,t,i,l,n){null==n&&(n=!1),null==i&&(i=!0);for(var s=null,a=flixel_util_FlxBitmapDataPool._head;null!=a;){var r=a.bmd;if(r.transparent==i&&r.width>=e&&r.height>=t&&(!n||n&&r.width==e&&r.height==t)){s=r,null!=a.prev&&(a.prev.next=a.next),null!=a.next&&(a.next.prev=a.prev),a==flixel_util_FlxBitmapDataPool._head&&(flixel_util_FlxBitmapDataPool._head=a.next),a==flixel_util_FlxBitmapDataPool._tail&&(flixel_util_FlxBitmapDataPool._tail=a.prev),a=null,flixel_util_FlxBitmapDataPool.$length--;break}a=a.next}return null!=s?null!=l&&(flixel_util_FlxBitmapDataPool._rect.x=0,flixel_util_FlxBitmapDataPool._rect.y=0,flixel_util_FlxBitmapDataPool._rect.width=e,flixel_util_FlxBitmapDataPool._rect.height=t,s.fillRect(flixel_util_FlxBitmapDataPool._rect,l)):s=new openfl_display_BitmapData(e,t,i,null!=l?l:-1),s},flixel_util_FlxBitmapDataPool.put=function(e){if(flixel_util_FlxBitmapDataPool.$length>=flixel_util_FlxBitmapDataPool.maxLength){var t=flixel_util_FlxBitmapDataPool._tail;t.bmd.dispose(),null!=t.prev&&(t.prev.next=null,flixel_util_FlxBitmapDataPool._tail=t.prev),t=null,flixel_util_FlxBitmapDataPool.$length--}var i=new flixel_util__$FlxBitmapDataPool_FlxBitmapDataPoolNode(e);i.next=flixel_util_FlxBitmapDataPool._head,null==flixel_util_FlxBitmapDataPool._head?flixel_util_FlxBitmapDataPool._head=flixel_util_FlxBitmapDataPool._tail=i:(flixel_util_FlxBitmapDataPool._head=i,i.next.prev=i),flixel_util_FlxBitmapDataPool.$length++},flixel_util_FlxBitmapDataPool.clear=function(){for(var e=flixel_util_FlxBitmapDataPool._head;null!=e;){var t=e.bmd;t.dispose(),t=null,e=e.next}flixel_util_FlxBitmapDataPool.$length=0,flixel_util_FlxBitmapDataPool._head=flixel_util_FlxBitmapDataPool._tail=null},flixel_util_FlxBitmapDataPool.set_maxLength=function(e){if(flixel_util_FlxBitmapDataPool.maxLength!=e)for(var t=flixel_util_FlxBitmapDataPool._tail;null!=t&&flixel_util_FlxBitmapDataPool.$length>e;){var i=t.bmd;i.dispose(),i=null,t=t.prev,flixel_util_FlxBitmapDataPool.$length--}return flixel_util_FlxBitmapDataPool.maxLength=e};var flixel_util__$FlxBitmapDataPool_FlxBitmapDataPoolNode=function(e,t,i){this.bmd=e,this.prev=t,this.next=i};$hxClasses["flixel.util._FlxBitmapDataPool.FlxBitmapDataPoolNode"]=flixel_util__$FlxBitmapDataPool_FlxBitmapDataPoolNode,flixel_util__$FlxBitmapDataPool_FlxBitmapDataPoolNode.__name__="flixel.util._FlxBitmapDataPool.FlxBitmapDataPoolNode",flixel_util__$FlxBitmapDataPool_FlxBitmapDataPoolNode.prototype={bmd:null,prev:null,next:null,__class__:flixel_util__$FlxBitmapDataPool_FlxBitmapDataPoolNode};var flixel_util_FlxBitmapDataUtil=function(){};$hxClasses["flixel.util.FlxBitmapDataUtil"]=flixel_util_FlxBitmapDataUtil,flixel_util_FlxBitmapDataUtil.__name__="flixel.util.FlxBitmapDataUtil",flixel_util_FlxBitmapDataUtil.merge=function(e,t,i,l,n,s,a,r){if(!(l.x>=i.width||l.y>=i.height||t.x>=e.width||t.y>=e.height||t.x+t.width<=0||t.y+t.height<=0)){for(;t.x+t.width>e.width||t.y+t.height>e.height||t.x<0||t.y<0||l.x<0||l.y<0;){if(t.x+t.width>e.width&&(t.width=e.width-t.x),t.y+t.height>e.height&&(t.height=e.height-t.y),t.x<0&&(l.x-=t.x,t.width+=t.x,t.x=0),t.y<0&&(l.y-=t.y,t.height+=t.y,t.y=0),l.x>=i.width||l.y>=i.height)return;l.x<0&&(t.x-=l.x,t.width+=l.x,l.x=0),l.y<0&&(t.y-=l.y,t.height+=l.y,l.y=0)}if(!(t.width<=0||t.height<=0)){var _,o,h,u,d,c,p=Math.round(t.x),f=Math.round(t.y),m=Math.round(t.width),x=Math.round(t.height),g=p,F=f,y=Math.round(l.x),S=Math.round(l.y),b=y,U=S,v=0;i.lock();for(var T=0,N=m;T<N;)for(var D=T++,Q=0,B=x;Q<B;){var R=Q++;g=p+D,F=f+R,b=y+D,U=S+R,h=(((_=e.getPixel32(g,F))>>16&255)*n+((o=i.getPixel32(b,U))>>16&255)*(256-n))/256|0,u=((_>>8&255)*s+(o>>8&255)*(256-s))/256|0,d=((255&_)*a+(255&o)*(256-a))/256|0;var w=c=((_>>24&255)*r+(o>>24&255)*(256-r))/256|0;null==w&&(w=255);var E=flixel_util_FlxColor._new(),k=w;null==k&&(k=255),E&=-16711681,E|=(h>255?255:h<0?0:h)<<16,E&=-65281,E|=(u>255?255:u<0?0:u)<<8,E&=-256,E|=d>255?255:d<0?0:d,E&=16777215,v=E|=(k>255?255:k<0?0:k)<<24,i.setPixel32(b,U,v)}i.unlock()}}},flixel_util_FlxBitmapDataUtil.mergeColorComponent=function(e,t,i){return(e*i+t*(256-i))/256|0},flixel_util_FlxBitmapDataUtil.compare=function(e,t){if(e==t)return 0;if(e.width!=t.width)return-3;if(e.height!=t.height)return-4;for(var i=e.width,l=e.height,n=new openfl_display_BitmapData(i,l,!0,0),s=!0,a=0,r=i;a<r;)for(var _=a++,o=0,h=l;o<h;){var u=o++,d=e.getPixel32(_,u),c=t.getPixel32(_,u);if(d!=c)if(s=!1,(16777215&d)!=(16777215&c)){var p=(d>>16&255)-(c>>16&255),f=p>=0?p:256+p,m=(d>>8&255)-(c>>8&255),x=m>=0?m:256+m,g=(255&d)-(255&c),F=g>=0?g:256+g,y=flixel_util_FlxColor._new(),S=255;null==S&&(S=255),y&=-16711681,y|=(f>255?255:f<0?0:f)<<16,y&=-65281,y|=(x>255?255:x<0?0:x)<<8,y&=-256,y|=F>255?255:F<0?0:F,y&=16777215,y|=(S>255?255:S<0?0:S)<<24,n.setPixel32(_,u,y)}else{var b=d>>24&255,U=c>>24&255;if(b!=U){var v=b-U,T=v>=0?v:256+v;null==T&&(T=255);var N=flixel_util_FlxColor._new(),D=T;null==D&&(D=255),N&=-16711681,N|=16711680,N&=-65281,N|=65280,N&=-256,N|=255,N&=16777215,N|=(D>255?255:D<0?0:D)<<24,n.setPixel32(_,u,N)}}}return s?0:n},flixel_util_FlxBitmapDataUtil.getDiff=function(e,t){var i=e-t;return i>=0?i:256+i},flixel_util_FlxBitmapDataUtil.getMemorySize=function(e){return e.width*e.height*4},flixel_util_FlxBitmapDataUtil.replaceColor=function(e,t,i,l,n){null==l&&(l=!1);var s=null;l&&(s=[]);var a=0,r=0,_=e.width,o=e.height;null!=n&&(a=0|n.x,r=0|n.y,_=0|n.width,o=0|n.height),_=0|Math.max(_,e.width),o=0|Math.max(o,e.height);var h,u,d=0,c=0,p=!1;for(e.lock();d<o;){for(c=0;c<_;){if(h=a+c,u=r+d,e.getPixel32(h,u)==t&&(e.setPixel32(h,u,i),p=!0,l)){var f=h,m=u;null==m&&(m=0),null==f&&(f=0);var x=flixel_math_FlxPoint._pool.get().set(f,m);x._inPool=!1,s.push(x)}++c}++d}return e.unlock(),p&&null==s&&(s=[]),s},flixel_util_FlxBitmapDataUtil.addSpacesAndBorders=function(e,t,i,l,n){if(null==n){var s=0,a=0,r=e.width,_=e.height;null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0);var o=flixel_math_FlxRect._pool.get(),h=s,u=a,d=r,c=_;null==c&&(c=0),null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),o.x=h,o.y=u,o.width=d,o.height=c;var p=o;p._inPool=!1,n=p}var f=0|n.width,m=0|n.height;null!=t&&(f=0|t.x,m=0|t.y);var x=n.width/f|0,g=n.height/m|0,F=0,y=0;null!=i&&(F=0|i.x,y=0|i.y);var S=0,b=0;null!=l&&(S=0|l.x,b=0|l.y);var U=new openfl_display_BitmapData(n.width+(x-1)*F+2*x*S|0,n.height+(g-1)*y+2*g*b|0,!0,0);U.lock();for(var v=new openfl_geom_Rectangle(0,0,f,m),T=new openfl_geom_Point,N=0,D=x;N<D;){var Q=N++;T.x=Q*(f+F+2*S)+S,v.x=Q*f+n.x;for(var B=0,R=g;B<R;){var w=B++;T.y=w*(m+y+2*b)+b,v.y=w*m+n.y,U.copyPixels(e,v,T)}}return U.unlock(),flixel_util_FlxBitmapDataUtil.copyBorderPixels(U,f,m,F,y,S,b,x,g),U},flixel_util_FlxBitmapDataUtil.copyBorderPixels=function(e,t,i,l,n,s,a,r,_){var o=new openfl_geom_Rectangle(0,0,1,e.height),h=new openfl_geom_Point;e.lock();for(var u=0,d=r;u<d;){x=u++;o.x=x*(t+2*s+l)+s;for(var c=0,p=s;c<p;){g=c++;h.x=o.x-g-1,e.copyPixels(e,o,h)}o.x+=t-1;for(var f=0,m=s;f<m;){F=f++;h.x=o.x+F+1,e.copyPixels(e,o,h)}}h.setTo(0,0),o.setTo(0,0,e.width,1);for(var u=0,d=_;u<d;){var x=u++;o.y=x*(i+2*a+n)+a;for(var c=0,p=a;c<p;){var g=c++;h.y=o.y-g-1,e.copyPixels(e,o,h)}o.y+=i-1;for(var f=0,m=a;f<m;){var F=f++;h.y=o.y+F+1,e.copyPixels(e,o,h)}}return e.unlock(),e},flixel_util_FlxBitmapDataUtil.generateRotations=function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=16);var n=e.width,s=e.height,a=s>n?s:n;l&&(a=1.5*a|0);for(var r=0|Math.sqrt(t),_=Math.ceil(t/r),o=360/t,h=new openfl_display_BitmapData(a*_,a*r,!0,0),u=0,d=0,c=0,p=.5*n|0,f=.5*s|0,m=.5*a|0,x=.5*a|0;u<r;){for(d=0;d<_;)flixel_util_FlxBitmapDataUtil.matrix.identity(),flixel_util_FlxBitmapDataUtil.matrix.translate(-p,-f),flixel_util_FlxBitmapDataUtil.matrix.rotate(c*(Math.PI/180)),flixel_util_FlxBitmapDataUtil.matrix.translate(a*d+m,x),c+=o,h.draw(e,flixel_util_FlxBitmapDataUtil.matrix,null,null,null,i),++d;x+=a,++u}return h};var flixel_util_FlxCollision=function(){};$hxClasses["flixel.util.FlxCollision"]=flixel_util_FlxCollision,flixel_util_FlxCollision.__name__="flixel.util.FlxCollision",flixel_util_FlxCollision.pixelPerfectCheck=function(e,t,i,l){null==i&&(i=1);var n=0!=e.angle||0!=t.angle;if(null==l&&(l=flixel_FlxG.camera),flixel_util_FlxCollision.pointA.set_x(e.x-(l.scroll.x*e.scrollFactor.x|0)-e.offset.x),flixel_util_FlxCollision.pointA.set_y(e.y-(l.scroll.y*e.scrollFactor.y|0)-e.offset.y),flixel_util_FlxCollision.pointB.set_x(t.x-(l.scroll.x*t.scrollFactor.x|0)-t.offset.x),flixel_util_FlxCollision.pointB.set_y(t.y-(l.scroll.y*t.scrollFactor.y|0)-t.offset.y),n){e.origin.copyTo(flixel_util_FlxCollision.centerA),t.origin.copyTo(flixel_util_FlxCollision.centerB);var s=flixel_util_FlxCollision.centerA,a=Math.sqrt(s.x*s.x+s.y*s.y);flixel_util_FlxCollision.boundsA.x=flixel_util_FlxCollision.pointA.x+flixel_util_FlxCollision.centerA.x-a,flixel_util_FlxCollision.boundsA.y=flixel_util_FlxCollision.pointA.y+flixel_util_FlxCollision.centerA.y-a,flixel_util_FlxCollision.boundsA.width=2*a,flixel_util_FlxCollision.boundsA.height=flixel_util_FlxCollision.boundsA.width;var s=flixel_util_FlxCollision.centerB,r=Math.sqrt(s.x*s.x+s.y*s.y);flixel_util_FlxCollision.boundsB.x=flixel_util_FlxCollision.pointB.x+flixel_util_FlxCollision.centerB.x-r,flixel_util_FlxCollision.boundsB.y=flixel_util_FlxCollision.pointB.y+flixel_util_FlxCollision.centerB.y-r,flixel_util_FlxCollision.boundsB.width=2*r,flixel_util_FlxCollision.boundsB.height=flixel_util_FlxCollision.boundsB.width}else flixel_util_FlxCollision.boundsA.x=flixel_util_FlxCollision.pointA.x,flixel_util_FlxCollision.boundsA.y=flixel_util_FlxCollision.pointA.y,flixel_util_FlxCollision.boundsA.width=e.frameWidth,flixel_util_FlxCollision.boundsA.height=e.frameHeight,flixel_util_FlxCollision.boundsB.x=flixel_util_FlxCollision.pointB.x,flixel_util_FlxCollision.boundsB.y=flixel_util_FlxCollision.pointB.y,flixel_util_FlxCollision.boundsB.width=t.frameWidth,flixel_util_FlxCollision.boundsB.height=t.frameHeight;if((p=flixel_util_FlxCollision.intersect).x=0,p.y=0,p.width=0,p.height=0,flixel_util_FlxCollision.boundsA.intersection(flixel_util_FlxCollision.boundsB,p),0==(p=flixel_util_FlxCollision.intersect).width||0==p.height||flixel_util_FlxCollision.intersect.width<1||flixel_util_FlxCollision.intersect.height<1)return!1;flixel_util_FlxCollision.matrixA.identity(),flixel_util_FlxCollision.matrixA.translate(-(flixel_util_FlxCollision.intersect.x-flixel_util_FlxCollision.boundsA.x),-(flixel_util_FlxCollision.intersect.y-flixel_util_FlxCollision.boundsA.y)),flixel_util_FlxCollision.matrixB.identity(),flixel_util_FlxCollision.matrixB.translate(-(flixel_util_FlxCollision.intersect.x-flixel_util_FlxCollision.boundsB.x),-(flixel_util_FlxCollision.intersect.y-flixel_util_FlxCollision.boundsB.y)),e.drawFrame(),t.drawFrame();var _=e.framePixels,o=t.framePixels,h=0|flixel_util_FlxCollision.intersect.width,u=0|flixel_util_FlxCollision.intersect.height;if(n){flixel_util_FlxCollision.testMatrix.identity(),flixel_util_FlxCollision.testMatrix.translate(-e.origin.x,-e.origin.y),flixel_util_FlxCollision.testMatrix.rotate(e.angle*(Math.PI/180)),flixel_util_FlxCollision.testMatrix.translate(flixel_util_FlxCollision.boundsA.width/2,flixel_util_FlxCollision.boundsA.height/2);var d=flixel_util_FlxBitmapDataPool.get(Math.floor(flixel_util_FlxCollision.boundsA.width),Math.floor(flixel_util_FlxCollision.boundsA.height),!0,0,!1);d.draw(_,flixel_util_FlxCollision.testMatrix,null,null,null,!1),_=d,flixel_util_FlxCollision.testMatrix.identity(),flixel_util_FlxCollision.testMatrix.translate(-t.origin.x,-t.origin.y),flixel_util_FlxCollision.testMatrix.rotate(t.angle*(Math.PI/180)),flixel_util_FlxCollision.testMatrix.translate(flixel_util_FlxCollision.boundsB.width/2,flixel_util_FlxCollision.boundsB.height/2);var c=flixel_util_FlxBitmapDataPool.get(Math.floor(flixel_util_FlxCollision.boundsB.width),Math.floor(flixel_util_FlxCollision.boundsB.height),!0,0,!1);c.draw(o,flixel_util_FlxCollision.testMatrix,null,null,null,!1),o=c}flixel_util_FlxCollision.boundsA.x=0|-flixel_util_FlxCollision.matrixA.tx,flixel_util_FlxCollision.boundsA.y=0|-flixel_util_FlxCollision.matrixA.ty,flixel_util_FlxCollision.boundsA.width=h,flixel_util_FlxCollision.boundsA.height=u,flixel_util_FlxCollision.boundsB.x=0|-flixel_util_FlxCollision.matrixB.tx,flixel_util_FlxCollision.boundsB.y=0|-flixel_util_FlxCollision.matrixB.ty,flixel_util_FlxCollision.boundsB.width=h,flixel_util_FlxCollision.boundsB.height=u;var p=flixel_util_FlxCollision.boundsA,f=flixel_util_FlxCollision.flashRect;null==f&&(f=new openfl_geom_Rectangle),f.x=p.x,f.y=p.y,f.width=p.width,f.height=p.height;var m=_.getPixels(flixel_util_FlxCollision.flashRect),p=flixel_util_FlxCollision.boundsB;null==(f=flixel_util_FlxCollision.flashRect)&&(f=new openfl_geom_Rectangle),f.x=p.x,f.y=p.y,f.width=p.width,f.height=p.height;for(var x=o.getPixels(flixel_util_FlxCollision.flashRect),g=!1,F=0,y=0,S=h*u,b=0,U=0,v=Math.ceil(S/2);U<v;)if(b=(T=U++)<<3,m.position=x.position=b,F=m.readUnsignedByte(),y=x.readUnsignedByte(),F>=i&&y>=i){g=!0;break}if(!g)for(var U=0,v=S>>1;U<v;){var T=U++;if(b=4+(T<<3),m.position=x.position=b,F=m.readUnsignedByte(),y=x.readUnsignedByte(),F>=i&&y>=i){g=!0;break}}return n&&(flixel_util_FlxBitmapDataPool.put(_),flixel_util_FlxBitmapDataPool.put(o)),g},flixel_util_FlxCollision.pixelPerfectPointCheck=function(e,t,i,l){if(null==l&&(l=1),!flixel_math_FlxMath.pointInCoordinates(e,t,Math.floor(i.x),Math.floor(i.y),0|i.get_width(),0|i.get_height()))return!1;flixel_FlxG.renderTile&&i.drawFrame();var n=i.framePixels,s=flixel_util_FlxColor._new(n.getPixel32(Math.floor(e-i.x),Math.floor(t-i.y)))>>24&255;return flixel_FlxG.renderTile&&(s=s*i.alpha|0),s>=l},flixel_util_FlxCollision.createCameraWall=function(e,t,i,l){null==l&&(l=!1),null==t&&(t=!0);var n=null,s=null,a=null,r=null;if(t){if(n=new flixel_tile_FlxTileblock(Math.floor(e.x-i),Math.floor(e.y+i),i,e.height-2*i),s=new flixel_tile_FlxTileblock(Math.floor(e.x+e.width),Math.floor(e.y+i),i,e.height-2*i),a=new flixel_tile_FlxTileblock(Math.floor(e.x-i),Math.floor(e.y-i),e.width+2*i,i),r=new flixel_tile_FlxTileblock(Math.floor(e.x-i),e.height,e.width+2*i,i),l){var _=flixel_FlxG.worldBounds,o=e.x-i,h=e.y-i,u=e.width+2*i;null==(d=e.height+2*i)&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d}}else if(n=new flixel_tile_FlxTileblock(Math.floor(e.x),Math.floor(e.y+i),i,e.height-2*i),s=new flixel_tile_FlxTileblock(Math.floor(e.x+e.width-i),Math.floor(e.y+i),i,e.height-2*i),a=new flixel_tile_FlxTileblock(Math.floor(e.x),Math.floor(e.y),e.width,i),r=new flixel_tile_FlxTileblock(Math.floor(e.x),e.height-i,e.width,i),l){var _=flixel_FlxG.worldBounds,o=e.x,h=e.y,u=e.width,d=e.height;null==d&&(d=0),null==u&&(u=0),null==h&&(h=0),null==o&&(o=0),_.x=o,_.y=h,_.width=u,_.height=d}var c=new flixel_group_FlxTypedGroup;return c.add(n),c.add(s),c.add(a),c.add(r),c};var flixel_util_FlxColor={};flixel_util_FlxColor.__properties__={set_lightness:"set_lightness",get_lightness:"get_lightness",set_brightness:"set_brightness",get_brightness:"get_brightness",set_saturation:"set_saturation",get_saturation:"get_saturation",set_hue:"set_hue",get_hue:"get_hue",set_black:"set_black",get_black:"get_black",set_yellow:"set_yellow",get_yellow:"get_yellow",set_magenta:"set_magenta",get_magenta:"get_magenta",set_cyan:"set_cyan",get_cyan:"get_cyan",set_alphaFloat:"set_alphaFloat",get_alphaFloat:"get_alphaFloat",set_greenFloat:"set_greenFloat",get_greenFloat:"get_greenFloat",set_blueFloat:"set_blueFloat",get_blueFloat:"get_blueFloat",set_redFloat:"set_redFloat",get_redFloat:"get_redFloat",set_alpha:"set_alpha",get_alpha:"get_alpha",set_green:"set_green",get_green:"get_green",set_blue:"set_blue",get_blue:"get_blue",set_red:"set_red",get_red:"get_red"},flixel_util_FlxColor.fromInt=function(e){return flixel_util_FlxColor._new(e)},flixel_util_FlxColor.fromRGB=function(e,t,i,l){null==l&&(l=255);var n=flixel_util_FlxColor._new(),s=l;return null==s&&(s=255),n&=-16711681,n|=(e>255?255:e<0?0:e)<<16,n&=-65281,n|=(t>255?255:t<0?0:t)<<8,n&=-256,n|=i>255?255:i<0?0:i,n&=16777215,n|=(s>255?255:s<0?0:s)<<24},flixel_util_FlxColor.fromRGBFloat=function(e,t,i,l){null==l&&(l=1);var n=flixel_util_FlxColor._new(),s=l;null==s&&(s=1);var a=Math.round(255*e);return n&=-16711681,n|=(a>255?255:a<0?0:a)<<16,n&=-65281,n|=((a=Math.round(255*t))>255?255:a<0?0:a)<<8,n&=-256,n|=(a=Math.round(255*i))>255?255:a<0?0:a,n&=16777215,n|=((a=Math.round(255*s))>255?255:a<0?0:a)<<24},flixel_util_FlxColor.fromCMYK=function(e,t,i,l,n){null==n&&(n=1);var s=flixel_util_FlxColor._new(),a=n;null==a&&(a=1);var r=(1-e)*(1-l),_=Math.round(255*r);s&=-16711681,s|=(_>255?255:_<0?0:_)<<16;r=(1-t)*(1-l);s&=-65281,s|=((_=Math.round(255*r))>255?255:_<0?0:_)<<8;r=(1-i)*(1-l);return s&=-256,s|=(_=Math.round(255*r))>255?255:_<0?0:_,s&=16777215,s|=((r=Math.round(255*a))>255?255:r<0?0:r)<<24},flixel_util_FlxColor.fromHSB=function(e,t,i,l){null==l&&(l=1);var n=flixel_util_FlxColor._new(),s=i*t,a=i-s,r=e,_=s,o=(r%=360)/60,h=_*(1-Math.abs(o%2-1))+a;switch(_+=a,0|o){case 0:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*_))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*a))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 1:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*a))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 2:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*h))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 3:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*_))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 4:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*_))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 5:var u=l;null==u&&(u=1);var d=Math.round(255*_);n&=-16711681,n|=(d>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*h))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24}return n},flixel_util_FlxColor.fromHSL=function(e,t,i,l){null==l&&(l=1);var n=flixel_util_FlxColor._new(),s=(1-Math.abs(2*i-1))*t,a=i-s/2,r=e,_=s,o=(r%=360)/60,h=_*(1-Math.abs(o%2-1))+a;switch(_+=a,0|o){case 0:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*_))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*a))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 1:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*a))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 2:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*h))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 3:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*_))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 4:null==(u=l)&&(u=1),n&=-16711681,n|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*_))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 5:var u=l;null==u&&(u=1);var d=Math.round(255*_);n&=-16711681,n|=(d>255?255:d<0?0:d)<<16,n&=-65281,n|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,n&=-256,n|=(d=Math.round(255*h))>255?255:d<0?0:d,n&=16777215,n|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24}return n},flixel_util_FlxColor.fromString=function(e){var t=null;if(e=StringTools.trim(e),flixel_util_FlxColor.COLOR_REGEX.match(e)){var i="0x"+flixel_util_FlxColor.COLOR_REGEX.matched(2);if(t=flixel_util_FlxColor._new(Std.parseInt(i)),8==i.length){var l=Math.round(255);t&=16777215,t|=(l>255?255:l<0?0:l)<<24}}else{e=e.toUpperCase();for(var n=haxe_ds_StringMap.keysIterator(flixel_util_FlxColor.colorLookup.h);n.hasNext();){var s=n.next();if(s.toUpperCase()==e){t=flixel_util_FlxColor._new(flixel_util_FlxColor.colorLookup.h[s]);break}}}return t},flixel_util_FlxColor.getHSBColorWheel=function(e){null==e&&(e=255);for(var t=[],i=0;i<360;){var l=i++;t.push(flixel_util_FlxColor.fromHSB(l,1,1,e))}return t},flixel_util_FlxColor.interpolate=function(e,t,i){null==i&&(i=.5);var l=((t>>16&255)-(e>>16&255))*i+(e>>16&255)|0,n=((t>>8&255)-(e>>8&255))*i+(e>>8&255)|0,s=((255&t)-(255&e))*i+(255&e)|0,a=((t>>24&255)-(e>>24&255))*i+(e>>24&255)|0;null==a&&(a=255);var r=flixel_util_FlxColor._new(),_=a;return null==_&&(_=255),r&=-16711681,r|=(l>255?255:l<0?0:l)<<16,r&=-65281,r|=(n>255?255:n<0?0:n)<<8,r&=-256,r|=s>255?255:s<0?0:s,r&=16777215,r|=(_>255?255:_<0?0:_)<<24},flixel_util_FlxColor.gradient=function(e,t,i,l){var n=[];null==l&&(l=function(e){return e});for(var s=0,a=i;s<a;){var r=s++,_=l(r/(i-1));null==_&&(_=.5);var o=((t>>16&255)-(e>>16&255))*_+(e>>16&255)|0,h=((t>>8&255)-(e>>8&255))*_+(e>>8&255)|0,u=((255&t)-(255&e))*_+(255&e)|0,d=((t>>24&255)-(e>>24&255))*_+(e>>24&255)|0;null==d&&(d=255);var c=flixel_util_FlxColor._new(),p=d;null==p&&(p=255),c&=-16711681,c|=(o>255?255:o<0?0:o)<<16,c&=-65281,c|=(h>255?255:h<0?0:h)<<8,c&=-256,c|=u>255?255:u<0?0:u,c&=16777215,c|=(p>255?255:p<0?0:p)<<24,n[r]=c}return n},flixel_util_FlxColor.multiply=function(e,t){var i=(e>>16&255)/255*((t>>16&255)/255),l=(e>>8&255)/255*((t>>8&255)/255),n=(255&e)/255*((255&t)/255),s=flixel_util_FlxColor._new(),a=1;null==a&&(a=1);var r=Math.round(255*i);return s&=-16711681,s|=(r>255?255:r<0?0:r)<<16,s&=-65281,s|=((r=Math.round(255*l))>255?255:r<0?0:r)<<8,s&=-256,s|=(r=Math.round(255*n))>255?255:r<0?0:r,s&=16777215,s|=((r=Math.round(255*a))>255?255:r<0?0:r)<<24},flixel_util_FlxColor.add=function(e,t){var i=(e>>16&255)+(t>>16&255),l=(e>>8&255)+(t>>8&255),n=(255&e)+(255&t),s=flixel_util_FlxColor._new(),a=255;return null==a&&(a=255),s&=-16711681,s|=(i>255?255:i<0?0:i)<<16,s&=-65281,s|=(l>255?255:l<0?0:l)<<8,s&=-256,s|=n>255?255:n<0?0:n,s&=16777215,s|=(a>255?255:a<0?0:a)<<24},flixel_util_FlxColor.subtract=function(e,t){var i=(e>>16&255)-(t>>16&255),l=(e>>8&255)-(t>>8&255),n=(255&e)-(255&t),s=flixel_util_FlxColor._new(),a=255;return null==a&&(a=255),s&=-16711681,s|=(i>255?255:i<0?0:i)<<16,s&=-65281,s|=(l>255?255:l<0?0:l)<<8,s&=-256,s|=n>255?255:n<0?0:n,s&=16777215,s|=(a>255?255:a<0?0:a)<<24},flixel_util_FlxColor.getComplementHarmony=function(e){return flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap(180+(0|flixel_util_FlxColor.get_hue(e)),0,350),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255)},flixel_util_FlxColor.getAnalogousHarmony=function(e,t){return null==t&&(t=30),{original:e,warmer:flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap((0|flixel_util_FlxColor.get_hue(e))-t,0,350),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255),colder:flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap((0|flixel_util_FlxColor.get_hue(e))+t,0,350),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255)}},flixel_util_FlxColor.getSplitComplementHarmony=function(e,t){null==t&&(t=30);var i=flixel_math_FlxMath.wrap(180+(0|flixel_util_FlxColor.get_hue(e)),0,350);return{original:e,warmer:flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap(i-t,0,350),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255),colder:flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap(i+t,0,350),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255)}},flixel_util_FlxColor.getTriadicHarmony=function(e){var t=flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap(120+(0|flixel_util_FlxColor.get_hue(e)),0,359),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255);return{color1:e,color2:t,color3:flixel_util_FlxColor.fromHSB(flixel_math_FlxMath.wrap(120+(0|flixel_util_FlxColor.get_hue(t)),0,359),(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),(e>>24&255)/255)}},flixel_util_FlxColor.to24Bit=function(e){return 16777215&e},flixel_util_FlxColor.toHexString=function(e,t,i){null==i&&(i=!0),null==t&&(t=!0);var l=t?StringTools.hex(e>>24&255,2):"";return(i?"0x":"")+l+StringTools.hex(e>>16&255,2)+StringTools.hex(e>>8&255,2)+StringTools.hex(255&e,2)},flixel_util_FlxColor.toWebString=function(e){var t=!1,i=!1;null==i&&(i=!0),null==t&&(t=!0);var l=t?StringTools.hex(e>>24&255,2):"";return"#"+(i?"0x":"")+l+StringTools.hex(e>>16&255,2)+StringTools.hex(e>>8&255,2)+StringTools.hex(255&e,2)},flixel_util_FlxColor.getColorInfo=function(e){var t="0x"+StringTools.hex(e>>24&255,2)+StringTools.hex(e>>16&255,2)+StringTools.hex(e>>8&255,2)+StringTools.hex(255&e,2)+"\n";return t+="Alpha: "+(e>>24&255)+" Red: "+(e>>16&255)+" Green: "+(e>>8&255)+" Blue: "+(255&e)+"\n",t+="Hue: "+flixel_math_FlxMath.roundDecimal(flixel_util_FlxColor.get_hue(e),2)+" Saturation: "+flixel_math_FlxMath.roundDecimal((Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),2)+" Brightness: "+flixel_math_FlxMath.roundDecimal(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),2)+" Lightness: "+flixel_math_FlxMath.roundDecimal((Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))+Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/2,2)},flixel_util_FlxColor.getDarkened=function(e,t){null==t&&(t=.2);var i=t<0?0:t;t=i>1?1:i;var l=e,n=(Math.max((l>>16&255)/255,Math.max((l>>8&255)/255,(255&l)/255))+Math.min((l>>16&255)/255,Math.min((l>>8&255)/255,(255&l)/255)))/2*(1-t),s=flixel_util_FlxColor.get_hue(l),a=(l>>24&255)/255,r=(1-Math.abs(2*n-1))*((Math.max((l>>16&255)/255,Math.max((l>>8&255)/255,(255&l)/255))-Math.min((l>>16&255)/255,Math.min((l>>8&255)/255,(255&l)/255)))/Math.max((l>>16&255)/255,Math.max((l>>8&255)/255,(255&l)/255))),_=n-r/2,o=s,h=r,u=(o%=360)/60,d=h*(1-Math.abs(u%2-1))+_;switch(h+=_,0|u){case 0:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*_))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 1:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*_))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 2:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*d))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 3:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*h))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 4:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*h))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 5:var c=a;null==c&&(c=1),l&=-16711681,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*d))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24}return l},flixel_util_FlxColor.getLightened=function(e,t){null==t&&(t=.2);var i=t<0?0:t;t=i>1?1:i;var l=e,n=(Math.max((l>>16&255)/255,Math.max((l>>8&255)/255,(255&l)/255))+Math.min((l>>16&255)/255,Math.min((l>>8&255)/255,(255&l)/255)))/2+(1-(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))+Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/2)*t,s=flixel_util_FlxColor.get_hue(l),a=(l>>24&255)/255,r=(1-Math.abs(2*n-1))*((Math.max((l>>16&255)/255,Math.max((l>>8&255)/255,(255&l)/255))-Math.min((l>>16&255)/255,Math.min((l>>8&255)/255,(255&l)/255)))/Math.max((l>>16&255)/255,Math.max((l>>8&255)/255,(255&l)/255))),_=n-r/2,o=s,h=r,u=(o%=360)/60,d=h*(1-Math.abs(u%2-1))+_;switch(h+=_,0|u){case 0:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*_))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 1:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*_))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 2:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*d))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 3:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*h))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 4:null==(c=a)&&(c=1),l&=-16711681,l|=((n=Math.round(255*d))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*h))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24;break;case 5:var c=a;null==c&&(c=1),l&=-16711681,l|=((n=Math.round(255*h))>255?255:n<0?0:n)<<16,l&=-65281,l|=((n=Math.round(255*_))>255?255:n<0?0:n)<<8,l&=-256,l|=(n=Math.round(255*d))>255?255:n<0?0:n,l&=16777215,l|=((n=Math.round(255*c))>255?255:n<0?0:n)<<24}return l},flixel_util_FlxColor.getInverted=function(e){var t=e>>24&255,i=255-(e>>16&255),l=255-(e>>8&255),n=255-(255&e),s=flixel_util_FlxColor._new(),a=255;null==a&&(a=255),s&=-16711681,s|=(i>255?255:i<0?0:i)<<16,s&=-65281,s|=(l>255?255:l<0?0:l)<<8,s&=-256,s|=n>255?255:n<0?0:n,s&=16777215;var r=s|=(a>255?255:a<0?0:a)<<24;return r&=16777215,r|=(t>255?255:t<0?0:t)<<24},flixel_util_FlxColor.setRGB=function(e,t,i,l,n){return null==n&&(n=255),e&=-16711681,e|=(t>255?255:t<0?0:t)<<16,e&=-65281,e|=(i>255?255:i<0?0:i)<<8,e&=-256,e|=l>255?255:l<0?0:l,e&=16777215,e|=(n>255?255:n<0?0:n)<<24},flixel_util_FlxColor.setRGBFloat=function(e,t,i,l,n){null==n&&(n=1);var s=Math.round(255*t);return e&=-16711681,e|=(s>255?255:s<0?0:s)<<16,e&=-65281,e|=((s=Math.round(255*i))>255?255:s<0?0:s)<<8,e&=-256,e|=(s=Math.round(255*l))>255?255:s<0?0:s,e&=16777215,e|=((s=Math.round(255*n))>255?255:s<0?0:s)<<24},flixel_util_FlxColor.setCMYK=function(e,t,i,l,n,s){null==s&&(s=1);var a=(1-t)*(1-n),r=Math.round(255*a);e&=-16711681,e|=(r>255?255:r<0?0:r)<<16;a=(1-i)*(1-n);e&=-65281,e|=((r=Math.round(255*a))>255?255:r<0?0:r)<<8;a=(1-l)*(1-n);return e&=-256,e|=(r=Math.round(255*a))>255?255:r<0?0:r,e&=16777215,e|=((a=Math.round(255*s))>255?255:a<0?0:a)<<24},flixel_util_FlxColor.setHSB=function(e,t,i,l,n){var s=l*i,a=l-s,r=t,_=s,o=(r%=360)/60,h=_*(1-Math.abs(o%2-1))+a;switch(_+=a,0|o){case 0:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*a))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 1:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*a))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 2:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*h))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 3:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*_))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 4:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*_))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 5:var u=n;null==u&&(u=1);var d=Math.round(255*_);e&=-16711681,e|=(d>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*h))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24}return e},flixel_util_FlxColor.setHSL=function(e,t,i,l,n){var s=(1-Math.abs(2*l-1))*i,a=l-s/2,r=t,_=s,o=(r%=360)/60,h=_*(1-Math.abs(o%2-1))+a;switch(_+=a,0|o){case 0:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*a))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 1:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*a))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 2:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*h))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 3:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*_))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 4:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*_))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 5:var u=n;null==u&&(u=1);var d=Math.round(255*_);e&=-16711681,e|=(d>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*h))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24}return e},flixel_util_FlxColor.setHSChromaMatch=function(e,t,i,l,n,s){var a=(t%=360)/60,r=l*(1-Math.abs(a%2-1))+n;switch(l+=n,0|a){case 0:null==(_=s)&&(_=1),e&=-16711681,e|=((o=Math.round(255*l))>255?255:o<0?0:o)<<16,e&=-65281,e|=((o=Math.round(255*r))>255?255:o<0?0:o)<<8,e&=-256,e|=(o=Math.round(255*n))>255?255:o<0?0:o,e&=16777215,e|=((o=Math.round(255*_))>255?255:o<0?0:o)<<24;break;case 1:null==(_=s)&&(_=1),e&=-16711681,e|=((o=Math.round(255*r))>255?255:o<0?0:o)<<16,e&=-65281,e|=((o=Math.round(255*l))>255?255:o<0?0:o)<<8,e&=-256,e|=(o=Math.round(255*n))>255?255:o<0?0:o,e&=16777215,e|=((o=Math.round(255*_))>255?255:o<0?0:o)<<24;break;case 2:null==(_=s)&&(_=1),e&=-16711681,e|=((o=Math.round(255*n))>255?255:o<0?0:o)<<16,e&=-65281,e|=((o=Math.round(255*l))>255?255:o<0?0:o)<<8,e&=-256,e|=(o=Math.round(255*r))>255?255:o<0?0:o,e&=16777215,e|=((o=Math.round(255*_))>255?255:o<0?0:o)<<24;break;case 3:null==(_=s)&&(_=1),e&=-16711681,e|=((o=Math.round(255*n))>255?255:o<0?0:o)<<16,e&=-65281,e|=((o=Math.round(255*r))>255?255:o<0?0:o)<<8,e&=-256,e|=(o=Math.round(255*l))>255?255:o<0?0:o,e&=16777215,e|=((o=Math.round(255*_))>255?255:o<0?0:o)<<24;break;case 4:null==(_=s)&&(_=1),e&=-16711681,e|=((o=Math.round(255*r))>255?255:o<0?0:o)<<16,e&=-65281,e|=((o=Math.round(255*n))>255?255:o<0?0:o)<<8,e&=-256,e|=(o=Math.round(255*l))>255?255:o<0?0:o,e&=16777215,e|=((o=Math.round(255*_))>255?255:o<0?0:o)<<24;break;case 5:var _=s;null==_&&(_=1);var o=Math.round(255*l);e&=-16711681,e|=(o>255?255:o<0?0:o)<<16,e&=-65281,e|=((o=Math.round(255*n))>255?255:o<0?0:o)<<8,e&=-256,e|=(o=Math.round(255*r))>255?255:o<0?0:o,e&=16777215,e|=((o=Math.round(255*_))>255?255:o<0?0:o)<<24}return e},flixel_util_FlxColor._new=function(e){return null==e&&(e=0),e},flixel_util_FlxColor.getThis=function(e){return e},flixel_util_FlxColor.validate=function(e){},flixel_util_FlxColor.get_red=function(e){return e>>16&255},flixel_util_FlxColor.get_green=function(e){return e>>8&255},flixel_util_FlxColor.get_blue=function(e){return 255&e},flixel_util_FlxColor.get_alpha=function(e){return e>>24&255},flixel_util_FlxColor.get_redFloat=function(e){return(e>>16&255)/255},flixel_util_FlxColor.get_greenFloat=function(e){return(e>>8&255)/255},flixel_util_FlxColor.get_blueFloat=function(e){return(255&e)/255},flixel_util_FlxColor.get_alphaFloat=function(e){return(e>>24&255)/255},flixel_util_FlxColor.set_red=function(e,t){return e&=-16711681,e|=(t>255?255:t<0?0:t)<<16,t},flixel_util_FlxColor.set_green=function(e,t){return e&=-65281,e|=(t>255?255:t<0?0:t)<<8,t},flixel_util_FlxColor.set_blue=function(e,t){return e&=-256,e|=t>255?255:t<0?0:t,t},flixel_util_FlxColor.set_alpha=function(e,t){return e&=16777215,e|=(t>255?255:t<0?0:t)<<24,t},flixel_util_FlxColor.set_redFloat=function(e,t){var i=Math.round(255*t);return e&=-16711681,e|=(i>255?255:i<0?0:i)<<16,t},flixel_util_FlxColor.set_greenFloat=function(e,t){var i=Math.round(255*t);return e&=-65281,e|=(i>255?255:i<0?0:i)<<8,t},flixel_util_FlxColor.set_blueFloat=function(e,t){var i=Math.round(255*t);return e&=-256,e|=i>255?255:i<0?0:i,t},flixel_util_FlxColor.set_alphaFloat=function(e,t){var i=Math.round(255*t);return e&=16777215,e|=(i>255?255:i<0?0:i)<<24,t},flixel_util_FlxColor.get_cyan=function(e){return(1-(e>>16&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.get_magenta=function(e){return(1-(e>>8&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.get_yellow=function(e){return(1-(255&e)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.get_black=function(e){return 1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.set_cyan=function(e,t){var i=(1-(e>>8&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),l=(1-(255&e)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),n=1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),s=(e>>24&255)/255;null==s&&(s=1);var a=(1-t)*(1-n),r=Math.round(255*a);e&=-16711681,e|=(r>255?255:r<0?0:r)<<16;a=(1-i)*(1-n);e&=-65281,e|=((r=Math.round(255*a))>255?255:r<0?0:r)<<8;a=(1-l)*(1-n);return e&=-256,e|=(r=Math.round(255*a))>255?255:r<0?0:r,e&=16777215,e|=((a=Math.round(255*s))>255?255:a<0?0:a)<<24,t},flixel_util_FlxColor.set_magenta=function(e,t){var i=(1-(255&e)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),l=1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),n=(e>>24&255)/255;null==n&&(n=1);var s=(1-(1-(e>>16&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)))*(1-l),a=Math.round(255*s);e&=-16711681,e|=(a>255?255:a<0?0:a)<<16;s=(1-t)*(1-l);e&=-65281,e|=((a=Math.round(255*s))>255?255:a<0?0:a)<<8;s=(1-i)*(1-l);return e&=-256,e|=(a=Math.round(255*s))>255?255:a<0?0:a,e&=16777215,e|=((s=Math.round(255*n))>255?255:s<0?0:s)<<24,t},flixel_util_FlxColor.set_yellow=function(e,t){var i=(1-(e>>8&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),l=1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),n=(e>>24&255)/255;null==n&&(n=1);var s=(1-(1-(e>>16&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)))*(1-l),a=Math.round(255*s);e&=-16711681,e|=(a>255?255:a<0?0:a)<<16;s=(1-i)*(1-l);e&=-65281,e|=((a=Math.round(255*s))>255?255:a<0?0:a)<<8;s=(1-t)*(1-l);return e&=-256,e|=(a=Math.round(255*s))>255?255:a<0?0:a,e&=16777215,e|=((s=Math.round(255*n))>255?255:s<0?0:s)<<24,t},flixel_util_FlxColor.set_black=function(e,t){var i=(1-(e>>8&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),l=(1-(255&e)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),n=(e>>24&255)/255;null==n&&(n=1);var s=(1-(1-(e>>16&255)/255-(1-Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)))*(1-t),a=Math.round(255*s);e&=-16711681,e|=(a>255?255:a<0?0:a)<<16;s=(1-i)*(1-t);e&=-65281,e|=((a=Math.round(255*s))>255?255:a<0?0:a)<<8;s=(1-l)*(1-t);return e&=-256,e|=(a=Math.round(255*s))>255?255:a<0?0:a,e&=16777215,e|=((s=Math.round(255*n))>255?255:s<0?0:s)<<24,t},flixel_util_FlxColor.get_hue=function(e){var t=0;return 0!=Math.atan2(Math.sqrt(3)*((e>>8&255)/255-(255&e)/255),(e>>16&255)/255*2-(e>>8&255)/255-(255&e)/255)&&(t=180/Math.PI*Math.atan2(Math.sqrt(3)*((e>>8&255)/255-(255&e)/255),(e>>16&255)/255*2-(e>>8&255)/255-(255&e)/255)),t<0?t+360:t},flixel_util_FlxColor.get_brightness=function(e){return Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.get_saturation=function(e){return(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.get_lightness=function(e){return(Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))+Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/2},flixel_util_FlxColor.set_hue=function(e,t){var i=Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),l=(e>>24&255)/255,n=i*((Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))),s=i-n,a=t,r=n,_=(a%=360)/60,o=r*(1-Math.abs(_%2-1))+s;switch(r+=s,0|_){case 0:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*s))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 1:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*s))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 2:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*o))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 3:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*r))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 4:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*r))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 5:var h=l;null==h&&(h=1);var u=Math.round(255*r);e&=-16711681,e|=(u>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*o))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24}return t},flixel_util_FlxColor.set_saturation=function(e,t){var i=flixel_util_FlxColor.get_hue(e),l=Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255)),n=(e>>24&255)/255,s=l*t,a=l-s,r=i,_=s,o=(r%=360)/60,h=_*(1-Math.abs(o%2-1))+a;switch(_+=a,0|o){case 0:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*a))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 1:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*a))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 2:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*_))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*h))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 3:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*_))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 4:null==(u=n)&&(u=1),e&=-16711681,e|=((d=Math.round(255*h))>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*_))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24;break;case 5:var u=n;null==u&&(u=1);var d=Math.round(255*_);e&=-16711681,e|=(d>255?255:d<0?0:d)<<16,e&=-65281,e|=((d=Math.round(255*a))>255?255:d<0?0:d)<<8,e&=-256,e|=(d=Math.round(255*h))>255?255:d<0?0:d,e&=16777215,e|=((d=Math.round(255*u))>255?255:d<0?0:d)<<24}return t},flixel_util_FlxColor.set_brightness=function(e,t){var i=flixel_util_FlxColor.get_hue(e),l=(e>>24&255)/255,n=t*((Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))),s=t-n,a=i,r=n,_=(a%=360)/60,o=r*(1-Math.abs(_%2-1))+s;switch(r+=s,0|_){case 0:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*s))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 1:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*s))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 2:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*o))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 3:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*r))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 4:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*r))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 5:var h=l;null==h&&(h=1);var u=Math.round(255*r);e&=-16711681,e|=(u>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*o))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24}return t},flixel_util_FlxColor.set_lightness=function(e,t){var i=flixel_util_FlxColor.get_hue(e),l=(e>>24&255)/255,n=(1-Math.abs(2*t-1))*((Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))-Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255)))/Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))),s=t-n/2,a=i,r=n,_=(a%=360)/60,o=r*(1-Math.abs(_%2-1))+s;switch(r+=s,0|_){case 0:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*s))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 1:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*s))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 2:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*r))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*o))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 3:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*r))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 4:null==(h=l)&&(h=1),e&=-16711681,e|=((u=Math.round(255*o))>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*r))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24;break;case 5:var h=l;null==h&&(h=1);var u=Math.round(255*r);e&=-16711681,e|=(u>255?255:u<0?0:u)<<16,e&=-65281,e|=((u=Math.round(255*s))>255?255:u<0?0:u)<<8,e&=-256,e|=(u=Math.round(255*o))>255?255:u<0?0:u,e&=16777215,e|=((u=Math.round(255*h))>255?255:u<0?0:u)<<24}return t},flixel_util_FlxColor.maxColor=function(e){return Math.max((e>>16&255)/255,Math.max((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.minColor=function(e){return Math.min((e>>16&255)/255,Math.min((e>>8&255)/255,(255&e)/255))},flixel_util_FlxColor.boundChannel=function(e,t){return t>255?255:t<0?0:t};var flixel_util_FlxColorTransformUtil=function(){};$hxClasses["flixel.util.FlxColorTransformUtil"]=flixel_util_FlxColorTransformUtil,flixel_util_FlxColorTransformUtil.__name__="flixel.util.FlxColorTransformUtil",flixel_util_FlxColorTransformUtil.setMultipliers=function(e,t,i,l,n){return e.redMultiplier=t,e.greenMultiplier=i,e.blueMultiplier=l,e.alphaMultiplier=n,e},flixel_util_FlxColorTransformUtil.setOffsets=function(e,t,i,l,n){return e.redOffset=t,e.greenOffset=i,e.blueOffset=l,e.alphaOffset=n,e},flixel_util_FlxColorTransformUtil.hasRGBMultipliers=function(e){return 1!=e.redMultiplier||1!=e.greenMultiplier||1!=e.blueMultiplier},flixel_util_FlxColorTransformUtil.hasRGBAMultipliers=function(e){return!!flixel_util_FlxColorTransformUtil.hasRGBMultipliers(e)||1!=e.alphaMultiplier},flixel_util_FlxColorTransformUtil.hasRGBOffsets=function(e){return 0!=e.redOffset||0!=e.greenOffset||0!=e.blueOffset},flixel_util_FlxColorTransformUtil.hasRGBAOffsets=function(e){return!!flixel_util_FlxColorTransformUtil.hasRGBOffsets(e)||0!=e.alphaOffset};var flixel_util_FlxDestroyUtil=function(){};$hxClasses["flixel.util.FlxDestroyUtil"]=flixel_util_FlxDestroyUtil,flixel_util_FlxDestroyUtil.__name__="flixel.util.FlxDestroyUtil",flixel_util_FlxDestroyUtil.destroy=function(e){return null!=e&&e.destroy(),null},flixel_util_FlxDestroyUtil.destroyArray=function(e){if(null!=e){for(var t=0;t<e.length;){var i=e[t];++t,flixel_util_FlxDestroyUtil.destroy(i)}e.splice(0,e.length)}return null},flixel_util_FlxDestroyUtil.put=function(e){return null!=e&&e.put(),null},flixel_util_FlxDestroyUtil.putArray=function(e){if(null!=e){for(var t=0;t<e.length;){var i=e[t];++t,flixel_util_FlxDestroyUtil.put(i)}e.splice(0,e.length)}return null},flixel_util_FlxDestroyUtil.dispose=function(e){return null!=e&&e.dispose(),null},flixel_util_FlxDestroyUtil.disposeIfNotEqual=function(e,t,i){return null==e||e.width==t&&e.height==i?null!=e?e:null:(e.dispose(),null)},flixel_util_FlxDestroyUtil.removeChild=function(e,t){return null!=e&&null!=t&&e.contains(t)&&e.removeChild(t),null};var flixel_util_FlxGradient=function(){};$hxClasses["flixel.util.FlxGradient"]=flixel_util_FlxGradient,flixel_util_FlxGradient.__name__="flixel.util.FlxGradient",flixel_util_FlxGradient.createGradientMatrix=function(e,t,i,l,n){null==n&&(n=90),null==l&&(l=1);var s=new openfl_geom_Matrix,a=n*(Math.PI/180);s.createGradientBox(e,UInt.toFloat(t)/UInt.toFloat(l),a,0,0);for(var r=[],_=0,o=i.length;_<o;){var h=_++;r.push((i[h]>>24&255)/255)}var u=[];if(2==i.length)u[0]=0,u[1]=255;else{var d=255/(i.length-1)|0;u.push(0);for(var _=1,o=i.length-1;_<o;){var c=_++;u.push(c*d)}u.push(255)}return{matrix:s,alpha:r,ratio:u}},flixel_util_FlxGradient.createGradientArray=function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=90),null==l&&(l=1);for(var a=flixel_util_FlxGradient.createGradientBitmapData(e,t,i,l,n,s),r=[],_=0,o=a.height;_<o;){var h=_++;r.push(a.getPixel32(0,h))}return r},flixel_util_FlxGradient.createGradientFlxSprite=function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=90),null==l&&(l=1);var a=flixel_util_FlxGradient.createGradientBitmapData(e,t,i,l,n,s),r=new flixel_FlxSprite;return r.set_pixels(a),r},flixel_util_FlxGradient.createGradientBitmapData=function(e,t,i,l,n,s){null==s&&(s=!0),null==n&&(n=90),null==l&&(l=1),UInt.gt(1,e)&&(e=1),UInt.gt(1,t)&&(t=1);var a=flixel_util_FlxGradient.createGradientMatrix(e,t,i,l,n),r=new openfl_display_Shape,_=s?1:0;r.get_graphics().beginGradientFill(0,i,a.alpha,a.ratio,a.matrix,0,_,0),r.get_graphics().drawRect(0,0,UInt.toFloat(e),UInt.toFloat(t)/UInt.toFloat(l));var o=new openfl_display_BitmapData(e,t,!0,0);if(1==l)o.draw(r);else{var h=new openfl_display_Bitmap(new openfl_display_BitmapData(e,UInt.toFloat(t)/UInt.toFloat(l)|0,!0,0));h.get_bitmapData().draw(r),h.set_scaleY(UInt.toFloat(l));var u=new openfl_geom_Matrix;u.scale(h.get_scaleX(),h.get_scaleY()),o.draw(h,u)}return o},flixel_util_FlxGradient.overlayGradientOnFlxSprite=function(e,t,i,l,n,s,a,r,_){null==_&&(_=!0),null==r&&(r=90),null==a&&(a=1),null==s&&(s=0),null==n&&(n=0),t>e.get_width()&&(t=0|e.get_width()),i>e.get_height()&&(i=0|e.get_height());var o=flixel_util_FlxGradient.createGradientFlxSprite(t,i,l,a,r,_);return e.stamp(o,n,s),o.destroy(),e},flixel_util_FlxGradient.overlayGradientOnBitmapData=function(e,t,i,l,n,s,a,r,_){null==_&&(_=!0),null==r&&(r=90),null==a&&(a=1),null==s&&(s=0),null==n&&(n=0),t>e.width&&(t=e.width),i>e.height&&(i=e.height);var o=flixel_util_FlxGradient.createGradientBitmapData(t,i,l,a,r,_);return e.copyPixels(o,new openfl_geom_Rectangle(0,0,o.width,o.height),new openfl_geom_Point(n,s),null,null,!0),o.dispose(),e};var flixel_util_FlxHorizontalAlign=$hxEnums["flixel.util.FlxHorizontalAlign"]={__ename__:"flixel.util.FlxHorizontalAlign",__constructs__:["LEFT","CENTER","RIGHT"],LEFT:{_hx_index:0,__enum__:"flixel.util.FlxHorizontalAlign",toString:$estr},CENTER:{_hx_index:1,__enum__:"flixel.util.FlxHorizontalAlign",toString:$estr},RIGHT:{_hx_index:2,__enum__:"flixel.util.FlxHorizontalAlign",toString:$estr}},flixel_util_FlxPath=function(e){this._firstUpdate=!1,this._wasObjectImmovable=null,this._autoRotate=!1,this._inc=1,this.finished=!1,this.nodeIndex=0,this.active=!1,this.autoCenter=!0,this.angle=0,this.speed=0,this._nodes=null!=e?e.slice():[]};$hxClasses["flixel.util.FlxPath"]=flixel_util_FlxPath,flixel_util_FlxPath.__name__="flixel.util.FlxPath",flixel_util_FlxPath.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util_FlxPath.prototype={_nodes:null,speed:null,angle:null,autoCenter:null,active:null,onComplete:null,nodeIndex:null,finished:null,_mode:null,_inc:null,_autoRotate:null,_wasObjectImmovable:null,_firstUpdate:null,object:null,reset:function(){return this.autoCenter=!0,this},setProperties:function(e,t,i){return null==i&&(i=!1),null==t&&(t=0),null==e&&(e=100),this.speed=Math.abs(e),this._mode=t,this._autoRotate=i,this},start:function(e,t,i,l,n){return null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=0),null==t&&(t=100),null!=e&&(this._nodes=n?e:e.slice()),this.setProperties(t,i,l),this._nodes.length>0&&this.restart(),this},restart:function(){return this.finished=!1,this._firstUpdate=!0,this.active=this._nodes.length>0,this.active?(1==this._mode||256==this._mode?(this.nodeIndex=this._nodes.length-1,this._inc=-1):(this.nodeIndex=0,this._inc=1),this):this},setNode:function(e){return e<0?e=0:e>this._nodes.length-1&&(e=this._nodes.length-1),this.nodeIndex=e,this.advancePath(),this},update:function(e){if(null!=this.object){if(this._firstUpdate&&(this._wasObjectImmovable=this.object.immovable,this.object.set_immovable(!0),this._firstUpdate=!1),flixel_util_FlxPath._point.set_x(this.object.x),flixel_util_FlxPath._point.set_y(this.object.y),this.autoCenter){var t=flixel_util_FlxPath._point,i=.5*this.object.get_width();null==(_=.5*this.object.get_height())&&(_=0),null==i&&(i=0),(o=t).set_x(o.x+i),(o=t).set_y(o.y+_)}var l=this._nodes[this.nodeIndex],n=l.x-flixel_util_FlxPath._point.x,s=l.y-flixel_util_FlxPath._point.y,a=(65536&this._mode)>0,r=(1048576&this._mode)>0;if(a?(n>0?n:-n)<this.speed*e&&(l=this.advancePath()):r?(s>0?s:-s)<this.speed*e&&(l=this.advancePath()):Math.sqrt(n*n+s*s)<this.speed*e&&(l=this.advancePath()),null!=this.object&&0!=this.speed){if(flixel_util_FlxPath._point.set_x(this.object.x),flixel_util_FlxPath._point.set_y(this.object.y),this.autoCenter){var t=flixel_util_FlxPath._point,i=.5*this.object.get_width(),_=.5*this.object.get_height();null==_&&(_=0),null==i&&(i=0);var o=t;o.set_x(o.x+i),(o=t).set_y(o.y+_)}var t=flixel_util_FlxPath._point,h=Math.abs(t.x-l.x)<=1e-7&&Math.abs(t.y-l.y)<=1e-7;l._weak&&l.put(),h?this.object.velocity.set():this.calculateVelocity(l,a,r),this._autoRotate&&(this.object.angularVelocity=0,this.object.angularAcceleration=0,this.object.set_angle(this.angle)),this.finished&&this.cancel()}}},calculateVelocity:function(e,t,i){if(t||flixel_util_FlxPath._point.y==e.y)this.object.velocity.set_x(flixel_util_FlxPath._point.x<e.x?this.speed:-this.speed),this.angle=this.object.velocity.x<0?-90:90,t||this.object.velocity.set_y(0);else if(i||flixel_util_FlxPath._point.x==e.x)this.object.velocity.set_y(flixel_util_FlxPath._point.y<e.y?this.speed:-this.speed),this.angle=this.object.velocity.y<0?0:180,i||this.object.velocity.set_x(0);else{this.object.velocity.set_x(flixel_util_FlxPath._point.x<e.x?this.speed:-this.speed),this.object.velocity.set_y(flixel_util_FlxPath._point.y<e.y?this.speed:-this.speed),this.angle=flixel_util_FlxPath._point.angleBetween(e),this.object.velocity.set(0,-this.speed);var l=this.object.velocity,n=0,s=0;null==s&&(s=0),null==n&&(n=0);var a=n,r=s;null==r&&(r=0),null==a&&(a=0);var _=flixel_math_FlxPoint._pool.get().set(a,r);_._inPool=!1;var o=_;o._weak=!0,l.rotate(o,this.angle)}},advancePath:function(e){if(null==e&&(e=!0),e){var t=this._nodes[this.nodeIndex];if(null!=t&&(0==(1048576&this._mode)&&(this.object.set_x(t.x),this.autoCenter&&(i=this.object).set_x(i.x-.5*this.object.get_width())),0==(65536&this._mode)&&(this.object.set_y(t.y),this.autoCenter))){var i=this.object;i.set_y(i.y-.5*this.object.get_height())}}var l=!1;return this.nodeIndex+=this._inc,(1&this._mode)>0?this.nodeIndex<0&&(this.nodeIndex=0,l=!0,this.onEnd()):(16&this._mode)>0?this.nodeIndex>=this._nodes.length&&(l=!0,this.nodeIndex=0):(256&this._mode)>0?this.nodeIndex<0&&(this.nodeIndex=this._nodes.length-1,l=!0,this.nodeIndex<0&&(this.nodeIndex=0)):(4096&this._mode)>0?this._inc>0?this.nodeIndex>=this._nodes.length&&(this.nodeIndex=this._nodes.length-2,l=!0,this.nodeIndex<0&&(this.nodeIndex=0),this._inc=-this._inc):this.nodeIndex<0&&(this.nodeIndex=1,l=!0,this.nodeIndex>=this._nodes.length&&(this.nodeIndex=this._nodes.length-1),this.nodeIndex<0&&(this.nodeIndex=0),this._inc=-this._inc):this.nodeIndex>=this._nodes.length&&(this.nodeIndex=this._nodes.length-1,l=!0,this.onEnd()),l&&null!=this.onComplete&&this.onComplete(this),this._nodes[this.nodeIndex]},cancel:function(){return this.onEnd(),null!=this.object&&this.object.velocity.set(0,0),this},onEnd:function(){this.finished=!0,this.active=!1,null!=this._wasObjectImmovable&&this.object.set_immovable(this._wasObjectImmovable),this._wasObjectImmovable=null},destroy:function(){flixel_util_FlxDestroyUtil.putArray(this._nodes),this._nodes=null,this.object=null,this.onComplete=null},add:function(e,t){var i=this._nodes,l=e,n=t;null==n&&(n=0),null==l&&(l=0);var s=flixel_math_FlxPoint._pool.get().set(l,n);return s._inPool=!1,i.push(s),this},addAt:function(e,t,i){if(i<0)return this;var l=this._nodes,n=e,s=t;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);return a._inPool=!1,l.splice(i,0,a),this},addPoint:function(e,t){if(null==t&&(t=!1),t)this._nodes.push(e);else{var i=this._nodes,l=e.x,n=e.y;null==n&&(n=0),null==l&&(l=0);var s=flixel_math_FlxPoint._pool.get().set(l,n);s._inPool=!1,i.push(s)}return this},addPointAt:function(e,t,i){if(null==i&&(i=!1),t<0)return this;if(i)this._nodes.splice(t,0,e);else{var l=this._nodes,n=e.x,s=e.y;null==s&&(s=0),null==n&&(n=0);var a=flixel_math_FlxPoint._pool.get().set(n,s);a._inPool=!1,l.splice(t,0,a)}return this},remove:function(e){var t=this._nodes.indexOf(e);return t>=0?this._nodes.splice(t,1)[0]:null},removeAt:function(e){return this._nodes.length<=0?null:(e>=this._nodes.length-1&&this._nodes.pop(),this._nodes.splice(e,1)[0])},head:function(){return this._nodes.length>0?this._nodes[0]:null},tail:function(){return this._nodes.length>0?this._nodes[this._nodes.length-1]:null},get_nodes:function(){return this._nodes},set_nodes:function(e){return null!=e&&(this._nodes=e),this._nodes},__class__:flixel_util_FlxPath,__properties__:{set_nodes:"set_nodes",get_nodes:"get_nodes"}};var flixel_util_FlxPool=function(e){this._count=0,this._pool=[],this._class=e};$hxClasses["flixel.util.FlxPool"]=flixel_util_FlxPool,flixel_util_FlxPool.__name__="flixel.util.FlxPool",flixel_util_FlxPool.__interfaces__=[flixel_util_IFlxPool],flixel_util_FlxPool.prototype={_pool:null,_class:null,_count:null,get:function(){return 0==this._count?Type.createInstance(this._class,[]):this._pool[--this._count]},put:function(e){if(null!=e){var t=this._pool.indexOf(e);(-1==t||t>=this._count)&&(e.destroy(),this._pool[this._count++]=e)}},putUnsafe:function(e){null!=e&&(e.destroy(),this._pool[this._count++]=e)},preAllocate:function(e){for(;e-- >0;)this._pool[this._count++]=Type.createInstance(this._class,[])},clear:function(){this._count=0;var e=this._pool;return this._pool=[],e},get_length:function(){return this._count},__class__:flixel_util_FlxPool,__properties__:{get_length:"get_length"}};var flixel_util_FlxPool_$flixel_$util_$LabelValuePair=function(e){this._count=0,this._pool=[],this._class=e};$hxClasses["flixel.util.FlxPool_flixel_util_LabelValuePair"]=flixel_util_FlxPool_$flixel_$util_$LabelValuePair,flixel_util_FlxPool_$flixel_$util_$LabelValuePair.__name__="flixel.util.FlxPool_flixel_util_LabelValuePair",flixel_util_FlxPool_$flixel_$util_$LabelValuePair.__interfaces__=[flixel_util_IFlxPool],flixel_util_FlxPool_$flixel_$util_$LabelValuePair.prototype={_pool:null,_class:null,_count:null,get:function(){return 0==this._count?Type.createInstance(this._class,[]):this._pool[--this._count]},put:function(e){if(null!=e){var t=this._pool.indexOf(e);(-1==t||t>=this._count)&&(e.label=null,e.value=null,this._pool[this._count++]=e)}},putUnsafe:function(e){null!=e&&(e.label=null,e.value=null,this._pool[this._count++]=e)},preAllocate:function(e){for(;e-- >0;)this._pool[this._count++]=Type.createInstance(this._class,[])},clear:function(){this._count=0;var e=this._pool;return this._pool=[],e},get_length:function(){return this._count},__class__:flixel_util_FlxPool_$flixel_$util_$LabelValuePair,__properties__:{get_length:"get_length"}};var flixel_util_FlxSaveStatus=$hxEnums["flixel.util.FlxSaveStatus"]={__ename__:"flixel.util.FlxSaveStatus",__constructs__:["SUCCESS","PENDING","ERROR"],SUCCESS:{_hx_index:0,__enum__:"flixel.util.FlxSaveStatus",toString:$estr},PENDING:{_hx_index:1,__enum__:"flixel.util.FlxSaveStatus",toString:$estr},ERROR:{_hx_index:2,__enum__:"flixel.util.FlxSaveStatus",toString:$estr}},flixel_util__$FlxSignal_FlxSignalHandler=function(e,t){this.dispatchOnce=!1,this.listener=e,this.dispatchOnce=t};$hxClasses["flixel.util._FlxSignal.FlxSignalHandler"]=flixel_util__$FlxSignal_FlxSignalHandler,flixel_util__$FlxSignal_FlxSignalHandler.__name__="flixel.util._FlxSignal.FlxSignalHandler",flixel_util__$FlxSignal_FlxSignalHandler.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util__$FlxSignal_FlxSignalHandler.prototype={listener:null,dispatchOnce:null,destroy:function(){this.listener=null},__class__:flixel_util__$FlxSignal_FlxSignalHandler};var flixel_util_IFlxSignal=function(){};$hxClasses["flixel.util.IFlxSignal"]=flixel_util_IFlxSignal,flixel_util_IFlxSignal.__name__="flixel.util.IFlxSignal",flixel_util_IFlxSignal.__isInterface__=!0,flixel_util_IFlxSignal.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util_IFlxSignal.prototype={dispatch:null,add:null,addOnce:null,remove:null,removeAll:null,has:null,__class__:flixel_util_IFlxSignal};var flixel_util__$FlxSignal_FlxBaseSignal=function(){this.processingListeners=!1,this.handlers=[],this.pendingRemove=[]};$hxClasses["flixel.util._FlxSignal.FlxBaseSignal"]=flixel_util__$FlxSignal_FlxBaseSignal,flixel_util__$FlxSignal_FlxBaseSignal.__name__="flixel.util._FlxSignal.FlxBaseSignal",flixel_util__$FlxSignal_FlxBaseSignal.__interfaces__=[flixel_util_IFlxSignal],flixel_util__$FlxSignal_FlxBaseSignal.prototype={dispatch:null,handlers:null,pendingRemove:null,processingListeners:null,add:function(e){null!=e&&this.registerListener(e,!1)},addOnce:function(e){null!=e&&this.registerListener(e,!0)},remove:function(e){if(null!=e){var t=this.getHandler(e);null!=t&&(this.processingListeners?this.pendingRemove.push(t):(HxOverrides.remove(this.handlers,t),t.destroy()))}},has:function(e){return null!=e&&null!=this.getHandler(e)},removeAll:function(){flixel_util_FlxDestroyUtil.destroyArray(this.handlers)},destroy:function(){flixel_util_FlxDestroyUtil.destroyArray(this.handlers),this.handlers=null,this.pendingRemove=null},registerListener:function(e,t){var i=this.getHandler(e);if(null==i)return i=new flixel_util__$FlxSignal_FlxSignalHandler(e,t),this.handlers.push(i),i;if(i.dispatchOnce!=t)throw haxe_Exception.thrown("You cannot addOnce() then add() the same listener without removing the relationship first.");return i},getHandler:function(e){for(var t=0,i=this.handlers;t<i.length;){var l=i[t];if(++t,l.listener==e)return l}return null},__class__:flixel_util__$FlxSignal_FlxBaseSignal};var flixel_util__$FlxSignal_FlxSignal0=function(){flixel_util__$FlxSignal_FlxBaseSignal.call(this),this.dispatch=$bind(this,this.dispatch0)};$hxClasses["flixel.util._FlxSignal.FlxSignal0"]=flixel_util__$FlxSignal_FlxSignal0,flixel_util__$FlxSignal_FlxSignal0.__name__="flixel.util._FlxSignal.FlxSignal0",flixel_util__$FlxSignal_FlxSignal0.__super__=flixel_util__$FlxSignal_FlxBaseSignal,flixel_util__$FlxSignal_FlxSignal0.prototype=$extend(flixel_util__$FlxSignal_FlxBaseSignal.prototype,{dispatch0:function(){this.processingListeners=!0;for(var e=0,t=this.handlers;e<t.length;){i=t[e];++e,i.listener(),i.dispatchOnce&&this.remove(i.listener)}this.processingListeners=!1;for(var e=0,t=this.pendingRemove;e<t.length;){var i=t[e];++e,this.remove(i.listener)}this.pendingRemove.length>0&&(this.pendingRemove=[])},__class__:flixel_util__$FlxSignal_FlxSignal0});var flixel_util__$FlxSignal_FlxSignal1=function(){flixel_util__$FlxSignal_FlxBaseSignal.call(this),this.dispatch=$bind(this,this.dispatch1)};$hxClasses["flixel.util._FlxSignal.FlxSignal1"]=flixel_util__$FlxSignal_FlxSignal1,flixel_util__$FlxSignal_FlxSignal1.__name__="flixel.util._FlxSignal.FlxSignal1",flixel_util__$FlxSignal_FlxSignal1.__super__=flixel_util__$FlxSignal_FlxBaseSignal,flixel_util__$FlxSignal_FlxSignal1.prototype=$extend(flixel_util__$FlxSignal_FlxBaseSignal.prototype,{dispatch1:function(e){this.processingListeners=!0;for(var t=0,i=this.handlers;t<i.length;){l=i[t];++t,l.listener(e),l.dispatchOnce&&this.remove(l.listener)}this.processingListeners=!1;for(var t=0,i=this.pendingRemove;t<i.length;){var l=i[t];++t,this.remove(l.listener)}this.pendingRemove.length>0&&(this.pendingRemove=[])},__class__:flixel_util__$FlxSignal_FlxSignal1});var flixel_util__$FlxSignal_FlxSignal2=function(){flixel_util__$FlxSignal_FlxBaseSignal.call(this),this.dispatch=$bind(this,this.dispatch2)};$hxClasses["flixel.util._FlxSignal.FlxSignal2"]=flixel_util__$FlxSignal_FlxSignal2,flixel_util__$FlxSignal_FlxSignal2.__name__="flixel.util._FlxSignal.FlxSignal2",flixel_util__$FlxSignal_FlxSignal2.__super__=flixel_util__$FlxSignal_FlxBaseSignal,flixel_util__$FlxSignal_FlxSignal2.prototype=$extend(flixel_util__$FlxSignal_FlxBaseSignal.prototype,{dispatch2:function(e,t){this.processingListeners=!0;for(var i=0,l=this.handlers;i<l.length;){n=l[i];++i,n.listener(e,t),n.dispatchOnce&&this.remove(n.listener)}this.processingListeners=!1;for(var i=0,l=this.pendingRemove;i<l.length;){var n=l[i];++i,this.remove(n.listener)}this.pendingRemove.length>0&&(this.pendingRemove=[])},__class__:flixel_util__$FlxSignal_FlxSignal2});var flixel_util__$FlxSignal_FlxSignal3=function(){flixel_util__$FlxSignal_FlxBaseSignal.call(this),this.dispatch=$bind(this,this.dispatch3)};$hxClasses["flixel.util._FlxSignal.FlxSignal3"]=flixel_util__$FlxSignal_FlxSignal3,flixel_util__$FlxSignal_FlxSignal3.__name__="flixel.util._FlxSignal.FlxSignal3",flixel_util__$FlxSignal_FlxSignal3.__super__=flixel_util__$FlxSignal_FlxBaseSignal,flixel_util__$FlxSignal_FlxSignal3.prototype=$extend(flixel_util__$FlxSignal_FlxBaseSignal.prototype,{dispatch3:function(e,t,i){this.processingListeners=!0;for(var l=0,n=this.handlers;l<n.length;){s=n[l];++l,s.listener(e,t,i),s.dispatchOnce&&this.remove(s.listener)}this.processingListeners=!1;for(var l=0,n=this.pendingRemove;l<n.length;){var s=n[l];++l,this.remove(s.listener)}this.pendingRemove.length>0&&(this.pendingRemove=[])},__class__:flixel_util__$FlxSignal_FlxSignal3});var flixel_util__$FlxSignal_FlxSignal4=function(){flixel_util__$FlxSignal_FlxBaseSignal.call(this),this.dispatch=$bind(this,this.dispatch4)};$hxClasses["flixel.util._FlxSignal.FlxSignal4"]=flixel_util__$FlxSignal_FlxSignal4,flixel_util__$FlxSignal_FlxSignal4.__name__="flixel.util._FlxSignal.FlxSignal4",flixel_util__$FlxSignal_FlxSignal4.__super__=flixel_util__$FlxSignal_FlxBaseSignal,flixel_util__$FlxSignal_FlxSignal4.prototype=$extend(flixel_util__$FlxSignal_FlxBaseSignal.prototype,{dispatch4:function(e,t,i,l){this.processingListeners=!0;for(var n=0,s=this.handlers;n<s.length;){a=s[n];++n,a.listener(e,t,i,l),a.dispatchOnce&&this.remove(a.listener)}this.processingListeners=!1;for(var n=0,s=this.pendingRemove;n<s.length;){var a=s[n];++n,this.remove(a.listener)}this.pendingRemove.length>0&&(this.pendingRemove=[])},__class__:flixel_util__$FlxSignal_FlxSignal4});var flixel_util__$FlxSignal_Macro=function(){};$hxClasses["flixel.util._FlxSignal.Macro"]=flixel_util__$FlxSignal_Macro,flixel_util__$FlxSignal_Macro.__name__="flixel.util._FlxSignal.Macro";var flixel_util_FlxSort=function(){};$hxClasses["flixel.util.FlxSort"]=flixel_util_FlxSort,flixel_util_FlxSort.__name__="flixel.util.FlxSort",flixel_util_FlxSort.byY=function(e,t,i){var l=t.y,n=i.y,s=0;return l<n?s=e:l>n&&(s=-e),s},flixel_util_FlxSort.byValues=function(e,t,i){var l=0;return t<i?l=e:t>i&&(l=-e),l};var flixel_util_FlxSpriteUtil=function(){};$hxClasses["flixel.util.FlxSpriteUtil"]=flixel_util_FlxSpriteUtil,flixel_util_FlxSpriteUtil.__name__="flixel.util.FlxSpriteUtil",flixel_util_FlxSpriteUtil.alphaMask=function(e,t,i){var l=flixel_system_FlxAssets.resolveBitmapData(t),n=flixel_system_FlxAssets.resolveBitmapData(i);return null==l||null==n?null:((l=l.clone()).copyChannel(n,new openfl_geom_Rectangle(0,0,l.width,l.height),new openfl_geom_Point,8,8),e.set_pixels(l),e)},flixel_util_FlxSpriteUtil.alphaMaskFlxSprite=function(e,t,i){e.drawFrame();var l=e.get_pixels().clone();return l.copyChannel(t.get_pixels(),new openfl_geom_Rectangle(0,0,e.get_width(),e.get_height()),new openfl_geom_Point,8,8),i.set_pixels(l),i},flixel_util_FlxSpriteUtil.screenWrap=function(e,t,i,l,n){return null==n&&(n=!0),null==l&&(l=!0),null==i&&(i=!0),null==t&&(t=!0),t&&e.x+e.frameWidth/2<=0?e.set_x(flixel_FlxG.width):i&&e.x>=flixel_FlxG.width&&e.set_x(0),l&&e.y+e.frameHeight/2<=0?e.set_y(flixel_FlxG.height):n&&e.y>=flixel_FlxG.height&&e.set_y(0),e},flixel_util_FlxSpriteUtil.bound=function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),i<=0&&(i=flixel_FlxG.width),n<=0&&(n=flixel_FlxG.height),i-=e.frameWidth,n-=e.frameHeight;var s=e.x,a=null!=t&&s<t?t:s;e.set_x(null!=i&&a>i?i:a);var s=e.y,a=null!=l&&s<l?l:s;return e.set_y(null!=n&&a>n?n:a),e},flixel_util_FlxSpriteUtil.space=function(e,t,i,l,n,s,a){null==s&&(s=!1);var r=0,_=0;null!=l?(s&&(r=e[0].get_width()),_=t):_=e[0].x;var o=0,h=0;null!=n?(s&&(o=e[0].get_height()),h=i):h=e[0].y,null!=a?a(e[0],_,h):(e[0].set_x(_),e[0].set_y(h));for(var u=0,d=0,c=1,p=e.length;c<p;){var f=e[c++];null!=l?_=u=_+r+l:u=f.x,null!=n?h=d=h+o+n:d=f.y,null!=a?a(f,u,d):(f.set_x(u),f.set_y(d)),s&&(r=f.get_width(),o=f.get_height())}},flixel_util_FlxSpriteUtil.drawLine=function(e,t,i,l,n,s,a){var r=s;if(null==r&&(r={thickness:1,color:-1}),null==r.thickness&&(r.thickness=1),null==r.color&&(r.color=-1),s=r,flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=s){var _=null==s.color?-16777216:s.color;null==s.thickness&&(s.thickness=1),null==s.pixelHinting&&(s.pixelHinting=!1),null==s.miterLimit&&(s.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(s.thickness,16777215&_,(_>>24&255)/255,s.pixelHinting,s.scaleMode,s.capsStyle,s.jointStyle,s.miterLimit)}return flixel_util_FlxSpriteUtil.flashGfx.moveTo(t,i),flixel_util_FlxSpriteUtil.flashGfx.lineTo(l,n),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,a),e},flixel_util_FlxSpriteUtil.drawCurve=function(e,t,i,l,n,s,a,r,_,o){null==r&&(r=0);var h=_;if(null==h&&(h={thickness:1,color:-1}),null==h.thickness&&(h.thickness=1),null==h.color&&(h.color=-1),_=h,flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=_){var u=null==_.color?-16777216:_.color;null==_.thickness&&(_.thickness=1),null==_.pixelHinting&&(_.pixelHinting=!1),null==_.miterLimit&&(_.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(_.thickness,16777215&u,(u>>24&255)/255,_.pixelHinting,_.scaleMode,_.capsStyle,_.jointStyle,_.miterLimit)}return 0!=r&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&r,(r>>24&255)/255),flixel_util_FlxSpriteUtil.flashGfx.moveTo(t,i),flixel_util_FlxSpriteUtil.flashGfx.curveTo(l,n,s,a),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,o),e},flixel_util_FlxSpriteUtil.drawRect=function(e,t,i,l,n,s,a,r){if(null==s&&(s=-1),flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=a){var _=null==a.color?-16777216:a.color;null==a.thickness&&(a.thickness=1),null==a.pixelHinting&&(a.pixelHinting=!1),null==a.miterLimit&&(a.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(a.thickness,16777215&_,(_>>24&255)/255,a.pixelHinting,a.scaleMode,a.capsStyle,a.jointStyle,a.miterLimit)}return 0!=s&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&s,(s>>24&255)/255),flixel_util_FlxSpriteUtil.flashGfx.drawRect(t,i,l,n),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,r),e},flixel_util_FlxSpriteUtil.drawRoundRect=function(e,t,i,l,n,s,a,r,_,o){if(null==r&&(r=-1),flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=_){var h=null==_.color?-16777216:_.color;null==_.thickness&&(_.thickness=1),null==_.pixelHinting&&(_.pixelHinting=!1),null==_.miterLimit&&(_.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(_.thickness,16777215&h,(h>>24&255)/255,_.pixelHinting,_.scaleMode,_.capsStyle,_.jointStyle,_.miterLimit)}return 0!=r&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&r,(r>>24&255)/255),flixel_util_FlxSpriteUtil.flashGfx.drawRoundRect(t,i,l,n,s,a),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,o),e},flixel_util_FlxSpriteUtil.drawCircle=function(e,t,i,l,n,s,a){if(null==n&&(n=-1),null==l&&(l=-1),null==i&&(i=-1),null==t&&(t=-1),-1==t||-1==i){var r=e.getGraphicMidpoint();-1==t&&(t=r.x-e.x),-1==i&&(i=r.y-e.y),r.put()}if(l<1&&(l=Math.min(e.frameWidth,e.frameHeight)/2),flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=s){var _=null==s.color?-16777216:s.color;null==s.thickness&&(s.thickness=1),null==s.pixelHinting&&(s.pixelHinting=!1),null==s.miterLimit&&(s.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(s.thickness,16777215&_,(_>>24&255)/255,s.pixelHinting,s.scaleMode,s.capsStyle,s.jointStyle,s.miterLimit)}return 0!=n&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&n,(n>>24&255)/255),flixel_util_FlxSpriteUtil.flashGfx.drawCircle(t,i,l),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,a),e},flixel_util_FlxSpriteUtil.drawEllipse=function(e,t,i,l,n,s,a,r){if(null==s&&(s=-1),flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=a){var _=null==a.color?-16777216:a.color;null==a.thickness&&(a.thickness=1),null==a.pixelHinting&&(a.pixelHinting=!1),null==a.miterLimit&&(a.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(a.thickness,16777215&_,(_>>24&255)/255,a.pixelHinting,a.scaleMode,a.capsStyle,a.jointStyle,a.miterLimit)}return 0!=s&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&s,(s>>24&255)/255),flixel_util_FlxSpriteUtil.flashGfx.drawEllipse(t,i,l,n),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,r),e},flixel_util_FlxSpriteUtil.drawTriangle=function(e,t,i,l,n,s,a){if(null==n&&(n=-1),flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=s){var r=null==s.color?-16777216:s.color;null==s.thickness&&(s.thickness=1),null==s.pixelHinting&&(s.pixelHinting=!1),null==s.miterLimit&&(s.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(s.thickness,16777215&r,(r>>24&255)/255,s.pixelHinting,s.scaleMode,s.capsStyle,s.jointStyle,s.miterLimit)}return 0!=n&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&n,(n>>24&255)/255),flixel_util_FlxSpriteUtil.flashGfx.moveTo(t+l/2,i),flixel_util_FlxSpriteUtil.flashGfx.lineTo(t+l,l+i),flixel_util_FlxSpriteUtil.flashGfx.lineTo(t,l+i),flixel_util_FlxSpriteUtil.flashGfx.lineTo(t+l/2,i),flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,a),e},flixel_util_FlxSpriteUtil.drawPolygon=function(e,t,i,l,n){if(null==i&&(i=-1),flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=l){var s=null==l.color?-16777216:l.color;null==l.thickness&&(l.thickness=1),null==l.pixelHinting&&(l.pixelHinting=!1),null==l.miterLimit&&(l.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(l.thickness,16777215&s,(s>>24&255)/255,l.pixelHinting,l.scaleMode,l.capsStyle,l.jointStyle,l.miterLimit)}0!=i&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&i,(i>>24&255)/255);var a=t.shift();flixel_util_FlxSpriteUtil.flashGfx.moveTo(a.x,a.y);for(var r=0;r<t.length;){var _=t[r];++r,flixel_util_FlxSpriteUtil.flashGfx.lineTo(_.x,_.y)}return flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,n),t.unshift(a),e},flixel_util_FlxSpriteUtil.beginDraw=function(e,t){if(flixel_util_FlxSpriteUtil.flashGfx.clear(),null!=t){var i=null==t.color?-16777216:t.color;null==t.thickness&&(t.thickness=1),null==t.pixelHinting&&(t.pixelHinting=!1),null==t.miterLimit&&(t.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(t.thickness,16777215&i,(i>>24&255)/255,t.pixelHinting,t.scaleMode,t.capsStyle,t.jointStyle,t.miterLimit)}0!=e&&flixel_util_FlxSpriteUtil.flashGfx.beginFill(16777215&e,(e>>24&255)/255)},flixel_util_FlxSpriteUtil.endDraw=function(e,t){return flixel_util_FlxSpriteUtil.flashGfx.endFill(),flixel_util_FlxSpriteUtil.updateSpriteGraphic(e,t),e},flixel_util_FlxSpriteUtil.updateSpriteGraphic=function(e,t){return null==t?t={smoothing:!1}:null==t.smoothing&&(t.smoothing=!1),e.get_pixels().draw(flixel_util_FlxSpriteUtil.flashGfxSprite,t.matrix,t.colorTransform,t.blendMode,t.clipRect,t.smoothing),e.dirty=!0,e},flixel_util_FlxSpriteUtil.setLineStyle=function(e){if(null!=e){var t=null==e.color?-16777216:e.color;null==e.thickness&&(e.thickness=1),null==e.pixelHinting&&(e.pixelHinting=!1),null==e.miterLimit&&(e.miterLimit=3),flixel_util_FlxSpriteUtil.flashGfx.lineStyle(e.thickness,16777215&t,(t>>24&255)/255,e.pixelHinting,e.scaleMode,e.capsStyle,e.jointStyle,e.miterLimit)}},flixel_util_FlxSpriteUtil.getDefaultLineStyle=function(e){return null==e&&(e={thickness:1,color:-1}),null==e.thickness&&(e.thickness=1),null==e.color&&(e.color=-1),e},flixel_util_FlxSpriteUtil.fill=function(e,t){return e.get_pixels().fillRect(e.get_pixels().rect,t),e.get_pixels()!=e.framePixels&&(e.dirty=!0),e},flixel_util_FlxSpriteUtil.flicker=function(e,t,i,l,n,s,a){return null==n&&(n=!0),null==l&&(l=!0),null==i&&(i=.04),null==t&&(t=1),flixel_effects_FlxFlicker.flicker(e,t,i,l,n,s,a)},flixel_util_FlxSpriteUtil.isFlickering=function(e){return flixel_effects_FlxFlicker.isFlickering(e)},flixel_util_FlxSpriteUtil.stopFlickering=function(e){return flixel_effects_FlxFlicker.stopFlickering(e),e},flixel_util_FlxSpriteUtil.fadeIn=function(e,t,i,l){null==t&&(t=1),i&&e.set_alpha(0);var n=e,s=function(e){flixel_util_FlxSpriteUtil.alphaTween(n,e)};return flixel_tweens_FlxTween.num(e.alpha,1,t,{onComplete:l},s),e},flixel_util_FlxSpriteUtil.fadeOut=function(e,t,i){null==t&&(t=1);var l=e,n=function(e){flixel_util_FlxSpriteUtil.alphaTween(l,e)};return flixel_tweens_FlxTween.num(e.alpha,0,t,{onComplete:i},n),e},flixel_util_FlxSpriteUtil.alphaTween=function(e,t){e.set_alpha(t)};var flixel_util_FlxStringUtil=function(){};$hxClasses["flixel.util.FlxStringUtil"]=flixel_util_FlxStringUtil,flixel_util_FlxStringUtil.__name__="flixel.util.FlxStringUtil",flixel_util_FlxStringUtil.formatTicks=function(e,t){return Math.abs(t-e)/1e3+"s"},flixel_util_FlxStringUtil.formatTime=function(e,t){null==t&&(t=!1);var i=(e/60|0)+":",l=(0|e)%60;return l<10&&(i+="0"),i+=l,t&&(i+=".",(l=100*(e-(0|e))|0)<10&&(i+="0"),i+=l),i},flixel_util_FlxStringUtil.formatArray=function(e){var t="";if(null!=e&&e.length>0){t=Std.string(e[0]);for(var i=1,l=e.length;i<l;)t+=", "+Std.string(e[i++])}return t},flixel_util_FlxStringUtil.formatStringMap=function(e){for(var t="",i=haxe_ds_StringMap.keysIterator(e.h);i.hasNext();){var l=i.next();t+=null==l?"null":""+l,t+=", "}return t.substring(0,t.length-2)},flixel_util_FlxStringUtil.formatMoney=function(e,t,i){null==i&&(i=!0),null==t&&(t=!0);var l=e<0;e=Math.abs(e);for(var n="",s="",a=Math.floor(e);a>0;){n.length>0&&s.length<=0&&(s=i?",":".");var r="",_=a-1e3*Math.floor(a/1e3);(a=Math.floor(a/1e3))>0&&(_<100&&(r+="0"),_<10&&(r+="0")),n=r+_+s+n}return""==n&&(n="0"),t&&(a=Math.floor(100*e)-100*Math.floor(e),n+=i?".":",",a<10&&(n+="0"),n+=a),l&&(n="-"+n),n},flixel_util_FlxStringUtil.formatBytes=function(e,t){null==t&&(t=2);for(var i=["Bytes","kB","MB","GB","TB","PB"],l=0;e>=1024&&l<i.length-1;)e/=1024,++l;return flixel_math_FlxMath.roundDecimal(e,t)+i[l]},flixel_util_FlxStringUtil.filterDigits=function(e){for(var t="",i=0,l=e.length;i<l;){var n=i++,s=HxOverrides.cca(e,n);s>=48&&s<=57&&(t+=String.fromCodePoint(s))}return t},flixel_util_FlxStringUtil.htmlFormat=function(e,t,i,l,n,s){null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!1),null==i&&(i="FFFFFF"),null==t&&(t=12);var a="<font size='"+t+"' color='#"+i+"'>",r="</font>";return l&&(a="<b>"+a,r+="</b>"),n&&(a="<i>"+a,r+="</i>"),s&&(a="<u>"+a,r+="</u>"),a+e+r},flixel_util_FlxStringUtil.getClassName=function(e,t){null==t&&(t=!1);var i;return i=js_Boot.__instanceof(e,Class)?e:js_Boot.getClass(e),flixel_util_FlxStringUtil.formatPackage(i.__name__,t)},flixel_util_FlxStringUtil.getEnumName=function(e,t){null==t&&(t=!1);var i;return i=js_Boot.__instanceof(e,Enum)?e:Type.getEnum(e),flixel_util_FlxStringUtil.formatPackage(i.__ename__,t)},flixel_util_FlxStringUtil.formatPackage=function(e,t){return null==e?null:(e=StringTools.replace(e,"::","."),t&&(e=HxOverrides.substr(e,e.lastIndexOf(".")+1,null)),e)},flixel_util_FlxStringUtil.getHost=function(e){var t=new EReg("^(?:[a-z][a-z0-9+\\-.]*://)?(?:[a-z0-9\\-._~%!$&'()*+,;=]+@)?([a-z0-9\\-._~%]{3,}|\\[[a-f0-9:.]+\\])?(?::[0-9]+)?","i");if(t.match(e)){var i=t.matched(1);return null!=i?decodeURIComponent(i.split("+").join(" ")).toLowerCase():""}return""},flixel_util_FlxStringUtil.getDomain=function(e){var t=flixel_util_FlxStringUtil.getHost(e),i=new EReg("^(localhost|[0-9.]+|\\[[a-f0-9:.]+\\])$","i"),l=new EReg("^(?:[a-z0-9\\-]+\\.)*([a-z0-9\\-]+\\.[a-z0-9\\-]+)$","i");if(!i.match(t)&&l.match(t)){var n=l.matched(1);return null!=n?n.toLowerCase():""}return""},flixel_util_FlxStringUtil.sameClassName=function(e,t,i){return null==i&&(i=!0),flixel_util_FlxStringUtil.getClassName(e,i)==flixel_util_FlxStringUtil.getClassName(t,i)},flixel_util_FlxStringUtil.toIntArray=function(e){if(null!=e&&""!=e){for(var t=e.split(","),i=[],l=0;l<t.length;){var n=t[l];++l,i.push(Std.parseInt(n))}return i}return null},flixel_util_FlxStringUtil.toFloatArray=function(e){if(null!=e&&""!=e){for(var t=e.split(","),i=[],l=0;l<t.length;){var n=t[l];++l,i.push(parseFloat(n))}return i}return null},flixel_util_FlxStringUtil.arrayToCSV=function(e,t,i){null==i&&(i=!1);for(var l,n,s=0,a="",r=e.length/t|0,_=0;s<r;){for(l=0;l<t;)n=e[_],i&&(0==n?n=1:1==n&&(n=0)),a+=0==l?0==s?n:"\n"+n:", "+n,++l,++_;++s}return a},flixel_util_FlxStringUtil.bitmapToCSV=function(e,t,i,l){if(null==i&&(i=1),null==t&&(t=!1),i<1&&(i=1),i>1){var n=e;e=new openfl_display_BitmapData(e.width*i,e.height*i);for(var s=n.width,a=n.height,r=0,_=0,o=s;_<o;)for(var h=_++,u=0,d=a;u<d;){var c=u++;r=n.getPixel(h,c);for(var p=0,f=i;p<f;)for(var m=p++,x=0,g=i;x<g;){var F=x++;e.setPixel(h*i+m,c*i+F,r)}}}if(null!=l)for(var _=0,o=l.length;_<o;)l[h=_++]=16777215&l[h];for(var y,S,b=0,U="",v=e.width,T=e.height;b<T;){for(y=0;y<v;)S=e.getPixel(y,b),S=null!=l?l.indexOf(S):t&&S>0||!t&&0==S?1:0,U+=0==y?0==b?S:"\n"+S:", "+S,++y;++b}return U},flixel_util_FlxStringUtil.imageToCSV=function(e,t,i,l){null==i&&(i=1),null==t&&(t=!1);var n;if("string"==typeof e){var s=e;n=openfl_utils_Assets.exists(s)?openfl_utils_Assets.getBitmapData(s,!1):null}else n=Type.createInstance(e,[]).bitmapData;return flixel_util_FlxStringUtil.bitmapToCSV(n,t,i,l)},flixel_util_FlxStringUtil.getDebugString=function(e){for(var t="(",i=0;i<e.length;){var l=e[i];++i,t+=l.label+": ";var n=l.value;"number"==typeof n&&(n=flixel_math_FlxMath.roundDecimal(n,flixel_FlxG.debugger.precision)),t+=Std.string(n)+" | ",flixel_util_LabelValuePair._pool.put(l)}return(t=StringTools.trim(HxOverrides.substr(t,0,t.length-2)))+")"},flixel_util_FlxStringUtil.contains=function(e,t){return-1!=e.indexOf(t)},flixel_util_FlxStringUtil.remove=function(e,t){return StringTools.replace(e,t,"")},flixel_util_FlxStringUtil.insert=function(e,t,i){return e.substring(0,t)+i+HxOverrides.substr(e,t,null)},flixel_util_FlxStringUtil.sortAlphabetically=function(e){return e.sort(function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0}),e},flixel_util_FlxStringUtil.isNullOrEmpty=function(e){return null==e||0==e.length};var flixel_util_LabelValuePair=function(){};$hxClasses["flixel.util.LabelValuePair"]=flixel_util_LabelValuePair,flixel_util_LabelValuePair.__name__="flixel.util.LabelValuePair",flixel_util_LabelValuePair.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util_LabelValuePair.weak=function(e,t){var i=flixel_util_LabelValuePair._pool.get();return i.label=e,i.value=t,i},flixel_util_LabelValuePair.prototype={label:null,value:null,create:function(e,t){return this.label=e,this.value=t,this},put:function(){flixel_util_LabelValuePair._pool.put(this)},destroy:function(){this.label=null,this.value=null},__class__:flixel_util_LabelValuePair};var flixel_util_FlxTimer=function(e){this._inManager=!1,this._loopsCounter=0,this._timeCounter=0,this.finished=!1,this.active=!1,this.loops=0,this.time=0,this.manager=null!=e?e:flixel_util_FlxTimer.globalManager};$hxClasses["flixel.util.FlxTimer"]=flixel_util_FlxTimer,flixel_util_FlxTimer.__name__="flixel.util.FlxTimer",flixel_util_FlxTimer.__interfaces__=[flixel_util_IFlxDestroyable],flixel_util_FlxTimer.globalManager=null,flixel_util_FlxTimer.prototype={manager:null,time:null,loops:null,active:null,finished:null,onComplete:null,_timeCounter:null,_loopsCounter:null,_inManager:null,destroy:function(){this.onComplete=null},start:function(e,t,i){return null==i&&(i=1),null==e&&(e=1),null==this.manager||this._inManager||(this.manager.add(this),this._inManager=!0),this.active=!0,this.finished=!1,this.time=Math.abs(e),i<0&&(i*=-1),this.loops=i,this.onComplete=t,this._timeCounter=0,this._loopsCounter=0,this},reset:function(e){return null==e&&(e=-1),e<0&&(e=this.time),this.start(e,this.onComplete,this.loops),this},cancel:function(){this.finished=!0,this.active=!1,null!=this.manager&&this._inManager&&(this.manager.remove(this),this._inManager=!1)},update:function(e){for(this._timeCounter+=e;this._timeCounter>=this.time&&this.active&&!this.finished;)this._timeCounter-=this.time,this._loopsCounter++,this.loops>0&&this._loopsCounter>=this.loops&&(this.finished=!0)},onLoopFinished:function(){this.finished&&this.cancel(),null!=this.onComplete&&this.onComplete(this)},get_timeLeft:function(){return this.time-this._timeCounter},get_elapsedTime:function(){return this._timeCounter},get_loopsLeft:function(){return this.loops-this._loopsCounter},get_elapsedLoops:function(){return this._loopsCounter},get_progress:function(){return this.time>0?this._timeCounter/this.time:0},__class__:flixel_util_FlxTimer,__properties__:{get_progress:"get_progress",get_elapsedLoops:"get_elapsedLoops",get_loopsLeft:"get_loopsLeft",get_elapsedTime:"get_elapsedTime",get_timeLeft:"get_timeLeft"}};var flixel_util_FlxTimerManager=function(){this._timers=[],flixel_FlxBasic.call(this),this.set_visible(!1),flixel_FlxG.signals.preStateSwitch.add($bind(this,this.clear))};$hxClasses["flixel.util.FlxTimerManager"]=flixel_util_FlxTimerManager,flixel_util_FlxTimerManager.__name__="flixel.util.FlxTimerManager",flixel_util_FlxTimerManager.__super__=flixel_FlxBasic,flixel_util_FlxTimerManager.prototype=$extend(flixel_FlxBasic.prototype,{_timers:null,destroy:function(){flixel_util_FlxArrayUtil.clearArray(this._timers),this._timers=null,flixel_FlxG.signals.preStateSwitch.remove($bind(this,this.clear)),flixel_FlxBasic.prototype.destroy.call(this)},update:function(e){for(var t=null,i=0,l=this._timers;i<l.length;){var n=l[i];if(++i,n.active&&!n.finished&&n.time>=0){var s=n._loopsCounter;n.update(e),s!=n._loopsCounter&&(null==t&&(t=[]),t.push(n))}}if(null!=t)for(;t.length>0;)t.shift().onLoopFinished()},add:function(e){this._timers.push(e)},remove:function(e){var t=this._timers,i=t.indexOf(e);-1!=i&&(t[i]=t[t.length-1],t.pop())},completeAll:function(){for(var e=[],t=0,i=this._timers;t<i.length;){l=i[t];++t,l.loops>0&&l.active&&e.push(l)}for(t=0;t<e.length;){var l=e[t];for(++t;!l.finished;)l.update(l.time-l._timeCounter),l.onLoopFinished()}},clear:function(){flixel_util_FlxArrayUtil.clearArray(this._timers)},forEach:function(e){for(var t=0,i=this._timers;t<i.length;){var l=i[t];++t,e(l)}},__class__:flixel_util_FlxTimerManager});var flixel_util_FlxUnicodeUtil=function(){};$hxClasses["flixel.util.FlxUnicodeUtil"]=flixel_util_FlxUnicodeUtil,flixel_util_FlxUnicodeUtil.__name__="flixel.util.FlxUnicodeUtil",flixel_util_FlxUnicodeUtil.uLength=function(e){return UnicodeString.get_length(e)},flixel_util_FlxUnicodeUtil.uEquals=function(e,t){return e==t},flixel_util_FlxUnicodeUtil.uSub=function(e,t,i){return UnicodeString.substr(e,t,i)},flixel_util_FlxUnicodeUtil.uCharCodeAt=function(e,t){return UnicodeString.charCodeAt(e,t)};var flixel_util_UnicodeBuffer={};flixel_util_UnicodeBuffer._new=function(e){return null==e&&(e=""),e},flixel_util_UnicodeBuffer.addChar=function(e,t){var i=e+String.fromCodePoint(t);return null==i&&(i=""),e=i},flixel_util_UnicodeBuffer.toString=function(e){return e};var flixel_util_FlxVerticalAlign=$hxEnums["flixel.util.FlxVerticalAlign"]={__ename__:"flixel.util.FlxVerticalAlign",__constructs__:["TOP","CENTER","BOTTOM"],TOP:{_hx_index:0,__enum__:"flixel.util.FlxVerticalAlign",toString:$estr},CENTER:{_hx_index:1,__enum__:"flixel.util.FlxVerticalAlign",toString:$estr},BOTTOM:{_hx_index:2,__enum__:"flixel.util.FlxVerticalAlign",toString:$estr}},flixel_util_helpers_FlxRange=function(e,t){this.active=!0,this.start=e,this.end=null==t?e:t};$hxClasses["flixel.util.helpers.FlxRange"]=flixel_util_helpers_FlxRange,flixel_util_helpers_FlxRange.__name__="flixel.util.helpers.FlxRange",flixel_util_helpers_FlxRange.prototype={start:null,end:null,active:null,set:function(e,t){return this.start=e,this.end=null==t?e:t,this},equals:function(e){return this.start==e.start&&this.end==e.end},toString:function(){var e=this.start,t=flixel_util_LabelValuePair._pool.get();t.label="start",t.value=e;var e=this.end,i=flixel_util_LabelValuePair._pool.get();return i.label="end",i.value=e,flixel_util_FlxStringUtil.getDebugString([t,i])},__class__:flixel_util_helpers_FlxRange};var haxe_StackItem=$hxEnums["haxe.StackItem"]={__ename__:"haxe.StackItem",__constructs__:["CFunction","Module","FilePos","Method","LocalFunction"],CFunction:{_hx_index:0,__enum__:"haxe.StackItem",toString:$estr},Module:($_=function(e){return{_hx_index:1,m:e,__enum__:"haxe.StackItem",toString:$estr}},$_.__params__=["m"],$_),FilePos:($_=function(e,t,i,l){return{_hx_index:2,s:e,file:t,line:i,column:l,__enum__:"haxe.StackItem",toString:$estr}},$_.__params__=["s","file","line","column"],$_),Method:($_=function(e,t){return{_hx_index:3,classname:e,method:t,__enum__:"haxe.StackItem",toString:$estr}},$_.__params__=["classname","method"],$_),LocalFunction:($_=function(e){return{_hx_index:4,v:e,__enum__:"haxe.StackItem",toString:$estr}},$_.__params__=["v"],$_)},haxe_CallStack={};haxe_CallStack.callStack=function(){return haxe_NativeStackTrace.toHaxe(haxe_NativeStackTrace.callStack())},haxe_CallStack.exceptionStack=function(e){null==e&&(e=!1);var t=haxe_NativeStackTrace.toHaxe(haxe_NativeStackTrace.exceptionStack());return e?t:haxe_CallStack.subtract(t,haxe_CallStack.callStack())},haxe_CallStack.toString=function(e){for(var t=new StringBuf,i=0,l=e;i<l.length;){var n=l[i];++i,t.b+="\nCalled from ",haxe_CallStack.itemToString(t,n)}return t.b},haxe_CallStack.subtract=function(e,t){for(var i=-1,l=-1;++l<e.length;){for(var n=0,s=t.length;n<s;){var a=n++;if(haxe_CallStack.equalItems(e[l],t[a])){if(i<0&&(i=l),++l>=e.length)break}else i=-1}if(i>=0)break}return i>=0?e.slice(0,i):e},haxe_CallStack.equalItems=function(e,t){if(null==e)return null==t;switch(e._hx_index){case 0:return null!=t&&0==t._hx_index;case 1:return null!=t&&(1==t._hx_index&&e.m==t.m);case 2:if(null==t)return!1;if(2==t._hx_index){var i=e.s,l=e.file,n=e.line,s=e.column,a=t.column,r=t.line,_=t.file,o=t.s;return l==_&&n==r&&s==a&&haxe_CallStack.equalItems(i,o)}return!1;case 3:if(null==t)return!1;if(3==t._hx_index){var h=e.classname,u=e.method,d=t.method;return h==t.classname&&u==d}return!1;case 4:return null!=t&&(4==t._hx_index&&e.v==t.v)}},haxe_CallStack.itemToString=function(e,t){switch(t._hx_index){case 0:e.b+="a C function";break;case 1:var i=t.m;e.b+="module ",e.b+=null==i?"null":""+i;break;case 2:var l=t.column,n=t.line,s=t.file,a=t.s;null!=a&&(haxe_CallStack.itemToString(e,a),e.b+=" ("),e.b+=null==s?"null":""+s,e.b+=" line ",e.b+=null==n?"null":""+n,null!=l&&(e.b+=" column ",e.b+=null==l?"null":""+l),null!=a&&(e.b+=")");break;case 3:var r=t.method,_=t.classname;e.b+=Std.string(null==_?"<unknown>":_),e.b+=".",e.b+=null==r?"null":""+r;break;case 4:var o=t.v;e.b+="local function #",e.b+=null==o?"null":""+o}};var haxe_Exception=function(e,t,i){Error.call(this,e),this.message=e,this.__previousException=t,this.__nativeException=null!=i?i:this,this.__skipStack=0;var l=Error.prepareStackTrace;if(Error.prepareStackTrace=function(e){return e.stack},i instanceof Error)this.stack=i.stack;else{var n=null;if(Error.captureStackTrace)Error.captureStackTrace(this,haxe_Exception),n=this;else if(void 0===(n=new Error).stack){try{throw n}catch(e){}this.__skipStack++}this.stack=n.stack}Error.prepareStackTrace=l};$hxClasses["haxe.Exception"]=haxe_Exception,haxe_Exception.__name__="haxe.Exception",haxe_Exception.caught=function(e){return e instanceof haxe_Exception?e:e instanceof Error?new haxe_Exception(e.message,null,e):new haxe_ValueException(e,null,e)},haxe_Exception.thrown=function(e){if(e instanceof haxe_Exception)return e.get_native();if(e instanceof Error)return e;var t=new haxe_ValueException(e);return t.__skipStack++,t},haxe_Exception.__super__=Error,haxe_Exception.prototype=$extend(Error.prototype,{__skipStack:null,__nativeException:null,__previousException:null,unwrap:function(){return this.__nativeException},__shiftStack:function(){this.__skipStack++},get_native:function(){return this.__nativeException},get_stack:function(){var e=this.__exceptionStack;if(null==e){var t=haxe_NativeStackTrace.toHaxe(haxe_NativeStackTrace.normalize(this.stack),this.__skipStack);return this.setProperty("__exceptionStack",t),t}return e},setProperty:function(e,t){try{Object.defineProperty(this,e,{value:t})}catch(i){this[e]=t}},__class__:haxe_Exception,__properties__:{get_native:"get_native",get_stack:"get_stack"}});var haxe__$Int64__$_$_$Int64=function(e,t){this.high=e,this.low=t};$hxClasses["haxe._Int64.___Int64"]=haxe__$Int64__$_$_$Int64,haxe__$Int64__$_$_$Int64.__name__="haxe._Int64.___Int64",haxe__$Int64__$_$_$Int64.prototype={high:null,low:null,__class__:haxe__$Int64__$_$_$Int64};var haxe_NativeStackTrace=function(){};$hxClasses["haxe.NativeStackTrace"]=haxe_NativeStackTrace,haxe_NativeStackTrace.__name__="haxe.NativeStackTrace",haxe_NativeStackTrace.lastError=null,haxe_NativeStackTrace.wrapCallSite=null,haxe_NativeStackTrace.saveStack=function(e){haxe_NativeStackTrace.lastError=e},haxe_NativeStackTrace.callStack=function(){var e=new Error(""),t=haxe_NativeStackTrace.tryHaxeStack(e);if(void 0===t){try{throw e}catch(e){}t=e.stack}return haxe_NativeStackTrace.normalize(t,2)},haxe_NativeStackTrace.exceptionStack=function(){return haxe_NativeStackTrace.normalize(haxe_NativeStackTrace.tryHaxeStack(haxe_NativeStackTrace.lastError))},haxe_NativeStackTrace.toHaxe=function(e,t){if(null==t&&(t=0),null==e)return[];if("string"==typeof e){var i=e.split("\n");"Error"==i[0]&&i.shift();for(var l=[],n=0,s=i.length;n<s;){var a=n++;if(!(t>a)){var r=i[a],_=r.match(/^ at ([A-Za-z0-9_. ]+) \(([^)]+):([0-9]+):([0-9]+)\)$/);if(null!=_){var o=_[1].split(".");"$hxClasses"==o[0]&&o.shift();var h=o.pop(),u=_[2],d=Std.parseInt(_[3]),c=Std.parseInt(_[4]);l.push(haxe_StackItem.FilePos("Anonymous function"==h?haxe_StackItem.LocalFunction():"Global code"==h?null:haxe_StackItem.Method(o.join("."),h),u,d,c))}else l.push(haxe_StackItem.Module(StringTools.trim(r)))}}return l}return t>0&&Array.isArray(e)?e.slice(t):e},haxe_NativeStackTrace.tryHaxeStack=function(e){if(null==e)return[];var t=Error.prepareStackTrace;Error.prepareStackTrace=haxe_NativeStackTrace.prepareHxStackTrace;var i=e.stack;return Error.prepareStackTrace=t,i},haxe_NativeStackTrace.prepareHxStackTrace=function(e,t){for(var i=[],l=0;l<t.length;){var n=t[l];++l,null!=haxe_NativeStackTrace.wrapCallSite&&(n=haxe_NativeStackTrace.wrapCallSite(n));var s=null,a=n.getFunctionName();if(null!=a){var r=a.lastIndexOf(".");if(r>=0){var _=a.substring(0,r),o=a.substring(r+1);s=haxe_StackItem.Method(_,o)}else s=haxe_StackItem.Method(null,a)}var h=n.getFileName(),u=null==h?-1:h.indexOf("file:");null!=haxe_NativeStackTrace.wrapCallSite&&u>0&&(h=h.substring(u+6)),i.push(haxe_StackItem.FilePos(s,h,n.getLineNumber(),n.getColumnNumber()))}return i},haxe_NativeStackTrace.normalize=function(e,t){if(null==t&&(t=0),Array.isArray(e)&&t>0)return e.slice(t);if("string"==typeof e){switch(e.substring(0,6)){case"Error\n":case"Error:":++t}return haxe_NativeStackTrace.skipLines(e,t)}return e},haxe_NativeStackTrace.skipLines=function(e,t,i){return null==i&&(i=0),t>0?(i=e.indexOf("\n",i),i<0?"":haxe_NativeStackTrace.skipLines(e,--t,i+1)):e.substring(i)};var haxe_Resource=function(){};$hxClasses["haxe.Resource"]=haxe_Resource,haxe_Resource.__name__="haxe.Resource",haxe_Resource.content=null,haxe_Resource.getString=function(e){for(var t=0,i=haxe_Resource.content;t<i.length;){var l=i[t];if(++t,l.name==e)return null!=l.str?l.str:haxe_crypto_Base64.decode(l.data).toString()}return null},haxe_Resource.getBytes=function(e){for(var t=0,i=haxe_Resource.content;t<i.length;){var l=i[t];if(++t,l.name==e)return null!=l.str?haxe_io_Bytes.ofString(l.str):haxe_crypto_Base64.decode(l.data)}return null};var haxe_Serializer=function(){this.buf=new StringBuf,this.cache=[],this.useCache=haxe_Serializer.USE_CACHE,this.useEnumIndex=haxe_Serializer.USE_ENUM_INDEX,this.shash=new haxe_ds_StringMap,this.scount=0};$hxClasses["haxe.Serializer"]=haxe_Serializer,haxe_Serializer.__name__="haxe.Serializer",haxe_Serializer.run=function(e){var t=new haxe_Serializer;return t.serialize(e),t.toString()},haxe_Serializer.prototype={buf:null,cache:null,shash:null,scount:null,useCache:null,useEnumIndex:null,toString:function(){return this.buf.b},serializeString:function(e){var t=this.shash.h[e];if(null!=t)return this.buf.b+="R",void(this.buf.b+=null==t?"null":""+t);this.shash.h[e]=this.scount++,this.buf.b+="y",e=encodeURIComponent(e),this.buf.b+=Std.string(e.length),this.buf.b+=":",this.buf.b+=null==e?"null":""+e},serializeRef:function(e){for(var t=typeof e,i=0,l=this.cache.length;i<l;){var n=i++,s=this.cache[n];if(typeof s==t&&s==e)return this.buf.b+="r",this.buf.b+=null==n?"null":""+n,!0}return this.cache.push(e),!1},serializeFields:function(e){for(var t=0,i=Reflect.fields(e);t<i.length;){var l=i[t];++t,this.serializeString(l),this.serialize(Reflect.field(e,l))}this.buf.b+="g"},serialize:function(e){switch((b=Type.typeof(e))._hx_index){case 0:this.buf.b+="n";break;case 1:if(0==(u=e))return void(this.buf.b+="z");this.buf.b+="i",this.buf.b+=null==u?"null":""+u;break;case 2:u=e;isNaN(u)?this.buf.b+="k":isFinite(u)?(this.buf.b+="d",this.buf.b+=null==u?"null":""+u):this.buf.b+=u<0?"m":"p";break;case 3:this.buf.b+=e?"t":"f";break;case 4:if(js_Boot.__instanceof(e,Class)){var t=e.__name__;this.buf.b+="A",this.serializeString(t)}else if(js_Boot.__instanceof(e,Enum))this.buf.b+="B",this.serializeString(e.__ename__);else{if(this.useCache&&this.serializeRef(e))return;this.buf.b+="o",this.serializeFields(e)}break;case 5:throw haxe_Exception.thrown("Cannot serialize function");case 6:var i=b.c;if(i==String)return void this.serializeString(e);if(this.useCache&&this.serializeRef(e))return;switch(i){case Array:var l=0;this.buf.b+="a";for(var n=0,s=e.length;n<s;)null==e[c=n++]?++l:(l>0&&(1==l?this.buf.b+="n":(this.buf.b+="u",this.buf.b+=null==l?"null":""+l),l=0),this.serialize(e[c]));l>0&&(1==l?this.buf.b+="n":(this.buf.b+="u",this.buf.b+=null==l?"null":""+l)),this.buf.b+="h";break;case Date:var a=e;this.buf.b+="v",this.buf.b+=Std.string(a.getTime());break;case haxe_ds_IntMap:this.buf.b+="q";for(d=(u=e).keys();d.hasNext();){o=d.next();this.buf.b+=":",this.buf.b+=null==o?"null":""+o,this.serialize(u.h[o])}this.buf.b+="h";break;case haxe_ds_List:this.buf.b+="l";for(var r=(u=e).h;null!=r;){var _=r.item;r=r.next;c=_;this.serialize(c)}this.buf.b+="h";break;case haxe_ds_ObjectMap:this.buf.b+="M";for(d=(u=e).keys();d.hasNext();){var o=d.next(),h=Reflect.field(o,"__id__");Reflect.deleteField(o,"__id__"),this.serialize(o),o.__id__=h,this.serialize(u.h[o.__id__])}this.buf.b+="h";break;case haxe_ds_StringMap:this.buf.b+="b";for(var u=e,d=haxe_ds_StringMap.keysIterator(u.h);d.hasNext();){o=d.next();this.serializeString(o),this.serialize(u.h[o])}this.buf.b+="h";break;case haxe_io_Bytes:u=e;this.buf.b+="s",this.buf.b+=Std.string(Math.ceil(8*u.length/6)),this.buf.b+=":";var c=0,p=u.length-2,f=haxe_Serializer.BASE64_CODES;if(null==f){f=new Array(haxe_Serializer.BASE64.length);for(var n=0,s=haxe_Serializer.BASE64.length;n<s;){var m=n++;f[m]=HxOverrides.cca(haxe_Serializer.BASE64,m)}haxe_Serializer.BASE64_CODES=f}for(;c<p;){var x=u.b[c++],g=u.b[c++],F=u.b[c++];this.buf.b+=String.fromCodePoint(f[x>>2]),this.buf.b+=String.fromCodePoint(f[63&(x<<4|g>>4)]),this.buf.b+=String.fromCodePoint(f[63&(g<<2|F>>6)]),this.buf.b+=String.fromCodePoint(f[63&F])}if(c==p){var x=u.b[c++],g=u.b[c++];this.buf.b+=String.fromCodePoint(f[x>>2]),this.buf.b+=String.fromCodePoint(f[63&(x<<4|g>>4)]),this.buf.b+=String.fromCodePoint(f[g<<2&63])}else if(c==p+1){x=u.b[c++];this.buf.b+=String.fromCodePoint(f[x>>2]),this.buf.b+=String.fromCodePoint(f[x<<4&63])}break;default:this.useCache&&this.cache.pop(),null!=e.hxSerialize?(this.buf.b+="C",this.serializeString(i.__name__),this.useCache&&this.cache.push(e),e.hxSerialize(this),this.buf.b+="g"):(this.buf.b+="c",this.serializeString(i.__name__),this.useCache&&this.cache.push(e),this.serializeFields(e))}break;case 7:y=b.e;if(this.useCache){if(this.serializeRef(e))return;this.cache.pop()}if(this.buf.b+=Std.string(this.useEnumIndex?"j":"w"),this.serializeString(y.__ename__),this.useEnumIndex)this.buf.b+=":",this.buf.b+=Std.string(e._hx_index);else{var y=e;this.serializeString($hxEnums[y.__enum__].__constructs__[y._hx_index])}this.buf.b+=":";var S=Type.enumParameters(e);this.buf.b+=Std.string(S.length);for(var b=0;b<S.length;){var U=S[b];++b,this.serialize(U)}this.useCache&&this.cache.push(e);break;default:throw haxe_Exception.thrown("Cannot serialize "+Std.string(e))}},__class__:haxe_Serializer};var haxe_Timer=function(e){var t=this;this.id=setInterval(function(){t.run()},e)};$hxClasses["haxe.Timer"]=haxe_Timer,haxe_Timer.__name__="haxe.Timer",haxe_Timer.delay=function(e,t){var i=new haxe_Timer(t);return i.run=function(){i.stop(),e()},i},haxe_Timer.measure=function(e,t){var i=(new Date).getTime()/1e3,l=e();return haxe_Log.trace((new Date).getTime()/1e3-i+"s",t),l},haxe_Timer.stamp=function(){return(new Date).getTime()/1e3},haxe_Timer.prototype={id:null,stop:function(){null!=this.id&&(clearInterval(this.id),this.id=null)},run:function(){},__class__:haxe_Timer};var haxe__$Unserializer_DefaultResolver=function(){};$hxClasses["haxe._Unserializer.DefaultResolver"]=haxe__$Unserializer_DefaultResolver,haxe__$Unserializer_DefaultResolver.__name__="haxe._Unserializer.DefaultResolver",haxe__$Unserializer_DefaultResolver.prototype={resolveClass:function(e){return $hxClasses[e]},resolveEnum:function(e){return $hxEnums[e]},__class__:haxe__$Unserializer_DefaultResolver};var haxe_Unserializer=function(e){this.buf=e,this.length=e.length,this.pos=0,this.scache=[],this.cache=[];var t=haxe_Unserializer.DEFAULT_RESOLVER;null==t&&(t=new haxe__$Unserializer_DefaultResolver,haxe_Unserializer.DEFAULT_RESOLVER=t),this.resolver=t};$hxClasses["haxe.Unserializer"]=haxe_Unserializer,haxe_Unserializer.__name__="haxe.Unserializer",haxe_Unserializer.initCodes=function(){for(var e=[],t=0,i=haxe_Unserializer.BASE64.length;t<i;){var l=t++;e[haxe_Unserializer.BASE64.charCodeAt(l)]=l}return e},haxe_Unserializer.run=function(e){return new haxe_Unserializer(e).unserialize()},haxe_Unserializer.prototype={buf:null,pos:null,length:null,cache:null,scache:null,resolver:null,setResolver:function(e){null==e?(null==haxe__$Unserializer_NullResolver.instance&&(haxe__$Unserializer_NullResolver.instance=new haxe__$Unserializer_NullResolver),this.resolver=haxe__$Unserializer_NullResolver.instance):this.resolver=e},readDigits:function(){for(var e=0,t=!1,i=this.pos;;){var l=this.buf.charCodeAt(this.pos);if(l!=l)break;if(45!=l){if(l<48||l>57)break;e=10*e+(l-48),this.pos++}else{if(this.pos!=i)break;t=!0,this.pos++}}return t&&(e*=-1),e},readFloat:function(){for(var e=this.pos;;){var t=this.buf.charCodeAt(this.pos);if(t!=t)break;if(!(t>=43&&t<58||101==t||69==t))break;this.pos++}return parseFloat(HxOverrides.substr(this.buf,e,this.pos-e))},unserializeObject:function(e){for(;;){if(this.pos>=this.length)throw haxe_Exception.thrown("Invalid object");if(103==this.buf.charCodeAt(this.pos))break;var t=this.unserialize();if("string"!=typeof t)throw haxe_Exception.thrown("Invalid object key");var i=this.unserialize();e[t]=i}this.pos++},unserializeEnum:function(e,t){if(58!=this.buf.charCodeAt(this.pos++))throw haxe_Exception.thrown("Invalid enum format");var i=this.readDigits();if(0==i)return Type.createEnum(e,t);for(var l=[];i-- >0;)l.push(this.unserialize());return Type.createEnum(e,t,l)},unserialize:function(){switch(this.buf.charCodeAt(this.pos++)){case 65:s=this.unserialize();if(null==(a=this.resolver.resolveClass(s)))throw haxe_Exception.thrown("Class not found "+s);return a;case 66:s=this.unserialize();if(null==(D=this.resolver.resolveEnum(s)))throw haxe_Exception.thrown("Enum not found "+s);return D;case 67:s=this.unserialize();if(null==(a=this.resolver.resolveClass(s)))throw haxe_Exception.thrown("Class not found "+s);h=Object.create(a.prototype);if(this.cache.push(h),h.hxUnserialize(this),103!=this.buf.charCodeAt(this.pos++))throw haxe_Exception.thrown("Invalid custom data");return h;case 77:u=new haxe_ds_ObjectMap;this.cache.push(u);for(e=this.buf;104!=this.buf.charCodeAt(this.pos);){l=this.unserialize();u.set(l,this.unserialize())}return this.pos++,u;case 82:if((i=this.readDigits())<0||i>=this.scache.length)throw haxe_Exception.thrown("Invalid string reference");return this.scache[i];case 97:var e=this.buf,t=[];for(this.cache.push(t);;){if(104==(d=this.buf.charCodeAt(this.pos))){this.pos++;break}if(117==d){this.pos++;var i=this.readDigits();t[t.length+i-1]=null}else t.push(this.unserialize())}return t;case 98:u=new haxe_ds_StringMap;this.cache.push(u);for(e=this.buf;104!=this.buf.charCodeAt(this.pos);){var l=this.unserialize(),n=this.unserialize();u.h[l]=n}return this.pos++,u;case 99:var s=this.unserialize(),a=this.resolver.resolveClass(s);if(null==a)throw haxe_Exception.thrown("Class not found "+s);h=Object.create(a.prototype);return this.cache.push(h),this.unserializeObject(h),h;case 100:return this.readFloat();case 102:return!1;case 105:return this.readDigits();case 106:s=this.unserialize();if(null==(N=this.resolver.resolveEnum(s)))throw haxe_Exception.thrown("Enum not found "+s);this.pos++;var r=this.readDigits(),_=N.__constructs__.slice()[r];if(null==_)throw haxe_Exception.thrown("Unknown enum index "+s+"@"+r);D=this.unserializeEnum(N,_);return this.cache.push(D),D;case 107:return NaN;case 108:var o=new haxe_ds_List;this.cache.push(o);for(e=this.buf;104!=this.buf.charCodeAt(this.pos);)o.add(this.unserialize());return this.pos++,o;case 109:return-1/0;case 110:return null;case 111:var h={};return this.cache.push(h),this.unserializeObject(h),h;case 112:return 1/0;case 113:var u=new haxe_ds_IntMap;this.cache.push(u);for(var e=this.buf,d=this.buf.charCodeAt(this.pos++);58==d;){var c=this.readDigits(),n=this.unserialize();u.h[c]=n,d=this.buf.charCodeAt(this.pos++)}if(104!=d)throw haxe_Exception.thrown("Invalid IntMap format");return u;case 114:if((i=this.readDigits())<0||i>=this.cache.length)throw haxe_Exception.thrown("Invalid reference");return this.cache[i];case 115:var p=this.readDigits(),e=this.buf;if(58!=this.buf.charCodeAt(this.pos++)||this.length-this.pos<p)throw haxe_Exception.thrown("Invalid bytes length");var f=haxe_Unserializer.CODES;null==f&&(f=haxe_Unserializer.initCodes(),haxe_Unserializer.CODES=f);for(var c=this.pos,m=3&p,x=3*(p>>2)+(m>=2?m-1:0),g=c+(p-m),F=new haxe_io_Bytes(new ArrayBuffer(x)),y=0;c<g;){var S=f[e.charCodeAt(c++)],b=f[e.charCodeAt(c++)];F.b[y++]=255&(S<<2|b>>4);v=f[e.charCodeAt(c++)];F.b[y++]=255&(b<<4|v>>2);var U=f[e.charCodeAt(c++)];F.b[y++]=255&(v<<6|U)}if(m>=2){var S=f[e.charCodeAt(c++)],b=f[e.charCodeAt(c++)];if(F.b[y++]=255&(S<<2|b>>4),3==m){var v=f[e.charCodeAt(c++)];F.b[y++]=255&(b<<4|v>>2)}}return this.pos+=p,this.cache.push(F),F;case 116:return!0;case 118:var T;return this.buf.charCodeAt(this.pos)>=48&&this.buf.charCodeAt(this.pos)<=57&&this.buf.charCodeAt(this.pos+1)>=48&&this.buf.charCodeAt(this.pos+1)<=57&&this.buf.charCodeAt(this.pos+2)>=48&&this.buf.charCodeAt(this.pos+2)<=57&&this.buf.charCodeAt(this.pos+3)>=48&&this.buf.charCodeAt(this.pos+3)<=57&&45==this.buf.charCodeAt(this.pos+4)?(T=HxOverrides.strDate(HxOverrides.substr(this.buf,this.pos,19)),this.pos+=19):T=new Date(this.readFloat()),this.cache.push(T),T;case 119:var s=this.unserialize(),N=this.resolver.resolveEnum(s);if(null==N)throw haxe_Exception.thrown("Enum not found "+s);var D=this.unserializeEnum(N,this.unserialize());return this.cache.push(D),D;case 120:throw haxe_Exception.thrown(this.unserialize());case 121:p=this.readDigits();if(58!=this.buf.charCodeAt(this.pos++)||this.length-this.pos<p)throw haxe_Exception.thrown("Invalid string length");l=HxOverrides.substr(this.buf,this.pos,p);return this.pos+=p,l=decodeURIComponent(l.split("+").join(" ")),this.scache.push(l),l;case 122:return 0}throw this.pos--,haxe_Exception.thrown("Invalid char "+this.buf.charAt(this.pos)+" at position "+this.pos)},__class__:haxe_Unserializer};var haxe__$Unserializer_NullResolver=function(){};$hxClasses["haxe._Unserializer.NullResolver"]=haxe__$Unserializer_NullResolver,haxe__$Unserializer_NullResolver.__name__="haxe._Unserializer.NullResolver",haxe__$Unserializer_NullResolver.instance=null,haxe__$Unserializer_NullResolver.prototype={resolveClass:function(e){return null},resolveEnum:function(e){return null},__class__:haxe__$Unserializer_NullResolver};var haxe_Utf8=function(){};$hxClasses["haxe.Utf8"]=haxe_Utf8,haxe_Utf8.__name__="haxe.Utf8",haxe_Utf8.iter=function(e,t){for(var i=0,l=e.length;i<l;){var n=i++;t(HxOverrides.cca(e,n))}};var haxe_ValueException=function(e,t,i){haxe_Exception.call(this,String(e),t,i),this.value=e,this.__skipStack++};$hxClasses["haxe.ValueException"]=haxe_ValueException,haxe_ValueException.__name__="haxe.ValueException",haxe_ValueException.__super__=haxe_Exception,haxe_ValueException.prototype=$extend(haxe_Exception.prototype,{value:null,unwrap:function(){return this.value},__class__:haxe_ValueException});var haxe_crypto_Adler32=function(){this.a1=1,this.a2=0};$hxClasses["haxe.crypto.Adler32"]=haxe_crypto_Adler32,haxe_crypto_Adler32.__name__="haxe.crypto.Adler32",haxe_crypto_Adler32.read=function(e){var t=new haxe_crypto_Adler32,i=e.readByte(),l=e.readByte(),n=e.readByte(),s=e.readByte();return t.a1=n<<8|s,t.a2=i<<8|l,t},haxe_crypto_Adler32.prototype={a1:null,a2:null,update:function(e,t,i){for(var l=this.a1,n=this.a2,s=t,a=t+i;s<a;){var r=s++;n=(n+(l=(l+e.b[r])%65521))%65521}this.a1=l,this.a2=n},equals:function(e){return e.a1==this.a1&&e.a2==this.a2},__class__:haxe_crypto_Adler32};var haxe_crypto_Base64=function(){};$hxClasses["haxe.crypto.Base64"]=haxe_crypto_Base64,haxe_crypto_Base64.__name__="haxe.crypto.Base64",haxe_crypto_Base64.encode=function(e,t){null==t&&(t=!0);var i=new haxe_crypto_BaseCode(haxe_crypto_Base64.BYTES).encodeBytes(e).toString();if(t)switch(e.length%3){case 1:i+="==";break;case 2:i+="="}return i},haxe_crypto_Base64.decode=function(e,t){if(null==t&&(t=!0),t)for(;61==HxOverrides.cca(e,e.length-1);)e=HxOverrides.substr(e,0,-1);return new haxe_crypto_BaseCode(haxe_crypto_Base64.BYTES).decodeBytes(haxe_io_Bytes.ofString(e))};var haxe_crypto_BaseCode=function(e){for(var t=e.length,i=1;t>1<<i;)++i;if(i>8||t!=1<<i)throw haxe_Exception.thrown("BaseCode : base length must be a power of two.");this.base=e,this.nbits=i};$hxClasses["haxe.crypto.BaseCode"]=haxe_crypto_BaseCode,haxe_crypto_BaseCode.__name__="haxe.crypto.BaseCode",haxe_crypto_BaseCode.prototype={base:null,nbits:null,tbl:null,encodeBytes:function(e){for(var t=this.nbits,i=this.base,l=8*e.length/t|0,n=new haxe_io_Bytes(new ArrayBuffer(l+(8*e.length%t==0?0:1))),s=0,a=0,r=(1<<t)-1,_=0,o=0;o<l;){for(;a<t;)a+=8,s<<=8,s|=e.b[_++];a-=t,n.b[o++]=255&i.b[s>>a&r]}return a>0&&(n.b[o++]=255&i.b[s<<t-a&r]),n},initTable:function(){for(var e=[],t=0;t<256;)e[l=t++]=-1;for(var t=0,i=this.base.length;t<i;){var l=t++;e[this.base.b[l]]=l}this.tbl=e},decodeBytes:function(e){var t=this.nbits;this.base;null==this.tbl&&this.initTable();for(var i=this.tbl,l=e.length*t>>3,n=new haxe_io_Bytes(new ArrayBuffer(l)),s=0,a=0,r=0,_=0;_<l;){for(;a<8;){a+=t,s<<=t;var o=i[e.b[r++]];if(-1==o)throw haxe_Exception.thrown("BaseCode : invalid encoded char");s|=o}a-=8,n.b[_++]=255&s>>a}return n},__class__:haxe_crypto_BaseCode};var haxe_ds_ArraySort=function(){};$hxClasses["haxe.ds.ArraySort"]=haxe_ds_ArraySort,haxe_ds_ArraySort.__name__="haxe.ds.ArraySort",haxe_ds_ArraySort.sort=function(e,t){haxe_ds_ArraySort.rec(e,t,0,e.length)},haxe_ds_ArraySort.rec=function(e,t,i,l){var n=i+l>>1;if(l-i<12){if(l<=i)return;for(var s=i+1,a=l;s<a;)for(var r=s++;r>i&&t(e[r],e[r-1])<0;)haxe_ds_ArraySort.swap(e,r-1,r),--r}else haxe_ds_ArraySort.rec(e,t,i,n),haxe_ds_ArraySort.rec(e,t,n,l),haxe_ds_ArraySort.doMerge(e,t,i,n,l,n-i,l-n)},haxe_ds_ArraySort.doMerge=function(e,t,i,l,n,s,a){var r,_,o,h;if(0!=s&&0!=a)if(s+a!=2){s>a?(r=i+(o=s>>1),h=(_=haxe_ds_ArraySort.lower(e,t,l,n,r))-l):(_=l+(h=a>>1),o=(r=haxe_ds_ArraySort.upper(e,t,i,l,_))-i),haxe_ds_ArraySort.rotate(e,t,r,l,_);var u=r+h;haxe_ds_ArraySort.doMerge(e,t,i,r,u,o,h),haxe_ds_ArraySort.doMerge(e,t,u,_,n,s-o,a-h)}else t(e[l],e[i])<0&&haxe_ds_ArraySort.swap(e,l,i)},haxe_ds_ArraySort.rotate=function(e,t,i,l,n){if(i!=l&&l!=n)for(var s=haxe_ds_ArraySort.gcd(n-i,l-i);0!=s--;){for(var a=e[i+s],r=l-i,_=i+s,o=i+s+r;o!=i+s;)e[_]=e[o],_=o,n-o>r?o+=r:o=i+(r-(n-o));e[_]=a}},haxe_ds_ArraySort.gcd=function(e,t){for(;0!=t;){var i=e%t;e=t,t=i}return e},haxe_ds_ArraySort.upper=function(e,t,i,l,n){for(var s,a,r=l-i;r>0;)a=i+(s=r>>1),t(e[n],e[a])<0?r=s:(i=a+1,r=r-s-1);return i},haxe_ds_ArraySort.lower=function(e,t,i,l,n){for(var s,a,r=l-i;r>0;)t(e[a=i+(s=r>>1)],e[n])<0?(i=a+1,r=r-s-1):r=s;return i},haxe_ds_ArraySort.swap=function(e,t,i){var l=e[t];e[t]=e[i],e[i]=l};var haxe_ds_BalancedTree=function(){};$hxClasses["haxe.ds.BalancedTree"]=haxe_ds_BalancedTree,haxe_ds_BalancedTree.__name__="haxe.ds.BalancedTree",haxe_ds_BalancedTree.__interfaces__=[haxe_IMap],haxe_ds_BalancedTree.iteratorLoop=function(e,t){null!=e&&(haxe_ds_BalancedTree.iteratorLoop(e.left,t),t.push(e.value),haxe_ds_BalancedTree.iteratorLoop(e.right,t))},haxe_ds_BalancedTree.prototype={root:null,set:function(e,t){this.root=this.setLoop(e,t,this.root)},get:function(e){for(var t=this.root;null!=t;){var i=this.compare(e,t.key);if(0==i)return t.value;t=i<0?t.left:t.right}return null},remove:function(e){try{return this.root=this.removeLoop(e,this.root),!0}catch(e){if(haxe_NativeStackTrace.lastError=e,"string"==typeof haxe_Exception.caught(e).unwrap())return!1;throw e}},exists:function(e){for(var t=this.root;null!=t;){var i=this.compare(e,t.key);if(0==i)return!0;t=i<0?t.left:t.right}return!1},iterator:function(){var e=[];return haxe_ds_BalancedTree.iteratorLoop(this.root,e),new haxe_iterators_ArrayIterator(e)},keyValueIterator:function(){return new haxe_iterators_MapKeyValueIterator(this)},keys:function(){var e=[];return this.keysLoop(this.root,e),new haxe_iterators_ArrayIterator(e)},setLoop:function(e,t,i){if(null==i)return new haxe_ds_TreeNode(null,e,t,null);var l=this.compare(e,i.key);if(0==l)return new haxe_ds_TreeNode(i.left,e,t,i.right,null==i?0:i._height);if(l<0){var n=this.setLoop(e,t,i.left);return this.balance(n,i.key,i.value,i.right)}var s=this.setLoop(e,t,i.right);return this.balance(i.left,i.key,i.value,s)},removeLoop:function(e,t){if(null==t)throw haxe_Exception.thrown("Not_found");var i=this.compare(e,t.key);return 0==i?this.merge(t.left,t.right):i<0?this.balance(this.removeLoop(e,t.left),t.key,t.value,t.right):this.balance(t.left,t.key,t.value,this.removeLoop(e,t.right))},keysLoop:function(e,t){null!=e&&(this.keysLoop(e.left,t),t.push(e.key),this.keysLoop(e.right,t))},merge:function(e,t){if(null==e)return t;if(null==t)return e;var i=this.minBinding(t);return this.balance(e,i.key,i.value,this.removeMinBinding(t))},minBinding:function(e){if(null==e)throw haxe_Exception.thrown("Not_found");return null==e.left?e:this.minBinding(e.left)},removeMinBinding:function(e){return null==e.left?e.right:this.balance(this.removeMinBinding(e.left),e.key,e.value,e.right)},balance:function(e,t,i,l){var n=null==e?0:e._height,s=null==l?0:l._height;if(n>s+2){var a=e.left,r=e.right;return(null==a?0:a._height)>=(null==r?0:r._height)?new haxe_ds_TreeNode(e.left,e.key,e.value,new haxe_ds_TreeNode(e.right,t,i,l)):new haxe_ds_TreeNode(new haxe_ds_TreeNode(e.left,e.key,e.value,e.right.left),e.right.key,e.right.value,new haxe_ds_TreeNode(e.right.right,t,i,l))}if(s>n+2){var a=l.right,r=l.left;return(null==a?0:a._height)>(null==r?0:r._height)?new haxe_ds_TreeNode(new haxe_ds_TreeNode(e,t,i,l.left),l.key,l.value,l.right):new haxe_ds_TreeNode(new haxe_ds_TreeNode(e,t,i,l.left.left),l.left.key,l.left.value,new haxe_ds_TreeNode(l.left.right,l.key,l.value,l.right))}return new haxe_ds_TreeNode(e,t,i,l,(n>s?n:s)+1)},compare:function(e,t){return Reflect.compare(e,t)},__class__:haxe_ds_BalancedTree};var haxe_ds_TreeNode=function(e,t,i,l,n){if(null==n&&(n=-1),this.left=e,this.key=t,this.value=i,this.right=l,-1==n){var s,a=this.left,r=this.right;s=(null==a?0:a._height)>(null==r?0:r._height)?null==(a=this.left)?0:a._height:null==(a=this.right)?0:a._height,this._height=s+1}else this._height=n};$hxClasses["haxe.ds.TreeNode"]=haxe_ds_TreeNode,haxe_ds_TreeNode.__name__="haxe.ds.TreeNode",haxe_ds_TreeNode.prototype={left:null,right:null,key:null,value:null,_height:null,__class__:haxe_ds_TreeNode};var haxe_ds_EnumValueMap=function(){haxe_ds_BalancedTree.call(this)};$hxClasses["haxe.ds.EnumValueMap"]=haxe_ds_EnumValueMap,haxe_ds_EnumValueMap.__name__="haxe.ds.EnumValueMap",haxe_ds_EnumValueMap.__interfaces__=[haxe_IMap],haxe_ds_EnumValueMap.__super__=haxe_ds_BalancedTree,haxe_ds_EnumValueMap.prototype=$extend(haxe_ds_BalancedTree.prototype,{compare:function(e,t){var i=e._hx_index-t._hx_index;if(0!=i)return i;var l=Type.enumParameters(e),n=Type.enumParameters(t);return 0==l.length&&0==n.length?0:this.compareArgs(l,n)},compareArgs:function(e,t){var i=e.length-t.length;if(0!=i)return i;for(var l=0,n=e.length;l<n;){var s=l++,a=this.compareArg(e[s],t[s]);if(0!=a)return a}return 0},compareArg:function(e,t){return Reflect.isEnumValue(e)&&Reflect.isEnumValue(t)?this.compare(e,t):e instanceof Array&&t instanceof Array?this.compareArgs(e,t):Reflect.compare(e,t)},__class__:haxe_ds_EnumValueMap});var haxe_ds_GenericCell=function(e,t){this.elt=e,this.next=t};$hxClasses["haxe.ds.GenericCell"]=haxe_ds_GenericCell,haxe_ds_GenericCell.__name__="haxe.ds.GenericCell",haxe_ds_GenericCell.prototype={elt:null,next:null,__class__:haxe_ds_GenericCell};var haxe_ds_GenericStack=function(){};$hxClasses["haxe.ds.GenericStack"]=haxe_ds_GenericStack,haxe_ds_GenericStack.__name__="haxe.ds.GenericStack",haxe_ds_GenericStack.prototype={head:null,__class__:haxe_ds_GenericStack};var haxe_ds_IntMap=function(){this.h={}};$hxClasses["haxe.ds.IntMap"]=haxe_ds_IntMap,haxe_ds_IntMap.__name__="haxe.ds.IntMap",haxe_ds_IntMap.__interfaces__=[haxe_IMap],haxe_ds_IntMap.prototype={h:null,set:function(e,t){this.h[e]=t},get:function(e){return this.h[e]},exists:function(e){return this.h.hasOwnProperty(e)},remove:function(e){return!!this.h.hasOwnProperty(e)&&(delete this.h[e],!0)},keys:function(){var e=[];for(var t in this.h)this.h.hasOwnProperty(t)&&e.push(0|t);return new haxe_iterators_ArrayIterator(e)},iterator:function(){return{ref:this.h,it:this.keys(),hasNext:function(){return this.it.hasNext()},next:function(){var e=this.it.next();return this.ref[e]}}},keyValueIterator:function(){return new haxe_iterators_MapKeyValueIterator(this)},__class__:haxe_ds_IntMap};var haxe_ds__$List_ListNode=function(e,t){this.item=e,this.next=t};$hxClasses["haxe.ds._List.ListNode"]=haxe_ds__$List_ListNode,haxe_ds__$List_ListNode.__name__="haxe.ds._List.ListNode",haxe_ds__$List_ListNode.prototype={item:null,next:null,__class__:haxe_ds__$List_ListNode};var haxe_ds__$List_ListIterator=function(e){this.head=e};$hxClasses["haxe.ds._List.ListIterator"]=haxe_ds__$List_ListIterator,haxe_ds__$List_ListIterator.__name__="haxe.ds._List.ListIterator",haxe_ds__$List_ListIterator.prototype={head:null,hasNext:function(){return null!=this.head},next:function(){var e=this.head.item;return this.head=this.head.next,e},__class__:haxe_ds__$List_ListIterator};var haxe_ds_StringMap=function(){this.h=Object.create(null)};$hxClasses["haxe.ds.StringMap"]=haxe_ds_StringMap,haxe_ds_StringMap.__name__="haxe.ds.StringMap",haxe_ds_StringMap.__interfaces__=[haxe_IMap],haxe_ds_StringMap.keysIterator=function(e){var t=Object.keys(e),i=t.length,l=0;return{hasNext:function(){return l<i},next:function(){return l+=1,t[l-1]}}},haxe_ds_StringMap.valueIterator=function(e){var t=Object.keys(e),i=t.length,l=0;return{hasNext:function(){return l<i},next:function(){return l+=1,e[t[l-1]]}}},haxe_ds_StringMap.kvIterator=function(e){var t=Object.keys(e),i=t.length,l=0;return{hasNext:function(){return l<i},next:function(){var i=t[(l+=1)-1];return{key:i,value:e[i]}}}},haxe_ds_StringMap.stringify=function(e){var t="{",i=!0;for(var l in e)i?i=!1:t+=",",t+=l+" => "+Std.string(e[l]);return t+"}"},haxe_ds_StringMap.prototype={h:null,exists:function(e){return Object.prototype.hasOwnProperty.call(this.h,e)},get:function(e){return this.h[e]},set:function(e,t){this.h[e]=t},remove:function(e){return!!Object.prototype.hasOwnProperty.call(this.h,e)&&(delete this.h[e],!0)},keys:function(){return haxe_ds_StringMap.keysIterator(this.h)},iterator:function(){return haxe_ds_StringMap.valueIterator(this.h)},keyValueIterator:function(){return haxe_ds_StringMap.kvIterator(this.h)},__class__:haxe_ds_StringMap};var haxe_http_HttpBase=function(e){this.url=e,this.headers=[],this.params=[],this.emptyOnData=$bind(this,this.onData)};$hxClasses["haxe.http.HttpBase"]=haxe_http_HttpBase,haxe_http_HttpBase.__name__="haxe.http.HttpBase",haxe_http_HttpBase.prototype={url:null,responseBytes:null,responseAsString:null,postData:null,postBytes:null,headers:null,params:null,emptyOnData:null,setParameter:function(e,t){for(var i=0,l=this.params.length;i<l;){var n=i++;if(this.params[n].name==e)return void(this.params[n]={name:e,value:t})}this.params.push({name:e,value:t})},onData:function(e){},onBytes:function(e){},onError:function(e){},onStatus:function(e){},hasOnData:function(){return!Reflect.compareMethods($bind(this,this.onData),this.emptyOnData)},success:function(e){this.responseBytes=e,this.responseAsString=null,this.hasOnData()&&this.onData(this.get_responseData()),this.onBytes(this.responseBytes)},get_responseData:function(){return null==this.responseAsString&&null!=this.responseBytes&&(this.responseAsString=this.responseBytes.getString(0,this.responseBytes.length,haxe_io_Encoding.UTF8)),this.responseAsString},__class__:haxe_http_HttpBase,__properties__:{get_responseData:"get_responseData"}};var haxe_http_HttpJs=function(e){this.async=!0,this.withCredentials=!1,haxe_http_HttpBase.call(this,e)};$hxClasses["haxe.http.HttpJs"]=haxe_http_HttpJs,haxe_http_HttpJs.__name__="haxe.http.HttpJs",haxe_http_HttpJs.__super__=haxe_http_HttpBase,haxe_http_HttpJs.prototype=$extend(haxe_http_HttpBase.prototype,{async:null,withCredentials:null,req:null,request:function(e){var t=this;this.responseAsString=null,this.responseBytes=null;var i=this.req=js_Browser.createXMLHttpRequest(),l=function(e){if(4==i.readyState){var l;try{l=i.status}catch(e){haxe_NativeStackTrace.lastError=e,l=null}if(0==l&&"undefined"!=typeof window&&null!=$global.location){var n=$global.location.protocol.toLowerCase();new EReg("^(?:about|app|app-storage|.+-extension|file|res|widget):$","").match(n)&&(l=null!=i.response?200:404)}if(void 0==l&&(l=null),null!=l&&t.onStatus(l),null!=l&&l>=200&&l<400)t.req=null,t.success(haxe_io_Bytes.ofData(i.response));else if(null==l||0==l&&null==i.response)t.req=null,t.onError("Failed to connect or resolve host");else if(null==l){t.req=null;s=null!=i.response?haxe_io_Bytes.ofData(i.response):null;t.responseBytes=s,t.onError("Http Error #"+i.status)}else switch(l){case 12007:t.req=null,t.onError("Unknown host");break;case 12029:t.req=null,t.onError("Failed to connect to host");break;default:t.req=null;var s=null!=i.response?haxe_io_Bytes.ofData(i.response):null;t.responseBytes=s,t.onError("Http Error #"+i.status)}}};this.async&&(i.onreadystatechange=l);var n,s=this.postBytes;if(null==(r=this.postData))if(null==s)n=null;else{var a=s;n=new Blob([a.b.bufferValue])}else n=null==s?r:null;if(null!=n)e=!0;else for(var s=0,r=this.params;s<r.length;){var _=r[s];++s,n=null==n?"":(null==n?"null":Std.string(n))+"&";var o=_.name,h=(null==n?"null":Std.string(n))+encodeURIComponent(o)+"=",u=_.value;n=h+encodeURIComponent(u)}try{if(e)i.open("POST",this.url,this.async);else if(null!=n){var d=this.url.split("?").length<=1;i.open("GET",this.url+(d?"?":"&")+(null==n?"null":Std.string(n)),this.async),n=null}else i.open("GET",this.url,this.async);i.responseType="arraybuffer"}catch(s){haxe_NativeStackTrace.lastError=s;var c=haxe_Exception.caught(s).unwrap();return this.req=null,void this.onError(c.toString())}i.withCredentials=this.withCredentials,!Lambda.exists(this.headers,function(e){return"Content-Type"==e.name})&&e&&null==this.postData&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(var s=0,r=this.headers;s<r.length;){var p=r[s];++s,i.setRequestHeader(p.name,p.value)}i.send(n),this.async||l()},__class__:haxe_http_HttpJs});var haxe_io_BytesBuffer=function(){this.pos=0,this.size=0};$hxClasses["haxe.io.BytesBuffer"]=haxe_io_BytesBuffer,haxe_io_BytesBuffer.__name__="haxe.io.BytesBuffer",haxe_io_BytesBuffer.prototype={buffer:null,view:null,u8:null,pos:null,size:null,addByte:function(e){this.pos==this.size&&this.grow(1),this.view.setUint8(this.pos++,e)},add:function(e){if(this.pos+e.length>this.size&&this.grow(e.length),0!=this.size){var t=new Uint8Array(e.b.buffer,e.b.byteOffset,e.length);this.u8.set(t,this.pos),this.pos+=e.length}},addBytes:function(e,t,i){if(t<0||i<0||t+i>e.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);if(this.pos+i>this.size&&this.grow(i),0!=this.size){var l=new Uint8Array(e.b.buffer,e.b.byteOffset+t,i);this.u8.set(l,this.pos),this.pos+=i}},grow:function(e){for(var t=this.pos+e,i=0==this.size?16:this.size;i<t;)i=3*i>>1;var l=new ArrayBuffer(i),n=new Uint8Array(l);this.size>0&&n.set(this.u8),this.size=i,this.buffer=l,this.u8=n,this.view=new DataView(this.buffer)},getBytes:function(){if(0==this.size)return new haxe_io_Bytes(new ArrayBuffer(0));var e=new haxe_io_Bytes(this.buffer);return e.length=this.pos,e},__class__:haxe_io_BytesBuffer};var haxe_io_Input=function(){};$hxClasses["haxe.io.Input"]=haxe_io_Input,haxe_io_Input.__name__="haxe.io.Input",haxe_io_Input.prototype={bigEndian:null,readByte:function(){throw haxe_Exception.thrown("Not implemented")},readBytes:function(e,t,i){var l=i,n=e.b;if(t<0||i<0||t+i>e.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);try{for(;l>0;)n[t]=this.readByte(),++t,--l}catch(e){if(haxe_NativeStackTrace.lastError=e,!(haxe_Exception.caught(e).unwrap()instanceof haxe_io_Eof))throw e}return i-l},readFullBytes:function(e,t,i){for(;i>0;){var l=this.readBytes(e,t,i);if(0==l)throw haxe_Exception.thrown(haxe_io_Error.Blocked);t+=l,i-=l}},read:function(e){for(var t=new haxe_io_Bytes(new ArrayBuffer(e)),i=0;e>0;){var l=this.readBytes(t,i,e);if(0==l)throw haxe_Exception.thrown(haxe_io_Error.Blocked);i+=l,e-=l}return t},readInt16:function(){var e=this.readByte(),t=this.readByte(),i=this.bigEndian?t|e<<8:e|t<<8;return 0!=(32768&i)?i-65536:i},readUInt16:function(){var e=this.readByte(),t=this.readByte();return this.bigEndian?t|e<<8:e|t<<8},readInt32:function(){var e=this.readByte(),t=this.readByte(),i=this.readByte(),l=this.readByte();return this.bigEndian?l|i<<8|t<<16|e<<24:e|t<<8|i<<16|l<<24},readString:function(e,t){var i=new haxe_io_Bytes(new ArrayBuffer(e));return this.readFullBytes(i,0,e),i.getString(0,e,t)},__class__:haxe_io_Input};var haxe_io_BytesInput=function(e,t,i){if(null==t&&(t=0),null==i&&(i=e.length-t),t<0||i<0||t+i>e.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);this.b=e.b,this.pos=t,this.len=i,this.totlen=i};$hxClasses["haxe.io.BytesInput"]=haxe_io_BytesInput,haxe_io_BytesInput.__name__="haxe.io.BytesInput",haxe_io_BytesInput.__super__=haxe_io_Input,haxe_io_BytesInput.prototype=$extend(haxe_io_Input.prototype,{b:null,pos:null,len:null,totlen:null,readByte:function(){if(0==this.len)throw haxe_Exception.thrown(new haxe_io_Eof);return this.len--,this.b[this.pos++]},readBytes:function(e,t,i){if(t<0||i<0||t+i>e.length)throw haxe_Exception.thrown(haxe_io_Error.OutsideBounds);if(0==this.len&&i>0)throw haxe_Exception.thrown(new haxe_io_Eof);this.len<i&&(i=this.len);for(var l=this.b,n=e.b,s=0,a=i;s<a;){var r=s++;n[t+r]=l[this.pos+r]}return this.pos+=i,this.len-=i,i},__class__:haxe_io_BytesInput});var haxe_io_Encoding=$hxEnums["haxe.io.Encoding"]={__ename__:"haxe.io.Encoding",__constructs__:["UTF8","RawNative"],UTF8:{_hx_index:0,__enum__:"haxe.io.Encoding",toString:$estr},RawNative:{_hx_index:1,__enum__:"haxe.io.Encoding",toString:$estr}},haxe_io_Eof=function(){};$hxClasses["haxe.io.Eof"]=haxe_io_Eof,haxe_io_Eof.__name__="haxe.io.Eof",haxe_io_Eof.prototype={toString:function(){return"Eof"},__class__:haxe_io_Eof};var haxe_io_Error=$hxEnums["haxe.io.Error"]={__ename__:"haxe.io.Error",__constructs__:["Blocked","Overflow","OutsideBounds","Custom"],Blocked:{_hx_index:0,__enum__:"haxe.io.Error",toString:$estr},Overflow:{_hx_index:1,__enum__:"haxe.io.Error",toString:$estr},OutsideBounds:{_hx_index:2,__enum__:"haxe.io.Error",toString:$estr},Custom:($_=function(e){return{_hx_index:3,e:e,__enum__:"haxe.io.Error",toString:$estr}},$_.__params__=["e"],$_)},haxe_io_FPHelper=function(){};$hxClasses["haxe.io.FPHelper"]=haxe_io_FPHelper,haxe_io_FPHelper.__name__="haxe.io.FPHelper",haxe_io_FPHelper.i32ToFloat=function(e){return haxe_io_FPHelper.helper.setInt32(0,e,!0),haxe_io_FPHelper.helper.getFloat32(0,!0)},haxe_io_FPHelper.floatToI32=function(e){return haxe_io_FPHelper.helper.setFloat32(0,e,!0),haxe_io_FPHelper.helper.getInt32(0,!0)},haxe_io_FPHelper.i64ToDouble=function(e,t){return haxe_io_FPHelper.helper.setInt32(0,e,!0),haxe_io_FPHelper.helper.setInt32(4,t,!0),haxe_io_FPHelper.helper.getFloat64(0,!0)},haxe_io_FPHelper.doubleToI64=function(e){var t=haxe_io_FPHelper.i64tmp;return haxe_io_FPHelper.helper.setFloat64(0,e,!0),t.low=haxe_io_FPHelper.helper.getInt32(0,!0),t.high=haxe_io_FPHelper.helper.getInt32(4,!0),t};var haxe_io_Path=function(e){switch(e){case".":case"..":return this.dir=e,void(this.file="")}var t=e.lastIndexOf("/"),i=e.lastIndexOf("\\");t<i?(this.dir=HxOverrides.substr(e,0,i),e=HxOverrides.substr(e,i+1,null),this.backslash=!0):i<t?(this.dir=HxOverrides.substr(e,0,t),e=HxOverrides.substr(e,t+1,null)):this.dir=null;var l=e.lastIndexOf(".");-1!=l?(this.ext=HxOverrides.substr(e,l+1,null),this.file=HxOverrides.substr(e,0,l)):(this.ext=null,this.file=e)};$hxClasses["haxe.io.Path"]=haxe_io_Path,haxe_io_Path.__name__="haxe.io.Path",haxe_io_Path.withoutDirectory=function(e){var t=new haxe_io_Path(e);return t.dir=null,t.toString()},haxe_io_Path.directory=function(e){var t=new haxe_io_Path(e);return null==t.dir?"":t.dir},haxe_io_Path.extension=function(e){var t=new haxe_io_Path(e);return null==t.ext?"":t.ext},haxe_io_Path.prototype={dir:null,file:null,ext:null,backslash:null,toString:function(){return(null==this.dir?"":this.dir+(this.backslash?"\\":"/"))+this.file+(null==this.ext?"":"."+this.ext)},__class__:haxe_io_Path};var haxe_iterators_ArrayIterator=function(e){this.current=0,this.array=e};$hxClasses["haxe.iterators.ArrayIterator"]=haxe_iterators_ArrayIterator,haxe_iterators_ArrayIterator.__name__="haxe.iterators.ArrayIterator",haxe_iterators_ArrayIterator.prototype={array:null,current:null,hasNext:function(){return this.current<this.array.length},next:function(){return this.array[this.current++]},__class__:haxe_iterators_ArrayIterator};var haxe_iterators_MapKeyValueIterator=function(e){this.map=e,this.keys=e.keys()};$hxClasses["haxe.iterators.MapKeyValueIterator"]=haxe_iterators_MapKeyValueIterator,haxe_iterators_MapKeyValueIterator.__name__="haxe.iterators.MapKeyValueIterator",haxe_iterators_MapKeyValueIterator.prototype={map:null,keys:null,hasNext:function(){return this.keys.hasNext()},next:function(){var e=this.keys.next();return{value:this.map.get(e),key:e}},__class__:haxe_iterators_MapKeyValueIterator};var haxe_xml__$Access_NodeAccess={};haxe_xml__$Access_NodeAccess.resolve=function(e,t){var i=e.elementsNamed(t).next();if(null==i){var l;if(e.nodeType==Xml.Document)l="Document";else{if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));l=e.nodeName}throw haxe_Exception.thrown(l+" is missing element "+t)}if(i.nodeType!=Xml.Document&&i.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==i.nodeType?"null":XmlType.toString(i.nodeType)));return e=i};var haxe_xml__$Access_AttribAccess={};haxe_xml__$Access_AttribAccess.resolve=function(e,t){if(e.nodeType==Xml.Document)throw haxe_Exception.thrown("Cannot access document attribute "+t);var i=e.get(t);if(null==i){if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));throw haxe_Exception.thrown(e.nodeName+" is missing attribute "+t)}return i};var haxe_xml__$Access_HasAttribAccess={};haxe_xml__$Access_HasAttribAccess.resolve=function(e,t){if(e.nodeType==Xml.Document)throw haxe_Exception.thrown("Cannot access document attribute "+t);return e.exists(t)};var haxe_xml__$Access_HasNodeAccess={};haxe_xml__$Access_HasNodeAccess.resolve=function(e,t){return e.elementsNamed(t).hasNext()};var haxe_xml__$Access_NodeListAccess={};haxe_xml__$Access_NodeListAccess.resolve=function(e,t){for(var i=[],l=e.elementsNamed(t);l.hasNext();){var n=l.next();if(n.nodeType!=Xml.Document&&n.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==n.nodeType?"null":XmlType.toString(n.nodeType)));var e=n;i.push(e)}return i};var haxe_xml_XmlParserException=function(e,t,i){this.xml=t,this.message=e,this.position=i,this.lineNumber=1,this.positionAtLine=0;for(var l=0,n=i;l<n;){var s=l++,a=t.charCodeAt(s);10==a?(this.lineNumber++,this.positionAtLine=0):13!=a&&this.positionAtLine++}};$hxClasses["haxe.xml.XmlParserException"]=haxe_xml_XmlParserException,haxe_xml_XmlParserException.__name__="haxe.xml.XmlParserException",haxe_xml_XmlParserException.prototype={message:null,lineNumber:null,positionAtLine:null,position:null,xml:null,toString:function(){return js_Boot.getClass(this).__name__+": "+this.message+" at line "+this.lineNumber+" char "+this.positionAtLine},__class__:haxe_xml_XmlParserException};var haxe_xml_Parser=function(){};$hxClasses["haxe.xml.Parser"]=haxe_xml_Parser,haxe_xml_Parser.__name__="haxe.xml.Parser",haxe_xml_Parser.parse=function(e,t){null==t&&(t=!1);var i=Xml.createDocument();return haxe_xml_Parser.doParse(e,t,0,i),i},haxe_xml_Parser.doParse=function(e,t,i,l){null==i&&(i=0);for(var n=null,s=1,a=1,r=null,_=0,o=0,h=0,u=e.charCodeAt(i),d=new StringBuf,c=1,p=-1;u==u;){switch(s){case 0:switch(u){case 9:case 10:case 13:case 32:break;default:s=a;continue}break;case 1:if(60!=u){_=i,s=13;continue}s=0,a=2;break;case 2:switch(u){case 33:if(91==e.charCodeAt(i+1)){if(i+=2,"CDATA["!=HxOverrides.substr(e,i,6).toUpperCase())throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected <![CDATA[",e,i));s=17,_=(i+=5)+1}else if(68==e.charCodeAt(i+1)||100==e.charCodeAt(i+1)){if("OCTYPE"!=HxOverrides.substr(e,i+2,6).toUpperCase())throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected <!DOCTYPE",e,i));s=16,_=(i+=8)+1}else{if(45!=e.charCodeAt(i+1)||45!=e.charCodeAt(i+2))throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected \x3c!--",e,i));s=15,_=(i+=2)+1}break;case 47:if(null==l)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected node name",e,i));_=i+1,s=0,a=10;break;case 63:s=14,_=i;break;default:s=3,_=i;continue}break;case 3:if(!(u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||58==u||46==u||95==u||45==u)){if(i==_)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected node name",e,i));n=Xml.createElement(HxOverrides.substr(e,_,i-_)),l.addChild(n),++o,s=0,a=4;continue}break;case 4:switch(u){case 47:s=11;break;case 62:s=9;break;default:s=5,_=i;continue}break;case 5:if(!(u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||58==u||46==u||95==u||45==u)){if(_==i)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected attribute name",e,i));if(r=HxOverrides.substr(e,_,i-_),n.exists(r))throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Duplicate attribute ["+r+"]",e,i));s=0,a=6;continue}break;case 6:if(61!=u)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected =",e,i));s=0,a=7;break;case 7:switch(u){case 34:case 39:d=new StringBuf,s=8,_=i+1,p=u;break;default:throw haxe_Exception.thrown(new haxe_xml_XmlParserException('Expected "',e,i))}break;case 8:switch(u){case 38:Q=i-_;d.b+=null==Q?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,Q),s=18,c=8,_=i+1;break;case 60:case 62:if(t)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Invalid unescaped "+String.fromCodePoint(u)+" in attribute value",e,i));if(u==p){var f=i-_;d.b+=null==f?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,f);var m=d.b;d=new StringBuf,n.set(r,m),s=0,a=4}break;default:if(u==p){var x=i-_;d.b+=null==x?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,x);var g=d.b;d=new StringBuf,n.set(r,g),s=0,a=4}}break;case 9:_=i=haxe_xml_Parser.doParse(e,t,i,n),s=1;break;case 10:if(!(u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||58==u||46==u||95==u||45==u)){if(_==i)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected node name",e,i));var F=HxOverrides.substr(e,_,i-_);if(null==l||0!=l.nodeType)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Unexpected </"+F+">, tag is not open",e,i));if(l.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==l.nodeType?"null":XmlType.toString(l.nodeType)));if(F!=l.nodeName){if(l.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==l.nodeType?"null":XmlType.toString(l.nodeType)));throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected </"+l.nodeName+">",e,i))}s=0,a=12;continue}break;case 11:if(62!=u)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected >",e,i));s=1;break;case 12:if(62==u)return 0==o&&l.addChild(Xml.createPCData("")),i;throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Expected >",e,i));case 13:if(60==u){var y=i-_;d.b+=null==y?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,y);var S=Xml.createPCData(d.b);d=new StringBuf,l.addChild(S),++o,s=0,a=2}else if(38==u){var b=i-_;d.b+=null==b?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,b),s=18,c=13,_=i+1}break;case 14:if(63==u&&62==e.charCodeAt(i+1)){++i;var U=HxOverrides.substr(e,_+1,i-_-2);l.addChild(Xml.createProcessingInstruction(U)),++o,s=1}break;case 15:45==u&&45==e.charCodeAt(i+1)&&62==e.charCodeAt(i+2)&&(l.addChild(Xml.createComment(HxOverrides.substr(e,_,i-_))),++o,i+=2,s=1);break;case 16:91==u?++h:93==u?--h:62==u&&0==h&&(l.addChild(Xml.createDocType(HxOverrides.substr(e,_,i-_))),++o,s=1);break;case 17:if(93==u&&93==e.charCodeAt(i+1)&&62==e.charCodeAt(i+2)){var v=Xml.createCData(HxOverrides.substr(e,_,i-_));l.addChild(v),++o,i+=2,s=1}break;case 18:if(59==u){var T=HxOverrides.substr(e,_,i-_);if(35==T.charCodeAt(0)){var N=120==T.charCodeAt(1)?Std.parseInt("0"+HxOverrides.substr(T,1,T.length-1)):Std.parseInt(HxOverrides.substr(T,1,T.length-1));d.b+=String.fromCodePoint(N)}else if(Object.prototype.hasOwnProperty.call(haxe_xml_Parser.escapes.h,T))d.b+=Std.string(haxe_xml_Parser.escapes.h[T]);else{if(t)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Undefined entity: "+T,e,i));d.b+=Std.string("&"+T+";")}_=i+1,s=c}else if(!(u>=97&&u<=122||u>=65&&u<=90||u>=48&&u<=57||58==u||46==u||95==u||45==u)&&35!=u){if(t)throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Invalid character in entity: "+String.fromCodePoint(u),e,i));d.b+=String.fromCodePoint(38);var D=i-_;d.b+=null==D?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,D),_=--i+1,s=c}}u=e.charCodeAt(++i)}if(1==s&&(_=i,s=13),13==s){if(0==l.nodeType){if(l.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==l.nodeType?"null":XmlType.toString(l.nodeType)));throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Unclosed node <"+l.nodeName+">",e,i))}if(i!=_||0==o){Q=i-_;d.b+=null==Q?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,Q),l.addChild(Xml.createPCData(d.b)),++o}return i}if(!t&&18==s&&13==c){d.b+=String.fromCodePoint(38);var Q=i-_;return d.b+=null==Q?HxOverrides.substr(e,_,null):HxOverrides.substr(e,_,Q),l.addChild(Xml.createPCData(d.b)),++o,i}throw haxe_Exception.thrown(new haxe_xml_XmlParserException("Unexpected end",e,i))};var haxe_xml_Printer=function(e){this.output=new StringBuf,this.pretty=e};$hxClasses["haxe.xml.Printer"]=haxe_xml_Printer,haxe_xml_Printer.__name__="haxe.xml.Printer",haxe_xml_Printer.print=function(e,t){null==t&&(t=!1);var i=new haxe_xml_Printer(t);return i.writeNode(e,""),i.output.b},haxe_xml_Printer.prototype={output:null,pretty:null,writeNode:function(e,t){switch(e.nodeType){case 0:if(this.output.b+=Std.string(t+"<"),e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));this.output.b+=Std.string(e.nodeName);for(var i=e.attributes();i.hasNext();){var l=i.next();this.output.b+=Std.string(" "+l+'="');o=StringTools.htmlEscape(e.get(l),!0);this.output.b+=Std.string(o),this.output.b+='"'}if(this.hasChildren(e)){if(this.output.b+=">",this.pretty&&(this.output.b+="\n"),e.nodeType!=Xml.Document&&e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));for(var n=0,s=e.children;n<s.length;){h=s[n++];this.writeNode(h,this.pretty?t+"\t":t)}if(this.output.b+=Std.string(t+"</"),e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));this.output.b+=Std.string(e.nodeName),this.output.b+=">",this.pretty&&(this.output.b+="\n")}else this.output.b+="/>",this.pretty&&(this.output.b+="\n");break;case 1:if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));var a=e.nodeValue;if(0!=a.length){o=t+StringTools.htmlEscape(a);this.output.b+=Std.string(o),this.pretty&&(this.output.b+="\n")}break;case 2:if(this.output.b+=Std.string(t+"<![CDATA["),e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));this.output.b+=Std.string(e.nodeValue),this.output.b+="]]>",this.pretty&&(this.output.b+="\n");break;case 3:if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));var r=e.nodeValue,_=new RegExp("[\n\r\t]+","g".split("u").join(""));r="\x3c!--"+(r=r.replace(_,""))+"--\x3e",this.output.b+=null==t?"null":""+t;var o=StringTools.trim(r);this.output.b+=Std.string(o),this.pretty&&(this.output.b+="\n");break;case 4:if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));this.output.b+=Std.string("<!DOCTYPE "+e.nodeValue+">"),this.pretty&&(this.output.b+="\n");break;case 5:if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));this.output.b+=Std.string("<?"+e.nodeValue+"?>"),this.pretty&&(this.output.b+="\n");break;case 6:if(e.nodeType!=Xml.Document&&e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));for(var n=0,s=e.children;n<s.length;){var h=s[n++];this.writeNode(h,t)}}},hasChildren:function(e){if(e.nodeType!=Xml.Document&&e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element or Document but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));for(var t=0,i=e.children;t<i.length;){var l=i[t++];switch(l.nodeType){case 0:case 1:return!0;case 2:case 3:if(l.nodeType==Xml.Document||l.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==l.nodeType?"null":XmlType.toString(l.nodeType)));if(0!=StringTools.ltrim(l.nodeValue).length)return!0}}return!1},__class__:haxe_xml_Printer};var haxe_zip_ExtraField=$hxEnums["haxe.zip.ExtraField"]={__ename__:"haxe.zip.ExtraField",__constructs__:["FUnknown","FInfoZipUnicodePath","FUtf8"],FUnknown:($_=function(e,t){return{_hx_index:0,tag:e,bytes:t,__enum__:"haxe.zip.ExtraField",toString:$estr}},$_.__params__=["tag","bytes"],$_),FInfoZipUnicodePath:($_=function(e,t){return{_hx_index:1,name:e,crc:t,__enum__:"haxe.zip.ExtraField",toString:$estr}},$_.__params__=["name","crc"],$_),FUtf8:{_hx_index:2,__enum__:"haxe.zip.ExtraField",toString:$estr}},haxe_zip_Huffman=$hxEnums["haxe.zip.Huffman"]={__ename__:"haxe.zip.Huffman",__constructs__:["Found","NeedBit","NeedBits"],Found:($_=function(e){return{_hx_index:0,i:e,__enum__:"haxe.zip.Huffman",toString:$estr}},$_.__params__=["i"],$_),NeedBit:($_=function(e,t){return{_hx_index:1,left:e,right:t,__enum__:"haxe.zip.Huffman",toString:$estr}},$_.__params__=["left","right"],$_),NeedBits:($_=function(e,t){return{_hx_index:2,n:e,table:t,__enum__:"haxe.zip.Huffman",toString:$estr}},$_.__params__=["n","table"],$_)},haxe_zip_HuffTools=function(){};$hxClasses["haxe.zip.HuffTools"]=haxe_zip_HuffTools,haxe_zip_HuffTools.__name__="haxe.zip.HuffTools",haxe_zip_HuffTools.prototype={treeDepth:function(e){switch(e._hx_index){case 0:e.i;return 0;case 1:var t=e.right,i=e.left,l=this.treeDepth(i),n=this.treeDepth(t);return 1+(l<n?l:n);case 2:e.table,e.n;throw haxe_Exception.thrown("assert")}},treeCompress:function(e){var t=this.treeDepth(e);if(0==t)return e;if(1==t){if(1==e._hx_index){var i=e.right,l=e.left;return haxe_zip_Huffman.NeedBit(this.treeCompress(l),this.treeCompress(i))}throw haxe_Exception.thrown("assert")}for(var n=[],s=0,a=1<<t;s<a;){s++;n.push(haxe_zip_Huffman.Found(-1))}return this.treeWalk(n,0,0,t,e),haxe_zip_Huffman.NeedBits(t,n)},treeWalk:function(e,t,i,l,n){if(1==n._hx_index){var s=n.right,a=n.left;l>0?(this.treeWalk(e,t,i+1,l-1,a),this.treeWalk(e,t|1<<i,i+1,l-1,s)):e[t]=this.treeCompress(n)}else e[t]=this.treeCompress(n)},treeMake:function(e,t,i,l){if(l>t)throw haxe_Exception.thrown("Invalid huffman");var n=i<<5|l;return e.h.hasOwnProperty(n)?haxe_zip_Huffman.Found(e.h[n]):(i<<=1,++l,haxe_zip_Huffman.NeedBit(this.treeMake(e,t,i,l),this.treeMake(e,t,1|i,l)))},make:function(e,t,i,l){if(1==i)return haxe_zip_Huffman.NeedBit(haxe_zip_Huffman.Found(0),haxe_zip_Huffman.Found(0));var n=[],s=[];if(l>32)throw haxe_Exception.thrown("Invalid huffman");for(var a=0,r=l;a<r;){var _=a++;n.push(0),s.push(0)}for(var a=0,r=i;a<r;){var o=e[(_=a++)+t];if(o>=l)throw haxe_Exception.thrown("Invalid huffman");n[o]++}for(var h=0,a=1,r=l-1;a<r;)h=h+n[_=a++]<<1,s[_]=h;for(var u=new haxe_ds_IntMap,a=0,r=i;a<r;){var d=e[(_=a++)+t];if(0!=d){var c=s[d-1];s[d-1]=c+1,u.h[c<<5|d]=_}}return this.treeCompress(haxe_zip_Huffman.NeedBit(this.treeMake(u,l,0,1),this.treeMake(u,l,1,1)))},__class__:haxe_zip_HuffTools};var haxe_zip__$InflateImpl_Window=function(e){this.buffer=new haxe_io_Bytes(new ArrayBuffer(65536)),this.pos=0,e&&(this.crc=new haxe_crypto_Adler32)};$hxClasses["haxe.zip._InflateImpl.Window"]=haxe_zip__$InflateImpl_Window,haxe_zip__$InflateImpl_Window.__name__="haxe.zip._InflateImpl.Window",haxe_zip__$InflateImpl_Window.prototype={buffer:null,pos:null,crc:null,slide:function(){null!=this.crc&&this.crc.update(this.buffer,0,32768);var e=new haxe_io_Bytes(new ArrayBuffer(65536));this.pos-=32768,e.blit(0,this.buffer,32768,this.pos),this.buffer=e},addBytes:function(e,t,i){this.pos+i>65536&&this.slide(),this.buffer.blit(this.pos,e,t,i),this.pos+=i},addByte:function(e){65536==this.pos&&this.slide(),this.buffer.b[this.pos]=255&e,this.pos++},getLastChar:function(){return this.buffer.b[this.pos-1]},available:function(){return this.pos},checksum:function(){return null!=this.crc&&this.crc.update(this.buffer,0,this.pos),this.crc},__class__:haxe_zip__$InflateImpl_Window};var haxe_zip__$InflateImpl_State=$hxEnums["haxe.zip._InflateImpl.State"]={__ename__:"haxe.zip._InflateImpl.State",__constructs__:["Head","Block","CData","Flat","Crc","Dist","DistOne","Done"],Head:{_hx_index:0,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},Block:{_hx_index:1,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},CData:{_hx_index:2,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},Flat:{_hx_index:3,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},Crc:{_hx_index:4,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},Dist:{_hx_index:5,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},DistOne:{_hx_index:6,__enum__:"haxe.zip._InflateImpl.State",toString:$estr},Done:{_hx_index:7,__enum__:"haxe.zip._InflateImpl.State",toString:$estr}},haxe_zip_InflateImpl=function(e,t,i){null==i&&(i=!0),null==t&&(t=!0),this.isFinal=!1,this.htools=new haxe_zip_HuffTools,this.huffman=this.buildFixedHuffman(),this.huffdist=null,this.len=0,this.dist=0,this.state=t?haxe_zip__$InflateImpl_State.Head:haxe_zip__$InflateImpl_State.Block,this.input=e,this.bits=0,this.nbits=0,this.needed=0,this.output=null,this.outpos=0,this.lengths=[],this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.lengths.push(-1),this.window=new haxe_zip__$InflateImpl_Window(i)};$hxClasses["haxe.zip.InflateImpl"]=haxe_zip_InflateImpl,haxe_zip_InflateImpl.__name__="haxe.zip.InflateImpl",haxe_zip_InflateImpl.prototype={nbits:null,bits:null,state:null,isFinal:null,huffman:null,huffdist:null,htools:null,len:null,dist:null,needed:null,output:null,outpos:null,input:null,lengths:null,window:null,buildFixedHuffman:function(){if(null!=haxe_zip_InflateImpl.FIXED_HUFFMAN)return haxe_zip_InflateImpl.FIXED_HUFFMAN;for(var e=[],t=0;t<288;){var i=t++;e.push(i<=143?8:i<=255?9:i<=279?7:8)}return haxe_zip_InflateImpl.FIXED_HUFFMAN=this.htools.make(e,0,288,10),haxe_zip_InflateImpl.FIXED_HUFFMAN},readBytes:function(e,t,i){if(this.needed=i,this.outpos=t,this.output=e,i>0)for(;this.inflateLoop(););return i-this.needed},getBits:function(e){for(;this.nbits<e;)this.bits|=this.input.readByte()<<this.nbits,this.nbits+=8;var t=this.bits&(1<<e)-1;return this.nbits-=e,this.bits>>=e,t},getBit:function(){0==this.nbits&&(this.nbits=8,this.bits=this.input.readByte());var e=1==(1&this.bits);return this.nbits--,this.bits>>=1,e},getRevBits:function(e){return 0==e?0:this.getBit()?1<<e-1|this.getRevBits(e-1):this.getRevBits(e-1)},resetBits:function(){this.bits=0,this.nbits=0},addBytes:function(e,t,i){this.window.addBytes(e,t,i),this.output.blit(this.outpos,e,t,i),this.needed-=i,this.outpos+=i},addByte:function(e){this.window.addByte(e),this.output.b[this.outpos]=255&e,this.needed--,this.outpos++},addDistOne:function(e){for(var t=this.window.getLastChar(),i=0,l=e;i<l;){i++;this.addByte(t)}},addDist:function(e,t){this.addBytes(this.window.buffer,this.window.pos-e,t)},applyHuffman:function(e){switch(e._hx_index){case 0:return n=e.i;case 1:var t=e.right,i=e.left;return this.applyHuffman(this.getBit()?t:i);case 2:var l=e.table,n=e.n;return this.applyHuffman(l[this.getBits(n)])}},inflateLengths:function(e,t){for(var i=0,l=0;i<t;){var n=this.applyHuffman(this.huffman);switch(n){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:l=n,e[i]=n,++i;break;case 16:var s=i+3+this.getBits(2);if(s>t)throw haxe_Exception.thrown("Invalid data");for(;i<s;)e[i]=l,++i;break;case 17:if((i+=3+this.getBits(3))>t)throw haxe_Exception.thrown("Invalid data");break;case 18:if((i+=11+this.getBits(7))>t)throw haxe_Exception.thrown("Invalid data");break;default:throw haxe_Exception.thrown("Invalid data")}}},inflateLoop:function(){switch(this.state._hx_index){case 0:var e=this.input.readByte();if(8!=(15&e))throw haxe_Exception.thrown("Invalid data");var t=this.input.readByte(),i=0!=(32&t);if(((e<<8)+t)%31!=0)throw haxe_Exception.thrown("Invalid data");if(i)throw haxe_Exception.thrown("Unsupported dictionary");return this.state=haxe_zip__$InflateImpl_State.Block,!0;case 1:switch(this.isFinal=this.getBit(),this.getBits(2)){case 0:if(this.len=this.input.readUInt16(),this.input.readUInt16()!=65535-this.len)throw haxe_Exception.thrown("Invalid data");this.state=haxe_zip__$InflateImpl_State.Flat;var l=this.inflateLoop();return this.resetBits(),l;case 1:return this.huffman=this.buildFixedHuffman(),this.huffdist=null,this.state=haxe_zip__$InflateImpl_State.CData,!0;case 2:for(var n=this.getBits(5)+257,s=this.getBits(5)+1,a=this.getBits(4)+4,r=0,_=a;r<_;){h=r++;this.lengths[haxe_zip_InflateImpl.CODE_LENGTHS_POS[h]]=this.getBits(3)}for(var r=a,_=19;r<_;){h=r++;this.lengths[haxe_zip_InflateImpl.CODE_LENGTHS_POS[h]]=0}this.huffman=this.htools.make(this.lengths,0,19,8);for(var o=[],r=0,_=n+s;r<_;){var h=r++;o.push(0)}return this.inflateLengths(o,n+s),this.huffdist=this.htools.make(o,n,s,16),this.huffman=this.htools.make(o,0,n,16),this.state=haxe_zip__$InflateImpl_State.CData,!0;default:throw haxe_Exception.thrown("Invalid data")}break;case 2:var u=this.applyHuffman(this.huffman);if(u<256)return this.addByte(u),this.needed>0;if(256==u)return this.state=this.isFinal?haxe_zip__$InflateImpl_State.Crc:haxe_zip__$InflateImpl_State.Block,!0;u-=257;var d=haxe_zip_InflateImpl.LEN_EXTRA_BITS_TBL[u];if(-1==d)throw haxe_Exception.thrown("Invalid data");this.len=haxe_zip_InflateImpl.LEN_BASE_VAL_TBL[u]+this.getBits(d);var c=null==this.huffdist?this.getRevBits(5):this.applyHuffman(this.huffdist);if(-1==(d=haxe_zip_InflateImpl.DIST_EXTRA_BITS_TBL[c]))throw haxe_Exception.thrown("Invalid data");if(this.dist=haxe_zip_InflateImpl.DIST_BASE_VAL_TBL[c]+this.getBits(d),this.dist>this.window.available())throw haxe_Exception.thrown("Invalid data");return this.state=1==this.dist?haxe_zip__$InflateImpl_State.DistOne:haxe_zip__$InflateImpl_State.Dist,!0;case 3:var p=this.len<this.needed?this.len:this.needed,f=this.input.read(p);return this.len-=p,this.addBytes(f,0,p),0==this.len&&(this.state=this.isFinal?haxe_zip__$InflateImpl_State.Crc:haxe_zip__$InflateImpl_State.Block),this.needed>0;case 4:var m=this.window.checksum();if(null==m)return this.state=haxe_zip__$InflateImpl_State.Done,!0;var x=haxe_crypto_Adler32.read(this.input);if(!m.equals(x))throw haxe_Exception.thrown("Invalid CRC");return this.state=haxe_zip__$InflateImpl_State.Done,!0;case 5:for(;this.len>0&&this.needed>0;){var g=this.len<this.dist?this.len:this.dist,p=this.needed<g?this.needed:g;this.addDist(this.dist,p),this.len-=p}return 0==this.len&&(this.state=haxe_zip__$InflateImpl_State.CData),this.needed>0;case 6:p=this.len<this.needed?this.len:this.needed;return this.addDistOne(p),this.len-=p,0==this.len&&(this.state=haxe_zip__$InflateImpl_State.CData),this.needed>0;case 7:return!1}},__class__:haxe_zip_InflateImpl};var haxe_zip_Reader=function(e){this.i=e};$hxClasses["haxe.zip.Reader"]=haxe_zip_Reader,haxe_zip_Reader.__name__="haxe.zip.Reader",haxe_zip_Reader.readZip=function(e){return new haxe_zip_Reader(e).read()},haxe_zip_Reader.unzip=function(e){if(!e.compressed)return e.data;throw haxe_Exception.thrown("No uncompress support")},haxe_zip_Reader.prototype={i:null,readZipDate:function(){var e=this.i.readUInt16(),t=e>>11&31,i=e>>5&63,l=31&e,n=this.i.readUInt16(),s=n>>9,a=n>>5&15,r=31&n;return new Date(s+1980,a-1,r,t,i,l<<1)},readExtraFields:function(e){for(var t=new haxe_ds_List;e>0;){if(e<4)throw haxe_Exception.thrown("Invalid extra fields data");var i=this.i.readUInt16(),l=this.i.readUInt16();if(e<l)throw haxe_Exception.thrown("Invalid extra fields data");if(28789==i){var n=this.i.readByte();if(1!=n){var s=new haxe_io_BytesBuffer;s.addByte(n),s.add(this.i.read(l-1)),t.add(haxe_zip_ExtraField.FUnknown(i,s.getBytes()))}else{var a=this.i.readInt32(),r=this.i.read(l-5).toString();t.add(haxe_zip_ExtraField.FInfoZipUnicodePath(r,a))}}else t.add(haxe_zip_ExtraField.FUnknown(i,this.i.read(l)));e-=4+l}return t},readEntryHeader:function(){var e=this.i,t=e.readInt32();if(33639248==t||101010256==t)return null;if(67324752!=t)throw haxe_Exception.thrown("Invalid Zip Data");e.readUInt16();var i=e.readUInt16(),l=0!=(2048&i),n=e.readUInt16(),s=0!=n;if(s&&8!=n)throw haxe_Exception.thrown("Unsupported compression "+n);var a=this.readZipDate(),r=e.readInt32(),_=e.readInt32(),o=e.readInt32(),h=e.readInt16(),u=e.readInt16(),d=e.readString(h),c=this.readExtraFields(u);l&&c.push(haxe_zip_ExtraField.FUtf8);return 0!=(8&i)&&(_=-1),{fileName:d,fileSize:o,fileTime:a,compressed:s,dataSize:_,data:null,crc32:r,extraFields:c}},read:function(){for(var e=new haxe_ds_List,t=null;;){var i=this.readEntryHeader();if(null==i)break;if(i.dataSize<0){null==t&&(t=new haxe_io_Bytes(new ArrayBuffer(65536)));for(var l=new haxe_io_BytesBuffer,n=new haxe_zip_InflateImpl(this.i,!1,!1);;){var s=n.readBytes(t,0,65536);if(l.addBytes(t,0,s),s<65536)break}i.data=l.getBytes(),i.crc32=this.i.readInt32(),134695760==i.crc32&&(i.crc32=this.i.readInt32()),i.dataSize=this.i.readInt32(),i.fileSize=this.i.readInt32(),i.dataSize=i.fileSize,i.compressed=!1}else i.data=this.i.read(i.dataSize);e.add(i)}return e},__class__:haxe_zip_Reader};var hscript_Const=$hxEnums["hscript.Const"]={__ename__:"hscript.Const",__constructs__:["CInt","CFloat","CString"],CInt:($_=function(e){return{_hx_index:0,v:e,__enum__:"hscript.Const",toString:$estr}},$_.__params__=["v"],$_),CFloat:($_=function(e){return{_hx_index:1,f:e,__enum__:"hscript.Const",toString:$estr}},$_.__params__=["f"],$_),CString:($_=function(e){return{_hx_index:2,s:e,__enum__:"hscript.Const",toString:$estr}},$_.__params__=["s"],$_)},hscript_Expr=$hxEnums["hscript.Expr"]={__ename__:"hscript.Expr",__constructs__:["EConst","EIdent","EVar","EParent","EBlock","EField","EBinop","EUnop","ECall","EIf","EWhile","EFor","EBreak","EContinue","EFunction","EReturn","EArray","EArrayDecl","ENew","EThrow","ETry","EObject","ETernary","ESwitch","EDoWhile","EMeta","ECheckType"],EConst:($_=function(e){return{_hx_index:0,c:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["c"],$_),EIdent:($_=function(e){return{_hx_index:1,v:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["v"],$_),EVar:($_=function(e,t,i){return{_hx_index:2,n:e,t:t,e:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["n","t","e"],$_),EParent:($_=function(e){return{_hx_index:3,e:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e"],$_),EBlock:($_=function(e){return{_hx_index:4,e:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e"],$_),EField:($_=function(e,t){return{_hx_index:5,e:e,f:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e","f"],$_),EBinop:($_=function(e,t,i){return{_hx_index:6,op:e,e1:t,e2:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["op","e1","e2"],$_),EUnop:($_=function(e,t,i){return{_hx_index:7,op:e,prefix:t,e:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["op","prefix","e"],$_),ECall:($_=function(e,t){return{_hx_index:8,e:e,params:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e","params"],$_),EIf:($_=function(e,t,i){return{_hx_index:9,cond:e,e1:t,e2:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["cond","e1","e2"],$_),EWhile:($_=function(e,t){return{_hx_index:10,cond:e,e:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["cond","e"],$_),EFor:($_=function(e,t,i){return{_hx_index:11,v:e,it:t,e:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["v","it","e"],$_),EBreak:{_hx_index:12,__enum__:"hscript.Expr",toString:$estr},EContinue:{_hx_index:13,__enum__:"hscript.Expr",toString:$estr},EFunction:($_=function(e,t,i,l){return{_hx_index:14,args:e,e:t,name:i,ret:l,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["args","e","name","ret"],$_),EReturn:($_=function(e){return{_hx_index:15,e:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e"],$_),EArray:($_=function(e,t){return{_hx_index:16,e:e,index:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e","index"],$_),EArrayDecl:($_=function(e){return{_hx_index:17,e:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e"],$_),ENew:($_=function(e,t){return{_hx_index:18,cl:e,params:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["cl","params"],$_),EThrow:($_=function(e){return{_hx_index:19,e:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e"],$_),ETry:($_=function(e,t,i,l){return{_hx_index:20,e:e,v:t,t:i,ecatch:l,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e","v","t","ecatch"],$_),EObject:($_=function(e){return{_hx_index:21,fl:e,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["fl"],$_),ETernary:($_=function(e,t,i){return{_hx_index:22,cond:e,e1:t,e2:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["cond","e1","e2"],$_),ESwitch:($_=function(e,t,i){return{_hx_index:23,e:e,cases:t,defaultExpr:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e","cases","defaultExpr"],$_),EDoWhile:($_=function(e,t){return{_hx_index:24,cond:e,e:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["cond","e"],$_),EMeta:($_=function(e,t,i){return{_hx_index:25,name:e,args:t,e:i,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["name","args","e"],$_),ECheckType:($_=function(e,t){return{_hx_index:26,e:e,t:t,__enum__:"hscript.Expr",toString:$estr}},$_.__params__=["e","t"],$_)},hscript_CType=$hxEnums["hscript.CType"]={__ename__:"hscript.CType",__constructs__:["CTPath","CTFun","CTAnon","CTParent","CTOpt","CTNamed"],CTPath:($_=function(e,t){return{_hx_index:0,path:e,params:t,__enum__:"hscript.CType",toString:$estr}},$_.__params__=["path","params"],$_),CTFun:($_=function(e,t){return{_hx_index:1,args:e,ret:t,__enum__:"hscript.CType",toString:$estr}},$_.__params__=["args","ret"],$_),CTAnon:($_=function(e){return{_hx_index:2,fields:e,__enum__:"hscript.CType",toString:$estr}},$_.__params__=["fields"],$_),CTParent:($_=function(e){return{_hx_index:3,t:e,__enum__:"hscript.CType",toString:$estr}},$_.__params__=["t"],$_),CTOpt:($_=function(e){return{_hx_index:4,t:e,__enum__:"hscript.CType",toString:$estr}},$_.__params__=["t"],$_),CTNamed:($_=function(e,t){return{_hx_index:5,n:e,t:t,__enum__:"hscript.CType",toString:$estr}},$_.__params__=["n","t"],$_)},hscript_Error=$hxEnums["hscript.Error"]={__ename__:"hscript.Error",__constructs__:["EInvalidChar","EUnexpected","EUnterminatedString","EUnterminatedComment","EInvalidPreprocessor","EUnknownVariable","EInvalidIterator","EInvalidOp","EInvalidAccess","ECustom"],EInvalidChar:($_=function(e){return{_hx_index:0,c:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["c"],$_),EUnexpected:($_=function(e){return{_hx_index:1,s:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["s"],$_),EUnterminatedString:{_hx_index:2,__enum__:"hscript.Error",toString:$estr},EUnterminatedComment:{_hx_index:3,__enum__:"hscript.Error",toString:$estr},EInvalidPreprocessor:($_=function(e){return{_hx_index:4,msg:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["msg"],$_),EUnknownVariable:($_=function(e){return{_hx_index:5,v:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["v"],$_),EInvalidIterator:($_=function(e){return{_hx_index:6,v:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["v"],$_),EInvalidOp:($_=function(e){return{_hx_index:7,op:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["op"],$_),EInvalidAccess:($_=function(e){return{_hx_index:8,f:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["f"],$_),ECustom:($_=function(e){return{_hx_index:9,msg:e,__enum__:"hscript.Error",toString:$estr}},$_.__params__=["msg"],$_)},hscript_ModuleDecl=$hxEnums["hscript.ModuleDecl"]={__ename__:"hscript.ModuleDecl",__constructs__:["DPackage","DImport","DClass","DTypedef"],DPackage:($_=function(e){return{_hx_index:0,path:e,__enum__:"hscript.ModuleDecl",toString:$estr}},$_.__params__=["path"],$_),DImport:($_=function(e,t){return{_hx_index:1,path:e,everything:t,__enum__:"hscript.ModuleDecl",toString:$estr}},$_.__params__=["path","everything"],$_),DClass:($_=function(e){return{_hx_index:2,c:e,__enum__:"hscript.ModuleDecl",toString:$estr}},$_.__params__=["c"],$_),DTypedef:($_=function(e){return{_hx_index:3,c:e,__enum__:"hscript.ModuleDecl",toString:$estr}},$_.__params__=["c"],$_)},hscript_FieldAccess=$hxEnums["hscript.FieldAccess"]={__ename__:"hscript.FieldAccess",__constructs__:["APublic","APrivate","AInline","AOverride","AStatic","AMacro"],APublic:{_hx_index:0,__enum__:"hscript.FieldAccess",toString:$estr},APrivate:{_hx_index:1,__enum__:"hscript.FieldAccess",toString:$estr},AInline:{_hx_index:2,__enum__:"hscript.FieldAccess",toString:$estr},AOverride:{_hx_index:3,__enum__:"hscript.FieldAccess",toString:$estr},AStatic:{_hx_index:4,__enum__:"hscript.FieldAccess",toString:$estr},AMacro:{_hx_index:5,__enum__:"hscript.FieldAccess",toString:$estr}},hscript_FieldKind=$hxEnums["hscript.FieldKind"]={__ename__:"hscript.FieldKind",__constructs__:["KFunction","KVar"],KFunction:($_=function(e){return{_hx_index:0,f:e,__enum__:"hscript.FieldKind",toString:$estr}},$_.__params__=["f"],$_),KVar:($_=function(e){return{_hx_index:1,v:e,__enum__:"hscript.FieldKind",toString:$estr}},$_.__params__=["v"],$_)},hscript__$Interp_Stop=$hxEnums["hscript._Interp.Stop"]={__ename__:"hscript._Interp.Stop",__constructs__:["SBreak","SContinue","SReturn"],SBreak:{_hx_index:0,__enum__:"hscript._Interp.Stop",toString:$estr},SContinue:{_hx_index:1,__enum__:"hscript._Interp.Stop",toString:$estr},SReturn:{_hx_index:2,__enum__:"hscript._Interp.Stop",toString:$estr}},hscript_Token=$hxEnums["hscript.Token"]={__ename__:"hscript.Token",__constructs__:["TEof","TConst","TId","TOp","TPOpen","TPClose","TBrOpen","TBrClose","TDot","TComma","TSemicolon","TBkOpen","TBkClose","TQuestion","TDoubleDot","TMeta","TPrepro"],TEof:{_hx_index:0,__enum__:"hscript.Token",toString:$estr},TConst:($_=function(e){return{_hx_index:1,c:e,__enum__:"hscript.Token",toString:$estr}},$_.__params__=["c"],$_),TId:($_=function(e){return{_hx_index:2,s:e,__enum__:"hscript.Token",toString:$estr}},$_.__params__=["s"],$_),TOp:($_=function(e){return{_hx_index:3,s:e,__enum__:"hscript.Token",toString:$estr}},$_.__params__=["s"],$_),TPOpen:{_hx_index:4,__enum__:"hscript.Token",toString:$estr},TPClose:{_hx_index:5,__enum__:"hscript.Token",toString:$estr},TBrOpen:{_hx_index:6,__enum__:"hscript.Token",toString:$estr},TBrClose:{_hx_index:7,__enum__:"hscript.Token",toString:$estr},TDot:{_hx_index:8,__enum__:"hscript.Token",toString:$estr},TComma:{_hx_index:9,__enum__:"hscript.Token",toString:$estr},TSemicolon:{_hx_index:10,__enum__:"hscript.Token",toString:$estr},TBkOpen:{_hx_index:11,__enum__:"hscript.Token",toString:$estr},TBkClose:{_hx_index:12,__enum__:"hscript.Token",toString:$estr},TQuestion:{_hx_index:13,__enum__:"hscript.Token",toString:$estr},TDoubleDot:{_hx_index:14,__enum__:"hscript.Token",toString:$estr},TMeta:($_=function(e){return{_hx_index:15,s:e,__enum__:"hscript.Token",toString:$estr}},$_.__params__=["s"],$_),TPrepro:($_=function(e){return{_hx_index:16,s:e,__enum__:"hscript.Token",toString:$estr}},$_.__params__=["s"],$_)},hscript_Parser=function(){this.uid=0,this.preprocesorValues=new haxe_ds_StringMap,this.line=1,this.opChars="+*/-=!><&|^%~",this.identChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";var e=[["%"],["*","/"],["+","-"],["<<",">>",">>>"],["|","&","^"],["==","!=",">","<",">=","<="],["..."],["&&"],["||"],["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","&=","^=","=>"]];this.opPriority=new haxe_ds_StringMap,this.opRightAssoc=new haxe_ds_StringMap,this.unops=new haxe_ds_StringMap;for(var t=0,i=e.length;t<i;)for(var l=t++,n=0,s=e[l];n<s.length;){a=s[n];++n,this.opPriority.h[a]=l,9==l&&(this.opRightAssoc.h[a]=!0)}a="!";this.unops.h[a]="++"==a||"--"==a;a="++";this.unops.h[a]="++"==a||"--"==a;a="--";this.unops.h[a]="++"==a||"--"==a;a="-";this.unops.h[a]="++"==a||"--"==a;var a="~";this.unops.h[a]="++"==a||"--"==a};$hxClasses["hscript.Parser"]=hscript_Parser,hscript_Parser.__name__="hscript.Parser",hscript_Parser.prototype={line:null,opChars:null,identChars:null,opPriority:null,opRightAssoc:null,unops:null,preprocesorValues:null,allowJSON:null,allowTypes:null,allowMetadata:null,resumeErrors:null,input:null,readPos:null,char:null,ops:null,idents:null,uid:null,tokens:null,error:function(e,t,i){if(!this.resumeErrors)throw haxe_Exception.thrown(e)},invalidChar:function(e){if(!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EInvalidChar(e))},initParser:function(e){this.preprocStack=[],this.tokens=new haxe_ds_GenericStack,this.char=-1,this.ops=[],this.idents=[],this.uid=0;for(var t=0,i=this.opChars.length;t<i;){l=t++;this.ops[HxOverrides.cca(this.opChars,l)]=!0}for(var t=0,i=this.identChars.length;t<i;){var l=t++;this.idents[HxOverrides.cca(this.identChars,l)]=!0}},parseString:function(e,t){null==t&&(t="hscript"),this.initParser(t),this.input=e,this.readPos=0;for(var i=[];;){var l=this.token();if(l==hscript_Token.TEof)break;var n=this.tokens;n.head=new haxe_ds_GenericCell(l,n.head),this.parseFullExpr(i)}return 1==i.length?i[0]:hscript_Expr.EBlock(i)},unexpected:function(e){var t=hscript_Error.EUnexpected(this.tokenString(e));if(!this.resumeErrors)throw haxe_Exception.thrown(t);return null},push:function(e){var t=this.tokens;t.head=new haxe_ds_GenericCell(e,t.head)},ensure:function(e){var t=this.token();t!=e&&this.unexpected(t)},ensureToken:function(e){var t=this.token();Type.enumEq(t,e)||this.unexpected(t)},maybe:function(e){var t=this.token();if(Type.enumEq(t,e))return!0;var i=this.tokens;return i.head=new haxe_ds_GenericCell(t,i.head),!1},getIdent:function(){var e=this.token();return null==e?(this.unexpected(e),null):2==e._hx_index?e.s:(this.unexpected(e),null)},expr:function(e){return e},pmin:function(e){return 0},pmax:function(e){return 0},mk:function(e,t,i){return e},isBlock:function(e){if(null==e)return!1;switch(e._hx_index){case 2:e.n;var t=e.e,i=e.t;if(null!=t)return this.isBlock(t);if(null!=i){if(null==i)return!1;if(2==i._hx_index){i.fields;return!0}return!1}return!1;case 4:e.e;return!0;case 6:e.e1,e.op;t=e.e2;return this.isBlock(t);case 7:e.op;t=e.e;return!e.prefix&&this.isBlock(t);case 9:e.cond;var l=e.e2,t=e.e1;return null!=l?this.isBlock(l):this.isBlock(t);case 10:e.cond;t=e.e;return this.isBlock(t);case 11:e.it,e.v;t=e.e;return this.isBlock(t);case 14:e.ret,e.name,e.args;t=e.e;return this.isBlock(t);case 15:return null!=(t=e.e)&&this.isBlock(t);case 20:e.t,e.v,e.e;t=e.ecatch;return this.isBlock(t);case 21:e.fl;return!0;case 23:e.defaultExpr,e.cases,e.e;return!0;case 24:e.cond;t=e.e;return this.isBlock(t);case 25:e.args,e.name;t=e.e;return this.isBlock(t);default:return!1}},parseFullExpr:function(e){var t=this.parseExpr();e.push(t);for(var i=this.token();;){var l;if(i==hscript_Token.TComma&&null!=t)if(2==t._hx_index){t.e,t.t,t.n;l=!0}else l=!1;else l=!1;if(!l)break;t=this.parseStructure("var"),e.push(t),i=this.token()}if(i!=hscript_Token.TSemicolon&&i!=hscript_Token.TEof)if(this.isBlock(t)){var n=this.tokens;n.head=new haxe_ds_GenericCell(i,n.head)}else this.unexpected(i)},parseObject:function(e){var t=[];e:for(;;){var i=this.token(),l=null;if(null==i){this.unexpected(i);break}switch(i._hx_index){case 1:var n=i.c;this.allowJSON||this.unexpected(i),2==n._hx_index?l=n.s:this.unexpected(i);break;case 2:l=i.s;break;case 7:break e;default:this.unexpected(i);break e}var s=this.token();if(s!=hscript_Token.TDoubleDot&&this.unexpected(s),t.push({name:l,e:this.parseExpr()}),null==(i=this.token()))this.unexpected(i);else switch(i._hx_index){case 7:break e;case 9:break;default:this.unexpected(i)}}return this.parseExprNext(hscript_Expr.EObject(t))},parseExpr:function(){var e=this.token();if(null==e)return this.unexpected(e);switch(e._hx_index){case 1:a=e.c;return this.parseExprNext(hscript_Expr.EConst(a));case 2:c=e.s;return null==(d=this.parseStructure(c))&&(d=hscript_Expr.EIdent(c)),this.parseExprNext(d);case 3:var t=e.s;if(Object.prototype.hasOwnProperty.call(this.unops.h,t)){d=this.parseExpr();if("-"==t&&null!=d&&0==d._hx_index)switch((r=d.c)._hx_index){case 0:var i=r.v;return hscript_Expr.EConst(hscript_Const.CInt(-i));case 1:var l=r.f;return hscript_Expr.EConst(hscript_Const.CFloat(-l))}return this.makeUnop(t,d)}return this.unexpected(e);case 4:d=this.parseExpr();if(null!=(e=this.token()))switch(e._hx_index){case 5:return this.parseExprNext(hscript_Expr.EParent(d));case 9:if(1==d._hx_index){s=d.v;return this.parseLambda([{name:s}],0)}break;case 14:var n=this.parseType();if(null!=(e=this.token()))switch(e._hx_index){case 5:return this.parseExprNext(hscript_Expr.ECheckType(d,n));case 9:if(1==d._hx_index){var s=d.v;return this.parseLambda([{name:s,t:n}],0)}}}return this.unexpected(e);case 6:if(null==(e=this.token()))(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head);else switch(e._hx_index){case 1:var a=e.c;if(this.allowJSON)if(2==a._hx_index){var r=a.s,_=this.token();if((h=this.tokens).head=new haxe_ds_GenericCell(_,h.head),(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head),null!=_&&14==_._hx_index)return this.parseExprNext(this.parseObject(0))}else(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head);else(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head);break;case 2:var r=e.s,_=this.token();if((h=this.tokens).head=new haxe_ds_GenericCell(_,h.head),(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head),null!=_&&14==_._hx_index)return this.parseExprNext(this.parseObject(0));break;case 7:return this.parseExprNext(hscript_Expr.EObject([]));default:(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head)}for(o=[];;){if(this.parseFullExpr(o),(e=this.token())==hscript_Token.TBrClose||this.resumeErrors&&e==hscript_Token.TEof)break;(h=this.tokens).head=new haxe_ds_GenericCell(e,h.head)}return hscript_Expr.EBlock(o);case 11:var o=[];for(e=this.token();e!=hscript_Token.TBkClose&&(!this.resumeErrors||e!=hscript_Token.TEof);){var h=this.tokens;h.head=new haxe_ds_GenericCell(e,h.head),o.push(this.parseExpr()),(e=this.token())==hscript_Token.TComma&&(e=this.token())}if(1==o.length&&null!=o[0])switch((r=o[0])._hx_index){case 10:r.e,r.cond;var u="__a_"+this.uid++,d=hscript_Expr.EBlock([hscript_Expr.EVar(u,null,hscript_Expr.EArrayDecl([])),this.mapCompr(u,o[0]),hscript_Expr.EIdent(u)]);return this.parseExprNext(d);case 11:r.e,r.it,r.v;var u="__a_"+this.uid++,d=hscript_Expr.EBlock([hscript_Expr.EVar(u,null,hscript_Expr.EArrayDecl([])),this.mapCompr(u,o[0]),hscript_Expr.EIdent(u)]);return this.parseExprNext(d);case 24:r.e,r.cond;var u="__a_"+this.uid++,d=hscript_Expr.EBlock([hscript_Expr.EVar(u,null,hscript_Expr.EArrayDecl([])),this.mapCompr(u,o[0]),hscript_Expr.EIdent(u)]);return this.parseExprNext(d)}return this.parseExprNext(hscript_Expr.EArrayDecl(o));case 15:var c=e.s;if(this.allowMetadata){var p=this.parseMetaArgs();return hscript_Expr.EMeta(c,p,this.parseExpr())}return this.unexpected(e);default:return this.unexpected(e)}},parseLambda:function(e,t){e:for(;;){var i=this.getIdent(),l=this.maybe(hscript_Token.TDoubleDot)?this.parseType():null;e.push({name:i,t:l});var n=this.token();if(null==n){this.unexpected(n);break}switch(n._hx_index){case 5:break e;case 9:break;default:this.unexpected(n);break e}}l=this.token();Type.enumEq(l,hscript_Token.TOp("->"))||this.unexpected(l);var s=this.parseExpr();return hscript_Expr.EFunction(e,hscript_Expr.EReturn(s))},parseMetaArgs:function(){if((l=this.token())!=hscript_Token.TPOpen)return(t=this.tokens).head=new haxe_ds_GenericCell(l,t.head),null;var e=[];if((l=this.token())!=hscript_Token.TPClose){var t=this.tokens;t.head=new haxe_ds_GenericCell(l,t.head);e:for(;;){e.push(this.parseExpr());var i=this.token();if(null==i){var l=i;this.unexpected(l)}else switch(i._hx_index){case 5:break e;case 9:break;default:var n=i;this.unexpected(n)}}}return e},mapCompr:function(e,t){if(null==t)return null;var i;switch(t._hx_index){case 3:n=t.e;i=hscript_Expr.EParent(this.mapCompr(e,n));break;case 4:var l=t.e;if(1==l.length){s=l[0];i=hscript_Expr.EBlock([this.mapCompr(e,s)])}else i=hscript_Expr.ECall(hscript_Expr.EField(hscript_Expr.EIdent(e),"push"),[t]);break;case 9:var n=t.e2,s=t.e1,a=t.cond;i=null==n?hscript_Expr.EIf(a,this.mapCompr(e,s),null):hscript_Expr.ECall(hscript_Expr.EField(hscript_Expr.EIdent(e),"push"),[t]);break;case 10:var n=t.e,a=t.cond;i=hscript_Expr.EWhile(a,this.mapCompr(e,n));break;case 11:var n=t.e,r=t.it,_=t.v;i=hscript_Expr.EFor(_,r,this.mapCompr(e,n));break;case 24:var n=t.e,a=t.cond;i=hscript_Expr.EDoWhile(a,this.mapCompr(e,n));break;default:i=hscript_Expr.ECall(hscript_Expr.EField(hscript_Expr.EIdent(e),"push"),[t])}return i},makeUnop:function(e,t){if(null==t&&this.resumeErrors)return null;switch(t._hx_index){case 6:var i=t.e2,l=t.e1,n=t.op;return hscript_Expr.EBinop(n,this.makeUnop(e,l),i);case 22:var s=t.e2,i=t.e1,l=t.cond;return hscript_Expr.ETernary(this.makeUnop(e,l),i,s);default:return hscript_Expr.EUnop(e,!0,t)}},makeBinop:function(e,t,i){if(null==i&&this.resumeErrors)return hscript_Expr.EBinop(e,t,i);switch(i._hx_index){case 6:var l=i.e2,n=i.e1,s=i.op;return this.opPriority.h[e]<=this.opPriority.h[s]&&!Object.prototype.hasOwnProperty.call(this.opRightAssoc.h,e)?hscript_Expr.EBinop(s,this.makeBinop(e,t,n),l):hscript_Expr.EBinop(e,t,i);case 22:var a=i.e2,l=i.e1,n=i.cond;return Object.prototype.hasOwnProperty.call(this.opRightAssoc.h,e)?hscript_Expr.EBinop(e,t,i):hscript_Expr.ETernary(this.makeBinop(e,t,n),l,a);default:return hscript_Expr.EBinop(e,t,i)}},parseStructure:function(e){switch(e){case"break":return hscript_Expr.EBreak;case"continue":return hscript_Expr.EContinue;case"do":c=this.parseExpr();null==(d=this.token())?this.unexpected(d):2==d._hx_index?"while"!=d.s&&this.unexpected(d):this.unexpected(d);v=this.parseExpr();return hscript_Expr.EDoWhile(v,c);case"else":return this.unexpected(hscript_Token.TId(e));case"for":(i=this.token())!=hscript_Token.TPOpen&&this.unexpected(i);var t=this.getIdent(),i=this.token();Type.enumEq(i,hscript_Token.TId("in"))||this.unexpected(i);var l=this.parseExpr();(i=this.token())!=hscript_Token.TPClose&&this.unexpected(i);c=this.parseExpr();return hscript_Expr.EFor(t,l,c);case"function":var n=null;null==(d=this.token())?(U=this.tokens).head=new haxe_ds_GenericCell(d,U.head):2==d._hx_index?n=e=d.s:(U=this.tokens).head=new haxe_ds_GenericCell(d,U.head);var s=this.parseFunctionDecl();return hscript_Expr.EFunction(s.args,s.body,n,s.ret);case"if":(i=this.token())!=hscript_Token.TPOpen&&this.unexpected(i);var a=this.parseExpr();(i=this.token())!=hscript_Token.TPClose&&this.unexpected(i);var r=this.parseExpr(),_=null,o=!1;return(d=this.token())==hscript_Token.TSemicolon&&(o=!0,d=this.token()),Type.enumEq(d,hscript_Token.TId("else"))?_=this.parseExpr():((U=this.tokens).head=new haxe_ds_GenericCell(d,U.head),o&&((U=this.tokens).head=new haxe_ds_GenericCell(hscript_Token.TSemicolon,U.head))),hscript_Expr.EIf(a,r,_);case"inline":return this.maybe(hscript_Token.TId("function"))||this.unexpected(hscript_Token.TId("inline")),this.parseStructure("function");case"new":var h=[];h.push(this.getIdent());e:for(;;){if(null==(d=this.token())){this.unexpected(d);break}switch(d._hx_index){case 4:break e;case 8:h.push(this.getIdent());break;default:this.unexpected(d);break e}}var u=this.parseExprList(hscript_Token.TPClose);return hscript_Expr.ENew(h.join("."),u);case"return":var d=this.token();(U=this.tokens).head=new haxe_ds_GenericCell(d,U.head);c=d==hscript_Token.TSemicolon?null:this.parseExpr();return hscript_Expr.EReturn(c);case"switch":var c=this.parseExpr(),p=null,f=[];(i=this.token())!=hscript_Token.TBrOpen&&this.unexpected(i);e:for(;;){if(null==(d=this.token())){this.unexpected(d);break}switch(d._hx_index){case 2:switch(d.s){case"case":var m={values:[],expr:null};f.push(m);t:for(;;){r=this.parseExpr();if(m.values.push(r),null==(d=this.token())){this.unexpected(d);break}switch(d._hx_index){case 9:break;case 14:break t;default:this.unexpected(d);break t}}var x=[];t:for(;;)if(d=this.token(),(U=this.tokens).head=new haxe_ds_GenericCell(d,U.head),null==d)this.parseFullExpr(x);else switch(d._hx_index){case 0:if(this.resumeErrors)break t;this.parseFullExpr(x);break;case 2:switch(d.s){case"case":case"default":break t;default:this.parseFullExpr(x)}break;case 7:break t;default:this.parseFullExpr(x)}m.expr=1==x.length?x[0]:0==x.length?hscript_Expr.EBlock([]):hscript_Expr.EBlock(x);break;case"default":null!=p&&this.unexpected(d),(i=this.token())!=hscript_Token.TDoubleDot&&this.unexpected(i);var g=[];t:for(;;){d=this.token();var F=this.tokens;if(F.head=new haxe_ds_GenericCell(d,F.head),null==d)this.parseFullExpr(g);else switch(d._hx_index){case 0:if(this.resumeErrors)break t;this.parseFullExpr(g);break;case 2:switch(d.s){case"case":case"default":break t;default:this.parseFullExpr(g)}break;case 7:break t;default:this.parseFullExpr(g)}}p=1==g.length?g[0]:0==g.length?hscript_Expr.EBlock([]):hscript_Expr.EBlock(g);break;default:this.unexpected(d);break e}break;case 7:break e;default:this.unexpected(d);break e}}return hscript_Expr.ESwitch(c,f,p);case"throw":c=this.parseExpr();return hscript_Expr.EThrow(c);case"try":var c=this.parseExpr(),i=this.token();Type.enumEq(i,hscript_Token.TId("catch"))||this.unexpected(i),(i=this.token())!=hscript_Token.TPOpen&&this.unexpected(i);t=this.getIdent();(i=this.token())!=hscript_Token.TDoubleDot&&this.unexpected(i);i=null;if(this.allowTypes)i=this.parseType();else{var y=this.token();Type.enumEq(y,hscript_Token.TId("Dynamic"))||this.unexpected(y)}(y=this.token())!=hscript_Token.TPClose&&this.unexpected(y);var S=this.parseExpr();return hscript_Expr.ETry(c,t,i,S);case"var":var b=this.getIdent(),i=null;(d=this.token())==hscript_Token.TDoubleDot&&this.allowTypes&&(i=this.parseType(),d=this.token());c=null;if(Type.enumEq(d,hscript_Token.TOp("=")))c=this.parseExpr();else{var U=this.tokens;U.head=new haxe_ds_GenericCell(d,U.head)}return hscript_Expr.EVar(b,i,c);case"while":var v=this.parseExpr(),c=this.parseExpr();return hscript_Expr.EWhile(v,c);default:return null}},parseExprNext:function(e){var t=this.token();if(null==t)return(u=this.tokens).head=new haxe_ds_GenericCell(t,u.head),e;switch(t._hx_index){case 3:var i=t.s;if("->"==i){switch(e._hx_index){case 1:var l=e.v,n=this.parseExpr();return hscript_Expr.EFunction([{name:l}],hscript_Expr.EReturn(n));case 3:if(1==(s=e.e)._hx_index){var l=s.v,n=this.parseExpr();return hscript_Expr.EFunction([{name:l}],hscript_Expr.EReturn(n))}break;case 26:var s=e.e;if(1==s._hx_index){var a=e.t,l=s.v,n=this.parseExpr();return hscript_Expr.EFunction([{name:l,t:a}],hscript_Expr.EReturn(n))}}this.unexpected(t)}if(this.unops.h[i]){var r;if(this.isBlock(e))r=!0;else if(3==e._hx_index){e.e;r=!0}else r=!1;return r?((u=this.tokens).head=new haxe_ds_GenericCell(t,u.head),e):this.parseExprNext(hscript_Expr.EUnop(i,!1,e))}return this.makeBinop(i,e,this.parseExpr());case 4:return this.parseExprNext(hscript_Expr.ECall(e,this.parseExprList(hscript_Token.TPClose)));case 8:var _=this.getIdent();return this.parseExprNext(hscript_Expr.EField(e,_));case 11:o=this.parseExpr();return(a=this.token())!=hscript_Token.TBkClose&&this.unexpected(a),this.parseExprNext(hscript_Expr.EArray(e,o));case 13:var o=this.parseExpr();(a=this.token())!=hscript_Token.TDoubleDot&&this.unexpected(a);var h=this.parseExpr();return hscript_Expr.ETernary(e,o,h);default:var u=this.tokens;return u.head=new haxe_ds_GenericCell(t,u.head),e}},parseFunctionArgs:function(){var e=[],t=this.token();if(t!=hscript_Token.TPClose)for(var i=!1;!i;){var l=null,n=!1;if(null!=t&&13==t._hx_index&&(n=!0,t=this.token()),null==t){this.unexpected(t);break}if(2!=t._hx_index){this.unexpected(t);break}var s={name:l=t.s};if(e.push(s),n&&(s.opt=!0),this.allowTypes&&(this.maybe(hscript_Token.TDoubleDot)&&(s.t=this.parseType()),this.maybe(hscript_Token.TOp("="))&&(s.value=this.parseExpr())),null==(t=this.token()))this.unexpected(t);else switch(t._hx_index){case 5:i=!0;break;case 9:t=this.token();break;default:this.unexpected(t)}}return e},parseFunctionDecl:function(){var e=this.token();e!=hscript_Token.TPOpen&&this.unexpected(e);var t=this.parseFunctionArgs(),i=null;if(this.allowTypes){var l=this.token();if(l!=hscript_Token.TDoubleDot){var n=this.tokens;n.head=new haxe_ds_GenericCell(l,n.head)}else i=this.parseType()}return{args:t,ret:i,body:this.parseExpr()}},parsePath:function(){for(var e=[this.getIdent()];;){var t=this.token();if(t!=hscript_Token.TDot){var i=this.tokens;i.head=new haxe_ds_GenericCell(t,i.head);break}e.push(this.getIdent())}return e},parseType:function(){var e=this,t=this.token();if(null==t)return this.unexpected(t);switch(t._hx_index){case 2:t.s;(r=this.tokens).head=new haxe_ds_GenericCell(t,r.head);var i=this.parsePath(),l=null;if(null==(t=this.token()))(r=this.tokens).head=new haxe_ds_GenericCell(t,r.head);else if(3==t._hx_index){var n=t.s;if("<"==n){l=[];e:for(;;){if(l.push(this.parseType()),null!=(t=this.token()))switch(t._hx_index){case 3:if(">"==(n=t.s))break e;if(62==HxOverrides.cca(n,0)){(r=this.tokens).head=new haxe_ds_GenericCell(hscript_Token.TOp(HxOverrides.substr(n,1,null)),r.head);break e}break;case 9:continue}this.unexpected(t);break}}else(r=this.tokens).head=new haxe_ds_GenericCell(t,r.head)}else(r=this.tokens).head=new haxe_ds_GenericCell(t,r.head);return this.parseTypeNext(hscript_CType.CTPath(i,l));case 4:var s=this.token(),a=this.token(),r=this.tokens;r.head=new haxe_ds_GenericCell(a,r.head),(r=this.tokens).head=new haxe_ds_GenericCell(s,r.head);var _=function(t){var i=e.token();if(null==i){l=i;e.unexpected(l)}else if(3==i._hx_index){if("->"!=i.s){l=i;e.unexpected(l)}}else{var l=i;e.unexpected(l)}return hscript_CType.CTFun(t,e.parseType())};if(null==s){m=this.parseType();if(null==(o=this.token())){p=o;return this.unexpected(p)}switch(o._hx_index){case 5:return this.parseTypeNext(hscript_CType.CTParent(m));case 9:for(f=[m];;)if(f.push(this.parseType()),!this.maybe(hscript_Token.TComma))break;return(m=this.token())!=hscript_Token.TPClose&&this.unexpected(m),_(f);default:m=o;return this.unexpected(m)}}else switch(s._hx_index){case 2:o=s.s;if(null==a){m=this.parseType();if(null==(o=this.token())){p=o;return this.unexpected(p)}switch(o._hx_index){case 5:return this.parseTypeNext(hscript_CType.CTParent(m));case 9:for(f=[m];;)if(f.push(this.parseType()),!this.maybe(hscript_Token.TComma))break;return(m=this.token())!=hscript_Token.TPClose&&this.unexpected(m),_(f);default:m=o;return this.unexpected(m)}}else{if(14==a._hx_index){for(var o=[],h=0,u=this.parseFunctionArgs();h<u.length;){d=u[h];if(++h,null!=(c=d.value)){if(!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.ECustom("Default values not allowed in function types"))}o.push(hscript_CType.CTNamed(d.name,d.opt?hscript_CType.CTOpt(d.t):d.t))}return _(f=o)}m=this.parseType();if(null==(o=this.token())){p=o;return this.unexpected(p)}switch(o._hx_index){case 5:return this.parseTypeNext(hscript_CType.CTParent(m));case 9:for(f=[m];;)if(f.push(this.parseType()),!this.maybe(hscript_Token.TComma))break;return(m=this.token())!=hscript_Token.TPClose&&this.unexpected(m),_(f);default:m=o;return this.unexpected(m)}}break;case 5:for(var o=[],h=0,u=this.parseFunctionArgs();h<u.length;){var d=u[h];++h;var c=d.value;if(null!=c){if(!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.ECustom("Default values not allowed in function types"))}o.push(hscript_CType.CTNamed(d.name,d.opt?hscript_CType.CTOpt(d.t):d.t))}return _(f=o);default:m=this.parseType();if(null==(o=this.token())){var p=o;return this.unexpected(p)}switch(o._hx_index){case 5:return this.parseTypeNext(hscript_CType.CTParent(m));case 9:for(var f=[m];;)if(f.push(this.parseType()),!this.maybe(hscript_Token.TComma))break;return(m=this.token())!=hscript_Token.TPClose&&this.unexpected(m),_(f);default:var m=o;return this.unexpected(m)}}break;case 6:var x=[],g=null;e:for(;;){if(null==(t=this.token())){this.unexpected(t);break}switch(t._hx_index){case 2:if("var"==(o=t.s)){var F=this.getIdent();(m=this.token())!=hscript_Token.TDoubleDot&&this.unexpected(m),x.push({name:F,t:this.parseType(),meta:g}),g=null,(p=this.token())!=hscript_Token.TSemicolon&&this.unexpected(p)}else{var y=o,S=this.token();if(S!=hscript_Token.TDoubleDot&&this.unexpected(S),x.push({name:y,t:this.parseType(),meta:g}),null==(t=this.token()))this.unexpected(t);else switch(t._hx_index){case 7:break e;case 9:break;default:this.unexpected(t)}}break;case 7:break e;case 15:var b=t.s;null==g&&(g=[]),g.push({name:b,params:this.parseMetaArgs()});break;default:this.unexpected(t);break e}}return this.parseTypeNext(hscript_CType.CTAnon(x));default:return this.unexpected(t)}},parseTypeNext:function(e){var t=this.token();if(null==t)return(i=this.tokens).head=new haxe_ds_GenericCell(t,i.head),e;if(3!=t._hx_index){var i=this.tokens;return i.head=new haxe_ds_GenericCell(t,i.head),e}if("->"!=t.s)return(i=this.tokens).head=new haxe_ds_GenericCell(t,i.head),e;var l=this.parseType();if(1==l._hx_index){l.ret;return l.args.unshift(e),l}return hscript_CType.CTFun([e],l)},parseExprList:function(e){var t=[],i=this.token();if(i==e)return t;var l=this.tokens;for(l.head=new haxe_ds_GenericCell(i,l.head);;){if(t.push(this.parseExpr()),null==(i=this.token())){if(i==e)break;this.unexpected(i);break}if(9!=i._hx_index){if(i==e)break;this.unexpected(i);break}}return t},parseModule:function(e,t){null==t&&(t="hscript"),this.initParser(t),this.input=e,this.readPos=0,this.allowTypes=!0,this.allowMetadata=!0;for(var i=[];;){var l=this.token();if(l==hscript_Token.TEof)break;var n=this.tokens;n.head=new haxe_ds_GenericCell(l,n.head),i.push(this.parseModuleDecl())}return i},parseMetadata:function(){for(var e=[];;){var t=this.token();if(null==t){var i=this.tokens;i.head=new haxe_ds_GenericCell(t,i.head);break}if(15!=t._hx_index){var l=this.tokens;l.head=new haxe_ds_GenericCell(t,l.head);break}var n=t.s;e.push({name:n,params:this.parseMetaArgs()})}return e},parseParams:function(){if(this.maybe(hscript_Token.TOp("<"))&&!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EInvalidOp("Unsupported class type parameters"));return{}},parseModuleDecl:function(){var e=this.parseMetadata(),t=this.getIdent(),i=!1,l=!1;e:for(;;){switch(t){case"extern":l=!0;break;case"private":i=!0;break;default:break e}t=this.getIdent()}switch(t){case"class":var n=this.getIdent(),s=this.parseParams(),a=null,r=[];e:for(;;){if(null==(f=this.token())){(c=this.tokens).head=new haxe_ds_GenericCell(f,c.head);break}if(2!=f._hx_index){var _=this.tokens;_.head=new haxe_ds_GenericCell(f,_.head);break}switch(f.s){case"extends":a=this.parseType();break;case"implements":r.push(this.parseType());break;default:var o=this.tokens;o.head=new haxe_ds_GenericCell(f,o.head);break e}}var h=[];for((f=this.token())!=hscript_Token.TBrOpen&&this.unexpected(f);!this.maybe(hscript_Token.TBrClose);)h.push(this.parseField());return hscript_ModuleDecl.DClass({name:n,meta:e,params:s,extend:a,implement:r,fields:h,isPrivate:i,isExtern:l});case"import":for(var u=[this.getIdent()],d=!1;;){if((f=this.token())!=hscript_Token.TDot){var c=this.tokens;c.head=new haxe_ds_GenericCell(f,c.head);break}if(null==(f=this.token()))this.unexpected(f);else switch(f._hx_index){case 2:var p=f.s;u.push(p);break;case 3:"*"==f.s?d=!0:this.unexpected(f);break;default:this.unexpected(f)}}return(f=this.token())!=hscript_Token.TSemicolon&&this.unexpected(f),hscript_ModuleDecl.DImport(u,d);case"package":u=this.parsePath();return(f=this.token())!=hscript_Token.TSemicolon&&this.unexpected(f),hscript_ModuleDecl.DPackage(u);case"typedef":var n=this.getIdent(),s=this.parseParams(),f=this.token();Type.enumEq(f,hscript_Token.TOp("="))||this.unexpected(f);f=this.parseType();return hscript_ModuleDecl.DTypedef({name:n,meta:e,params:s,isPrivate:i,t:f});default:this.unexpected(hscript_Token.TId(t))}return null},parseField:function(){var e=this.parseMetadata(),t=[];e:for(;;){var i=this.getIdent();switch(i){case"function":var l=this.getIdent(),n=this.parseFunctionDecl();return{name:l,meta:e,access:t,kind:hscript_FieldKind.KFunction({args:n.args,expr:n.body,ret:n.ret})};case"inline":t.push(hscript_FieldAccess.AInline);break;case"macro":t.push(hscript_FieldAccess.AMacro);break;case"override":t.push(hscript_FieldAccess.AOverride);break;case"private":t.push(hscript_FieldAccess.APrivate);break;case"public":t.push(hscript_FieldAccess.APublic);break;case"static":t.push(hscript_FieldAccess.AStatic);break;case"var":var s=this.getIdent(),a=null,r=null;if(this.maybe(hscript_Token.TPOpen)){a=this.getIdent();var _=this.token();_!=hscript_Token.TComma&&this.unexpected(_),r=this.getIdent();var o=this.token();o!=hscript_Token.TPClose&&this.unexpected(o)}var h=this.maybe(hscript_Token.TDoubleDot)?this.parseType():null,u=this.maybe(hscript_Token.TOp("="))?this.parseExpr():null;if(null!=u)if(this.isBlock(u))this.maybe(hscript_Token.TSemicolon);else{var d=this.token();d!=hscript_Token.TSemicolon&&this.unexpected(d)}else{var c;if(null!=h)if(null==h)c=!1;else if(2==h._hx_index){h.fields;c=!0}else c=!1;else c=!1;if(c)this.maybe(hscript_Token.TSemicolon);else{var p=this.token();p!=hscript_Token.TSemicolon&&this.unexpected(p)}}return{name:s,meta:e,access:t,kind:hscript_FieldKind.KVar({get:a,set:r,type:h,expr:u})};default:this.unexpected(hscript_Token.TId(i));break e}}return null},readChar:function(){return this.input.charCodeAt(this.readPos++)},readString:function(e){var t=0,i="",l=!1,n=this.line;for(this.input;;){if((t=this.input.charCodeAt(this.readPos++))!=t){if(this.line=n,!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EUnterminatedString);break}if(l)switch(l=!1,t){case 34:case 39:case 92:i+=String.fromCodePoint(t);break;case 47:this.allowJSON?i+=String.fromCodePoint(t):this.invalidChar(t);break;case 110:i+=String.fromCodePoint(10);break;case 114:i+=String.fromCodePoint(13);break;case 116:i+=String.fromCodePoint(9);break;case 117:this.allowJSON||this.invalidChar(t);for(var s=0,a=0;a<4;){a++;s<<=4;var r=this.input.charCodeAt(this.readPos++);switch(r){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s+=r-48;break;case 65:case 66:case 67:case 68:case 69:case 70:s+=r-55;break;case 97:case 98:case 99:case 100:case 101:case 102:s+=r-87;break;default:if(r!=r&&(this.line=n,!this.resumeErrors))throw haxe_Exception.thrown(hscript_Error.EUnterminatedString);this.invalidChar(r)}}i+=String.fromCodePoint(s);break;default:this.invalidChar(t)}else if(92==t)l=!0;else{if(t==e)break;10==t&&this.line++,i+=String.fromCodePoint(t)}}return i},token:function(){if(null!=this.tokens.head){var e=(r=this.tokens).head;return null==e?null:(r.head=e.next,e.elt)}var t;for(this.char<0?t=this.input.charCodeAt(this.readPos++):(t=this.char,this.char=-1);;){if(t!=t)return this.char=t,hscript_Token.TEof;switch(t){case 0:return hscript_Token.TEof;case 10:this.line++;break;case 9:case 13:case 32:break;case 35:if(t=this.input.charCodeAt(this.readPos++),this.idents[t])for(var i=String.fromCodePoint(t);;){if(t=this.input.charCodeAt(this.readPos++),!this.idents[t])return this.char=t,this.preprocess(i);i+=String.fromCodePoint(t)}this.invalidChar(t);break;case 34:case 39:return hscript_Token.TConst(hscript_Const.CString(this.readString(t)));case 40:return hscript_Token.TPOpen;case 41:return hscript_Token.TPClose;case 44:return hscript_Token.TComma;case 46:switch(t=this.input.charCodeAt(this.readPos++)){case 46:return 46!=(t=this.input.charCodeAt(this.readPos++))&&this.invalidChar(t),hscript_Token.TOp("...");case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var l=t-48,n=1;;)switch(t=this.input.charCodeAt(this.readPos++),n*=10,t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:l=10*l+(t-48);break;default:return this.char=t,hscript_Token.TConst(hscript_Const.CFloat(l/n))}break;default:return this.char=t,hscript_Token.TDot}break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var s=1*(t-48),a=0;;)switch(t=this.input.charCodeAt(this.readPos++),a*=10,t){case 46:if(a>0){if(10==a&&46==this.input.charCodeAt(this.readPos++)){var r=this.tokens;r.head=new haxe_ds_GenericCell(hscript_Token.TOp("..."),r.head);var _=0|s;return hscript_Token.TConst(_==s?hscript_Const.CInt(_):hscript_Const.CFloat(s))}this.invalidChar(t)}a=1;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:s=10*s+(t-48);break;case 69:case 101:var o=this.token(),h=null;if(null==o){var u=this.tokens;u.head=new haxe_ds_GenericCell(o,u.head)}else switch(o._hx_index){case 1:var d=o.c;if(0==d._hx_index)h=d.v;else{var c=this.tokens;c.head=new haxe_ds_GenericCell(o,c.head)}break;case 3:if("-"==o.s)if(null==(o=this.token())){var p=this.tokens;p.head=new haxe_ds_GenericCell(o,p.head)}else if(1==o._hx_index){var f=o.c;if(0==f._hx_index)h=-f.v;else{var m=this.tokens;m.head=new haxe_ds_GenericCell(o,m.head)}}else{var x=this.tokens;x.head=new haxe_ds_GenericCell(o,x.head)}else{var g=this.tokens;g.head=new haxe_ds_GenericCell(o,g.head)}break;default:var F=this.tokens;F.head=new haxe_ds_GenericCell(o,F.head)}return null==h&&this.invalidChar(t),hscript_Token.TConst(hscript_Const.CFloat(Math.pow(10,h)/a*s*10));case 120:(s>0||a>0)&&this.invalidChar(t);for(var y=0;;)switch(t=this.input.charCodeAt(this.readPos++)){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:y=(y<<4)+t-48;break;case 65:case 66:case 67:case 68:case 69:case 70:y=t-55+(y<<4);break;case 97:case 98:case 99:case 100:case 101:case 102:y=t-87+(y<<4);break;default:return this.char=t,hscript_Token.TConst(hscript_Const.CInt(y))}break;default:this.char=t;var S=0|s;return hscript_Token.TConst(a>0?hscript_Const.CFloat(10*s/a):S==s?hscript_Const.CInt(S):hscript_Const.CFloat(s))}break;case 58:return hscript_Token.TDoubleDot;case 59:return hscript_Token.TSemicolon;case 61:return 61==(t=this.input.charCodeAt(this.readPos++))?hscript_Token.TOp("=="):62==t?hscript_Token.TOp("=>"):(this.char=t,hscript_Token.TOp("="));case 63:return hscript_Token.TQuestion;case 64:if(t=this.input.charCodeAt(this.readPos++),this.idents[t]||58==t)for(var b=String.fromCodePoint(t);;){if(t=this.input.charCodeAt(this.readPos++),!this.idents[t])return this.char=t,hscript_Token.TMeta(b);b+=String.fromCodePoint(t)}this.invalidChar(t);break;case 91:return hscript_Token.TBkOpen;case 93:return hscript_Token.TBkClose;case 123:return hscript_Token.TBrOpen;case 125:return hscript_Token.TBrClose;default:if(this.ops[t])for(var U=String.fromCodePoint(t),v=-1;;){if((t=this.input.charCodeAt(this.readPos++))!=t&&(t=0),!this.ops[t]||61==v)return 47==HxOverrides.cca(U,0)?this.tokenComment(U,t):(this.char=t,hscript_Token.TOp(U));v=t,U+=String.fromCodePoint(t)}if(this.idents[t])for(var T=String.fromCodePoint(t);;){if((t=this.input.charCodeAt(this.readPos++))!=t&&(t=0),!this.idents[t])return this.char=t,hscript_Token.TId(T);T+=String.fromCodePoint(t)}this.invalidChar(t)}t=this.input.charCodeAt(this.readPos++)}},preprocValue:function(e){return this.preprocesorValues.h[e]},preprocStack:null,parsePreproCond:function(){var e=this.token();if(null==e)return this.unexpected(e);switch(e._hx_index){case 2:var t=e.s;return hscript_Expr.EIdent(t);case 3:return"!"==e.s?hscript_Expr.EUnop("!",!0,this.parsePreproCond()):this.unexpected(e);case 4:var i=this.tokens;return i.head=new haxe_ds_GenericCell(hscript_Token.TPOpen,i.head),this.parseExpr();default:return this.unexpected(e)}},evalPreproCond:function(e){switch(e._hx_index){case 1:var t=e.v;return null!=this.preprocValue(t);case 3:s=e.e;return this.evalPreproCond(s);case 6:var i=e.e2,l=e.e1;switch(e.op){case"&&":var n=i,s=l;return!!this.evalPreproCond(s)&&this.evalPreproCond(n);case"||":var n=i,s=l;return!!this.evalPreproCond(s)||this.evalPreproCond(n);default:if(!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EInvalidPreprocessor("Can't eval "+$hxEnums[e.__enum__].__constructs__[e._hx_index]));return!1}break;case 7:i=e.prefix;if("!"==e.op){s=e.e;return!this.evalPreproCond(s)}if(!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EInvalidPreprocessor("Can't eval "+$hxEnums[e.__enum__].__constructs__[e._hx_index]));return!1;default:if(!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EInvalidPreprocessor("Can't eval "+$hxEnums[e.__enum__].__constructs__[e._hx_index]));return!1}},preprocess:function(e){switch(e){case"else":case"elseif":return this.preprocStack.length>0?this.preprocStack[this.preprocStack.length-1].r?(this.preprocStack[this.preprocStack.length-1].r=!1,this.skipTokens(),this.token()):"else"==e?(this.preprocStack.pop(),this.preprocStack.push({r:!0}),this.token()):(this.preprocStack.pop(),this.preprocess("if")):hscript_Token.TPrepro(e);case"end":return this.preprocStack.length>0?(this.preprocStack.pop(),this.token()):hscript_Token.TPrepro(e);case"if":var t=this.parsePreproCond();return this.evalPreproCond(t)?(this.preprocStack.push({r:!0}),this.token()):(this.preprocStack.push({r:!1}),this.skipTokens(),this.token());default:return hscript_Token.TPrepro(e)}},skipTokens:function(){var e=this.preprocStack.length-1,t=this.preprocStack[e];for(this.readPos;;){var i=this.token();if(i==hscript_Token.TEof&&!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EInvalidPreprocessor("Unclosed"));if(this.preprocStack[e]!=t){var l=this.tokens;l.head=new haxe_ds_GenericCell(i,l.head);break}}},tokenComment:function(e,t){var i=HxOverrides.cca(e,1);this.input;if(47==i){for(;13!=t&&10!=t&&(t=this.input.charCodeAt(this.readPos++))==t;);return this.char=t,this.token()}if(42==i){var l=this.line;if("/**/"==e)return this.char=t,this.token();for(;;){for(;42!=t;)if(10==t&&this.line++,(t=this.input.charCodeAt(this.readPos++))!=t){if(this.line=l,!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EUnterminatedComment);break}if((t=this.input.charCodeAt(this.readPos++))!=t){if(this.line=l,!this.resumeErrors)throw haxe_Exception.thrown(hscript_Error.EUnterminatedComment);break}if(47==t)break}return this.token()}return this.char=t,hscript_Token.TOp(e)},constString:function(e){switch(e._hx_index){case 0:var t=e.v;return null==t?"null":""+t;case 1:var i=e.f;return null==i?"null":""+i;case 2:return e.s}},tokenString:function(e){switch(e._hx_index){case 0:return"<eof>";case 1:var t=e.c;return this.constString(t);case 2:return i=e.s;case 3:var i=e.s;return i;case 4:return"(";case 5:return")";case 6:return"{";case 7:return"}";case 8:return".";case 9:return",";case 10:return";";case 11:return"[";case 12:return"]";case 13:return"?";case 14:return":";case 15:return"@"+(l=e.s);case 16:var l=e.s;return"#"+l}},__class__:hscript_Parser};var hscript_Tools=function(){};$hxClasses["hscript.Tools"]=hscript_Tools,hscript_Tools.__name__="hscript.Tools",hscript_Tools.iter=function(e,t){switch(e._hx_index){case 0:i=e.c;break;case 1:i=e.v;break;case 2:var i=e.t,i=e.n;null!=(s=e.e)&&t(s);break;case 3:t(s=e.e);break;case 4:for(var l=e.e,i=0;i<l.length;){s=l[i];++i,t(s)}break;case 5:i=e.f;t(s=e.e);break;case 6:var i=e.op,n=e.e2;t(s=e.e1),t(n);break;case 7:var i=e.prefix,i=e.op;t(s=e.e);break;case 8:f=e.params;t(s=e.e);for(i=0;i<f.length;){m=f[i];++i,t(m)}break;case 9:var n=e.e2,s=e.e1;t(r=e.cond),t(s),null!=n&&t(n);break;case 10:s=e.e;t(r=e.cond),t(s);break;case 11:var i=e.v,s=e.e;t(e.it),t(s);break;case 12:case 13:break;case 14:var i=e.ret,i=e.name,i=e.args;t(s=e.e);break;case 15:null!=(s=e.e)&&t(s);break;case 16:var a=e.index;t(s=e.e),t(a);break;case 17:for(var l=e.e,i=0;i<l.length;){s=l[i];++i,t(s)}break;case 18:for(var i=e.cl,l=e.params,i=0;i<l.length;){s=l[i];++i,t(s)}break;case 19:t(s=e.e);break;case 20:var i=e.t,i=e.v,r=e.ecatch;t(s=e.e),t(r);break;case 21:for(var _=e.fl,i=0;i<_.length;){var o=_[i];++i,t(o.e)}break;case 22:var n=e.e2,s=e.e1;t(r=e.cond),t(s),t(n);break;case 23:var h=e.defaultExpr,u=e.cases;t(s=e.e);for(i=0;i<u.length;){r=u[i];++i;for(var d=0,c=r.values;d<c.length;){var p=c[d];++d,t(p)}t(r.expr)}null!=h&&t(h);break;case 24:s=e.e;t(r=e.cond),t(s);break;case 25:var s=e.e,f=e.args;e.name;if(null!=f)for(i=0;i<f.length;){var m=f[i];++i,t(m)}t(s);break;case 26:i=e.t;t(s=e.e)}},hscript_Tools.map=function(e,t){var i;switch(e._hx_index){case 0:r=e.c;i=e;break;case 1:r=e.v;i=e;break;case 2:var l=e.e,n=e.t,s=e.n;i=hscript_Expr.EVar(s,n,null!=l?t(l):null);break;case 3:l=e.e;i=hscript_Expr.EParent(t(l));break;case 4:for(var a=e.e,r=[],_=0;_<a.length;){l=a[_];++_,r.push(t(l))}i=hscript_Expr.EBlock(r);break;case 5:var o=e.f,l=e.e;i=hscript_Expr.EField(t(l),o);break;case 6:var h=e.e2,l=e.e1,u=e.op;i=hscript_Expr.EBinop(u,t(l),t(h));break;case 7:var l=e.e,d=e.prefix,u=e.op;i=hscript_Expr.EUnop(u,d,t(l));break;case 8:for(var c=e.params,p=t(l=e.e),r=[],_=0;_<c.length;){D=c[_];++_,r.push(t(D))}i=hscript_Expr.ECall(p,r);break;case 9:var h=e.e2,l=e.e1,f=e.cond;i=hscript_Expr.EIf(t(f),t(l),null!=h?t(h):null);break;case 10:var l=e.e,f=e.cond;i=hscript_Expr.EWhile(t(f),t(l));break;case 11:var l=e.e,m=e.it,x=e.v;i=hscript_Expr.EFor(x,t(m),t(l));break;case 12:case 13:i=e;break;case 14:var n=e.ret,g=e.name,l=e.e,c=e.args;i=hscript_Expr.EFunction(c,t(l),g,n);break;case 15:l=e.e;i=hscript_Expr.EReturn(null!=l?t(l):null);break;case 16:var F=e.index,l=e.e;i=hscript_Expr.EArray(t(l),t(F));break;case 17:for(var a=e.e,r=[],_=0;_<a.length;){l=a[_];++_,r.push(t(l))}i=hscript_Expr.EArrayDecl(r);break;case 18:for(var a=e.params,y=e.cl,r=[],_=0;_<a.length;){l=a[_];++_,r.push(t(l))}i=hscript_Expr.ENew(y,r);break;case 19:l=e.e;i=hscript_Expr.EThrow(t(l));break;case 20:var f=e.ecatch,n=e.t,x=e.v,l=e.e;i=hscript_Expr.ETry(t(l),x,n,t(f));break;case 21:for(var S=e.fl,r=[],_=0;_<S.length;){o=S[_];++_,r.push({name:o.name,e:t(o.e)})}i=hscript_Expr.EObject(r);break;case 22:var h=e.e2,l=e.e1,f=e.cond;i=hscript_Expr.ETernary(t(f),t(l),t(h));break;case 23:for(var b=e.defaultExpr,U=e.cases,p=t(l=e.e),r=[],_=0;_<U.length;){f=U[_];++_;for(var v=[],T=0,N=f.values;T<N.length;){x=N[T];++T,v.push(t(x))}r.push({values:v,expr:t(f.expr)})}i=hscript_Expr.ESwitch(p,r,null==b?null:t(b));break;case 24:var l=e.e,f=e.cond;i=hscript_Expr.EDoWhile(t(f),t(l));break;case 25:var l=e.e,c=e.args,g=e.name;if(null==c)p=null;else{for(var r=[],_=0;_<c.length;){var D=c[_];++_,r.push(t(D))}p=r}i=hscript_Expr.EMeta(g,p,t(l));break;case 26:var n=e.t,l=e.e;i=hscript_Expr.ECheckType(t(l),n)}return i},hscript_Tools.expr=function(e){return e},hscript_Tools.mk=function(e,t){return e};var io_newgrounds_ICallable=function(){};$hxClasses["io.newgrounds.ICallable"]=io_newgrounds_ICallable,io_newgrounds_ICallable.__name__="io.newgrounds.ICallable",io_newgrounds_ICallable.__isInterface__=!0,io_newgrounds_ICallable.prototype={component:null,send:null,queue:null,destroy:null,__class__:io_newgrounds_ICallable};var io_newgrounds_Call=function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),this._core=e,this.component=t,this._requireSession=i,this._isSecure=l&&null!=e.encryptionHandler};$hxClasses["io.newgrounds.Call"]=io_newgrounds_Call,io_newgrounds_Call.__name__="io.newgrounds.Call",io_newgrounds_Call.__interfaces__=[io_newgrounds_ICallable],io_newgrounds_Call.prototype={component:null,_core:null,_properties:null,_parameters:null,_requireSession:null,_isSecure:null,_dataHandlers:null,_successHandlers:null,_httpErrorHandlers:null,_statusHandlers:null,addProperty:function(e,t){return null==this._properties&&(this._properties=new haxe_ds_StringMap),this._properties.h[e]=t,this},addComponentParameter:function(e,t,i){return t==i?this:(null==this._parameters&&(this._parameters=new haxe_ds_StringMap),this._parameters.h[e]=t,this)},addDataHandler:function(e){return null==this._dataHandlers&&(this._dataHandlers=new io_newgrounds_utils_TypedDispatcher),this._dataHandlers.add(e),this},addSuccessHandler:function(e){return null==this._successHandlers&&(this._successHandlers=new io_newgrounds_utils_Dispatcher),this._successHandlers.add(e),this},addErrorHandler:function(e){return null==this._httpErrorHandlers&&(this._httpErrorHandlers=new io_newgrounds_utils_TypedDispatcher),this._httpErrorHandlers.add(e),this},addStatusHandler:function(e){return null==this._statusHandlers&&(this._statusHandlers=new io_newgrounds_utils_TypedDispatcher),this._statusHandlers.add(e),this},send:function(){var e={};if(e.app_id=this._core.appId,e.call={},e.call.component=this.component,this._core.debug&&this.addProperty("debug",!0),null==this._properties||!Object.prototype.hasOwnProperty.call(this._properties.h,"session_id"))if(null!=this._core.sessionId)this.addProperty("session_id",this._core.sessionId);else if(this._requireSession){var t={message:'cannot send "'+this.component+'" call without a sessionId',code:null};return void this._core.logError(t,{fileName:"io/newgrounds/Call.hx",lineNumber:137,className:"io.newgrounds.Call",methodName:"send"})}if(null!=this._properties)for(i=haxe_ds_StringMap.keysIterator(this._properties.h);i.hasNext();)e[l=i.next()]=this._properties.h[l];if(null!=this._parameters){e.call.parameters={};for(var i=haxe_ds_StringMap.keysIterator(this._parameters.h);i.hasNext();){var l=i.next();e.call.parameters[l]=this._parameters.h[l]}}var n=this._core,s="Post - "+JSON.stringify(e);if(n.verbose&&n.log(s,{fileName:"io/newgrounds/Call.hx",lineNumber:156,className:"io.newgrounds.Call",methodName:"send"}),this._isSecure){var a=this._core.encryptionHandler(JSON.stringify(e.call));e.call={},e.call.secure=a,(n=this._core).verbose&&n.log(" secure - "+a,{fileName:"io/newgrounds/Call.hx",lineNumber:164,className:"io.newgrounds.Call",methodName:"send"})}this._core.markCallPending_io_newgrounds_Call_T(this),io_newgrounds_utils_AsyncHttp.send(this._core,JSON.stringify(e),$bind(this,this.onData),$bind(this,this.onHttpError),$bind(this,this.onStatus))},queue:function(){this._core.queueCall_io_newgrounds_Call_T(this)},onData:function(e){var t=this._core;if(t.verbose&&t.log("Reply - "+e,{fileName:"io/newgrounds/Call.hx",lineNumber:180,className:"io.newgrounds.Call",methodName:"onData"}),null!=this._dataHandlers||null!=this._successHandlers){var i=io_newgrounds_objects_events_Response._new(this._core,e);null!=this._dataHandlers&&this._dataHandlers.dispatch(i),i.success&&i.result.data.success&&null!=this._successHandlers&&this._successHandlers.dispatch(),this.destroy()}},onHttpError:function(e){if(this._core.logError(e,{fileName:"io/newgrounds/Call.hx",lineNumber:198,className:"io.newgrounds.Call",methodName:"onHttpError"}),null!=this._httpErrorHandlers){var t={message:e,code:null};this._httpErrorHandlers.dispatch(t)}},onStatus:function(e){null!=this._statusHandlers&&this._statusHandlers.dispatch(e)},destroy:function(){this._core=null,this._properties=null,this._parameters=null,this._dataHandlers=null,this._successHandlers=null,this._httpErrorHandlers=null,this._statusHandlers=null},__class__:io_newgrounds_Call};var io_newgrounds_utils_Dispatcher=function(){this._list=[],this._once=[]};$hxClasses["io.newgrounds.utils.Dispatcher"]=io_newgrounds_utils_Dispatcher,io_newgrounds_utils_Dispatcher.__name__="io.newgrounds.utils.Dispatcher",io_newgrounds_utils_Dispatcher.prototype={_list:null,_once:null,add:function(e,t){return null==t&&(t=!1),-1!=this._list.indexOf(e)?(t||-1==this._once.indexOf(e)||HxOverrides.remove(this._once,e),!1):(this._list.unshift(e),t&&this._once.unshift(e),!0)},addOnce:function(e){return this.add(e,!0)},remove:function(e){return HxOverrides.remove(this._once,e),HxOverrides.remove(this._list,e)},dispatch:function(){for(var e=this._list.length-1;e>=0;){var t=this._list[e];HxOverrides.remove(this._once,t)&&HxOverrides.remove(this._list,t),t(),--e}},__class__:io_newgrounds_utils_Dispatcher};var io_newgrounds_NGLite=function(e,t,i,l){if(null==i&&(i=!1),null==e&&(e="test"),this._pendingCalls=[],this._queuedCalls=[],this.appId=e,this.set_sessionId(t),this.debug=i,this.calls=new io_newgrounds_components_ComponentList(this),null!=this.sessionId){var n=$bind(this,this.checkInitialSession),s=l,a=function(e){n(s,e)},r=$bind(this,this.initialSessionFail),_=l,o=function(e){r(_,e)};this.calls.app.checkSession().addDataHandler(a).addErrorHandler(o).send()}};$hxClasses["io.newgrounds.NGLite"]=io_newgrounds_NGLite,io_newgrounds_NGLite.__name__="io.newgrounds.NGLite",io_newgrounds_NGLite.core=null,io_newgrounds_NGLite.create=function(e,t,i){null==e&&(e="test"),io_newgrounds_NGLite.core=new io_newgrounds_NGLite(e,t,!1,i),io_newgrounds_NGLite.onCoreReady.dispatch()},io_newgrounds_NGLite.createAndCheckSession=function(e,t,i){null==e&&(e="test");var l=io_newgrounds_NGLite.getSessionId();null==l&&(l=t),io_newgrounds_NGLite.create(e,l,i)},io_newgrounds_NGLite.getUrl=function(){return window.document.location.href},io_newgrounds_NGLite.getSessionId=function(){var e=window.document.location.href,t=e.indexOf("?");if(-1!=t)for(var i=0,l=HxOverrides.substr(e,t+1,null).split("&");i<l.length;){var n=l[i];if(++i,-1!=(t=n.indexOf("="))&&"ngio_session_id"==HxOverrides.substr(n,0,t))return HxOverrides.substr(n,t+1,null)}return null},io_newgrounds_NGLite.prototype={queueCall_io_newgrounds_Call_T:function(e){this.verbose&&this.log("queued - "+e.component,{fileName:"io/newgrounds/NGLite.hx",lineNumber:193,className:"io.newgrounds.NGLite",methodName:"queueCall"}),this._queuedCalls.push(e),this.checkQueue()},markCallPending_io_newgrounds_Call_T:function(e){var t=this;this._pendingCalls.push(e),e.addDataHandler(function(i){t.onCallComplete(e)}),e.addErrorHandler(function(i){t.onCallComplete(e)})},verbose:null,debug:null,appId:null,host:null,sessionId:null,set_sessionId:function(e){return this.sessionId=""==e?null:e},calls:null,encryptionHandler:null,checkInitialSession:function(e,t){t.success&&t.result.data.success&&!t.result.data.session.expired||this.initialSessionFail(e,t.success?t.result.data.error:t.error)},initialSessionFail:function(e,t){this.set_sessionId(null),null!=e&&e(t)},_queuedCalls:null,_pendingCalls:null,onCallComplete:function(e){HxOverrides.remove(this._pendingCalls,e),this.checkQueue()},checkQueue:function(){0==this._pendingCalls.length&&this._queuedCalls.length>0&&this._queuedCalls.shift().send()},log:function(e,t){haxe_Log.trace("[Newgrounds API] :: "+Std.string(e),t)},logVerbose:function(e,t){this.verbose&&this.log(e,t)},logError:function(e,t){this.log("Error: "+Std.string(e),t)},assert:function(e,t,i){return e||this.logError(t,i),e},initEncryption:function(e,t,i){if(null==i&&(i="base64"),null==t&&(t="rc4"),"none"==t)this.encryptionHandler=null;else{if("rc4"!=t)throw haxe_Exception.thrown("aes not yet implemented");var l=$bind(this,this.encryptRc4),n=e,s=i;this.encryptionHandler=function(e){return l(n,s,e)}}},encryptRc4:function(e,t,i){if("hex"==t)throw haxe_Exception.thrown("hex format not yet implemented");var l;l="base64"==t?haxe_crypto_Base64.decode(e):null;var n=new io_newgrounds_crypto_Rc4(l).crypt(haxe_io_Bytes.ofString(i));return"base64"==t?haxe_crypto_Base64.encode(n):null},__class__:io_newgrounds_NGLite,__properties__:{set_sessionId:"set_sessionId"}};var io_newgrounds_NG=function(e,t,i,l){null==i&&(i=!1),null==e&&(e="test"),this.host=io_newgrounds_NG.getHost(),this.onLogin=new io_newgrounds_utils_Dispatcher,this.onLogOut=new io_newgrounds_utils_Dispatcher,this.onMedalsLoaded=new io_newgrounds_utils_Dispatcher,this.onScoreBoardsLoaded=new io_newgrounds_utils_Dispatcher,this.attemptingLogin=null!=t,io_newgrounds_NGLite.call(this,e,t,i,l)};$hxClasses["io.newgrounds.NG"]=io_newgrounds_NG,io_newgrounds_NG.__name__="io.newgrounds.NG",io_newgrounds_NG.core=null,io_newgrounds_NG.create=function(e,t,i,l){null==i&&(i=!1),null==e&&(e="test"),io_newgrounds_NG.core=new io_newgrounds_NG(e,t,i,l),io_newgrounds_NG.onCoreReady.dispatch()},io_newgrounds_NG.createAndCheckSession=function(e,t,i,l){null==t&&(t=!1),null==e&&(e="test");var n=io_newgrounds_NGLite.getSessionId();null==n&&(n=i),io_newgrounds_NG.create(e,n,t,l),null!=io_newgrounds_NG.core.sessionId&&(io_newgrounds_NG.core.attemptingLogin=!0)},io_newgrounds_NG.openPassportHelper=function(e){window.open(e,"_blank")},io_newgrounds_NG.getHost=function(){var e=window.document.location.href;return null==e||""==e?"AppView":0==e.indexOf("file")||-1!=e.indexOf("127.0.0.1")?"LocalHost":io_newgrounds_NG.urlParser.match(e)?io_newgrounds_NG.urlParser.matched(1):"Unknown"},io_newgrounds_NG.__super__=io_newgrounds_NGLite,io_newgrounds_NG.prototype=$extend(io_newgrounds_NGLite.prototype,{get_user:function(){return null==this._session?null:this._session.user},get_passportUrl:function(){return null==this._session||"request-login"!=io_newgrounds_objects_Session.get_status(this._session)?null:this._session.passport_url},medals:null,scoreBoards:null,onLogin:null,onLogOut:null,onMedalsLoaded:null,onScoreBoardsLoaded:null,loggedIn:null,attemptingLogin:null,_loginCancelled:null,_passportCallback:null,_session:null,checkInitialSession:function(e,t){this.onSessionReceive(t,null,null,e)},requestLogin:function(e,t,i,l){if(this.attemptingLogin)this.logError("cannot request another login until the previous attempt is complete",{fileName:"io/newgrounds/NG.hx",lineNumber:157,className:"io.newgrounds.NG",methodName:"requestLogin"});else if(this.loggedIn)this.logError("cannot log in, already logged in",{fileName:"io/newgrounds/NG.hx",lineNumber:163,className:"io.newgrounds.NG",methodName:"requestLogin"});else{this.attemptingLogin=!0,this._loginCancelled=!1,this._passportCallback=null;var n=$bind(this,this.onSessionReceive),s=e,a=t,r=i,_=l,o=function(e){n(e,s,a,r,_)},h=this.calls.app.startSession(!0).addDataHandler(o);null!=i&&h.addErrorHandler(i),h.send()}},onSessionReceive:function(e,t,i,l,n){if(!e.success||!e.result.data.success)return this.set_sessionId(null),this.endLoginAndCall(null),void(null!=l&&l(e.success?e.result.data.error:e.error));this._session=e.result.data.session,this.set_sessionId(this._session.id);var s="session started - status: "+io_newgrounds_objects_Session.get_status(this._session);if(this.verbose&&this.log(s,{fileName:"io/newgrounds/NG.hx",lineNumber:202,className:"io.newgrounds.NG",methodName:"onSessionReceive"}),"request-login"==io_newgrounds_objects_Session.get_status(this._session)){var a=$bind(this,this.checkSession),e=null,r=t,_=n;this._passportCallback=function(){a(e,r,_)},null!=i?i():this.openPassportUrl()}else this.checkSession(null,t,n)},openPassportUrl:function(){if(null!=this.get_passportUrl()){var e="loading passport: "+this.get_passportUrl();this.verbose&&this.log(e,{fileName:"io/newgrounds/NG.hx",lineNumber:224,className:"io.newgrounds.NG",methodName:"openPassportUrl"}),io_newgrounds_NG.openPassportHelper(this.get_passportUrl()),this.dispatchPassportCallback()}else this.logError("Cannot open passport",{fileName:"io/newgrounds/NG.hx",lineNumber:229,className:"io.newgrounds.NG",methodName:"openPassportUrl"})},onPassportUrlOpen:function(){this.dispatchPassportCallback()},dispatchPassportCallback:function(){if(null!=this._passportCallback){this.verbose&&this.log("dispatching passport callback",{fileName:"io/newgrounds/NG.hx",lineNumber:271,className:"io.newgrounds.NG",methodName:"dispatchPassportCallback"});var e=this._passportCallback;this._passportCallback=null,e()}},checkSession:function(e,t,i){var l=this;if(this._loginCancelled)return this.log("login cancelled via cancelLoginRequest",{fileName:"io/newgrounds/NG.hx",lineNumber:282,className:"io.newgrounds.NG",methodName:"checkSession"}),void this.endLoginAndCall(i);if(null!=e){if(!e.success||!e.result.data.success)return this.log("login cancelled via passport",{fileName:"io/newgrounds/NG.hx",lineNumber:292,className:"io.newgrounds.NG",methodName:"checkSession"}),void this.endLoginAndCall(i);this.verbose&&this.log("Session received",{fileName:"io/newgrounds/NG.hx",lineNumber:298,className:"io.newgrounds.NG",methodName:"checkSession"}),this._session=e.result.data.session}if("user-loaded"==io_newgrounds_objects_Session.get_status(this._session))this.loggedIn=!0,this.endLoginAndCall(t),this.onLogin.dispatch();else if("request-login"==io_newgrounds_objects_Session.get_status(this._session)){var n=$bind(this,this.checkSession),s=t,a=i,r=function(e){n(e,s,a)},_=this.calls.app.checkSession().addDataHandler(r);this.timer(3,function(){l.verbose&&l.log("3s elapsed, checking session again",{fileName:"io/newgrounds/NG.hx",lineNumber:317,className:"io.newgrounds.NG",methodName:"checkSession"}),l._loginCancelled?(l.log("login cancelled via cancelLoginRequest",{fileName:"io/newgrounds/NG.hx",lineNumber:324,className:"io.newgrounds.NG",methodName:"checkSession"}),l.endLoginAndCall(i)):_.send()})}else this.log("login cancelled via passport",{fileName:"io/newgrounds/NG.hx",lineNumber:332,className:"io.newgrounds.NG",methodName:"checkSession"}),this.endLoginAndCall(i)},cancelLoginRequest:function(){this.attemptingLogin&&(this._loginCancelled=!0,this.dispatchPassportCallback())},endLoginAndCall:function(e){this.attemptingLogin=!1,this._loginCancelled=!1,null!=e&&e()},logOut:function(e){var t=this.calls.app.endSession().addSuccessHandler($bind(this,this.onLogOutSuccessful));null!=e&&t.addSuccessHandler(e),t.addSuccessHandler(($_=this.onLogOut,$bind($_,$_.dispatch))).send()},onLogOutSuccessful:function(){this._session=null,this.set_sessionId(null),this.loggedIn=!1},requestMedals:function(e,t){var i=this.calls.medal.getList().addDataHandler($bind(this,this.onMedalsReceived));null!=e&&i.addSuccessHandler(e),null!=t&&i.addErrorHandler(t),i.send()},onMedalsReceived:function(e){if(e.success&&e.result.data.success){var t=[];if(null==this.medals){this.medals=new haxe_ds_IntMap;for(var i=0,l=e.result.data.medals;i<l.length;){s=l[i];++i;var n=new io_newgrounds_objects_Medal(this,s);this.medals.h[n._data.id]=n,t.push(n._data.id)}}else for(var i=0,l=e.result.data.medals;i<l.length;){var s=l[i];++i,this.medals.h[s.id].parse(s),t.push(s.id)}var a=e.result.data.medals.length+" Medals received ["+t.join(", ")+"]";this.verbose&&this.log(a,{fileName:"io/newgrounds/NG.hx",lineNumber:421,className:"io.newgrounds.NG",methodName:"onMedalsReceived"}),this.onMedalsLoaded.dispatch()}},requestScoreBoards:function(e,t){if(null!=this.scoreBoards)return this.log("aborting scoreboard request, all scoreboards are loaded",{fileName:"io/newgrounds/NG.hx",lineNumber:434,className:"io.newgrounds.NG",methodName:"requestScoreBoards"}),void(null!=e&&e());var i=this.calls.scoreBoard.getBoards().addDataHandler($bind(this,this.onBoardsReceived));null!=e&&i.addSuccessHandler(e),null!=t&&i.addErrorHandler(t),i.send()},onBoardsReceived:function(e){if(e.success&&e.result.data.success){var t=[];if(null==this.scoreBoards){this.scoreBoards=new haxe_ds_IntMap;for(var i=0,l=e.result.data.scoreboards;i<l.length;){var n=l[i];++i;var s=new io_newgrounds_objects_ScoreBoard(this,n);this.scoreBoards.h[s._data.id]=s,t.push(s._data.id)}}var a=e.result.data.scoreboards.length+" ScoreBoards received ["+t.join(", ")+"]";this.verbose&&this.log(a,{fileName:"io/newgrounds/NG.hx",lineNumber:473,className:"io.newgrounds.NG",methodName:"onBoardsReceived"}),this.onScoreBoardsLoaded.dispatch()}},timer:function(e,t){var i=new haxe_Timer(1e3*e|0),l=function(){i.stop(),t()};i.run=l},__class__:io_newgrounds_NG,__properties__:$extend(io_newgrounds_NGLite.prototype.__properties__,{get_passportUrl:"get_passportUrl",get_user:"get_user"})});var io_newgrounds_components_Component=function(e){this._core=e};$hxClasses["io.newgrounds.components.Component"]=io_newgrounds_components_Component,io_newgrounds_components_Component.__name__="io.newgrounds.components.Component",io_newgrounds_components_Component.prototype={_core:null,__class__:io_newgrounds_components_Component};var io_newgrounds_components_AppComponent=function(e){io_newgrounds_components_Component.call(this,e)};$hxClasses["io.newgrounds.components.AppComponent"]=io_newgrounds_components_AppComponent,io_newgrounds_components_AppComponent.__name__="io.newgrounds.components.AppComponent",io_newgrounds_components_AppComponent.__super__=io_newgrounds_components_Component,io_newgrounds_components_AppComponent.prototype=$extend(io_newgrounds_components_Component.prototype,{startSession:function(e){return null==e&&(e=!1),new io_newgrounds_Call(this._core,"App.startSession").addComponentParameter("force",e,!1)},checkSession:function(){return new io_newgrounds_Call(this._core,"App.checkSession",!0)},endSession:function(){return new io_newgrounds_Call(this._core,"App.endSession",!0)},getCurrentVersion:function(e){return new io_newgrounds_Call(this._core,"App.getCurrentVersion").addComponentParameter("version",e)},getHostLicense:function(){return new io_newgrounds_Call(this._core,"App.getHostLicense").addComponentParameter("host",this._core.host)},logView:function(){return new io_newgrounds_Call(this._core,"App.logView").addComponentParameter("host",this._core.host)},__class__:io_newgrounds_components_AppComponent});var io_newgrounds_components_ComponentList=function(e){this._core=e,this.medal=new io_newgrounds_components_MedalComponent(this._core),this.app=new io_newgrounds_components_AppComponent(this._core),this.event=new io_newgrounds_components_EventComponent(this._core),this.scoreBoard=new io_newgrounds_components_ScoreBoardComponent(this._core),this.loader=new io_newgrounds_components_LoaderComponent(this._core),this.gateway=new io_newgrounds_components_GatewayComponent(this._core)};$hxClasses["io.newgrounds.components.ComponentList"]=io_newgrounds_components_ComponentList,io_newgrounds_components_ComponentList.__name__="io.newgrounds.components.ComponentList",io_newgrounds_components_ComponentList.prototype={_core:null,medal:null,app:null,event:null,scoreBoard:null,loader:null,gateway:null,__class__:io_newgrounds_components_ComponentList};var io_newgrounds_components_EventComponent=function(e){io_newgrounds_components_Component.call(this,e)};$hxClasses["io.newgrounds.components.EventComponent"]=io_newgrounds_components_EventComponent,io_newgrounds_components_EventComponent.__name__="io.newgrounds.components.EventComponent",io_newgrounds_components_EventComponent.__super__=io_newgrounds_components_Component,io_newgrounds_components_EventComponent.prototype=$extend(io_newgrounds_components_Component.prototype,{logEvent:function(e){return new io_newgrounds_Call(this._core,"Event.logEvent").addComponentParameter("event_name",e).addComponentParameter("host",this._core.host)},__class__:io_newgrounds_components_EventComponent});var io_newgrounds_components_GatewayComponent=function(e){io_newgrounds_components_Component.call(this,e)};$hxClasses["io.newgrounds.components.GatewayComponent"]=io_newgrounds_components_GatewayComponent,io_newgrounds_components_GatewayComponent.__name__="io.newgrounds.components.GatewayComponent",io_newgrounds_components_GatewayComponent.__super__=io_newgrounds_components_Component,io_newgrounds_components_GatewayComponent.prototype=$extend(io_newgrounds_components_Component.prototype,{getDatetime:function(){return new io_newgrounds_Call(this._core,"Gateway.getDatetime")},getVersion:function(){return new io_newgrounds_Call(this._core,"Gateway.getVersion")},ping:function(){return new io_newgrounds_Call(this._core,"Gateway.ping")},__class__:io_newgrounds_components_GatewayComponent});var io_newgrounds_components_LoaderComponent=function(e){io_newgrounds_components_Component.call(this,e)};$hxClasses["io.newgrounds.components.LoaderComponent"]=io_newgrounds_components_LoaderComponent,io_newgrounds_components_LoaderComponent.__name__="io.newgrounds.components.LoaderComponent",io_newgrounds_components_LoaderComponent.__super__=io_newgrounds_components_Component,io_newgrounds_components_LoaderComponent.prototype=$extend(io_newgrounds_components_Component.prototype,{loadAuthorUrl:function(e){return null==e&&(e=!1),new io_newgrounds_Call(this._core,"Loader.loadAuthorUrl").addComponentParameter("host",this._core.host).addComponentParameter("redirect",e,!0)},loadMoreGames:function(e){return null==e&&(e=!1),new io_newgrounds_Call(this._core,"Loader.loadMoreGames").addComponentParameter("host",this._core.host).addComponentParameter("redirect",e,!0)},loadNewgrounds:function(e){return null==e&&(e=!1),new io_newgrounds_Call(this._core,"Loader.loadNewgrounds").addComponentParameter("host",this._core.host).addComponentParameter("redirect",e,!0)},loadOfficialUrl:function(e){return null==e&&(e=!1),new io_newgrounds_Call(this._core,"Loader.loadOfficialUrl").addComponentParameter("host",this._core.host).addComponentParameter("redirect",e,!0)},loadReferral:function(e){return null==e&&(e=!1),new io_newgrounds_Call(this._core,"Loader.loadReferral").addComponentParameter("host",this._core.host).addComponentParameter("redirect",e,!0)},__class__:io_newgrounds_components_LoaderComponent});var io_newgrounds_components_MedalComponent=function(e){io_newgrounds_components_Component.call(this,e)};$hxClasses["io.newgrounds.components.MedalComponent"]=io_newgrounds_components_MedalComponent,io_newgrounds_components_MedalComponent.__name__="io.newgrounds.components.MedalComponent",io_newgrounds_components_MedalComponent.__super__=io_newgrounds_components_Component,io_newgrounds_components_MedalComponent.prototype=$extend(io_newgrounds_components_Component.prototype,{unlock:function(e){return new io_newgrounds_Call(this._core,"Medal.unlock",!0,!0).addComponentParameter("id",e)},getList:function(){return new io_newgrounds_Call(this._core,"Medal.getList")},__class__:io_newgrounds_components_MedalComponent});var io_newgrounds_components_ScoreBoardComponent=function(e){io_newgrounds_components_Component.call(this,e)};$hxClasses["io.newgrounds.components.ScoreBoardComponent"]=io_newgrounds_components_ScoreBoardComponent,io_newgrounds_components_ScoreBoardComponent.__name__="io.newgrounds.components.ScoreBoardComponent",io_newgrounds_components_ScoreBoardComponent.__super__=io_newgrounds_components_Component,io_newgrounds_components_ScoreBoardComponent.prototype=$extend(io_newgrounds_components_Component.prototype,{allById:null,getBoards:function(){return new io_newgrounds_Call(this._core,"ScoreBoard.getBoards")},getScores:function(e,t,i,l,n,s,a){return null==n&&(n=!1),null==l&&(l="D"),null==i&&(i=0),null==t&&(t=10),null==a||"string"==typeof a||"number"==typeof a&&(0|a)===a||(a=a.id),new io_newgrounds_Call(this._core,"ScoreBoard.getScores").addComponentParameter("id",e).addComponentParameter("limit",t,10).addComponentParameter("skip",i,0).addComponentParameter("period",l,"D").addComponentParameter("social",n,!1).addComponentParameter("tag",s,null).addComponentParameter("user",a,null)},postScore:function(e,t,i){return new io_newgrounds_Call(this._core,"ScoreBoard.postScore",!0,!0).addComponentParameter("id",e).addComponentParameter("value",t).addComponentParameter("tag",i,null)},createBoard:function(e){var t=new io_newgrounds_objects_ScoreBoard(this._core,e),i=this._core;return i.verbose&&i.log("created "+Std.string(t),{fileName:"io/newgrounds/components/ScoreBoardComponent.hx",lineNumber:93,className:"io.newgrounds.components.ScoreBoardComponent",methodName:"createBoard"}),this.allById.h[t._data.id]=t,t},__class__:io_newgrounds_components_ScoreBoardComponent});var io_newgrounds_crypto_Rc4=function(e){this.index2=0,this.index1=0,this.perm=new haxe_io_Bytes(new ArrayBuffer(256));for(i=0;i<256;){l=i++;this.perm.b[l]=255&l}for(var t=0,i=0;i<256;){var l=i++;t=(t+this.perm.b[l]+e.b[l%e.length])%256;var n=this.perm.b[l];this.perm.b[l]=255&this.perm.b[t],this.perm.b[t]=255&n}};$hxClasses["io.newgrounds.crypto.Rc4"]=io_newgrounds_crypto_Rc4,io_newgrounds_crypto_Rc4.__name__="io.newgrounds.crypto.Rc4",io_newgrounds_crypto_Rc4.prototype={perm:null,index1:null,index2:null,swap:function(e,t){var i=this.perm.b[e];this.perm.b[e]=255&this.perm.b[t],this.perm.b[t]=255&i},crypt:function(e){for(var t=new haxe_io_Bytes(new ArrayBuffer(e.length)),i=0,l=e.length;i<l;){var n=i++;this.index1=(this.index1+1)%256,this.index2=(this.index2+this.perm.b[this.index1])%256;var s=this.index1,a=this.index2,r=this.perm.b[s];this.perm.b[s]=255&this.perm.b[a],this.perm.b[a]=255&r;var _=(this.perm.b[this.index1]+this.perm.b[this.index2])%256;t.b[n]=255&(e.b[n]^this.perm.b[_])}return t},__class__:io_newgrounds_crypto_Rc4};var io_newgrounds_objects_Error={};io_newgrounds_objects_Error.__properties__={get_message:"get_message",get_code:"get_code"},io_newgrounds_objects_Error.get_code=function(e){return e.code},io_newgrounds_objects_Error.get_message=function(e){return e.message},io_newgrounds_objects_Error._new=function(e,t){return{message:e,code:t}},io_newgrounds_objects_Error.toString=function(e){return(null!=e.code?"#"+e.code+" - ":"")+e.message};var io_newgrounds_objects_Object=function(e,t){this._core=e,this.onUpdate=new io_newgrounds_utils_Dispatcher,null!=t&&this.parse(t)};$hxClasses["io.newgrounds.objects.Object"]=io_newgrounds_objects_Object,io_newgrounds_objects_Object.__name__="io.newgrounds.objects.Object",io_newgrounds_objects_Object.prototype={_core:null,_data:null,onUpdate:null,parse:function(e){this._data=e,this.onUpdate.dispatch()},destroy:function(){this._core=null},__class__:io_newgrounds_objects_Object};var io_newgrounds_objects_Medal=function(e,t){this.onUnlock=new io_newgrounds_utils_Dispatcher,io_newgrounds_objects_Object.call(this,e,t)};$hxClasses["io.newgrounds.objects.Medal"]=io_newgrounds_objects_Medal,io_newgrounds_objects_Medal.__name__="io.newgrounds.objects.Medal",io_newgrounds_objects_Medal.__super__=io_newgrounds_objects_Object,io_newgrounds_objects_Medal.prototype=$extend(io_newgrounds_objects_Object.prototype,{get_id:function(){return this._data.id},get_name:function(){return this._data.name},get_description:function(){return this._data.description},get_icon:function(){return this._data.icon},get_value:function(){return this._data.value},get_difficulty:function(){return this._data.difficulty},get_secret:function(){return 1==this._data.secret},get_unlocked:function(){return this._data.unlocked},onUnlock:null,parse:function(e){var t=null==this._data||!this._data.unlocked;io_newgrounds_objects_Object.prototype.parse.call(this,e),t&&this._data.unlocked&&this.onUnlock.dispatch()},sendUnlock:function(){null==this._core.sessionId&&(this._data.unlocked=!0,this.onUnlock.dispatch()),this._core.calls.medal.unlock(this._data.id).addDataHandler($bind(this,this.onUnlockResponse)).send()},onUnlockResponse:function(e){e.success&&e.result.data.success&&(this.parse(e.result.data.medal),this._data.unlocked||(this._data.unlocked=!0,this.onUnlock.dispatch()))},sendDebugUnlock:function(){null==io_newgrounds_NG.core.sessionId?this.onUnlock.dispatch():(this._data.unlocked=!1,this.sendUnlock())},get_difficultyName:function(){switch(this._data.difficulty){case 1:return"Easy";case 2:return"Moderate";case 3:return"Challenging";case 4:return"Difficult";case 5:return"Brutal";default:throw haxe_Exception.thrown("invalid difficulty: "+this._data.difficulty)}},toString:function(){var e,t="Medal: "+this._data.id+"@"+this._data.name+" ("+(this._data.unlocked?"unlocked":"locked")+", "+this._data.value+" pts, ";switch(this._data.difficulty){case 1:e="Easy";break;case 2:e="Moderate";break;case 3:e="Challenging";break;case 4:e="Difficult";break;case 5:e="Brutal";break;default:throw haxe_Exception.thrown("invalid difficulty: "+this._data.difficulty)}return t+e+")."},__class__:io_newgrounds_objects_Medal,__properties__:{get_difficultyName:"get_difficultyName",get_unlocked:"get_unlocked",get_secret:"get_secret",get_difficulty:"get_difficulty",get_value:"get_value",get_icon:"get_icon",get_description:"get_description",get_name:"get_name",get_id:"get_id"}});var io_newgrounds_objects_Score={};io_newgrounds_objects_Score.__properties__={get_formattedValue:"get_formattedValue",get_formatted_value:"get_formatted_value"},io_newgrounds_objects_Score.get_formatted_value=function(e){return e.formatted_value},io_newgrounds_objects_Score.get_formattedValue=function(e){return e.formatted_value};var io_newgrounds_objects_ScoreBoard=function(e,t){io_newgrounds_objects_Object.call(this,e,t)};$hxClasses["io.newgrounds.objects.ScoreBoard"]=io_newgrounds_objects_ScoreBoard,io_newgrounds_objects_ScoreBoard.__name__="io.newgrounds.objects.ScoreBoard",io_newgrounds_objects_ScoreBoard.__super__=io_newgrounds_objects_Object,io_newgrounds_objects_ScoreBoard.prototype=$extend(io_newgrounds_objects_Object.prototype,{scores:null,get_id:function(){return this._data.id},get_name:function(){return this._data.name},requestScores:function(e,t,i,l,n,s){null==l&&(l=!1),null==i&&(i="A"),null==t&&(t=0),null==e&&(e=10),this._core.calls.scoreBoard.getScores(this._data.id,e,t,i,l,n,s).addDataHandler($bind(this,this.onScoresReceived)).send()},onScoresReceived:function(e){if(e.success&&e.result.data.success){this.scores=e.result.data.scores;var t=this._core;t.verbose&&t.log("received "+this.scores.length+" scores",{fileName:"io/newgrounds/objects/ScoreBoard.hx",lineNumber:55,className:"io.newgrounds.objects.ScoreBoard",methodName:"onScoresReceived"}),this.onUpdate.dispatch()}},postScore:function(e,t){this._core.calls.scoreBoard.postScore(this._data.id,e,t).addDataHandler($bind(this,this.onScorePosted)).send()},onScorePosted:function(e){},toString:function(){return"ScoreBoard: "+this._data.id+"@"+this._data.name},__class__:io_newgrounds_objects_ScoreBoard,__properties__:{get_name:"get_name",get_id:"get_id"}});var io_newgrounds_objects_Session={};io_newgrounds_objects_Session.__properties__={get_status:"get_status",get_passport_url:"get_passport_url",get_passportUrl:"get_passportUrl"},io_newgrounds_objects_Session.get_passportUrl=function(e){return e.passport_url},io_newgrounds_objects_Session.get_passport_url=function(e){return e.passport_url},io_newgrounds_objects_Session.get_status=function(e){return e.expired||null==e.id||""==e.id?"session-expired":null!=e.user&&null!=e.user.name&&""!=e.user.name?"user-loaded":"request-login"};var io_newgrounds_objects_events_Response={};io_newgrounds_objects_events_Response.__properties__={get_appId:"get_appId",get_result:"get_result",get_debug:"get_debug",get_error:"get_error",get_success:"get_success"},io_newgrounds_objects_events_Response.get_success=function(e){return e.success},io_newgrounds_objects_events_Response.get_error=function(e){return e.error},io_newgrounds_objects_events_Response.get_debug=function(e){return e.debug},io_newgrounds_objects_events_Response.get_result=function(e){return e.result},io_newgrounds_objects_events_Response.get_appId=function(e){return e.app_id},io_newgrounds_objects_events_Response._new=function(e,t){var i;try{i=JSON.parse(t)}catch(e){haxe_NativeStackTrace.lastError=e;var l=haxe_Exception.caught(e).unwrap();i=JSON.parse('{"success":false,"error":{"message":"Error parsing reply:\''+t+"' error:'"+Std.string(l)+'\'","code":0}}')}if(i.success){if(!i.result.data.success){n=i.result.data.error;e.logError(i.result.component+" fail: "+(null==n?"null":(null!=n.code?"#"+n.code+" - ":"")+n.message),{fileName:"io/newgrounds/objects/events/Response.hx",lineNumber:42,className:"io.newgrounds.objects.events._Response.Response_Impl_",methodName:"_new"})}}else{var n=i.error;e.logError("Call unseccessful: "+(null==n?"null":(null!=n.code?"#"+n.code+" - ":"")+n.message),{fileName:"io/newgrounds/objects/events/Response.hx",lineNumber:40,className:"io.newgrounds.objects.events._Response.Response_Impl_",methodName:"_new"})}return i};var io_newgrounds_objects_events_Result={};io_newgrounds_objects_events_Result.__properties__={get_error:"get_error",get_debug:"get_debug",get_success:"get_success",get_data:"get_data",get_echo:"get_echo",get_component:"get_component"},io_newgrounds_objects_events_Result.get_component=function(e){return e.component},io_newgrounds_objects_events_Result.get_echo=function(e){return e.echo},io_newgrounds_objects_events_Result.get_data=function(e){return e.data},io_newgrounds_objects_events_Result.get_success=function(e){return e.data.success},io_newgrounds_objects_events_Result.get_debug=function(e){return e.data.debug},io_newgrounds_objects_events_Result.get_error=function(e){return e.data.error};var io_newgrounds_objects_events_GetHostResult={};io_newgrounds_objects_events_GetHostResult.__properties__={get_hostApproved:"get_hostApproved",get_host_approved:"get_host_approved"},io_newgrounds_objects_events_GetHostResult.get_host_approved=function(e){return e.host_approved},io_newgrounds_objects_events_GetHostResult.get_hostApproved=function(e){return e.host_approved};var io_newgrounds_objects_events_GetCurrentVersionResult={};io_newgrounds_objects_events_GetCurrentVersionResult.__properties__={get_clientDeprecated:"get_clientDeprecated",get_client_deprecated:"get_client_deprecated",get_currentVersion:"get_currentVersion",get_current_version:"get_current_version"},io_newgrounds_objects_events_GetCurrentVersionResult.get_current_version=function(e){return e.current_version},io_newgrounds_objects_events_GetCurrentVersionResult.get_currentVersion=function(e){return e.current_version},io_newgrounds_objects_events_GetCurrentVersionResult.get_client_deprecated=function(e){return e.client_deprecated},io_newgrounds_objects_events_GetCurrentVersionResult.get_clientDeprecated=function(e){return e.client_deprecated};var io_newgrounds_objects_events_LogEventResult={};io_newgrounds_objects_events_LogEventResult.__properties__={get_eventName:"get_eventName",get_event_name:"get_event_name"},io_newgrounds_objects_events_LogEventResult.get_event_name=function(e){return e.event_name},io_newgrounds_objects_events_LogEventResult.get_eventName=function(e){return e.event_name};var io_newgrounds_objects_events_GetDateTimeResult={};io_newgrounds_objects_events_GetDateTimeResult.__properties__={get_dateTime:"get_dateTime",get_datetime:"get_datetime"},io_newgrounds_objects_events_GetDateTimeResult.get_datetime=function(e){return e.datetime},io_newgrounds_objects_events_GetDateTimeResult.get_dateTime=function(e){return e.datetime};var io_newgrounds_objects_events_MedalUnlockResult={};io_newgrounds_objects_events_MedalUnlockResult.__properties__={get_medalScore:"get_medalScore",get_medal_score:"get_medal_score"},io_newgrounds_objects_events_MedalUnlockResult.get_medal_score=function(e){return e.medal_score},io_newgrounds_objects_events_MedalUnlockResult.get_medalScore=function(e){return e.medal_score};var io_newgrounds_utils_AsyncHttp=function(){};$hxClasses["io.newgrounds.utils.AsyncHttp"]=io_newgrounds_utils_AsyncHttp,io_newgrounds_utils_AsyncHttp.__name__="io.newgrounds.utils.AsyncHttp",io_newgrounds_utils_AsyncHttp.send=function(e,t,i,l,n){e.verbose&&e.log("sending: "+t,{fileName:"io/newgrounds/utils/AsyncHttp.hx",lineNumber:35,className:"io.newgrounds.utils.AsyncHttp",methodName:"send"}),io_newgrounds_utils_AsyncHttp.sendSync(e,t,i,l,n)},io_newgrounds_utils_AsyncHttp.sendSync=function(e,t,i,l,n){var s=new haxe_http_HttpJs("https://newgrounds.io/gateway_v3.php");s.setParameter("input",t),s.onData=i,s.onError=l,s.onStatus=n,s.request(!0)};var io_newgrounds_utils_TypedDispatcher=function(){this._list=[],this._once=[]};$hxClasses["io.newgrounds.utils.TypedDispatcher"]=io_newgrounds_utils_TypedDispatcher,io_newgrounds_utils_TypedDispatcher.__name__="io.newgrounds.utils.TypedDispatcher",io_newgrounds_utils_TypedDispatcher.prototype={_list:null,_once:null,add:function(e,t){return null==t&&(t=!1),-1!=this._list.indexOf(e)?(t||-1==this._once.indexOf(e)||HxOverrides.remove(this._once,e),!1):(this._list.unshift(e),t&&this._once.unshift(e),!0)},addOnce:function(e){return this.add(e,!0)},remove:function(e){return HxOverrides.remove(this._once,e),HxOverrides.remove(this._list,e)},dispatch:function(e){for(var t=this._list.length-1;t>=0;){var i=this._list[t];HxOverrides.remove(this._once,i)&&HxOverrides.remove(this._list,i),i(e),--t}},__class__:io_newgrounds_utils_TypedDispatcher};var js_Browser=function(){};$hxClasses["js.Browser"]=js_Browser,js_Browser.__name__="js.Browser",js_Browser.getLocalStorage=function(){try{var e=window.localStorage;if(e.getItem(""),0==e.length){var t="_hx_"+Math.random();e.setItem(t,t),e.removeItem(t)}return e}catch(e){return haxe_NativeStackTrace.lastError=e,null}},js_Browser.createXMLHttpRequest=function(){if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)return new ActiveXObject("Microsoft.XMLHTTP");throw haxe_Exception.thrown("Unable to create XMLHttpRequest object.")};var js_html__$CanvasElement_CanvasUtil=function(){};$hxClasses["js.html._CanvasElement.CanvasUtil"]=js_html__$CanvasElement_CanvasUtil,js_html__$CanvasElement_CanvasUtil.__name__="js.html._CanvasElement.CanvasUtil",js_html__$CanvasElement_CanvasUtil.getContextWebGL=function(e,t){var i="webgl",l=e.getContext(i,t);if(null!=l)return l;i="experimental-webgl";return null!=(l=e.getContext(i,t))?l:null};var js_lib__$ArrayBuffer_ArrayBufferCompat=function(){};$hxClasses["js.lib._ArrayBuffer.ArrayBufferCompat"]=js_lib__$ArrayBuffer_ArrayBufferCompat,js_lib__$ArrayBuffer_ArrayBufferCompat.__name__="js.lib._ArrayBuffer.ArrayBufferCompat",js_lib__$ArrayBuffer_ArrayBufferCompat.sliceImpl=function(e,t){var i=new Uint8Array(this,e,null==t?null:t-e),l=new Uint8Array(i.byteLength);return l.set(i),l.buffer};var lime__$internal_backend_html5_GameDeviceData=function(){this.connected=!0,this.buttons=[],this.axes=[]};$hxClasses["lime._internal.backend.html5.GameDeviceData"]=lime__$internal_backend_html5_GameDeviceData,lime__$internal_backend_html5_GameDeviceData.__name__="lime._internal.backend.html5.GameDeviceData",lime__$internal_backend_html5_GameDeviceData.prototype={connected:null,id:null,isGamepad:null,buttons:null,axes:null,__class__:lime__$internal_backend_html5_GameDeviceData};var lime__$internal_backend_html5_HTML5AudioSource=function(e){this.parent=e,this.id=-1,this.gain=1,this.position=new lime_math_Vector4};$hxClasses["lime._internal.backend.html5.HTML5AudioSource"]=lime__$internal_backend_html5_HTML5AudioSource,lime__$internal_backend_html5_HTML5AudioSource.__name__="lime._internal.backend.html5.HTML5AudioSource",lime__$internal_backend_html5_HTML5AudioSource.prototype={completed:null,gain:null,id:null,length:null,loops:null,parent:null,playing:null,position:null,dispose:function(){},init:function(){},play:function(){if(!this.playing&&null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl){this.playing=!0;var e=this.getCurrentTime();this.completed=!1;var t=this.parent.buffer.__srcHowl._volume;this.parent.buffer.__srcHowl._volume=this.parent.get_gain(),this.id=this.parent.buffer.__srcHowl.play(),this.parent.buffer.__srcHowl._volume=t,this.setPosition(this.parent.get_position()),this.parent.buffer.__srcHowl.on("end",$bind(this,this.howl_onEnd),this.id),this.setCurrentTime(e)}},pause:function(){this.playing=!1,null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl&&this.parent.buffer.__srcHowl.pause(this.id)},stop:function(){this.playing=!1,null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl&&(this.parent.buffer.__srcHowl.stop(this.id),this.parent.buffer.__srcHowl.off("end",$bind(this,this.howl_onEnd),this.id))},howl_onEnd:function(){if(this.playing=!1,this.loops>0)return this.loops--,this.stop(),void this.play();null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl&&(this.parent.buffer.__srcHowl.stop(this.id),this.parent.buffer.__srcHowl.off("end",$bind(this,this.howl_onEnd),this.id)),this.completed=!0,this.parent.onComplete.dispatch()},getCurrentTime:function(){if(-1==this.id)return 0;if(this.completed)return this.getLength();if(null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl){var e=(1e3*this.parent.buffer.__srcHowl.seek(this.id)|0)-this.parent.offset;return e<0?0:e}return 0},setCurrentTime:function(e){if(null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl){var t=(e+this.parent.offset)/1e3;t<0&&(t=0),this.parent.buffer.__srcHowl.seek(t,this.id)}return e},getGain:function(){return this.gain},setGain:function(e){return null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl&&-1!=this.id&&this.parent.buffer.__srcHowl.volume(e,this.id),this.gain=e},getLength:function(){return 0!=this.length?this.length:null!=this.parent.buffer&&null!=this.parent.buffer.__srcHowl?1e3*this.parent.buffer.__srcHowl.duration()|0:0},setLength:function(e){return this.length=e},getLoops:function(){return this.loops},setLoops:function(e){return this.loops=e},getPosition:function(){return this.position},setPosition:function(e){return this.position.x=e.x,this.position.y=e.y,this.position.z=e.z,this.position.w=e.w,null!=this.parent.buffer.__srcHowl&&null!=this.parent.buffer.__srcHowl.pos&&this.parent.buffer.__srcHowl.pos(this.position.x,this.position.y,this.position.z,this.id),this.position},__class__:lime__$internal_backend_html5_HTML5AudioSource};var lime__$internal_backend_html5_HTML5HTTPRequest=function(){this.validStatus0=new EReg("Tizen","gi").match(window.navigator.userAgent)};$hxClasses["lime._internal.backend.html5.HTML5HTTPRequest"]=lime__$internal_backend_html5_HTML5HTTPRequest,lime__$internal_backend_html5_HTML5HTTPRequest.__name__="lime._internal.backend.html5.HTML5HTTPRequest",lime__$internal_backend_html5_HTML5HTTPRequest.originElement=null,lime__$internal_backend_html5_HTML5HTTPRequest.originHostname=null,lime__$internal_backend_html5_HTML5HTTPRequest.originPort=null,lime__$internal_backend_html5_HTML5HTTPRequest.originProtocol=null,lime__$internal_backend_html5_HTML5HTTPRequest.supportsImageProgress=null,lime__$internal_backend_html5_HTML5HTTPRequest.loadImage=function(e){var t=new lime_app_Promise;return lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests<lime__$internal_backend_html5_HTML5HTTPRequest.requestLimit?(lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests++,lime__$internal_backend_html5_HTML5HTTPRequest.__loadImage(e,t,0)):lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue.add({instance:null,uri:e,promise:t,type:"IMAGE",options:0}),t.future},lime__$internal_backend_html5_HTML5HTTPRequest.loadImageFromBytes=function(e,t){var i=URL.createObjectURL(new Blob([e.b.bufferValue],{type:t}));if(null!=i){var l=new lime_app_Promise;return lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests<lime__$internal_backend_html5_HTML5HTTPRequest.requestLimit?(lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests++,lime__$internal_backend_html5_HTML5HTTPRequest.__loadImage(i,l,1)):lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue.add({instance:null,uri:i,promise:l,type:"IMAGE",options:1}),l.future}return lime__$internal_backend_html5_HTML5HTTPRequest.loadImage("data:"+t+";base64,"+lime__$internal_format_Base64.encode(e))},lime__$internal_backend_html5_HTML5HTTPRequest.processQueue=function(){if(lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests<lime__$internal_backend_html5_HTML5HTTPRequest.requestLimit&&lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue.length>0){lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests++;var e=lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue.pop();switch(e.type){case"BINARY":e.instance.__loadData(e.uri,e.promise);break;case"IMAGE":lime__$internal_backend_html5_HTML5HTTPRequest.__loadImage(e.uri,e.promise,e.options);break;case"TEXT":e.instance.__loadText(e.uri,e.promise);break;default:lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests--}}},lime__$internal_backend_html5_HTML5HTTPRequest.__createBlobURIFromBytes=function(e,t){return URL.createObjectURL(new Blob([e.b.bufferValue],{type:t}))},lime__$internal_backend_html5_HTML5HTTPRequest.__fixHostname=function(e){return null==e?"":e},lime__$internal_backend_html5_HTML5HTTPRequest.__fixPort=function(e,t){if(null==e||""==e)switch(t){case"ftp:":return"21";case"gopher:":return"70";case"http:":return"80";case"https:":return"443";case"ws:":return"80";case"wss:":return"443";default:return""}return e},lime__$internal_backend_html5_HTML5HTTPRequest.__fixProtocol=function(e){return null==e||""==e?"http:":e},lime__$internal_backend_html5_HTML5HTTPRequest.__isInMemoryURI=function(e){return!!StringTools.startsWith(e,"data:")||StringTools.startsWith(e,"blob:")},lime__$internal_backend_html5_HTML5HTTPRequest.__isSameOrigin=function(e){if(null==e||""==e)return!0;if(lime__$internal_backend_html5_HTML5HTTPRequest.__isInMemoryURI(e))return!0;null==lime__$internal_backend_html5_HTML5HTTPRequest.originElement&&(lime__$internal_backend_html5_HTML5HTTPRequest.originElement=window.document.createElement("a"),lime__$internal_backend_html5_HTML5HTTPRequest.originHostname=lime__$internal_backend_html5_HTML5HTTPRequest.__fixHostname($global.location.hostname),lime__$internal_backend_html5_HTML5HTTPRequest.originProtocol=lime__$internal_backend_html5_HTML5HTTPRequest.__fixProtocol($global.location.protocol),lime__$internal_backend_html5_HTML5HTTPRequest.originPort=lime__$internal_backend_html5_HTML5HTTPRequest.__fixPort($global.location.port,lime__$internal_backend_html5_HTML5HTTPRequest.originProtocol));var t=lime__$internal_backend_html5_HTML5HTTPRequest.originElement;t.href=e,""==t.hostname&&(t.href=t.href);var i=lime__$internal_backend_html5_HTML5HTTPRequest.__fixHostname(t.hostname),l=lime__$internal_backend_html5_HTML5HTTPRequest.__fixProtocol(t.protocol),n=lime__$internal_backend_html5_HTML5HTTPRequest.__fixPort(t.port,l),s=""==i||i==lime__$internal_backend_html5_HTML5HTTPRequest.originHostname,a=""==n||n==lime__$internal_backend_html5_HTML5HTTPRequest.originPort;return!("file:"==l||!s)&&a},lime__$internal_backend_html5_HTML5HTTPRequest.__loadImage=function(e,t,i){var l=new Image;if(lime__$internal_backend_html5_HTML5HTTPRequest.__isSameOrigin(e)||(l.crossOrigin="Anonymous"),null==lime__$internal_backend_html5_HTML5HTTPRequest.supportsImageProgress&&(lime__$internal_backend_html5_HTML5HTTPRequest.supportsImageProgress="onprogress"in l),lime__$internal_backend_html5_HTML5HTTPRequest.supportsImageProgress||lime__$internal_backend_html5_HTML5HTTPRequest.__isInMemoryURI(e))l.addEventListener("load",function(n){lime__$internal_backend_html5_HTML5HTTPRequest.__revokeBlobURI(e,i);var s=new lime_graphics_ImageBuffer(null,l.width,l.height);s.__srcImage=l,lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests--,lime__$internal_backend_html5_HTML5HTTPRequest.processQueue(),t.complete(new lime_graphics_Image(s))},!1),l.addEventListener("progress",function(e){t.progress(e.loaded,e.total)},!1),l.addEventListener("error",function(l){lime__$internal_backend_html5_HTML5HTTPRequest.__revokeBlobURI(e,i),lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests--,lime__$internal_backend_html5_HTML5HTTPRequest.processQueue(),t.error(l.detail)},!1),l.src=e;else{var n=new XMLHttpRequest;n.onload=function(e){lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests--,lime__$internal_backend_html5_HTML5HTTPRequest.processQueue(),(new lime_graphics_Image).__fromBytes(haxe_io_Bytes.ofData(n.response),function(e){t.complete(e)})},n.onerror=function(e){t.error(e.message)},n.onprogress=function(e){e.lengthComputable&&t.progress(e.loaded,e.total)},n.open("GET",e,!0),n.responseType="arraybuffer",n.overrideMimeType("text/plain; charset=x-user-defined"),n.send(null)}},lime__$internal_backend_html5_HTML5HTTPRequest.__revokeBlobURI=function(e,t){0!=(1&t)&&URL.revokeObjectURL(e)},lime__$internal_backend_html5_HTML5HTTPRequest.prototype={binary:null,parent:null,request:null,validStatus0:null,cancel:function(){null!=this.request&&this.request.abort()},init:function(e){this.parent=e},load:function(e,t,i){this.request=new XMLHttpRequest,"POST"==this.parent.method?this.request.upload.addEventListener("progress",t,!1):this.request.addEventListener("progress",t,!1),this.request.onreadystatechange=i;var l="";if(null==this.parent.data){for(var n=haxe_ds_StringMap.keysIterator(this.parent.formData.h);n.hasNext();){var s=n.next();l.length>0&&(l+="&");var a=this.parent.formData.h[s];if(s.indexOf("[]")>-1&&a instanceof Array){for(var r=[],_=$getIterator(a);_.hasNext();){var o=_.next();r.push(encodeURIComponent(o))}var h=r.join("&amp;"+s+"=");l+=encodeURIComponent(s)+"="+h}else{var u=encodeURIComponent(s)+"=",d=Std.string(a);l+=u+encodeURIComponent(d)}}"GET"==this.parent.method&&""!=l&&(e.indexOf("?")>-1?e+="&"+l:e+="?"+l,l="")}this.request.open(Std.string(this.parent.method),e,!0),this.parent.timeout>0&&(this.request.timeout=this.parent.timeout),this.binary&&(this.request.responseType="arraybuffer");for(var c=null,r=0,p=this.parent.headers;r<p.length;){var f=p[r];++r,"Content-Type"==f.name?c=f.value:this.request.setRequestHeader(f.name,f.value)}null!=this.parent.contentType&&(c=this.parent.contentType),null==c&&(null!=this.parent.data?c="application/octet-stream":""!=l&&(c="application/x-www-form-urlencoded")),null!=c&&this.request.setRequestHeader("Content-Type",c),this.parent.withCredentials&&(this.request.withCredentials=!0),null!=this.parent.data?this.request.send(this.parent.data.b.bufferValue):this.request.send(l)},loadData:function(e){var t=new lime_app_Promise;return lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests<lime__$internal_backend_html5_HTML5HTTPRequest.requestLimit?(lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests++,this.__loadData(e,t)):lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue.add({instance:this,uri:e,promise:t,type:"BINARY",options:0}),t.future},loadText:function(e){var t=new lime_app_Promise;return lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests<lime__$internal_backend_html5_HTML5HTTPRequest.requestLimit?(lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests++,this.__loadText(e,t)):lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue.add({instance:this,uri:e,promise:t,type:"TEXT",options:0}),t.future},processResponse:function(){if(this.parent.enableResponseHeaders){this.parent.responseHeaders=[];for(var e,t,i=0,l=this.request.getAllResponseHeaders().split("\n");i<l.length;){var n=l[i];++i,e=StringTools.trim(HxOverrides.substr(n,0,n.indexOf(":"))),t=StringTools.trim(HxOverrides.substr(n,n.indexOf(":")+1,null)),""!=e&&this.parent.responseHeaders.push(new lime_net_HTTPRequestHeader(e,t))}}this.parent.responseStatus=this.request.status},__loadData:function(e,t){var i=this,l=function(e){t.progress(e.loaded,e.total)},n=function(e){if(4==i.request.readyState){if(null!=i.request.status&&(i.request.status>=200&&i.request.status<400||i.validStatus0&&0==i.request.status)){var l=null;""==i.request.responseType?null!=i.request.responseText&&(l=haxe_io_Bytes.ofString(i.request.responseText)):null!=i.request.response&&(l=haxe_io_Bytes.ofData(i.request.response)),i.processResponse(),t.complete(l)}else i.processResponse(),t.error(i.request.status);i.request=null,lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests--,lime__$internal_backend_html5_HTML5HTTPRequest.processQueue()}};this.binary=!0,this.load(e,l,n)},__loadText:function(e,t){var i=this,l=function(e){t.progress(e.loaded,e.total)},n=function(e){4==i.request.readyState&&(null!=i.request.status&&(i.request.status>=200&&i.request.status<=400||i.validStatus0&&0==i.request.status)?(i.processResponse(),t.complete(i.request.responseText)):(i.processResponse(),t.error(i.request.status)),i.request=null,lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests--,lime__$internal_backend_html5_HTML5HTTPRequest.processQueue())};this.binary=!1,this.load(e,l,n)},__class__:lime__$internal_backend_html5_HTML5HTTPRequest};var lime__$internal_backend_html5_HTML5Window=function(e){this.inputing=!1,this.unusedTouchesPool=new haxe_ds_List,this.scale=1,this.currentTouches=new haxe_ds_IntMap,this.parent=e,this.cursor=lime_ui_MouseCursor.DEFAULT,this.cacheMouseX=0,this.cacheMouseY=0;var t=e.__attributes;Object.prototype.hasOwnProperty.call(t,"context")||(t.context={}),this.renderType=t.context.type,Object.prototype.hasOwnProperty.call(t,"element")&&(e.element=t.element);var i=e.element;if(Object.prototype.hasOwnProperty.call(t,"allowHighDPI")&&t.allowHighDPI&&"dom"!=this.renderType&&(this.scale=window.devicePixelRatio),e.__scale=this.scale,this.setWidth=Object.prototype.hasOwnProperty.call(t,"width")?t.width:0,this.setHeight=Object.prototype.hasOwnProperty.call(t,"height")?t.height:0,e.__width=this.setWidth,e.__height=this.setHeight,e.id=lime__$internal_backend_html5_HTML5Window.windowID++,i instanceof HTMLCanvasElement?this.canvas=i:"dom"==this.renderType?this.div=window.document.createElement("div"):this.canvas=window.document.createElement("canvas"),null!=this.canvas)(l=this.canvas.style).setProperty("-webkit-transform","translateZ(0)",null),l.setProperty("transform","translateZ(0)",null);else if(null!=this.div){var l=this.div.style;l.setProperty("-webkit-transform","translate3D(0,0,0)",null),l.setProperty("transform","translate3D(0,0,0)",null),l.position="relative",l.overflow="hidden",l.setProperty("-webkit-user-select","none",null),l.setProperty("-moz-user-select","none",null),l.setProperty("-ms-user-select","none",null),l.setProperty("-o-user-select","none",null)}if(0==e.__width&&0==e.__height&&(null!=i?(e.__width=i.clientWidth,e.__height=i.clientHeight):(e.__width=window.innerWidth,e.__height=window.innerHeight),this.cacheElementWidth=e.__width,this.cacheElementHeight=e.__height,this.resizeElement=!0),null!=this.canvas?(this.canvas.width=Math.round(e.__width*this.scale),this.canvas.height=Math.round(e.__height*this.scale),this.canvas.style.width=e.__width+"px",this.canvas.style.height=e.__height+"px"):(this.div.style.width=e.__width+"px",this.div.style.height=e.__height+"px"),(Object.prototype.hasOwnProperty.call(t,"resizable")&&t.resizable||!Object.prototype.hasOwnProperty.call(t,"width")&&0==this.setWidth&&0==this.setHeight)&&(e.__resizable=!0),this.updateSize(),null!=i){null!=this.canvas?i!=this.canvas&&i.appendChild(this.canvas):i.appendChild(this.div);for(var n=["mousedown","mouseenter","mouseleave","mousemove","mouseup","wheel"],s=0;s<n.length;){var a=n[s];++s,i.addEventListener(a,$bind(this,this.handleMouseEvent),!0)}i.addEventListener("contextmenu",$bind(this,this.handleContextMenuEvent),!0),i.addEventListener("dragstart",$bind(this,this.handleDragEvent),!0),i.addEventListener("dragover",$bind(this,this.handleDragEvent),!0),i.addEventListener("drop",$bind(this,this.handleDragEvent),!0),i.addEventListener("touchstart",$bind(this,this.handleTouchEvent),!0),i.addEventListener("touchmove",$bind(this,this.handleTouchEvent),!0),i.addEventListener("touchend",$bind(this,this.handleTouchEvent),!0),i.addEventListener("touchcancel",$bind(this,this.handleTouchEvent),!0),i.addEventListener("gamepadconnected",$bind(this,this.handleGamepadEvent),!0),i.addEventListener("gamepaddisconnected",$bind(this,this.handleGamepadEvent),!0)}this.createContext(),"webgl"==e.context.type&&(this.canvas.addEventListener("webglcontextlost",$bind(this,this.handleContextEvent),!1),this.canvas.addEventListener("webglcontextrestored",$bind(this,this.handleContextEvent),!1))};$hxClasses["lime._internal.backend.html5.HTML5Window"]=lime__$internal_backend_html5_HTML5Window,lime__$internal_backend_html5_HTML5Window.__name__="lime._internal.backend.html5.HTML5Window",lime__$internal_backend_html5_HTML5Window.textArea=null,lime__$internal_backend_html5_HTML5Window.textInput=null,lime__$internal_backend_html5_HTML5Window.prototype={canvas:null,div:null,cacheElementHeight:null,cacheElementWidth:null,cacheMouseX:null,cacheMouseY:null,cursor:null,currentTouches:null,isFullscreen:null,parent:null,primaryTouch:null,renderType:null,requestedFullscreen:null,resizeElement:null,scale:null,setHeight:null,setWidth:null,textInputEnabled:null,unusedTouchesPool:null,alert:function(e,t){null!=e&&window.alert(Std.string(e))},close:function(){this.parent.application.__removeWindow(this.parent)},createContext:function(){var e=new lime_graphics_RenderContext,t=this.parent.__attributes.context;if(e.window=this.parent,e.attributes=t,null!=this.div)e.dom=this.div,e.type="dom",e.version="";else if(null!=this.canvas){var i=null,l="canvas"==this.renderType,n="opengl"==this.renderType||"opengles"==this.renderType||"webgl"==this.renderType,s=!Object.prototype.hasOwnProperty.call(t,"version")||"1"!=t.version,a=!1;if(n||!l&&(!Object.prototype.hasOwnProperty.call(t,"hardware")||t.hardware)){var r=Object.prototype.hasOwnProperty.call(t,"background")&&null==t.background,_=Object.prototype.hasOwnProperty.call(t,"colorDepth")?t.colorDepth:16,o=Object.prototype.hasOwnProperty.call(t,"antialiasing")&&t.antialiasing>0,h=!Object.prototype.hasOwnProperty.call(t,"depth")||t.depth,u=Object.prototype.hasOwnProperty.call(t,"stencil")&&t.stencil,d={alpha:r||_>16,antialias:o,depth:h,premultipliedAlpha:!0,stencil:u,preserveDrawingBuffer:!1,failIfMajorPerformanceCaveat:!1},c=["webgl","experimental-webgl"];s&&c.unshift("webgl2");for(var p=0;p<c.length;){var f=c[p];if(++p,null!=(i=this.canvas.getContext(f,d))&&"webgl2"==f&&(a=!0),null!=i)break}}null==i?(e.canvas2D=this.canvas.getContext("2d"),e.type="canvas",e.version=""):(e.webgl=lime_graphics_WebGLRenderContext.fromWebGL2RenderContext(i),a&&(e.webgl2=i),null==lime_graphics_opengl_GL.context&&(lime_graphics_opengl_GL.context=i,lime_graphics_opengl_GL.type="webgl",lime_graphics_opengl_GL.version=a?2:1),e.type="webgl",e.version=a?"2":"1")}this.parent.context=e},focus:function(){},getCursor:function(){return this.cursor},getDisplay:function(){return lime_system_System.getDisplay(0)},getDisplayMode:function(){return lime_system_System.getDisplay(0).currentMode},getFrameRate:function(){return null==this.parent.application?0:this.parent.application.__backend.framePeriod<0?60:1e3==this.parent.application.__backend.framePeriod?0:1e3/this.parent.application.__backend.framePeriod},getMouseLock:function(){return!1},getTextInputEnabled:function(){return this.textInputEnabled},handleContextEvent:function(e){switch(e.type){case"webglcontextlost":e.cancelable&&e.preventDefault();lime_graphics_opengl_GL.context;this.parent.context=null,this.parent.onRenderContextLost.dispatch();break;case"webglcontextrestored":this.createContext(),this.parent.onRenderContextRestored.dispatch(this.parent.context)}},handleContextMenuEvent:function(e){(this.parent.onMouseUp.canceled||this.parent.onMouseDown.canceled)&&e.cancelable&&e.preventDefault()},handleCutOrCopyEvent:function(e){e.clipboardData.setData("text/plain",lime_system_Clipboard.get_text()),e.cancelable&&e.preventDefault()},handleDragEvent:function(e){switch(e.type){case"dragover":return e.preventDefault(),!1;case"dragstart":if("img"==js_Boot.__cast(e.target,HTMLElement).nodeName.toLowerCase()&&e.cancelable)return e.preventDefault(),!1;break;case"drop":if(null!=e.dataTransfer&&e.dataTransfer.files.length>0)return this.parent.onDropFile.dispatch(e.dataTransfer.files),e.preventDefault(),!1}return!0},handleFocusEvent:function(e){var t=this;this.textInputEnabled&&(null==e.relatedTarget||this.isDescendent(e.relatedTarget))&&haxe_Timer.delay(function(){t.textInputEnabled&&lime__$internal_backend_html5_HTML5Window.textInput.focus()},20)},handleFullscreenEvent:function(e){if(null!=(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement))this.isFullscreen=!0,this.parent.__fullscreen=!0,this.requestedFullscreen&&(this.requestedFullscreen=!1,this.parent.onFullscreen.dispatch());else{this.isFullscreen=!1,this.parent.__fullscreen=!1,this.parent.onRestore.dispatch();for(var t=["fullscreenchange","mozfullscreenchange","webkitfullscreenchange","MSFullscreenChange"],i=["fullscreenerror","mozfullscreenerror","webkitfullscreenerror","MSFullscreenError"],l=0,n=t.length;l<n;){var s=l++;window.document.removeEventListener(t[s],$bind(this,this.handleFullscreenEvent),!1),window.document.removeEventListener(i[s],$bind(this,this.handleFullscreenEvent),!1)}}},handleGamepadEvent:function(e){switch(e.type){case"gamepadconnected":lime_ui_Joystick.__connect(e.gamepad.index),"standard"==e.gamepad.mapping&&lime_ui_Gamepad.__connect(e.gamepad.index);break;case"gamepaddisconnected":lime_ui_Joystick.__disconnect(e.gamepad.index),lime_ui_Gamepad.__disconnect(e.gamepad.index)}},handleInputEvent:function(e){if(!this.inputing&&lime__$internal_backend_html5_HTML5Window.textInput.value!=lime__$internal_backend_html5_HTML5Window.dummyCharacter){var t=StringTools.replace(lime__$internal_backend_html5_HTML5Window.textInput.value,lime__$internal_backend_html5_HTML5Window.dummyCharacter,"");t.length>0&&this.parent.onTextInput.dispatch(t),lime__$internal_backend_html5_HTML5Window.textInput.value=lime__$internal_backend_html5_HTML5Window.dummyCharacter}},handleMouseEvent:function(e){var t=0,i=0;if("wheel"!=e.type){if(null!=this.parent.element)if(null!=this.canvas){l=this.canvas.getBoundingClientRect();t=(e.clientX-l.left)*(this.parent.__width/l.width),i=(e.clientY-l.top)*(this.parent.__height/l.height)}else if(null!=this.div){l=this.div.getBoundingClientRect();t=e.clientX-l.left,i=e.clientY-l.top}else{var l=this.parent.element.getBoundingClientRect();t=(e.clientX-l.left)*(this.parent.__width/l.width),i=(e.clientY-l.top)*(this.parent.__height/l.height)}else t=e.clientX,i=e.clientY;switch(e.type){case"mousedown":e.currentTarget==this.parent.element&&window.addEventListener("mouseup",$bind(this,this.handleMouseEvent)),this.parent.onMouseDown.dispatch(t,i,e.button),this.parent.onMouseDown.canceled&&e.cancelable&&e.preventDefault();break;case"mouseenter":e.target==this.parent.element&&(this.parent.onEnter.dispatch(),this.parent.onEnter.canceled&&e.cancelable&&e.preventDefault());break;case"mouseleave":e.target==this.parent.element&&(this.parent.onLeave.dispatch(),this.parent.onLeave.canceled&&e.cancelable&&e.preventDefault());break;case"mousemove":t==this.cacheMouseX&&i==this.cacheMouseY||(this.parent.onMouseMove.dispatch(t,i),this.parent.onMouseMoveRelative.dispatch(t-this.cacheMouseX,i-this.cacheMouseY),(this.parent.onMouseMove.canceled||this.parent.onMouseMoveRelative.canceled)&&e.cancelable&&e.preventDefault());break;case"mouseup":window.removeEventListener("mouseup",$bind(this,this.handleMouseEvent)),e.currentTarget==this.parent.element&&e.stopPropagation(),this.parent.onMouseUp.dispatch(t,i,e.button),this.parent.onMouseUp.canceled&&e.cancelable&&e.preventDefault()}this.cacheMouseX=t,this.cacheMouseY=i}else{var n;switch(e.deltaMode){case 0:n=lime_ui_MouseWheelMode.PIXELS;break;case 1:n=lime_ui_MouseWheelMode.LINES;break;case 2:n=lime_ui_MouseWheelMode.PAGES;break;default:n=lime_ui_MouseWheelMode.UNKNOWN}this.parent.onMouseWheel.dispatch(e.deltaX,-e.deltaY,n),this.parent.onMouseWheel.canceled&&e.cancelable&&e.preventDefault()}},handlePasteEvent:function(e){if(e.clipboardData.types.indexOf("text/plain")>-1){var t=e.clipboardData.getData("text/plain");lime_system_Clipboard.set_text(t),this.textInputEnabled&&this.parent.onTextInput.dispatch(t),e.cancelable&&e.preventDefault()}},handleResizeEvent:function(e){this.primaryTouch=null,this.updateSize()},handleTouchEvent:function(e){e.cancelable&&e.preventDefault();var t=null;null!=this.parent.element&&(t=null!=this.canvas?this.canvas.getBoundingClientRect():null!=this.div?this.div.getBoundingClientRect():this.parent.element.getBoundingClientRect());var i=this.setWidth,l=this.setHeight;0!=i&&0!=l||(null!=t?(i=t.width,l=t.height):(i=1,l=1));for(var n,s,a,r,_,o=0,h=e.changedTouches;o<h.length;){var u=h[o];if(++o,s=0,a=0,null!=t?(s=(u.clientX-t.left)*(i/t.width),a=(u.clientY-t.top)*(l/t.height)):(s=u.clientX,a=u.clientY),"touchstart"==e.type)null==(n=this.unusedTouchesPool.pop())?n=new lime_ui_Touch(s/i,a/l,u.identifier,0,0,u.force,this.parent.id):(n.x=s/i,n.y=a/l,n.id=u.identifier,n.dx=0,n.dy=0,n.pressure=u.force,n.device=this.parent.id),this.currentTouches.h[u.identifier]=n,lime_ui_Touch.onStart.dispatch(n),null==this.primaryTouch&&(this.primaryTouch=n),n==this.primaryTouch&&this.parent.onMouseDown.dispatch(s,a,0);else if(null!=(n=this.currentTouches.h[u.identifier]))switch(r=n.x,_=n.y,n.x=s/i,n.y=a/l,n.dx=n.x-r,n.dy=n.y-_,n.pressure=u.force,e.type){case"touchcancel":lime_ui_Touch.onCancel.dispatch(n),this.currentTouches.remove(u.identifier),this.unusedTouchesPool.add(n),n==this.primaryTouch&&(this.primaryTouch=null);break;case"touchend":lime_ui_Touch.onEnd.dispatch(n),this.currentTouches.remove(u.identifier),this.unusedTouchesPool.add(n),n==this.primaryTouch&&(this.parent.onMouseUp.dispatch(s,a,0),this.primaryTouch=null);break;case"touchmove":lime_ui_Touch.onMove.dispatch(n),n==this.primaryTouch&&this.parent.onMouseMove.dispatch(s,a)}}},isDescendent:function(e){if(e==this.parent.element)return!0;for(;null!=e;){if(e.parentNode==this.parent.element)return!0;e=e.parentNode}return!1},move:function(e,t){},readPixels:function(e){if(null!=this.canvas){var t=new lime_math_Rectangle(0,0,this.canvas.width,this.canvas.height);if(null==e?e=t:e.intersection(t,e),e.width>0&&e.height>0){var i=window.document.createElement("canvas");return i.width=0|e.width,i.height=0|e.height,i.getContext("2d").drawImage(this.canvas,-e.x,-e.y),lime_graphics_Image.fromCanvas(i)}}return null},resize:function(e,t){},setBorderless:function(e){return e},setClipboard:function(e){null==lime__$internal_backend_html5_HTML5Window.textArea&&(lime__$internal_backend_html5_HTML5Window.textArea=window.document.createElement("textarea"),lime__$internal_backend_html5_HTML5Window.textArea.style.height="0px",lime__$internal_backend_html5_HTML5Window.textArea.style.left="-100px",lime__$internal_backend_html5_HTML5Window.textArea.style.opacity="0",lime__$internal_backend_html5_HTML5Window.textArea.style.position="fixed",lime__$internal_backend_html5_HTML5Window.textArea.style.top="-100px",lime__$internal_backend_html5_HTML5Window.textArea.style.width="0px",window.document.body.appendChild(lime__$internal_backend_html5_HTML5Window.textArea)),lime__$internal_backend_html5_HTML5Window.textArea.value=e,lime__$internal_backend_html5_HTML5Window.textArea.focus(),lime__$internal_backend_html5_HTML5Window.textArea.select(),window.document.queryCommandEnabled("copy")&&window.document.execCommand("copy")},setCursor:function(e){if(this.cursor!=e){if(null==e)this.parent.element.style.cursor="none";else{var t;switch(e._hx_index){case 0:t="default";break;case 1:t="crosshair";break;case 3:t="move";break;case 4:t="pointer";break;case 5:t="nesw-resize";break;case 6:t="ns-resize";break;case 7:t="nwse-resize";break;case 8:t="ew-resize";break;case 9:t="text";break;case 10:case 11:t="wait";break;default:t="auto"}this.parent.element.style.cursor=t}this.cursor=e}return this.cursor},setDisplayMode:function(e){return e},setFrameRate:function(e){return null!=this.parent.application&&(e>=60?this.parent==this.parent.application.__window&&(this.parent.application.__backend.framePeriod=-1):e>0?this.parent==this.parent.application.__window&&(this.parent.application.__backend.framePeriod=1e3/e):this.parent==this.parent.application.__window&&(this.parent.application.__backend.framePeriod=1e3)),e},setFullscreen:function(e){return e?this.requestedFullscreen||this.isFullscreen||(this.requestedFullscreen=!0,$bind($_=this.parent.element,$_.requestFullscreen)?(document.addEventListener("fullscreenchange",$bind(this,this.handleFullscreenEvent),!1),document.addEventListener("fullscreenerror",$bind(this,this.handleFullscreenEvent),!1),this.parent.element.requestFullscreen()):this.parent.element.mozRequestFullScreen?(document.addEventListener("mozfullscreenchange",$bind(this,this.handleFullscreenEvent),!1),document.addEventListener("mozfullscreenerror",$bind(this,this.handleFullscreenEvent),!1),this.parent.element.mozRequestFullScreen()):this.parent.element.webkitRequestFullscreen?(document.addEventListener("webkitfullscreenchange",$bind(this,this.handleFullscreenEvent),!1),document.addEventListener("webkitfullscreenerror",$bind(this,this.handleFullscreenEvent),!1),this.parent.element.webkitRequestFullscreen()):this.parent.element.msRequestFullscreen&&(document.addEventListener("MSFullscreenChange",$bind(this,this.handleFullscreenEvent),!1),document.addEventListener("MSFullscreenError",$bind(this,this.handleFullscreenEvent),!1),this.parent.element.msRequestFullscreen())):this.isFullscreen&&(this.requestedFullscreen=!1,document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()),e},setIcon:function(e){lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e);var t=window.document.querySelector("link[rel*='icon']");null==t&&(t=window.document.createElement("link")),t.type="image/x-icon",t.rel="shortcut icon",t.href=e.buffer.get_src().toDataURL("image/x-icon"),window.document.getElementsByTagName("head")[0].appendChild(t)},setMaximized:function(e){return!1},setMinimized:function(e){return!1},setMouseLock:function(e){},setResizable:function(e){return e},setTextInputEnabled:function(e){return e?(null==lime__$internal_backend_html5_HTML5Window.textInput&&(lime__$internal_backend_html5_HTML5Window.textInput=window.document.createElement("input"),lime__$internal_backend_html5_HTML5Window.textInput.type="text",lime__$internal_backend_html5_HTML5Window.textInput.style.position="absolute",lime__$internal_backend_html5_HTML5Window.textInput.style.opacity="0",lime__$internal_backend_html5_HTML5Window.textInput.style.color="transparent",lime__$internal_backend_html5_HTML5Window.textInput.value=lime__$internal_backend_html5_HTML5Window.dummyCharacter,lime__$internal_backend_html5_HTML5Window.textInput.autocapitalize="off",lime__$internal_backend_html5_HTML5Window.textInput.autocorrect="off",lime__$internal_backend_html5_HTML5Window.textInput.autocomplete="off",lime__$internal_backend_html5_HTML5Window.textInput.style.left="0px",lime__$internal_backend_html5_HTML5Window.textInput.style.top="50%",new EReg("(iPad|iPhone|iPod).*OS 8_","gi").match(window.navigator.userAgent)?(lime__$internal_backend_html5_HTML5Window.textInput.style.fontSize="0px",lime__$internal_backend_html5_HTML5Window.textInput.style.width="0px",lime__$internal_backend_html5_HTML5Window.textInput.style.height="0px"):(lime__$internal_backend_html5_HTML5Window.textInput.style.width="1px",lime__$internal_backend_html5_HTML5Window.textInput.style.height="1px"),lime__$internal_backend_html5_HTML5Window.textInput.style.pointerEvents="none",lime__$internal_backend_html5_HTML5Window.textInput.style.zIndex="-10000000"),null==lime__$internal_backend_html5_HTML5Window.textInput.parentNode&&this.parent.element.appendChild(lime__$internal_backend_html5_HTML5Window.textInput),this.textInputEnabled||(lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("input",$bind(this,this.handleInputEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("blur",$bind(this,this.handleFocusEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("cut",$bind(this,this.handleCutOrCopyEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("copy",$bind(this,this.handleCutOrCopyEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("paste",$bind(this,this.handlePasteEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("compositionstart",$bind(this,this.handleCompositionstartEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.addEventListener("compositionend",$bind(this,this.handleCompositionendEvent),!0)),lime__$internal_backend_html5_HTML5Window.textInput.focus(),lime__$internal_backend_html5_HTML5Window.textInput.select()):null!=lime__$internal_backend_html5_HTML5Window.textInput&&(lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("input",$bind(this,this.handleInputEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("blur",$bind(this,this.handleFocusEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("cut",$bind(this,this.handleCutOrCopyEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("copy",$bind(this,this.handleCutOrCopyEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("paste",$bind(this,this.handlePasteEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("compositionstart",$bind(this,this.handleCompositionstartEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.removeEventListener("compositionend",$bind(this,this.handleCompositionendEvent),!0),lime__$internal_backend_html5_HTML5Window.textInput.blur()),this.textInputEnabled=e},inputing:null,handleCompositionstartEvent:function(e){this.inputing=!0},handleCompositionendEvent:function(e){this.inputing=!1,this.handleInputEvent(e)},setTitle:function(e){return null!=e&&(window.document.title=e),e},updateSize:function(){if(this.parent.__resizable){var e,t;if(null!=this.parent.element?(e=this.parent.element.clientWidth,t=this.parent.element.clientHeight):(e=window.innerWidth,t=window.innerHeight),e!=this.cacheElementWidth||t!=this.cacheElementHeight){this.cacheElementWidth=e,this.cacheElementHeight=t;var i=this.resizeElement||0==this.setWidth&&0==this.setHeight;if(null!=this.parent.element&&(null==this.div||null!=this.div&&i))if(i)this.parent.__width==e&&this.parent.__height==t||(this.parent.__width=e,this.parent.__height=t,null!=this.canvas?this.parent.element!=this.canvas&&(this.canvas.width=Math.round(e*this.scale),this.canvas.height=Math.round(t*this.scale),this.canvas.style.width=e+"px",this.canvas.style.height=t+"px"):(this.div.style.width=e+"px",this.div.style.height=t+"px"),this.parent.onResize.dispatch(e,t));else{var l=0!=this.setWidth?e/this.setWidth:1,n=0!=this.setHeight?t/this.setHeight:1,s=e,a=t,r=0,_=0;l<n?(a=Math.floor(this.setHeight*l),_=Math.floor((t-a)/2)):(s=Math.floor(this.setWidth*n),r=Math.floor((e-s)/2)),null!=this.canvas?this.parent.element!=this.canvas&&(this.canvas.style.width=s+"px",this.canvas.style.height=a+"px",this.canvas.style.marginLeft=r+"px",this.canvas.style.marginTop=_+"px"):(this.div.style.width=s+"px",this.div.style.height=a+"px",this.div.style.marginLeft=r+"px",this.div.style.marginTop=_+"px")}}}},warpMouse:function(e,t){},__class__:lime__$internal_backend_html5_HTML5Window};var lime__$internal_backend_native_NativeCFFI=function(){};$hxClasses["lime._internal.backend.native.NativeCFFI"]=lime__$internal_backend_native_NativeCFFI,lime__$internal_backend_native_NativeCFFI.__name__="lime._internal.backend.native.NativeCFFI";var lime__$internal_format_BMP=function(){};$hxClasses["lime._internal.format.BMP"]=lime__$internal_format_BMP,lime__$internal_format_BMP.__name__="lime._internal.format.BMP",lime__$internal_format_BMP.encode=function(e,t){(e.get_premultiplied()||0!=e.get_format())&&((e=e.clone()).set_premultiplied(!1),e.set_format(0)),null==t&&(t=lime__$internal_format_BMPType.RGB);var i=14,l=40,n=e.width*e.height*4;if(null!=t)switch(t._hx_index){case 0:n=(3*e.width+3*e.width%4)*e.height;break;case 1:l=108;break;case 2:i=0,n+=e.width*e.height}var s=new haxe_io_Bytes(new ArrayBuffer(i+l+n)),a=0;if(i>0&&(s.b[a++]=66,s.b[a++]=77,s.setInt32(a,s.length),a+=4,s.setUInt16(a,0),a+=2,s.setUInt16(a,0),a+=2,s.setInt32(a,i+l),a+=4),s.setInt32(a,l),a+=4,s.setInt32(a,e.width),a+=4,s.setInt32(a,t==lime__$internal_format_BMPType.ICO?2*e.height:e.height),a+=4,s.setUInt16(a,1),a+=2,s.setUInt16(a,t==lime__$internal_format_BMPType.RGB?24:32),a+=2,s.setInt32(a,t==lime__$internal_format_BMPType.BITFIELD?3:0),a+=4,s.setInt32(a,n),a+=4,s.setInt32(a,11824),a+=4,s.setInt32(a,11824),a+=4,s.setInt32(a,0),a+=4,s.setInt32(a,0),a+=4,t==lime__$internal_format_BMPType.BITFIELD){s.setInt32(a,16711680),a+=4,s.setInt32(a,65280),a+=4,s.setInt32(a,255),a+=4,s.setInt32(a,-16777216),a+=4,s.b[a++]=32,s.b[a++]=110,s.b[a++]=105,s.b[a++]=87;for(c=0;c<48;){c++;s.b[a++]=0}}var r,_,o,h,u=e.getPixels(new lime_math_Rectangle(0,0,e.width,e.height),1),d=0;if(null!=t)switch(t._hx_index){case 0:for(var c=0,p=e.height;c<p;){S=c++;d=4*(e.height-1-S)*e.width;for(var f=0,m=e.width;f<m;){f++;r=u.b[d++],_=u.b[d++],o=u.b[d++],h=u.b[d++],s.b[a++]=255&h,s.b[a++]=255&o,s.b[a++]=255&_}for(var x=0,g=3*e.width%4;x<g;){x++;s.b[a++]=0}}break;case 1:for(var c=0,p=e.height;c<p;){S=c++;d=4*(e.height-1-S)*e.width;for(var f=0,m=e.width;f<m;){f++;r=u.b[d++],_=u.b[d++],o=u.b[d++],h=u.b[d++],s.b[a++]=255&h,s.b[a++]=255&o,s.b[a++]=255&_,s.b[a++]=255&r}}break;case 2:for(var F=new haxe_io_Bytes(new ArrayBuffer(e.width*e.height)),y=0,c=0,p=e.height;c<p;){var S=c++;d=4*(e.height-1-S)*e.width;for(var f=0,m=e.width;f<m;){f++;r=u.b[d++],_=u.b[d++],o=u.b[d++],h=u.b[d++],s.b[a++]=255&h,s.b[a++]=255&o,s.b[a++]=255&_,s.b[a++]=255&r,F.b[y++]=0}}s.blit(a,F,0,e.width*e.height)}return s};var lime__$internal_format_BMPType=$hxEnums["lime._internal.format.BMPType"]={__ename__:"lime._internal.format.BMPType",__constructs__:["RGB","BITFIELD","ICO"],RGB:{_hx_index:0,__enum__:"lime._internal.format.BMPType",toString:$estr},BITFIELD:{_hx_index:1,__enum__:"lime._internal.format.BMPType",toString:$estr},ICO:{_hx_index:2,__enum__:"lime._internal.format.BMPType",toString:$estr}},lime__$internal_format_Base64=function(){};$hxClasses["lime._internal.format.Base64"]=lime__$internal_format_Base64,lime__$internal_format_Base64.__name__="lime._internal.format.Base64",lime__$internal_format_Base64.decode=function(e){return haxe_crypto_Base64.decode(e)},lime__$internal_format_Base64.encode=function(e){var t=[],i=lime__$internal_format_Base64.DICTIONARY,l=lime__$internal_format_Base64.EXTENDED_DICTIONARY,n=e.length,s=Math.floor(n/3),a=2*s;t.length=2*Math.ceil(n/3);for(var r,_=0,o=0;o<a;)r=e.b[_]<<16|e.b[_+1]<<8|e.b[_+2],t[o]=l[r>>12&4095],t[o+1]=l[4095&r],_+=3,o+=2;switch(n-3*s){case 1:r=e.b[_]<<16,t[o]=l[r>>12&4095],t[o+1]="==";break;case 2:r=e.b[_]<<16|e.b[_+1]<<8,t[o]=l[r>>12&4095],t[o+1]=i[r>>6&63]+"="}return t.join("")};var lime__$internal_format_Deflate=function(){};$hxClasses["lime._internal.format.Deflate"]=lime__$internal_format_Deflate,lime__$internal_format_Deflate.__name__="lime._internal.format.Deflate",lime__$internal_format_Deflate.compress=function(e){var t=pako.deflateRaw(e.b.bufferValue);return haxe_io_Bytes.ofData(t)},lime__$internal_format_Deflate.decompress=function(e){var t=pako.inflateRaw(e.b.bufferValue);return haxe_io_Bytes.ofData(t)};var lime__$internal_format_GZip=function(){};$hxClasses["lime._internal.format.GZip"]=lime__$internal_format_GZip,lime__$internal_format_GZip.__name__="lime._internal.format.GZip",lime__$internal_format_GZip.compress=function(e){var t=pako.gzip(e.b.bufferValue);return haxe_io_Bytes.ofData(t)},lime__$internal_format_GZip.decompress=function(e){var t=pako.ungzip(e.b.bufferValue);return haxe_io_Bytes.ofData(t)};var lime__$internal_format_JPEG=function(){};$hxClasses["lime._internal.format.JPEG"]=lime__$internal_format_JPEG,lime__$internal_format_JPEG.__name__="lime._internal.format.JPEG",lime__$internal_format_JPEG.decodeBytes=function(e,t){return null==t&&(t=!0),null},lime__$internal_format_JPEG.decodeFile=function(e,t){return null==t&&(t=!0),null},lime__$internal_format_JPEG.encode=function(e,t){if((e.get_premultiplied()||0!=e.get_format())&&((e=e.clone()).set_premultiplied(!1),e.set_format(0)),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e,!1),null!=e.buffer.__srcCanvas){for(var i=e.buffer.__srcCanvas.toDataURL("image/jpeg",t/100),l=window.atob(i.split(";base64,")[1]),n=new haxe_io_Bytes(new ArrayBuffer(l.length)),s=0,a=l.length;s<a;){var r=s++;n.b[r]=255&HxOverrides.cca(l,r)}return n}return null};var lime__$internal_format_LZMA=function(){};$hxClasses["lime._internal.format.LZMA"]=lime__$internal_format_LZMA,lime__$internal_format_LZMA.__name__="lime._internal.format.LZMA",lime__$internal_format_LZMA.compress=function(e){return null},lime__$internal_format_LZMA.decompress=function(e){return null};var lime__$internal_format_PNG=function(){};$hxClasses["lime._internal.format.PNG"]=lime__$internal_format_PNG,lime__$internal_format_PNG.__name__="lime._internal.format.PNG",lime__$internal_format_PNG.decodeBytes=function(e,t){return null==t&&(t=!0),null},lime__$internal_format_PNG.decodeFile=function(e,t){return null==t&&(t=!0),null},lime__$internal_format_PNG.encode=function(e){if((e.get_premultiplied()||0!=e.get_format())&&((e=e.clone()).set_premultiplied(!1),e.set_format(0)),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e,!1),null!=e.buffer.__srcCanvas){for(var t=e.buffer.__srcCanvas.toDataURL("image/png"),i=window.atob(t.split(";base64,")[1]),l=new haxe_io_Bytes(new ArrayBuffer(i.length)),n=0,s=i.length;n<s;){var a=n++;l.b[a]=255&HxOverrides.cca(i,a)}return l}return null};var lime__$internal_format_Zlib=function(){};$hxClasses["lime._internal.format.Zlib"]=lime__$internal_format_Zlib,lime__$internal_format_Zlib.__name__="lime._internal.format.Zlib",lime__$internal_format_Zlib.compress=function(e){var t=pako.deflate(e.b.bufferValue);return haxe_io_Bytes.ofData(t)},lime__$internal_format_Zlib.decompress=function(e){var t=pako.inflate(e.b.bufferValue);return haxe_io_Bytes.ofData(t)};var lime__$internal_graphics_ImageCanvasUtil=function(){};$hxClasses["lime._internal.graphics.ImageCanvasUtil"]=lime__$internal_graphics_ImageCanvasUtil,lime__$internal_graphics_ImageCanvasUtil.__name__="lime._internal.graphics.ImageCanvasUtil",lime__$internal_graphics_ImageCanvasUtil.colorTransform=function(e,t,i){lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.colorTransform(e,t,i)},lime__$internal_graphics_ImageCanvasUtil.convertToCanvas=function(e,t){null==t&&(t=!1);var i=e.buffer;null!=i.__srcImage?(null==i.__srcCanvas&&(lime__$internal_graphics_ImageCanvasUtil.createCanvas(e,i.__srcImage.width,i.__srcImage.height),i.__srcContext.drawImage(i.__srcImage,0,0)),i.__srcImage=null):null==i.__srcCanvas&&null!=i.data?(e.set_transparent(!0),lime__$internal_graphics_ImageCanvasUtil.createCanvas(e,i.width,i.height),lime__$internal_graphics_ImageCanvasUtil.createImageData(e),i.__srcContext.putImageData(i.__srcImageData,0,0)):e.type==lime_graphics_ImageType.DATA&&null!=i.__srcImageData&&e.dirty&&(i.__srcContext.putImageData(i.__srcImageData,0,0),e.dirty=!1),t?(i.data=null,i.__srcImageData=null):null==i.data&&null!=i.__srcImageData&&(i.data=i.__srcImageData.data),e.type=lime_graphics_ImageType.CANVAS},lime__$internal_graphics_ImageCanvasUtil.convertToData=function(e,t){null==t&&(t=!1);var i=e.buffer;if(null!=i.__srcImage&&lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e),null!=i.__srcCanvas&&null==i.data)lime__$internal_graphics_ImageCanvasUtil.createImageData(e),e.type==lime_graphics_ImageType.CANVAS&&(e.dirty=!1);else if(e.type==lime_graphics_ImageType.CANVAS&&null!=i.__srcCanvas&&e.dirty){if(null==i.__srcImageData)lime__$internal_graphics_ImageCanvasUtil.createImageData(e);else{i.__srcImageData=i.__srcContext.getImageData(0,0,i.width,i.height);var l,n=i.__srcImageData.data.buffer;l=null!=n?new Uint8Array(n):null,i.data=l}e.dirty=!1}t&&(e.buffer.__srcCanvas=null,e.buffer.__srcContext=null),e.type=lime_graphics_ImageType.DATA},lime__$internal_graphics_ImageCanvasUtil.copyChannel=function(e,t,i,l,n,s){lime__$internal_graphics_ImageCanvasUtil.convertToData(t),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.copyChannel(e,t,i,l,n,s)},lime__$internal_graphics_ImageCanvasUtil.copyPixels=function(e,t,i,l,n,s,a){if(null==a&&(a=!1),!(null==l||l.x>=e.width||l.y>=e.height||null==i||i.width<1||i.height<1)){if(null!=n&&n.get_transparent()){null==s&&(s=new lime_math_Vector2);var r=t.clone();r.copyChannel(n,new lime_math_Rectangle(i.x+s.x,i.y+s.y,i.width,i.height),new lime_math_Vector2(i.x,i.y),lime_graphics_ImageChannel.ALPHA,lime_graphics_ImageChannel.ALPHA),t=r}lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e,!0),a||e.get_transparent()&&t.get_transparent()&&e.buffer.__srcContext.clearRect(l.x+e.offsetX,l.y+e.offsetY,i.width+e.offsetX,i.height+e.offsetY),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(t),null!=t.buffer.get_src()&&(e.buffer.__srcContext.globalCompositeOperation="source-over",e.buffer.__srcContext.drawImage(t.buffer.get_src(),i.x+t.offsetX|0,i.y+t.offsetY|0,0|i.width,0|i.height,l.x+e.offsetX|0,l.y+e.offsetY|0,0|i.width,0|i.height)),e.dirty=!0,e.version++}},lime__$internal_graphics_ImageCanvasUtil.createCanvas=function(e,t,i){var l=e.buffer;null==l.__srcCanvas&&(l.__srcCanvas=window.document.createElement("canvas"),l.__srcCanvas.width=t,l.__srcCanvas.height=i,e.get_transparent()?l.__srcContext=l.__srcCanvas.getContext("2d"):(e.get_transparent()||l.__srcCanvas.setAttribute("moz-opaque","true"),l.__srcContext=l.__srcCanvas.getContext("2d",{alpha:!1})))},lime__$internal_graphics_ImageCanvasUtil.createImageData=function(e){var t=e.buffer;if(null==t.__srcImageData){null==t.data?t.__srcImageData=t.__srcContext.getImageData(0,0,t.width,t.height):(t.__srcImageData=t.__srcContext.createImageData(t.width,t.height),t.__srcImageData.data.set(t.data));var i,l=t.__srcImageData.data.buffer;i=null!=l?new Uint8Array(l):null,t.data=i}},lime__$internal_graphics_ImageCanvasUtil.fillRect=function(e,t,i,l){lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e);var n,s,a,r;1==l?(n=i>>16&255,s=i>>8&255,a=255&i,r=e.get_transparent()?i>>24&255:255):(n=i>>24&255,s=i>>16&255,a=i>>8&255,r=e.get_transparent()?255&i:255),0==t.x&&0==t.y&&t.width==e.width&&t.height==e.height&&e.get_transparent()&&0==r?e.buffer.__srcCanvas.width=e.buffer.width:(r<255&&e.buffer.__srcContext.clearRect(t.x+e.offsetX,t.y+e.offsetY,t.width+e.offsetX,t.height+e.offsetY),r>0&&(e.buffer.__srcContext.fillStyle="rgba("+n+", "+s+", "+a+", "+r/255+")",e.buffer.__srcContext.fillRect(t.x+e.offsetX,t.y+e.offsetY,t.width+e.offsetX,t.height+e.offsetY)),e.dirty=!0,e.version++)},lime__$internal_graphics_ImageCanvasUtil.floodFill=function(e,t,i,l,n){lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.floodFill(e,t,i,l,n)},lime__$internal_graphics_ImageCanvasUtil.getPixel=function(e,t,i,l){return lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.getPixel(e,t,i,l)},lime__$internal_graphics_ImageCanvasUtil.getPixel32=function(e,t,i,l){return lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.getPixel32(e,t,i,l)},lime__$internal_graphics_ImageCanvasUtil.getPixels=function(e,t,i){return lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.getPixels(e,t,i)},lime__$internal_graphics_ImageCanvasUtil.merge=function(e,t,i,l,n,s,a,r){lime__$internal_graphics_ImageCanvasUtil.convertToData(t),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.merge(e,t,i,l,n,s,a,r)},lime__$internal_graphics_ImageCanvasUtil.resize=function(e,t,i){var l=e.buffer;if(null==l.__srcCanvas)lime__$internal_graphics_ImageCanvasUtil.createCanvas(e,t,i),l.__srcContext.drawImage(l.get_src(),0,0,t,i);else{lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e,!0);var n=l.__srcCanvas;l.__srcCanvas=null,lime__$internal_graphics_ImageCanvasUtil.createCanvas(e,t,i),l.__srcContext.drawImage(n,0,0,t,i)}l.__srcImageData=null,l.data=null,e.dirty=!0,e.version++},lime__$internal_graphics_ImageCanvasUtil.scroll=function(e,t,i){if(t%e.width!=0||i%e.height!=0){var l=e.clone();lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e,!0),e.buffer.__srcContext.clearRect(t,i,e.width,e.height),e.buffer.__srcContext.drawImage(l.get_src(),t,i),e.dirty=!0,e.version++}},lime__$internal_graphics_ImageCanvasUtil.setPixel=function(e,t,i,l,n){lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.setPixel(e,t,i,l,n)},lime__$internal_graphics_ImageCanvasUtil.setPixel32=function(e,t,i,l,n){lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.setPixel32(e,t,i,l,n)},lime__$internal_graphics_ImageCanvasUtil.setPixels=function(e,t,i,l,n){lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.setPixels(e,t,i,l,n)},lime__$internal_graphics_ImageCanvasUtil.sync=function(e,t){null!=e&&(e.type!=lime_graphics_ImageType.CANVAS||null==e.buffer.__srcCanvas&&null==e.buffer.data?e.type==lime_graphics_ImageType.DATA&&lime__$internal_graphics_ImageCanvasUtil.convertToData(e,t):lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e,t))};var lime__$internal_graphics_ImageDataUtil=function(){};$hxClasses["lime._internal.graphics.ImageDataUtil"]=lime__$internal_graphics_ImageDataUtil,lime__$internal_graphics_ImageDataUtil.__name__="lime._internal.graphics.ImageDataUtil",lime__$internal_graphics_ImageDataUtil.displaceMap=function(e,t,i,l,n,s,a){for(var r,_,o,h,u,d,c,p,f,m,x,g=e.buffer.data,F=t.buffer.data,y=i.buffer.data,S=e.buffer.format,b=t.buffer.format,U=i.buffer.format,v=e.get_premultiplied(),T=t.get_premultiplied(),N=i.get_premultiplied(),D=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(t),Q=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(i),B=0,R=0,w=0,E=0,k=0,W=0,Z=0,M=D.height;Z<M;){var P=Z++;r=D.byteOffset+D.stride*P;for(var V=0,A=D.width;V<A;){var G=V++;if(_=r+4*G,d=0|l.x,c=0|l.y,a){var C=D.byteOffset+D.stride*(P-c+1)+4*(G-d),I=U,L=N;switch(null==L&&(L=!1),null==I&&(I=0),I){case 0:w=(255&y[C])<<24|(255&y[C+1])<<16|(255&y[C+2])<<8|255&y[C+3];break;case 1:w=(255&y[C+1])<<24|(255&y[C+2])<<16|(255&y[C+3])<<8|255&y[C];break;case 2:w=(255&y[C+2])<<24|(255&y[C+1])<<16|(255&y[C])<<8|255&y[C+3]}L&&0!=(255&w)&&255!=(255&w)&&(lime_math_RGBA.unmult=255/(255&w),w=(255&lime_math_RGBA.__clamp[Math.round((w>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((w>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((w>>>8&255)*lime_math_RGBA.unmult)])<<8|255&w);var J=D.byteOffset+D.stride*(P-c)+4*(G-d+1),O=U,$=N;switch(null==$&&($=!1),null==O&&(O=0),O){case 0:E=(255&y[J])<<24|(255&y[J+1])<<16|(255&y[J+2])<<8|255&y[J+3];break;case 1:E=(255&y[J+1])<<24|(255&y[J+2])<<16|(255&y[J+3])<<8|255&y[J];break;case 2:E=(255&y[J+2])<<24|(255&y[J+1])<<16|(255&y[J])<<8|255&y[J+3]}$&&0!=(255&E)&&255!=(255&E)&&(lime_math_RGBA.unmult=255/(255&E),E=(255&lime_math_RGBA.__clamp[Math.round((E>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((E>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((E>>>8&255)*lime_math_RGBA.unmult)])<<8|255&E);var H=D.byteOffset+D.stride*(P-c+1)+4*(G-d+1),z=U,Y=N;switch(null==Y&&(Y=!1),null==z&&(z=0),z){case 0:k=(255&y[H])<<24|(255&y[H+1])<<16|(255&y[H+2])<<8|255&y[H+3];break;case 1:k=(255&y[H+1])<<24|(255&y[H+2])<<16|(255&y[H+3])<<8|255&y[H];break;case 2:k=(255&y[H+2])<<24|(255&y[H+1])<<16|(255&y[H])<<8|255&y[H+3]}Y&&0!=(255&k)&&255!=(255&k)&&(lime_math_RGBA.unmult=255/(255&k),k=(255&lime_math_RGBA.__clamp[Math.round((k>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((k>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((k>>>8&255)*lime_math_RGBA.unmult)])<<8|255&k);var X=D.byteOffset+D.stride*(P-c)+4*(G-d),j=U,K=N;switch(null==K&&(K=!1),null==j&&(j=0),j){case 0:W=(255&y[X])<<24|(255&y[X+1])<<16|(255&y[X+2])<<8|255&y[X+3];break;case 1:W=(255&y[X+1])<<24|(255&y[X+2])<<16|(255&y[X+3])<<8|255&y[X];break;case 2:W=(255&y[X+2])<<24|(255&y[X+1])<<16|(255&y[X])<<8|255&y[X+3]}K&&0!=(255&W)&&255!=(255&W)&&(lime_math_RGBA.unmult=255/(255&W),W=(255&lime_math_RGBA.__clamp[Math.round((W>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((W>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((W>>>8&255)*lime_math_RGBA.unmult)])<<8|255&W),R=lime__$internal_graphics_ImageDataUtil.bilinear(w,E,k,W,l.x-d,l.y-c)}else{var q=Q.byteOffset+Q.stride*(P-c)+4*(G-d),ee=U,te=N;switch(null==te&&(te=!1),null==ee&&(ee=0),ee){case 0:R=(255&y[q])<<24|(255&y[q+1])<<16|(255&y[q+2])<<8|255&y[q+3];break;case 1:R=(255&y[q+1])<<24|(255&y[q+2])<<16|(255&y[q+3])<<8|255&y[q];break;case 2:R=(255&y[q+2])<<24|(255&y[q+1])<<16|(255&y[q])<<8|255&y[q+3]}te&&0!=(255&R)&&255!=(255&R)&&(lime_math_RGBA.unmult=255/(255&R),R=(255&lime_math_RGBA.__clamp[Math.round((R>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((R>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((R>>>8&255)*lime_math_RGBA.unmult)])<<8|255&R)}if(u=(255&R)/255,o=((R>>>24&255)-128)/255*u,h=((R>>>16&255)-128)/255*u,m=o*n.x+h*s.x,x=o*n.y+h*s.y,p=Math.floor(m*D.width),f=Math.floor(x*D.height),a){var ie=D.byteOffset+D.stride*(P+f+1)+4*(G+p),le=b,ne=T;switch(null==ne&&(ne=!1),null==le&&(le=0),le){case 0:w=(255&F[ie])<<24|(255&F[ie+1])<<16|(255&F[ie+2])<<8|255&F[ie+3];break;case 1:w=(255&F[ie+1])<<24|(255&F[ie+2])<<16|(255&F[ie+3])<<8|255&F[ie];break;case 2:w=(255&F[ie+2])<<24|(255&F[ie+1])<<16|(255&F[ie])<<8|255&F[ie+3]}ne&&0!=(255&w)&&255!=(255&w)&&(lime_math_RGBA.unmult=255/(255&w),w=(255&lime_math_RGBA.__clamp[Math.round((w>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((w>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((w>>>8&255)*lime_math_RGBA.unmult)])<<8|255&w);var se=D.byteOffset+D.stride*(P+f)+4*(G+p+1),ae=b,re=T;switch(null==re&&(re=!1),null==ae&&(ae=0),ae){case 0:E=(255&F[se])<<24|(255&F[se+1])<<16|(255&F[se+2])<<8|255&F[se+3];break;case 1:E=(255&F[se+1])<<24|(255&F[se+2])<<16|(255&F[se+3])<<8|255&F[se];break;case 2:E=(255&F[se+2])<<24|(255&F[se+1])<<16|(255&F[se])<<8|255&F[se+3]}re&&0!=(255&E)&&255!=(255&E)&&(lime_math_RGBA.unmult=255/(255&E),E=(255&lime_math_RGBA.__clamp[Math.round((E>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((E>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((E>>>8&255)*lime_math_RGBA.unmult)])<<8|255&E);var _e=D.byteOffset+D.stride*(P+f+1)+4*(G+p+1),oe=b,he=T;switch(null==he&&(he=!1),null==oe&&(oe=0),oe){case 0:k=(255&F[_e])<<24|(255&F[_e+1])<<16|(255&F[_e+2])<<8|255&F[_e+3];break;case 1:k=(255&F[_e+1])<<24|(255&F[_e+2])<<16|(255&F[_e+3])<<8|255&F[_e];break;case 2:k=(255&F[_e+2])<<24|(255&F[_e+1])<<16|(255&F[_e])<<8|255&F[_e+3]}he&&0!=(255&k)&&255!=(255&k)&&(lime_math_RGBA.unmult=255/(255&k),k=(255&lime_math_RGBA.__clamp[Math.round((k>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((k>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((k>>>8&255)*lime_math_RGBA.unmult)])<<8|255&k);var ue=D.byteOffset+D.stride*(P+f)+4*(G+p),de=b,ce=T;switch(null==ce&&(ce=!1),null==de&&(de=0),de){case 0:W=(255&F[ue])<<24|(255&F[ue+1])<<16|(255&F[ue+2])<<8|255&F[ue+3];break;case 1:W=(255&F[ue+1])<<24|(255&F[ue+2])<<16|(255&F[ue+3])<<8|255&F[ue];break;case 2:W=(255&F[ue+2])<<24|(255&F[ue+1])<<16|(255&F[ue])<<8|255&F[ue+3]}ce&&0!=(255&W)&&255!=(255&W)&&(lime_math_RGBA.unmult=255/(255&W),W=(255&lime_math_RGBA.__clamp[Math.round((W>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((W>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((W>>>8&255)*lime_math_RGBA.unmult)])<<8|255&W),B=lime__$internal_graphics_ImageDataUtil.bilinear(w,E,k,W,m*D.width-p,x*D.height-f)}else{var pe=D.byteOffset+D.stride*(P+f)+4*(G+p),fe=b,me=T;switch(null==me&&(me=!1),null==fe&&(fe=0),fe){case 0:B=(255&F[pe])<<24|(255&F[pe+1])<<16|(255&F[pe+2])<<8|255&F[pe+3];break;case 1:B=(255&F[pe+1])<<24|(255&F[pe+2])<<16|(255&F[pe+3])<<8|255&F[pe];break;case 2:B=(255&F[pe+2])<<24|(255&F[pe+1])<<16|(255&F[pe])<<8|255&F[pe+3]}me&&0!=(255&B)&&255!=(255&B)&&(lime_math_RGBA.unmult=255/(255&B),B=(255&lime_math_RGBA.__clamp[Math.round((B>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((B>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((B>>>8&255)*lime_math_RGBA.unmult)])<<8|255&B)}var xe=S,ge=v;switch(null==ge&&(ge=!1),null==xe&&(xe=0),ge&&(0==(255&B)?0!=B&&(B=0):255!=(255&B)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&B],B=((B>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((B>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((B>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&B)),xe){case 0:g[_]=B>>>24&255,g[_+1]=B>>>16&255,g[_+2]=B>>>8&255,g[_+3]=255&B;break;case 1:g[_]=255&B,g[_+1]=B>>>24&255,g[_+2]=B>>>16&255,g[_+3]=B>>>8&255;break;case 2:g[_]=B>>>8&255,g[_+1]=B>>>16&255,g[_+2]=B>>>24&255,g[_+3]=255&B}}}e.dirty=!0,e.version++},lime__$internal_graphics_ImageDataUtil.bilinear=function(e,t,i,l,n,s){return lime__$internal_graphics_ImageDataUtil.lerpRGBA(lime__$internal_graphics_ImageDataUtil.lerpRGBA(l,t,n),lime__$internal_graphics_ImageDataUtil.lerpRGBA(e,i,n),s)},lime__$internal_graphics_ImageDataUtil.lerpRGBA=function(e,t,i){var l=0,n=Math.floor(lime__$internal_graphics_ImageDataUtil.lerp(e>>>24&255,t>>>24&255,i));return l=(255&(l=(255&(l=(255&(l=(255&n)<<24|(255&l>>>16)<<16|(255&l>>>8)<<8|255&l)>>>24)<<24|(255&(n=Math.floor(lime__$internal_graphics_ImageDataUtil.lerp(e>>>16&255,t>>>16&255,i))))<<16|(255&l>>>8)<<8|255&l)>>>24)<<24|(255&l>>>16)<<16|(255&(n=Math.floor(lime__$internal_graphics_ImageDataUtil.lerp(e>>>8&255,t>>>8&255,i))))<<8|255&l)>>>24)<<24|(255&l>>>16)<<16|(255&l>>>8)<<8|255&(n=Math.floor(lime__$internal_graphics_ImageDataUtil.lerp(255&e,255&t,i)))},lime__$internal_graphics_ImageDataUtil.lerp4f=function(e,t,i){return new lime_math_Vector4(lime__$internal_graphics_ImageDataUtil.lerp(e.x,t.x,i),lime__$internal_graphics_ImageDataUtil.lerp(e.y,t.y,i),lime__$internal_graphics_ImageDataUtil.lerp(e.z,t.z,i),lime__$internal_graphics_ImageDataUtil.lerp(e.w,t.w,i))},lime__$internal_graphics_ImageDataUtil.lerp=function(e,t,i){return(1-i)*e+i*t},lime__$internal_graphics_ImageDataUtil.colorTransform=function(e,t,i){var l=e.buffer.data;if(null!=l){for(var n,s,a=e.buffer.format,r=e.buffer.premultiplied,_=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,t),o=lime_math_ColorMatrix.getAlphaTable(i),h=lime_math_ColorMatrix.getRedTable(i),u=lime_math_ColorMatrix.getGreenTable(i),d=lime_math_ColorMatrix.getBlueTable(i),c=0,p=0,f=_.height;p<f;){var m=p++;n=_.byteOffset+_.stride*m;for(var x=0,g=_.width;x<g;){s=n+4*x++;var F=a,y=r;switch(null==y&&(y=!1),null==F&&(F=0),F){case 0:c=(255&l[s])<<24|(255&l[s+1])<<16|(255&l[s+2])<<8|255&l[s+3];break;case 1:c=(255&l[s+1])<<24|(255&l[s+2])<<16|(255&l[s+3])<<8|255&l[s];break;case 2:c=(255&l[s+2])<<24|(255&l[s+1])<<16|(255&l[s])<<8|255&l[s+3]}y&&0!=(255&c)&&255!=(255&c)&&(lime_math_RGBA.unmult=255/(255&c),c=(255&lime_math_RGBA.__clamp[Math.round((c>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((c>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((c>>>8&255)*lime_math_RGBA.unmult)])<<8|255&c),c=(255&h[c>>>24&255])<<24|(255&u[c>>>16&255])<<16|(255&d[c>>>8&255])<<8|255&o[255&c];var S=a,b=r;switch(null==b&&(b=!1),null==S&&(S=0),b&&(0==(255&c)?0!=c&&(c=0):255!=(255&c)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&c],c=((c>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((c>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((c>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&c)),S){case 0:l[s]=c>>>24&255,l[s+1]=c>>>16&255,l[s+2]=c>>>8&255,l[s+3]=255&c;break;case 1:l[s]=255&c,l[s+1]=c>>>24&255,l[s+2]=c>>>16&255,l[s+3]=c>>>8&255;break;case 2:l[s]=c>>>8&255,l[s+1]=c>>>16&255,l[s+2]=c>>>24&255,l[s+3]=255&c}}}e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.copyChannel=function(e,t,i,l,n,s){var a;switch(s._hx_index){case 0:a=0;break;case 1:a=1;break;case 2:a=2;break;case 3:a=3}var r;switch(n._hx_index){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3}var _=t.buffer.data,o=e.buffer.data;if(null!=_&&null!=o){for(var h,u,d=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(t,i),c=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,new lime_math_Rectangle(l.x,l.y,d.width,d.height)),p=t.buffer.format,f=e.buffer.format,m=t.buffer.premultiplied,x=e.buffer.premultiplied,g=0,F=0,y=0,S=0,b=c.height;S<b;){var U=S++;h=d.byteOffset+d.stride*U,u=c.byteOffset+c.stride*U;for(var v=0,T=c.width;v<T;){v++;var N=p,D=m;switch(null==D&&(D=!1),null==N&&(N=0),N){case 0:g=(255&_[h])<<24|(255&_[h+1])<<16|(255&_[h+2])<<8|255&_[h+3];break;case 1:g=(255&_[h+1])<<24|(255&_[h+2])<<16|(255&_[h+3])<<8|255&_[h];break;case 2:g=(255&_[h+2])<<24|(255&_[h+1])<<16|(255&_[h])<<8|255&_[h+3]}D&&0!=(255&g)&&255!=(255&g)&&(lime_math_RGBA.unmult=255/(255&g),g=(255&lime_math_RGBA.__clamp[Math.round((g>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((g>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((g>>>8&255)*lime_math_RGBA.unmult)])<<8|255&g);var Q=f,B=x;switch(null==B&&(B=!1),null==Q&&(Q=0),Q){case 0:F=(255&o[u])<<24|(255&o[u+1])<<16|(255&o[u+2])<<8|255&o[u+3];break;case 1:F=(255&o[u+1])<<24|(255&o[u+2])<<16|(255&o[u+3])<<8|255&o[u];break;case 2:F=(255&o[u+2])<<24|(255&o[u+1])<<16|(255&o[u])<<8|255&o[u+3]}switch(B&&0!=(255&F)&&255!=(255&F)&&(lime_math_RGBA.unmult=255/(255&F),F=(255&lime_math_RGBA.__clamp[Math.round((F>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((F>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((F>>>8&255)*lime_math_RGBA.unmult)])<<8|255&F),r){case 0:y=g>>>24&255;break;case 1:y=g>>>16&255;break;case 2:y=g>>>8&255;break;case 3:y=255&g}switch(a){case 0:F=(255&y)<<24|(255&F>>>16)<<16|(255&F>>>8)<<8|255&F;break;case 1:F=(255&F>>>24)<<24|(255&y)<<16|(255&F>>>8)<<8|255&F;break;case 2:F=(255&F>>>24)<<24|(255&F>>>16)<<16|(255&y)<<8|255&F;break;case 3:F=(255&F>>>24)<<24|(255&F>>>16)<<16|(255&F>>>8)<<8|255&y}var R=f,w=x;switch(null==w&&(w=!1),null==R&&(R=0),w&&(0==(255&F)?0!=F&&(F=0):255!=(255&F)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&F],F=((F>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((F>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((F>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&F)),R){case 0:o[u]=F>>>24&255,o[u+1]=F>>>16&255,o[u+2]=F>>>8&255,o[u+3]=255&F;break;case 1:o[u]=255&F,o[u+1]=F>>>24&255,o[u+2]=F>>>16&255,o[u+3]=F>>>8&255;break;case 2:o[u]=F>>>8&255,o[u+1]=F>>>16&255,o[u+2]=F>>>24&255,o[u+3]=255&F}h+=4,u+=4}}e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.copyPixels=function(e,t,i,l,n,s,a){if(null==a&&(a=!1),e.width==t.width&&e.height==t.height&&i.width==t.width&&i.height==t.height&&0==i.x&&0==i.y&&0==l.x&&0==l.y&&null==n&&null==s&&0==a&&e.get_format()==t.get_format())e.buffer.data.set(t.buffer.data);else{var r=t.buffer.data,_=e.buffer.data;if(null==r||null==_)return;var o,h,u,d,c,p,f=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(t,i),m=new lime_math_Rectangle(l.x,l.y,f.width,f.height),x=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,m),g=t.buffer.format,F=e.buffer.format,y=0,S=0,b=t.buffer.premultiplied,U=e.buffer.premultiplied,v=t.buffer.bitsPerPixel/8|0,T=e.buffer.bitsPerPixel/8|0,N=null!=n&&n.get_transparent(),D=a||N&&!e.get_transparent()||!a&&!e.get_transparent()&&t.get_transparent();if(N){var Q,B=n.buffer.data,R=n.buffer.format,w=0,E=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(n,new lime_math_Rectangle(f.x+(null==s?0:s.x),f.y+(null==s?0:s.y),f.width,f.height));if(x.clip(0|l.x,0|l.y,E.width,E.height),D)for(var k=0,W=x.height;k<W;){Y=k++;o=f.byteOffset+f.stride*Y,h=x.byteOffset+x.stride*Y,Q=E.byteOffset+E.stride*Y;for(var Z=0,M=x.width;Z<M;){Z++;I=g;switch(null==(L=b)&&(L=!1),null==I&&(I=0),I){case 0:y=(255&r[o])<<24|(255&r[o+1])<<16|(255&r[o+2])<<8|255&r[o+3];break;case 1:y=(255&r[o+1])<<24|(255&r[o+2])<<16|(255&r[o+3])<<8|255&r[o];break;case 2:y=(255&r[o+2])<<24|(255&r[o+1])<<16|(255&r[o])<<8|255&r[o+3]}L&&0!=(255&y)&&255!=(255&y)&&(lime_math_RGBA.unmult=255/(255&y),y=(255&lime_math_RGBA.__clamp[Math.round((y>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((y>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((y>>>8&255)*lime_math_RGBA.unmult)])<<8|255&y);J=F;switch(null==(O=U)&&(O=!1),null==J&&(J=0),J){case 0:S=(255&_[h])<<24|(255&_[h+1])<<16|(255&_[h+2])<<8|255&_[h+3];break;case 1:S=(255&_[h+1])<<24|(255&_[h+2])<<16|(255&_[h+3])<<8|255&_[h];break;case 2:S=(255&_[h+2])<<24|(255&_[h+1])<<16|(255&_[h])<<8|255&_[h+3]}O&&0!=(255&S)&&255!=(255&S)&&(lime_math_RGBA.unmult=255/(255&S),S=(255&lime_math_RGBA.__clamp[Math.round((S>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((S>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((S>>>8&255)*lime_math_RGBA.unmult)])<<8|255&S);H=R;switch(null==(z=!1)&&(z=!1),null==H&&(H=0),H){case 0:w=(255&B[Q])<<24|(255&B[Q+1])<<16|(255&B[Q+2])<<8|255&B[Q+3];break;case 1:w=(255&B[Q+1])<<24|(255&B[Q+2])<<16|(255&B[Q+3])<<8|255&B[Q];break;case 2:w=(255&B[Q+2])<<24|(255&B[Q+1])<<16|(255&B[Q])<<8|255&B[Q+3]}if(z&&0!=(255&w)&&255!=(255&w)&&(lime_math_RGBA.unmult=255/(255&w),w=(255&lime_math_RGBA.__clamp[Math.round((w>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((w>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((w>>>8&255)*lime_math_RGBA.unmult)])<<8|255&w),(u=(255&w)/255*((255&y)/255))>0){p=u+(d=(255&S)/255)*(c=1-u),S=(255&($=lime_math_RGBA.__clamp[Math.round(((y>>>24&255)*u+(S>>>24&255)*d*c)/p)]))<<24|(255&S>>>16)<<16|(255&S>>>8)<<8|255&S;var P=lime_math_RGBA.__clamp[Math.round(((y>>>16&255)*u+(S>>>16&255)*d*c)/p)];S=(255&S>>>24)<<24|(255&P)<<16|(255&S>>>8)<<8|255&S;var V=lime_math_RGBA.__clamp[Math.round(((y>>>8&255)*u+(S>>>8&255)*d*c)/p)];S=(255&S>>>24)<<24|(255&S>>>16)<<16|(255&V)<<8|255&S;var A=lime_math_RGBA.__clamp[Math.round(255*p)];S=(255&S>>>24)<<24|(255&S>>>16)<<16|(255&S>>>8)<<8|255&A;var G=F,C=U;switch(null==C&&(C=!1),null==G&&(G=0),C&&(0==(255&S)?0!=S&&(S=0):255!=(255&S)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&S],S=((S>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((S>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((S>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&S)),G){case 0:_[h]=S>>>24&255,_[h+1]=S>>>16&255,_[h+2]=S>>>8&255,_[h+3]=255&S;break;case 1:_[h]=255&S,_[h+1]=S>>>24&255,_[h+2]=S>>>16&255,_[h+3]=S>>>8&255;break;case 2:_[h]=S>>>8&255,_[h+1]=S>>>16&255,_[h+2]=S>>>24&255,_[h+3]=255&S}}o+=4,h+=4,Q+=4}}else for(var k=0,W=x.height;k<W;){Y=k++;o=f.byteOffset+f.stride*Y,h=x.byteOffset+x.stride*Y,Q=E.byteOffset+E.stride*Y;for(var Z=0,M=x.width;Z<M;){Z++;var I=g,L=b;switch(null==L&&(L=!1),null==I&&(I=0),I){case 0:y=(255&r[o])<<24|(255&r[o+1])<<16|(255&r[o+2])<<8|255&r[o+3];break;case 1:y=(255&r[o+1])<<24|(255&r[o+2])<<16|(255&r[o+3])<<8|255&r[o];break;case 2:y=(255&r[o+2])<<24|(255&r[o+1])<<16|(255&r[o])<<8|255&r[o+3]}L&&0!=(255&y)&&255!=(255&y)&&(lime_math_RGBA.unmult=255/(255&y),y=(255&lime_math_RGBA.__clamp[Math.round((y>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((y>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((y>>>8&255)*lime_math_RGBA.unmult)])<<8|255&y);var J=R,O=!1;switch(null==O&&(O=!1),null==J&&(J=0),J){case 0:w=(255&B[Q])<<24|(255&B[Q+1])<<16|(255&B[Q+2])<<8|255&B[Q+3];break;case 1:w=(255&B[Q+1])<<24|(255&B[Q+2])<<16|(255&B[Q+3])<<8|255&B[Q];break;case 2:w=(255&B[Q+2])<<24|(255&B[Q+1])<<16|(255&B[Q])<<8|255&B[Q+3]}O&&0!=(255&w)&&255!=(255&w)&&(lime_math_RGBA.unmult=255/(255&w),w=(255&lime_math_RGBA.__clamp[Math.round((w>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((w>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((w>>>8&255)*lime_math_RGBA.unmult)])<<8|255&w);var $=Math.round((255&w)/255*(255&y));y=(255&y>>>24)<<24|(255&y>>>16)<<16|(255&y>>>8)<<8|255&$;var H=F,z=U;switch(null==z&&(z=!1),null==H&&(H=0),z&&(0==(255&y)?0!=y&&(y=0):255!=(255&y)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&y],y=((y>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((y>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((y>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&y)),H){case 0:_[h]=y>>>24&255,_[h+1]=y>>>16&255,_[h+2]=y>>>8&255,_[h+3]=255&y;break;case 1:_[h]=255&y,_[h+1]=y>>>24&255,_[h+2]=y>>>16&255,_[h+3]=y>>>8&255;break;case 2:_[h]=y>>>8&255,_[h+1]=y>>>16&255,_[h+2]=y>>>24&255,_[h+3]=255&y}o+=4,h+=4,Q+=4}}}else if(D)for(var k=0,W=x.height;k<W;){Y=k++;o=f.byteOffset+f.stride*Y,h=x.byteOffset+x.stride*Y;for(var Z=0,M=x.width;Z<M;){Z++;I=g;switch(null==(L=b)&&(L=!1),null==I&&(I=0),I){case 0:y=(255&r[o])<<24|(255&r[o+1])<<16|(255&r[o+2])<<8|255&r[o+3];break;case 1:y=(255&r[o+1])<<24|(255&r[o+2])<<16|(255&r[o+3])<<8|255&r[o];break;case 2:y=(255&r[o+2])<<24|(255&r[o+1])<<16|(255&r[o])<<8|255&r[o+3]}L&&0!=(255&y)&&255!=(255&y)&&(lime_math_RGBA.unmult=255/(255&y),y=(255&lime_math_RGBA.__clamp[Math.round((y>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((y>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((y>>>8&255)*lime_math_RGBA.unmult)])<<8|255&y);J=F;switch(null==(O=U)&&(O=!1),null==J&&(J=0),J){case 0:S=(255&_[h])<<24|(255&_[h+1])<<16|(255&_[h+2])<<8|255&_[h+3];break;case 1:S=(255&_[h+1])<<24|(255&_[h+2])<<16|(255&_[h+3])<<8|255&_[h];break;case 2:S=(255&_[h+2])<<24|(255&_[h+1])<<16|(255&_[h])<<8|255&_[h+3]}O&&0!=(255&S)&&255!=(255&S)&&(lime_math_RGBA.unmult=255/(255&S),S=(255&lime_math_RGBA.__clamp[Math.round((S>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((S>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((S>>>8&255)*lime_math_RGBA.unmult)])<<8|255&S),S=0==(p=(u=(255&y)/255)+(d=(255&S)/255)*(c=1-u))?0:(255&(S=(255&(S=(255&(S=(255&($=lime_math_RGBA.__clamp[Math.round(((y>>>24&255)*u+(S>>>24&255)*d*c)/p)]))<<24|(255&S>>>16)<<16|(255&S>>>8)<<8|255&S)>>>24)<<24|(255&(P=lime_math_RGBA.__clamp[Math.round(((y>>>16&255)*u+(S>>>16&255)*d*c)/p)]))<<16|(255&S>>>8)<<8|255&S)>>>24)<<24|(255&S>>>16)<<16|(255&(V=lime_math_RGBA.__clamp[Math.round(((y>>>8&255)*u+(S>>>8&255)*d*c)/p)]))<<8|255&S)>>>24)<<24|(255&S>>>16)<<16|(255&S>>>8)<<8|255&(A=lime_math_RGBA.__clamp[Math.round(255*p)]);H=F;switch(null==(z=U)&&(z=!1),null==H&&(H=0),z&&(0==(255&S)?0!=S&&(S=0):255!=(255&S)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&S],S=((S>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((S>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((S>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&S)),H){case 0:_[h]=S>>>24&255,_[h+1]=S>>>16&255,_[h+2]=S>>>8&255,_[h+3]=255&S;break;case 1:_[h]=255&S,_[h+1]=S>>>24&255,_[h+2]=S>>>16&255,_[h+3]=S>>>8&255;break;case 2:_[h]=S>>>8&255,_[h+1]=S>>>16&255,_[h+2]=S>>>24&255,_[h+3]=255&S}o+=4,h+=4}}else if(g==F&&b==U&&v==T)for(var k=0,W=x.height;k<W;){Y=k++;o=f.byteOffset+f.stride*Y,h=x.byteOffset+x.stride*Y,_.set(r.subarray(o,o+x.width*T),h)}else for(var k=0,W=x.height;k<W;){var Y=k++;o=f.byteOffset+f.stride*Y,h=x.byteOffset+x.stride*Y;for(var Z=0,M=x.width;Z<M;){Z++;I=g;switch(null==(L=b)&&(L=!1),null==I&&(I=0),I){case 0:y=(255&r[o])<<24|(255&r[o+1])<<16|(255&r[o+2])<<8|255&r[o+3];break;case 1:y=(255&r[o+1])<<24|(255&r[o+2])<<16|(255&r[o+3])<<8|255&r[o];break;case 2:y=(255&r[o+2])<<24|(255&r[o+1])<<16|(255&r[o])<<8|255&r[o+3]}L&&0!=(255&y)&&255!=(255&y)&&(lime_math_RGBA.unmult=255/(255&y),y=(255&lime_math_RGBA.__clamp[Math.round((y>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((y>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((y>>>8&255)*lime_math_RGBA.unmult)])<<8|255&y);J=F;switch(null==(O=U)&&(O=!1),null==J&&(J=0),O&&(0==(255&y)?0!=y&&(y=0):255!=(255&y)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&y],y=((y>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((y>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((y>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&y)),J){case 0:_[h]=y>>>24&255,_[h+1]=y>>>16&255,_[h+2]=y>>>8&255,_[h+3]=255&y;break;case 1:_[h]=255&y,_[h+1]=y>>>24&255,_[h+2]=y>>>16&255,_[h+3]=y>>>8&255;break;case 2:_[h]=y>>>8&255,_[h+1]=y>>>16&255,_[h+2]=y>>>24&255,_[h+3]=255&y}o+=4,h+=4}}}e.dirty=!0,e.version++},lime__$internal_graphics_ImageDataUtil.fillRect=function(e,t,i,l){var n;switch(l){case 1:var s=i;n=(255&s>>>16)<<24|(255&s>>>8)<<16|(255&s)<<8|255&s>>>24;break;case 2:var a=i;n=(255&a>>>8)<<24|(255&a>>>16)<<16|(255&a>>>24)<<8|255&a;break;default:n=i}e.get_transparent()||(n=(255&n>>>24)<<24|(255&n>>>16)<<16|(255&n>>>8)<<8|255);var r=e.buffer.data;if(null!=r){var l=e.buffer.format,_=e.buffer.premultiplied;_&&(0==(255&n)?0!=n&&(n=0):255!=(255&n)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&n],n=((n>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((n>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((n>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&n));for(var o,h=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,t),u=0,d=h.height;u<d;){var c=u++;o=h.byteOffset+h.stride*c;for(var p=0,f=h.width;p<f;){var m=o+4*p++,x=l;switch(null==(_=!1)&&(_=!1),null==x&&(x=0),_&&(0==(255&n)?0!=n&&(n=0):255!=(255&n)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&n],n=((n>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((n>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((n>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&n)),x){case 0:r[m]=n>>>24&255,r[m+1]=n>>>16&255,r[m+2]=n>>>8&255,r[m+3]=255&n;break;case 1:r[m]=255&n,r[m+1]=n>>>24&255,r[m+2]=n>>>16&255,r[m+3]=n>>>8&255;break;case 2:r[m]=n>>>8&255,r[m+1]=n>>>16&255,r[m+2]=n>>>24&255,r[m+3]=255&n}}}e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.floodFill=function(e,t,i,l,n){var s=e.buffer.data;if(null!=s){1==n&&(l=(16777215&l)<<8|l>>24&255);var n=e.buffer.format,a=e.buffer.premultiplied,r=l,_=0,o=(i+e.offsetY)*(4*e.buffer.width)+4*(t+e.offsetX),h=n,u=a;switch(null==u&&(u=!1),null==h&&(h=0),h){case 0:_=(255&s[o])<<24|(255&s[o+1])<<16|(255&s[o+2])<<8|255&s[o+3];break;case 1:_=(255&s[o+1])<<24|(255&s[o+2])<<16|(255&s[o+3])<<8|255&s[o];break;case 2:_=(255&s[o+2])<<24|(255&s[o+1])<<16|(255&s[o])<<8|255&s[o+3]}if(u&&0!=(255&_)&&255!=(255&_)&&(lime_math_RGBA.unmult=255/(255&_),_=(255&lime_math_RGBA.__clamp[Math.round((_>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((_>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((_>>>8&255)*lime_math_RGBA.unmult)])<<8|255&_),e.get_transparent()||(r=(255&r>>>24)<<24|(255&r>>>16)<<16|(255&r>>>8)<<8|255,_=(255&_>>>24)<<24|(255&_>>>16)<<16|(255&_>>>8)<<8|255),r!=_){a&&(0==(255&r)?0!=r&&(r=0):255!=(255&r)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&r],r=((r>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((r>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((r>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&r));var d=[0,-1,1,0],c=[-1,0,0,1],p=-e.offsetX,f=-e.offsetY,m=p+e.width,x=f+e.height,g=[];g.push(t),g.push(i);for(var F,y,S,b,U,v=0;g.length>0;){y=g.pop(),F=g.pop();for(var T=0;T<4;){var N=T++;if(S=F+d[N],b=y+c[N],!(S<p||b<f||S>=m||b>=x)){U=4*(b*e.width+S);h=n;switch(null==(u=a)&&(u=!1),null==h&&(h=0),h){case 0:v=(255&s[U])<<24|(255&s[U+1])<<16|(255&s[U+2])<<8|255&s[U+3];break;case 1:v=(255&s[U+1])<<24|(255&s[U+2])<<16|(255&s[U+3])<<8|255&s[U];break;case 2:v=(255&s[U+2])<<24|(255&s[U+1])<<16|(255&s[U])<<8|255&s[U+3]}if(u&&0!=(255&v)&&255!=(255&v)&&(lime_math_RGBA.unmult=255/(255&v),v=(255&lime_math_RGBA.__clamp[Math.round((v>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((v>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((v>>>8&255)*lime_math_RGBA.unmult)])<<8|255&v),v==_){var D=n,Q=!1;switch(null==Q&&(Q=!1),null==D&&(D=0),Q&&(0==(255&r)?0!=r&&(r=0):255!=(255&r)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&r],r=((r>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((r>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((r>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&r)),D){case 0:s[U]=r>>>24&255,s[U+1]=r>>>16&255,s[U+2]=r>>>8&255,s[U+3]=255&r;break;case 1:s[U]=255&r,s[U+1]=r>>>24&255,s[U+2]=r>>>16&255,s[U+3]=r>>>8&255;break;case 2:s[U]=r>>>8&255,s[U+1]=r>>>16&255,s[U+2]=r>>>24&255,s[U+3]=255&r}g.push(S),g.push(b)}}}}e.dirty=!0,e.version++}}},lime__$internal_graphics_ImageDataUtil.gaussianBlur=function(e,t,i,l,n,s,a,r,_){null==r&&(r=1),null==a&&(a=1),null==s&&(s=4),null==n&&(n=4);var o=e.get_premultiplied();return o&&e.set_premultiplied(!1),lime__$internal_graphics_StackBlur.blur(e,t,i,l,n,s,a),e.dirty=!0,e.version++,o&&e.set_premultiplied(!0),e},lime__$internal_graphics_ImageDataUtil.getColorBoundsRect=function(e,t,i,l,n){var s,a,r=e.width+1,_=0,o=e.height+1,h=0;switch(n){case 1:var u=i;s=(255&u>>>16)<<24|(255&u>>>8)<<16|(255&u)<<8|255&u>>>24;a=(255&(u=t)>>>16)<<24|(255&u>>>8)<<16|(255&u)<<8|255&u>>>24;break;case 2:var d=i;s=(255&d>>>8)<<24|(255&d>>>16)<<16|(255&d>>>24)<<8|255&d;a=(255&(d=t)>>>8)<<24|(255&d>>>16)<<16|(255&d>>>24)<<8|255&d;break;default:s=i,a=t}e.get_transparent()||(s=(255&s>>>24)<<24|(255&s>>>16)<<16|(255&s>>>8)<<8|255,a=(255&a>>>24)<<24|(255&a>>>16)<<16|(255&a>>>8)<<8|255);for(var c,p,f=0,m=e.width;f<m;){b=f++;p=!1;for(var x=0,g=e.height;x<g;){S=x++;if(c=e.getPixel32(b,S,0),p=l?(c&a)==s:(c&a)!=s){b<r&&(r=b);break}}if(p)break}for(var F,f=0,m=e.width;f<m;){b=f++;F=e.width-1-b,p=!1;for(var x=0,g=e.height;x<g;){S=x++;if(c=e.getPixel32(F,S,0),p=l?(c&a)==s:(c&a)!=s){F>_&&(_=F);break}}if(p)break}for(var f=0,m=e.height;f<m;){S=f++;p=!1;for(var x=0,g=e.width;x<g;){b=x++;if(c=e.getPixel32(b,S,0),p=l?(c&a)==s:(c&a)!=s){S<o&&(o=S);break}}if(p)break}for(var y,f=0,m=e.height;f<m;){var S=f++;y=e.height-1-S,p=!1;for(var x=0,g=e.width;x<g;){var b=x++;if(c=e.getPixel32(b,y,0),p=l?(c&a)==s:(c&a)!=s){y>h&&(h=y);break}}if(p)break}var U=_-r,v=h-o;return U>0&&++U,v>0&&++v,U<0&&(U=0),v<0&&(v=0),r==_&&(U=1),o==h&&(v=1),r>e.width&&(r=0),o>e.height&&(o=0),new lime_math_Rectangle(r,o,U,v)},lime__$internal_graphics_ImageDataUtil.getPixel=function(e,t,i,l){var n=0,s=e.buffer.data,a=4*(i+e.offsetY)*e.buffer.width+4*(t+e.offsetX),r=e.buffer.format,_=e.buffer.premultiplied;switch(null==_&&(_=!1),null==r&&(r=0),r){case 0:n=(255&s[a])<<24|(255&s[a+1])<<16|(255&s[a+2])<<8|255&s[a+3];break;case 1:n=(255&s[a+1])<<24|(255&s[a+2])<<16|(255&s[a+3])<<8|255&s[a];break;case 2:n=(255&s[a+2])<<24|(255&s[a+1])<<16|(255&s[a])<<8|255&s[a+3]}switch(_&&0!=(255&n)&&255!=(255&n)&&(lime_math_RGBA.unmult=255/(255&n),n=(255&lime_math_RGBA.__clamp[Math.round((n>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((n>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((n>>>8&255)*lime_math_RGBA.unmult)])<<8|255&n),n=(255&n>>>24)<<24|(255&n>>>16)<<16|(255&n>>>8)<<8|0,l){case 1:return(255&n)<<24|(255&n>>>24)<<16|(255&n>>>16)<<8|255&n>>>8;case 2:return(255&n>>>8)<<24|(255&n>>>16)<<16|(255&n>>>24)<<8|255&n;default:return n}},lime__$internal_graphics_ImageDataUtil.getPixel32=function(e,t,i,l){var n=0,s=e.buffer.data,a=4*(i+e.offsetY)*e.buffer.width+4*(t+e.offsetX),r=e.buffer.format,_=e.buffer.premultiplied;switch(null==_&&(_=!1),null==r&&(r=0),r){case 0:n=(255&s[a])<<24|(255&s[a+1])<<16|(255&s[a+2])<<8|255&s[a+3];break;case 1:n=(255&s[a+1])<<24|(255&s[a+2])<<16|(255&s[a+3])<<8|255&s[a];break;case 2:n=(255&s[a+2])<<24|(255&s[a+1])<<16|(255&s[a])<<8|255&s[a+3]}switch(_&&0!=(255&n)&&255!=(255&n)&&(lime_math_RGBA.unmult=255/(255&n),n=(255&lime_math_RGBA.__clamp[Math.round((n>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((n>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((n>>>8&255)*lime_math_RGBA.unmult)])<<8|255&n),l){case 1:return(255&n)<<24|(255&n>>>24)<<16|(255&n>>>16)<<8|255&n>>>8;case 2:return(255&n>>>8)<<24|(255&n>>>16)<<16|(255&n>>>24)<<8|255&n;default:return n}},lime__$internal_graphics_ImageDataUtil.getPixels=function(e,t,i){if(null==e.buffer.data)return null;for(var l,n=t.width*t.height|0,s=new haxe_io_Bytes(new ArrayBuffer(4*n)),a=e.buffer.data,r=e.buffer.format,_=e.buffer.premultiplied,o=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,t),h=0,u=0,d=0,c=o.height;d<c;){var p=d++;l=o.byteOffset+o.stride*p;for(var f=0,m=o.width;f<m;){f++;var x=r,g=_;switch(null==g&&(g=!1),null==x&&(x=0),x){case 0:h=(255&a[l])<<24|(255&a[l+1])<<16|(255&a[l+2])<<8|255&a[l+3];break;case 1:h=(255&a[l+1])<<24|(255&a[l+2])<<16|(255&a[l+3])<<8|255&a[l];break;case 2:h=(255&a[l+2])<<24|(255&a[l+1])<<16|(255&a[l])<<8|255&a[l+3]}switch(g&&0!=(255&h)&&255!=(255&h)&&(lime_math_RGBA.unmult=255/(255&h),h=(255&lime_math_RGBA.__clamp[Math.round((h>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((h>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((h>>>8&255)*lime_math_RGBA.unmult)])<<8|255&h),i){case 1:h=(255&h)<<24|(255&h>>>24)<<16|(255&h>>>16)<<8|255&h>>>8;break;case 2:h=(255&h>>>8)<<24|(255&h>>>16)<<16|(255&h>>>24)<<8|255&h}s.b[u++]=255&h>>>24,s.b[u++]=255&h>>>16,s.b[u++]=255&h>>>8,s.b[u++]=255&h,l+=4}}return s},lime__$internal_graphics_ImageDataUtil.merge=function(e,t,i,l,n,s,a,r){if(null!=e.buffer.data&&null!=t.buffer.data){for(var _,o,h=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(t,i),u=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,new lime_math_Rectangle(l.x,l.y,h.width,h.height)),d=t.buffer.data,c=e.buffer.data,p=t.buffer.format,f=e.buffer.format,m=t.buffer.premultiplied,x=e.buffer.premultiplied,g=0,F=0,y=0,S=u.height;y<S;){var b=y++;_=h.byteOffset+h.stride*b,o=u.byteOffset+u.stride*b;for(var U=0,v=u.width;U<v;){U++;var T=p,N=m;switch(null==N&&(N=!1),null==T&&(T=0),T){case 0:g=(255&d[_])<<24|(255&d[_+1])<<16|(255&d[_+2])<<8|255&d[_+3];break;case 1:g=(255&d[_+1])<<24|(255&d[_+2])<<16|(255&d[_+3])<<8|255&d[_];break;case 2:g=(255&d[_+2])<<24|(255&d[_+1])<<16|(255&d[_])<<8|255&d[_+3]}N&&0!=(255&g)&&255!=(255&g)&&(lime_math_RGBA.unmult=255/(255&g),g=(255&lime_math_RGBA.__clamp[Math.round((g>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((g>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((g>>>8&255)*lime_math_RGBA.unmult)])<<8|255&g);var D=f,Q=x;switch(null==Q&&(Q=!1),null==D&&(D=0),D){case 0:F=(255&c[o])<<24|(255&c[o+1])<<16|(255&c[o+2])<<8|255&c[o+3];break;case 1:F=(255&c[o+1])<<24|(255&c[o+2])<<16|(255&c[o+3])<<8|255&c[o];break;case 2:F=(255&c[o+2])<<24|(255&c[o+1])<<16|(255&c[o])<<8|255&c[o+3]}Q&&0!=(255&F)&&255!=(255&F)&&(lime_math_RGBA.unmult=255/(255&F),F=(255&lime_math_RGBA.__clamp[Math.round((F>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((F>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((F>>>8&255)*lime_math_RGBA.unmult)])<<8|255&F),F=(255&(F=(255&(F=(255&(F=(255&(((g>>>24&255)*n+(F>>>24&255)*(256-n))/256|0))<<24|(255&F>>>16)<<16|(255&F>>>8)<<8|255&F)>>>24)<<24|(255&(((g>>>16&255)*s+(F>>>16&255)*(256-s))/256|0))<<16|(255&F>>>8)<<8|255&F)>>>24)<<24|(255&F>>>16)<<16|(255&(((g>>>8&255)*a+(F>>>8&255)*(256-a))/256|0))<<8|255&F)>>>24)<<24|(255&F>>>16)<<16|(255&F>>>8)<<8|255&(((255&g)*r+(255&F)*(256-r))/256|0);var B=f,R=x;switch(null==R&&(R=!1),null==B&&(B=0),R&&(0==(255&F)?0!=F&&(F=0):255!=(255&F)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&F],F=((F>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((F>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((F>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&F)),B){case 0:c[o]=F>>>24&255,c[o+1]=F>>>16&255,c[o+2]=F>>>8&255,c[o+3]=255&F;break;case 1:c[o]=255&F,c[o+1]=F>>>24&255,c[o+2]=F>>>16&255,c[o+3]=F>>>8&255;break;case 2:c[o]=F>>>8&255,c[o+1]=F>>>16&255,c[o+2]=F>>>24&255,c[o+3]=255&F}_+=4,o+=4}}e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.multiplyAlpha=function(e){var t=e.buffer.data;if(null!=t&&e.buffer.transparent){for(var i=e.buffer.format,l=0,n=0,s=t.length/4|0;n<s;){var a=n++,r=4*a,_=i,o=!1;switch(null==o&&(o=!1),null==_&&(_=0),_){case 0:l=(255&t[r])<<24|(255&t[r+1])<<16|(255&t[r+2])<<8|255&t[r+3];break;case 1:l=(255&t[r+1])<<24|(255&t[r+2])<<16|(255&t[r+3])<<8|255&t[r];break;case 2:l=(255&t[r+2])<<24|(255&t[r+1])<<16|(255&t[r])<<8|255&t[r+3]}o&&0!=(255&l)&&255!=(255&l)&&(lime_math_RGBA.unmult=255/(255&l),l=(255&lime_math_RGBA.__clamp[Math.round((l>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((l>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((l>>>8&255)*lime_math_RGBA.unmult)])<<8|255&l);var h=4*a,u=i,d=!0;switch(null==d&&(d=!1),null==u&&(u=0),d&&(0==(255&l)?0!=l&&(l=0):255!=(255&l)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&l],l=((l>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((l>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((l>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&l)),u){case 0:t[h]=l>>>24&255,t[h+1]=l>>>16&255,t[h+2]=l>>>8&255,t[h+3]=255&l;break;case 1:t[h]=255&l,t[h+1]=l>>>24&255,t[h+2]=l>>>16&255,t[h+3]=l>>>8&255;break;case 2:t[h]=l>>>8&255,t[h+1]=l>>>16&255,t[h+2]=l>>>24&255,t[h+3]=255&l}}e.buffer.premultiplied=!0,e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.resize=function(e,t,i){var l=e.buffer;if(l.width!=t||l.height!=i){var n,s=t*i*4;n=null!=s?new Uint8Array(s):null;for(var a,r,_,o,h,u,d,c,p,f,m,x,g,F=new lime_graphics_ImageBuffer(n,t,i),y=e.width,S=e.height,b=e.get_data(),U=F.data,v=0,T=i;v<T;)for(var N=v++,D=0,Q=t;D<Q;){var B=D++;a=4*((d=0|(p=(N+.5)/i*S-.5))*y+(u=0|(c=(B+.5)/t*y-.5))),r=u<y-1?a+4:a,_=d<S-1?a+4*y:a,o=r!=a?_+4:_,x=1-(f=c-u),g=1-(m=p-d),U[h=4*(N*t+B)]=(UInt.toFloat(b[a])*x+UInt.toFloat(b[r])*f)*g+(UInt.toFloat(b[_])*x+UInt.toFloat(b[o])*f)*m|0,U[h+1]=(UInt.toFloat(b[a+1])*x+UInt.toFloat(b[r+1])*f)*g+(UInt.toFloat(b[_+1])*x+UInt.toFloat(b[o+1])*f)*m|0,U[h+2]=(UInt.toFloat(b[a+2])*x+UInt.toFloat(b[r+2])*f)*g+(UInt.toFloat(b[_+2])*x+UInt.toFloat(b[o+2])*f)*m|0,0==b[r+3]||0==b[_+3]||0==b[o+3]?U[h+3]=0:U[h+3]=b[a+3]}l.data=F.data,l.width=t,l.height=i,l.__srcImage=null,l.__srcImageData=null,l.__srcCanvas=null,l.__srcContext=null,e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.resizeBuffer=function(e,t,i){for(var l,n,s,a=e.buffer,r=e.get_data(),_=t*i*4,o=l=null!=_?new Uint8Array(_):null,h=0,u=a.height;h<u;)for(var d=h++,c=0,p=a.width;c<p;){var f=c++;n=4*(d*a.width+f),o[s=4*(d*t+f)]=r[n],o[s+1]=r[n+1],o[s+2]=r[n+2],o[s+3]=r[n+3]}a.data=o,a.width=t,a.height=i,a.__srcImage=null,a.__srcImageData=null,a.__srcCanvas=null,a.__srcContext=null,e.dirty=!0,e.version++},lime__$internal_graphics_ImageDataUtil.setFormat=function(e,t){var i=e.buffer.data;if(null!=i){var l,n,s,a,r,_,o,h,u,d,c,p,f,m=i.length/4|0;switch(e.get_format()){case 0:n=0,s=1,a=2,r=3;break;case 1:n=1,s=2,a=3,r=0;break;case 2:n=2,s=1,a=0,r=3}switch(t){case 0:_=0,o=1,h=2,u=3;break;case 1:_=1,o=2,h=3,u=0;break;case 2:_=2,o=1,h=0,u=3}for(var x=0,g=m;x<g;)d=i[(l=4*x++)+n],c=i[l+s],p=i[l+a],f=i[l+r],i[l+_]=d,i[l+o]=c,i[l+h]=p,i[l+u]=f;e.buffer.format=t,e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.setPixel=function(e,t,i,l,n){var s;switch(n){case 1:var a=l;_=0;s=(255&a>>>16)<<24|(255&a>>>8)<<16|(255&a)<<8|255&a>>>24;break;case 2:var r=l;_=0;s=(255&r>>>8)<<24|(255&r>>>16)<<16|(255&r>>>24)<<8|255&r;break;default:s=l}var _=0,o=_,h=e.buffer.data,u=4*(i+e.offsetY)*e.buffer.width+4*(t+e.offsetX),n=e.buffer.format,d=e.buffer.premultiplied;switch(null==d&&(d=!1),null==n&&(n=0),n){case 0:o=(255&h[u])<<24|(255&h[u+1])<<16|(255&h[u+2])<<8|255&h[u+3];break;case 1:o=(255&h[u+1])<<24|(255&h[u+2])<<16|(255&h[u+3])<<8|255&h[u];break;case 2:o=(255&h[u+2])<<24|(255&h[u+1])<<16|(255&h[u])<<8|255&h[u+3]}d&&0!=(255&o)&&255!=(255&o)&&(lime_math_RGBA.unmult=255/(255&o),o=(255&lime_math_RGBA.__clamp[Math.round((o>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((o>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((o>>>8&255)*lime_math_RGBA.unmult)])<<8|255&o),s=(255&s>>>24)<<24|(255&s>>>16)<<16|(255&s>>>8)<<8|255&(255&o);var h=e.buffer.data,u=4*(i+e.offsetY)*e.buffer.width+4*(t+e.offsetX),n=e.buffer.format;switch(null==(d=e.buffer.premultiplied)&&(d=!1),null==n&&(n=0),d&&(0==(255&s)?0!=s&&(s=0):255!=(255&s)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&s],s=((s>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((s>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((s>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&s)),n){case 0:h[u]=s>>>24&255,h[u+1]=s>>>16&255,h[u+2]=s>>>8&255,h[u+3]=255&s;break;case 1:h[u]=255&s,h[u+1]=s>>>24&255,h[u+2]=s>>>16&255,h[u+3]=s>>>8&255;break;case 2:h[u]=s>>>8&255,h[u+1]=s>>>16&255,h[u+2]=s>>>24&255,h[u+3]=255&s}e.dirty=!0,e.version++},lime__$internal_graphics_ImageDataUtil.setPixel32=function(e,t,i,l,n){var s;switch(n){case 1:var a=l;s=(255&a>>>16)<<24|(255&a>>>8)<<16|(255&a)<<8|255&a>>>24;break;case 2:var r=l;s=(255&r>>>8)<<24|(255&r>>>16)<<16|(255&r>>>24)<<8|255&r;break;default:s=l}e.get_transparent()||(s=(255&s>>>24)<<24|(255&s>>>16)<<16|(255&s>>>8)<<8|255);var _=e.buffer.data,o=4*(i+e.offsetY)*e.buffer.width+4*(t+e.offsetX),n=e.buffer.format,h=e.buffer.premultiplied;switch(null==h&&(h=!1),null==n&&(n=0),h&&(0==(255&s)?0!=s&&(s=0):255!=(255&s)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&s],s=((s>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((s>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((s>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&s)),n){case 0:_[o]=s>>>24&255,_[o+1]=s>>>16&255,_[o+2]=s>>>8&255,_[o+3]=255&s;break;case 1:_[o]=255&s,_[o+1]=s>>>24&255,_[o+2]=s>>>16&255,_[o+3]=s>>>8&255;break;case 2:_[o]=s>>>8&255,_[o+1]=s>>>16&255,_[o+2]=s>>>24&255,_[o+3]=255&s}e.dirty=!0,e.version++},lime__$internal_graphics_ImageDataUtil.setPixels=function(e,t,i,l,n){if(null!=e.buffer.data){for(var s,a,r,_=e.buffer.data,o=e.buffer.format,h=e.buffer.premultiplied,u=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,t),d=e.get_transparent(),c=i.bytes,p=i.offset,f=n!=lime_system_Endian.BIG_ENDIAN,m=0,x=u.height;m<x;){var g=m++;s=u.byteOffset+u.stride*g;for(var F=0,y=u.width;F<y;){var S=F++;switch(a=f?c.getInt32(p):c.b[p+3]|c.b[p+2]<<8|c.b[p+1]<<16|c.b[p]<<24,p+=4,l){case 1:var b=a;r=(255&b>>>16)<<24|(255&b>>>8)<<16|(255&b)<<8|255&b>>>24;break;case 2:var U=a;r=(255&U>>>8)<<24|(255&U>>>16)<<16|(255&U>>>24)<<8|255&U;break;default:r=a}d||(r=(255&r>>>24)<<24|(255&r>>>16)<<16|(255&r>>>8)<<8|255);var v=s+4*S,T=o,N=h;switch(null==N&&(N=!1),null==T&&(T=0),N&&(0==(255&r)?0!=r&&(r=0):255!=(255&r)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&r],r=((r>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((r>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((r>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&r)),T){case 0:_[v]=r>>>24&255,_[v+1]=r>>>16&255,_[v+2]=r>>>8&255,_[v+3]=255&r;break;case 1:_[v]=255&r,_[v+1]=r>>>24&255,_[v+2]=r>>>16&255,_[v+3]=r>>>8&255;break;case 2:_[v]=r>>>8&255,_[v+1]=r>>>16&255,_[v+2]=r>>>24&255,_[v+3]=255&r}}}e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.threshold=function(e,t,i,l,n,s,a,r,_,o){var h,u,d;switch(o){case 1:var c=a;h=(255&c>>>16)<<24|(255&c>>>8)<<16|(255&c)<<8|255&c>>>24;u=(255&(c=r)>>>16)<<24|(255&c>>>8)<<16|(255&c)<<8|255&c>>>24;d=(255&(c=s)>>>16)<<24|(255&c>>>8)<<16|(255&c)<<8|255&c>>>24;break;case 2:var p=a;h=(255&p>>>8)<<24|(255&p>>>16)<<16|(255&p>>>24)<<8|255&p;u=(255&(p=r)>>>8)<<24|(255&p>>>16)<<16|(255&p>>>24)<<8|255&p;d=(255&(p=s)>>>8)<<24|(255&p>>>16)<<16|(255&p>>>24)<<8|255&p;break;default:h=a,u=r,d=s}var f;switch(n){case"!=":f=0;break;case"<":f=2;break;case"<=":f=3;break;case"==":f=1;break;case">":f=4;break;case">=":f=5;break;default:f=-1}if(-1==f)return 0;var m=t.buffer.data,x=e.buffer.data;if(null==m||null==x)return 0;for(var g,F,y,S,b,U=0,v=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(t,i),T=new lime__$internal_graphics__$ImageDataUtil_ImageDataView(e,new lime_math_Rectangle(l.x,l.y,v.width,v.height)),N=t.buffer.format,D=e.buffer.format,Q=t.buffer.premultiplied,B=e.buffer.premultiplied,R=0,w=0,E=T.height;w<E;){var k=w++;g=v.byteOffset+v.stride*k,F=T.byteOffset+T.stride*k;for(var W=0,Z=T.width;W<Z;){W++;var o=N,M=Q;switch(null==M&&(M=!1),null==o&&(o=0),o){case 0:R=(255&m[g])<<24|(255&m[g+1])<<16|(255&m[g+2])<<8|255&m[g+3];break;case 1:R=(255&m[g+1])<<24|(255&m[g+2])<<16|(255&m[g+3])<<8|255&m[g];break;case 2:R=(255&m[g+2])<<24|(255&m[g+1])<<16|(255&m[g])<<8|255&m[g+3]}M&&0!=(255&R)&&255!=(255&R)&&(lime_math_RGBA.unmult=255/(255&R),R=(255&lime_math_RGBA.__clamp[Math.round((R>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((R>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((R>>>8&255)*lime_math_RGBA.unmult)])<<8|255&R);var P=(y=R&u)>>>24&255,V=d>>>24&255;switch(b=P!=V?UInt.gt(P,V)?1:-1:(P=y>>>16&255)!=(V=d>>>16&255)?UInt.gt(P,V)?1:-1:(P=y>>>8&255)!=(V=d>>>8&255)?UInt.gt(P,V)?1:-1:(P=255&y)!=(V=255&d)?UInt.gt(P,V)?1:-1:0,f){case 0:S=0!=b;break;case 1:S=0==b;break;case 2:S=-1==b;break;case 3:S=0==b||-1==b;break;case 4:S=1==b;break;case 5:S=0==b||1==b;break;default:S=!1}if(S){var A=D,G=B;switch(null==G&&(G=!1),null==A&&(A=0),G&&(0==(255&h)?0!=h&&(h=0):255!=(255&h)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&h],h=((h>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((h>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((h>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&h)),A){case 0:x[F]=h>>>24&255,x[F+1]=h>>>16&255,x[F+2]=h>>>8&255,x[F+3]=255&h;break;case 1:x[F]=255&h,x[F+1]=h>>>24&255,x[F+2]=h>>>16&255,x[F+3]=h>>>8&255;break;case 2:x[F]=h>>>8&255,x[F+1]=h>>>16&255,x[F+2]=h>>>24&255,x[F+3]=255&h}++U}else if(_){var C=D,I=B;switch(null==I&&(I=!1),null==C&&(C=0),I&&(0==(255&R)?0!=R&&(R=0):255!=(255&R)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&R],R=((R>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((R>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((R>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&R)),C){case 0:x[F]=R>>>24&255,x[F+1]=R>>>16&255,x[F+2]=R>>>8&255,x[F+3]=255&R;break;case 1:x[F]=255&R,x[F+1]=R>>>24&255,x[F+2]=R>>>16&255,x[F+3]=R>>>8&255;break;case 2:x[F]=R>>>8&255,x[F+1]=R>>>16&255,x[F+2]=R>>>24&255,x[F+3]=255&R}}g+=4,F+=4}}return U>0&&(e.dirty=!0,e.version++),U},lime__$internal_graphics_ImageDataUtil.unmultiplyAlpha=function(e){var t=e.buffer.data;if(null!=t){for(var i=e.buffer.format,l=0,n=0,s=t.length/4|0;n<s;){var a=n++,r=4*a,_=i,o=!0;switch(null==o&&(o=!1),null==_&&(_=0),_){case 0:l=(255&t[r])<<24|(255&t[r+1])<<16|(255&t[r+2])<<8|255&t[r+3];break;case 1:l=(255&t[r+1])<<24|(255&t[r+2])<<16|(255&t[r+3])<<8|255&t[r];break;case 2:l=(255&t[r+2])<<24|(255&t[r+1])<<16|(255&t[r])<<8|255&t[r+3]}o&&0!=(255&l)&&255!=(255&l)&&(lime_math_RGBA.unmult=255/(255&l),l=(255&lime_math_RGBA.__clamp[Math.round((l>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((l>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((l>>>8&255)*lime_math_RGBA.unmult)])<<8|255&l);var h=4*a,u=i,d=!1;switch(null==d&&(d=!1),null==u&&(u=0),d&&(0==(255&l)?0!=l&&(l=0):255!=(255&l)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&l],l=((l>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((l>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((l>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&l)),u){case 0:t[h]=l>>>24&255,t[h+1]=l>>>16&255,t[h+2]=l>>>8&255,t[h+3]=255&l;break;case 1:t[h]=255&l,t[h+1]=l>>>24&255,t[h+2]=l>>>16&255,t[h+3]=l>>>8&255;break;case 2:t[h]=l>>>8&255,t[h+1]=l>>>16&255,t[h+2]=l>>>24&255,t[h+3]=255&l}}e.buffer.premultiplied=!1,e.dirty=!0,e.version++}},lime__$internal_graphics_ImageDataUtil.__boxBlur=function(e,t,i,l,n,s){t.set(e);var a=0|n,r=0|s;lime__$internal_graphics_ImageDataUtil.__boxBlurH(t,e,i,l,a,0),lime__$internal_graphics_ImageDataUtil.__boxBlurH(t,e,i,l,a,1),lime__$internal_graphics_ImageDataUtil.__boxBlurH(t,e,i,l,a,2),lime__$internal_graphics_ImageDataUtil.__boxBlurH(t,e,i,l,a,3);for(var _=1/(r+r+1),o=4*i,h=0,u=i;h<u;){S=y=4*(N=h++),b=y+r*o,U=e[y],v=e[y+o*(l-1)],T=(r+1)*U;for(var d=0,c=r;d<c;)T+=e[y+(D=d++)*o];for(var p=0,f=r+1;p<f;){p++;T+=e[b]-U,t[y]=Math.round(UInt.toFloat(T)*_),b+=o,y+=o}for(var m=r+1,x=l-r;m<x;){m++;T+=e[b]-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,b+=o,y+=o}for(var g=l-r,F=l;g<F;){g++;T+=v-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,y+=o}}for(var _=1/(r+r+1),o=4*i,h=0,u=i;h<u;){S=y=4*(N=h++)+1,b=y+r*o,U=e[y],v=e[y+o*(l-1)],T=(r+1)*U;for(var d=0,c=r;d<c;)T+=e[y+(D=d++)*o];for(var p=0,f=r+1;p<f;){p++;T+=e[b]-U,t[y]=Math.round(UInt.toFloat(T)*_),b+=o,y+=o}for(var m=r+1,x=l-r;m<x;){m++;T+=e[b]-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,b+=o,y+=o}for(var g=l-r,F=l;g<F;){g++;T+=v-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,y+=o}}for(var _=1/(r+r+1),o=4*i,h=0,u=i;h<u;){S=y=4*(N=h++)+2,b=y+r*o,U=e[y],v=e[y+o*(l-1)],T=(r+1)*U;for(var d=0,c=r;d<c;)T+=e[y+(D=d++)*o];for(var p=0,f=r+1;p<f;){p++;T+=e[b]-U,t[y]=Math.round(UInt.toFloat(T)*_),b+=o,y+=o}for(var m=r+1,x=l-r;m<x;){m++;T+=e[b]-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,b+=o,y+=o}for(var g=l-r,F=l;g<F;){g++;T+=v-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,y+=o}}for(var y,S,b,U,v,T,_=1/(r+r+1),o=4*i,h=0,u=i;h<u;){var N=h++;S=y=4*N+3,b=y+r*o,U=e[y],v=e[y+o*(l-1)],T=(r+1)*U;for(var d=0,c=r;d<c;){var D=d++;T+=e[y+D*o]}for(var p=0,f=r+1;p<f;){p++;T+=e[b]-U,t[y]=Math.round(UInt.toFloat(T)*_),b+=o,y+=o}for(var m=r+1,x=l-r;m<x;){m++;T+=e[b]-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,b+=o,y+=o}for(var g=l-r,F=l;g<F;){g++;T+=v-e[S],t[y]=Math.round(UInt.toFloat(T)*_),S+=o,y+=o}}},lime__$internal_graphics_ImageDataUtil.__boxBlurH=function(e,t,i,l,n,s){for(var a,r,_,o,h,u,d=1/(n+n+1),c=0,p=l;c<p;){r=a=c++*i,_=a+n,o=e[4*a+s],h=e[4*(a+i-1)+s],u=(n+1)*o;for(var f=0,m=n;f<m;)u+=e[4*(a+f++)+s];for(var x=0,g=n+1;x<g;){x++;u+=e[4*_+s]-o,t[4*a+s]=Math.round(UInt.toFloat(u)*d),++_,++a}for(var F=n+1,y=i-n;F<y;){F++;u+=e[4*_+s]-e[4*r+s],t[4*a+s]=Math.round(UInt.toFloat(u)*d),++_,++r,++a}for(var S=i-n,b=i;S<b;){S++;u+=h-e[4*r+s],t[4*a+s]=Math.round(UInt.toFloat(u)*d),++r,++a}}},lime__$internal_graphics_ImageDataUtil.__boxBlurT=function(e,t,i,l,n,s){for(var a,r,_,o,h,u,d=1/(n+n+1),c=4*i,p=0,f=i;p<f;){r=a=4*p+++s,_=a+n*c,o=e[a],h=e[a+c*(l-1)],u=(n+1)*o;for(var m=0,x=n;m<x;)u+=e[a+m++*c];for(var g=0,F=n+1;g<F;){g++;u+=e[_]-o,t[a]=Math.round(UInt.toFloat(u)*d),_+=c,a+=c}for(var y=n+1,S=l-n;y<S;){y++;u+=e[_]-e[r],t[a]=Math.round(UInt.toFloat(u)*d),r+=c,_+=c,a+=c}for(var b=l-n,U=l;b<U;){b++;u+=h-e[r],t[a]=Math.round(UInt.toFloat(u)*d),r+=c,a+=c}}},lime__$internal_graphics_ImageDataUtil.__calculateSourceOffset=function(e,t,i,l){var n=i-(0|t.x),s=l-(0|t.y);return n<0||s<0||n>=e.width||s>=e.height?-1:4*(s*(0|e.width)+n)},lime__$internal_graphics_ImageDataUtil.__getBoxesForGaussianBlur=function(e,t){var i=Math.sqrt(12*e*e/t+1),l=Math.floor(i);l%2==0&&--l;for(var n=l+2,s=(12*e*e-t*l*l-4*t*l-3*t)/(-4*l-4),a=Math.round(s),r=[],_=0,o=t;_<o;){var h=_++;r.push(h<a?l:n)}return r},lime__$internal_graphics_ImageDataUtil.__pixelCompare=function(e,t){var i=e>>>24&255,l=t>>>24&255;return i!=l?UInt.gt(i,l)?1:-1:(i=e>>>16&255,l=t>>>16&255,i!=l?UInt.gt(i,l)?1:-1:(i=e>>>8&255,l=t>>>8&255,i!=l?UInt.gt(i,l)?1:-1:(i=255&e,l=255&t,i!=l?UInt.gt(i,l)?1:-1:0)))},lime__$internal_graphics_ImageDataUtil.__translatePixel=function(e,t,i,l,n,s,a){var r=4*(s*(0|i.width)+n),_=lime__$internal_graphics_ImageDataUtil.__calculateSourceOffset(t,l,n,s);if(_<0)e[r]=e[r+1]=e[r+2]=e[r+3]=0;else{e[r]=e[_],e[r+1]=e[_+1],e[r+2]=e[_+2];var o=UInt.toFloat(e[_+3])*a|0;e[r+3]=o<0?0:o>255?255:o}};var lime__$internal_graphics__$ImageDataUtil_ImageDataView=function(e,t){this.image=e,null==t?this.rect=e.get_rect():(t.x<0&&(t.x=0),t.y<0&&(t.y=0),t.x+t.width>e.width&&(t.width=e.width-t.x),t.y+t.height>e.height&&(t.height=e.height-t.y),t.width<0&&(t.width=0),t.height<0&&(t.height=0),this.rect=t),this.stride=e.buffer.get_stride(),this.__update()};$hxClasses["lime._internal.graphics._ImageDataUtil.ImageDataView"]=lime__$internal_graphics__$ImageDataUtil_ImageDataView,lime__$internal_graphics__$ImageDataUtil_ImageDataView.__name__="lime._internal.graphics._ImageDataUtil.ImageDataView",lime__$internal_graphics__$ImageDataUtil_ImageDataView.prototype={x:null,y:null,height:null,width:null,byteOffset:null,image:null,rect:null,stride:null,tempRect:null,clip:function(e,t,i,l){null==this.tempRect&&(this.tempRect=new lime_math_Rectangle),this.tempRect.setTo(e,t,i,l),this.rect.intersection(this.tempRect,this.rect),this.__update()},hasRow:function(e){return e>=0&&e<this.height},offset:function(e,t){e<0?(this.rect.x+=e,this.rect.x<0&&(this.rect.x=0)):(this.rect.x+=e,this.rect.width-=e),t<0?(this.rect.y+=t,this.rect.y<0&&(this.rect.y=0)):(this.rect.y+=t,this.rect.height-=t),this.__update()},row:function(e){return this.byteOffset+this.stride*e},__update:function(){this.x=Math.ceil(this.rect.x),this.y=Math.ceil(this.rect.y),this.width=Math.floor(this.rect.width),this.height=Math.floor(this.rect.height),this.byteOffset=this.stride*(this.y+this.image.offsetY)+4*(this.x+this.image.offsetX)},__class__:lime__$internal_graphics__$ImageDataUtil_ImageDataView};var lime__$internal_graphics_StackBlur=function(){};$hxClasses["lime._internal.graphics.StackBlur"]=lime__$internal_graphics_StackBlur,lime__$internal_graphics_StackBlur.__name__="lime._internal.graphics.StackBlur",lime__$internal_graphics_StackBlur.blur=function(e,t,i,l,n,s,a){e.copyPixels(t,i,l),lime__$internal_graphics_StackBlur.__stackBlurCanvasRGBA(e,0|i.width,0|i.height,n,s,a)},lime__$internal_graphics_StackBlur.__stackBlurCanvasRGBA=function(e,t,i,l,n,s){var a=Math.round(l)>>1,r=Math.round(n)>>1;if(null!=lime__$internal_graphics_StackBlur.MUL_TABLE&&(a>=lime__$internal_graphics_StackBlur.MUL_TABLE.length&&(a=lime__$internal_graphics_StackBlur.MUL_TABLE.length-1),r>=lime__$internal_graphics_StackBlur.MUL_TABLE.length&&(r=lime__$internal_graphics_StackBlur.MUL_TABLE.length-1),!(a<0||r<0))){var _=s;_<1&&(_=1),_>3&&(_=3);for(var o,h,u,d,c,p,f,m,x,g,F,y,S,b,U,v=e.get_data(),T=a+a+1,N=r+r+1,D=t,Q=i,B=D-1,R=Q-1,w=a+1,E=r+1,k=new lime__$internal_graphics_BlurStack,W=k,Z=1,M=T;Z<M;){A=Z++;W=W.n=new lime__$internal_graphics_BlurStack}W.n=k;for(var P=new lime__$internal_graphics_BlurStack,V=P,Z=1,M=N;Z<M;){var A=Z++;V=V.n=new lime__$internal_graphics_BlurStack}V.n=P;for(var G=null,C=lime__$internal_graphics_StackBlur.MUL_TABLE[a],I=lime__$internal_graphics_StackBlur.SHG_TABLE[a],L=lime__$internal_graphics_StackBlur.MUL_TABLE[r],J=lime__$internal_graphics_StackBlur.SHG_TABLE[r];_>0;){--_,p=c=0;var O=C,$=I;for(o=Q;;){for(f=w*(F=v[c]),m=w*(y=v[c+1]),x=w*(S=v[c+2]),g=w*(b=v[c+3]),W=k,h=w;;)if(W.r=F,W.g=y,W.b=S,W.a=b,W=W.n,!(--h>-1))break;for(var Z=1,M=w;Z<M;)u=c+((B<(A=Z++)?B:A)<<2),f+=W.r=v[u],m+=W.g=v[u+1],x+=W.b=v[u+2],g+=W.a=v[u+3],W=W.n;G=k;for(var H=0,z=D;H<z;){var Y=H++;v[c++]=f*O>>>$,v[c++]=m*O>>>$,v[c++]=x*O>>>$,v[c++]=g*O>>>$,u=p+((u=Y+a+1)<B?u:B)<<2,f-=G.r-(G.r=v[u]),m-=G.g-(G.g=v[u+1]),x-=G.b-(G.b=v[u+2]),g-=G.a-(G.a=v[u+3]),G=G.n}if(p+=D,!(--o>0))break}O=L,$=J;for(var X=0,j=D;X<j;){var K=X++;f=E*(F=v[c=K<<2]),m=E*(y=v[c+1]),x=E*(S=v[c+2]),g=E*(b=v[c+3]),V=P;for(var q=0,ee=E;q<ee;){q++;V.r=F,V.g=y,V.b=S,V.a=b,V=V.n}d=D;for(var te=1,ie=r+1;te<ie;){var le=te++;c=d+K<<2,f+=V.r=v[c],m+=V.g=v[c+1],x+=V.b=v[c+2],g+=V.a=v[c+3],V=V.n,le<R&&(d+=D)}if(c=K,G=P,_>0)for(var ne=0,se=Q;ne<se;){var ae=ne++;b=g*O>>>$,v[(u=c<<2)+3]=b,b>0?(v[u]=f*O>>>$,v[u+1]=m*O>>>$,v[u+2]=x*O>>>$):v[u]=v[u+1]=v[u+2]=0,u=K+((u=ae+E)<R?u:R)*D<<2,f-=G.r-(G.r=v[u]),m-=G.g-(G.g=v[u+1]),x-=G.b-(G.b=v[u+2]),g-=G.a-(G.a=v[u+3]),G=G.n,c+=D}else for(var re=0,_e=Q;re<_e;){var oe=re++;b=g*O>>>$,v[(u=c<<2)+3]=b,b>0?(F=(f*O>>>$)*(U=255/b)|0,y=(m*O>>>$)*U|0,S=(x*O>>>$)*U|0,v[u]=F>255?255:F,v[u+1]=y>255?255:y,v[u+2]=S>255?255:S):v[u]=v[u+1]=v[u+2]=0,u=K+((u=oe+E)<R?u:R)*D<<2,f-=G.r-(G.r=v[u]),m-=G.g-(G.g=v[u+1]),x-=G.b-(G.b=v[u+2]),g-=G.a-(G.a=v[u+3]),G=G.n,c+=D}}}}};var lime__$internal_graphics_BlurStack=function(){this.r=0,this.g=0,this.b=0,this.a=0,this.n=null};$hxClasses["lime._internal.graphics.BlurStack"]=lime__$internal_graphics_BlurStack,lime__$internal_graphics_BlurStack.__name__="lime._internal.graphics.BlurStack",lime__$internal_graphics_BlurStack.prototype={r:null,g:null,b:null,a:null,n:null,__class__:lime__$internal_graphics_BlurStack};var lime__$internal_macros_AssetsMacro=function(){};$hxClasses["lime._internal.macros.AssetsMacro"]=lime__$internal_macros_AssetsMacro,lime__$internal_macros_AssetsMacro.__name__="lime._internal.macros.AssetsMacro";var lime_app_Event=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app.Event"]=lime_app_Event,lime_app_Event.__name__="lime.app.Event",lime_app_Event.prototype={canceled:null,__listeners:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},dispatch:null,has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__class__:lime_app_Event};var lime_app_Future=function(e,t){if(null==t&&(t=!1),null!=e)if(t){var i=new lime_app_Promise;i.future=this,lime_app__$Future_FutureWork.queue({promise:i,work:e})}else try{this.value=e(),this.isComplete=!0}catch(e){haxe_NativeStackTrace.lastError=e;var l=haxe_Exception.caught(e).unwrap();this.error=l,this.isError=!0}};$hxClasses["lime.app.Future"]=lime_app_Future,lime_app_Future.__name__="lime.app.Future",lime_app_Future.ofEvents=function(e,t,i){var l=new lime_app_Promise;return e.add(function(e){l.complete(e)},!0),null!=t&&t.add(function(e){l.error(e)},!0),null!=i&&i.add(function(e,t){l.progress(e,t)},!0),l.future},lime_app_Future.withError=function(e){var t=new lime_app_Future;return t.isError=!0,t.error=e,t},lime_app_Future.withValue=function(e){var t=new lime_app_Future;return t.isComplete=!0,t.value=e,t},lime_app_Future.prototype={error:null,isComplete:null,isError:null,value:null,__completeListeners:null,__errorListeners:null,__progressListeners:null,onComplete:function(e){return null!=e&&(this.isComplete?e(this.value):this.isError||(null==this.__completeListeners&&(this.__completeListeners=[]),this.__completeListeners.push(e))),this},onError:function(e){return null!=e&&(this.isError?e(this.error):this.isComplete||(null==this.__errorListeners&&(this.__errorListeners=[]),this.__errorListeners.push(e))),this},onProgress:function(e){return null!=e&&(null==this.__progressListeners&&(this.__progressListeners=[]),this.__progressListeners.push(e)),this},ready:function(e){return null==e&&(e=-1),this.isComplete||this.isError?this:(lime_utils_Log.warn("Cannot block thread in JavaScript",{fileName:"lime/app/Future.hx",lineNumber:208,className:"lime.app.Future",methodName:"ready"}),this)},result:function(e){return null==e&&(e=-1),this.ready(e),this.isComplete?this.value:null},then:function(e){if(this.isComplete)return e(this.value);if(this.isError){var t=new lime_app_Future;return t.isError=!0,t.error=this.error,t}var i=new lime_app_Promise;return this.onError($bind(i,i.error)),this.onProgress($bind(i,i.progress)),this.onComplete(function(t){var l=e(t);l.onError($bind(i,i.error)),l.onComplete($bind(i,i.complete))}),i.future},__class__:lime_app_Future};var lime_app__$Future_FutureWork=function(){};$hxClasses["lime.app._Future.FutureWork"]=lime_app__$Future_FutureWork,lime_app__$Future_FutureWork.__name__="lime.app._Future.FutureWork",lime_app__$Future_FutureWork.threadPool=null,lime_app__$Future_FutureWork.queue=function(e){null==lime_app__$Future_FutureWork.threadPool&&(lime_app__$Future_FutureWork.threadPool=new lime_system_ThreadPool,lime_app__$Future_FutureWork.threadPool.doWork.add(lime_app__$Future_FutureWork.threadPool_doWork),lime_app__$Future_FutureWork.threadPool.onComplete.add(lime_app__$Future_FutureWork.threadPool_onComplete),lime_app__$Future_FutureWork.threadPool.onError.add(lime_app__$Future_FutureWork.threadPool_onError)),lime_app__$Future_FutureWork.threadPool.queue(e)},lime_app__$Future_FutureWork.threadPool_doWork=function(e){try{var t=e.work();lime_app__$Future_FutureWork.threadPool.sendComplete({promise:e.promise,result:t})}catch(t){haxe_NativeStackTrace.lastError=t;var i=haxe_Exception.caught(t).unwrap();lime_app__$Future_FutureWork.threadPool.sendError({promise:e.promise,error:i})}},lime_app__$Future_FutureWork.threadPool_onComplete=function(e){e.promise.complete(e.result)},lime_app__$Future_FutureWork.threadPool_onError=function(e){e.promise.error(e.error)};var lime_app_Promise=function(){this.future=new lime_app_Future};$hxClasses["lime.app.Promise"]=lime_app_Promise,lime_app_Promise.__name__="lime.app.Promise",lime_app_Promise.prototype={future:null,isComplete:null,isError:null,complete:function(e){if(!this.future.isError&&(this.future.isComplete=!0,this.future.value=e,null!=this.future.__completeListeners)){for(var t=0,i=this.future.__completeListeners;t<i.length;){var l=i[t];++t,l(e)}this.future.__completeListeners=null}return this},completeWith:function(e){return e.onComplete($bind(this,this.complete)),e.onError($bind(this,this.error)),e.onProgress($bind(this,this.progress)),this},error:function(e){if(!this.future.isComplete&&(this.future.isError=!0,this.future.error=e,null!=this.future.__errorListeners)){for(var t=0,i=this.future.__errorListeners;t<i.length;){var l=i[t];++t,l(e)}this.future.__errorListeners=null}return this},progress:function(e,t){if(!this.future.isError&&!this.future.isComplete&&null!=this.future.__progressListeners)for(var i=0,l=this.future.__progressListeners;i<l.length;){var n=l[i];++i,n(e,t)}return this},get_isComplete:function(){return this.future.isComplete},get_isError:function(){return this.future.isError},__class__:lime_app_Promise,__properties__:{get_isError:"get_isError",get_isComplete:"get_isComplete"}};var lime_app__$Event_$Array_$String_$_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Array_String__Void"]=lime_app__$Event_$Array_$String_$_$Void,lime_app__$Event_$Array_$String_$_$Void.__name__="lime.app._Event_Array_String__Void",lime_app__$Event_$Array_$String_$_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$Array_$String_$_$Void};var lime_app__$Event_$Dynamic_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Dynamic_Void"]=lime_app__$Event_$Dynamic_$Void,lime_app__$Event_$Dynamic_$Void.__name__="lime.app._Event_Dynamic_Void",lime_app__$Event_$Dynamic_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$Dynamic_$Void};var lime_app__$Event_$Float_$Float_$Float_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Float_Float_Float_Void"]=lime_app__$Event_$Float_$Float_$Float_$Void,lime_app__$Event_$Float_$Float_$Float_$Void.__name__="lime.app._Event_Float_Float_Float_Void",lime_app__$Event_$Float_$Float_$Float_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t,i){this.canceled=!1;for(var l=this.__listeners,n=this.__repeat,s=0;s<l.length&&(l[s](e,t,i),n[s]?++s:this.remove(l[s]),!this.canceled););},__class__:lime_app__$Event_$Float_$Float_$Float_$Void};var lime_app__$Event_$Float_$Float_$Int_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Float_Float_Int_Void"]=lime_app__$Event_$Float_$Float_$Int_$Void,lime_app__$Event_$Float_$Float_$Int_$Void.__name__="lime.app._Event_Float_Float_Int_Void",lime_app__$Event_$Float_$Float_$Int_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t,i){this.canceled=!1;for(var l=this.__listeners,n=this.__repeat,s=0;s<l.length&&(l[s](e,t,i),n[s]?++s:this.remove(l[s]),!this.canceled););},__class__:lime_app__$Event_$Float_$Float_$Int_$Void};var lime_app__$Event_$Float_$Float_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Float_Float_Void"]=lime_app__$Event_$Float_$Float_$Void,lime_app__$Event_$Float_$Float_$Void.__name__="lime.app._Event_Float_Float_Void",lime_app__$Event_$Float_$Float_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t){this.canceled=!1;for(var i=this.__listeners,l=this.__repeat,n=0;n<i.length&&(i[n](e,t),l[n]?++n:this.remove(i[n]),!this.canceled););},__class__:lime_app__$Event_$Float_$Float_$Void};var lime_app__$Event_$Float_$Float_$lime_$ui_$MouseButton_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Float_Float_lime_ui_MouseButton_Void"]=lime_app__$Event_$Float_$Float_$lime_$ui_$MouseButton_$Void,lime_app__$Event_$Float_$Float_$lime_$ui_$MouseButton_$Void.__name__="lime.app._Event_Float_Float_lime_ui_MouseButton_Void",lime_app__$Event_$Float_$Float_$lime_$ui_$MouseButton_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t,i){this.canceled=!1;for(var l=this.__listeners,n=this.__repeat,s=0;s<l.length&&(l[s](e,t,i),n[s]?++s:this.remove(l[s]),!this.canceled););},__class__:lime_app__$Event_$Float_$Float_$lime_$ui_$MouseButton_$Void};var lime_app__$Event_$Float_$Float_$lime_$ui_$MouseWheelMode_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Float_Float_lime_ui_MouseWheelMode_Void"]=lime_app__$Event_$Float_$Float_$lime_$ui_$MouseWheelMode_$Void,lime_app__$Event_$Float_$Float_$lime_$ui_$MouseWheelMode_$Void.__name__="lime.app._Event_Float_Float_lime_ui_MouseWheelMode_Void",lime_app__$Event_$Float_$Float_$lime_$ui_$MouseWheelMode_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t,i){this.canceled=!1;for(var l=this.__listeners,n=this.__repeat,s=0;s<l.length&&(l[s](e,t,i),n[s]?++s:this.remove(l[s]),!this.canceled););},__class__:lime_app__$Event_$Float_$Float_$lime_$ui_$MouseWheelMode_$Void};var lime_app__$Event_$Int_$Float_$Float_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Int_Float_Float_Void"]=lime_app__$Event_$Int_$Float_$Float_$Void,lime_app__$Event_$Int_$Float_$Float_$Void.__name__="lime.app._Event_Int_Float_Float_Void",lime_app__$Event_$Int_$Float_$Float_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t,i){this.canceled=!1;for(var l=this.__listeners,n=this.__repeat,s=0;s<l.length&&(l[s](e,t,i),n[s]?++s:this.remove(l[s]),!this.canceled););},__class__:lime_app__$Event_$Int_$Float_$Float_$Void};var lime_app__$Event_$Int_$Float_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Int_Float_Void"]=lime_app__$Event_$Int_$Float_$Void,lime_app__$Event_$Int_$Float_$Void.__name__="lime.app._Event_Int_Float_Void",lime_app__$Event_$Int_$Float_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t){this.canceled=!1;for(var i=this.__listeners,l=this.__repeat,n=0;n<i.length&&(i[n](e,t),l[n]?++n:this.remove(i[n]),!this.canceled););},__class__:lime_app__$Event_$Int_$Float_$Void};var lime_app__$Event_$Int_$Int_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Int_Int_Void"]=lime_app__$Event_$Int_$Int_$Void,lime_app__$Event_$Int_$Int_$Void.__name__="lime.app._Event_Int_Int_Void",lime_app__$Event_$Int_$Int_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t){this.canceled=!1;for(var i=this.__listeners,l=this.__repeat,n=0;n<i.length&&(i[n](e,t),l[n]?++n:this.remove(i[n]),!this.canceled););},__class__:lime_app__$Event_$Int_$Int_$Void};var lime_app__$Event_$Int_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Int_Void"]=lime_app__$Event_$Int_$Void,lime_app__$Event_$Int_$Void.__name__="lime.app._Event_Int_Void",lime_app__$Event_$Int_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$Int_$Void};var lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Int_lime_ui_JoystickHatPosition_Void"]=lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void,lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void.__name__="lime.app._Event_Int_lime_ui_JoystickHatPosition_Void",lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t){this.canceled=!1;for(var i=this.__listeners,l=this.__repeat,n=0;n<i.length&&(i[n](e,t),l[n]?++n:this.remove(i[n]),!this.canceled););},__class__:lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void};var lime_app__$Event_$String_$Int_$Int_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_String_Int_Int_Void"]=lime_app__$Event_$String_$Int_$Int_$Void,lime_app__$Event_$String_$Int_$Int_$Void.__name__="lime.app._Event_String_Int_Int_Void",lime_app__$Event_$String_$Int_$Int_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t,i){this.canceled=!1;for(var l=this.__listeners,n=this.__repeat,s=0;s<l.length&&(l[s](e,t,i),n[s]?++s:this.remove(l[s]),!this.canceled););},__class__:lime_app__$Event_$String_$Int_$Int_$Void};var lime_app__$Event_$String_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_String_Void"]=lime_app__$Event_$String_$Void,lime_app__$Event_$String_$Void.__name__="lime.app._Event_String_Void",lime_app__$Event_$String_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$String_$Void};var lime_app__$Event_$Void_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_Void_Void"]=lime_app__$Event_$Void_$Void,lime_app__$Event_$Void_$Void.__name__="lime.app._Event_Void_Void",lime_app__$Event_$Void_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(){this.canceled=!1;for(var e=this.__listeners,t=this.__repeat,i=0;i<e.length&&(e[i](),t[i]?++i:this.remove(e[i]),!this.canceled););},__class__:lime_app__$Event_$Void_$Void};var lime_app__$Event_$lime_$graphics_$RenderContext_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_graphics_RenderContext_Void"]=lime_app__$Event_$lime_$graphics_$RenderContext_$Void,lime_app__$Event_$lime_$graphics_$RenderContext_$Void.__name__="lime.app._Event_lime_graphics_RenderContext_Void",lime_app__$Event_$lime_$graphics_$RenderContext_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$graphics_$RenderContext_$Void};var lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_GamepadAxis_Float_Void"]=lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void,lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void.__name__="lime.app._Event_lime_ui_GamepadAxis_Float_Void",lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t){this.canceled=!1;for(var i=this.__listeners,l=this.__repeat,n=0;n<i.length&&(i[n](e,t),l[n]?++n:this.remove(i[n]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void};var lime_app__$Event_$lime_$ui_$GamepadButton_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_GamepadButton_Void"]=lime_app__$Event_$lime_$ui_$GamepadButton_$Void,lime_app__$Event_$lime_$ui_$GamepadButton_$Void.__name__="lime.app._Event_lime_ui_GamepadButton_Void",lime_app__$Event_$lime_$ui_$GamepadButton_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$GamepadButton_$Void};var lime_app__$Event_$lime_$ui_$Gamepad_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_Gamepad_Void"]=lime_app__$Event_$lime_$ui_$Gamepad_$Void,lime_app__$Event_$lime_$ui_$Gamepad_$Void.__name__="lime.app._Event_lime_ui_Gamepad_Void",lime_app__$Event_$lime_$ui_$Gamepad_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$Gamepad_$Void};var lime_app__$Event_$lime_$ui_$Joystick_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_Joystick_Void"]=lime_app__$Event_$lime_$ui_$Joystick_$Void,lime_app__$Event_$lime_$ui_$Joystick_$Void.__name__="lime.app._Event_lime_ui_Joystick_Void",lime_app__$Event_$lime_$ui_$Joystick_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$Joystick_$Void};var lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_KeyCode_lime_ui_KeyModifier_Void"]=lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void,lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void.__name__="lime.app._Event_lime_ui_KeyCode_lime_ui_KeyModifier_Void",lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e,t){this.canceled=!1;for(var i=this.__listeners,l=this.__repeat,n=0;n<i.length&&(i[n](e,t),l[n]?++n:this.remove(i[n]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void};var lime_app__$Event_$lime_$ui_$Touch_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_Touch_Void"]=lime_app__$Event_$lime_$ui_$Touch_$Void,lime_app__$Event_$lime_$ui_$Touch_$Void.__name__="lime.app._Event_lime_ui_Touch_Void",lime_app__$Event_$lime_$ui_$Touch_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$Touch_$Void};var lime_app__$Event_$lime_$ui_$Window_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_ui_Window_Void"]=lime_app__$Event_$lime_$ui_$Window_$Void,lime_app__$Event_$lime_$ui_$Window_$Void.__name__="lime.app._Event_lime_ui_Window_Void",lime_app__$Event_$lime_$ui_$Window_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$ui_$Window_$Void};var lime_app__$Event_$lime_$utils_$Resource_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_lime_utils_Resource_Void"]=lime_app__$Event_$lime_$utils_$Resource_$Void,lime_app__$Event_$lime_$utils_$Resource_$Void.__name__="lime.app._Event_lime_utils_Resource_Void",lime_app__$Event_$lime_$utils_$Resource_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$lime_$utils_$Resource_$Void};var lime_app__$Event_$ofEvents_$T_$Void=function(){this.canceled=!1,this.__listeners=[],this.__priorities=[],this.__repeat=[]};$hxClasses["lime.app._Event_ofEvents_T_Void"]=lime_app__$Event_$ofEvents_$T_$Void,lime_app__$Event_$ofEvents_$T_$Void.__name__="lime.app._Event_ofEvents_T_Void",lime_app__$Event_$ofEvents_$T_$Void.prototype={canceled:null,__repeat:null,__priorities:null,add:function(e,t,i){null==i&&(i=0),null==t&&(t=!1);for(var l=0,n=this.__priorities.length;l<n;){var s=l++;if(i>this.__priorities[s])return this.__listeners.splice(s,0,e),this.__priorities.splice(s,0,i),void this.__repeat.splice(s,0,!t)}this.__listeners.push(e),this.__priorities.push(i),this.__repeat.push(!t)},cancel:function(){this.canceled=!0},has:function(e){for(var t=0,i=this.__listeners;t<i.length;){var l=i[t];if(++t,Reflect.compareMethods(l,e))return!0}return!1},remove:function(e){for(var t=this.__listeners.length;--t>=0;)Reflect.compareMethods(this.__listeners[t],e)&&(this.__listeners.splice(t,1),this.__priorities.splice(t,1),this.__repeat.splice(t,1))},removeAll:function(){var e=this.__listeners.length;this.__listeners.splice(0,e),this.__priorities.splice(0,e),this.__repeat.splice(0,e)},__listeners:null,dispatch:function(e){this.canceled=!1;for(var t=this.__listeners,i=this.__repeat,l=0;l<t.length&&(t[l](e),i[l]?++l:this.remove(t[l]),!this.canceled););},__class__:lime_app__$Event_$ofEvents_$T_$Void};var lime_graphics_CairoRenderContext={};lime_graphics_CairoRenderContext.fromRenderContext=function(e){return e.cairo};var lime_graphics_Canvas2DRenderContext={};lime_graphics_Canvas2DRenderContext.fromRenderContext=function(e){return e.canvas2D};var lime_graphics_DOMRenderContext={};lime_graphics_DOMRenderContext.fromRenderContext=function(e){return e.dom};var lime_graphics_FlashRenderContext={};lime_graphics_FlashRenderContext.fromRenderContext=function(e){return null};var lime_graphics_Image=function(e,t,i,l,n,s,a){if(null==n&&(n=-1),null==l&&(l=-1),null==i&&(i=0),null==t&&(t=0),this.offsetX=t,this.offsetY=i,this.width=l,this.height=n,this.version=0,null==a&&(a=lime_graphics_ImageType.CANVAS),this.type=a,null==e){if(l>0&&n>0)switch(this.type._hx_index){case 0:this.buffer=new lime_graphics_ImageBuffer(null,l,n),lime__$internal_graphics_ImageCanvasUtil.createCanvas(this,l,n),null!=s&&0!=s&&this.fillRect(new lime_math_Rectangle(0,0,l,n),s);break;case 1:var r,_=l*n*4;r=null!=_?new Uint8Array(_):null,this.buffer=new lime_graphics_ImageBuffer(r,l,n),null!=s&&0!=s&&this.fillRect(new lime_math_Rectangle(0,0,l,n),s)}}else this.__fromImageBuffer(e)};$hxClasses["lime.graphics.Image"]=lime_graphics_Image,lime_graphics_Image.__name__="lime.graphics.Image",lime_graphics_Image.fromBase64=function(e,t){if(null==e)return null;var i=new lime_graphics_Image;return i.__fromBase64(e,t),i},lime_graphics_Image.fromBitmapData=function(e){return null==e?null:e.image},lime_graphics_Image.fromBytes=function(e){if(null==e)return null;var t=new lime_graphics_Image;return t.__fromBytes(e)?t:null},lime_graphics_Image.fromCanvas=function(e){if(null==e)return null;var t=new lime_graphics_ImageBuffer(null,e.width,e.height);t.set_src(e);var i=new lime_graphics_Image(t);return i.type=lime_graphics_ImageType.CANVAS,i},lime_graphics_Image.fromFile=function(e){if(null==e)return null;var t=new lime_graphics_Image;return t.__fromFile(e)?t:null},lime_graphics_Image.fromImageElement=function(e){if(null==e)return null;var t=new lime_graphics_ImageBuffer(null,e.width,e.height);t.set_src(e);var i=new lime_graphics_Image(t);return i.type=lime_graphics_ImageType.CANVAS,i},lime_graphics_Image.loadFromBase64=function(e,t){return null==e||null==t?lime_app_Future.withValue(null):lime__$internal_backend_html5_HTML5HTTPRequest.loadImage("data:"+t+";base64,"+e)},lime_graphics_Image.loadFromBytes=function(e){if(null==e)return lime_app_Future.withValue(null);var t="";if(lime_graphics_Image.__isPNG(e))t="image/png";else if(lime_graphics_Image.__isJPG(e))t="image/jpeg";else if(lime_graphics_Image.__isGIF(e))t="image/gif";else{if(!lime_graphics_Image.__isWebP(e))return lime_app_Future.withValue(null);t="image/webp"}return lime__$internal_backend_html5_HTML5HTTPRequest.loadImageFromBytes(e,t)},lime_graphics_Image.loadFromFile=function(e){return null==e?lime_app_Future.withValue(null):lime__$internal_backend_html5_HTML5HTTPRequest.loadImage(e)},lime_graphics_Image.__isGIF=function(e){if(null==e||e.length<6)return!1;var t=e.getString(0,6);return"GIF87a"==t||"GIF89a"==t},lime_graphics_Image.__isJPG=function(e){return!(null==e||e.length<4)&&(255==e.b[0]&&216==e.b[1]&&255==e.b[e.length-2]&&217==e.b[e.length-1])},lime_graphics_Image.__isPNG=function(e){return!(null==e||e.length<8)&&(137==e.b[0]&&80==e.b[1]&&78==e.b[2]&&71==e.b[3]&&13==e.b[4]&&10==e.b[5]&&26==e.b[6]&&10==e.b[7])},lime_graphics_Image.__isWebP=function(e){return!(null==e||e.length<16)&&("RIFF"==e.getString(0,4)&&"WEBP"==e.getString(8,4))},lime_graphics_Image.prototype={buffer:null,dirty:null,height:null,offsetX:null,offsetY:null,rect:null,type:null,version:null,width:null,x:null,y:null,clone:function(){if(null!=this.buffer){this.type==lime_graphics_ImageType.CANVAS?lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this):lime__$internal_graphics_ImageCanvasUtil.convertToData(this);var e=new lime_graphics_Image(this.buffer.clone(),this.offsetX,this.offsetY,this.width,this.height,null,this.type);return e.version=this.version,e}return new lime_graphics_Image(null,this.offsetX,this.offsetY,this.width,this.height,null,this.type)},colorTransform:function(e,t){if(e=this.__clipRect(e),null!=this.buffer&&null!=e)switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.colorTransform(this,e,t);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.colorTransform(this,e,t);break;case 2:e.offset(this.offsetX,this.offsetY),this.buffer.__srcBitmapData.colorTransform(e.__toFlashRectangle(),lime_math_ColorMatrix.__toFlashColorTransform(t))}},copyChannel:function(e,t,i,l,n){if(t=this.__clipRect(t),null!=this.buffer&&null!=t&&(n!=lime_graphics_ImageChannel.ALPHA||this.get_transparent())&&!(t.width<=0||t.height<=0))switch(t.x+t.width>e.width&&(t.width=e.width-t.x),t.y+t.height>e.height&&(t.height=e.height-t.y),this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.copyChannel(this,e,t,i,l,n);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.copyChannel(this,e,t,i,l,n);break;case 2:var s;switch(l._hx_index){case 0:s=1;break;case 1:s=2;break;case 2:s=4;break;case 3:s=8}var a;switch(n._hx_index){case 0:a=1;break;case 1:a=2;break;case 2:a=4;break;case 3:a=8}t.offset(e.offsetX,e.offsetY),i.offset(this.offsetX,this.offsetY),this.buffer.__srcBitmapData.copyChannel(e.buffer.get_src(),t.__toFlashRectangle(),i.__toFlashPoint(),s,a)}},copyPixels:function(e,t,i,l,n,s){if(null==s&&(s=!1),null!=this.buffer&&null!=e&&!(t.width<=0||t.height<=0||this.width<=0||this.height<=0))switch(t.x+t.width>e.width&&(t.width=e.width-t.x),t.y+t.height>e.height&&(t.height=e.height-t.y),t.x<0&&(t.width+=t.x,t.x=0),t.y<0&&(t.height+=t.y,t.y=0),i.x+t.width>this.width&&(t.width=this.width-i.x),i.y+t.height>this.height&&(t.height=this.height-i.y),i.x<0&&(t.width+=i.x,t.x-=i.x,i.x=0),i.y<0&&(t.height+=i.y,t.y-=i.y,i.y=0),e==this&&i.x<t.get_right()&&i.y<t.get_bottom()&&(e=this.clone()),l==e&&(null==n||0==n.x&&0==n.y)&&(l=null,n=null),this.type._hx_index){case 0:null!=l?(lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),null!=l&&lime__$internal_graphics_ImageCanvasUtil.convertToData(l),lime__$internal_graphics_ImageDataUtil.copyPixels(this,e,t,i,l,n,s)):(lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e),lime__$internal_graphics_ImageCanvasUtil.copyPixels(this,e,t,i,l,n,s));break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),null!=l&&lime__$internal_graphics_ImageCanvasUtil.convertToData(l),lime__$internal_graphics_ImageDataUtil.copyPixels(this,e,t,i,l,n,s);break;case 2:t.offset(e.offsetX,e.offsetY),i.offset(this.offsetX,this.offsetY),null!=l&&null!=n&&n.offset(l.offsetX,l.offsetY),this.buffer.__srcBitmapData.copyPixels(e.buffer.__srcBitmapData,t.__toFlashRectangle(),i.__toFlashPoint(),null!=l?l.buffer.get_src():null,null!=n?n.__toFlashPoint():null,s)}},encode:function(e,t){if(null==t&&(t=90),null==e)return lime__$internal_format_PNG.encode(this);switch(e._hx_index){case 0:return lime__$internal_format_BMP.encode(this);case 1:return lime__$internal_format_JPEG.encode(this,t);case 2:return lime__$internal_format_PNG.encode(this)}},fillRect:function(e,t,i){if(e=this.__clipRect(e),null!=this.buffer&&null!=e)switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.fillRect(this,e,t,i);break;case 1:if(lime__$internal_graphics_ImageCanvasUtil.convertToData(this),0==this.buffer.data.length)return;lime__$internal_graphics_ImageDataUtil.fillRect(this,e,t,i);break;case 2:e.offset(this.offsetX,this.offsetY);var l;if(null==i){l=(255&(s=t))<<24|(255&s>>>24)<<16|(255&s>>>16)<<8|255&s>>>8}else switch(i){case 1:l=t;break;case 2:var n=t;l=(255&n)<<24|(255&n>>>8)<<16|(255&n>>>16)<<8|255&n>>>24;break;default:var s=t;l=(255&s)<<24|(255&s>>>24)<<16|(255&s>>>16)<<8|255&s>>>8}this.buffer.__srcBitmapData.fillRect(e.__toFlashRectangle(),l)}},floodFill:function(e,t,i,l){if(null!=this.buffer)switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.floodFill(this,e,t,i,l);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.floodFill(this,e,t,i,l);break;case 2:var n;if(null==l){n=(255&(a=i))<<24|(255&a>>>24)<<16|(255&a>>>16)<<8|255&a>>>8}else switch(l){case 1:n=i;break;case 2:var s=i;n=(255&s)<<24|(255&s>>>8)<<16|(255&s>>>16)<<8|255&s>>>24;break;default:var a=i;n=(255&a)<<24|(255&a>>>24)<<16|(255&a>>>16)<<8|255&a>>>8}this.buffer.__srcBitmapData.floodFill(e+this.offsetX,t+this.offsetY,n)}},getColorBoundsRect:function(e,t,i,l){if(null==i&&(i=!0),null==this.buffer)return null;switch(this.type._hx_index){case 0:return lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.getColorBoundsRect(this,e,t,i,l);case 1:return lime__$internal_graphics_ImageDataUtil.getColorBoundsRect(this,e,t,i,l);case 2:var n=this.buffer.__srcBitmapData.getColorBoundsRect(e,t,i);return new lime_math_Rectangle(n.x,n.y,n.width,n.height);default:return null}},getPixel:function(e,t,i){if(null==this.buffer||e<0||t<0||e>=this.width||t>=this.height)return 0;switch(this.type._hx_index){case 0:return lime__$internal_graphics_ImageCanvasUtil.getPixel(this,e,t,i);case 1:return lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.getPixel(this,e,t,i);case 2:var l=this.buffer.__srcBitmapData.getPixel(e+this.offsetX,t+this.offsetY);if(null==i){s=n=0;return a=s=(255&l>>>16)<<24|(255&l>>>8)<<16|(255&l)<<8|255&l>>>24}switch(i){case 1:return l;case 2:n=0;return(255&l)<<24|(255&l>>>8)<<16|(255&l>>>16)<<8|255&l>>>24;default:var n=0,s=n,a=s=(255&l>>>16)<<24|(255&l>>>8)<<16|(255&l)<<8|255&l>>>24;return a}break;default:return 0}},getPixel32:function(e,t,i){if(null==this.buffer||e<0||t<0||e>=this.width||t>=this.height)return 0;switch(this.type._hx_index){case 0:return lime__$internal_graphics_ImageCanvasUtil.getPixel32(this,e,t,i);case 1:return lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.getPixel32(this,e,t,i);case 2:var l=this.buffer.__srcBitmapData.getPixel32(e+this.offsetX,t+this.offsetY);if(null==i){s=n=0;return a=s=(255&l>>>16)<<24|(255&l>>>8)<<16|(255&l)<<8|255&l>>>24}switch(i){case 1:return l;case 2:n=0;return(255&l)<<24|(255&l>>>8)<<16|(255&l>>>16)<<8|255&l>>>24;default:var n=0,s=n,a=s=(255&l>>>16)<<24|(255&l>>>8)<<16|(255&l)<<8|255&l>>>24;return a}break;default:return 0}},getPixels:function(e,t){if(null==this.buffer)return null;switch(this.type._hx_index){case 0:return lime__$internal_graphics_ImageCanvasUtil.getPixels(this,e,t);case 1:return lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.getPixels(this,e,t);case 2:default:return null}},merge:function(e,t,i,l,n,s,a){if(null!=this.buffer&&null!=e)switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this),lime__$internal_graphics_ImageCanvasUtil.merge(this,e,t,i,l,n,s,a);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.merge(this,e,t,i,l,n,s,a);break;case 2:t.offset(this.offsetX,this.offsetY),this.buffer.__srcBitmapData.merge(e.buffer.__srcBitmapData,t.__toFlashRectangle(),i.__toFlashPoint(),l,n,s,a);break;default:return}},resize:function(e,t){switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.resize(this,e,t);break;case 1:lime__$internal_graphics_ImageDataUtil.resize(this,e,t)}this.buffer.width=e,this.buffer.height=t,this.offsetX=0,this.offsetY=0,this.width=e,this.height=t},scroll:function(e,t){if(null!=this.buffer)switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.scroll(this,e,t);break;case 1:this.copyPixels(this,this.get_rect(),new lime_math_Vector2(e,t));break;case 2:this.buffer.__srcBitmapData.scroll(e+this.offsetX,t+this.offsetX)}},setPixel:function(e,t,i,l){if(!(null==this.buffer||e<0||t<0||e>=this.width||t>=this.height))switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.setPixel(this,e,t,i,l);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.setPixel(this,e,t,i,l);break;case 2:var n;if(null==l){n=(255&(a=i))<<24|(255&a>>>24)<<16|(255&a>>>16)<<8|255&a>>>8}else switch(l){case 1:n=i;break;case 2:var s=i;n=(255&s)<<24|(255&s>>>8)<<16|(255&s>>>16)<<8|255&s>>>24;break;default:var a=i;n=(255&a)<<24|(255&a>>>24)<<16|(255&a>>>16)<<8|255&a>>>8}this.buffer.__srcBitmapData.setPixel(e+this.offsetX,t+this.offsetX,n)}},setPixel32:function(e,t,i,l){if(!(null==this.buffer||e<0||t<0||e>=this.width||t>=this.height))switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.setPixel32(this,e,t,i,l);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.setPixel32(this,e,t,i,l);break;case 2:var n;if(null==l){n=(255&(a=i))<<24|(255&a>>>24)<<16|(255&a>>>16)<<8|255&a>>>8}else switch(l){case 1:n=i;break;case 2:var s=i;n=(255&s)<<24|(255&s>>>8)<<16|(255&s>>>16)<<8|255&s>>>24;break;default:var a=i;n=(255&a)<<24|(255&a>>>24)<<16|(255&a>>>16)<<8|255&a>>>8}this.buffer.__srcBitmapData.setPixel32(e+this.offsetX,t+this.offsetY,n)}},setPixels:function(e,t,i,l){if(e=this.__clipRect(e),null!=this.buffer&&null!=e)switch(null==l&&(l=lime_system_Endian.BIG_ENDIAN),this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.setPixels(this,e,t,i,l);break;case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.setPixels(this,e,t,i,l)}},threshold:function(e,t,i,l,n,s,a,r,_){if(null==r&&(r=!1),null==a&&(a=-1),null==s&&(s=0),null==this.buffer||null==e||null==t)return 0;switch(this.type._hx_index){case 0:case 1:return lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageCanvasUtil.convertToData(e),lime__$internal_graphics_ImageDataUtil.threshold(this,e,t,i,l,n,s,a,r,_);case 2:var o;if(null==_){o=(255&(d=s))<<24|(255&d>>>24)<<16|(255&d>>>16)<<8|255&d>>>8}else switch(_){case 1:o=s;break;case 2:o=(255&(u=s))<<24|(255&u>>>8)<<16|(255&u>>>16)<<8|255&u>>>24;break;default:o=(255&(d=s))<<24|(255&d>>>24)<<16|(255&d>>>16)<<8|255&d>>>8}var h;if(null==_){h=(255&(d=a))<<24|(255&d>>>24)<<16|(255&d>>>16)<<8|255&d>>>8}else switch(_){case 1:h=a;break;case 2:var u=a;h=(255&u)<<24|(255&u>>>8)<<16|(255&u>>>16)<<8|255&u>>>24;break;default:var d=a;h=(255&d)<<24|(255&d>>>24)<<16|(255&d>>>16)<<8|255&d>>>8}return t.offset(e.offsetX,e.offsetY),i.offset(this.offsetX,this.offsetY),this.buffer.__srcBitmapData.threshold(e.buffer.get_src(),t.__toFlashRectangle(),i.__toFlashPoint(),l,n,o,h,r)}return 0},__clipRect:function(e){return null==e?null:e.x<0&&(e.width-=-e.x,e.x=0,e.x+e.width<=0)?null:e.y<0&&(e.height-=-e.y,e.y=0,e.y+e.height<=0)?null:e.x+e.width>=this.width&&(e.width-=e.x+e.width-this.width,e.width<=0)?null:e.y+e.height>=this.height&&(e.height-=e.y+e.height-this.height,e.height<=0)?null:e},__fromBase64:function(e,t,i){var l=this,n=new Image,s=function(e){l.buffer=new lime_graphics_ImageBuffer(null,n.width,n.height),l.buffer.__srcImage=n,l.offsetX=0,l.offsetY=0,l.width=l.buffer.width,l.height=l.buffer.height,null!=i&&i(l)};n.addEventListener("load",s,!1),n.src="data:"+t+";base64,"+e},__fromBytes:function(e,t){var i="";if(lime_graphics_Image.__isPNG(e))i="image/png";else if(lime_graphics_Image.__isJPG(e))i="image/jpeg";else{if(!lime_graphics_Image.__isGIF(e))return!1;i="image/gif"}return this.__fromBase64(lime__$internal_format_Base64.encode(e),i,t),!0},__fromFile:function(e,t,i){var l=this,n=new Image;lime__$internal_backend_html5_HTML5HTTPRequest.__isSameOrigin(e)||(n.crossOrigin="Anonymous"),n.onload=function(e){l.buffer=new lime_graphics_ImageBuffer(null,n.width,n.height),l.buffer.__srcImage=n,l.width=n.width,l.height=n.height,null!=t&&t(l)},n.onerror=function(e){null!=i&&i()},n.src=e;n.complete;return!0},__fromImageBuffer:function(e){this.buffer=e,null!=e&&(-1==this.width&&(this.width=e.width),-1==this.height&&(this.height=e.height))},get_data:function(){return null==this.buffer.data&&this.buffer.width>0&&this.buffer.height>0&&lime__$internal_graphics_ImageCanvasUtil.convertToData(this),this.buffer.data},set_data:function(e){return this.buffer.data=e},get_format:function(){return this.buffer.format},set_format:function(e){return this.buffer.format!=e&&1==this.type._hx_index&&lime__$internal_graphics_ImageDataUtil.setFormat(this,e),this.buffer.format=e},get_powerOfTwo:function(){return 0!=this.buffer.width&&(this.buffer.width&1+~this.buffer.width)==this.buffer.width&&(0!=this.buffer.height&&(this.buffer.height&1+~this.buffer.height)==this.buffer.height)},set_powerOfTwo:function(e){if(e!=this.get_powerOfTwo()){for(var t=1,i=1;t<this.buffer.width;)t<<=1;for(;i<this.buffer.height;)i<<=1;if(t==this.buffer.width&&i==this.buffer.height)return e;switch(this.type._hx_index){case 0:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.resizeBuffer(this,t,i);break;case 1:lime__$internal_graphics_ImageDataUtil.resizeBuffer(this,t,i)}}return e},get_premultiplied:function(){return this.buffer.premultiplied},set_premultiplied:function(e){if(e&&!this.buffer.premultiplied)switch(this.type._hx_index){case 0:case 1:lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.multiplyAlpha(this)}else!e&&this.buffer.premultiplied&&1==this.type._hx_index&&(lime__$internal_graphics_ImageCanvasUtil.convertToData(this),lime__$internal_graphics_ImageDataUtil.unmultiplyAlpha(this));return e},get_rect:function(){return new lime_math_Rectangle(0,0,this.width,this.height)},get_src:function(){return null!=this.buffer.__srcCanvas||null==this.buffer.data&&this.type!=lime_graphics_ImageType.DATA||lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this),this.buffer.get_src()},set_src:function(e){return this.buffer.set_src(e)},get_transparent:function(){return null!=this.buffer&&this.buffer.transparent},set_transparent:function(e){return null!=this.buffer&&(this.buffer.transparent=e)},__class__:lime_graphics_Image,__properties__:{set_transparent:"set_transparent",get_transparent:"get_transparent",set_src:"set_src",get_src:"get_src",get_rect:"get_rect",set_premultiplied:"set_premultiplied",get_premultiplied:"get_premultiplied",set_powerOfTwo:"set_powerOfTwo",get_powerOfTwo:"get_powerOfTwo",set_format:"set_format",get_format:"get_format",set_data:"set_data",get_data:"get_data"}};var lime_graphics_ImageBuffer=function(e,t,i,l,n){null==l&&(l=32),null==i&&(i=0),null==t&&(t=0),this.data=e,this.width=t,this.height=i,this.bitsPerPixel=l,this.format=null==n?0:n,this.premultiplied=!1,this.transparent=!0};$hxClasses["lime.graphics.ImageBuffer"]=lime_graphics_ImageBuffer,lime_graphics_ImageBuffer.__name__="lime.graphics.ImageBuffer",lime_graphics_ImageBuffer.prototype={bitsPerPixel:null,data:null,format:null,height:null,premultiplied:null,transparent:null,width:null,__srcBitmapData:null,__srcCanvas:null,__srcContext:null,__srcCustom:null,__srcImage:null,__srcImageData:null,clone:function(){var e=new lime_graphics_ImageBuffer(this.data,this.width,this.height,this.bitsPerPixel);if(null!=this.data){var t=null,i=null,l=null,n=null,s=null;a=null!=(r=this.data.byteLength)?new Uint8Array(r):null!=t?new Uint8Array(t):null!=i?new Uint8Array(i.__array):null!=l?new Uint8Array(l):null!=n?null==s?new Uint8Array(n,0):new Uint8Array(n,0,s):null,e.data=a;var a,r=null,t=null,i=null,l=this.data,n=null,s=null,_=a=null!=r?new Uint8Array(r):null!=t?new Uint8Array(t):null!=i?new Uint8Array(i.__array):null!=l?new Uint8Array(l):null!=n?null==s?new Uint8Array(n,0):new Uint8Array(n,0,s):null;e.data.set(_)}else if(null!=this.__srcImageData){e.__srcCanvas=window.document.createElement("canvas"),e.__srcContext=e.__srcCanvas.getContext("2d"),e.__srcCanvas.width=this.__srcImageData.width,e.__srcCanvas.height=this.__srcImageData.height,e.__srcImageData=e.__srcContext.createImageData(this.__srcImageData.width,this.__srcImageData.height);_=new Uint8ClampedArray(this.__srcImageData.data);e.__srcImageData.data.set(_)}else null!=this.__srcCanvas?(e.__srcCanvas=window.document.createElement("canvas"),e.__srcContext=e.__srcCanvas.getContext("2d"),e.__srcCanvas.width=this.__srcCanvas.width,e.__srcCanvas.height=this.__srcCanvas.height,e.__srcContext.drawImage(this.__srcCanvas,0,0)):e.__srcImage=this.__srcImage;return e.bitsPerPixel=this.bitsPerPixel,e.format=this.format,e.premultiplied=this.premultiplied,e.transparent=this.transparent,e},get_src:function(){return null!=this.__srcImage?this.__srcImage:this.__srcCanvas},set_src:function(e){return e instanceof Image?this.__srcImage=e:e instanceof HTMLCanvasElement&&(this.__srcCanvas=e,this.__srcContext=this.__srcCanvas.getContext("2d")),e},get_stride:function(){return this.width*(this.bitsPerPixel/8|0)},__class__:lime_graphics_ImageBuffer,__properties__:{get_stride:"get_stride",set_src:"set_src",get_src:"get_src"}};var lime_graphics_ImageChannel=$hxEnums["lime.graphics.ImageChannel"]={__ename__:"lime.graphics.ImageChannel",__constructs__:["RED","GREEN","BLUE","ALPHA"],RED:{_hx_index:0,__enum__:"lime.graphics.ImageChannel",toString:$estr},GREEN:{_hx_index:1,__enum__:"lime.graphics.ImageChannel",toString:$estr},BLUE:{_hx_index:2,__enum__:"lime.graphics.ImageChannel",toString:$estr},ALPHA:{_hx_index:3,__enum__:"lime.graphics.ImageChannel",toString:$estr}},lime_graphics_ImageFileFormat=$hxEnums["lime.graphics.ImageFileFormat"]={__ename__:"lime.graphics.ImageFileFormat",__constructs__:["BMP","JPEG","PNG"],BMP:{_hx_index:0,__enum__:"lime.graphics.ImageFileFormat",toString:$estr},JPEG:{_hx_index:1,__enum__:"lime.graphics.ImageFileFormat",toString:$estr},PNG:{_hx_index:2,__enum__:"lime.graphics.ImageFileFormat",toString:$estr}},lime_graphics_ImageType=$hxEnums["lime.graphics.ImageType"]={__ename__:"lime.graphics.ImageType",__constructs__:["CANVAS","DATA","FLASH","CUSTOM"],CANVAS:{_hx_index:0,__enum__:"lime.graphics.ImageType",toString:$estr},DATA:{_hx_index:1,__enum__:"lime.graphics.ImageType",toString:$estr},FLASH:{_hx_index:2,__enum__:"lime.graphics.ImageType",toString:$estr},CUSTOM:{_hx_index:3,__enum__:"lime.graphics.ImageType",toString:$estr}},lime_graphics_OpenGLES2RenderContext={};lime_graphics_OpenGLES2RenderContext.fromGL=function(e){return null},lime_graphics_OpenGLES2RenderContext.fromOpenGLES3RenderContext=function(e){return null},lime_graphics_OpenGLES2RenderContext.fromRenderContext=function(e){return null},lime_graphics_OpenGLES2RenderContext.fromWebGLRenderContext=function(e){return null};var lime_graphics_OpenGLES3RenderContext={};lime_graphics_OpenGLES3RenderContext.fromRenderContext=function(e){return null},lime_graphics_OpenGLES3RenderContext.fromGL=function(e){return null},lime_graphics_OpenGLES3RenderContext.fromOpenGLES2RenderContext=function(e){return null},lime_graphics_OpenGLES3RenderContext.fromWebGLRenderContext=function(e){return null},lime_graphics_OpenGLES3RenderContext.fromWebGL2RenderContext=function(e){return null};var lime_graphics_OpenGLRenderContext={};lime_graphics_OpenGLRenderContext.fromRenderContext=function(e){return null};var lime_graphics_RenderContext=function(){};$hxClasses["lime.graphics.RenderContext"]=lime_graphics_RenderContext,lime_graphics_RenderContext.__name__="lime.graphics.RenderContext",lime_graphics_RenderContext.prototype={attributes:null,cairo:null,canvas2D:null,dom:null,flash:null,gl:null,gles2:null,gles3:null,type:null,version:null,webgl:null,webgl2:null,window:null,__class__:lime_graphics_RenderContext};var lime_graphics_WebGL2RenderContext={};lime_graphics_WebGL2RenderContext.bufferData=function(e,t,i,l,n,s){null!=n?e.bufferData(t,i,l,n,s):e.bufferData(t,i,l)},lime_graphics_WebGL2RenderContext.bufferSubData=function(e,t,i,l,n,s){null!=n?e.bufferSubData(t,i,l,n,s):e.bufferSubData(t,i,l)},lime_graphics_WebGL2RenderContext.compressedTexImage2D=function(e,t,i,l,n,s,a,r,_,o){null!=_?e.compressedTexImage2D(t,i,l,n,s,a,r,_,o):e.compressedTexImage2D(t,i,l,n,s,a,r)},lime_graphics_WebGL2RenderContext.compressedTexSubImage2D=function(e,t,i,l,n,s,a,r,_,o,h){null!=o?e.compressedTexSubImage2D(t,i,l,n,s,a,r,_,o,h):e.compressedTexSubImage2D(t,i,l,n,s,a,r,_)},lime_graphics_WebGL2RenderContext.getBufferSubData=function(e,t,i,l,n,s){null!=n?e.getBufferSubData(t,i,l,n,s):e.getBufferSubData(t,i,l)},lime_graphics_WebGL2RenderContext.readPixels=function(e,t,i,l,n,s,a,r,_){null!=_?e.readPixels(t,i,l,n,s,a,r,_):e.readPixels(t,i,l,n,s,a,r)},lime_graphics_WebGL2RenderContext.texImage2D=function(e,t,i,l,n,s,a,r,_,o,h){null!=h?e.texImage2D(t,i,l,n,s,a,r,_,o,h):null!=r?e.texImage2D(t,i,l,n,s,a,r,_,o):e.texImage2D(t,i,l,n,s,a)},lime_graphics_WebGL2RenderContext.texSubImage2D=function(e,t,i,l,n,s,a,r,_,o,h){null!=h?e.texSubImage2D(t,i,l,n,s,a,r,_,o,h):null!=_?e.texSubImage2D(t,i,l,n,s,a,r,_,o):e.texSubImage2D(t,i,l,n,s,a,r)},lime_graphics_WebGL2RenderContext.uniform1fv=function(e,t,i,l,n){null!=l?e.uniform1fv(t,i,l,n):e.uniform1fv(t,i)},lime_graphics_WebGL2RenderContext.uniform1iv=function(e,t,i,l,n){null!=l?e.uniform1iv(t,i,l,n):e.uniform1iv(t,i)},lime_graphics_WebGL2RenderContext.uniform2fv=function(e,t,i,l,n){null!=l?e.uniform2fv(t,i,l,n):e.uniform2fv(t,i)},lime_graphics_WebGL2RenderContext.uniform2iv=function(e,t,i,l,n){null!=l?e.uniform2iv(t,i,l,n):e.uniform2iv(t,i)},lime_graphics_WebGL2RenderContext.uniform3fv=function(e,t,i,l,n){null!=l?e.uniform3fv(t,i,l,n):e.uniform3fv(t,i)},lime_graphics_WebGL2RenderContext.uniform3iv=function(e,t,i,l,n){null!=l?e.uniform3iv(t,i,l,n):e.uniform3iv(t,i)},lime_graphics_WebGL2RenderContext.uniform4fv=function(e,t,i,l,n){null!=l?e.uniform4fv(t,i,l,n):e.uniform4fv(t,i)},lime_graphics_WebGL2RenderContext.uniform4iv=function(e,t,i,l,n){null!=l?e.uniform4iv(t,i,l,n):e.uniform4iv(t,i)},lime_graphics_WebGL2RenderContext.uniformMatrix2fv=function(e,t,i,l,n,s){null!=n?e.uniformMatrix2fv(t,i,l,n,s):e.uniformMatrix2fv(t,i,l)},lime_graphics_WebGL2RenderContext.uniformMatrix3fv=function(e,t,i,l,n,s){null!=n?e.uniformMatrix3fv(t,i,l,n,s):e.uniformMatrix3fv(t,i,l)},lime_graphics_WebGL2RenderContext.uniformMatrix4fv=function(e,t,i,l,n,s){null!=n?e.uniformMatrix4fv(t,i,l,n,s):e.uniformMatrix4fv(t,i,l)},lime_graphics_WebGL2RenderContext.fromGL=function(e){return null},lime_graphics_WebGL2RenderContext.fromRenderContext=function(e){return e.webgl2},lime_graphics_WebGL2RenderContext.toWebGLRenderContext=function(e){return e};var lime_graphics_WebGLRenderContext={};lime_graphics_WebGLRenderContext.bufferData=function(e,t,i,l){e.bufferData(t,i,l)},lime_graphics_WebGLRenderContext.bufferSubData=function(e,t,i,l){e.bufferSubData(t,i,l)},lime_graphics_WebGLRenderContext.compressedTexImage2D=function(e,t,i,l,n,s,a,r){e.compressedTexImage2D(t,i,l,n,s,a,r)},lime_graphics_WebGLRenderContext.compressedTexSubImage2D=function(e,t,i,l,n,s,a,r,_){e.compressedTexSubImage2D(t,i,l,n,s,a,r,_)},lime_graphics_WebGLRenderContext.readPixels=function(e,t,i,l,n,s,a,r){e.readPixels(t,i,l,n,s,a,r)},lime_graphics_WebGLRenderContext.texImage2D=function(e,t,i,l,n,s,a,r,_,o){null!=r?e.texImage2D(t,i,l,n,s,a,r,_,o):e.texImage2D(t,i,l,n,s,a)},lime_graphics_WebGLRenderContext.texSubImage2D=function(e,t,i,l,n,s,a,r,_,o){null!=_?e.texSubImage2D(t,i,l,n,s,a,r,_,o):e.texSubImage2D(t,i,l,n,s,a,r)},lime_graphics_WebGLRenderContext.uniformMatrix2fv=function(e,t,i,l){var n=l;e.uniformMatrix2fv(t,i,n)},lime_graphics_WebGLRenderContext.uniformMatrix3fv=function(e,t,i,l){var n=l;e.uniformMatrix3fv(t,i,n)},lime_graphics_WebGLRenderContext.uniformMatrix4fv=function(e,t,i,l){var n=l;e.uniformMatrix4fv(t,i,n)},lime_graphics_WebGLRenderContext.fromWebGL2RenderContext=function(e){return e},lime_graphics_WebGLRenderContext.fromRenderContext=function(e){return e.webgl},lime_graphics_WebGLRenderContext.fromGL=function(e){return lime_graphics_opengl_GL.context};var lime_graphics_cairo_Cairo=function(e){};$hxClasses["lime.graphics.cairo.Cairo"]=lime_graphics_cairo_Cairo,lime_graphics_cairo_Cairo.__name__="lime.graphics.cairo.Cairo",lime_graphics_cairo_Cairo.__properties__={get_versionString:"get_versionString",get_version:"get_version"},lime_graphics_cairo_Cairo.version=null,lime_graphics_cairo_Cairo.versionString=null,lime_graphics_cairo_Cairo.get_version=function(){return 0},lime_graphics_cairo_Cairo.get_versionString=function(){return""},lime_graphics_cairo_Cairo.prototype={target:null,userData:null,handle:null,arc:function(e,t,i,l,n){},arcNegative:function(e,t,i,l,n){},clip:function(){},clipExtents:function(e,t,i,l){},clipPreserve:function(){},closePath:function(){},copyPage:function(){},curveTo:function(e,t,i,l,n,s){},fill:function(){},fillExtents:function(e,t,i,l){},fillPreserve:function(){},getOperator:function(){return 0},identityMatrix:function(){},inClip:function(e,t){return!1},inFill:function(e,t){return!1},inStroke:function(e,t){return!1},lineTo:function(e,t){},mask:function(e){},maskSurface:function(e,t,i){},moveTo:function(e,t){},newPath:function(){},paint:function(){},paintWithAlpha:function(e){},popGroup:function(){return null},popGroupToSource:function(){},pushGroup:function(){},pushGroupWithContent:function(e){},recreate:function(e){},rectangle:function(e,t,i,l){},relCurveTo:function(e,t,i,l,n,s){},relLineTo:function(e,t){},relMoveTo:function(e,t){},resetClip:function(){},restore:function(){},rotate:function(e){},save:function(){},scale:function(e,t){},setFontSize:function(e){},setOperator:function(e){return e},setSourceRGB:function(e,t,i){},setSourceRGBA:function(e,t,i,l){},setSourceSurface:function(e,t,i){},showGlyphs:function(e){},showPage:function(){},showText:function(e){},status:function(){return 0},stroke:function(){},strokeExtents:function(e,t,i,l){},strokePreserve:function(){},textPath:function(e){},transform:function(e){},translate:function(e,t){},get_antialias:function(){return 0},set_antialias:function(e){return e},get_currentPoint:function(){return null},get_dash:function(){return[]},set_dash:function(e){return e},get_dashCount:function(){return 0},get_fillRule:function(){return 0},set_fillRule:function(e){return e},get_fontFace:function(){return 0},set_fontFace:function(e){return e},get_fontOptions:function(){return null},set_fontOptions:function(e){return e},get_groupTarget:function(){return 0},get_hasCurrentPoint:function(){return!1},get_lineCap:function(){return 0},set_lineCap:function(e){return e},get_lineJoin:function(){return 0},set_lineJoin:function(e){return e},get_lineWidth:function(){return 0},set_lineWidth:function(e){return e},get_matrix:function(){return null},set_matrix:function(e){return e},get_miterLimit:function(){return 0},set_miterLimit:function(e){return e},get_source:function(){return 0},set_source:function(e){return e},get_target:function(){return 0},get_tolerance:function(){return 0},set_tolerance:function(e){return e},__class__:lime_graphics_cairo_Cairo,__properties__:{set_tolerance:"set_tolerance",get_tolerance:"get_tolerance",get_target:"get_target",set_source:"set_source",get_source:"get_source",set_miterLimit:"set_miterLimit",get_miterLimit:"get_miterLimit",set_matrix:"set_matrix",get_matrix:"get_matrix",set_lineWidth:"set_lineWidth",get_lineWidth:"get_lineWidth",set_lineJoin:"set_lineJoin",get_lineJoin:"get_lineJoin",set_lineCap:"set_lineCap",get_lineCap:"get_lineCap",get_hasCurrentPoint:"get_hasCurrentPoint",get_groupTarget:"get_groupTarget",set_fontOptions:"set_fontOptions",get_fontOptions:"get_fontOptions",set_fontFace:"set_fontFace",get_fontFace:"get_fontFace",set_fillRule:"set_fillRule",get_fillRule:"get_fillRule",get_dashCount:"get_dashCount",set_dash:"set_dash",get_dash:"get_dash",get_currentPoint:"get_currentPoint",set_antialias:"set_antialias",get_antialias:"get_antialias"}};var lime_graphics_cairo_CairoFTFontFace={};lime_graphics_cairo_CairoFTFontFace._new=function(){return 0},lime_graphics_cairo_CairoFTFontFace.create=function(e,t){return 0};var lime_graphics_cairo_CairoFontFace={};lime_graphics_cairo_CairoFontFace._new=function(){return null},lime_graphics_cairo_CairoFontFace.status=function(e){return 0};var lime_graphics_cairo_CairoFontOptions={};lime_graphics_cairo_CairoFontOptions.__properties__={set_subpixelOrder:"set_subpixelOrder",get_subpixelOrder:"get_subpixelOrder",set_hintStyle:"set_hintStyle",get_hintStyle:"get_hintStyle",set_hintMetrics:"set_hintMetrics",get_hintMetrics:"get_hintMetrics",set_antialias:"set_antialias",get_antialias:"get_antialias"},lime_graphics_cairo_CairoFontOptions._new=function(){return null},lime_graphics_cairo_CairoFontOptions.get_antialias=function(e){return 0},lime_graphics_cairo_CairoFontOptions.set_antialias=function(e,t){return t},lime_graphics_cairo_CairoFontOptions.get_hintMetrics=function(e){return 0},lime_graphics_cairo_CairoFontOptions.set_hintMetrics=function(e,t){return t},lime_graphics_cairo_CairoFontOptions.get_hintStyle=function(e){return 0},lime_graphics_cairo_CairoFontOptions.set_hintStyle=function(e,t){return t},lime_graphics_cairo_CairoFontOptions.get_subpixelOrder=function(e){return 0},lime_graphics_cairo_CairoFontOptions.set_subpixelOrder=function(e,t){return t};var lime_graphics_cairo_CairoGlyph=function(e,t,i){null==i&&(i=0),null==t&&(t=0),this.index=e,this.x=t,this.y=i};$hxClasses["lime.graphics.cairo.CairoGlyph"]=lime_graphics_cairo_CairoGlyph,lime_graphics_cairo_CairoGlyph.__name__="lime.graphics.cairo.CairoGlyph",lime_graphics_cairo_CairoGlyph.prototype={index:null,x:null,y:null,__class__:lime_graphics_cairo_CairoGlyph};var lime_graphics_cairo_CairoImageSurface={};lime_graphics_cairo_CairoImageSurface.__properties__={get_width:"get_width",get_stride:"get_stride",get_height:"get_height",get_format:"get_format",get_data:"get_data"},lime_graphics_cairo_CairoImageSurface._new=function(e,t,i){return 0},lime_graphics_cairo_CairoImageSurface.create=function(e,t,i,l,n){return 0},lime_graphics_cairo_CairoImageSurface.fromImage=function(e){return null},lime_graphics_cairo_CairoImageSurface.get_data=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_graphics_cairo_CairoImageSurface.get_format=function(e){return 0},lime_graphics_cairo_CairoImageSurface.get_height=function(e){return 0},lime_graphics_cairo_CairoImageSurface.get_stride=function(e){return 0},lime_graphics_cairo_CairoImageSurface.get_width=function(e){return 0};var lime_graphics_cairo_CairoPattern={};lime_graphics_cairo_CairoPattern.__properties__={set_matrix:"set_matrix",get_matrix:"get_matrix",set_filter:"set_filter",get_filter:"get_filter",set_extend:"set_extend",get_extend:"get_extend",get_colorStopCount:"get_colorStopCount"},lime_graphics_cairo_CairoPattern._new=function(e){return e},lime_graphics_cairo_CairoPattern.addColorStopRGB=function(e,t,i,l,n){},lime_graphics_cairo_CairoPattern.addColorStopRGBA=function(e,t,i,l,n,s){},lime_graphics_cairo_CairoPattern.createForSurface=function(e){return 0},lime_graphics_cairo_CairoPattern.createLinear=function(e,t,i,l){return 0},lime_graphics_cairo_CairoPattern.createRadial=function(e,t,i,l,n,s){return 0},lime_graphics_cairo_CairoPattern.createRGB=function(e,t,i){return 0},lime_graphics_cairo_CairoPattern.createRGBA=function(e,t,i,l){return 0},lime_graphics_cairo_CairoPattern.get_colorStopCount=function(e){return 0},lime_graphics_cairo_CairoPattern.get_extend=function(e){return 0},lime_graphics_cairo_CairoPattern.set_extend=function(e,t){return t},lime_graphics_cairo_CairoPattern.get_filter=function(e){return 0},lime_graphics_cairo_CairoPattern.set_filter=function(e,t){return t},lime_graphics_cairo_CairoPattern.get_matrix=function(e){return null},lime_graphics_cairo_CairoPattern.set_matrix=function(e,t){return t};var lime_graphics_cairo_CairoSurface={};lime_graphics_cairo_CairoSurface.flush=function(e){};var lime_graphics_opengl_GL=function(){};$hxClasses["lime.graphics.opengl.GL"]=lime_graphics_opengl_GL,lime_graphics_opengl_GL.__name__="lime.graphics.opengl.GL",lime_graphics_opengl_GL.context=null,lime_graphics_opengl_GL.type=null,lime_graphics_opengl_GL.version=null,lime_graphics_opengl_GL.activeTexture=function(e){lime_graphics_opengl_GL.context.activeTexture(e)},lime_graphics_opengl_GL.attachShader=function(e,t){lime_graphics_opengl_GL.context.attachShader(e,t)},lime_graphics_opengl_GL.beginQuery=function(e,t){lime_graphics_opengl_GL.context.beginQuery(e,t)},lime_graphics_opengl_GL.beginTransformFeedback=function(e){lime_graphics_opengl_GL.context.beginTransformFeedback(e)},lime_graphics_opengl_GL.bindAttribLocation=function(e,t,i){lime_graphics_opengl_GL.context.bindAttribLocation(e,t,i)},lime_graphics_opengl_GL.bindBuffer=function(e,t){lime_graphics_opengl_GL.context.bindBuffer(e,t)},lime_graphics_opengl_GL.bindBufferBase=function(e,t,i){lime_graphics_opengl_GL.context.bindBufferBase(e,t,i)},lime_graphics_opengl_GL.bindBufferRange=function(e,t,i,l,n){lime_graphics_opengl_GL.context.bindBufferRange(e,t,i,l,lime_utils_DataPointer.fromFloat(n))},lime_graphics_opengl_GL.bindFramebuffer=function(e,t){lime_graphics_opengl_GL.context.bindFramebuffer(e,t)},lime_graphics_opengl_GL.bindRenderbuffer=function(e,t){lime_graphics_opengl_GL.context.bindRenderbuffer(e,t)},lime_graphics_opengl_GL.bindSampler=function(e,t){lime_graphics_opengl_GL.context.bindSampler(e,t)},lime_graphics_opengl_GL.bindTexture=function(e,t){lime_graphics_opengl_GL.context.bindTexture(e,t)},lime_graphics_opengl_GL.bindTransformFeedback=function(e,t){lime_graphics_opengl_GL.context.bindTransformFeedback(e,t)},lime_graphics_opengl_GL.bindVertexArray=function(e){lime_graphics_opengl_GL.context.bindVertexArray(e)},lime_graphics_opengl_GL.blitFramebuffer=function(e,t,i,l,n,s,a,r,_,o){lime_graphics_opengl_GL.context.blitFramebuffer(e,t,i,l,n,s,a,r,_,o)},lime_graphics_opengl_GL.blendColor=function(e,t,i,l){lime_graphics_opengl_GL.context.blendColor(e,t,i,l)},lime_graphics_opengl_GL.blendEquation=function(e){lime_graphics_opengl_GL.context.blendEquation(e)},lime_graphics_opengl_GL.blendEquationSeparate=function(e,t){lime_graphics_opengl_GL.context.blendEquationSeparate(e,t)},lime_graphics_opengl_GL.blendFunc=function(e,t){lime_graphics_opengl_GL.context.blendFunc(e,t)},lime_graphics_opengl_GL.blendFuncSeparate=function(e,t,i,l){lime_graphics_opengl_GL.context.blendFuncSeparate(e,t,i,l)},lime_graphics_opengl_GL.bufferDataWEBGL=function(e,t,i,l,n){var s=lime_graphics_opengl_GL.context;null!=l?s.bufferData(e,t,i,l,n):s.bufferData(e,t,i)},lime_graphics_opengl_GL.bufferSubDataWEBGL=function(e,t,i,l,n){var s=lime_graphics_opengl_GL.context;null!=l?s.bufferSubData(e,t,i,l,n):s.bufferSubData(e,t,i)},lime_graphics_opengl_GL.checkFramebufferStatus=function(e){return lime_graphics_opengl_GL.context.checkFramebufferStatus(e)},lime_graphics_opengl_GL.clear=function(e){lime_graphics_opengl_GL.context.clear(e)},lime_graphics_opengl_GL.clearBufferfi=function(e,t,i,l){lime_graphics_opengl_GL.context.clearBufferfi(e,t,i,l)},lime_graphics_opengl_GL.clearBufferfvWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.clearBufferfv(e,t,i,l)},lime_graphics_opengl_GL.clearBufferivWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.clearBufferiv(e,t,i,l)},lime_graphics_opengl_GL.clearBufferuivWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.clearBufferuiv(e,t,i,l)},lime_graphics_opengl_GL.clearColor=function(e,t,i,l){lime_graphics_opengl_GL.context.clearColor(e,t,i,l)},lime_graphics_opengl_GL.clearDepth=function(e){lime_graphics_opengl_GL.context.clearDepth(e)},lime_graphics_opengl_GL.clearStencil=function(e){lime_graphics_opengl_GL.context.clearStencil(e)},lime_graphics_opengl_GL.clientWaitSync=function(e,t,i){return lime_graphics_opengl_GL.context.clientWaitSync(e,t,i)},lime_graphics_opengl_GL.colorMask=function(e,t,i,l){lime_graphics_opengl_GL.context.colorMask(e,t,i,l)},lime_graphics_opengl_GL.compileShader=function(e){lime_graphics_opengl_GL.context.compileShader(e)},lime_graphics_opengl_GL.compressedTexImage2DWEBGL=function(e,t,i,l,n,s,a,r,_){var o=lime_graphics_opengl_GL.context;null!=r?o.compressedTexImage2D(e,t,i,l,n,s,a,r,_):o.compressedTexImage2D(e,t,i,l,n,s,a)},lime_graphics_opengl_GL.compressedTexImage3DWEBGL=function(e,t,i,l,n,s,a,r,_,o){lime_graphics_opengl_GL.context.compressedTexImage3D(e,t,i,l,n,s,a,r,_,o)},lime_graphics_opengl_GL.compressedTexSubImage2DWEBGL=function(e,t,i,l,n,s,a,r,_,o){var h=lime_graphics_opengl_GL.context;null!=_?h.compressedTexSubImage2D(e,t,i,l,n,s,a,r,_,o):h.compressedTexSubImage2D(e,t,i,l,n,s,a,r)},lime_graphics_opengl_GL.compressedTexSubImage3DWEBGL=function(e,t,i,l,n,s,a,r,_,o,h,u){lime_graphics_opengl_GL.context.compressedTexSubImage3D(e,t,i,l,n,s,a,r,_,o,h,u)},lime_graphics_opengl_GL.copyTexImage2D=function(e,t,i,l,n,s,a,r){lime_graphics_opengl_GL.context.copyTexImage2D(e,t,i,l,n,s,a,r)},lime_graphics_opengl_GL.copyTexSubImage2D=function(e,t,i,l,n,s,a,r){lime_graphics_opengl_GL.context.copyTexSubImage2D(e,t,i,l,n,s,a,r)},lime_graphics_opengl_GL.copyTexSubImage3D=function(e,t,i,l,n,s,a,r,_){lime_graphics_opengl_GL.context.copyTexSubImage3D(e,t,i,l,n,s,a,r,_)},lime_graphics_opengl_GL.createBuffer=function(){return lime_graphics_opengl_GL.context.createBuffer()},lime_graphics_opengl_GL.createFramebuffer=function(){return lime_graphics_opengl_GL.context.createFramebuffer()},lime_graphics_opengl_GL.createProgram=function(){return lime_graphics_opengl_GL.context.createProgram()},lime_graphics_opengl_GL.createQuery=function(){return lime_graphics_opengl_GL.context.createQuery()},lime_graphics_opengl_GL.createRenderbuffer=function(){return lime_graphics_opengl_GL.context.createRenderbuffer()},lime_graphics_opengl_GL.createSampler=function(){return lime_graphics_opengl_GL.context.createSampler()},lime_graphics_opengl_GL.createShader=function(e){return lime_graphics_opengl_GL.context.createShader(e)},lime_graphics_opengl_GL.createTexture=function(){return lime_graphics_opengl_GL.context.createTexture()},lime_graphics_opengl_GL.createTransformFeedback=function(){return lime_graphics_opengl_GL.context.createTransformFeedback()},lime_graphics_opengl_GL.createVertexArray=function(){return lime_graphics_opengl_GL.context.createVertexArray()},lime_graphics_opengl_GL.cullFace=function(e){lime_graphics_opengl_GL.context.cullFace(e)},lime_graphics_opengl_GL.deleteBuffer=function(e){lime_graphics_opengl_GL.context.deleteBuffer(e)},lime_graphics_opengl_GL.deleteFramebuffer=function(e){lime_graphics_opengl_GL.context.deleteFramebuffer(e)},lime_graphics_opengl_GL.deleteProgram=function(e){lime_graphics_opengl_GL.context.deleteProgram(e)},lime_graphics_opengl_GL.deleteQuery=function(e){lime_graphics_opengl_GL.context.deleteQuery(e)},lime_graphics_opengl_GL.deleteRenderbuffer=function(e){lime_graphics_opengl_GL.context.deleteRenderbuffer(e)},lime_graphics_opengl_GL.deleteSampler=function(e){lime_graphics_opengl_GL.context.deleteSampler(e)},lime_graphics_opengl_GL.deleteShader=function(e){lime_graphics_opengl_GL.context.deleteShader(e)},lime_graphics_opengl_GL.deleteSync=function(e){lime_graphics_opengl_GL.context.deleteSync(e)},lime_graphics_opengl_GL.deleteTexture=function(e){lime_graphics_opengl_GL.context.deleteTexture(e)},lime_graphics_opengl_GL.deleteTransformFeedback=function(e){lime_graphics_opengl_GL.context.deleteTransformFeedback(e)},lime_graphics_opengl_GL.deleteVertexArray=function(e){lime_graphics_opengl_GL.context.deleteVertexArray(e)},lime_graphics_opengl_GL.depthFunc=function(e){lime_graphics_opengl_GL.context.depthFunc(e)},lime_graphics_opengl_GL.depthMask=function(e){lime_graphics_opengl_GL.context.depthMask(e)},lime_graphics_opengl_GL.depthRange=function(e,t){lime_graphics_opengl_GL.context.depthRange(e,t)},lime_graphics_opengl_GL.detachShader=function(e,t){lime_graphics_opengl_GL.context.detachShader(e,t)},lime_graphics_opengl_GL.disable=function(e){lime_graphics_opengl_GL.context.disable(e)},lime_graphics_opengl_GL.disableVertexAttribArray=function(e){lime_graphics_opengl_GL.context.disableVertexAttribArray(e)},lime_graphics_opengl_GL.drawArrays=function(e,t,i){lime_graphics_opengl_GL.context.drawArrays(e,t,i)},lime_graphics_opengl_GL.drawArraysInstanced=function(e,t,i,l){lime_graphics_opengl_GL.context.drawArraysInstanced(e,t,i,l)},lime_graphics_opengl_GL.drawBuffers=function(e){lime_graphics_opengl_GL.context.drawBuffers(e)},lime_graphics_opengl_GL.drawElements=function(e,t,i,l){lime_graphics_opengl_GL.context.drawElements(e,t,i,l)},lime_graphics_opengl_GL.drawElementsInstanced=function(e,t,i,l,n){lime_graphics_opengl_GL.context.drawElementsInstanced(e,t,i,l,n)},lime_graphics_opengl_GL.drawRangeElements=function(e,t,i,l,n,s){lime_graphics_opengl_GL.context.drawRangeElements(e,t,i,l,n,s)},lime_graphics_opengl_GL.enable=function(e){lime_graphics_opengl_GL.context.enable(e)},lime_graphics_opengl_GL.enableVertexAttribArray=function(e){lime_graphics_opengl_GL.context.enableVertexAttribArray(e)},lime_graphics_opengl_GL.endQuery=function(e){lime_graphics_opengl_GL.context.endQuery(e)},lime_graphics_opengl_GL.endTransformFeedback=function(){lime_graphics_opengl_GL.context.endTransformFeedback()},lime_graphics_opengl_GL.fenceSync=function(e,t){return lime_graphics_opengl_GL.context.fenceSync(e,t)},lime_graphics_opengl_GL.finish=function(){lime_graphics_opengl_GL.context.finish()},lime_graphics_opengl_GL.flush=function(){lime_graphics_opengl_GL.context.flush()},lime_graphics_opengl_GL.framebufferRenderbuffer=function(e,t,i,l){lime_graphics_opengl_GL.context.framebufferRenderbuffer(e,t,i,l)},lime_graphics_opengl_GL.framebufferTexture2D=function(e,t,i,l,n){lime_graphics_opengl_GL.context.framebufferTexture2D(e,t,i,l,n)},lime_graphics_opengl_GL.framebufferTextureLayer=function(e,t,i,l,n){lime_graphics_opengl_GL.context.framebufferTextureLayer(e,t,i,l,n)},lime_graphics_opengl_GL.frontFace=function(e){lime_graphics_opengl_GL.context.frontFace(e)},lime_graphics_opengl_GL.generateMipmap=function(e){lime_graphics_opengl_GL.context.generateMipmap(e)},lime_graphics_opengl_GL.getActiveAttrib=function(e,t){return lime_graphics_opengl_GL.context.getActiveAttrib(e,t)},lime_graphics_opengl_GL.getActiveUniform=function(e,t){return lime_graphics_opengl_GL.context.getActiveUniform(e,t)},lime_graphics_opengl_GL.getActiveUniformBlockName=function(e,t){return lime_graphics_opengl_GL.context.getActiveUniformBlockName(e,t)},lime_graphics_opengl_GL.getActiveUniformBlockParameter=function(e,t,i){return lime_graphics_opengl_GL.context.getActiveUniformBlockParameter(e,t,i)},lime_graphics_opengl_GL.getActiveUniforms=function(e,t,i){return lime_graphics_opengl_GL.context.getActiveUniforms(e,t,i)},lime_graphics_opengl_GL.getAttachedShaders=function(e){return lime_graphics_opengl_GL.context.getAttachedShaders(e)},lime_graphics_opengl_GL.getAttribLocation=function(e,t){return lime_graphics_opengl_GL.context.getAttribLocation(e,t)},lime_graphics_opengl_GL.getBufferParameter=function(e,t){return lime_graphics_opengl_GL.context.getBufferParameter(e,t)},lime_graphics_opengl_GL.getBufferSubDataWEBGL=function(e,t,i,l,n){var s=lime_graphics_opengl_GL.context;null!=l?s.getBufferSubData(e,t,i,l,n):s.getBufferSubData(e,t,i)},lime_graphics_opengl_GL.getContextAttributes=function(){return lime_graphics_opengl_GL.context.getContextAttributes()},lime_graphics_opengl_GL.getError=function(){return lime_graphics_opengl_GL.context.getError()},lime_graphics_opengl_GL.getExtension=function(e){return lime_graphics_opengl_GL.context.getExtension(e)},lime_graphics_opengl_GL.getFragDataLocation=function(e,t){return lime_graphics_opengl_GL.context.getFragDataLocation(e,t)},lime_graphics_opengl_GL.getFramebufferAttachmentParameter=function(e,t,i){return lime_graphics_opengl_GL.context.getFramebufferAttachmentParameter(e,t,i)},lime_graphics_opengl_GL.getIndexedParameter=function(e,t){return lime_graphics_opengl_GL.context.getIndexedParameter(e,t)},lime_graphics_opengl_GL.getInternalformatParameter=function(e,t,i){return lime_graphics_opengl_GL.context.getInternalformatParameter(e,t,i)},lime_graphics_opengl_GL.getParameter=function(e){return lime_graphics_opengl_GL.context.getParameter(e)},lime_graphics_opengl_GL.getProgramInfoLog=function(e){return lime_graphics_opengl_GL.context.getProgramInfoLog(e)},lime_graphics_opengl_GL.getProgramParameter=function(e,t){return lime_graphics_opengl_GL.context.getProgramParameter(e,t)},lime_graphics_opengl_GL.getQuery=function(e,t){return lime_graphics_opengl_GL.context.getQuery(e,t)},lime_graphics_opengl_GL.getQueryParameter=function(e,t){return lime_graphics_opengl_GL.context.getQueryParameter(e,t)},lime_graphics_opengl_GL.getRenderbufferParameter=function(e,t){return lime_graphics_opengl_GL.context.getRenderbufferParameter(e,t)},lime_graphics_opengl_GL.getSamplerParameter=function(e,t){return lime_graphics_opengl_GL.context.getSamplerParameter(e,t)},lime_graphics_opengl_GL.getShaderInfoLog=function(e){return lime_graphics_opengl_GL.context.getShaderInfoLog(e)},lime_graphics_opengl_GL.getShaderParameter=function(e,t){return lime_graphics_opengl_GL.context.getShaderParameter(e,t)},lime_graphics_opengl_GL.getShaderPrecisionFormat=function(e,t){return lime_graphics_opengl_GL.context.getShaderPrecisionFormat(e,t)},lime_graphics_opengl_GL.getShaderSource=function(e){return lime_graphics_opengl_GL.context.getShaderSource(e)},lime_graphics_opengl_GL.getSupportedExtensions=function(){return lime_graphics_opengl_GL.context.getSupportedExtensions()},lime_graphics_opengl_GL.getSyncParameter=function(e,t){return lime_graphics_opengl_GL.context.getSyncParameter(e,t)},lime_graphics_opengl_GL.getTexParameter=function(e,t){return lime_graphics_opengl_GL.context.getTexParameter(e,t)},lime_graphics_opengl_GL.getTransformFeedbackVarying=function(e,t){return lime_graphics_opengl_GL.context.getTransformFeedbackVarying(e,t)},lime_graphics_opengl_GL.getUniform=function(e,t){return lime_graphics_opengl_GL.context.getUniform(e,t)},lime_graphics_opengl_GL.getUniformBlockIndex=function(e,t){return lime_graphics_opengl_GL.context.getUniformBlockIndex(e,t)},lime_graphics_opengl_GL.getUniformIndices=function(e,t){return lime_graphics_opengl_GL.context.getUniformIndices(e,t)},lime_graphics_opengl_GL.getUniformLocation=function(e,t){return lime_graphics_opengl_GL.context.getUniformLocation(e,t)},lime_graphics_opengl_GL.getVertexAttrib=function(e,t){return lime_graphics_opengl_GL.context.getVertexAttrib(e,t)},lime_graphics_opengl_GL.getVertexAttribOffset=function(e,t){return lime_utils_DataPointer.fromFloat(lime_graphics_opengl_GL.context.getVertexAttribOffset(e,t))},lime_graphics_opengl_GL.hint=function(e,t){lime_graphics_opengl_GL.context.hint(e,t)},lime_graphics_opengl_GL.invalidateFramebuffer=function(e,t){lime_graphics_opengl_GL.context.invalidateFramebuffer(e,t)},lime_graphics_opengl_GL.invalidateSubFramebuffer=function(e,t,i,l,n,s){lime_graphics_opengl_GL.context.invalidateSubFramebuffer(e,t,i,l,n,s)},lime_graphics_opengl_GL.isBuffer=function(e){return lime_graphics_opengl_GL.context.isBuffer(e)},lime_graphics_opengl_GL.isContextLost=function(){return lime_graphics_opengl_GL.context.isContextLost()},lime_graphics_opengl_GL.isEnabled=function(e){return lime_graphics_opengl_GL.context.isEnabled(e)},lime_graphics_opengl_GL.isFramebuffer=function(e){return lime_graphics_opengl_GL.context.isFramebuffer(e)},lime_graphics_opengl_GL.isProgram=function(e){return lime_graphics_opengl_GL.context.isProgram(e)},lime_graphics_opengl_GL.isQuery=function(e){return lime_graphics_opengl_GL.context.isQuery(e)},lime_graphics_opengl_GL.isRenderbuffer=function(e){return lime_graphics_opengl_GL.context.isRenderbuffer(e)},lime_graphics_opengl_GL.isSampler=function(e){return lime_graphics_opengl_GL.context.isSampler(e)},lime_graphics_opengl_GL.isShader=function(e){return lime_graphics_opengl_GL.context.isShader(e)},lime_graphics_opengl_GL.isSync=function(e){return lime_graphics_opengl_GL.context.isSync(e)},lime_graphics_opengl_GL.isTexture=function(e){return lime_graphics_opengl_GL.context.isTexture(e)},lime_graphics_opengl_GL.isTransformFeedback=function(e){return lime_graphics_opengl_GL.context.isTransformFeedback(e)},lime_graphics_opengl_GL.isVertexArray=function(e){return lime_graphics_opengl_GL.context.isVertexArray(e)},lime_graphics_opengl_GL.lineWidth=function(e){lime_graphics_opengl_GL.context.lineWidth(e)},lime_graphics_opengl_GL.linkProgram=function(e){lime_graphics_opengl_GL.context.linkProgram(e)},lime_graphics_opengl_GL.pauseTransformFeedback=function(){lime_graphics_opengl_GL.context.pauseTransformFeedback()},lime_graphics_opengl_GL.pixelStorei=function(e,t){lime_graphics_opengl_GL.context.pixelStorei(e,t)},lime_graphics_opengl_GL.polygonOffset=function(e,t){lime_graphics_opengl_GL.context.polygonOffset(e,t)},lime_graphics_opengl_GL.readBuffer=function(e){lime_graphics_opengl_GL.context.readBuffer(e)},lime_graphics_opengl_GL.readPixelsWEBGL=function(e,t,i,l,n,s,a,r){var _=lime_graphics_opengl_GL.context;null!=r?_.readPixels(e,t,i,l,n,s,a,r):_.readPixels(e,t,i,l,n,s,a)},lime_graphics_opengl_GL.renderbufferStorage=function(e,t,i,l){lime_graphics_opengl_GL.context.renderbufferStorage(e,t,i,l)},lime_graphics_opengl_GL.renderbufferStorageMultisample=function(e,t,i,l,n){lime_graphics_opengl_GL.context.renderbufferStorageMultisample(e,t,i,l,n)},lime_graphics_opengl_GL.resumeTransformFeedback=function(){lime_graphics_opengl_GL.context.resumeTransformFeedback()},lime_graphics_opengl_GL.sampleCoverage=function(e,t){lime_graphics_opengl_GL.context.sampleCoverage(e,t)},lime_graphics_opengl_GL.samplerParameterf=function(e,t,i){lime_graphics_opengl_GL.context.samplerParameterf(e,t,i)},lime_graphics_opengl_GL.samplerParameteri=function(e,t,i){lime_graphics_opengl_GL.context.samplerParameteri(e,t,i)},lime_graphics_opengl_GL.scissor=function(e,t,i,l){lime_graphics_opengl_GL.context.scissor(e,t,i,l)},lime_graphics_opengl_GL.shaderSource=function(e,t){lime_graphics_opengl_GL.context.shaderSource(e,t)},lime_graphics_opengl_GL.stencilFunc=function(e,t,i){lime_graphics_opengl_GL.context.stencilFunc(e,t,i)},lime_graphics_opengl_GL.stencilFuncSeparate=function(e,t,i,l){lime_graphics_opengl_GL.context.stencilFuncSeparate(e,t,i,l)},lime_graphics_opengl_GL.stencilMask=function(e){lime_graphics_opengl_GL.context.stencilMask(e)},lime_graphics_opengl_GL.stencilMaskSeparate=function(e,t){lime_graphics_opengl_GL.context.stencilMaskSeparate(e,t)},lime_graphics_opengl_GL.stencilOp=function(e,t,i){lime_graphics_opengl_GL.context.stencilOp(e,t,i)},lime_graphics_opengl_GL.stencilOpSeparate=function(e,t,i,l){lime_graphics_opengl_GL.context.stencilOpSeparate(e,t,i,l)},lime_graphics_opengl_GL.texImage2DWEBGL=function(e,t,i,l,n,s,a,r,_,o){var h=lime_graphics_opengl_GL.context;null!=o?h.texImage2D(e,t,i,l,n,s,a,r,_,o):null!=a?h.texImage2D(e,t,i,l,n,s,a,r,_):h.texImage2D(e,t,i,l,n,s)},lime_graphics_opengl_GL.texImage3DWEBGL=function(e,t,i,l,n,s,a,r,_,o,h){lime_graphics_opengl_GL.context.texImage3D(e,t,i,l,n,s,a,r,_,o,h)},lime_graphics_opengl_GL.texStorage2D=function(e,t,i,l,n){lime_graphics_opengl_GL.context.texStorage2D(e,t,i,l,n)},lime_graphics_opengl_GL.texStorage3D=function(e,t,i,l,n,s){lime_graphics_opengl_GL.context.texStorage3D(e,t,i,l,n,s)},lime_graphics_opengl_GL.texParameterf=function(e,t,i){lime_graphics_opengl_GL.context.texParameterf(e,t,i)},lime_graphics_opengl_GL.texParameteri=function(e,t,i){lime_graphics_opengl_GL.context.texParameteri(e,t,i)},lime_graphics_opengl_GL.texSubImage2DWEBGL=function(e,t,i,l,n,s,a,r,_,o){var h=lime_graphics_opengl_GL.context;null!=o?h.texSubImage2D(e,t,i,l,n,s,a,r,_,o):null!=r?h.texSubImage2D(e,t,i,l,n,s,a,r,_):h.texSubImage2D(e,t,i,l,n,s,a)},lime_graphics_opengl_GL.texSubImage3DWEBGL=function(e,t,i,l,n,s,a,r,_,o,h,u){lime_graphics_opengl_GL.context.texSubImage3D(e,t,i,l,n,s,a,r,_,o,h,u)},lime_graphics_opengl_GL.transformFeedbackVaryings=function(e,t,i){lime_graphics_opengl_GL.context.transformFeedbackVaryings(e,t,i)},lime_graphics_opengl_GL.uniform1f=function(e,t){lime_graphics_opengl_GL.context.uniform1f(e,t)},lime_graphics_opengl_GL.uniform1fvWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform1fv(e,t,i,l):n.uniform1fv(e,t)},lime_graphics_opengl_GL.uniform1i=function(e,t){lime_graphics_opengl_GL.context.uniform1i(e,t)},lime_graphics_opengl_GL.uniform1ivWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform1iv(e,t,i,l):n.uniform1iv(e,t)},lime_graphics_opengl_GL.uniform1ui=function(e,t){lime_graphics_opengl_GL.context.uniform1ui(e,t)},lime_graphics_opengl_GL.uniform1uivWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform1uiv(e,t,i,l)},lime_graphics_opengl_GL.uniform2f=function(e,t,i){lime_graphics_opengl_GL.context.uniform2f(e,t,i)},lime_graphics_opengl_GL.uniform2fvWEBGL=function(e,t,i,l){lime_graphics_WebGL2RenderContext.uniform2fv(lime_graphics_opengl_GL.context,e,t,i,l)},lime_graphics_opengl_GL.uniform2i=function(e,t,i){lime_graphics_opengl_GL.context.uniform2i(e,t,i)},lime_graphics_opengl_GL.uniform2ivWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform2iv(e,t,i,l):n.uniform2iv(e,t)},lime_graphics_opengl_GL.uniform2ui=function(e,t,i){lime_graphics_opengl_GL.context.uniform2ui(e,t,i)},lime_graphics_opengl_GL.uniform2uivWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform2uiv(e,t,i,l)},lime_graphics_opengl_GL.uniform3f=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform3f(e,t,i,l)},lime_graphics_opengl_GL.uniform3fvWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform3fv(e,t,i,l):n.uniform3fv(e,t)},lime_graphics_opengl_GL.uniform3i=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform3i(e,t,i,l)},lime_graphics_opengl_GL.uniform3ivWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform3iv(e,t,i,l):n.uniform3iv(e,t)},lime_graphics_opengl_GL.uniform3ui=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform3ui(e,t,i,l)},lime_graphics_opengl_GL.uniform3uivWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform3uiv(e,t,i,l)},lime_graphics_opengl_GL.uniform4f=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniform4f(e,t,i,l,n)},lime_graphics_opengl_GL.uniform4fvWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform4fv(e,t,i,l):n.uniform4fv(e,t)},lime_graphics_opengl_GL.uniform4i=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniform4i(e,t,i,l,n)},lime_graphics_opengl_GL.uniform4ivWEBGL=function(e,t,i,l){var n=lime_graphics_opengl_GL.context;null!=i?n.uniform4iv(e,t,i,l):n.uniform4iv(e,t)},lime_graphics_opengl_GL.uniform4ui=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniform4ui(e,t,i,l,n)},lime_graphics_opengl_GL.uniform4uivWEBGL=function(e,t,i,l){lime_graphics_opengl_GL.context.uniform4uiv(e,t,i,l)},lime_graphics_opengl_GL.uniformBlockBinding=function(e,t,i){lime_graphics_opengl_GL.context.uniformBlockBinding(e,t,i)},lime_graphics_opengl_GL.uniformMatrix2fvWEBGL=function(e,t,i,l,n){var s=lime_graphics_opengl_GL.context;null!=l?s.uniformMatrix2fv(e,t,i,l,n):s.uniformMatrix2fv(e,t,i)},lime_graphics_opengl_GL.uniformMatrix2x3fvWEBGL=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniformMatrix2x3fv(e,t,i,l,n)},lime_graphics_opengl_GL.uniformMatrix2x4fvWEBGL=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniformMatrix2x4fv(e,t,i,l,n)},lime_graphics_opengl_GL.uniformMatrix3fvWEBGL=function(e,t,i,l,n){var s=lime_graphics_opengl_GL.context;null!=l?s.uniformMatrix3fv(e,t,i,l,n):s.uniformMatrix3fv(e,t,i)},lime_graphics_opengl_GL.uniformMatrix3x2fvWEBGL=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniformMatrix3x2fv(e,t,i,l,n)},lime_graphics_opengl_GL.uniformMatrix3x4fvWEBGL=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniformMatrix3x4fv(e,t,i,l,n)},lime_graphics_opengl_GL.uniformMatrix4fvWEBGL=function(e,t,i,l,n){var s=lime_graphics_opengl_GL.context;null!=l?s.uniformMatrix4fv(e,t,i,l,n):s.uniformMatrix4fv(e,t,i)},lime_graphics_opengl_GL.uniformMatrix4x2fvWEBGL=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniformMatrix4x2fv(e,t,i,l,n)},lime_graphics_opengl_GL.uniformMatrix4x3fvWEBGL=function(e,t,i,l,n){lime_graphics_opengl_GL.context.uniformMatrix4x3fv(e,t,i,l,n)},lime_graphics_opengl_GL.useProgram=function(e){lime_graphics_opengl_GL.context.useProgram(e)},lime_graphics_opengl_GL.validateProgram=function(e){lime_graphics_opengl_GL.context.validateProgram(e)},lime_graphics_opengl_GL.vertexAttrib1f=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib1f(e,t)},lime_graphics_opengl_GL.vertexAttrib1fv=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib1fv(e,t)},lime_graphics_opengl_GL.vertexAttrib1fvWEBGL=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib1fv(e,t)},lime_graphics_opengl_GL.vertexAttrib2f=function(e,t,i){lime_graphics_opengl_GL.context.vertexAttrib2f(e,t,i)},lime_graphics_opengl_GL.vertexAttrib2fv=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib2fv(e,t)},lime_graphics_opengl_GL.vertexAttrib2fvWEBGL=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib2fv(e,t)},lime_graphics_opengl_GL.vertexAttrib3f=function(e,t,i,l){lime_graphics_opengl_GL.context.vertexAttrib3f(e,t,i,l)},lime_graphics_opengl_GL.vertexAttrib3fv=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib3fv(e,t)},lime_graphics_opengl_GL.vertexAttrib3fvWEBGL=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib3fv(e,t)},lime_graphics_opengl_GL.vertexAttrib4f=function(e,t,i,l,n){lime_graphics_opengl_GL.context.vertexAttrib4f(e,t,i,l,n)},lime_graphics_opengl_GL.vertexAttrib4fv=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib4fv(e,t)},lime_graphics_opengl_GL.vertexAttrib4fvWEBGL=function(e,t){lime_graphics_opengl_GL.context.vertexAttrib4fv(e,t)},lime_graphics_opengl_GL.vertexAttribDivisor=function(e,t){lime_graphics_opengl_GL.context.vertexAttribDivisor(e,t)},lime_graphics_opengl_GL.vertexAttribI4i=function(e,t,i,l,n){lime_graphics_opengl_GL.context.vertexAttribI4i(e,t,i,l,n)},lime_graphics_opengl_GL.vertexAttribI4iv=function(e,t){lime_graphics_opengl_GL.context.vertexAttribI4iv(e,t)},lime_graphics_opengl_GL.vertexAttribI4ivWEBGL=function(e,t){lime_graphics_opengl_GL.context.vertexAttribI4iv(e,t)},lime_graphics_opengl_GL.vertexAttribI4ui=function(e,t,i,l,n){lime_graphics_opengl_GL.context.vertexAttribI4ui(e,t,i,l,n)},lime_graphics_opengl_GL.vertexAttribI4uiv=function(e,t){lime_graphics_opengl_GL.context.vertexAttribI4uiv(e,t)},lime_graphics_opengl_GL.vertexAttribI4uivWEBGL=function(e,t){lime_graphics_opengl_GL.context.vertexAttribI4uiv(e,t)},lime_graphics_opengl_GL.vertexAttribIPointer=function(e,t,i,l,n){lime_graphics_opengl_GL.context.vertexAttribIPointer(e,t,i,l,n)},lime_graphics_opengl_GL.vertexAttribPointer=function(e,t,i,l,n,s){lime_graphics_opengl_GL.context.vertexAttribPointer(e,t,i,l,n,s)},lime_graphics_opengl_GL.viewport=function(e,t,i,l){lime_graphics_opengl_GL.context.viewport(e,t,i,l)},lime_graphics_opengl_GL.waitSync=function(e,t,i){lime_graphics_opengl_GL.context.waitSync(e,t,i)},lime_graphics_opengl_GL.__getObjectID=function(e){return null==e?0:e.id};var lime_graphics_opengl_GLProgram={};lime_graphics_opengl_GLProgram.fromSources=function(e,t,i){var l=lime_graphics_opengl_GLShader.fromSource(e,t,e.VERTEX_SHADER),n=lime_graphics_opengl_GLShader.fromSource(e,i,e.FRAGMENT_SHADER),s=e.createProgram();if(e.attachShader(s,l),e.attachShader(s,n),e.linkProgram(s),0==e.getProgramParameter(s,35714)){var a="Unable to initialize the shader program";a+="\n"+lime_graphics_opengl_GL.context.getProgramInfoLog(s),lime_utils_Log.error(a,{fileName:"lime/graphics/opengl/GLProgram.hx",lineNumber:39,className:"lime.graphics.opengl._GLProgram.GLProgram_Impl_",methodName:"fromSources"})}return s};var lime_graphics_opengl_GLShader={};lime_graphics_opengl_GLShader.fromSource=function(e,t,i){var l=e.createShader(i);if(e.shaderSource(l,t),e.compileShader(l),0==e.getShaderParameter(l,e.COMPILE_STATUS)){var n;n=i==e.VERTEX_SHADER?"Error compiling vertex shader":i==e.FRAGMENT_SHADER?"Error compiling fragment shader":"Error compiling unknown shader type",n+="\n"+e.getShaderInfoLog(l),lime_utils_Log.error(n,{fileName:"lime/graphics/opengl/GLShader.hx",lineNumber:40,className:"lime.graphics.opengl._GLShader.GLShader_Impl_",methodName:"fromSource"})}return l};var lime_graphics_opengl_ext_KHR_$debug=function(){this.STACK_UNDERFLOW=1284,this.STACK_OVERFLOW=1283,this.CONTEXT_FLAG_DEBUG_BIT=2,this.DEBUG_OUTPUT=37600,this.DEBUG_SEVERITY_LOW=37192,this.DEBUG_SEVERITY_MEDIUM=37191,this.DEBUG_SEVERITY_HIGH=37190,this.DEBUG_LOGGED_MESSAGES=37189,this.MAX_DEBUG_LOGGED_MESSAGES=37188,this.MAX_DEBUG_MESSAGE_LENGTH=37187,this.MAX_LABEL_LENGTH=33512,this.SAMPLER=33510,this.QUERY=33507,this.PROGRAM=33506,this.SHADER=33505,this.BUFFER=33504,this.DEBUG_GROUP_STACK_DEPTH=33389,this.MAX_DEBUG_GROUP_STACK_DEPTH=33388,this.DEBUG_SEVERITY_NOTIFICATION=33387,this.DEBUG_TYPE_POP_GROUP=33386,this.DEBUG_TYPE_PUSH_GROUP=33385,this.DEBUG_TYPE_MARKER=33384,this.DEBUG_TYPE_OTHER=33361,this.DEBUG_TYPE_PERFORMANCE=33360,this.DEBUG_TYPE_PORTABILITY=33359,this.DEBUG_TYPE_UNDEFINED_BEHAVIOR=33358,this.DEBUG_TYPE_DEPRECATED_BEHAVIOR=33357,this.DEBUG_TYPE_ERROR=33356,this.DEBUG_SOURCE_OTHER=33355,this.DEBUG_SOURCE_APPLICATION=33354,this.DEBUG_SOURCE_THIRD_PARTY=33353,this.DEBUG_SOURCE_SHADER_COMPILER=33352,this.DEBUG_SOURCE_WINDOW_SYSTEM=33351,this.DEBUG_SOURCE_API=33350,this.DEBUG_CALLBACK_USER_PARAM=33349,this.DEBUG_CALLBACK_FUNCTION=33348,this.DEBUG_NEXT_LOGGED_MESSAGE_LENGTH=33347,this.DEBUG_OUTPUT_SYNCHRONOUS=33346};$hxClasses["lime.graphics.opengl.ext.KHR_debug"]=lime_graphics_opengl_ext_KHR_$debug,lime_graphics_opengl_ext_KHR_$debug.__name__="lime.graphics.opengl.ext.KHR_debug",lime_graphics_opengl_ext_KHR_$debug.prototype={DEBUG_OUTPUT_SYNCHRONOUS:null,DEBUG_NEXT_LOGGED_MESSAGE_LENGTH:null,DEBUG_CALLBACK_FUNCTION:null,DEBUG_CALLBACK_USER_PARAM:null,DEBUG_SOURCE_API:null,DEBUG_SOURCE_WINDOW_SYSTEM:null,DEBUG_SOURCE_SHADER_COMPILER:null,DEBUG_SOURCE_THIRD_PARTY:null,DEBUG_SOURCE_APPLICATION:null,DEBUG_SOURCE_OTHER:null,DEBUG_TYPE_ERROR:null,DEBUG_TYPE_DEPRECATED_BEHAVIOR:null,DEBUG_TYPE_UNDEFINED_BEHAVIOR:null,DEBUG_TYPE_PORTABILITY:null,DEBUG_TYPE_PERFORMANCE:null,DEBUG_TYPE_OTHER:null,DEBUG_TYPE_MARKER:null,DEBUG_TYPE_PUSH_GROUP:null,DEBUG_TYPE_POP_GROUP:null,DEBUG_SEVERITY_NOTIFICATION:null,MAX_DEBUG_GROUP_STACK_DEPTH:null,DEBUG_GROUP_STACK_DEPTH:null,BUFFER:null,SHADER:null,PROGRAM:null,QUERY:null,SAMPLER:null,MAX_LABEL_LENGTH:null,MAX_DEBUG_MESSAGE_LENGTH:null,MAX_DEBUG_LOGGED_MESSAGES:null,DEBUG_LOGGED_MESSAGES:null,DEBUG_SEVERITY_HIGH:null,DEBUG_SEVERITY_MEDIUM:null,DEBUG_SEVERITY_LOW:null,DEBUG_OUTPUT:null,CONTEXT_FLAG_DEBUG_BIT:null,STACK_OVERFLOW:null,STACK_UNDERFLOW:null,__class__:lime_graphics_opengl_ext_KHR_$debug};var lime_math_ARGB={};lime_math_ARGB.__properties__={set_r:"set_r",get_r:"get_r",set_g:"set_g",get_g:"get_g",set_b:"set_b",get_b:"get_b",set_a:"set_a",get_a:"get_a"},lime_math_ARGB.a16=null,lime_math_ARGB.unmult=null,lime_math_ARGB._new=function(e){return null==e&&(e=0),e},lime_math_ARGB.create=function(e,t,i,l){return(255&e)<<24|(255&t)<<16|(255&i)<<8|255&l},lime_math_ARGB.multiplyAlpha=function(e){0==(e>>>24&255)?e=0:255!=(e>>>24&255)&&(lime_math_ARGB.a16=lime_math_RGBA.__alpha16[e>>>24&255],e=(255&e>>>24)<<24|((e>>>16&255)*lime_math_ARGB.a16>>16&255)<<16|((e>>>8&255)*lime_math_ARGB.a16>>16&255)<<8|(255&e)*lime_math_ARGB.a16>>16&255)},lime_math_ARGB.readUInt8=function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),l){case 0:e=(255&t[i+1])<<24|(255&t[i+2])<<16|(255&t[i+3])<<8|255&t[i];break;case 1:e=(255&t[i+2])<<24|(255&t[i+3])<<16|(255&t[i])<<8|255&t[i+1];break;case 2:e=(255&t[i+1])<<24|(255&t[i])<<16|(255&t[i+3])<<8|255&t[i+2]}n&&0!=(e>>>24&255)&&255!=(e>>>24&255)&&(lime_math_ARGB.unmult=255/(e>>>24&255),e=(255&e>>>24)<<24|(255&lime_math_RGBA.__clamp[Math.floor((e>>>16&255)*lime_math_ARGB.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.floor((e>>>8&255)*lime_math_ARGB.unmult)])<<8|255&lime_math_RGBA.__clamp[Math.floor((255&e)*lime_math_ARGB.unmult)])},lime_math_ARGB.set=function(e,t,i,l,n){(255&t)<<24|(255&i)<<16|(255&l)<<8|255&n},lime_math_ARGB.unmultiplyAlpha=function(e){0!=(e>>>24&255)&&255!=(e>>>24&255)&&(lime_math_ARGB.unmult=255/(e>>>24&255),e=(255&e>>>24)<<24|(255&lime_math_RGBA.__clamp[Math.floor((e>>>16&255)*lime_math_ARGB.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.floor((e>>>8&255)*lime_math_ARGB.unmult)])<<8|255&lime_math_RGBA.__clamp[Math.floor((255&e)*lime_math_ARGB.unmult)])},lime_math_ARGB.writeUInt8=function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),n&&(0==(e>>>24&255)?e=0:255!=(e>>>24&255)&&(lime_math_ARGB.a16=lime_math_RGBA.__alpha16[e>>>24&255],e=(255&e>>>24)<<24|((e>>>16&255)*lime_math_ARGB.a16>>16&255)<<16|((e>>>8&255)*lime_math_ARGB.a16>>16&255)<<8|(255&e)*lime_math_ARGB.a16>>16&255)),l){case 0:t[i]=e>>>16&255,t[i+1]=e>>>8&255,t[i+2]=255&e,t[i+3]=e>>>24&255;break;case 1:t[i]=e>>>24&255,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e;break;case 2:t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24&255}},lime_math_ARGB.__fromBGRA=function(e){return(255&e)<<24|(255&e>>>8)<<16|(255&e>>>16)<<8|255&e>>>24},lime_math_ARGB.__fromRGBA=function(e){return(255&e)<<24|(255&e>>>24)<<16|(255&e>>>16)<<8|255&e>>>8},lime_math_ARGB.get_a=function(e){return e>>>24&255},lime_math_ARGB.set_a=function(e,t){return e=(255&t)<<24|(255&e>>>16)<<16|(255&e>>>8)<<8|255&e,t},lime_math_ARGB.get_b=function(e){return 255&e},lime_math_ARGB.set_b=function(e,t){return e=(255&e>>>24)<<24|(255&e>>>16)<<16|(255&e>>>8)<<8|255&t,t},lime_math_ARGB.get_g=function(e){return e>>>8&255},lime_math_ARGB.set_g=function(e,t){return e=(255&e>>>24)<<24|(255&e>>>16)<<16|(255&t)<<8|255&e,t},lime_math_ARGB.get_r=function(e){return e>>>16&255},lime_math_ARGB.set_r=function(e,t){return e=(255&e>>>24)<<24|(255&t)<<16|(255&e>>>8)<<8|255&e,t};var lime_math_BGRA={};lime_math_BGRA.__properties__={set_r:"set_r",get_r:"get_r",set_g:"set_g",get_g:"get_g",set_b:"set_b",get_b:"get_b",set_a:"set_a",get_a:"get_a"},lime_math_BGRA.a16=null,lime_math_BGRA.unmult=null,lime_math_BGRA._new=function(e){return null==e&&(e=0),e},lime_math_BGRA.create=function(e,t,i,l){return(255&e)<<24|(255&t)<<16|(255&i)<<8|255&l},lime_math_BGRA.multiplyAlpha=function(e){0==(255&e)?e=0:255!=(255&e)&&(lime_math_BGRA.a16=lime_math_RGBA.__alpha16[255&e],e=((e>>>24&255)*lime_math_BGRA.a16>>16&255)<<24|((e>>>16&255)*lime_math_BGRA.a16>>16&255)<<16|((e>>>8&255)*lime_math_BGRA.a16>>16&255)<<8|255&e)},lime_math_BGRA.readUInt8=function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),l){case 0:e=(255&t[i+2])<<24|(255&t[i+1])<<16|(255&t[i])<<8|255&t[i+3];break;case 1:e=(255&t[i+3])<<24|(255&t[i+2])<<16|(255&t[i+1])<<8|255&t[i];break;case 2:e=(255&t[i])<<24|(255&t[i+1])<<16|(255&t[i+2])<<8|255&t[i+3]}n&&0!=(255&e)&&255!=(255&e)&&(lime_math_BGRA.unmult=255/(255&e),e=(255&lime_math_RGBA.__clamp[Math.floor((e>>>24&255)*lime_math_BGRA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.floor((e>>>16&255)*lime_math_BGRA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.floor((e>>>8&255)*lime_math_BGRA.unmult)])<<8|255&e)},lime_math_BGRA.set=function(e,t,i,l,n){(255&t)<<24|(255&i)<<16|(255&l)<<8|255&n},lime_math_BGRA.unmultiplyAlpha=function(e){0!=(255&e)&&255!=(255&e)&&(lime_math_BGRA.unmult=255/(255&e),e=(255&lime_math_RGBA.__clamp[Math.floor((e>>>24&255)*lime_math_BGRA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.floor((e>>>16&255)*lime_math_BGRA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.floor((e>>>8&255)*lime_math_BGRA.unmult)])<<8|255&e)},lime_math_BGRA.writeUInt8=function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),n&&(0==(255&e)?e=0:255!=(255&e)&&(lime_math_BGRA.a16=lime_math_RGBA.__alpha16[255&e],e=((e>>>24&255)*lime_math_BGRA.a16>>16&255)<<24|((e>>>16&255)*lime_math_BGRA.a16>>16&255)<<16|((e>>>8&255)*lime_math_BGRA.a16>>16&255)<<8|255&e)),l){case 0:t[i]=e>>>8&255,t[i+1]=e>>>16&255,t[i+2]=e>>>24&255,t[i+3]=255&e;break;case 1:t[i]=255&e,t[i+1]=e>>>8&255,t[i+2]=e>>>16&255,t[i+3]=e>>>24&255;break;case 2:t[i]=e>>>24&255,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e}},lime_math_BGRA.__fromARGB=function(e){return(255&e)<<24|(255&e>>>8)<<16|(255&e>>>16)<<8|255&e>>>24},lime_math_BGRA.__fromRGBA=function(e){return(255&e>>>8)<<24|(255&e>>>16)<<16|(255&e>>>24)<<8|255&e},lime_math_BGRA.get_a=function(e){return 255&e},lime_math_BGRA.set_a=function(e,t){return e=(255&e>>>24)<<24|(255&e>>>16)<<16|(255&e>>>8)<<8|255&t,t},lime_math_BGRA.get_b=function(e){return e>>>24&255},lime_math_BGRA.set_b=function(e,t){return e=(255&t)<<24|(255&e>>>16)<<16|(255&e>>>8)<<8|255&e,t},lime_math_BGRA.get_g=function(e){return e>>>16&255},lime_math_BGRA.set_g=function(e,t){return e=(255&e>>>24)<<24|(255&t)<<16|(255&e>>>8)<<8|255&e,t},lime_math_BGRA.get_r=function(e){return e>>>8&255},lime_math_BGRA.set_r=function(e,t){return e=(255&e>>>24)<<24|(255&e>>>16)<<16|(255&t)<<8|255&e,t};var lime_math_ColorMatrix={};lime_math_ColorMatrix.__properties__={set_redOffset:"set_redOffset",get_redOffset:"get_redOffset",set_redMultiplier:"set_redMultiplier",get_redMultiplier:"get_redMultiplier",set_greenOffset:"set_greenOffset",get_greenOffset:"get_greenOffset",set_greenMultiplier:"set_greenMultiplier",get_greenMultiplier:"get_greenMultiplier",set_color:"set_color",get_color:"get_color",set_blueOffset:"set_blueOffset",get_blueOffset:"get_blueOffset",set_blueMultiplier:"set_blueMultiplier",get_blueMultiplier:"get_blueMultiplier",set_alphaOffset:"set_alphaOffset",get_alphaOffset:"get_alphaOffset",set_alphaMultiplier:"set_alphaMultiplier",get_alphaMultiplier:"get_alphaMultiplier"},lime_math_ColorMatrix.__alphaTable=null,lime_math_ColorMatrix.__blueTable=null,lime_math_ColorMatrix.__greenTable=null,lime_math_ColorMatrix.__redTable=null,lime_math_ColorMatrix._new=function(e){var t;if(null!=e&&20==e.length)t=e;else{var i=lime_math_ColorMatrix.__identity;t=null!=i?new Float32Array(i):null}return t},lime_math_ColorMatrix.clone=function(e){var e,t=lime_utils_Float32Array.toArrayBufferView(e);return e=null!=t?new Float32Array(t):null,lime_math_ColorMatrix._new(e)},lime_math_ColorMatrix.concat=function(e,t){e[0]+=t[0],e[6]+=t[6],e[12]+=t[12],e[18]+=t[18]},lime_math_ColorMatrix.copyFrom=function(e,t){e.set(t)},lime_math_ColorMatrix.identity=function(e){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=0,e[6]=1,e[7]=0,e[8]=0,e[9]=0,e[10]=0,e[11]=0,e[12]=1,e[13]=0,e[14]=0,e[15]=0,e[16]=0,e[17]=0,e[18]=1,e[19]=0},lime_math_ColorMatrix.getAlphaTable=function(e){if(null==lime_math_ColorMatrix.__alphaTable){var t=new Uint8Array(256);lime_math_ColorMatrix.__alphaTable=t}var i;lime_math_ColorMatrix.__alphaTable[0]=0;for(var l=1;l<256;){var n=l++;(i=Math.floor(n*e[18]+255*e[19]))>255&&(i=255),i<0&&(i=0),lime_math_ColorMatrix.__alphaTable[n]=i}return lime_math_ColorMatrix.__alphaTable},lime_math_ColorMatrix.getBlueTable=function(e){if(null==lime_math_ColorMatrix.__blueTable){var t=new Uint8Array(256);lime_math_ColorMatrix.__blueTable=t}for(var i,l=0;l<256;){var n=l++;(i=Math.floor(n*e[12]+255*e[14]))>255&&(i=255),i<0&&(i=0),lime_math_ColorMatrix.__blueTable[n]=i}return lime_math_ColorMatrix.__blueTable},lime_math_ColorMatrix.getGreenTable=function(e){if(null==lime_math_ColorMatrix.__greenTable){var t=new Uint8Array(256);lime_math_ColorMatrix.__greenTable=t}for(var i,l=0;l<256;){var n=l++;(i=Math.floor(n*e[6]+255*e[9]))>255&&(i=255),i<0&&(i=0),lime_math_ColorMatrix.__greenTable[n]=i}return lime_math_ColorMatrix.__greenTable},lime_math_ColorMatrix.getRedTable=function(e){if(null==lime_math_ColorMatrix.__redTable){var t=new Uint8Array(256);lime_math_ColorMatrix.__redTable=t}for(var i,l=0;l<256;){var n=l++;(i=Math.floor(n*e[0]+255*e[4]))>255&&(i=255),i<0&&(i=0),lime_math_ColorMatrix.__redTable[n]=i}return lime_math_ColorMatrix.__redTable},lime_math_ColorMatrix.__toFlashColorTransform=function(e){return null},lime_math_ColorMatrix.get_alphaMultiplier=function(e){return e[18]},lime_math_ColorMatrix.set_alphaMultiplier=function(e,t){return e[18]=t},lime_math_ColorMatrix.get_alphaOffset=function(e){return 255*e[19]},lime_math_ColorMatrix.set_alphaOffset=function(e,t){return e[19]=t/255},lime_math_ColorMatrix.get_blueMultiplier=function(e){return e[12]},lime_math_ColorMatrix.set_blueMultiplier=function(e,t){return e[12]=t},lime_math_ColorMatrix.get_blueOffset=function(e){return 255*e[14]},lime_math_ColorMatrix.set_blueOffset=function(e,t){return e[14]=t/255},lime_math_ColorMatrix.get_color=function(e){return(255*e[4]|0)<<16|(255*e[9]|0)<<8|255*e[14]|0},lime_math_ColorMatrix.set_color=function(e,t){return e[4]=(t>>16&255)/255,e[9]=(t>>8&255)/255,e[14]=(255&t)/255,e[0]=0,e[6]=0,e[12]=0,lime_math_ColorMatrix.get_color(e)},lime_math_ColorMatrix.get_greenMultiplier=function(e){return e[6]},lime_math_ColorMatrix.set_greenMultiplier=function(e,t){return e[6]=t},lime_math_ColorMatrix.get_greenOffset=function(e){return 255*e[9]},lime_math_ColorMatrix.set_greenOffset=function(e,t){return e[9]=t/255},lime_math_ColorMatrix.get_redMultiplier=function(e){return e[0]},lime_math_ColorMatrix.set_redMultiplier=function(e,t){return e[0]=t},lime_math_ColorMatrix.get_redOffset=function(e){return 255*e[4]},lime_math_ColorMatrix.set_redOffset=function(e,t){return e[4]=t/255},lime_math_ColorMatrix.get=function(e,t){return e[t]},lime_math_ColorMatrix.set=function(e,t,i){return e[t]=i};var lime_math_Matrix4={};lime_math_Matrix4.__properties__={set_position:"set_position",get_position:"get_position",get_determinant:"get_determinant"},lime_math_Matrix4._new=function(e){var t;if(null!=e&&16==e.length)t=e;else{var i=lime_math_Matrix4.__identity;t=null!=i?new Float32Array(i):null}return t},lime_math_Matrix4.append=function(e,t){var i=e[0],l=e[4],n=e[8],s=e[12],a=e[1],r=e[5],_=e[9],o=e[13],h=e[2],u=e[6],d=e[10],c=e[14],p=e[3],f=e[7],m=e[11],x=e[15],g=lime_math_Matrix4.get(t,0),F=lime_math_Matrix4.get(t,4),y=lime_math_Matrix4.get(t,8),S=lime_math_Matrix4.get(t,12),b=lime_math_Matrix4.get(t,1),U=lime_math_Matrix4.get(t,5),v=lime_math_Matrix4.get(t,9),T=lime_math_Matrix4.get(t,13),N=lime_math_Matrix4.get(t,2),D=lime_math_Matrix4.get(t,6),Q=lime_math_Matrix4.get(t,10),B=lime_math_Matrix4.get(t,14),R=lime_math_Matrix4.get(t,3),w=lime_math_Matrix4.get(t,7),E=lime_math_Matrix4.get(t,11),k=lime_math_Matrix4.get(t,15);e[0]=i*g+a*F+h*y+p*S,e[1]=i*b+a*U+h*v+p*T,e[2]=i*N+a*D+h*Q+p*B,e[3]=i*R+a*w+h*E+p*k,e[4]=l*g+r*F+u*y+f*S,e[5]=l*b+r*U+u*v+f*T,e[6]=l*N+r*D+u*Q+f*B,e[7]=l*R+r*w+u*E+f*k,e[8]=n*g+_*F+d*y+m*S,e[9]=n*b+_*U+d*v+m*T,e[10]=n*N+_*D+d*Q+m*B,e[11]=n*R+_*w+d*E+m*k,e[12]=s*g+o*F+c*y+x*S,e[13]=s*b+o*U+c*v+x*T,e[14]=s*N+o*D+c*Q+x*B,e[15]=s*R+o*w+c*E+x*k},lime_math_Matrix4.appendRotation=function(e,t,i,l){var n=lime_math_Matrix4.__getAxisRotation(e,i.x,i.y,i.z,t);if(null!=l){var s=l;lime_math_Matrix4.appendTranslation(n,s.x,s.y,s.z)}lime_math_Matrix4.append(e,n)},lime_math_Matrix4.appendScale=function(e,t,i,l){var n,s=[t,0,0,0,0,i,0,0,0,0,l,0,0,0,0,1];n=null!=s?new Float32Array(s):null,lime_math_Matrix4.append(e,lime_math_Matrix4._new(n))},lime_math_Matrix4.appendTranslation=function(e,t,i,l){e[12]+=t,e[13]+=i,e[14]+=l},lime_math_Matrix4.clone=function(e){var e,t=lime_utils_Float32Array.toArrayBufferView(e);return e=null!=t?new Float32Array(t):null,lime_math_Matrix4._new(e)},lime_math_Matrix4.copyColumnFrom=function(e,t,i){switch(t){case 0:e[0]=i.x,e[1]=i.y,e[2]=i.z,e[3]=i.w;break;case 1:e[4]=i.x,e[5]=i.y,e[6]=i.z,e[7]=i.w;break;case 2:e[8]=i.x,e[9]=i.y,e[10]=i.z,e[11]=i.w;break;case 3:e[12]=i.x,e[13]=i.y,e[14]=i.z,e[15]=i.w;break;default:lime_utils_Log.error("Column "+t+" out of bounds [0, ..., 3]",{fileName:"lime/math/Matrix4.hx",lineNumber:187,className:"lime.math._Matrix4.Matrix4_Impl_",methodName:"copyColumnFrom"})}},lime_math_Matrix4.copyColumnTo=function(e,t,i){switch(t){case 0:i.x=e[0],i.y=e[1],i.z=e[2],i.w=e[3];break;case 1:i.x=e[4],i.y=e[5],i.z=e[6],i.w=e[7];break;case 2:i.x=e[8],i.y=e[9],i.z=e[10],i.w=e[11];break;case 3:i.x=e[12],i.y=e[13],i.z=e[14],i.w=e[15];break;default:lime_utils_Log.error("Column "+t+" out of bounds [0, ..., 3]",{fileName:"lime/math/Matrix4.hx",lineNumber:225,className:"lime.math._Matrix4.Matrix4_Impl_",methodName:"copyColumnTo"})}},lime_math_Matrix4.copyFrom=function(e,t){e.set(t)},lime_math_Matrix4.copyRowFrom=function(e,t,i){switch(t){case 0:e[0]=i.x,e[4]=i.y,e[8]=i.z,e[12]=i.w;break;case 1:e[1]=i.x,e[5]=i.y,e[9]=i.z,e[13]=i.w;break;case 2:e[2]=i.x,e[6]=i.y,e[10]=i.z,e[14]=i.w;break;case 3:e[3]=i.x,e[7]=i.y,e[11]=i.z,e[15]=i.w;break;default:lime_utils_Log.error("Row "+t+" out of bounds [0, ..., 3]",{fileName:"lime/math/Matrix4.hx",lineNumber:272,className:"lime.math._Matrix4.Matrix4_Impl_",methodName:"copyRowFrom"})}},lime_math_Matrix4.copyRowTo=function(e,t,i){switch(t){case 0:i.x=e[0],i.y=e[4],i.z=e[8],i.w=e[12];break;case 1:i.x=e[1],i.y=e[5],i.z=e[9],i.w=e[13];break;case 2:i.x=e[2],i.y=e[6],i.z=e[10],i.w=e[14];break;case 3:i.x=e[3],i.y=e[7],i.z=e[11],i.w=e[15];break;default:lime_utils_Log.error("Row "+t+" out of bounds [0, ..., 3]",{fileName:"lime/math/Matrix4.hx",lineNumber:310,className:"lime.math._Matrix4.Matrix4_Impl_",methodName:"copyRowTo"})}},lime_math_Matrix4.create2D=function(e,t,i,l,n,s,a){null==a&&(a=0),null==s&&(s=0),e[0]=t,e[1]=i,e[2]=0,e[3]=0,e[4]=l,e[5]=n,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=s,e[13]=a,e[14]=0,e[15]=1},lime_math_Matrix4.createOrtho=function(e,t,i,l,n,s,a){var r=1/(i-t),_=1/(n-l),o=1/(a-s);e[0]=2*r,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=2*_,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=-2*o,e[11]=0,e[12]=-(t+i)*r,e[13]=-(l+n)*_,e[14]=-(s+a)*o,e[15]=1},lime_math_Matrix4.deltaTransformVector=function(e,t,i){null==i&&(i=new lime_math_Vector4);var l=t.x,n=t.y,s=t.z;return i.x=l*e[0]+n*e[4]+s*e[8]+e[3],i.y=l*e[1]+n*e[5]+s*e[9]+e[7],i.z=l*e[2]+n*e[6]+s*e[10]+e[11],i},lime_math_Matrix4.fromMatrix3=function(e){var t=lime_math_Matrix4._new();return lime_math_Matrix4.create2D(t,e.a,e.b,e.c,e.d,e.tx,e.ty),t},lime_math_Matrix4.identity=function(e){e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1},lime_math_Matrix4.interpolate=function(e,t,i,l){null==l&&(l=lime_math_Matrix4._new());for(var n=0;n<16;){var s=n++;lime_math_Matrix4.set(l,s,lime_math_Matrix4.get(e,s)+(lime_math_Matrix4.get(t,s)-lime_math_Matrix4.get(e,s))*i)}return l},lime_math_Matrix4.interpolateTo=function(e,t,i){for(var l=0;l<16;){var n=l++;e[n]+=(lime_math_Matrix4.get(t,n)-e[n])*i}},lime_math_Matrix4.invert=function(e){var t=lime_math_Matrix4.get_determinant(e),i=Math.abs(t)>1e-11;if(i){t=1/t;var l=e[0],n=e[4],s=e[8],a=e[12],r=e[1],_=e[5],o=e[9],h=e[13],u=e[2],d=e[6],c=e[10],p=e[14],f=e[3],m=e[7],x=e[11],g=e[15];e[0]=t*(_*(c*g-p*x)-o*(d*g-p*m)+h*(d*x-c*m)),e[1]=-t*(r*(c*g-p*x)-o*(u*g-p*f)+h*(u*x-c*f)),e[2]=t*(r*(d*g-p*m)-_*(u*g-p*f)+h*(u*m-d*f)),e[3]=-t*(r*(d*x-c*m)-_*(u*x-c*f)+o*(u*m-d*f)),e[4]=-t*(n*(c*g-p*x)-s*(d*g-p*m)+a*(d*x-c*m)),e[5]=t*(l*(c*g-p*x)-s*(u*g-p*f)+a*(u*x-c*f)),e[6]=-t*(l*(d*g-p*m)-n*(u*g-p*f)+a*(u*m-d*f)),e[7]=t*(l*(d*x-c*m)-n*(u*x-c*f)+s*(u*m-d*f)),e[8]=t*(n*(o*g-h*x)-s*(_*g-h*m)+a*(_*x-o*m)),e[9]=-t*(l*(o*g-h*x)-s*(r*g-h*f)+a*(r*x-o*f)),e[10]=t*(l*(_*g-h*m)-n*(r*g-h*f)+a*(r*m-_*f)),e[11]=-t*(l*(_*x-o*m)-n*(r*x-o*f)+s*(r*m-_*f)),e[12]=-t*(n*(o*p-h*c)-s*(_*p-h*d)+a*(_*c-o*d)),e[13]=t*(l*(o*p-h*c)-s*(r*p-h*u)+a*(r*c-o*u)),e[14]=-t*(l*(_*p-h*d)-n*(r*p-h*u)+a*(r*d-_*u)),e[15]=t*(l*(_*c-o*d)-n*(r*c-o*u)+s*(r*d-_*u))}return i},lime_math_Matrix4.pointAt=function(e,t,i,l){null==i&&(i=new lime_math_Vector4(0,0,1)),null==l&&(l=new lime_math_Vector4(0,1,0));var n=null;null==n&&(n=new lime_math_Vector4),n.x=t.x-i.x,n.y=t.y-i.y,n.z=t.z-i.z;var s=n,a=new lime_math_Vector4(l.x,l.y,l.z,l.w),r=Math.sqrt(s.x*s.x+s.y*s.y+s.z*s.z);0!=r&&(s.x/=r,s.y/=r,s.z/=r),0!=(r=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z))&&(a.x/=r,a.y/=r,a.z/=r);var _=new lime_math_Vector4(s.x,s.y,s.z,s.w),o=a.x*s.x+a.y*s.y+a.z*s.z;_.x*=o,_.y*=o,_.z*=o,null==(n=null)&&(n=new lime_math_Vector4),n.x=a.x-_.x,n.y=a.y-_.y,n.z=a.z-_.z,a=n,Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z)>0?0!=(r=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z))&&(a.x/=r,a.y/=r,a.z/=r):a=0!=s.x?new lime_math_Vector4(-s.y,s.x,0):new lime_math_Vector4(1,0,0),null==(n=null)&&(n=new lime_math_Vector4);var h=a.z*s.x-a.x*s.z,u=a.x*s.y-a.y*s.x;n.x=a.y*s.z-a.z*s.y,n.y=h,n.z=u,n.w=1;var d=n;0!=(r=Math.sqrt(d.x*d.x+d.y*d.y+d.z*d.z))&&(d.x/=r,d.y/=r,d.z/=r),e[0]=d.x,e[4]=d.y,e[8]=d.z,e[12]=0,e[1]=a.x,e[5]=a.y,e[9]=a.z,e[13]=0,e[2]=s.x,e[6]=s.y,e[10]=s.z,e[14]=0,e[3]=t.x,e[7]=t.y,e[11]=t.z,e[15]=1},lime_math_Matrix4.prepend=function(e,t){var i=lime_math_Matrix4.get(t,0),l=lime_math_Matrix4.get(t,4),n=lime_math_Matrix4.get(t,8),s=lime_math_Matrix4.get(t,12),a=lime_math_Matrix4.get(t,1),r=lime_math_Matrix4.get(t,5),_=lime_math_Matrix4.get(t,9),o=lime_math_Matrix4.get(t,13),h=lime_math_Matrix4.get(t,2),u=lime_math_Matrix4.get(t,6),d=lime_math_Matrix4.get(t,10),c=lime_math_Matrix4.get(t,14),p=lime_math_Matrix4.get(t,3),f=lime_math_Matrix4.get(t,7),m=lime_math_Matrix4.get(t,11),x=lime_math_Matrix4.get(t,15),g=e[0],F=e[4],y=e[8],S=e[12],b=e[1],U=e[5],v=e[9],T=e[13],N=e[2],D=e[6],Q=e[10],B=e[14],R=e[3],w=e[7],E=e[11],k=e[15];e[0]=i*g+a*F+h*y+p*S,e[1]=i*b+a*U+h*v+p*T,e[2]=i*N+a*D+h*Q+p*B,e[3]=i*R+a*w+h*E+p*k,e[4]=l*g+r*F+u*y+f*S,e[5]=l*b+r*U+u*v+f*T,e[6]=l*N+r*D+u*Q+f*B,e[7]=l*R+r*w+u*E+f*k,e[8]=n*g+_*F+d*y+m*S,e[9]=n*b+_*U+d*v+m*T,e[10]=n*N+_*D+d*Q+m*B,e[11]=n*R+_*w+d*E+m*k,e[12]=s*g+o*F+c*y+x*S,e[13]=s*b+o*U+c*v+x*T,e[14]=s*N+o*D+c*Q+x*B,e[15]=s*R+o*w+c*E+x*k},lime_math_Matrix4.prependRotation=function(e,t,i,l){var n=lime_math_Matrix4.__getAxisRotation(e,i.x,i.y,i.z,t);if(null!=l){var s=l;lime_math_Matrix4.appendTranslation(n,s.x,s.y,s.z)}lime_math_Matrix4.prepend(e,n)},lime_math_Matrix4.prependScale=function(e,t,i,l){var n,s=[t,0,0,0,0,i,0,0,0,0,l,0,0,0,0,1];n=null!=s?new Float32Array(s):null,lime_math_Matrix4.prepend(e,lime_math_Matrix4._new(n))},lime_math_Matrix4.prependTranslation=function(e,t,i,l){var n=lime_math_Matrix4._new();lime_math_Matrix4.set_position(n,new lime_math_Vector4(t,i,l)),lime_math_Matrix4.prepend(e,n)},lime_math_Matrix4.transformVector=function(e,t,i){null==i&&(i=new lime_math_Vector4);var l=t.x,n=t.y,s=t.z;return i.x=l*e[0]+n*e[4]+s*e[8]+e[12],i.y=l*e[1]+n*e[5]+s*e[9]+e[13],i.z=l*e[2]+n*e[6]+s*e[10]+e[14],i.w=l*e[3]+n*e[7]+s*e[11]+e[15],i},lime_math_Matrix4.transformVectors=function(e,t,i){for(var l,n,s,a=0;a+3<=t.length;)l=t[a],n=t[a+1],s=t[a+2],i[a]=l*e[0]+n*e[4]+s*e[8]+e[12],i[a+1]=l*e[1]+n*e[5]+s*e[9]+e[13],i[a+2]=l*e[2]+n*e[6]+s*e[10]+e[14],a+=3},lime_math_Matrix4.transpose=function(e){t=e[1];e[1]=e[4],e[4]=t;t=e[2];e[2]=e[8],e[8]=t;t=e[3];e[3]=e[12],e[12]=t;t=e[6];e[6]=e[9],e[9]=t;t=e[7];e[7]=e[13],e[13]=t;var t=e[11];e[11]=e[14],e[14]=t},lime_math_Matrix4.__getAxisRotation=function(e,t,i,l,n){var s=lime_math_Matrix4._new(),a=new lime_math_Vector4(t,i,l),r=-n*(Math.PI/180),_=Math.cos(r),o=Math.sin(r),h=1-_;lime_math_Matrix4.set(s,0,_+a.x*a.x*h),lime_math_Matrix4.set(s,5,_+a.y*a.y*h),lime_math_Matrix4.set(s,10,_+a.z*a.z*h);var u=a.x*a.y*h,d=a.z*o;return lime_math_Matrix4.set(s,4,u+d),lime_math_Matrix4.set(s,1,u-d),u=a.x*a.z*h,d=a.y*o,lime_math_Matrix4.set(s,8,u-d),lime_math_Matrix4.set(s,2,u+d),u=a.y*a.z*h,d=a.x*o,lime_math_Matrix4.set(s,9,u+d),lime_math_Matrix4.set(s,6,u-d),s},lime_math_Matrix4.__swap=function(e,t,i){var l=e[t];e[t]=e[i],e[i]=l},lime_math_Matrix4.get_determinant=function(e){return(e[0]*e[5]-e[4]*e[1])*(e[10]*e[15]-e[14]*e[11])-(e[0]*e[9]-e[8]*e[1])*(e[6]*e[15]-e[14]*e[7])+(e[0]*e[13]-e[12]*e[1])*(e[6]*e[11]-e[10]*e[7])+(e[4]*e[9]-e[8]*e[5])*(e[2]*e[15]-e[14]*e[3])-(e[4]*e[13]-e[12]*e[5])*(e[2]*e[11]-e[10]*e[3])+(e[8]*e[13]-e[12]*e[9])*(e[2]*e[7]-e[6]*e[3])},lime_math_Matrix4.get_position=function(e){return new lime_math_Vector4(e[12],e[13],e[14])},lime_math_Matrix4.set_position=function(e,t){return e[12]=t.x,e[13]=t.y,e[14]=t.z,t},lime_math_Matrix4.get=function(e,t){return e[t]},lime_math_Matrix4.set=function(e,t,i){return e[t]=i,i};var lime_math_RGBA={};lime_math_RGBA.__properties__={set_r:"set_r",get_r:"get_r",set_g:"set_g",get_g:"get_g",set_b:"set_b",get_b:"get_b",set_a:"set_a",get_a:"get_a"},lime_math_RGBA.__alpha16=null,lime_math_RGBA.__clamp=null,lime_math_RGBA.a16=null,lime_math_RGBA.unmult=null,lime_math_RGBA._new=function(e){return null==e&&(e=0),e},lime_math_RGBA.create=function(e,t,i,l){return(255&e)<<24|(255&t)<<16|(255&i)<<8|255&l},lime_math_RGBA.multiplyAlpha=function(e){0==(255&e)?0!=e&&(e=0):255!=(255&e)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&e],e=((e>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((e>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((e>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&e)},lime_math_RGBA.readUInt8=function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),l){case 0:e=(255&t[i])<<24|(255&t[i+1])<<16|(255&t[i+2])<<8|255&t[i+3];break;case 1:e=(255&t[i+1])<<24|(255&t[i+2])<<16|(255&t[i+3])<<8|255&t[i];break;case 2:e=(255&t[i+2])<<24|(255&t[i+1])<<16|(255&t[i])<<8|255&t[i+3]}n&&0!=(255&e)&&255!=(255&e)&&(lime_math_RGBA.unmult=255/(255&e),e=(255&lime_math_RGBA.__clamp[Math.round((e>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((e>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((e>>>8&255)*lime_math_RGBA.unmult)])<<8|255&e)},lime_math_RGBA.set=function(e,t,i,l,n){(255&t)<<24|(255&i)<<16|(255&l)<<8|255&n},lime_math_RGBA.unmultiplyAlpha=function(e){0!=(255&e)&&255!=(255&e)&&(lime_math_RGBA.unmult=255/(255&e),e=(255&lime_math_RGBA.__clamp[Math.round((e>>>24&255)*lime_math_RGBA.unmult)])<<24|(255&lime_math_RGBA.__clamp[Math.round((e>>>16&255)*lime_math_RGBA.unmult)])<<16|(255&lime_math_RGBA.__clamp[Math.round((e>>>8&255)*lime_math_RGBA.unmult)])<<8|255&e)},lime_math_RGBA.writeUInt8=function(e,t,i,l,n){switch(null==n&&(n=!1),null==l&&(l=0),n&&(0==(255&e)?0!=e&&(e=0):255!=(255&e)&&(lime_math_RGBA.a16=lime_math_RGBA.__alpha16[255&e],e=((e>>>24&255)*lime_math_RGBA.a16>>16&255)<<24|((e>>>16&255)*lime_math_RGBA.a16>>16&255)<<16|((e>>>8&255)*lime_math_RGBA.a16>>16&255)<<8|255&e)),l){case 0:t[i]=e>>>24&255,t[i+1]=e>>>16&255,t[i+2]=e>>>8&255,t[i+3]=255&e;break;case 1:t[i]=255&e,t[i+1]=e>>>24&255,t[i+2]=e>>>16&255,t[i+3]=e>>>8&255;break;case 2:t[i]=e>>>8&255,t[i+1]=e>>>16&255,t[i+2]=e>>>24&255,t[i+3]=255&e}},lime_math_RGBA.__fromARGB=function(e){return(255&e>>>16)<<24|(255&e>>>8)<<16|(255&e)<<8|255&e>>>24},lime_math_RGBA.__fromBGRA=function(e){return(255&e>>>8)<<24|(255&e>>>16)<<16|(255&e>>>24)<<8|255&e},lime_math_RGBA.get_a=function(e){return 255&e},lime_math_RGBA.set_a=function(e,t){return e=(255&e>>>24)<<24|(255&e>>>16)<<16|(255&e>>>8)<<8|255&t,t},lime_math_RGBA.get_b=function(e){return e>>>8&255},lime_math_RGBA.set_b=function(e,t){return e=(255&e>>>24)<<24|(255&e>>>16)<<16|(255&t)<<8|255&e,t},lime_math_RGBA.get_g=function(e){return e>>>16&255},lime_math_RGBA.set_g=function(e,t){return e=(255&e>>>24)<<24|(255&t)<<16|(255&e>>>8)<<8|255&e,t},lime_math_RGBA.get_r=function(e){return e>>>24&255},lime_math_RGBA.set_r=function(e,t){return e=(255&t)<<24|(255&e>>>16)<<16|(255&e>>>8)<<8|255&e,t};var lime_math_Rectangle=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.x=e,this.y=t,this.width=i,this.height=l};$hxClasses["lime.math.Rectangle"]=lime_math_Rectangle,lime_math_Rectangle.__name__="lime.math.Rectangle",lime_math_Rectangle.prototype={height:null,width:null,x:null,y:null,clone:function(){return new lime_math_Rectangle(this.x,this.y,this.width,this.height)},contains:function(e,t){return e>=this.x&&t>=this.y&&e<this.get_right()&&t<this.get_bottom()},containsPoint:function(e){return this.containsVector(e)},containsRect:function(e){return e.width<=0||e.height<=0?e.x>this.x&&e.y>this.y&&e.get_right()<this.get_right()&&e.get_bottom()<this.get_bottom():e.x>=this.x&&e.y>=this.y&&e.get_right()<=this.get_right()&&e.get_bottom()<=this.get_bottom()},containsVector:function(e){return this.contains(e.x,e.y)},copyFrom:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},equals:function(e){return null!=e&&this.x==e.x&&this.y==e.y&&this.width==e.width&&this.height==e.height},inflate:function(e,t){this.x-=e,this.width+=2*e,this.y-=t,this.height+=2*t},inflateVector:function(e){this.inflate(e.x,e.y)},intersection:function(e,t){null==t&&(t=new lime_math_Rectangle);var i=this.x<e.x?e.x:this.x,l=this.get_right()>e.get_right()?e.get_right():this.get_right();if(l<=i)return t.setEmpty(),t;var n=this.y<e.y?e.y:this.y,s=this.get_bottom()>e.get_bottom()?e.get_bottom():this.get_bottom();return s<=n?(t.setEmpty(),t):(t.x=i,t.y=n,t.width=l-i,t.height=s-n,t)},intersects:function(e){var t=this.x<e.x?e.x:this.x;if((this.get_right()>e.get_right()?e.get_right():this.get_right())<=t)return!1;var i=this.y<e.y?e.y:this.y;return(this.get_bottom()>e.get_bottom()?e.get_bottom():this.get_bottom())>i},isEmpty:function(){return this.width<=0||this.height<=0},offset:function(e,t){this.x+=e,this.y+=t},offsetVector:function(e){this.x+=e.x,this.y+=e.y},setEmpty:function(){this.x=this.y=this.width=this.height=0},setTo:function(e,t,i,l){this.x=e,this.y=t,this.width=i,this.height=l},union:function(e,t){if(null==t&&(t=new lime_math_Rectangle),0==this.width||0==this.height)t.copyFrom(e);else if(0==e.width||0==e.height)t.copyFrom(this);else{var i=this.x>e.x?e.x:this.x,l=this.get_right()<e.get_right()?e.get_right():this.get_right(),n=this.y>e.y?e.y:this.y,s=this.get_bottom()<e.get_bottom()?e.get_bottom():this.get_bottom();t.setTo(i,n,l-i,s-n)}return t},__toFlashRectangle:function(){return null},get_bottom:function(){return this.y+this.height},set_bottom:function(e){return this.height=e-this.y,e},get_bottomRight:function(){return new lime_math_Vector2(this.x+this.width,this.y+this.height)},set_bottomRight:function(e){return this.width=e.x-this.x,this.height=e.y-this.y,e.clone()},get_left:function(){return this.x},set_left:function(e){return this.width-=e-this.x,this.x=e,e},get_right:function(){return this.x+this.width},set_right:function(e){return this.width=e-this.x,e},get_size:function(){return new lime_math_Vector2(this.width,this.height)},set_size:function(e){return this.width=e.x,this.height=e.y,e.clone()},get_top:function(){return this.y},set_top:function(e){return this.height-=e-this.y,this.y=e,e},get_topLeft:function(){return new lime_math_Vector2(this.x,this.y)},set_topLeft:function(e){return this.x=e.x,this.y=e.y,e.clone()},__class__:lime_math_Rectangle,__properties__:{set_topLeft:"set_topLeft",get_topLeft:"get_topLeft",set_top:"set_top",get_top:"get_top",set_size:"set_size",get_size:"get_size",set_right:"set_right",get_right:"get_right",set_left:"set_left",get_left:"get_left",set_bottomRight:"set_bottomRight",get_bottomRight:"get_bottomRight",set_bottom:"set_bottom",get_bottom:"get_bottom"}};var lime_math_Vector4=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.w=l,this.x=e,this.y=t,this.z=i};$hxClasses["lime.math.Vector4"]=lime_math_Vector4,lime_math_Vector4.__name__="lime.math.Vector4",lime_math_Vector4.__properties__={get_Z_AXIS:"get_Z_AXIS",get_Y_AXIS:"get_Y_AXIS",get_X_AXIS:"get_X_AXIS"},lime_math_Vector4.angleBetween=function(e,t){var i=new lime_math_Vector4(e.x,e.y,e.z,e.w),l=Math.sqrt(i.x*i.x+i.y*i.y+i.z*i.z);0!=l&&(i.x/=l,i.y/=l,i.z/=l);var n=new lime_math_Vector4(t.x,t.y,t.z,t.w);return 0!=(l=Math.sqrt(n.x*n.x+n.y*n.y+n.z*n.z))&&(n.x/=l,n.y/=l,n.z/=l),Math.acos(i.x*n.x+i.y*n.y+i.z*n.z)},lime_math_Vector4.distance=function(e,t){var i=t.x-e.x,l=t.y-e.y,n=t.z-e.z;return Math.sqrt(i*i+l*l+n*n)},lime_math_Vector4.distanceSquared=function(e,t){var i=t.x-e.x,l=t.y-e.y,n=t.z-e.z;return i*i+l*l+n*n},lime_math_Vector4.get_X_AXIS=function(){return new lime_math_Vector4(1,0,0)},lime_math_Vector4.get_Y_AXIS=function(){return new lime_math_Vector4(0,1,0)},lime_math_Vector4.get_Z_AXIS=function(){return new lime_math_Vector4(0,0,1)},lime_math_Vector4.prototype={w:null,x:null,y:null,z:null,add:function(e,t){return null==t&&(t=new lime_math_Vector4),t.x=this.x+e.x,t.y=this.y+e.y,t.z=this.z+e.z,t},clone:function(){return new lime_math_Vector4(this.x,this.y,this.z,this.w)},copyFrom:function(e){this.x=e.x,this.y=e.y,this.z=e.z},crossProduct:function(e,t){null==t&&(t=new lime_math_Vector4);var i=this.z*e.x-this.x*e.z,l=this.x*e.y-this.y*e.x;return t.x=this.y*e.z-this.z*e.y,t.y=i,t.z=l,t.w=1,t},decrementBy:function(e){this.x-=e.x,this.y-=e.y,this.z-=e.z},dotProduct:function(e){return this.x*e.x+this.y*e.y+this.z*e.z},equals:function(e,t){return null==t&&(t=!1),this.x==e.x&&this.y==e.y&&this.z==e.z&&(!t||this.w==e.w)},incrementBy:function(e){this.x+=e.x,this.y+=e.y,this.z+=e.z},nearEquals:function(e,t,i){return null==i&&(i=!1),Math.abs(this.x-e.x)<t&&Math.abs(this.y-e.y)<t&&Math.abs(this.z-e.z)<t&&(!i||Math.abs(this.w-e.w)<t)},negate:function(){this.x*=-1,this.y*=-1,this.z*=-1},normalize:function(){var e=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z);return 0!=e&&(this.x/=e,this.y/=e,this.z/=e),e},project:function(){this.x/=this.w,this.y/=this.w,this.z/=this.w},scaleBy:function(e){this.x*=e,this.y*=e,this.z*=e},setTo:function(e,t,i){this.x=e,this.y=t,this.z=i},subtract:function(e,t){return null==t&&(t=new lime_math_Vector4),t.x=this.x-e.x,t.y=this.y-e.y,t.z=this.z-e.z,t},toString:function(){return"Vector4("+this.x+", "+this.y+", "+this.z+")"},get_length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},get_lengthSquared:function(){return this.x*this.x+this.y*this.y+this.z*this.z},__class__:lime_math_Vector4,__properties__:{get_lengthSquared:"get_lengthSquared",get_length:"get_length"}};var lime_media_AudioBuffer=function(){};$hxClasses["lime.media.AudioBuffer"]=lime_media_AudioBuffer,lime_media_AudioBuffer.__name__="lime.media.AudioBuffer",lime_media_AudioBuffer.fromBase64=function(e){if(null==e)return null;-1==e.indexOf(",")&&(e="data:"+lime_media_AudioBuffer.__getCodec(lime__$internal_format_Base64.decode(e))+";base64,"+e);var t=new lime_media_AudioBuffer;return t.set_src(new Howl({src:[e],html5:!0,preload:!1})),t},lime_media_AudioBuffer.fromBytes=function(e){if(null==e)return null;var t=new lime_media_AudioBuffer;return t.set_src(new Howl({src:["data:"+lime_media_AudioBuffer.__getCodec(e)+";base64,"+lime__$internal_format_Base64.encode(e)],html5:!0,preload:!1})),t},lime_media_AudioBuffer.fromFile=function(e){if(null==e)return null;var t=new lime_media_AudioBuffer;return t.__srcHowl=new Howl({src:[e],preload:!1}),t},lime_media_AudioBuffer.fromFiles=function(e){var t=new lime_media_AudioBuffer;return t.__srcHowl=new Howl({src:e,preload:!1}),t},lime_media_AudioBuffer.fromVorbisFile=function(e){return null},lime_media_AudioBuffer.loadFromFile=function(e){var t=new lime_app_Promise,i=lime_media_AudioBuffer.fromFile(e);return null!=i?null!=i&&(i.__srcHowl.on("load",function(){t.complete(i)}),i.__srcHowl.on("loaderror",function(e,i){t.error(i)}),i.__srcHowl.load()):t.error(null),t.future},lime_media_AudioBuffer.loadFromFiles=function(e){var t=new lime_app_Promise,i=lime_media_AudioBuffer.fromFiles(e);return null!=i?(i.__srcHowl.on("load",function(){t.complete(i)}),i.__srcHowl.on("loaderror",function(){t.error(null)}),i.__srcHowl.load()):t.error(null),t.future},lime_media_AudioBuffer.__getCodec=function(e){switch(e.getString(0,4)){case"OggS":return"audio/ogg";case"RIFF":if("WAVE"==e.getString(8,4))return"audio/wav";var t=e.b[2],i=e.b[1];switch(e.b[0]){case 73:if(68==i&&51==t)return"audio/mp3";break;case 255:switch(i){case 243:case 250:case 251:return"audio/mp3"}}break;case"fLaC":return"audio/flac";default:var t=e.b[2],i=e.b[1];switch(e.b[0]){case 73:if(68==i&&51==t)return"audio/mp3";break;case 255:switch(i){case 243:case 250:case 251:return"audio/mp3"}}}return lime_utils_Log.error("Unsupported sound format",{fileName:"lime/media/AudioBuffer.hx",lineNumber:362,className:"lime.media.AudioBuffer",methodName:"__getCodec"}),null},lime_media_AudioBuffer.prototype={bitsPerSample:null,channels:null,data:null,sampleRate:null,__srcAudio:null,__srcBuffer:null,__srcCustom:null,__srcHowl:null,__srcSound:null,__srcVorbisFile:null,dispose:function(){this.__srcHowl.unload()},get_src:function(){return this.__srcHowl},set_src:function(e){return this.__srcHowl=e},__class__:lime_media_AudioBuffer,__properties__:{set_src:"set_src",get_src:"get_src"}};var lime_media_AudioContext=function(e){if("custom"!=e){if(null==e||"web"==e)try{window.AudioContext=window.AudioContext||window.webkitAudioContext,this.web=new window.AudioContext,this.type="web"}catch(e){haxe_NativeStackTrace.lastError=e}null==this.web&&"web"!=e&&(this.html5=new lime_media_HTML5AudioContext,this.type="html5")}else this.type="custom"};$hxClasses["lime.media.AudioContext"]=lime_media_AudioContext,lime_media_AudioContext.__name__="lime.media.AudioContext",lime_media_AudioContext.prototype={custom:null,flash:null,html5:null,openal:null,type:null,web:null,__class__:lime_media_AudioContext};var lime_media_AudioManager=function(){};$hxClasses["lime.media.AudioManager"]=lime_media_AudioManager,lime_media_AudioManager.__name__="lime.media.AudioManager",lime_media_AudioManager.context=null,lime_media_AudioManager.init=function(e){if(null==lime_media_AudioManager.context){if(null==e&&(lime_media_AudioManager.context=new lime_media_AudioContext,"openal"==(e=lime_media_AudioManager.context).type)){var t=e.openal,i=t.openDevice(),l=t.createContext(i);t.makeContextCurrent(l),t.processContext(l)}lime_media_AudioManager.context=e}},lime_media_AudioManager.resume=function(){if(null!=lime_media_AudioManager.context&&"openal"==lime_media_AudioManager.context.type){var e=lime_media_AudioManager.context.openal,t=e.getCurrentContext();if(null!=t){var i=e.getContextsDevice(t);e.resumeDevice(i),e.processContext(t)}}},lime_media_AudioManager.shutdown=function(){if(null!=lime_media_AudioManager.context&&"openal"==lime_media_AudioManager.context.type){var e=lime_media_AudioManager.context.openal,t=e.getCurrentContext();if(null!=t){var i=e.getContextsDevice(t);e.makeContextCurrent(null),e.destroyContext(t),null!=i&&e.closeDevice(i)}}lime_media_AudioManager.context=null},lime_media_AudioManager.suspend=function(){if(null!=lime_media_AudioManager.context&&"openal"==lime_media_AudioManager.context.type){var e=lime_media_AudioManager.context.openal,t=e.getCurrentContext();if(null!=t){e.suspendContext(t);var i=e.getContextsDevice(t);null!=i&&e.pauseDevice(i)}}};var lime_media_AudioSource=function(e,t,i,l){null==l&&(l=0),null==t&&(t=0),this.onComplete=new lime_app__$Event_$Void_$Void,this.buffer=e,this.offset=t,this.__backend=new lime__$internal_backend_html5_HTML5AudioSource(this),null!=i&&0!=i&&this.set_length(i),this.set_loops(l),null!=e&&this.init()};$hxClasses["lime.media.AudioSource"]=lime_media_AudioSource,lime_media_AudioSource.__name__="lime.media.AudioSource",lime_media_AudioSource.prototype={onComplete:null,buffer:null,offset:null,__backend:null,dispose:function(){this.__backend.dispose()},init:function(){this.__backend.init()},play:function(){this.__backend.play()},pause:function(){this.__backend.pause()},stop:function(){this.__backend.stop()},get_currentTime:function(){return this.__backend.getCurrentTime()},set_currentTime:function(e){return this.__backend.setCurrentTime(e)},get_gain:function(){return this.__backend.getGain()},set_gain:function(e){return this.__backend.setGain(e)},get_length:function(){return this.__backend.getLength()},set_length:function(e){return this.__backend.setLength(e)},get_loops:function(){return this.__backend.getLoops()},set_loops:function(e){return this.__backend.setLoops(e)},get_position:function(){return this.__backend.getPosition()},set_position:function(e){return this.__backend.setPosition(e)},__class__:lime_media_AudioSource,__properties__:{set_position:"set_position",get_position:"get_position",set_loops:"set_loops",get_loops:"get_loops",set_length:"set_length",get_length:"get_length",set_gain:"set_gain",get_gain:"get_gain",set_currentTime:"set_currentTime",get_currentTime:"get_currentTime"}};var lime_media_FlashAudioContext=function(){};$hxClasses["lime.media.FlashAudioContext"]=lime_media_FlashAudioContext,lime_media_FlashAudioContext.__name__="lime.media.FlashAudioContext",lime_media_FlashAudioContext.prototype={createBuffer:function(e,t){return null},getBytesLoaded:function(e){return 0},getBytesTotal:function(e){return 0},getID3:function(e){return null},getIsBuffering:function(e){return!1},getIsURLInaccessible:function(e){return!1},getLength:function(e){return 0},getURL:function(e){return null},close:function(e){},extract:function(e,t,i,l){return null==l&&(l=-1),0},load:function(e,t,i){},loadCompressedDataFromByteArray:function(e,t,i){},loadPCMFromByteArray:function(e,t,i,l,n,s){null==s&&(s=44100),null==n&&(n=!0)},play:function(e,t,i,l){return null==i&&(i=0),null==t&&(t=0),null},__class__:lime_media_FlashAudioContext};var lime_media_HTML5AudioContext=function(){this.NETWORK_NO_SOURCE=3,this.NETWORK_LOADING=2,this.NETWORK_IDLE=1,this.NETWORK_EMPTY=0,this.HAVE_NOTHING=0,this.HAVE_METADATA=1,this.HAVE_FUTURE_DATA=3,this.HAVE_ENOUGH_DATA=4,this.HAVE_CURRENT_DATA=2};$hxClasses["lime.media.HTML5AudioContext"]=lime_media_HTML5AudioContext,lime_media_HTML5AudioContext.__name__="lime.media.HTML5AudioContext",lime_media_HTML5AudioContext.prototype={HAVE_CURRENT_DATA:null,HAVE_ENOUGH_DATA:null,HAVE_FUTURE_DATA:null,HAVE_METADATA:null,HAVE_NOTHING:null,NETWORK_EMPTY:null,NETWORK_IDLE:null,NETWORK_LOADING:null,NETWORK_NO_SOURCE:null,canPlayType:function(e,t){return null!=e.__srcAudio?e.__srcAudio.canPlayType(t):null},createBuffer:function(e){var t=new lime_media_AudioBuffer;return t.__srcAudio=new Audio,t.__srcAudio.src=e,t},getAutoplay:function(e){return null!=e.__srcAudio&&e.__srcAudio.autoplay},getBuffered:function(e){return null!=e.__srcAudio?e.__srcAudio.buffered:null},getCurrentSrc:function(e){return null!=e.__srcAudio?e.__srcAudio.currentSrc:null},getCurrentTime:function(e){return null!=e.__srcAudio?e.__srcAudio.currentTime:0},getDefaultPlaybackRate:function(e){return null!=e.__srcAudio?e.__srcAudio.defaultPlaybackRate:1},getDuration:function(e){return null!=e.__srcAudio?e.__srcAudio.duration:0},getEnded:function(e){return null!=e.__srcAudio&&e.__srcAudio.ended},getError:function(e){return null!=e.__srcAudio?e.__srcAudio.error:null},getLoop:function(e){return null!=e.__srcAudio&&e.__srcAudio.loop},getMuted:function(e){return null!=e.__srcAudio&&e.__srcAudio.muted},getNetworkState:function(e){return null!=e.__srcAudio?e.__srcAudio.networkState:0},getPaused:function(e){return null!=e.__srcAudio&&e.__srcAudio.paused},getPlaybackRate:function(e){return null!=e.__srcAudio?e.__srcAudio.playbackRate:1},getPlayed:function(e){return null!=e.__srcAudio?e.__srcAudio.played:null},getPreload:function(e){return null!=e.__srcAudio?e.__srcAudio.preload:null},getReadyState:function(e){return null!=e.__srcAudio?e.__srcAudio.readyState:0},getSeekable:function(e){return null!=e.__srcAudio?e.__srcAudio.seekable:null},getSeeking:function(e){return null!=e.__srcAudio&&e.__srcAudio.seeking},getSrc:function(e){return null!=e.__srcAudio?e.__srcAudio.src:null},getStartTime:function(e){return null!=e.__srcAudio?e.__srcAudio.playbackRate:0},getVolume:function(e){return null!=e.__srcAudio?e.__srcAudio.volume:1},load:function(e){null!=e.__srcAudio&&e.__srcAudio.load()},pause:function(e){null!=e.__srcAudio&&e.__srcAudio.pause()},play:function(e){null!=e.__srcAudio&&e.__srcAudio.play()},setAutoplay:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.autoplay=t)},setCurrentTime:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.currentTime=t)},setDefaultPlaybackRate:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.defaultPlaybackRate=t)},setLoop:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.loop=t)},setMuted:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.muted=t)},setPlaybackRate:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.playbackRate=t)},setPreload:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.preload=t)},setSrc:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.src=t)},setVolume:function(e,t){null!=e.__srcAudio&&(e.__srcAudio.volume=t)},__class__:lime_media_HTML5AudioContext};var lime_media_OpenALAudioContext=function(){this.ALL_DEVICES_SPECIFIER=4115,this.DEFAULT_ALL_DEVICES_SPECIFIER=4114,this.ENUMERATE_ALL_EXT=1,this.DEVICE_SPECIFIER=4101,this.DEFAULT_DEVICE_SPECIFIER=4100,this.ALL_ATTRIBUTES=4099,this.ATTRIBUTES_SIZE=4098,this.INVALID_CONTEXT=40962,this.INVALID_DEVICE=40961,this.STEREO_SOURCES=4113,this.MONO_SOURCES=4112,this.SYNC=4105,this.REFRESH=4104,this.EXPONENT_DISTANCE_CLAMPED=53254,this.EXPONENT_DISTANCE=53253,this.LINEAR_DISTANCE_CLAMPED=53252,this.LINEAR_DISTANCE=53251,this.INVERSE_DISTANCE_CLAMPED=53250,this.INVERSE_DISTANCE=53249,this.DISTANCE_MODEL=53248,this.DOPPLER_VELOCITY=49153,this.SPEED_OF_SOUND=49155,this.DOPPLER_FACTOR=49152,this.EXTENSIONS=45060,this.RENDERER=45059,this.VERSION=45058,this.VENDOR=45057,this.OUT_OF_MEMORY=40965,this.INVALID_OPERATION=40964,this.INVALID_VALUE=40963,this.INVALID_ENUM=40962,this.INVALID_NAME=40961,this.NO_ERROR=0,this.SIZE=8196,this.CHANNELS=8195,this.BITS=8194,this.FREQUENCY=8193,this.FORMAT_STEREO16=4355,this.FORMAT_STEREO8=4354,this.FORMAT_MONO16=4353,this.FORMAT_MONO8=4352,this.UNDETERMINED=4144,this.STREAMING=4137,this.STATIC=4136,this.SOURCE_TYPE=4135,this.BYTE_OFFSET=4134,this.SAMPLE_OFFSET=4133,this.SEC_OFFSET=4132,this.MAX_DISTANCE=4131,this.CONE_OUTER_GAIN=4130,this.ROLLOFF_FACTOR=4129,this.REFERENCE_DISTANCE=4128,this.BUFFERS_PROCESSED=4118,this.BUFFERS_QUEUED=4117,this.STOPPED=4116,this.PAUSED=4115,this.PLAYING=4114,this.INITIAL=4113,this.SOURCE_STATE=4112,this.ORIENTATION=4111,this.MAX_GAIN=4110,this.MIN_GAIN=4109,this.GAIN=4106,this.BUFFER=4105,this.LOOPING=4103,this.VELOCITY=4102,this.DIRECTION=4101,this.POSITION=4100,this.PITCH=4099,this.CONE_OUTER_ANGLE=4098,this.CONE_INNER_ANGLE=4097,this.SOURCE_RELATIVE=514,this.TRUE=1,this.FALSE=0,this.NONE=0};$hxClasses["lime.media.OpenALAudioContext"]=lime_media_OpenALAudioContext,lime_media_OpenALAudioContext.__name__="lime.media.OpenALAudioContext",lime_media_OpenALAudioContext.prototype={NONE:null,FALSE:null,TRUE:null,SOURCE_RELATIVE:null,CONE_INNER_ANGLE:null,CONE_OUTER_ANGLE:null,PITCH:null,POSITION:null,DIRECTION:null,VELOCITY:null,LOOPING:null,BUFFER:null,GAIN:null,MIN_GAIN:null,MAX_GAIN:null,ORIENTATION:null,SOURCE_STATE:null,INITIAL:null,PLAYING:null,PAUSED:null,STOPPED:null,BUFFERS_QUEUED:null,BUFFERS_PROCESSED:null,REFERENCE_DISTANCE:null,ROLLOFF_FACTOR:null,CONE_OUTER_GAIN:null,MAX_DISTANCE:null,SEC_OFFSET:null,SAMPLE_OFFSET:null,BYTE_OFFSET:null,SOURCE_TYPE:null,STATIC:null,STREAMING:null,UNDETERMINED:null,FORMAT_MONO8:null,FORMAT_MONO16:null,FORMAT_STEREO8:null,FORMAT_STEREO16:null,FREQUENCY:null,BITS:null,CHANNELS:null,SIZE:null,NO_ERROR:null,INVALID_NAME:null,INVALID_ENUM:null,INVALID_VALUE:null,INVALID_OPERATION:null,OUT_OF_MEMORY:null,VENDOR:null,VERSION:null,RENDERER:null,EXTENSIONS:null,DOPPLER_FACTOR:null,SPEED_OF_SOUND:null,DOPPLER_VELOCITY:null,DISTANCE_MODEL:null,INVERSE_DISTANCE:null,INVERSE_DISTANCE_CLAMPED:null,LINEAR_DISTANCE:null,LINEAR_DISTANCE_CLAMPED:null,EXPONENT_DISTANCE:null,EXPONENT_DISTANCE_CLAMPED:null,REFRESH:null,SYNC:null,MONO_SOURCES:null,STEREO_SOURCES:null,INVALID_DEVICE:null,INVALID_CONTEXT:null,ATTRIBUTES_SIZE:null,ALL_ATTRIBUTES:null,DEFAULT_DEVICE_SPECIFIER:null,DEVICE_SPECIFIER:null,ENUMERATE_ALL_EXT:null,DEFAULT_ALL_DEVICES_SPECIFIER:null,ALL_DEVICES_SPECIFIER:null,bufferData:function(e,t,i,l,n){lime_media_openal_AL.bufferData(e,t,i,l,n)},buffer3f:function(e,t,i,l,n){lime_media_openal_AL.buffer3f(e,t,i,l,n)},buffer3i:function(e,t,i,l,n){lime_media_openal_AL.buffer3i(e,t,i,l,n)},bufferf:function(e,t,i){lime_media_openal_AL.bufferf(e,t,i)},bufferfv:function(e,t,i){lime_media_openal_AL.bufferfv(e,t,i)},bufferi:function(e,t,i){lime_media_openal_AL.bufferi(e,t,i)},bufferiv:function(e,t,i){lime_media_openal_AL.bufferiv(e,t,i)},closeDevice:function(e){return lime_media_openal_ALC.closeDevice(e)},createContext:function(e,t){return lime_media_openal_ALC.createContext(e,t)},createBuffer:function(){return lime_media_openal_AL.createBuffer()},createSource:function(){return lime_media_openal_AL.createSource()},deleteBuffer:function(e){lime_media_openal_AL.deleteBuffer(e)},deleteBuffers:function(e){lime_media_openal_AL.deleteBuffers(e)},deleteSource:function(e){lime_media_openal_AL.deleteSource(e)},deleteSources:function(e){lime_media_openal_AL.deleteSources(e)},destroyContext:function(e){null!=e&&lime_media_openal_ALC.destroyContext(e)},disable:function(e){lime_media_openal_AL.disable(e)},distanceModel:function(e){lime_media_openal_AL.distanceModel(e)},dopplerFactor:function(e){lime_media_openal_AL.dopplerFactor(e)},dopplerVelocity:function(e){lime_media_openal_AL.dopplerVelocity(e)},enable:function(e){lime_media_openal_AL.enable(e)},genSource:function(){return this.createSource()},genSources:function(e){return lime_media_openal_AL.genSources(e)},genBuffer:function(){return this.createBuffer()},genBuffers:function(e){return lime_media_openal_AL.genBuffers(e)},getBoolean:function(e){return lime_media_openal_AL.getBoolean(e)},getBooleanv:function(e,t){return null==t&&(t=1),lime_media_openal_AL.getBooleanv(e,t)},getBuffer3f:function(e,t){return lime_media_openal_AL.getBuffer3f(e,t)},getBuffer3i:function(e,t){return lime_media_openal_AL.getBuffer3i(e,t)},getBufferf:function(e,t){return lime_media_openal_AL.getBufferf(e,t)},getBufferfv:function(e,t,i){return null==i&&(i=1),lime_media_openal_AL.getBufferfv(e,t,i)},getBufferi:function(e,t){return lime_media_openal_AL.getBufferi(e,t)},getBufferiv:function(e,t,i){return null==i&&(i=1),lime_media_openal_AL.getBufferiv(e,t,i)},getContextsDevice:function(e){return null==e?null:lime_media_openal_ALC.getContextsDevice(e)},getCurrentContext:function(){return lime_media_openal_ALC.getCurrentContext()},getDouble:function(e){return lime_media_openal_AL.getDouble(e)},getDoublev:function(e,t){return null==t&&(t=1),lime_media_openal_AL.getDoublev(e,t)},getEnumValue:function(e){return lime_media_openal_AL.getEnumValue(e)},getError:function(e){return null==e?lime_media_openal_AL.getError():lime_media_openal_ALC.getError(e)},getErrorString:function(e){return null==e?lime_media_openal_AL.getErrorString():lime_media_openal_ALC.getErrorString(e)},getFloat:function(e){return lime_media_openal_AL.getFloat(e)},getFloatv:function(e,t){return null==t&&(t=1),lime_media_openal_AL.getFloatv(e,t)},getInteger:function(e){return lime_media_openal_AL.getInteger(e)},getIntegerv:function(e,t,i){return null==t&&(t=1),null==i?lime_media_openal_AL.getIntegerv(e,t):lime_media_openal_ALC.getIntegerv(i,e,t)},getListener3f:function(e){return lime_media_openal_AL.getListener3f(e)},getListener3i:function(e){return lime_media_openal_AL.getListener3i(e)},getListenerf:function(e){return lime_media_openal_AL.getListenerf(e)},getListenerfv:function(e,t){return null==t&&(t=1),lime_media_openal_AL.getListenerfv(e,t)},getListeneri:function(e){return lime_media_openal_AL.getListeneri(e)},getListeneriv:function(e,t){return null==t&&(t=1),lime_media_openal_AL.getListeneriv(e,t)},getProcAddress:function(e){return lime_media_openal_AL.getProcAddress(e)},getSource3f:function(e,t){return lime_media_openal_AL.getSource3f(e,t)},getSourcef:function(e,t){return lime_media_openal_AL.getSourcef(e,t)},getSource3i:function(e,t){return lime_media_openal_AL.getSource3i(e,t)},getSourcefv:function(e,t,i){return null==i&&(i=1),lime_media_openal_AL.getSourcefv(e,t)},getSourcei:function(e,t){return lime_media_openal_AL.getSourcei(e,t)},getSourceiv:function(e,t,i){return null==i&&(i=1),lime_media_openal_AL.getSourceiv(e,t,i)},getString:function(e,t){return null==t?lime_media_openal_AL.getString(e):lime_media_openal_ALC.getString(t,e)},isBuffer:function(e){return lime_media_openal_AL.isBuffer(e)},isEnabled:function(e){return lime_media_openal_AL.isEnabled(e)},isExtensionPresent:function(e){return lime_media_openal_AL.isExtensionPresent(e)},isSource:function(e){return lime_media_openal_AL.isSource(e)},listener3f:function(e,t,i,l){lime_media_openal_AL.listener3f(e,t,i,l)},listener3i:function(e,t,i,l){lime_media_openal_AL.listener3i(e,t,i,l)},listenerf:function(e,t){lime_media_openal_AL.listenerf(e,t)},listenerfv:function(e,t){lime_media_openal_AL.listenerfv(e,t)},listeneri:function(e,t){lime_media_openal_AL.listeneri(e,t)},listeneriv:function(e,t){lime_media_openal_AL.listeneriv(e,t)},makeContextCurrent:function(e){return lime_media_openal_ALC.makeContextCurrent(e)},openDevice:function(e){return lime_media_openal_ALC.openDevice(e)},pauseDevice:function(e){lime_media_openal_ALC.pauseDevice(e)},processContext:function(e){lime_media_openal_ALC.processContext(e)},resumeDevice:function(e){lime_media_openal_ALC.resumeDevice(e)},source3f:function(e,t,i,l,n){lime_media_openal_AL.source3f(e,t,i,l,n)},source3i:function(e,t,i,l,n){lime_media_openal_AL.source3i(e,t,i,l,n)},sourcef:function(e,t,i){lime_media_openal_AL.sourcef(e,t,i)},sourcefv:function(e,t,i){lime_media_openal_AL.sourcefv(e,t,i)},sourcei:function(e,t,i){lime_media_openal_AL.sourcei(e,t,i)},sourceiv:function(e,t,i){lime_media_openal_AL.sourceiv(e,t,i)},sourcePlay:function(e){lime_media_openal_AL.sourcePlay(e)},sourcePlayv:function(e){lime_media_openal_AL.sourcePlayv(e)},sourceStop:function(e){lime_media_openal_AL.sourceStop(e)},sourceStopv:function(e){lime_media_openal_AL.sourceStopv(e)},sourceRewind:function(e){lime_media_openal_AL.sourceRewind(e)},sourceRewindv:function(e){lime_media_openal_AL.sourceRewindv(e)},sourcePause:function(e){lime_media_openal_AL.sourcePause(e)},sourcePausev:function(e){lime_media_openal_AL.sourcePausev(e)},sourceQueueBuffer:function(e,t){lime_media_openal_AL.sourceQueueBuffer(e,t)},sourceQueueBuffers:function(e,t,i){lime_media_openal_AL.sourceQueueBuffers(e,t,i)},sourceUnqueueBuffer:function(e){return lime_media_openal_AL.sourceUnqueueBuffer(e)},sourceUnqueueBuffers:function(e,t){return lime_media_openal_AL.sourceUnqueueBuffers(e,t)},speedOfSound:function(e){lime_media_openal_AL.speedOfSound(e)},suspendContext:function(e){lime_media_openal_ALC.suspendContext(e)},__class__:lime_media_OpenALAudioContext};var lime_media_openal_AL=function(){};$hxClasses["lime.media.openal.AL"]=lime_media_openal_AL,lime_media_openal_AL.__name__="lime.media.openal.AL",lime_media_openal_AL.removeDirectFilter=function(e){},lime_media_openal_AL.removeSend=function(e,t){},lime_media_openal_AL.auxf=function(e,t,i){},lime_media_openal_AL.auxfv=function(e,t,i){},lime_media_openal_AL.auxi=function(e,t,i){},lime_media_openal_AL.auxiv=function(e,t,i){},lime_media_openal_AL.bufferData=function(e,t,i,l,n){},lime_media_openal_AL.buffer3f=function(e,t,i,l,n){},lime_media_openal_AL.buffer3i=function(e,t,i,l,n){},lime_media_openal_AL.bufferf=function(e,t,i){},lime_media_openal_AL.bufferfv=function(e,t,i){},lime_media_openal_AL.bufferi=function(e,t,i){},lime_media_openal_AL.bufferiv=function(e,t,i){},lime_media_openal_AL.createAux=function(){return null},lime_media_openal_AL.createBuffer=function(){return null},lime_media_openal_AL.createEffect=function(){return null},lime_media_openal_AL.createFilter=function(){return null},lime_media_openal_AL.createSource=function(){return null},lime_media_openal_AL.deleteBuffer=function(e){},lime_media_openal_AL.deleteBuffers=function(e){},lime_media_openal_AL.deleteSource=function(e){},lime_media_openal_AL.deleteSources=function(e){},lime_media_openal_AL.disable=function(e){},lime_media_openal_AL.distanceModel=function(e){},lime_media_openal_AL.dopplerFactor=function(e){},lime_media_openal_AL.dopplerVelocity=function(e){},lime_media_openal_AL.effectf=function(e,t,i){},lime_media_openal_AL.effectfv=function(e,t,i){},lime_media_openal_AL.effecti=function(e,t,i){},lime_media_openal_AL.effectiv=function(e,t,i){},lime_media_openal_AL.enable=function(e){},lime_media_openal_AL.genSource=function(){return null},lime_media_openal_AL.genSources=function(e){return null},lime_media_openal_AL.genBuffer=function(){return null},lime_media_openal_AL.genBuffers=function(e){return null},lime_media_openal_AL.getBoolean=function(e){return!1},lime_media_openal_AL.getBooleanv=function(e,t){return null==t&&(t=1),null},lime_media_openal_AL.getBuffer3f=function(e,t){return null},lime_media_openal_AL.getBuffer3i=function(e,t){return null},lime_media_openal_AL.getBufferf=function(e,t){return 0},lime_media_openal_AL.getBufferfv=function(e,t,i){return null==i&&(i=1),null},lime_media_openal_AL.getBufferi=function(e,t){return 0},lime_media_openal_AL.getBufferiv=function(e,t,i){return null==i&&(i=1),null},lime_media_openal_AL.getDouble=function(e){return 0},lime_media_openal_AL.getDoublev=function(e,t){return null==t&&(t=1),null},lime_media_openal_AL.getEnumValue=function(e){return 0},lime_media_openal_AL.getError=function(){return 0},lime_media_openal_AL.getErrorString=function(){switch(lime_media_openal_AL.getError()){case 40961:return"INVALID_NAME: Invalid parameter name";case 40962:return"INVALID_ENUM: Invalid enum value";case 40963:return"INVALID_VALUE: Invalid parameter value";case 40964:return"INVALID_OPERATION: Illegal operation or call";case 40965:return"OUT_OF_MEMORY: OpenAL has run out of memory";default:return""}},lime_media_openal_AL.getFilteri=function(e,t){return 0},lime_media_openal_AL.getFloat=function(e){return 0},lime_media_openal_AL.getFloatv=function(e,t){return null==t&&(t=1),null},lime_media_openal_AL.getInteger=function(e){return 0},lime_media_openal_AL.getIntegerv=function(e,t){return null==t&&(t=1),null},lime_media_openal_AL.getListener3f=function(e){return null},lime_media_openal_AL.getListener3i=function(e){return null},lime_media_openal_AL.getListenerf=function(e){return 0},lime_media_openal_AL.getListenerfv=function(e,t){return null==t&&(t=1),null},lime_media_openal_AL.getListeneri=function(e){return 0},lime_media_openal_AL.getListeneriv=function(e,t){return null==t&&(t=1),null},lime_media_openal_AL.getParameter=function(e){return null},lime_media_openal_AL.getProcAddress=function(e){return null},lime_media_openal_AL.getSource3f=function(e,t){return null},lime_media_openal_AL.getSourcef=function(e,t){return 0},lime_media_openal_AL.getSource3i=function(e,t){return null},lime_media_openal_AL.getSourcefv=function(e,t,i){return null==i&&(i=1),null},lime_media_openal_AL.getSourcei=function(e,t){return 0},lime_media_openal_AL.getSourceiv=function(e,t,i){return null==i&&(i=1),null},lime_media_openal_AL.getString=function(e){return null},lime_media_openal_AL.isBuffer=function(e){return!1},lime_media_openal_AL.isEnabled=function(e){return!1},lime_media_openal_AL.isExtensionPresent=function(e){return!1},lime_media_openal_AL.isAux=function(e){return!1},lime_media_openal_AL.isEffect=function(e){return!1},lime_media_openal_AL.isFilter=function(e){return!1},lime_media_openal_AL.isSource=function(e){return!1},lime_media_openal_AL.listener3f=function(e,t,i,l){},lime_media_openal_AL.listener3i=function(e,t,i,l){},lime_media_openal_AL.listenerf=function(e,t){},lime_media_openal_AL.listenerfv=function(e,t){},lime_media_openal_AL.listeneri=function(e,t){},lime_media_openal_AL.listeneriv=function(e,t){},lime_media_openal_AL.source3f=function(e,t,i,l,n){},lime_media_openal_AL.source3i=function(e,t,i,l,n){},lime_media_openal_AL.sourcef=function(e,t,i){},lime_media_openal_AL.sourcefv=function(e,t,i){},lime_media_openal_AL.sourcei=function(e,t,i){},lime_media_openal_AL.filteri=function(e,t,i){},lime_media_openal_AL.filterf=function(e,t,i){},lime_media_openal_AL.sourceiv=function(e,t,i){},lime_media_openal_AL.sourcePlay=function(e){},lime_media_openal_AL.sourcePlayv=function(e){},lime_media_openal_AL.sourceStop=function(e){},lime_media_openal_AL.sourceStopv=function(e){},lime_media_openal_AL.sourceRewind=function(e){},lime_media_openal_AL.sourceRewindv=function(e){},lime_media_openal_AL.sourcePause=function(e){},lime_media_openal_AL.sourcePausev=function(e){},lime_media_openal_AL.sourceQueueBuffer=function(e,t){},lime_media_openal_AL.sourceQueueBuffers=function(e,t,i){},lime_media_openal_AL.sourceUnqueueBuffer=function(e){return 0},lime_media_openal_AL.sourceUnqueueBuffers=function(e,t){return null},lime_media_openal_AL.speedOfSound=function(e){};var lime_media_openal_ALAuxiliaryEffectSlot={};lime_media_openal_ALAuxiliaryEffectSlot._new=function(e){return e};var lime_media_openal_ALBuffer={};lime_media_openal_ALBuffer._new=function(e){return e};var lime_media_openal_ALC=function(){};$hxClasses["lime.media.openal.ALC"]=lime_media_openal_ALC,lime_media_openal_ALC.__name__="lime.media.openal.ALC",lime_media_openal_ALC.closeDevice=function(e){return!1},lime_media_openal_ALC.createContext=function(e,t){return null},lime_media_openal_ALC.destroyContext=function(e){},lime_media_openal_ALC.getContextsDevice=function(e){return null},lime_media_openal_ALC.getCurrentContext=function(){return null},lime_media_openal_ALC.getError=function(e){return 0},lime_media_openal_ALC.getErrorString=function(e){switch(lime_media_openal_ALC.getError(e)){case 40961:return"INVALID_DEVICE: Invalid device (or no device?)";case 40962:return"INVALID_CONTEXT: Invalid context (or no context?)";case 40963:return"INVALID_ENUM: Invalid enum value";case 40964:return"INVALID_VALUE: Invalid param value";case 40965:return"OUT_OF_MEMORY: OpenAL has run out of memory";default:return""}},lime_media_openal_ALC.getIntegerv=function(e,t,i){return null},lime_media_openal_ALC.getString=function(e,t){return null},lime_media_openal_ALC.makeContextCurrent=function(e){return!1},lime_media_openal_ALC.openDevice=function(e){return null},lime_media_openal_ALC.pauseDevice=function(e){},lime_media_openal_ALC.processContext=function(e){},lime_media_openal_ALC.resumeDevice=function(e){},lime_media_openal_ALC.suspendContext=function(e){};var lime_media_openal_ALContext={};lime_media_openal_ALContext._new=function(e){return e};var lime_media_openal_ALDevice={};lime_media_openal_ALDevice._new=function(e){return e};var lime_media_openal_ALEffect={};lime_media_openal_ALEffect._new=function(e){return e};var lime_media_openal_ALFilter={};lime_media_openal_ALFilter._new=function(e){return e};var lime_media_openal_ALSource={};lime_media_openal_ALSource._new=function(e){return e};var lime_media_vorbis_VorbisComment=function(){};$hxClasses["lime.media.vorbis.VorbisComment"]=lime_media_vorbis_VorbisComment,lime_media_vorbis_VorbisComment.__name__="lime.media.vorbis.VorbisComment",lime_media_vorbis_VorbisComment.prototype={userComments:null,vendor:null,__class__:lime_media_vorbis_VorbisComment};var lime_media_vorbis_VorbisFile=function(e){this.handle=e};$hxClasses["lime.media.vorbis.VorbisFile"]=lime_media_vorbis_VorbisFile,lime_media_vorbis_VorbisFile.__name__="lime.media.vorbis.VorbisFile",lime_media_vorbis_VorbisFile.fromBytes=function(e){return null},lime_media_vorbis_VorbisFile.fromFile=function(e){return null},lime_media_vorbis_VorbisFile.prototype={bitstream:null,handle:null,bitrate:function(e){return null==e&&(e=-1),0},bitrateInstant:function(){return 0},clear:function(){},comment:function(e){return null==e&&(e=-1),null},crosslap:function(e){return 0},info:function(e){return null==e&&(e=-1),null},pcmSeek:function(e){return 0},pcmSeekLap:function(e){return 0},pcmSeekPage:function(e){return 0},pcmSeekPageLap:function(e){return 0},pcmTell:function(){return new haxe__$Int64__$_$_$Int64(0,0)},pcmTotal:function(e){return null==e&&(e=-1),new haxe__$Int64__$_$_$Int64(0,0)},rawSeek:function(e){return 0},rawSeekLap:function(e){return 0},rawTell:function(){return new haxe__$Int64__$_$_$Int64(0,0)},rawTotal:function(e){return null==e&&(e=-1),new haxe__$Int64__$_$_$Int64(0,0)},read:function(e,t,i,l,n,s){return null==s&&(s=!0),null==n&&(n=2),null==l&&(l=!1),null==i&&(i=4096),0},readFloat:function(e,t){return 0},seekable:function(){return!1},serialNumber:function(e){return null==e&&(e=-1),0},streams:function(){return 0},timeSeek:function(e){return 0},timeSeekLap:function(e){return 0},timeSeekPage:function(e){return 0},timeSeekPageLap:function(e){return 0},timeTell:function(){return 0},timeTotal:function(e){return null==e&&(e=-1),0},__class__:lime_media_vorbis_VorbisFile};var lime_media_vorbis_VorbisInfo=function(){};$hxClasses["lime.media.vorbis.VorbisInfo"]=lime_media_vorbis_VorbisInfo,lime_media_vorbis_VorbisInfo.__name__="lime.media.vorbis.VorbisInfo",lime_media_vorbis_VorbisInfo.prototype={bitrateLower:null,bitrateNominal:null,bitrateUpper:null,channels:null,rate:null,version:null,__class__:lime_media_vorbis_VorbisInfo};var lime_net__$IHTTPRequest=function(){};$hxClasses["lime.net._IHTTPRequest"]=lime_net__$IHTTPRequest,lime_net__$IHTTPRequest.__name__="lime.net._IHTTPRequest",lime_net__$IHTTPRequest.__isInterface__=!0,lime_net__$IHTTPRequest.prototype={contentType:null,data:null,enableResponseHeaders:null,followRedirects:null,formData:null,headers:null,method:null,responseHeaders:null,responseStatus:null,timeout:null,uri:null,userAgent:null,withCredentials:null,cancel:null,__class__:lime_net__$IHTTPRequest};var lime_net__$HTTPRequest_AbstractHTTPRequest=function(e){this.uri=e,this.contentType="application/x-www-form-urlencoded",this.followRedirects=!0,this.enableResponseHeaders=!1,this.formData=new haxe_ds_StringMap,this.headers=[],this.method="GET",this.timeout=3e4,this.withCredentials=!1,this.__backend=new lime__$internal_backend_html5_HTML5HTTPRequest,this.__backend.init(this)};$hxClasses["lime.net._HTTPRequest.AbstractHTTPRequest"]=lime_net__$HTTPRequest_AbstractHTTPRequest,lime_net__$HTTPRequest_AbstractHTTPRequest.__name__="lime.net._HTTPRequest.AbstractHTTPRequest",lime_net__$HTTPRequest_AbstractHTTPRequest.__interfaces__=[lime_net__$IHTTPRequest],lime_net__$HTTPRequest_AbstractHTTPRequest.prototype={contentType:null,data:null,enableResponseHeaders:null,followRedirects:null,formData:null,headers:null,method:null,responseData:null,responseHeaders:null,responseStatus:null,timeout:null,uri:null,userAgent:null,withCredentials:null,__backend:null,cancel:function(){this.__backend.cancel()},load:function(e){return null},__class__:lime_net__$HTTPRequest_AbstractHTTPRequest};var lime_net_HTTPRequest=function(e){lime_net__$HTTPRequest_AbstractHTTPRequest.call(this,e)};$hxClasses["lime.net.HTTPRequest"]=lime_net_HTTPRequest,lime_net_HTTPRequest.__name__="lime.net.HTTPRequest",lime_net_HTTPRequest.__super__=lime_net__$HTTPRequest_AbstractHTTPRequest,lime_net_HTTPRequest.prototype=$extend(lime_net__$HTTPRequest_AbstractHTTPRequest.prototype,{__class__:lime_net_HTTPRequest});var lime_net__$HTTPRequest_$Bytes=function(e){lime_net__$HTTPRequest_AbstractHTTPRequest.call(this,e)};$hxClasses["lime.net._HTTPRequest_Bytes"]=lime_net__$HTTPRequest_$Bytes,lime_net__$HTTPRequest_$Bytes.__name__="lime.net._HTTPRequest_Bytes",lime_net__$HTTPRequest_$Bytes.__super__=lime_net__$HTTPRequest_AbstractHTTPRequest,lime_net__$HTTPRequest_$Bytes.prototype=$extend(lime_net__$HTTPRequest_AbstractHTTPRequest.prototype,{fromBytes:function(e){return e},load:function(e){var t=this;null!=e&&(this.uri=e);var i=new lime_app_Promise,l=this.__backend.loadData(this.uri);return l.onProgress($bind(i,i.progress)),l.onError($bind(i,i.error)),l.onComplete(function(e){t.responseData=t.fromBytes(e),i.complete(t.responseData)}),i.future},__class__:lime_net__$HTTPRequest_$Bytes});var lime_net__$HTTPRequest_$String=function(e){lime_net__$HTTPRequest_AbstractHTTPRequest.call(this,e)};$hxClasses["lime.net._HTTPRequest_String"]=lime_net__$HTTPRequest_$String,lime_net__$HTTPRequest_$String.__name__="lime.net._HTTPRequest_String",lime_net__$HTTPRequest_$String.__super__=lime_net__$HTTPRequest_AbstractHTTPRequest,lime_net__$HTTPRequest_$String.prototype=$extend(lime_net__$HTTPRequest_AbstractHTTPRequest.prototype,{load:function(e){var t=this;null!=e&&(this.uri=e);var i=new lime_app_Promise,l=this.__backend.loadText(this.uri);return l.onProgress($bind(i,i.progress)),l.onError($bind(i,i.error)),l.onComplete(function(e){t.responseData=e,i.complete(t.responseData)}),i.future},__class__:lime_net__$HTTPRequest_$String});var lime_net_HTTPRequestHeader=function(e,t){null==t&&(t=""),this.name=e,this.value=t};$hxClasses["lime.net.HTTPRequestHeader"]=lime_net_HTTPRequestHeader,lime_net_HTTPRequestHeader.__name__="lime.net.HTTPRequestHeader",lime_net_HTTPRequestHeader.prototype={name:null,value:null,__class__:lime_net_HTTPRequestHeader};var lime_net__$HTTPRequest_$lime_$text_$Font=function(e){lime_net__$HTTPRequest_$Bytes.call(this,e)};$hxClasses["lime.net._HTTPRequest_lime_text_Font"]=lime_net__$HTTPRequest_$lime_$text_$Font,lime_net__$HTTPRequest_$lime_$text_$Font.__name__="lime.net._HTTPRequest_lime_text_Font",lime_net__$HTTPRequest_$lime_$text_$Font.__super__=lime_net__$HTTPRequest_$Bytes,lime_net__$HTTPRequest_$lime_$text_$Font.prototype=$extend(lime_net__$HTTPRequest_$Bytes.prototype,{fromBytes:function(e){return lime_text_Font.fromBytes(e)},__class__:lime_net__$HTTPRequest_$lime_$text_$Font});var lime_net__$HTTPRequest_$lime_$utils_$Bytes=function(e){lime_net__$HTTPRequest_$Bytes.call(this,e)};$hxClasses["lime.net._HTTPRequest_lime_utils_Bytes"]=lime_net__$HTTPRequest_$lime_$utils_$Bytes,lime_net__$HTTPRequest_$lime_$utils_$Bytes.__name__="lime.net._HTTPRequest_lime_utils_Bytes",lime_net__$HTTPRequest_$lime_$utils_$Bytes.__super__=lime_net__$HTTPRequest_$Bytes,lime_net__$HTTPRequest_$lime_$utils_$Bytes.prototype=$extend(lime_net__$HTTPRequest_$Bytes.prototype,{fromBytes:function(e){return lime_utils_Bytes.fromBytes(e)},__class__:lime_net__$HTTPRequest_$lime_$utils_$Bytes});var lime_net__$HTTPRequest_$openfl_$utils_$ByteArray=function(e){lime_net__$HTTPRequest_$Bytes.call(this,e)};$hxClasses["lime.net._HTTPRequest_openfl_utils_ByteArray"]=lime_net__$HTTPRequest_$openfl_$utils_$ByteArray,lime_net__$HTTPRequest_$openfl_$utils_$ByteArray.__name__="lime.net._HTTPRequest_openfl_utils_ByteArray",lime_net__$HTTPRequest_$openfl_$utils_$ByteArray.__super__=lime_net__$HTTPRequest_$Bytes,lime_net__$HTTPRequest_$openfl_$utils_$ByteArray.prototype=$extend(lime_net__$HTTPRequest_$Bytes.prototype,{fromBytes:function(e){return openfl_utils_ByteArray.fromBytes(e)},__class__:lime_net__$HTTPRequest_$openfl_$utils_$ByteArray});var lime_system_BackgroundWorker=function(){this.onProgress=new lime_app__$Event_$Dynamic_$Void,this.onError=new lime_app__$Event_$Dynamic_$Void,this.onComplete=new lime_app__$Event_$Dynamic_$Void,this.doWork=new lime_app__$Event_$Dynamic_$Void};$hxClasses["lime.system.BackgroundWorker"]=lime_system_BackgroundWorker,lime_system_BackgroundWorker.__name__="lime.system.BackgroundWorker",lime_system_BackgroundWorker.prototype={canceled:null,completed:null,doWork:null,onComplete:null,onError:null,onProgress:null,__runMessage:null,cancel:function(){this.canceled=!0},run:function(e){this.canceled=!1,this.completed=!1,this.__runMessage=e,this.__doWork()},sendComplete:function(e){this.completed=!0,this.canceled||(this.canceled=!0,this.onComplete.dispatch(e))},sendError:function(e){this.canceled||(this.canceled=!0,this.onError.dispatch(e))},sendProgress:function(e){this.canceled||this.onProgress.dispatch(e)},__doWork:function(){this.doWork.dispatch(this.__runMessage)},__update:function(e){},__class__:lime_system_BackgroundWorker};var lime_system_CFFI=function(){};$hxClasses["lime.system.CFFI"]=lime_system_CFFI,lime_system_CFFI.__name__="lime.system.CFFI",lime_system_CFFI.available=null,lime_system_CFFI.enabled=null,lime_system_CFFI.load=function(e,t,i,l){if(null==l&&(l=!1),null==i&&(i=0),!lime_system_CFFI.enabled)return Reflect.makeVarArgs(function(e){return{}});return null},lime_system_CFFI.__findHaxelib=function(e){return""},lime_system_CFFI.__loaderTrace=function(e){},lime_system_CFFI.__sysName=function(){return null},lime_system_CFFI.__tryLoad=function(e,t,i,l){return null};var lime_system_CFFIPointer={};lime_system_CFFIPointer._new=function(e){return e},lime_system_CFFIPointer.get=function(e){return 0},lime_system_CFFIPointer.equals=function(e,t){return lime_system_CFFIPointer.get(e)==t},lime_system_CFFIPointer.equalsPointer=function(e,t){return lime_system_CFFIPointer.get(e)==lime_system_CFFIPointer.get(t)},lime_system_CFFIPointer.greaterThan=function(e,t){return lime_system_CFFIPointer.get(e)>t},lime_system_CFFIPointer.greaterThanPointer=function(e,t){return lime_system_CFFIPointer.get(e)>lime_system_CFFIPointer.get(t)},lime_system_CFFIPointer.greaterThanOrEqual=function(e,t){return lime_system_CFFIPointer.get(e)>=t},lime_system_CFFIPointer.greaterThanOrEqualPointer=function(e,t){return lime_system_CFFIPointer.get(e)>=lime_system_CFFIPointer.get(t)},lime_system_CFFIPointer.lessThan=function(e,t){return lime_system_CFFIPointer.get(e)<t},lime_system_CFFIPointer.lessThanPointer=function(e,t){return lime_system_CFFIPointer.get(e)<lime_system_CFFIPointer.get(t)},lime_system_CFFIPointer.lessThanOrEqual=function(e,t){return lime_system_CFFIPointer.get(e)<=t},lime_system_CFFIPointer.lessThanOrEqualPointer=function(e,t){return lime_system_CFFIPointer.get(e)<=lime_system_CFFIPointer.get(t)},lime_system_CFFIPointer.notEquals=function(e,t){return lime_system_CFFIPointer.get(e)!=t},lime_system_CFFIPointer.notEqualsPointer=function(e,t){return lime_system_CFFIPointer.get(e)!=lime_system_CFFIPointer.get(t)};var lime_system_Clipboard=function(){};$hxClasses["lime.system.Clipboard"]=lime_system_Clipboard,lime_system_Clipboard.__name__="lime.system.Clipboard",lime_system_Clipboard.__properties__={set_text:"set_text",get_text:"get_text"},lime_system_Clipboard._text=null,lime_system_Clipboard.__update=function(){var e=lime_system_Clipboard._text;lime_system_Clipboard._text=null,lime_system_Clipboard._text!=e&&lime_system_Clipboard.onUpdate.dispatch()},lime_system_Clipboard.get_text=function(){return lime_system_Clipboard.__update(),lime_system_Clipboard._text},lime_system_Clipboard.set_text=function(e){var t=lime_system_Clipboard._text;lime_system_Clipboard._text=e;var i=lime_app_Application.current.__window;return null!=i&&i.__backend.setClipboard(e),lime_system_Clipboard._text!=t&&lime_system_Clipboard.onUpdate.dispatch(),e};var lime_system_Display=function(){};$hxClasses["lime.system.Display"]=lime_system_Display,lime_system_Display.__name__="lime.system.Display",lime_system_Display.prototype={bounds:null,currentMode:null,id:null,dpi:null,name:null,supportedModes:null,__class__:lime_system_Display};var lime_system_DisplayMode=function(e,t,i,l){this.width=e,this.height=t,this.refreshRate=i,this.pixelFormat=l};$hxClasses["lime.system.DisplayMode"]=lime_system_DisplayMode,lime_system_DisplayMode.__name__="lime.system.DisplayMode",lime_system_DisplayMode.prototype={height:null,pixelFormat:null,refreshRate:null,width:null,__class__:lime_system_DisplayMode};var lime_system_Endian=$hxEnums["lime.system.Endian"]={__ename__:"lime.system.Endian",__constructs__:["LITTLE_ENDIAN","BIG_ENDIAN"],LITTLE_ENDIAN:{_hx_index:0,__enum__:"lime.system.Endian",toString:$estr},BIG_ENDIAN:{_hx_index:1,__enum__:"lime.system.Endian",toString:$estr}},lime_system_Sensor=function(e,t){this.onUpdate=new lime_app__$Event_$Float_$Float_$Float_$Void,this.type=e,this.id=t};$hxClasses["lime.system.Sensor"]=lime_system_Sensor,lime_system_Sensor.__name__="lime.system.Sensor",lime_system_Sensor.getSensors=function(e){if(null==e)return lime_system_Sensor.sensors.slice();for(var t=[],i=0,l=lime_system_Sensor.sensors;i<l.length;){var n=l[i];++i,n.type==e&&t.push(n)}return t},lime_system_Sensor.registerSensor=function(e,t){var i=new lime_system_Sensor(e,t);return lime_system_Sensor.sensors.push(i),lime_system_Sensor.sensorByID.h[t]=i,i},lime_system_Sensor.prototype={id:null,onUpdate:null,type:null,__class__:lime_system_Sensor};var lime_system_SensorType=$hxEnums["lime.system.SensorType"]={__ename__:"lime.system.SensorType",__constructs__:["ACCELEROMETER"],ACCELEROMETER:{_hx_index:0,__enum__:"lime.system.SensorType",toString:$estr}},lime_system_System=function(){};$hxClasses["lime.system.System"]=lime_system_System,lime_system_System.__name__="lime.system.System",lime_system_System.__properties__={get_userDirectory:"get_userDirectory",get_platformVersion:"get_platformVersion",get_platformName:"get_platformName",get_platformLabel:"get_platformLabel",get_numDisplays:"get_numDisplays",get_fontsDirectory:"get_fontsDirectory",get_endianness:"get_endianness",get_documentsDirectory:"get_documentsDirectory",get_deviceVendor:"get_deviceVendor",get_deviceModel:"get_deviceModel",get_desktopDirectory:"get_desktopDirectory",get_applicationStorageDirectory:"get_applicationStorageDirectory",get_applicationDirectory:"get_applicationDirectory",set_allowScreenTimeout:"set_allowScreenTimeout",get_allowScreenTimeout:"get_allowScreenTimeout"},lime_system_System.disableCFFI=null,lime_system_System.__applicationDirectory=null,lime_system_System.__applicationEntryPoint=null,lime_system_System.__applicationStorageDirectory=null,lime_system_System.__desktopDirectory=null,lime_system_System.__deviceModel=null,lime_system_System.__deviceVendor=null,lime_system_System.__documentsDirectory=null,lime_system_System.__endianness=null,lime_system_System.__fontsDirectory=null,lime_system_System.__platformLabel=null,lime_system_System.__platformName=null,lime_system_System.__platformVersion=null,lime_system_System.__userDirectory=null,lime_system_System.embed=$hx_exports.lime.embed=function(e,t,i,l,n){if(null!=lime_system_System.__applicationEntryPoint&&Object.prototype.hasOwnProperty.call(lime_system_System.__applicationEntryPoint.h,e)){var s=null;if(null==(s="string"==typeof t?window.document.getElementById(t):null==t?window.document.createElement("div"):t))return void window.console.log("[lime.embed] ERROR: Cannot find target element: "+Std.string(t));if(null==i&&(i=0),null==l&&(l=0),null==n&&(n={}),Object.prototype.hasOwnProperty.call(n,"background")&&"string"==typeof n.background){var a=StringTools.replace(Std.string(n.background),"#","");a.indexOf("0x")>-1?n.background=Std.parseInt(a):n.background=Std.parseInt("0x"+a)}n.element=s,n.width=i,n.height=l,lime_system_System.__applicationEntryPoint.h[e](n)}},lime_system_System.exit=function(e){},lime_system_System.getDisplay=function(e){if(0==e){var t=new lime_system_Display;return t.id=0,t.name="Generic Display",t.dpi=96*window.devicePixelRatio,t.currentMode=new lime_system_DisplayMode(window.screen.width,window.screen.height,60,1),t.supportedModes=[t.currentMode],t.bounds=new lime_math_Rectangle(0,0,t.currentMode.width,t.currentMode.height),t}return null},lime_system_System.getTimer=function(){return 0|window.performance.now()},lime_system_System.load=function(e,t,i,l){return null==l&&(l=!1),null==i&&(i=0),lime_system_CFFI.load(e,t,i,l)},lime_system_System.openFile=function(e){null!=e&&window.open(e,"_blank")},lime_system_System.openURL=function(e,t){null==t&&(t="_blank"),null!=e&&window.open(e,t)},lime_system_System.__copyMissingFields=function(e,t){if(null!=t&&null!=e)for(var i=0,l=Reflect.fields(t);i<l.length;){var n=l[i];++i,Object.prototype.hasOwnProperty.call(e,n)||(e[n]=Reflect.field(t,n))}},lime_system_System.__getDirectory=function(e){return null},lime_system_System.__parseBool=function(e){return"true"==e},lime_system_System.__registerEntryPoint=function(e,t){null==lime_system_System.__applicationEntryPoint&&(lime_system_System.__applicationEntryPoint=new haxe_ds_StringMap),lime_system_System.__applicationEntryPoint.h[e]=t},lime_system_System.__runProcess=function(e,t){return null},lime_system_System.get_allowScreenTimeout=function(){return!0},lime_system_System.set_allowScreenTimeout=function(e){return!0},lime_system_System.get_applicationDirectory=function(){return null==lime_system_System.__applicationDirectory&&(lime_system_System.__applicationDirectory=lime_system_System.__getDirectory(0)),lime_system_System.__applicationDirectory},lime_system_System.get_applicationStorageDirectory=function(){return null==lime_system_System.__applicationStorageDirectory&&(lime_system_System.__applicationStorageDirectory=lime_system_System.__getDirectory(1)),lime_system_System.__applicationStorageDirectory},lime_system_System.get_deviceModel=function(){lime_system_System.__deviceModel;return lime_system_System.__deviceModel},lime_system_System.get_deviceVendor=function(){lime_system_System.__deviceVendor;return lime_system_System.__deviceVendor},lime_system_System.get_desktopDirectory=function(){return null==lime_system_System.__desktopDirectory&&(lime_system_System.__desktopDirectory=lime_system_System.__getDirectory(2)),lime_system_System.__desktopDirectory},lime_system_System.get_documentsDirectory=function(){return null==lime_system_System.__documentsDirectory&&(lime_system_System.__documentsDirectory=lime_system_System.__getDirectory(3)),lime_system_System.__documentsDirectory},lime_system_System.get_endianness=function(){if(null==lime_system_System.__endianness){var e,t=new ArrayBuffer(2),i=null,l=null,n=null,s=null,a=null,r=e=null!=i?new Uint8Array(i):null!=l?new Uint8Array(l):null!=n?new Uint8Array(n.__array):null!=s?new Uint8Array(s):null!=t?null==a?new Uint8Array(t,0):new Uint8Array(t,0,a):null,l=null,n=null,s=null,a=null,_=e=null!=(i=null)?new Uint16Array(i):null!=l?new Uint16Array(l):null!=n?new Uint16Array(n.__array):null!=s?new Uint16Array(s):null!=t?null==a?new Uint16Array(t,0):new Uint16Array(t,0,a):null;r[0]=170,r[1]=187,43707==_[0]?lime_system_System.__endianness=lime_system_Endian.BIG_ENDIAN:lime_system_System.__endianness=lime_system_Endian.LITTLE_ENDIAN}return lime_system_System.__endianness},lime_system_System.get_fontsDirectory=function(){return null==lime_system_System.__fontsDirectory&&(lime_system_System.__fontsDirectory=lime_system_System.__getDirectory(4)),lime_system_System.__fontsDirectory},lime_system_System.get_numDisplays=function(){return 1},lime_system_System.get_platformLabel=function(){if(null==lime_system_System.__platformLabel){var e=lime_system_System.get_platformName(),t=lime_system_System.get_platformVersion();null!=e&&null!=t?lime_system_System.__platformLabel=e+" "+t:null!=e&&(lime_system_System.__platformLabel=e)}return lime_system_System.__platformLabel},lime_system_System.get_platformName=function(){return null==lime_system_System.__platformName&&(lime_system_System.__platformName="HTML5"),lime_system_System.__platformName},lime_system_System.get_platformVersion=function(){lime_system_System.__platformVersion;return lime_system_System.__platformVersion},lime_system_System.get_userDirectory=function(){return null==lime_system_System.__userDirectory&&(lime_system_System.__userDirectory=lime_system_System.__getDirectory(5)),lime_system_System.__userDirectory};var lime_system_ThreadPool=function(e,t){null==t&&(t=1),null==e&&(e=0),this.onRun=new lime_app__$Event_$Dynamic_$Void,this.onProgress=new lime_app__$Event_$Dynamic_$Void,this.onError=new lime_app__$Event_$Dynamic_$Void,this.onComplete=new lime_app__$Event_$Dynamic_$Void,this.doWork=new lime_app__$Event_$Dynamic_$Void,this.minThreads=e,this.maxThreads=t,this.currentThreads=0};$hxClasses["lime.system.ThreadPool"]=lime_system_ThreadPool,lime_system_ThreadPool.__name__="lime.system.ThreadPool",lime_system_ThreadPool.prototype={currentThreads:null,doWork:null,maxThreads:null,minThreads:null,onComplete:null,onError:null,onProgress:null,onRun:null,queue:function(e){this.runWork(e)},sendComplete:function(e){this.onComplete.dispatch(e)},sendError:function(e){this.onError.dispatch(e)},sendProgress:function(e){this.onProgress.dispatch(e)},runWork:function(e){this.onRun.dispatch(e),this.doWork.dispatch(e)},__class__:lime_system_ThreadPool};var lime_system__$ThreadPool_ThreadPoolMessageType=$hxEnums["lime.system._ThreadPool.ThreadPoolMessageType"]={__ename__:"lime.system._ThreadPool.ThreadPoolMessageType",__constructs__:["COMPLETE","ERROR","EXIT","PROGRESS","WORK"],COMPLETE:{_hx_index:0,__enum__:"lime.system._ThreadPool.ThreadPoolMessageType",toString:$estr},ERROR:{_hx_index:1,__enum__:"lime.system._ThreadPool.ThreadPoolMessageType",toString:$estr},EXIT:{_hx_index:2,__enum__:"lime.system._ThreadPool.ThreadPoolMessageType",toString:$estr},PROGRESS:{_hx_index:3,__enum__:"lime.system._ThreadPool.ThreadPoolMessageType",toString:$estr},WORK:{_hx_index:4,__enum__:"lime.system._ThreadPool.ThreadPoolMessageType",toString:$estr}},lime_system__$ThreadPool_ThreadPoolMessage=function(e,t){this.type=e,this.state=t};$hxClasses["lime.system._ThreadPool.ThreadPoolMessage"]=lime_system__$ThreadPool_ThreadPoolMessage,lime_system__$ThreadPool_ThreadPoolMessage.__name__="lime.system._ThreadPool.ThreadPoolMessage",lime_system__$ThreadPool_ThreadPoolMessage.prototype={state:null,type:null,__class__:lime_system__$ThreadPool_ThreadPoolMessage};var lime_text_Glyph={};lime_text_Glyph._new=function(e){return e};var lime_text_GlyphMetrics=function(){};$hxClasses["lime.text.GlyphMetrics"]=lime_text_GlyphMetrics,lime_text_GlyphMetrics.__name__="lime.text.GlyphMetrics",lime_text_GlyphMetrics.prototype={advance:null,height:null,horizontalBearing:null,verticalBearing:null,__class__:lime_text_GlyphMetrics};var lime_text_harfbuzz_HB=function(){};$hxClasses["lime.text.harfbuzz.HB"]=lime_text_harfbuzz_HB,lime_text_harfbuzz_HB.__name__="lime.text.harfbuzz.HB",lime_text_harfbuzz_HB.shape=function(e,t,i){};var lime_text_harfbuzz_HBBlob={};lime_text_harfbuzz_HBBlob.__properties__={get_length:"get_length",get_immutable:"get_immutable",get_dataWritable:"get_dataWritable",get_data:"get_data",get_empty:"get_empty"},lime_text_harfbuzz_HBBlob._new=function(e,t,i){return null},lime_text_harfbuzz_HBBlob.createSubBlob=function(e,t,i){return null},lime_text_harfbuzz_HBBlob.makeImmutable=function(e){},lime_text_harfbuzz_HBBlob.get_data=function(e){return 0},lime_text_harfbuzz_HBBlob.get_dataWritable=function(e){return 0},lime_text_harfbuzz_HBBlob.get_empty=function(){return null},lime_text_harfbuzz_HBBlob.get_immutable=function(e){return!1},lime_text_harfbuzz_HBBlob.get_length=function(e){return 0};var lime_text_harfbuzz_HBBuffer={};lime_text_harfbuzz_HBBuffer.__properties__={set_segmentProperties:"set_segmentProperties",get_segmentProperties:"get_segmentProperties",set_script:"set_script",get_script:"get_script",set_replacementCodepoint:"set_replacementCodepoint",get_replacementCodepoint:"get_replacementCodepoint",set_length:"set_length",get_length:"get_length",set_language:"set_language",get_language:"get_language",set_flags:"set_flags",get_flags:"get_flags",set_direction:"set_direction",get_direction:"get_direction",set_contentType:"set_contentType",get_contentType:"get_contentType",set_clusterLevel:"set_clusterLevel",get_clusterLevel:"get_clusterLevel",get_allocationSuccessful:"get_allocationSuccessful"},lime_text_harfbuzz_HBBuffer._new=function(){return null},lime_text_harfbuzz_HBBuffer.add=function(e,t,i){},lime_text_harfbuzz_HBBuffer.addCodepoints=function(e,t,i,l,n){},lime_text_harfbuzz_HBBuffer.addUTF8=function(e,t,i,l){},lime_text_harfbuzz_HBBuffer.addUTF16=function(e,t,i,l,n){},lime_text_harfbuzz_HBBuffer.addUTF32=function(e,t,i,l,n){},lime_text_harfbuzz_HBBuffer.clearContents=function(e){},lime_text_harfbuzz_HBBuffer.getGlyphInfo=function(e){return null},lime_text_harfbuzz_HBBuffer.getGlyphPositions=function(e){return null},lime_text_harfbuzz_HBBuffer.guessSegmentProperties=function(e){},lime_text_harfbuzz_HBBuffer.normalizeGlyphs=function(e){},lime_text_harfbuzz_HBBuffer.preallocate=function(e,t){return!1},lime_text_harfbuzz_HBBuffer.reset=function(e){},lime_text_harfbuzz_HBBuffer.reverse=function(e){},lime_text_harfbuzz_HBBuffer.reverseClusters=function(e){},lime_text_harfbuzz_HBBuffer.get_allocationSuccessful=function(e){return!1},lime_text_harfbuzz_HBBuffer.get_clusterLevel=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_clusterLevel=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_contentType=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_contentType=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_direction=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_direction=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_empty=function(){return null},lime_text_harfbuzz_HBBuffer.get_flags=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_flags=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_language=function(e){return null},lime_text_harfbuzz_HBBuffer.set_language=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_length=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_length=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_replacementCodepoint=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_replacementCodepoint=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_script=function(e){return 0},lime_text_harfbuzz_HBBuffer.set_script=function(e,t){return t},lime_text_harfbuzz_HBBuffer.get_segmentProperties=function(e){return null},lime_text_harfbuzz_HBBuffer.set_segmentProperties=function(e,t){return t};var lime_text_harfbuzz_HBFTFont={};lime_text_harfbuzz_HBFTFont.__properties__={set_loadFlags:"set_loadFlags",get_loadFlags:"get_loadFlags"},lime_text_harfbuzz_HBFTFont._new=function(e){return e.src,null},lime_text_harfbuzz_HBFTFont.get_loadFlags=function(e){return 0},lime_text_harfbuzz_HBFTFont.set_loadFlags=function(e,t){return t};var lime_text_harfbuzz_HBFace={};lime_text_harfbuzz_HBFace.__properties__={set_upem:"set_upem",get_upem:"get_upem",set_index:"set_index",get_index:"get_index",get_immutable:"get_immutable",set_glyphCount:"set_glyphCount",get_glyphCount:"get_glyphCount",get_empty:"get_empty"},lime_text_harfbuzz_HBFace._new=function(e,t){return null},lime_text_harfbuzz_HBFace.get_empty=function(){return null},lime_text_harfbuzz_HBFace.get_glyphCount=function(e){return 0},lime_text_harfbuzz_HBFace.set_glyphCount=function(e,t){return t},lime_text_harfbuzz_HBFace.get_immutable=function(e){return!1},lime_text_harfbuzz_HBFace.get_index=function(e){return 0},lime_text_harfbuzz_HBFace.set_index=function(e,t){return t},lime_text_harfbuzz_HBFace.get_upem=function(e){return 0},lime_text_harfbuzz_HBFace.set_upem=function(e,t){return t};var lime_text_harfbuzz_HBFeature=function(){};$hxClasses["lime.text.harfbuzz.HBFeature"]=lime_text_harfbuzz_HBFeature,lime_text_harfbuzz_HBFeature.__name__="lime.text.harfbuzz.HBFeature",lime_text_harfbuzz_HBFeature.prototype={__class__:lime_text_harfbuzz_HBFeature};var lime_text_harfbuzz_HBFont={};lime_text_harfbuzz_HBFont.__properties__={set_scale:"set_scale",get_scale:"get_scale",set_ppem:"set_ppem",get_ppem:"get_ppem",get_parent:"get_parent",get_immutable:"get_immutable",get_face:"get_face",get_empty:"get_empty"},lime_text_harfbuzz_HBFont._new=function(e){return null},lime_text_harfbuzz_HBFont.addGlyphOriginForDirection=function(e,t,i,l,n){},lime_text_harfbuzz_HBFont.createSubFont=function(e){return null},lime_text_harfbuzz_HBFont.getGlyphAdvanceForDirection=function(e,t,i){return null},lime_text_harfbuzz_HBFont.getGlyphKerningForDirection=function(e,t,i,l,n){return null},lime_text_harfbuzz_HBFont.getGlyphOriginForDirection=function(e,t,i){return null},lime_text_harfbuzz_HBFont.glyphFromString=function(e,t){return 0},lime_text_harfbuzz_HBFont.glyphToString=function(e,t){return null},lime_text_harfbuzz_HBFont.makeImmutable=function(e){},lime_text_harfbuzz_HBFont.subtractGlyphOriginForDirection=function(e,t,i,l,n){},lime_text_harfbuzz_HBFont.get_empty=function(){return null},lime_text_harfbuzz_HBFont.get_face=function(e){return null},lime_text_harfbuzz_HBFont.get_immutable=function(e){return!1},lime_text_harfbuzz_HBFont.get_parent=function(e){return null},lime_text_harfbuzz_HBFont.get_ppem=function(e){return null},lime_text_harfbuzz_HBFont.set_ppem=function(e,t){return t},lime_text_harfbuzz_HBFont.get_scale=function(e){return null},lime_text_harfbuzz_HBFont.set_scale=function(e,t){return t};var lime_text_harfbuzz_HBGlyphInfo=function(){};$hxClasses["lime.text.harfbuzz.HBGlyphInfo"]=lime_text_harfbuzz_HBGlyphInfo,lime_text_harfbuzz_HBGlyphInfo.__name__="lime.text.harfbuzz.HBGlyphInfo",lime_text_harfbuzz_HBGlyphInfo.prototype={codepoint:null,mask:null,cluster:null,__class__:lime_text_harfbuzz_HBGlyphInfo};var lime_text_harfbuzz_HBGlyphPosition=function(){};$hxClasses["lime.text.harfbuzz.HBGlyphPosition"]=lime_text_harfbuzz_HBGlyphPosition,lime_text_harfbuzz_HBGlyphPosition.__name__="lime.text.harfbuzz.HBGlyphPosition",lime_text_harfbuzz_HBGlyphPosition.prototype={xAdvance:null,xOffset:null,yAdvance:null,yOffset:null,__class__:lime_text_harfbuzz_HBGlyphPosition};var lime_text_harfbuzz_HBLanguage={};lime_text_harfbuzz_HBLanguage._new=function(e){return null},lime_text_harfbuzz_HBLanguage.toString=function(e){return null},lime_text_harfbuzz_HBLanguage.fromString=function(e){return lime_text_harfbuzz_HBLanguage._new(e)};var lime_text_harfbuzz_HBSegmentProperties=function(){};$hxClasses["lime.text.harfbuzz.HBSegmentProperties"]=lime_text_harfbuzz_HBSegmentProperties,lime_text_harfbuzz_HBSegmentProperties.__name__="lime.text.harfbuzz.HBSegmentProperties",lime_text_harfbuzz_HBSegmentProperties.prototype={__class__:lime_text_harfbuzz_HBSegmentProperties};var lime_ui_FileDialog=function(){this.onSelectMultiple=new lime_app__$Event_$Array_$String_$_$Void,this.onSelect=new lime_app__$Event_$String_$Void,this.onSave=new lime_app__$Event_$String_$Void,this.onOpen=new lime_app__$Event_$lime_$utils_$Resource_$Void,this.onCancel=new lime_app__$Event_$Void_$Void};$hxClasses["lime.ui.FileDialog"]=lime_ui_FileDialog,lime_ui_FileDialog.__name__="lime.ui.FileDialog",lime_ui_FileDialog.prototype={onCancel:null,onOpen:null,onSave:null,onSelect:null,onSelectMultiple:null,browse:function(e,t,i,l){return null==e&&(e=lime_ui_FileDialogType.OPEN),this.onCancel.dispatch(),!1},open:function(e,t,i){return this.onCancel.dispatch(),!1},save:function(e,t,i,l,n){if(null==n&&(n="application/octet-stream"),null==e)return this.onCancel.dispatch(),!1;var s="";lime_graphics_Image.__isPNG(e)?(n="image/png",s=".png"):lime_graphics_Image.__isJPG(e)?(n="image/jpeg",s=".jpg"):lime_graphics_Image.__isGIF(e)?(n="image/gif",s=".gif"):lime_graphics_Image.__isWebP(e)&&(n="image/webp",s=".webp");var a=null!=i?haxe_io_Path.withoutDirectory(i):"download"+s,r=e.b.bufferValue;return r=r.slice(0,e.length),window.saveAs(new Blob([r],{type:n}),a,!0),this.onSave.dispatch(a),!0},__class__:lime_ui_FileDialog};var lime_ui_FileDialogType=$hxEnums["lime.ui.FileDialogType"]={__ename__:"lime.ui.FileDialogType",__constructs__:["OPEN","OPEN_MULTIPLE","SAVE","OPEN_DIRECTORY"],OPEN:{_hx_index:0,__enum__:"lime.ui.FileDialogType",toString:$estr},OPEN_MULTIPLE:{_hx_index:1,__enum__:"lime.ui.FileDialogType",toString:$estr},SAVE:{_hx_index:2,__enum__:"lime.ui.FileDialogType",toString:$estr},OPEN_DIRECTORY:{_hx_index:3,__enum__:"lime.ui.FileDialogType",toString:$estr}},lime_ui_Gamepad=function(e){this.onDisconnect=new lime_app__$Event_$Void_$Void,this.onButtonUp=new lime_app__$Event_$lime_$ui_$GamepadButton_$Void,this.onButtonDown=new lime_app__$Event_$lime_$ui_$GamepadButton_$Void,this.onAxisMove=new lime_app__$Event_$lime_$ui_$GamepadAxis_$Float_$Void,this.id=e,this.connected=!0};$hxClasses["lime.ui.Gamepad"]=lime_ui_Gamepad,lime_ui_Gamepad.__name__="lime.ui.Gamepad",lime_ui_Gamepad.addMappings=function(e){},lime_ui_Gamepad.__connect=function(e){if(!lime_ui_Gamepad.devices.h.hasOwnProperty(e)){var t=new lime_ui_Gamepad(e);lime_ui_Gamepad.devices.h[e]=t,lime_ui_Gamepad.onConnect.dispatch(t)}},lime_ui_Gamepad.__disconnect=function(e){var t=lime_ui_Gamepad.devices.h[e];null!=t&&(t.connected=!1),lime_ui_Gamepad.devices.remove(e),null!=t&&t.onDisconnect.dispatch()},lime_ui_Gamepad.prototype={connected:null,id:null,onAxisMove:null,onButtonDown:null,onButtonUp:null,onDisconnect:null,get_guid:function(){return lime_ui_Joystick.__getDeviceData()[this.id].id},get_name:function(){return lime_ui_Joystick.__getDeviceData()[this.id].id},__class__:lime_ui_Gamepad,__properties__:{get_name:"get_name",get_guid:"get_guid"}};var lime_ui_GamepadAxis={};lime_ui_GamepadAxis.toString=function(e){switch(e){case 0:return"LEFT_X";case 1:return"LEFT_Y";case 2:return"RIGHT_X";case 3:return"RIGHT_Y";case 4:return"TRIGGER_LEFT";case 5:return"TRIGGER_RIGHT";default:return"UNKNOWN ("+e+")"}};var lime_ui_GamepadButton={};lime_ui_GamepadButton.toString=function(e){switch(e){case 0:return"A";case 1:return"B";case 2:return"X";case 3:return"Y";case 4:return"BACK";case 5:return"GUIDE";case 6:return"START";case 7:return"LEFT_STICK";case 8:return"RIGHT_STICK";case 9:return"LEFT_SHOULDER";case 10:return"RIGHT_SHOULDER";case 11:return"DPAD_UP";case 12:return"DPAD_DOWN";case 13:return"DPAD_LEFT";case 14:return"DPAD_RIGHT";default:return"UNKNOWN ("+e+")"}};var lime_ui_Joystick=function(e){this.onTrackballMove=new lime_app__$Event_$Int_$Float_$Float_$Void,this.onHatMove=new lime_app__$Event_$Int_$lime_$ui_$JoystickHatPosition_$Void,this.onDisconnect=new lime_app__$Event_$Void_$Void,this.onButtonUp=new lime_app__$Event_$Int_$Void,this.onButtonDown=new lime_app__$Event_$Int_$Void,this.onAxisMove=new lime_app__$Event_$Int_$Float_$Void,this.id=e,this.connected=!0};$hxClasses["lime.ui.Joystick"]=lime_ui_Joystick,lime_ui_Joystick.__name__="lime.ui.Joystick",lime_ui_Joystick.__connect=function(e){if(!lime_ui_Joystick.devices.h.hasOwnProperty(e)){var t=new lime_ui_Joystick(e);lime_ui_Joystick.devices.h[e]=t,lime_ui_Joystick.onConnect.dispatch(t)}},lime_ui_Joystick.__disconnect=function(e){var t=lime_ui_Joystick.devices.h[e];null!=t&&(t.connected=!1),lime_ui_Joystick.devices.remove(e),null!=t&&t.onDisconnect.dispatch()},lime_ui_Joystick.__getDeviceData=function(){return navigator.getGamepads?navigator.getGamepads():navigator.webkitGetGamepads?navigator.webkitGetGamepads():null},lime_ui_Joystick.prototype={connected:null,id:null,onAxisMove:null,onButtonDown:null,onButtonUp:null,onDisconnect:null,onHatMove:null,onTrackballMove:null,get_guid:function(){return lime_ui_Joystick.__getDeviceData()[this.id].id},get_name:function(){return lime_ui_Joystick.__getDeviceData()[this.id].id},get_numAxes:function(){return lime_ui_Joystick.__getDeviceData()[this.id].axes.length},get_numButtons:function(){return lime_ui_Joystick.__getDeviceData()[this.id].buttons.length},get_numHats:function(){return 0},get_numTrackballs:function(){return 0},__class__:lime_ui_Joystick,__properties__:{get_numTrackballs:"get_numTrackballs",get_numHats:"get_numHats",get_numButtons:"get_numButtons",get_numAxes:"get_numAxes",get_name:"get_name",get_guid:"get_guid"}};var lime_ui_JoystickHatPosition={};lime_ui_JoystickHatPosition.__properties__={set_up:"set_up",get_up:"get_up",set_right:"set_right",get_right:"get_right",set_left:"set_left",get_left:"get_left",set_down:"set_down",get_down:"get_down",set_center:"set_center",get_center:"get_center"},lime_ui_JoystickHatPosition._new=function(e){return e},lime_ui_JoystickHatPosition.get_center=function(e){return 0==e},lime_ui_JoystickHatPosition.set_center=function(e,t){return t&&0,t},lime_ui_JoystickHatPosition.get_down=function(e){return(4&e)>0},lime_ui_JoystickHatPosition.set_down=function(e,t){return t?e|=4:e&=268435451,t},lime_ui_JoystickHatPosition.get_left=function(e){return(8&e)>0},lime_ui_JoystickHatPosition.set_left=function(e,t){return t?e|=8:e&=268435447,t},lime_ui_JoystickHatPosition.get_right=function(e){return(2&e)>0},lime_ui_JoystickHatPosition.set_right=function(e,t){return t?e|=2:e&=268435453,t},lime_ui_JoystickHatPosition.get_up=function(e){return(1&e)>0},lime_ui_JoystickHatPosition.set_up=function(e,t){return t?e|=1:e&=268435454,t};var lime_ui_KeyCode={};lime_ui_KeyCode.fromScanCode=function(e){return 0},lime_ui_KeyCode.toScanCode=function(e){return 0},lime_ui_KeyCode.gt=function(e,t){return e>t},lime_ui_KeyCode.gte=function(e,t){return e>=t},lime_ui_KeyCode.lt=function(e,t){return e<t},lime_ui_KeyCode.lte=function(e,t){return e<=t},lime_ui_KeyCode.plus=function(e,t){return e+t};var lime_ui_KeyModifier={};lime_ui_KeyModifier.__properties__={set_shiftKey:"set_shiftKey",get_shiftKey:"get_shiftKey",set_numLock:"set_numLock",get_numLock:"get_numLock",set_metaKey:"set_metaKey",get_metaKey:"get_metaKey",set_ctrlKey:"set_ctrlKey",get_ctrlKey:"get_ctrlKey",set_capsLock:"set_capsLock",get_capsLock:"get_capsLock",set_altKey:"set_altKey",get_altKey:"get_altKey"},lime_ui_KeyModifier.get_altKey=function(e){return!((256&e)<=0)||(512&e)>0},lime_ui_KeyModifier.set_altKey=function(e,t){return t?e|=768:e&=268434687,t},lime_ui_KeyModifier.get_capsLock=function(e){return!((8192&e)<=0)||(8192&e)>0},lime_ui_KeyModifier.set_capsLock=function(e,t){return t?e|=8192:e&=268427263,t},lime_ui_KeyModifier.get_ctrlKey=function(e){return!((64&e)<=0)||(128&e)>0},lime_ui_KeyModifier.set_ctrlKey=function(e,t){return t?e|=192:e&=268435263,t},lime_ui_KeyModifier.get_metaKey=function(e){return!((1024&e)<=0)||(2048&e)>0},lime_ui_KeyModifier.set_metaKey=function(e,t){return t?e|=3072:e&=268432383,t},lime_ui_KeyModifier.get_numLock=function(e){return!((4096&e)<=0)||(4096&e)>0},lime_ui_KeyModifier.set_numLock=function(e,t){return t?e|=4096:e&=268431359,t},lime_ui_KeyModifier.get_shiftKey=function(e){return!((1&e)<=0)||(2&e)>0},lime_ui_KeyModifier.set_shiftKey=function(e,t){return t?e|=3:e&=268435452,t};var lime_ui_MouseCursor=$hxEnums["lime.ui.MouseCursor"]={__ename__:"lime.ui.MouseCursor",__constructs__:["ARROW","CROSSHAIR","DEFAULT","MOVE","POINTER","RESIZE_NESW","RESIZE_NS","RESIZE_NWSE","RESIZE_WE","TEXT","WAIT","WAIT_ARROW","CUSTOM"],ARROW:{_hx_index:0,__enum__:"lime.ui.MouseCursor",toString:$estr},CROSSHAIR:{_hx_index:1,__enum__:"lime.ui.MouseCursor",toString:$estr},DEFAULT:{_hx_index:2,__enum__:"lime.ui.MouseCursor",toString:$estr},MOVE:{_hx_index:3,__enum__:"lime.ui.MouseCursor",toString:$estr},POINTER:{_hx_index:4,__enum__:"lime.ui.MouseCursor",toString:$estr},RESIZE_NESW:{_hx_index:5,__enum__:"lime.ui.MouseCursor",toString:$estr},RESIZE_NS:{_hx_index:6,__enum__:"lime.ui.MouseCursor",toString:$estr},RESIZE_NWSE:{_hx_index:7,__enum__:"lime.ui.MouseCursor",toString:$estr},RESIZE_WE:{_hx_index:8,__enum__:"lime.ui.MouseCursor",toString:$estr},TEXT:{_hx_index:9,__enum__:"lime.ui.MouseCursor",toString:$estr},WAIT:{_hx_index:10,__enum__:"lime.ui.MouseCursor",toString:$estr},WAIT_ARROW:{_hx_index:11,__enum__:"lime.ui.MouseCursor",toString:$estr},CUSTOM:{_hx_index:12,__enum__:"lime.ui.MouseCursor",toString:$estr}},lime_ui_MouseWheelMode=$hxEnums["lime.ui.MouseWheelMode"]={__ename__:"lime.ui.MouseWheelMode",__constructs__:["PIXELS","LINES","PAGES","UNKNOWN"],PIXELS:{_hx_index:0,__enum__:"lime.ui.MouseWheelMode",toString:$estr},LINES:{_hx_index:1,__enum__:"lime.ui.MouseWheelMode",toString:$estr},PAGES:{_hx_index:2,__enum__:"lime.ui.MouseWheelMode",toString:$estr},UNKNOWN:{_hx_index:3,__enum__:"lime.ui.MouseWheelMode",toString:$estr}},lime_ui_ScanCode={};lime_ui_ScanCode.fromKeyCode=function(e){return lime_ui_KeyCode.toScanCode(e)},lime_ui_ScanCode.toKeyCode=function(e){return lime_ui_KeyCode.fromScanCode(e)},lime_ui_ScanCode.gt=function(e,t){return e>t},lime_ui_ScanCode.gte=function(e,t){return e>=t},lime_ui_ScanCode.lt=function(e,t){return e<t},lime_ui_ScanCode.lte=function(e,t){return e<=t},lime_ui_ScanCode.plus=function(e,t){return e+t};var lime_ui_Touch=function(e,t,i,l,n,s,a){this.x=e,this.y=t,this.id=i,this.dx=l,this.dy=n,this.pressure=s,this.device=a};$hxClasses["lime.ui.Touch"]=lime_ui_Touch,lime_ui_Touch.__name__="lime.ui.Touch",lime_ui_Touch.prototype={device:null,dx:null,dy:null,id:null,pressure:null,x:null,y:null,__class__:lime_ui_Touch};var lime_ui_Window=function(e,t){this.onTextInput=new lime_app__$Event_$String_$Void,this.onTextEdit=new lime_app__$Event_$String_$Int_$Int_$Void,this.onRestore=new lime_app__$Event_$Void_$Void,this.onResize=new lime_app__$Event_$Int_$Int_$Void,this.onRenderContextRestored=new lime_app__$Event_$lime_$graphics_$RenderContext_$Void,this.onRenderContextLost=new lime_app__$Event_$Void_$Void,this.onRender=new lime_app__$Event_$lime_$graphics_$RenderContext_$Void,this.onMove=new lime_app__$Event_$Float_$Float_$Void,this.onMouseWheel=new lime_app__$Event_$Float_$Float_$lime_$ui_$MouseWheelMode_$Void,this.onMouseUp=new lime_app__$Event_$Float_$Float_$Int_$Void,this.onMouseMoveRelative=new lime_app__$Event_$Float_$Float_$Void,this.onMouseMove=new lime_app__$Event_$Float_$Float_$Void,this.onMouseDown=new lime_app__$Event_$Float_$Float_$lime_$ui_$MouseButton_$Void,this.onMinimize=new lime_app__$Event_$Void_$Void,this.onMaximize=new lime_app__$Event_$Void_$Void,this.onLeave=new lime_app__$Event_$Void_$Void,this.onKeyUp=new lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void,this.onKeyDown=new lime_app__$Event_$lime_$ui_$KeyCode_$lime_$ui_$KeyModifier_$Void,this.onFullscreen=new lime_app__$Event_$Void_$Void,this.onFocusOut=new lime_app__$Event_$Void_$Void,this.onFocusIn=new lime_app__$Event_$Void_$Void,this.onExpose=new lime_app__$Event_$Void_$Void,this.onEnter=new lime_app__$Event_$Void_$Void,this.onDropFile=new lime_app__$Event_$String_$Void,this.onDeactivate=new lime_app__$Event_$Void_$Void,this.onClose=new lime_app__$Event_$Void_$Void,this.onActivate=new lime_app__$Event_$Void_$Void,this.application=e,this.__attributes=null!=t?t:{},Object.prototype.hasOwnProperty.call(this.__attributes,"parameters")&&(this.parameters=this.__attributes.parameters),this.__width=0,this.__height=0,this.__fullscreen=!1,this.__scale=1,this.__x=0,this.__y=0,this.__title="",this.id=-1,this.__backend=new lime__$internal_backend_html5_HTML5Window(this)};$hxClasses["lime.ui.Window"]=lime_ui_Window,lime_ui_Window.__name__="lime.ui.Window",lime_ui_Window.prototype={application:null,context:null,display:null,element:null,hidden:null,id:null,onActivate:null,onClose:null,onDeactivate:null,onDropFile:null,onEnter:null,onExpose:null,onFocusIn:null,onFocusOut:null,onFullscreen:null,onKeyDown:null,onKeyUp:null,onLeave:null,onMaximize:null,onMinimize:null,onMouseDown:null,onMouseMove:null,onMouseMoveRelative:null,onMouseUp:null,onMouseWheel:null,onMove:null,onRender:null,onRenderContextLost:null,onRenderContextRestored:null,onResize:null,onRestore:null,onTextEdit:null,onTextInput:null,parameters:null,scale:null,stage:null,__attributes:null,__backend:null,__borderless:null,__fullscreen:null,__height:null,__hidden:null,__maximized:null,__minimized:null,__resizable:null,__scale:null,__title:null,__width:null,__x:null,__y:null,alert:function(e,t){this.__backend.alert(e,t)},close:function(){this.__backend.close()},focus:function(){this.__backend.focus()},move:function(e,t){this.__backend.move(e,t),this.__x=e,this.__y=t},readPixels:function(e){return this.__backend.readPixels(e)},resize:function(e,t){this.__backend.resize(e,t),this.__width=e,this.__height=t},setIcon:function(e){null!=e&&this.__backend.setIcon(e)},toString:function(){return"[object Window]"},warpMouse:function(e,t){this.__backend.warpMouse(e,t)},get_cursor:function(){return this.__backend.getCursor()},set_cursor:function(e){return this.__backend.setCursor(e)},get_display:function(){return this.__backend.getDisplay()},get_displayMode:function(){return this.__backend.getDisplayMode()},set_displayMode:function(e){return this.__backend.setDisplayMode(e)},get_borderless:function(){return this.__borderless},set_borderless:function(e){return this.__borderless=this.__backend.setBorderless(e)},get_frameRate:function(){return this.__backend.getFrameRate()},set_frameRate:function(e){return this.__backend.setFrameRate(e)},get_fullscreen:function(){return this.__fullscreen},set_fullscreen:function(e){return this.__fullscreen=this.__backend.setFullscreen(e)},get_height:function(){return this.__height},set_height:function(e){return this.resize(this.__width,e),this.__height},get_hidden:function(){return this.__hidden},get_maximized:function(){return this.__maximized},set_maximized:function(e){return this.__minimized=!1,this.__maximized=this.__backend.setMaximized(e)},get_minimized:function(){return this.__minimized},set_minimized:function(e){return this.__maximized=!1,this.__minimized=this.__backend.setMinimized(e)},get_mouseLock:function(){return this.__backend.getMouseLock()},set_mouseLock:function(e){return this.__backend.setMouseLock(e),e},get_resizable:function(){return this.__resizable},set_resizable:function(e){return this.__resizable=this.__backend.setResizable(e),this.__resizable},get_scale:function(){return this.__scale},get_textInputEnabled:function(){return this.__backend.getTextInputEnabled()},set_textInputEnabled:function(e){return this.__backend.setTextInputEnabled(e)},get_title:function(){return this.__title},set_title:function(e){return this.__title=this.__backend.setTitle(e)},get_width:function(){return this.__width},set_width:function(e){return this.resize(e,this.__height),this.__width},get_x:function(){return this.__x},set_x:function(e){return this.move(e,this.__y),this.__x},get_y:function(){return this.__y},set_y:function(e){return this.move(this.__x,e),this.__y},__class__:lime_ui_Window,__properties__:{set_y:"set_y",get_y:"get_y",set_x:"set_x",get_x:"get_x",set_width:"set_width",get_width:"get_width",set_title:"set_title",get_title:"get_title",set_textInputEnabled:"set_textInputEnabled",get_textInputEnabled:"get_textInputEnabled",get_scale:"get_scale",set_resizable:"set_resizable",get_resizable:"get_resizable",set_mouseLock:"set_mouseLock",get_mouseLock:"get_mouseLock",set_minimized:"set_minimized",get_minimized:"get_minimized",set_maximized:"set_maximized",get_maximized:"get_maximized",get_hidden:"get_hidden",set_height:"set_height",get_height:"get_height",set_fullscreen:"set_fullscreen",get_fullscreen:"get_fullscreen",set_frameRate:"set_frameRate",get_frameRate:"get_frameRate",set_displayMode:"set_displayMode",get_displayMode:"get_displayMode",get_display:"get_display",set_cursor:"set_cursor",get_cursor:"get_cursor",set_borderless:"set_borderless",get_borderless:"get_borderless"}};var lime_utils_TAError=$hxEnums["lime.utils.TAError"]={__ename__:"lime.utils.TAError",__constructs__:["RangeError"],RangeError:{_hx_index:0,__enum__:"lime.utils.TAError",toString:$estr}},lime_utils_AssetBundle=function(){this.data=new haxe_ds_StringMap,this.paths=[]};$hxClasses["lime.utils.AssetBundle"]=lime_utils_AssetBundle,lime_utils_AssetBundle.__name__="lime.utils.AssetBundle",lime_utils_AssetBundle.fromBytes=function(e){var t=new haxe_io_BytesInput(e);return lime_utils_AssetBundle.__extractBundle(t)},lime_utils_AssetBundle.fromFile=function(e){return null},lime_utils_AssetBundle.loadFromBytes=function(e){return lime_app_Future.withValue(lime_utils_AssetBundle.fromBytes(e))},lime_utils_AssetBundle.loadFromFile=function(e){return lime_utils_Bytes.loadFromFile(e).then(lime_utils_AssetBundle.loadFromBytes)},lime_utils_AssetBundle.__extractBundle=function(e){for(var t=haxe_zip_Reader.readZip(e),i=new lime_utils_AssetBundle,l=t.h;null!=l;){var n=l.item;l=l.next;var s=n;if(s.compressed){var a=s.data,r=i.data,_=s.fileName,o=lime_utils_Bytes.decompress(a,lime_utils_CompressionAlgorithm.DEFLATE);r.h[_]=o}else i.data.h[s.fileName]=s.data;i.paths.push(s.fileName)}return i},lime_utils_AssetBundle.prototype={data:null,paths:null,__class__:lime_utils_AssetBundle};var lime_utils_AssetCache=function(){this.enabled=!0,this.audio=new haxe_ds_StringMap,this.font=new haxe_ds_StringMap,this.image=new haxe_ds_StringMap,this.version=898427};$hxClasses["lime.utils.AssetCache"]=lime_utils_AssetCache,lime_utils_AssetCache.__name__="lime.utils.AssetCache",lime_utils_AssetCache.prototype={audio:null,enabled:null,image:null,font:null,version:null,exists:function(e,t){return!("IMAGE"!=t&&null!=t||!Object.prototype.hasOwnProperty.call(this.image.h,e))||(!("FONT"!=t&&null!=t||!Object.prototype.hasOwnProperty.call(this.font.h,e))||!("SOUND"!=t&&"MUSIC"!=t&&null!=t||!Object.prototype.hasOwnProperty.call(this.audio.h,e)))},set:function(e,t,i){switch(t){case"FONT":this.font.h[e]=i;break;case"IMAGE":if(!(i instanceof lime_graphics_Image))throw haxe_Exception.thrown("Cannot cache non-Image asset: "+Std.string(i)+" as Image");this.image.h[e]=i;break;case"MUSIC":case"SOUND":if(!(i instanceof lime_media_AudioBuffer))throw haxe_Exception.thrown("Cannot cache non-AudioBuffer asset: "+Std.string(i)+" as AudioBuffer");this.audio.h[e]=i;break;default:throw haxe_Exception.thrown(t+" assets are not cachable")}},clear:function(e){if(null==e)this.audio=new haxe_ds_StringMap,this.font=new haxe_ds_StringMap,this.image=new haxe_ds_StringMap;else{for(var t=haxe_ds_StringMap.keysIterator(this.audio.h),i=t;i.hasNext();){l=i.next();if(StringTools.startsWith(l,e)){n=this.audio;Object.prototype.hasOwnProperty.call(n.h,l)&&delete n.h[l]}}for(i=t=haxe_ds_StringMap.keysIterator(this.font.h);i.hasNext();){l=i.next();if(StringTools.startsWith(l,e)){n=this.font;Object.prototype.hasOwnProperty.call(n.h,l)&&delete n.h[l]}}for(i=t=haxe_ds_StringMap.keysIterator(this.image.h);i.hasNext();){var l=i.next();if(StringTools.startsWith(l,e)){var n=this.image;Object.prototype.hasOwnProperty.call(n.h,l)&&delete n.h[l]}}}},__class__:lime_utils_AssetCache};var lime_utils_AssetLibrary=function(){this.types=new haxe_ds_StringMap,this.sizes=new haxe_ds_StringMap,this.preload=new haxe_ds_StringMap,this.paths=new haxe_ds_StringMap,this.pathGroups=new haxe_ds_StringMap,this.classTypes=new haxe_ds_StringMap,this.cachedText=new haxe_ds_StringMap,this.cachedImages=new haxe_ds_StringMap,this.cachedFonts=new haxe_ds_StringMap,this.cachedBytes=new haxe_ds_StringMap,this.cachedAudioBuffers=new haxe_ds_StringMap,this.onChange=new lime_app__$Event_$Void_$Void,this.bytesLoaded=0,this.bytesTotal=0};$hxClasses["lime.utils.AssetLibrary"]=lime_utils_AssetLibrary,lime_utils_AssetLibrary.__name__="lime.utils.AssetLibrary",lime_utils_AssetLibrary.fromBytes=function(e,t){return lime_utils_AssetLibrary.fromManifest(lime_utils_AssetManifest.fromBytes(e,t))},lime_utils_AssetLibrary.fromFile=function(e,t){return lime_utils_AssetLibrary.fromManifest(lime_utils_AssetManifest.fromFile(e,t))},lime_utils_AssetLibrary.fromBundle=function(e){if(!Object.prototype.hasOwnProperty.call(e.data.h,"library.json"))return(i=new lime_utils_AssetLibrary).__fromBundle(e),i;var t=lime_utils_AssetManifest.fromBytes(e.data.h["library.json"]);if(null!=t){var i=null;if(null==t.libraryType)i=new lime_utils_AssetLibrary;else{var l=t.libraryType,n=$hxClasses[l];if(null==n)return lime_utils_Log.warn("Could not find library type: "+t.libraryType,{fileName:"lime/utils/AssetLibrary.hx",lineNumber:122,className:"lime.utils.AssetLibrary",methodName:"fromBundle"}),null;i=Type.createInstance(n,t.libraryArgs)}return i.__fromBundle(e,t),i}return null},lime_utils_AssetLibrary.fromManifest=function(e){if(null==e)return null;var t=null;if(null==e.libraryType)t=new lime_utils_AssetLibrary;else{var i=e.libraryType,l=$hxClasses[i];if(null==l)return lime_utils_Log.warn("Could not find library type: "+e.libraryType,{fileName:"lime/utils/AssetLibrary.hx",lineNumber:160,className:"lime.utils.AssetLibrary",methodName:"fromManifest"}),null;t=Type.createInstance(l,e.libraryArgs)}return t.__fromManifest(e),t},lime_utils_AssetLibrary.loadFromBytes=function(e,t){return lime_utils_AssetManifest.loadFromBytes(e,t).then(function(e){return lime_utils_AssetLibrary.loadFromManifest(e)})},lime_utils_AssetLibrary.loadFromFile=function(e,t){return lime_utils_AssetManifest.loadFromFile(e,t).then(function(e){return lime_utils_AssetLibrary.loadFromManifest(e)})},lime_utils_AssetLibrary.loadFromManifest=function(e){var t=lime_utils_AssetLibrary.fromManifest(e);return null!=t?t.load():lime_app_Future.withError("Could not load asset manifest")},lime_utils_AssetLibrary.prototype={onChange:null,assetsLoaded:null,assetsTotal:null,bytesLoaded:null,bytesLoadedCache:null,bytesTotal:null,cachedAudioBuffers:null,cachedBytes:null,cachedFonts:null,cachedImages:null,cachedText:null,classTypes:null,loaded:null,pathGroups:null,paths:null,preload:null,promise:null,sizes:null,types:null,exists:function(e,t){var i=null!=t?js_Boot.__cast(t,String):null,l=this.types.h[e];if(null!=l){if(l==i||("SOUND"==i||"MUSIC"==i)&&("MUSIC"==l||"SOUND"==l))return!0;if("BINARY"==i||null==i||"BINARY"==l&&"TEXT"==i)return!0}return!1},getAsset:function(e,t){switch(t){case"BINARY":return this.getBytes(e);case"FONT":return this.getFont(e);case"IMAGE":return this.getImage(e);case"MUSIC":case"SOUND":return this.getAudioBuffer(e);case"TEMPLATE":throw haxe_Exception.thrown("Not sure how to get template: "+e);case"TEXT":return this.getText(e);default:throw haxe_Exception.thrown("Unknown asset type: "+t)}},getAudioBuffer:function(e){return Object.prototype.hasOwnProperty.call(this.cachedAudioBuffers.h,e)?this.cachedAudioBuffers.h[e]:Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?lime_media_AudioBuffer.fromBytes(js_Boot.__cast(Type.createInstance(this.classTypes.h[e],[]),haxe_io_Bytes)):lime_media_AudioBuffer.fromFile(this.paths.h[e])},getBytes:function(e){if(Object.prototype.hasOwnProperty.call(this.cachedBytes.h,e))return this.cachedBytes.h[e];if(Object.prototype.hasOwnProperty.call(this.cachedText.h,e)){var t=lime_utils_Bytes.ofString(this.cachedText.h[e]);return this.cachedBytes.h[e]=t,t}return Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?js_Boot.__cast(Type.createInstance(this.classTypes.h[e],[]),haxe_io_Bytes):lime_utils_Bytes.fromFile(this.paths.h[e])},getFont:function(e){return Object.prototype.hasOwnProperty.call(this.cachedFonts.h,e)?this.cachedFonts.h[e]:Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?js_Boot.__cast(Type.createInstance(this.classTypes.h[e],[]),lime_text_Font):lime_text_Font.fromFile(this.paths.h[e])},getImage:function(e){return Object.prototype.hasOwnProperty.call(this.cachedImages.h,e)?this.cachedImages.h[e]:Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?js_Boot.__cast(Type.createInstance(this.classTypes.h[e],[]),lime_graphics_Image):lime_graphics_Image.fromFile(this.paths.h[e])},getPath:function(e){return Object.prototype.hasOwnProperty.call(this.paths.h,e)?this.paths.h[e]:Object.prototype.hasOwnProperty.call(this.pathGroups.h,e)?this.pathGroups.h[e][0]:null},getText:function(e){if(Object.prototype.hasOwnProperty.call(this.cachedText.h,e))return this.cachedText.h[e];var t=this.getBytes(e);return null==t?null:t.getString(0,t.length)},isLocal:function(e,t){if(Object.prototype.hasOwnProperty.call(this.classTypes.h,e))return!0;var i=null!=t?js_Boot.__cast(t,String):null;if(null==i)return!!Object.prototype.hasOwnProperty.call(this.cachedBytes.h,e)||Object.prototype.hasOwnProperty.call(this.cachedText.h,e);switch(i){case"FONT":return Object.prototype.hasOwnProperty.call(this.cachedFonts.h,e);case"IMAGE":return Object.prototype.hasOwnProperty.call(this.cachedImages.h,e);case"MUSIC":case"SOUND":return Object.prototype.hasOwnProperty.call(this.cachedAudioBuffers.h,e);default:return!!Object.prototype.hasOwnProperty.call(this.cachedBytes.h,e)||Object.prototype.hasOwnProperty.call(this.cachedText.h,e)}},list:function(e){for(var t=null!=e?js_Boot.__cast(e,String):null,i=[],l=haxe_ds_StringMap.keysIterator(this.types.h);l.hasNext();){var n=l.next();(null==t||this.exists(n,e))&&i.push(n)}return i},loadAsset:function(e,t){switch(t){case"BINARY":return this.loadBytes(e);case"FONT":return this.loadFont(e);case"IMAGE":return this.loadImage(e);case"MUSIC":case"SOUND":return this.loadAudioBuffer(e);case"TEMPLATE":throw haxe_Exception.thrown("Not sure how to load template: "+e);case"TEXT":return this.loadText(e);default:throw haxe_Exception.thrown("Unknown asset type: "+t)}},load:function(){if(this.loaded)return lime_app_Future.withValue(this);if(null==this.promise){this.promise=new lime_app_Promise,this.bytesLoadedCache=new haxe_ds_StringMap,this.assetsLoaded=0,this.assetsTotal=1;for(var e=haxe_ds_StringMap.keysIterator(this.preload.h);e.hasNext();){var t=e.next();if(this.preload.h[t]){lime_utils_Log.verbose("Preloading asset: "+t+" ["+this.types.h[t]+"]",{fileName:"lime/utils/AssetLibrary.hx",lineNumber:405,className:"lime.utils.AssetLibrary",methodName:"load"});var i=this.types.h[t];if(null!=i)switch(i){case"BINARY":this.assetsTotal++;var l=this.loadBytes(t);l.onProgress(function(e,t){return function(i,l){t[0](e[0],i,l)}}([t],[$bind(this,this.load_onProgress)])),l.onError(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.load_onError)])),l.onComplete(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.loadBytes_onComplete)]));break;case"FONT":this.assetsTotal++;var n=this.loadFont(t);n.onProgress(function(e,t){return function(i,l){t[0](e[0],i,l)}}([t],[$bind(this,this.load_onProgress)])),n.onError(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.load_onError)])),n.onComplete(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.loadFont_onComplete)]));break;case"IMAGE":this.assetsTotal++;var s=this.loadImage(t);s.onProgress(function(e,t){return function(i,l){t[0](e[0],i,l)}}([t],[$bind(this,this.load_onProgress)])),s.onError(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.load_onError)])),s.onComplete(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.loadImage_onComplete)]));break;case"MUSIC":case"SOUND":this.assetsTotal++;var a=this.loadAudioBuffer(t);a.onProgress(function(e,t){return function(i,l){t[0](e[0],i,l)}}([t],[$bind(this,this.load_onProgress)])),a.onError(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.loadAudioBuffer_onError)])),a.onComplete(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.loadAudioBuffer_onComplete)]));break;case"TEXT":this.assetsTotal++;var r=this.loadText(t);r.onProgress(function(e,t){return function(i,l){t[0](e[0],i,l)}}([t],[$bind(this,this.load_onProgress)])),r.onError(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.load_onError)])),r.onComplete(function(e,t){return function(i){t[0](e[0],i)}}([t],[$bind(this,this.loadText_onComplete)]))}}}this.__assetLoaded(null)}return this.promise.future},loadAudioBuffer:function(e){return Object.prototype.hasOwnProperty.call(this.cachedAudioBuffers.h,e)?lime_app_Future.withValue(this.cachedAudioBuffers.h[e]):Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?lime_app_Future.withValue(Type.createInstance(this.classTypes.h[e],[])):Object.prototype.hasOwnProperty.call(this.pathGroups.h,e)?lime_media_AudioBuffer.loadFromFiles(this.pathGroups.h[e]):lime_media_AudioBuffer.loadFromFile(this.paths.h[e])},loadBytes:function(e){return Object.prototype.hasOwnProperty.call(this.cachedBytes.h,e)?lime_app_Future.withValue(this.cachedBytes.h[e]):Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?lime_app_Future.withValue(Type.createInstance(this.classTypes.h[e],[])):lime_utils_Bytes.loadFromFile(this.paths.h[e])},loadFont:function(e){if(Object.prototype.hasOwnProperty.call(this.cachedFonts.h,e))return lime_app_Future.withValue(this.cachedFonts.h[e]);if(Object.prototype.hasOwnProperty.call(this.classTypes.h,e)){var t=Type.createInstance(this.classTypes.h[e],[]);return t.__loadFromName(t.name)}return lime_text_Font.loadFromName(this.paths.h[e])},loadImage:function(e){var t=this;return Object.prototype.hasOwnProperty.call(this.cachedImages.h,e)?lime_app_Future.withValue(this.cachedImages.h[e]):Object.prototype.hasOwnProperty.call(this.classTypes.h,e)?lime_app_Future.withValue(Type.createInstance(this.classTypes.h[e],[])):Object.prototype.hasOwnProperty.call(this.cachedBytes.h,e)?lime_graphics_Image.loadFromBytes(this.cachedBytes.h[e]).then(function(i){var l=t.cachedBytes;return Object.prototype.hasOwnProperty.call(l.h,e)&&delete l.h[e],t.cachedImages.h[e]=i,lime_app_Future.withValue(i)}):lime_graphics_Image.loadFromFile(this.paths.h[e])},loadText:function(e){if(Object.prototype.hasOwnProperty.call(this.cachedText.h,e))return lime_app_Future.withValue(this.cachedText.h[e]);if(Object.prototype.hasOwnProperty.call(this.cachedBytes.h,e)||Object.prototype.hasOwnProperty.call(this.classTypes.h,e)){var t=this.getBytes(e);if(null==t)return lime_app_Future.withValue(null);var i=t.getString(0,t.length);return this.cachedText.h[e]=i,lime_app_Future.withValue(i)}return(new lime_net__$HTTPRequest_$String).load(this.paths.h[e])},unload:function(){},__assetLoaded:function(e){if(this.assetsLoaded++,null!=e&&lime_utils_Log.verbose("Loaded asset: "+e+" ["+this.types.h[e]+"] ("+(this.assetsLoaded-1)+"/"+(this.assetsTotal-1)+")",{fileName:"lime/utils/AssetLibrary.hx",lineNumber:619,className:"lime.utils.AssetLibrary",methodName:"__assetLoaded"}),null!=e){var t=Object.prototype.hasOwnProperty.call(this.sizes.h,e)?this.sizes.h[e]:0;if(Object.prototype.hasOwnProperty.call(this.bytesLoadedCache.h,e)){var i=this.bytesLoadedCache.h[e];i<t&&(this.bytesLoaded+=t-i)}else this.bytesLoaded+=t;this.bytesLoadedCache.h[e]=t}this.assetsLoaded<this.assetsTotal?this.promise.progress(this.bytesLoaded,this.bytesTotal):(this.loaded=!0,this.promise.progress(this.bytesTotal,this.bytesTotal),this.promise.complete(this))},__cacheBreak:function(e){return lime_utils_Assets.__cacheBreak(e)},__fromBundle:function(e,t){if(null!=t)for(var i,l,n=0,s=t.assets;n<s.length;){var a=s[n];++n,i=Object.prototype.hasOwnProperty.call(a,"id")?a.id:a.path,l=e.data.h[a.path],Object.prototype.hasOwnProperty.call(a,"type")?("TEXT"==a.type?this.cachedText.h[i]=null!=l?Std.string(l):null:this.cachedBytes.h[i]=l,this.types.h[i]=a.type):(this.cachedBytes.h[i]=l,this.types.h[i]="BINARY")}else for(var n=0,s=e.paths;n<s.length;){var r=s[n];++n,this.cachedBytes.h[r]=e.data.h[r],this.types.h[r]="BINARY"}},__fromManifest:function(e){var t,i,l,n,s=e.version>=2,a=e.rootPath;null==a&&(a=""),""!=a&&(a+="/");for(var r=0,_=e.assets;r<_.length;){f=_[r];if(++r,t=s&&Object.prototype.hasOwnProperty.call(f,"size")?f.size:100,i=Object.prototype.hasOwnProperty.call(f,"id")?f.id:f.path,Object.prototype.hasOwnProperty.call(f,"path")){var o=this.paths,h=this.__cacheBreak(this.__resolvePath(a+Std.string(Reflect.field(f,"path"))));o.h[i]=h}if(Object.prototype.hasOwnProperty.call(f,"pathGroup")){for(var u=0,d=(l=Reflect.field(f,"pathGroup")).length;u<d;){var c=u++;l[c]=this.__cacheBreak(this.__resolvePath(a+l[c]))}this.pathGroups.h[i]=l}if(this.sizes.h[i]=t,this.types.h[i]=f.type,Object.prototype.hasOwnProperty.call(f,"preload")&&(this.preload.h[i]=Reflect.field(f,"preload")),Object.prototype.hasOwnProperty.call(f,"className")){var p=Reflect.field(f,"className");n=$hxClasses[p],this.classTypes.h[i]=n}}this.bytesTotal=0;for(var r=0,_=e.assets;r<_.length;){var f=_[r];++r,i=Object.prototype.hasOwnProperty.call(f,"id")?f.id:f.path,Object.prototype.hasOwnProperty.call(this.preload.h,i)&&this.preload.h[i]&&Object.prototype.hasOwnProperty.call(this.sizes.h,i)&&(this.bytesTotal+=this.sizes.h[i])}},__resolvePath:function(e){var t=(e=StringTools.replace(e,"\\","/")).indexOf(":");if(StringTools.startsWith(e,"http")&&t>0){var i=t+3;e=HxOverrides.substr(e,0,i)+StringTools.replace(HxOverrides.substr(e,i,null),"//","/")}else e=StringTools.replace(e,"//","/");if(e.indexOf("./")>-1){for(var l=e.split("/"),n=[],s=0,a=l.length;s<a;){var r=s++;".."==l[r]?0==r||".."==n[r-1]?n.push(".."):n.pop():"."==l[r]?0==r&&n.push("."):n.push(l[r])}e=n.join("/")}return e},loadAudioBuffer_onComplete:function(e,t){if(this.cachedAudioBuffers.h[e]=t,Object.prototype.hasOwnProperty.call(this.pathGroups.h,e))for(var i=this.pathGroups.h[e],l=haxe_ds_StringMap.keysIterator(this.pathGroups.h);l.hasNext();){var n=l.next();if(n!=e)for(var s=0;s<i.length;){var a=i[s];if(++s,this.pathGroups.h[n].indexOf(a)>-1){this.cachedAudioBuffers.h[n]=t;break}}}this.__assetLoaded(e)},loadAudioBuffer_onError:function(e,t){null!=t&&""!=t?lime_utils_Log.warn('Could not load "'+e+'": '+Std.string(t),{fileName:"lime/utils/AssetLibrary.hx",lineNumber:865,className:"lime.utils.AssetLibrary",methodName:"loadAudioBuffer_onError"}):lime_utils_Log.warn('Could not load "'+e+'"',{fileName:"lime/utils/AssetLibrary.hx",lineNumber:869,className:"lime.utils.AssetLibrary",methodName:"loadAudioBuffer_onError"}),this.loadAudioBuffer_onComplete(e,new lime_media_AudioBuffer)},loadBytes_onComplete:function(e,t){this.cachedBytes.h[e]=t,this.__assetLoaded(e)},loadFont_onComplete:function(e,t){this.cachedFonts.h[e]=t,this.__assetLoaded(e)},loadImage_onComplete:function(e,t){this.cachedImages.h[e]=t,this.__assetLoaded(e)},loadText_onComplete:function(e,t){this.cachedText.h[e]=t,this.__assetLoaded(e)},load_onError:function(e,t){null!=t&&""!=t?this.promise.error('Error loading asset "'+e+'": '+Std.string(t)):this.promise.error('Error loading asset "'+e+'"')},load_onProgress:function(e,t,i){if(t>0){var l,n=this.sizes.h[e];if(i>0?((l=t/i)>1&&(l=1),t=Math.floor(l*n)):t>n&&(t=n),Object.prototype.hasOwnProperty.call(this.bytesLoadedCache.h,e)){var s=this.bytesLoadedCache.h[e];t!=s&&(this.bytesLoaded+=t-s)}else this.bytesLoaded+=t;this.bytesLoadedCache.h[e]=t,this.promise.progress(this.bytesLoaded,this.bytesTotal)}},__class__:lime_utils_AssetLibrary};var lime_utils_AssetManifest=function(){this.assets=[],this.libraryArgs=[],this.version=2};$hxClasses["lime.utils.AssetManifest"]=lime_utils_AssetManifest,lime_utils_AssetManifest.__name__="lime.utils.AssetManifest",lime_utils_AssetManifest.fromBytes=function(e,t){return null!=e?lime_utils_AssetManifest.parse(e.getString(0,e.length),t):null},lime_utils_AssetManifest.fromFile=function(e,t){return e=lime_utils_AssetManifest.__resolvePath(e),t=lime_utils_AssetManifest.__resolveRootPath(t,e),null==e?null:lime_utils_AssetManifest.fromBytes(lime_utils_Bytes.fromFile(e),t)},lime_utils_AssetManifest.loadFromBytes=function(e,t){return lime_app_Future.withValue(lime_utils_AssetManifest.fromBytes(e,t))},lime_utils_AssetManifest.loadFromFile=function(e,t){return e=lime_utils_AssetManifest.__resolvePath(e),t=lime_utils_AssetManifest.__resolveRootPath(t,e),null==e?null:lime_utils_Bytes.loadFromFile(e).then(function(e){return lime_app_Future.withValue(lime_utils_AssetManifest.fromBytes(e,t))})},lime_utils_AssetManifest.parse=function(e,t){if(null==e||""==e)return null;var i=JSON.parse(e),l=new lime_utils_AssetManifest;if(Object.prototype.hasOwnProperty.call(i,"name")&&(l.name=i.name),Object.prototype.hasOwnProperty.call(i,"libraryType")&&(l.libraryType=i.libraryType),Object.prototype.hasOwnProperty.call(i,"libraryArgs")&&(l.libraryArgs=i.libraryArgs),Object.prototype.hasOwnProperty.call(i,"assets")){var n=i.assets;Object.prototype.hasOwnProperty.call(i,"version")&&i.version<=2?l.assets=haxe_Unserializer.run(n):l.assets=n}return Object.prototype.hasOwnProperty.call(i,"rootPath")&&(l.rootPath=i.rootPath),null!=t&&""!=t&&(null==l.rootPath||""==l.rootPath?l.rootPath=t:l.rootPath=t+"/"+l.rootPath),l},lime_utils_AssetManifest.__resolvePath=function(e){if(null==e)return null;var t,i=e.indexOf("?");for(t=i>-1?HxOverrides.substr(e,0,i):e,t=StringTools.replace(t,"\\","/");StringTools.endsWith(t,"/");)t=HxOverrides.substr(t,0,t.length-1);return StringTools.endsWith(t,".bundle")?i>-1?t+"/library.json"+HxOverrides.substr(e,i,null):t+"/library.json":e},lime_utils_AssetManifest.__resolveRootPath=function(e,t){if(null!=e)return e;var i=t.indexOf("?");for(e=i>-1?HxOverrides.substr(t,0,i):t,e=StringTools.replace(e,"\\","/");StringTools.endsWith(e,"/");){if("/"==e)return e;e=HxOverrides.substr(e,0,e.length-1)}return StringTools.endsWith(e,".bundle")?e:haxe_io_Path.directory(e)},lime_utils_AssetManifest.prototype={assets:null,libraryArgs:null,libraryType:null,name:null,rootPath:null,version:null,serialize:function(){var e={};return e.version=this.version,e.libraryType=this.libraryType,e.libraryArgs=this.libraryArgs,e.name=this.name,e.assets=haxe_Serializer.run(this.assets),e.rootPath=this.rootPath,JSON.stringify(e)},__class__:lime_utils_AssetManifest};var lime_utils_Assets=function(){};$hxClasses["lime.utils.Assets"]=lime_utils_Assets,lime_utils_Assets.__name__="lime.utils.Assets",lime_utils_Assets.exists=function(e,t){null==t&&(t="BINARY");var i=e,l=i.indexOf(":"),n=i.substring(0,l),s=i.substring(l+1),a=lime_utils_Assets.getLibrary(n);return null!=a&&a.exists(s,t)},lime_utils_Assets.getAsset=function(e,t,i){if(i&&lime_utils_Assets.cache.enabled)switch(t){case"BINARY":case"TEXT":i=!1;break;case"FONT":var l=lime_utils_Assets.cache.font.h[e];if(null!=l)return l;break;case"IMAGE":var n=lime_utils_Assets.cache.image.h[e];if(lime_utils_Assets.isValidImage(n))return n;break;case"MUSIC":case"SOUND":var s=lime_utils_Assets.cache.audio.h[e];if(lime_utils_Assets.isValidAudio(s))return s;break;case"TEMPLATE":throw haxe_Exception.thrown("Not sure how to get template: "+e);default:return null}var a=e,r=a.indexOf(":"),_=a.substring(0,r),o=a.substring(r+1),h=lime_utils_Assets.getLibrary(_);if(null!=h)if(h.exists(o,t)){if(h.isLocal(o,t)){var u=h.getAsset(o,t);return i&&lime_utils_Assets.cache.enabled&&lime_utils_Assets.cache.set(e,t,u),u}lime_utils_Log.error(t+' asset "'+e+'" exists, but only asynchronously',{fileName:"lime/utils/Assets.hx",lineNumber:133,className:"lime.utils.Assets",methodName:"getAsset"})}else lime_utils_Log.error("There is no "+t+' asset with an ID of "'+e+'"',{fileName:"lime/utils/Assets.hx",lineNumber:138,className:"lime.utils.Assets",methodName:"getAsset"});else lime_utils_Log.error(lime_utils_Assets.__libraryNotFound(_),{fileName:"lime/utils/Assets.hx",lineNumber:143,className:"lime.utils.Assets",methodName:"getAsset"});return null},lime_utils_Assets.getAudioBuffer=function(e,t){return null==t&&(t=!0),lime_utils_Assets.getAsset(e,"SOUND",t)},lime_utils_Assets.getBytes=function(e){return lime_utils_Assets.getAsset(e,"BINARY",!1)},lime_utils_Assets.getFont=function(e,t){return null==t&&(t=!0),lime_utils_Assets.getAsset(e,"FONT",t)},lime_utils_Assets.getImage=function(e,t){return null==t&&(t=!0),lime_utils_Assets.getAsset(e,"IMAGE",t)},lime_utils_Assets.getLibrary=function(e){return null!=e&&""!=e||(e="default"),lime_utils_Assets.libraries.h[e]},lime_utils_Assets.getPath=function(e){var t=e,i=t.indexOf(":"),l=t.substring(0,i),n=t.substring(i+1),s=lime_utils_Assets.getLibrary(l);if(null!=s){if(s.exists(n,null))return s.getPath(n);lime_utils_Log.error('There is no asset with an ID of "'+e+'"',{fileName:"lime/utils/Assets.hx",lineNumber:224,className:"lime.utils.Assets",methodName:"getPath"})}else lime_utils_Log.error(lime_utils_Assets.__libraryNotFound(l),{fileName:"lime/utils/Assets.hx",lineNumber:229,className:"lime.utils.Assets",methodName:"getPath"});return null},lime_utils_Assets.getText=function(e){return lime_utils_Assets.getAsset(e,"TEXT",!1)},lime_utils_Assets.hasLibrary=function(e){return null!=e&&""!=e||(e="default"),Object.prototype.hasOwnProperty.call(lime_utils_Assets.libraries.h,e)},lime_utils_Assets.isLocal=function(e,t,i){if(null==i&&(i=!0),i&&lime_utils_Assets.cache.enabled&&lime_utils_Assets.cache.exists(e,t))return!0;var l=e,n=l.indexOf(":"),s=l.substring(0,n),a=l.substring(n+1),r=lime_utils_Assets.getLibrary(s);return null!=r&&r.isLocal(a,t)},lime_utils_Assets.isValidAudio=function(e){return null!=e},lime_utils_Assets.isValidImage=function(e){return null!=e&&null!=e.buffer},lime_utils_Assets.list=function(e){for(var t=[],i=haxe_ds_StringMap.valueIterator(lime_utils_Assets.libraries.h);i.hasNext();){var l=i.next().list(e);null!=l&&(t=t.concat(l))}return t},lime_utils_Assets.loadAsset=function(e,t,i){if(i&&lime_utils_Assets.cache.enabled)switch(t){case"BINARY":case"TEXT":i=!1;break;case"FONT":var l=lime_utils_Assets.cache.font.h[e];if(null!=l)return lime_app_Future.withValue(l);break;case"IMAGE":var n=lime_utils_Assets.cache.image.h[e];if(lime_utils_Assets.isValidImage(n))return lime_app_Future.withValue(n);break;case"MUSIC":case"SOUND":var s=lime_utils_Assets.cache.audio.h[e];if(lime_utils_Assets.isValidAudio(s))return lime_app_Future.withValue(s);break;case"TEMPLATE":throw haxe_Exception.thrown("Not sure how to get template: "+e);default:return null}var a=e,r=a.indexOf(":"),_=a.substring(0,r),o=a.substring(r+1),h=lime_utils_Assets.getLibrary(_);if(null!=h){if(h.exists(o,t)){var u=h.loadAsset(o,t);return i&&lime_utils_Assets.cache.enabled&&u.onComplete(function(i){lime_utils_Assets.cache.set(e,t,i)}),u}return lime_app_Future.withError("There is no "+t+' asset with an ID of "'+e+'"')}return lime_app_Future.withError(lime_utils_Assets.__libraryNotFound(_))},lime_utils_Assets.loadAudioBuffer=function(e,t){return null==t&&(t=!0),lime_utils_Assets.loadAsset(e,"SOUND",t)},lime_utils_Assets.loadBytes=function(e){return lime_utils_Assets.loadAsset(e,"BINARY",!1)},lime_utils_Assets.loadFont=function(e,t){return null==t&&(t=!0),lime_utils_Assets.loadAsset(e,"FONT",t)},lime_utils_Assets.loadImage=function(e,t){return null==t&&(t=!0),lime_utils_Assets.loadAsset(e,"IMAGE",t)},lime_utils_Assets.loadLibrary=function(e){var t=new lime_app_Promise,i=lime_utils_Assets.getLibrary(e);if(null!=i)return i.load();var l=e,n=null;return Object.prototype.hasOwnProperty.call(lime_utils_Assets.bundlePaths.h,e)?lime_utils_AssetBundle.loadFromFile(lime_utils_Assets.bundlePaths.h[e]).onComplete(function(i){if(null!=i){var l=lime_utils_AssetLibrary.fromBundle(i);null==l?t.error('Cannot open library "'+e+'"'):(lime_utils_Assets.libraries.h[e]=l,l.onChange.add(($_=lime_utils_Assets.onChange,$bind($_,$_.dispatch))),t.completeWith(l.load()))}else t.error('Cannot load bundle for library "'+e+'"')}).onError(function(i){t.error('There is no asset library with an ID of "'+e+'"')}):(Object.prototype.hasOwnProperty.call(lime_utils_Assets.libraryPaths.h,e)?(l=lime_utils_Assets.libraryPaths.h[e],n=haxe_io_Path.directory(l)):(StringTools.endsWith(l,".bundle")?(n=l,l+="/library.json"):n=haxe_io_Path.directory(l),l=lime_utils_Assets.__cacheBreak(l)),lime_utils_AssetManifest.loadFromFile(l,n).onComplete(function(i){if(null!=i){var l=lime_utils_AssetLibrary.fromManifest(i);null==l?t.error('Cannot open library "'+e+'"'):(lime_utils_Assets.libraries.h[e]=l,l.onChange.add(($_=lime_utils_Assets.onChange,$bind($_,$_.dispatch))),t.completeWith(l.load()))}else t.error('Cannot parse asset manifest for library "'+e+'"')}).onError(function(i){t.error('There is no asset library with an ID of "'+e+'"')})),t.future},lime_utils_Assets.loadText=function(e){return lime_utils_Assets.loadAsset(e,"TEXT",!1)},lime_utils_Assets.registerLibrary=function(e,t){if(Object.prototype.hasOwnProperty.call(lime_utils_Assets.libraries.h,e)){if(lime_utils_Assets.libraries.h[e]==t)return;lime_utils_Assets.unloadLibrary(e)}null!=t&&t.onChange.add(lime_utils_Assets.library_onChange),lime_utils_Assets.libraries.h[e]=t},lime_utils_Assets.unloadLibrary=function(e){null!=e&&""!=e||(e="default");var t=lime_utils_Assets.libraries.h[e];null!=t&&(lime_utils_Assets.cache.clear(e+":"),t.onChange.remove(lime_utils_Assets.library_onChange),t.unload());var i=lime_utils_Assets.libraries;Object.prototype.hasOwnProperty.call(i.h,e)&&delete i.h[e]},lime_utils_Assets.__cacheBreak=function(e){return lime_utils_Assets.cache.version>0&&(e.indexOf("?")>-1?e+="&"+lime_utils_Assets.cache.version:e+="?"+lime_utils_Assets.cache.version),e},lime_utils_Assets.__libraryNotFound=function(e){return null!=e&&""!=e||(e="default"),null==lime_app_Application.current||null==lime_app_Application.current.__preloader||lime_app_Application.current.__preloader.complete?'There is no asset library named "'+e+'"':'There is no asset library named "'+e+'", or it is not yet preloaded'},lime_utils_Assets.library_onChange=function(){lime_utils_Assets.cache.clear(),lime_utils_Assets.onChange.dispatch()};var lime_utils__$Assets_LibrarySymbol=function(e){var t=e.indexOf(":");this.libraryName=e.substring(0,t),this.symbolName=e.substring(t+1),this.library=lime_utils_Assets.getLibrary(this.libraryName)};$hxClasses["lime.utils._Assets.LibrarySymbol"]=lime_utils__$Assets_LibrarySymbol,lime_utils__$Assets_LibrarySymbol.__name__="lime.utils._Assets.LibrarySymbol",lime_utils__$Assets_LibrarySymbol.prototype={library:null,libraryName:null,symbolName:null,isLocal:function(e){return this.library.isLocal(this.symbolName,e)},exists:function(e){return this.library.exists(this.symbolName,e)},__class__:lime_utils__$Assets_LibrarySymbol};var lime_utils_BytePointer={};lime_utils_BytePointer._new=function(e,t){return null==t&&(t=0),new lime_utils_BytePointerData(e,t)},lime_utils_BytePointer.set=function(e,t,i,l,n){null!=l&&(t=haxe_io_Bytes.ofData(l)),null!=t||null==i?(e.bytes=t,e.offset=null!=n?n:0):(e.bytes=haxe_io_Bytes.ofData(i.buffer),e.offset=null!=n?i.byteOffset+n:i.byteOffset)},lime_utils_BytePointer.__arrayGet=function(e,t){return null!=e.bytes?e.bytes.b[t+e.offset]:0},lime_utils_BytePointer.__arraySet=function(e,t,i){return null==e.bytes&&(e.bytes.b[t+e.offset]=255&i),i},lime_utils_BytePointer.fromArrayBufferView=function(e){return null==e?null:new lime_utils_BytePointerData(haxe_io_Bytes.ofData(e.buffer),e.byteOffset)},lime_utils_BytePointer.fromArrayBuffer=function(e){return null==e?null:new lime_utils_BytePointerData(haxe_io_Bytes.ofData(e),0)},lime_utils_BytePointer.fromBytes=function(e){return new lime_utils_BytePointerData(e,0)},lime_utils_BytePointer.fromBytesData=function(e){return null==e?new lime_utils_BytePointerData(null,0):new lime_utils_BytePointerData(haxe_io_Bytes.ofData(e),0)},lime_utils_BytePointer.fromFile=function(e){return new lime_utils_BytePointerData(lime_utils_Bytes.fromFile(e),0)},lime_utils_BytePointer.fromLimeBytes=function(e){return new lime_utils_BytePointerData(e,0)},lime_utils_BytePointer.toUInt8Array=function(e){var t=e.bytes.b.bufferValue,i=e.offset/8|0;null==i&&(i=0);return null!=t?new Uint8Array(t,i):null},lime_utils_BytePointer.toUInt8ClampedArray=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/8|0;null==i&&(i=0);return null!=t?new Uint8ClampedArray(t,i):null},lime_utils_BytePointer.toInt8Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/8|0;null==i&&(i=0);return null!=t?new Int8Array(t,i):null},lime_utils_BytePointer.toUInt16Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/16|0;null==i&&(i=0);return null!=t?new Uint16Array(t,i):null},lime_utils_BytePointer.toInt16Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/16|0;null==i&&(i=0);return null!=t?new Int16Array(t,i):null},lime_utils_BytePointer.toUInt32Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/32|0;null==i&&(i=0);return null!=t?new Uint32Array(t,i):null},lime_utils_BytePointer.toInt32Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/32|0;null==i&&(i=0);return null!=t?new Int32Array(t,i):null},lime_utils_BytePointer.toFloat32Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/32|0;null==i&&(i=0);return null!=t?new Float32Array(t,i):null},lime_utils_BytePointer.toFloat64Array=function(e){if(null==e||null==e.bytes)return null;var t=e.bytes.b.bufferValue,i=e.offset/64|0;null==i&&(i=0);return null!=t?new Float64Array(t,i):null};var lime_utils_BytePointerData=function(e,t){this.bytes=e,this.offset=t};$hxClasses["lime.utils.BytePointerData"]=lime_utils_BytePointerData,lime_utils_BytePointerData.__name__="lime.utils.BytePointerData",lime_utils_BytePointerData.prototype={bytes:null,offset:null,__class__:lime_utils_BytePointerData};var lime_utils_Bytes={};lime_utils_Bytes._new=function(e,t){return new haxe_io_Bytes(t)},lime_utils_Bytes.alloc=function(e){return new haxe_io_Bytes(new ArrayBuffer(e))},lime_utils_Bytes.compress=function(e,t){switch(t._hx_index){case 0:return lime__$internal_format_Deflate.compress(e);case 1:return lime__$internal_format_GZip.compress(e);case 2:return lime__$internal_format_LZMA.compress(e);case 3:return lime__$internal_format_Zlib.compress(e)}},lime_utils_Bytes.decompress=function(e,t){switch(t._hx_index){case 0:return lime__$internal_format_Deflate.decompress(e);case 1:return lime__$internal_format_GZip.decompress(e);case 2:return lime__$internal_format_LZMA.decompress(e);case 3:return lime__$internal_format_Zlib.decompress(e)}},lime_utils_Bytes.fastGet=function(e,t){return e.bytes[t]},lime_utils_Bytes.fromBytes=function(e){return null==e?null:lime_utils_Bytes._new(e.length,e.b.bufferValue)},lime_utils_Bytes.fromFile=function(e){return null},lime_utils_Bytes.loadFromBytes=function(e){return lime_app_Future.withValue(lime_utils_Bytes.fromBytes(e))},lime_utils_Bytes.loadFromFile=function(e){return(new lime_net__$HTTPRequest_$lime_$utils_$Bytes).load(e)},lime_utils_Bytes.ofData=function(e){var t=haxe_io_Bytes.ofData(e);return lime_utils_Bytes._new(t.length,t.b.bufferValue)},lime_utils_Bytes.ofString=function(e){var t=haxe_io_Bytes.ofString(e);return lime_utils_Bytes._new(t.length,t.b.bufferValue)};var lime_utils_CompressionAlgorithm=$hxEnums["lime.utils.CompressionAlgorithm"]={__ename__:"lime.utils.CompressionAlgorithm",__constructs__:["DEFLATE","GZIP","LZMA","ZLIB"],DEFLATE:{_hx_index:0,__enum__:"lime.utils.CompressionAlgorithm",toString:$estr},GZIP:{_hx_index:1,__enum__:"lime.utils.CompressionAlgorithm",toString:$estr},LZMA:{_hx_index:2,__enum__:"lime.utils.CompressionAlgorithm",toString:$estr},ZLIB:{_hx_index:3,__enum__:"lime.utils.CompressionAlgorithm",toString:$estr}},lime_utils_DataPointer={};lime_utils_DataPointer._new=function(e){return e},lime_utils_DataPointer.fromFloat=function(e){return e},lime_utils_DataPointer.fromBytesPointer=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.fromArrayBufferView=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.fromArrayBuffer=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.fromBytes=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.fromBytesData=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.fromLimeBytes=function(e){return lime_utils_DataPointer.fromBytes(e)},lime_utils_DataPointer.fromCFFIPointer=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.fromFile=function(e){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.__withOffset=function(e,t){return lime_utils_DataPointer.fromFloat(0)},lime_utils_DataPointer.equals=function(e,t){return e==t},lime_utils_DataPointer.equalsPointer=function(e,t){return e==t},lime_utils_DataPointer.greaterThan=function(e,t){return e>t},lime_utils_DataPointer.greaterThanPointer=function(e,t){return lime_system_CFFIPointer.get(e)>lime_system_CFFIPointer.get(t)},lime_utils_DataPointer.greaterThanOrEqual=function(e,t){return e>=t},lime_utils_DataPointer.greaterThanOrEqualPointer=function(e,t){return lime_system_CFFIPointer.get(e)>=lime_system_CFFIPointer.get(t)},lime_utils_DataPointer.lessThan=function(e,t){return e<t},lime_utils_DataPointer.lessThanPointer=function(e,t){return lime_system_CFFIPointer.get(e)<lime_system_CFFIPointer.get(t)},lime_utils_DataPointer.lessThanOrEqual=function(e,t){return e<=t},lime_utils_DataPointer.lessThanOrEqualPointer=function(e,t){return lime_system_CFFIPointer.get(e)<=lime_system_CFFIPointer.get(t)},lime_utils_DataPointer.notEquals=function(e,t){return e!=t},lime_utils_DataPointer.notEqualsPointer=function(e,t){return e!=t},lime_utils_DataPointer.plus=function(e,t){return lime_utils_DataPointer.__withOffset(e,t)},lime_utils_DataPointer.plusPointer=function(e,t){return lime_utils_DataPointer.__withOffset(e,0|t)},lime_utils_DataPointer.minus=function(e,t){return lime_utils_DataPointer.__withOffset(e,-t)},lime_utils_DataPointer.minusPointer=function(e,t){return lime_utils_DataPointer.__withOffset(e,-(0|t))};var lime_utils_Float32Array={};lime_utils_Float32Array.toArrayBufferView=function(e){return e},lime_utils_Float32Array.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Float32Array(e.b.bufferValue):null==i?new Float32Array(e.b.bufferValue,t):new Float32Array(e.b.bufferValue,t,i)},lime_utils_Float32Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_Float32Array.toString=function(e){return null!=e?"Float32Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_Float64Array={};lime_utils_Float64Array.toArrayBufferView=function(e){return e},lime_utils_Float64Array.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Float64Array(e.b.bufferValue):null==i?new Float64Array(e.b.bufferValue,t):new Float64Array(e.b.bufferValue,t,i)},lime_utils_Float64Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_Float64Array.toString=function(e){return null!=e?"Float64Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_Int16Array={};lime_utils_Int16Array.toArrayBufferView=function(e){return e},lime_utils_Int16Array.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Int16Array(e.b.bufferValue):null==i?new Int16Array(e.b.bufferValue,t):new Int16Array(e.b.bufferValue,t,i)},lime_utils_Int16Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_Int16Array.toString=function(e){return null!=e?"Int16Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_Int32Array={};lime_utils_Int32Array.toArrayBufferView=function(e){return e},lime_utils_Int32Array.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Int32Array(e.b.bufferValue):null==i?new Int32Array(e.b.bufferValue,t):new Int32Array(e.b.bufferValue,t,i)},lime_utils_Int32Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_Int32Array.toString=function(e){return null!=e?"Int32Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_Int8Array={};lime_utils_Int8Array.toArrayBufferView=function(e){return e},lime_utils_Int8Array.fromBytes=function(e,t,i){return null==t&&(t=0),new Int8Array(e.b.bufferValue,t,i)},lime_utils_Int8Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_Int8Array.toString=function(e){return null!=e?"Int8Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_Log=function(){};$hxClasses["lime.utils.Log"]=lime_utils_Log,lime_utils_Log.__name__="lime.utils.Log",lime_utils_Log.level=null,lime_utils_Log.debug=function(e,t){lime_utils_Log.level>=4&&console.debug("["+t.className+"] "+Std.string(e))},lime_utils_Log.error=function(e,t){if(lime_utils_Log.level>=1){var i="["+t.className+"] ERROR: "+Std.string(e);if(lime_utils_Log.throwErrors)throw haxe_Exception.thrown(i);console.error(i)}},lime_utils_Log.info=function(e,t){lime_utils_Log.level>=3&&console.info("["+t.className+"] "+Std.string(e))},lime_utils_Log.print=function(e){console.log(e)},lime_utils_Log.println=function(e){console.log(e)},lime_utils_Log.verbose=function(e,t){if(lime_utils_Log.level>=5){var i="["+t.className+"] "+Std.string(e);console.log(i)}},lime_utils_Log.warn=function(e,t){lime_utils_Log.level>=2&&console.warn("["+t.className+"] WARNING: "+Std.string(e))};var lime_utils_LogLevel={};lime_utils_LogLevel.gt=function(e,t){return e>t},lime_utils_LogLevel.gte=function(e,t){return e>=t},lime_utils_LogLevel.lt=function(e,t){return e<t},lime_utils_LogLevel.lte=function(e,t){return e<=t};var lime_utils_Preloader=function(){this.bytesTotalCache=new haxe_ds_StringMap,this.bytesLoadedCache2=new haxe_ds_StringMap,this.bytesLoadedCache=new haxe_ds_ObjectMap,this.onProgress=new lime_app__$Event_$Int_$Int_$Void,this.onComplete=new lime_app__$Event_$Void_$Void,this.bytesLoaded=0,this.bytesTotal=0,this.libraries=[],this.libraryNames=[],this.onProgress.add($bind(this,this.update))};$hxClasses["lime.utils.Preloader"]=lime_utils_Preloader,lime_utils_Preloader.__name__="lime.utils.Preloader",lime_utils_Preloader.prototype={complete:null,onComplete:null,onProgress:null,bytesLoaded:null,bytesLoadedCache:null,bytesLoadedCache2:null,bytesTotal:null,bytesTotalCache:null,initLibraryNames:null,libraries:null,libraryNames:null,loadedLibraries:null,loadedStage:null,preloadComplete:null,preloadStarted:null,simulateProgress:null,addLibrary:function(e){this.libraries.push(e)},addLibraryName:function(e){-1==this.libraryNames.indexOf(e)&&this.libraryNames.push(e)},load:function(){for(var e=this,t=0,i=this.libraries;t<i.length;){l=i[t];++t,this.bytesTotal+=l.bytesTotal}this.loadedLibraries=-1,this.preloadStarted=!1;for(var t=0,i=this.libraries;t<i.length;){var l=[i[t]];++t,lime_utils_Log.verbose("Preloading asset library",{fileName:"lime/utils/Preloader.hx",lineNumber:132,className:"lime.utils.Preloader",methodName:"load"}),l[0].load().onProgress(function(t){return function(i,l){null==e.bytesLoadedCache.h.__keys__[t[0].__id__]?e.bytesLoaded+=i:e.bytesLoaded+=i-e.bytesLoadedCache.h[t[0].__id__],e.bytesLoadedCache.set(t[0],i),e.simulateProgress||e.onProgress.dispatch(e.bytesLoaded,e.bytesTotal)}}(l)).onComplete(function(t){return function(i){null==e.bytesLoadedCache.h.__keys__[t[0].__id__]?e.bytesLoaded+=t[0].bytesTotal:e.bytesLoaded+=t[0].bytesTotal-e.bytesLoadedCache.h[t[0].__id__],e.loadedAssetLibrary()}}(l)).onError(function(){return function(e){lime_utils_Log.error(e,{fileName:"lime/utils/Preloader.hx",lineNumber:168,className:"lime.utils.Preloader",methodName:"load"})}}())}for(var t=0,i=this.libraryNames;t<i.length;){i[t];++t,this.bytesTotal+=200}this.loadedLibraries++,this.preloadStarted=!0,this.updateProgress()},loadedAssetLibrary:function(e){var t=++this.loadedLibraries;this.preloadStarted||++t;var i=this.libraries.length+this.libraryNames.length;null!=e?lime_utils_Log.verbose("Loaded asset library: "+e+" ["+t+"/"+i+"]",{fileName:"lime/utils/Preloader.hx",lineNumber:195,className:"lime.utils.Preloader",methodName:"loadedAssetLibrary"}):lime_utils_Log.verbose("Loaded asset library ["+t+"/"+i+"]",{fileName:"lime/utils/Preloader.hx",lineNumber:199,className:"lime.utils.Preloader",methodName:"loadedAssetLibrary"}),this.updateProgress()},start:function(){this.complete||this.simulateProgress||!this.preloadComplete||(this.complete=!0,this.onComplete.dispatch())},update:function(e,t){},updateProgress:function(){var e=this;if(this.simulateProgress||this.onProgress.dispatch(this.bytesLoaded,this.bytesTotal),this.loadedLibraries==this.libraries.length&&!this.initLibraryNames){this.initLibraryNames=!0;for(var t=0,i=this.libraryNames;t<i.length;){var l=[i[t]];++t,lime_utils_Log.verbose("Preloading asset library: "+l[0],{fileName:"lime/utils/Preloader.hx",lineNumber:236,className:"lime.utils.Preloader",methodName:"updateProgress"}),lime_utils_Assets.loadLibrary(l[0]).onProgress(function(t){return function(i,l){l>0&&(Object.prototype.hasOwnProperty.call(e.bytesTotalCache.h,t[0])||(e.bytesTotalCache.h[t[0]]=l,e.bytesTotal+=l-200),i>l&&(i=l),Object.prototype.hasOwnProperty.call(e.bytesLoadedCache2.h,t[0])?e.bytesLoaded+=i-e.bytesLoadedCache2.h[t[0]]:e.bytesLoaded+=i,e.bytesLoadedCache2.h[t[0]]=i,e.simulateProgress||e.onProgress.dispatch(e.bytesLoaded,e.bytesTotal))}}(l)).onComplete(function(t){return function(i){var l=200;Object.prototype.hasOwnProperty.call(e.bytesTotalCache.h,t[0])&&(l=e.bytesTotalCache.h[t[0]]),Object.prototype.hasOwnProperty.call(e.bytesLoadedCache2.h,t[0])?e.bytesLoaded+=l-e.bytesLoadedCache2.h[t[0]]:e.bytesLoaded+=l,e.loadedAssetLibrary(t[0])}}(l)).onError(function(){return function(e){lime_utils_Log.error(e,{fileName:"lime/utils/Preloader.hx",lineNumber:290,className:"lime.utils.Preloader",methodName:"updateProgress"})}}())}}this.simulateProgress||this.loadedLibraries!=this.libraries.length+this.libraryNames.length||(this.preloadComplete||(this.preloadComplete=!0,lime_utils_Log.verbose("Preload complete",{fileName:"lime/utils/Preloader.hx",lineNumber:301,className:"lime.utils.Preloader",methodName:"updateProgress"})),this.start())},__class__:lime_utils_Preloader};var lime_utils_Resource={};lime_utils_Resource._new=function(e){return null==e&&(e=0),new haxe_io_Bytes(new ArrayBuffer(e))},lime_utils_Resource.__fromString=function(e){return haxe_io_Bytes.ofString(e)},lime_utils_Resource.__toString=function(e){return e.toString()};var lime_utils_UInt16Array={};lime_utils_UInt16Array.toArrayBufferView=function(e){return e},lime_utils_UInt16Array.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Uint16Array(e.b.bufferValue):null==i?new Uint16Array(e.b.bufferValue,t):new Uint16Array(e.b.bufferValue,t,i)},lime_utils_UInt16Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_UInt16Array.toString=function(e){return null!=e?"UInt16Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_UInt32Array={};lime_utils_UInt32Array.toArrayBufferView=function(e){return e},lime_utils_UInt32Array.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Uint32Array(e.b.bufferValue):null==i?new Uint32Array(e.b.bufferValue,t):new Uint32Array(e.b.bufferValue,t,i)},lime_utils_UInt32Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_UInt32Array.toString=function(e){return null!=e?"UInt32Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_UInt8Array={};lime_utils_UInt8Array.toArrayBufferView=function(e){return e},lime_utils_UInt8Array.fromBytes=function(e,t,i){return null==t?new Uint8Array(e.b.bufferValue):null==i?new Uint8Array(e.b.bufferValue,t):new Uint8Array(e.b.bufferValue,t,i)},lime_utils_UInt8Array.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_UInt8Array.toString=function(e){return null!=e?"UInt8Array [byteLength:"+e.byteLength+", length:"+e.length+"]":null};var lime_utils_UInt8ClampedArray={};lime_utils_UInt8ClampedArray.toArrayBufferView=function(e){return e},lime_utils_UInt8ClampedArray.fromBytes=function(e,t,i){return null==t&&(t=0),null==t?new Uint8ClampedArray(e.b.bufferValue):null==i?new Uint8ClampedArray(e.b.bufferValue,t):new Uint8ClampedArray(e.b.bufferValue,t,i)},lime_utils_UInt8ClampedArray.toBytes=function(e){return new haxe_io_Bytes(new Uint8Array(e.buffer))},lime_utils_UInt8ClampedArray.toString=function(e){return null!=e?"UInt8ClampedArray [byteLength:"+e.byteLength+", length:"+e.length+"]":null},lime_utils_UInt8ClampedArray._clamp=function(e){var t=0|e;return t>255&&(t=255),t<0?0:t};var openfl_Lib=function(){};$hxClasses["openfl.Lib"]=openfl_Lib,openfl_Lib.__name__="openfl.Lib",openfl_Lib.__properties__={get_current:"get_current",get_application:"get_application"},openfl_Lib.as=function(e,t){return js_Boot.__instanceof(e,t)?e:null},openfl_Lib.attach=function(e){return new openfl_display_MovieClip},openfl_Lib.clearInterval=function(e){openfl_Lib.__timers.h.hasOwnProperty(e)&&(openfl_Lib.__timers.h[e].stop(),openfl_Lib.__timers.remove(e))},openfl_Lib.clearTimeout=function(e){openfl_Lib.__timers.h.hasOwnProperty(e)&&(openfl_Lib.__timers.h[e].stop(),openfl_Lib.__timers.remove(e))},openfl_Lib.getDefinitionByName=function(e){return null==e?null:$hxClasses[e]},openfl_Lib.getQualifiedClassName=function(e){if(null==e)return null;var t=js_Boot.__instanceof(e,Class)?e:js_Boot.getClass(e);return null==t?"boolean"==typeof e||e==Bool?"Bool":"number"==typeof e&&(0|e)===e||e==Int?"Int":"number"==typeof e||e==Float?"Float":null:t.__name__},openfl_Lib.getQualifiedSuperclassName=function(e){if(null==e)return null;var t=js_Boot.__instanceof(e,Class)?e:js_Boot.getClass(e);if(null==t)return null;var i=t.__super__;return null==i?null:i.__name__},openfl_Lib.getTimer=function(){return lime_system_System.getTimer()},openfl_Lib.getURL=function(e,t){openfl_Lib.navigateToURL(e,t)},openfl_Lib.navigateToURL=function(e,t){null==t&&(t="_blank");var i=e.url;if(Type.typeof(e.data)==ValueType.TObject){for(var l="",n=Reflect.fields(e.data),s=0;s<n.length;){var a=n[s];++s,l.length>0&&(l+="&");var r=encodeURIComponent(a)+"=",_=Std.string(Reflect.field(e.data,a));l+=r+encodeURIComponent(_)}i.indexOf("?")>-1?i+="&"+l:i+="?"+l}lime_system_System.openURL(i,t)},openfl_Lib.notImplemented=function(e){var t=e.className+"."+e.methodName;Object.prototype.hasOwnProperty.call(openfl_Lib.__sentWarnings.h,t)||(openfl_Lib.__sentWarnings.h[t]=!0,lime_utils_Log.warn(e.methodName+" is not implemented",e))},openfl_Lib.preventDefaultTouchMove=function(){window.document.addEventListener("touchmove",function(e){e.preventDefault()},!1)},openfl_Lib.sendToURL=function(e){(new openfl_net_URLLoader).load(e)},openfl_Lib.setInterval=function(e,t,i){var l=++openfl_Lib.__lastTimerID,n=new haxe_Timer(t);return openfl_Lib.__timers.h[l]=n,n.run=function(){e.apply(e,null==i?[]:i)},l},openfl_Lib.setTimeout=function(e,t,i){var l=++openfl_Lib.__lastTimerID,n=openfl_Lib.__timers,s=haxe_Timer.delay(function(){e.apply(e,null==i?[]:i)},t);return n.h[l]=s,l},openfl_Lib.trace=function(e){haxe_Log.trace(e,{fileName:"openfl/Lib.hx",lineNumber:260,className:"openfl.Lib",methodName:"trace"})},openfl_Lib.get_application=function(){return openfl__$internal_Lib.application},openfl_Lib.get_current=function(){return null==openfl__$internal_Lib.current&&(openfl__$internal_Lib.current=new openfl_display_MovieClip),openfl__$internal_Lib.current};var openfl__$Vector_IVector=function(){};$hxClasses["openfl._Vector.IVector"]=openfl__$Vector_IVector,openfl__$Vector_IVector.__name__="openfl._Vector.IVector",openfl__$Vector_IVector.__isInterface__=!0,openfl__$Vector_IVector.prototype={get_length:null,set_length:null,fixed:null,concat:null,copy:null,filter:null,get:null,indexOf:null,insertAt:null,iterator:null,join:null,lastIndexOf:null,pop:null,push:null,removeAt:null,reverse:null,set:null,shift:null,slice:null,sort:null,splice:null,toString:null,unshift:null,__class__:openfl__$Vector_IVector,__properties__:{set_length:"set_length",get_length:"get_length"}};var openfl__$Vector_BoolVector=function(e,t,i){null==t&&(t=!1),null==e&&(e=0),null==i&&(i=[]),this.__array=i,e>0&&this.set_length(e),this.fixed=t};$hxClasses["openfl._Vector.BoolVector"]=openfl__$Vector_BoolVector,openfl__$Vector_BoolVector.__name__="openfl._Vector.BoolVector",openfl__$Vector_BoolVector.__interfaces__=[openfl__$Vector_IVector],openfl__$Vector_BoolVector.prototype={fixed:null,__array:null,concat:function(e){if(null==e)return new openfl__$Vector_BoolVector(0,!1,this.__array.slice());var t=e;return t.__array.length>0?new openfl__$Vector_BoolVector(0,!1,this.__array.concat(t.__array)):new openfl__$Vector_BoolVector(0,!1,this.__array.slice())},copy:function(){return new openfl__$Vector_BoolVector(0,this.fixed,this.__array.slice())},filter:function(e){for(var t=this.fixed,i=[],l=0,n=this.__array;l<n.length;){var s=n[l];++l,e(s)&&i.push(s)}return new openfl__$Vector_BoolVector(0,t,i)},get:function(e){return!(e>=this.__array.length)&&this.__array[e]},indexOf:function(e,t){null==t&&(t=0);for(var i=t,l=this.__array.length;i<l;){var n=i++;if(this.__array[n]==e)return n}return-1},insertAt:function(e,t){(!this.fixed||e<this.__array.length)&&this.__array.splice(e,0,t)},iterator:function(){return new haxe_iterators_ArrayIterator(this.__array)},join:function(e){return null==e&&(e=","),this.__array.join(e)},lastIndexOf:function(e,t){for(var i=null==t||t>=this.__array.length?this.__array.length-1:t;i>=0;){if(this.__array[i]==e)return i;--i}return-1},pop:function(){return this.fixed?null:this.__array.pop()},push:function(e){return this.fixed?this.__array.length:this.__array.push(e)},removeAt:function(e){return(!this.fixed||e<this.__array.length)&&this.__array.splice(e,1)[0]},reverse:function(){return this.__array.reverse(),this},set:function(e,t){return!this.fixed||e<this.__array.length?this.__array[e]=t:t},shift:function(){return this.fixed?null:this.__array.shift()},slice:function(e,t){return null==e&&(e=0),null==t&&(t=16777215),new openfl__$Vector_BoolVector(0,!1,this.__array.slice(e,t))},sort:function(e){this.__array.sort(e)},splice:function(e,t){return new openfl__$Vector_BoolVector(0,!1,this.__array.splice(e,t))},toJSON:function(){return this.__array},toString:function(){return null!=this.__array?this.__array.toString():null},unshift:function(e){this.fixed||this.__array.unshift(e)},get_length:function(){return this.__array.length},set_length:function(e){if(!this.fixed){var t=this.__array.length;if(e<0&&(e=0),e>t)for(var i=t,l=e;i<l;){var n=i++;this.__array[n]=!1}else for(;this.__array.length>e;)this.__array.pop()}return this.__array.length},__class__:openfl__$Vector_BoolVector,__properties__:{set_length:"set_length",get_length:"get_length"}};var openfl__$Vector_FloatVector=function(e,t,i,l){if(null==l&&(l=!1),null==t&&(t=!1),null==e&&(e=0),l){if(this.__array=[],null!=i)for(var n=0,s=i.length;n<s;){var a=n++;this.__array[a]=i[a]}}else null==i&&(i=[]),this.__array=i;e>0&&this.set_length(e),this.fixed=t};$hxClasses["openfl._Vector.FloatVector"]=openfl__$Vector_FloatVector,openfl__$Vector_FloatVector.__name__="openfl._Vector.FloatVector",openfl__$Vector_FloatVector.__interfaces__=[openfl__$Vector_IVector],openfl__$Vector_FloatVector.prototype={fixed:null,__array:null,concat:function(e){if(null==e)return new openfl__$Vector_FloatVector(0,!1,this.__array.slice());var t=e;return t.__array.length>0?new openfl__$Vector_FloatVector(0,!1,this.__array.concat(t.__array)):new openfl__$Vector_FloatVector(0,!1,this.__array.slice())},copy:function(){return new openfl__$Vector_FloatVector(0,this.fixed,this.__array.slice())},filter:function(e){for(var t=this.fixed,i=[],l=0,n=this.__array;l<n.length;){var s=n[l];++l,e(s)&&i.push(s)}return new openfl__$Vector_FloatVector(0,t,i)},get:function(e){return this.__array[e]},indexOf:function(e,t){null==t&&(t=0);for(var i=t,l=this.__array.length;i<l;){var n=i++;if(this.__array[n]==e)return n}return-1},insertAt:function(e,t){(!this.fixed||e<this.__array.length)&&this.__array.splice(e,0,t)},iterator:function(){return new haxe_iterators_ArrayIterator(this.__array)},join:function(e){return null==e&&(e=","),this.__array.join(e)},lastIndexOf:function(e,t){for(var i=null==t||t>=this.__array.length?this.__array.length-1:t;i>=0;){if(this.__array[i]==e)return i;--i}return-1},pop:function(){return this.fixed?null:this.__array.pop()},push:function(e){return this.fixed?this.__array.length:this.__array.push(e)},removeAt:function(e){return!this.fixed||e<this.__array.length?this.__array.splice(e,1)[0]:0},reverse:function(){return this.__array.reverse(),this},set:function(e,t){return!this.fixed||e<this.__array.length?this.__array[e]=t:t},shift:function(){return this.fixed?null:this.__array.shift()},slice:function(e,t){return null==e&&(e=0),null==t&&(t=16777215),new openfl__$Vector_FloatVector(0,!1,this.__array.slice(e,t))},sort:function(e){this.__array.sort(e)},splice:function(e,t){return new openfl__$Vector_FloatVector(0,!1,this.__array.splice(e,t))},toJSON:function(){return this.__array},toString:function(){return null!=this.__array?this.__array.toString():null},unshift:function(e){this.fixed||this.__array.unshift(e)},get_length:function(){return this.__array.length},set_length:function(e){if(e!=this.__array.length&&!this.fixed){var t=this.__array.length;if(e<0&&(e=0),e>t)for(var i=t,l=e;i<l;){var n=i++;this.__array[n]=0}else for(;this.__array.length>e;)this.__array.pop()}return this.__array.length},__class__:openfl__$Vector_FloatVector,__properties__:{set_length:"set_length",get_length:"get_length"}};var openfl__$Vector_FunctionVector=function(e,t,i){null==t&&(t=!1),null==e&&(e=0),null==i&&(i=[]),this.__array=i,e>0&&this.set_length(e),this.fixed=t};$hxClasses["openfl._Vector.FunctionVector"]=openfl__$Vector_FunctionVector,openfl__$Vector_FunctionVector.__name__="openfl._Vector.FunctionVector",openfl__$Vector_FunctionVector.__interfaces__=[openfl__$Vector_IVector],openfl__$Vector_FunctionVector.prototype={fixed:null,__array:null,concat:function(e){if(null==e)return new openfl__$Vector_FunctionVector(0,!1,this.__array.slice());var t=e;return t.__array.length>0?new openfl__$Vector_FunctionVector(0,!1,this.__array.concat(t.__array)):new openfl__$Vector_FunctionVector(0,!1,this.__array.slice())},copy:function(){return new openfl__$Vector_FunctionVector(0,this.fixed,this.__array.slice())},filter:function(e){for(var t=this.fixed,i=[],l=0,n=this.__array;l<n.length;){var s=n[l];++l,e(s)&&i.push(s)}return new openfl__$Vector_FunctionVector(0,t,i)},get:function(e){return e>=this.__array.length?null:this.__array[e]},indexOf:function(e,t){null==t&&(t=0);for(var i=t,l=this.__array.length;i<l;){var n=i++;if(Reflect.compareMethods(this.__array[n],e))return n}return-1},insertAt:function(e,t){(!this.fixed||e<this.__array.length)&&this.__array.splice(e,0,t)},iterator:function(){return new haxe_iterators_ArrayIterator(this.__array)},join:function(e){return null==e&&(e=","),this.__array.join(e)},lastIndexOf:function(e,t){for(var i=null==t||t>=this.__array.length?this.__array.length-1:t;i>=0;){if(Reflect.compareMethods(this.__array[i],e))return i;--i}return-1},pop:function(){return this.fixed?null:this.__array.pop()},push:function(e){return this.fixed?this.__array.length:this.__array.push(e)},removeAt:function(e){return!this.fixed||e<this.__array.length?this.__array.splice(e,1)[0]:null},reverse:function(){return this.__array.reverse(),this},set:function(e,t){return!this.fixed||e<this.__array.length?this.__array[e]=t:t},shift:function(){return this.fixed?null:this.__array.shift()},slice:function(e,t){return null==e&&(e=0),null==t&&(t=16777215),new openfl__$Vector_FunctionVector(0,!1,this.__array.slice(e,t))},sort:function(e){this.__array.sort(e)},splice:function(e,t){return new openfl__$Vector_FunctionVector(0,!1,this.__array.splice(e,t))},toJSON:function(){return this.__array},toString:function(){return null!=this.__array?this.__array.toString():null},unshift:function(e){this.fixed||this.__array.unshift(e)},get_length:function(){return this.__array.length},set_length:function(e){if(!this.fixed){var t=this.__array.length;if(e<0&&(e=0),e>t)for(var i=t,l=e;i<l;){var n=i++;this.__array[n]=null}else for(;this.__array.length>e;)this.__array.pop()}return this.__array.length},__class__:openfl__$Vector_FunctionVector,__properties__:{set_length:"set_length",get_length:"get_length"}};var openfl__$Vector_IntVector=function(e,t,i){null==t&&(t=!1),null==e&&(e=0),null==i&&(i=[]),this.__array=i,e>0&&this.set_length(e),this.fixed=t};$hxClasses["openfl._Vector.IntVector"]=openfl__$Vector_IntVector,openfl__$Vector_IntVector.__name__="openfl._Vector.IntVector",openfl__$Vector_IntVector.__interfaces__=[openfl__$Vector_IVector],openfl__$Vector_IntVector.prototype={fixed:null,__array:null,concat:function(e){if(null==e)return new openfl__$Vector_IntVector(0,!1,this.__array.slice());var t=e;return t.__array.length>0?new openfl__$Vector_IntVector(0,!1,this.__array.concat(t.__array)):new openfl__$Vector_IntVector(0,!1,this.__array.slice())},copy:function(){return new openfl__$Vector_IntVector(0,this.fixed,this.__array.slice())},filter:function(e){for(var t=this.fixed,i=[],l=0,n=this.__array;l<n.length;){var s=n[l];++l,e(s)&&i.push(s)}return new openfl__$Vector_IntVector(0,t,i)},get:function(e){return this.__array[e]},indexOf:function(e,t){null==t&&(t=0);for(var i=t,l=this.__array.length;i<l;){var n=i++;if(this.__array[n]==e)return n}return-1},insertAt:function(e,t){(!this.fixed||e<this.__array.length)&&this.__array.splice(e,0,t)},iterator:function(){return new haxe_iterators_ArrayIterator(this.__array)},join:function(e){return null==e&&(e=","),this.__array.join(e)},lastIndexOf:function(e,t){for(var i=null==t||t>=this.__array.length?this.__array.length-1:t;i>=0;){if(this.__array[i]==e)return i;--i}return-1},pop:function(){return this.fixed?null:this.__array.pop()},push:function(e){return this.fixed?this.__array.length:this.__array.push(e)},removeAt:function(e){return!this.fixed||e<this.__array.length?this.__array.splice(e,1)[0]:0},reverse:function(){return this.__array.reverse(),this},set:function(e,t){return!this.fixed||e<this.__array.length?this.__array[e]=t:t},shift:function(){return this.fixed?null:this.__array.shift()},slice:function(e,t){return null==e&&(e=0),null==t&&(t=16777215),new openfl__$Vector_IntVector(0,!1,this.__array.slice(e,t))},sort:function(e){this.__array.sort(e)},splice:function(e,t){return new openfl__$Vector_IntVector(0,!1,this.__array.splice(e,t))},toJSON:function(){return this.__array},toString:function(){return null!=this.__array?this.__array.toString():null},unshift:function(e){this.fixed||this.__array.unshift(e)},get_length:function(){return this.__array.length},set_length:function(e){if(!this.fixed){var t=this.__array.length;if(e<0&&(e=0),e>t)for(var i=t,l=e;i<l;){var n=i++;this.__array[n]=0}else for(;this.__array.length>e;)this.__array.pop()}return this.__array.length},__class__:openfl__$Vector_IntVector,__properties__:{set_length:"set_length",get_length:"get_length"}};var openfl__$Vector_ObjectVector=function(e,t,i,l){if(null==l&&(l=!1),null==t&&(t=!1),null==e&&(e=0),l){if(this.__array=[],null!=i)for(var n=0,s=i.length;n<s;){var a=n++;this.__array[a]=i[a]}}else null==i&&(i=[]),this.__array=i;e>0&&this.set_length(e),this.fixed=t};$hxClasses["openfl._Vector.ObjectVector"]=openfl__$Vector_ObjectVector,openfl__$Vector_ObjectVector.__name__="openfl._Vector.ObjectVector",openfl__$Vector_ObjectVector.__interfaces__=[openfl__$Vector_IVector],openfl__$Vector_ObjectVector.prototype={fixed:null,__array:null,concat:function(e){if(null==e)return new openfl__$Vector_ObjectVector(0,!1,this.__array.slice());var t=e;return t.__array.length>0?new openfl__$Vector_ObjectVector(0,!1,this.__array.concat(t.__array)):new openfl__$Vector_ObjectVector(0,!1,this.__array.slice())},copy:function(){return new openfl__$Vector_ObjectVector(0,this.fixed,this.__array.slice())},filter:function(e){for(var t=this.fixed,i=[],l=0,n=this.__array;l<n.length;){var s=n[l];++l,e(s)&&i.push(s)}return new openfl__$Vector_ObjectVector(0,t,i)},get:function(e){return this.__array[e]},indexOf:function(e,t){null==t&&(t=0);for(var i=t,l=this.__array.length;i<l;){var n=i++;if(this.__array[n]==e)return n}return-1},insertAt:function(e,t){(!this.fixed||e<this.__array.length)&&this.__array.splice(e,0,t)},iterator:function(){return new haxe_iterators_ArrayIterator(this.__array)},join:function(e){return null==e&&(e=","),this.__array.join(e)},lastIndexOf:function(e,t){for(var i=null==t||t>=this.__array.length?this.__array.length-1:t;i>=0;){if(this.__array[i]==e)return i;--i}return-1},pop:function(){return this.fixed?null:this.__array.pop()},push:function(e){return this.fixed?this.__array.length:this.__array.push(e)},removeAt:function(e){return!this.fixed||e<this.__array.length?this.__array.splice(e,1)[0]:null},reverse:function(){return this.__array.reverse(),this},set:function(e,t){return!this.fixed||e<this.__array.length?this.__array[e]=t:t},shift:function(){return this.fixed?null:this.__array.shift()},slice:function(e,t){return null==e&&(e=0),null==t&&(t=16777215),new openfl__$Vector_ObjectVector(0,!1,this.__array.slice(e,t))},sort:function(e){this.__array.sort(e)},splice:function(e,t){return new openfl__$Vector_ObjectVector(0,!1,this.__array.splice(e,t))},toJSON:function(){return this.__array},toString:function(){return null!=this.__array?this.__array.toString():null},unshift:function(e){this.fixed||this.__array.unshift(e)},get_length:function(){return this.__array.length},set_length:function(e){if(!this.fixed){var t=this.__array.length;if(e<0&&(e=0),e>t)for(var i=t,l=e;i<l;){i++;this.__array.push(null)}else for(;this.__array.length>e;)this.__array.pop()}return this.__array.length},__class__:openfl__$Vector_ObjectVector,__properties__:{set_length:"set_length",get_length:"get_length"}};var openfl__$internal_Lib=function(){};$hxClasses["openfl._internal.Lib"]=openfl__$internal_Lib,openfl__$internal_Lib.__name__="openfl._internal.Lib",openfl__$internal_Lib.application=null,openfl__$internal_Lib.current=null,openfl__$internal_Lib.notImplemented=function(e){var t=e.className+"."+e.methodName;Object.prototype.hasOwnProperty.call(openfl__$internal_Lib.__sentWarnings.h,t)||(openfl__$internal_Lib.__sentWarnings.h[t]=!0,lime_utils_Log.warn(e.methodName+" is not implemented",e))};var openfl__$internal_formats_html_HTMLParser=function(){};$hxClasses["openfl._internal.formats.html.HTMLParser"]=openfl__$internal_formats_html_HTMLParser,openfl__$internal_formats_html_HTMLParser.__name__="openfl._internal.formats.html.HTMLParser",openfl__$internal_formats_html_HTMLParser.parse=function(e,t,i){var l=(e=(e=(e=(e=(e=e.replace(openfl__$internal_formats_html_HTMLParser.__regexBreakTag.r,"\n")).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[0].r,'"')).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[1].r,"'")).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[2].r,"&")).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[5].r," ")).split("<");if(1==l.length){e=e.replace(openfl__$internal_formats_html_HTMLParser.__regexHTMLTag.r,""),i.get_length()>1&&i.splice(1,i.get_length()-1),e=(e=e.replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[3].r,"<")).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[4].r,">");var n=i.get(0);return n.format=t,n.start=0,n.end=e.length,e}i.splice(0,i.get_length()),e="";for(var s=0,a=l.length;s<a;){var r=s++;d=(d=(d=l[r]).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[3].r,"<")).replace(openfl__$internal_formats_html_HTMLParser.__regexEntities[4].r,">"),l[r]=d}for(var _,o=[t.clone()],h=[],u=!1,s=0;s<l.length;){var d=l[s];if(++s,""!=d){var c,p="/"==HxOverrides.substr(d,0,1),f=d.indexOf(">"),m=f+1,x=d.indexOf(" "),g=d.substring(p?1:0,x>-1&&x<f?x:f);if(p){if(0==h.length||g.toLowerCase()!=h[h.length-1].toLowerCase()){lime_utils_Log.info("Invalid HTML, unexpected closing tag ignored: "+g,{fileName:"openfl/_internal/formats/html/HTMLParser.hx",lineNumber:97,className:"openfl._internal.formats.html.HTMLParser",methodName:"parse"});continue}h.pop(),o.pop(),c=o[o.length-1].clone(),"p"==g.toLowerCase()&&i.get_length()>0&&(e+="\n",u=!0),m<d.length&&(_=HxOverrides.substr(d,m,null),i.push(new openfl_text__$internal_TextFormatRange(c,e.length,e.length+_.length)),e+=_,u=!1)}else if(c=o[o.length-1].clone(),f>-1){switch(g.toLowerCase()){case"a":openfl__$internal_formats_html_HTMLParser.__regexHref.match(d)&&(c.url=openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexHref));break;case"b":c.bold=!0;break;case"em":case"i":c.italic=!0;break;case"font":if(openfl__$internal_formats_html_HTMLParser.__regexFace.match(d)&&(c.font=openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexFace)),openfl__$internal_formats_html_HTMLParser.__regexColor.match(d)&&(c.color=Std.parseInt("0x"+openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexColor))),openfl__$internal_formats_html_HTMLParser.__regexSize.match(d)){var F=openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexSize),y=HxOverrides.cca(F,0);if(43==y||45==y){var S=o.length>=2?o[o.length-2]:t;c.size=S.size+Std.parseInt(F)}else c.size=Std.parseInt(F)}break;case"p":if(i.get_length()>0&&!u&&(e+="\n"),openfl__$internal_formats_html_HTMLParser.__regexAlign.match(d)){var b=openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexAlign).toLowerCase();c.align=openfl_text_TextFormatAlign.fromString(b)}break;case"textformat":if(openfl__$internal_formats_html_HTMLParser.__regexBlockIndent.match(d)&&(c.blockIndent=Std.parseInt(openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexBlockIndent))),openfl__$internal_formats_html_HTMLParser.__regexIndent.match(d)&&(c.indent=Std.parseInt(openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexIndent))),openfl__$internal_formats_html_HTMLParser.__regexLeading.match(d)&&(c.leading=Std.parseInt(openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexLeading))),openfl__$internal_formats_html_HTMLParser.__regexLeftMargin.match(d)&&(c.leftMargin=Std.parseInt(openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexLeftMargin))),openfl__$internal_formats_html_HTMLParser.__regexRightMargin.match(d)&&(c.rightMargin=Std.parseInt(openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexRightMargin))),openfl__$internal_formats_html_HTMLParser.__regexTabStops.match(d)){for(var U=openfl__$internal_formats_html_HTMLParser.__getAttributeMatch(openfl__$internal_formats_html_HTMLParser.__regexTabStops).split(" "),v=[],a=0;a<U.length;){var T=U[a];++a,v.push(Std.parseInt(T))}c.tabStops=v}break;case"u":c.underline=!0}o.push(c),h.push(g),m<d.length&&(_=d.substring(m),i.push(new openfl_text__$internal_TextFormatRange(c,e.length,e.length+_.length)),e+=_,u=!1)}else i.push(new openfl_text__$internal_TextFormatRange(c,e.length,e.length+d.length)),e+=d,u=!1}}return 0==i.get_length()&&i.push(new openfl_text__$internal_TextFormatRange(o[0],0,0)),e},openfl__$internal_formats_html_HTMLParser.__getAttributeMatch=function(e){return null!=e.matched(2)?e.matched(2):e.matched(3)};var openfl__$internal_utils_TouchData=function(){this.rollOutStack=[]};$hxClasses["openfl._internal.utils.TouchData"]=openfl__$internal_utils_TouchData,openfl__$internal_utils_TouchData.__name__="openfl._internal.utils.TouchData",openfl__$internal_utils_TouchData.prototype={rollOutStack:null,touch:null,touchDownTarget:null,touchOverTarget:null,reset:function(){this.touch=null,this.touchDownTarget=null,this.touchOverTarget=null,this.rollOutStack.splice(0,this.rollOutStack.length)},__class__:openfl__$internal_utils_TouchData};var openfl_display_Application=function(){lime_app_Application.call(this),null==openfl__$internal_Lib.application&&(openfl__$internal_Lib.application=this),null==openfl__$internal_Lib.current&&(openfl__$internal_Lib.current=new openfl_display_MovieClip),openfl__$internal_Lib.current.__loaderInfo=openfl_display_LoaderInfo.create(null),openfl__$internal_Lib.current.__loaderInfo.content=openfl__$internal_Lib.current};$hxClasses["openfl.display.Application"]=openfl_display_Application,openfl_display_Application.__name__="openfl.display.Application",openfl_display_Application.__super__=lime_app_Application,openfl_display_Application.prototype=$extend(lime_app_Application.prototype,{createWindow:function(e){var t=new openfl_display_Window(this,e);this.__windows.push(t),this.__windowByID.h[t.id]=t;var i=$bind(this,this.__onWindowClose),l=t,n=function(){i(l)};return t.onClose.add(n,!1,-1e4),null==this.__window&&(this.__window=t,t.onActivate.add($bind(this,this.onWindowActivate)),t.onRenderContextLost.add($bind(this,this.onRenderContextLost)),t.onRenderContextRestored.add($bind(this,this.onRenderContextRestored)),t.onDeactivate.add($bind(this,this.onWindowDeactivate)),t.onDropFile.add($bind(this,this.onWindowDropFile)),t.onEnter.add($bind(this,this.onWindowEnter)),t.onExpose.add($bind(this,this.onWindowExpose)),t.onFocusIn.add($bind(this,this.onWindowFocusIn)),t.onFocusOut.add($bind(this,this.onWindowFocusOut)),t.onFullscreen.add($bind(this,this.onWindowFullscreen)),t.onKeyDown.add($bind(this,this.onKeyDown)),t.onKeyUp.add($bind(this,this.onKeyUp)),t.onLeave.add($bind(this,this.onWindowLeave)),t.onMinimize.add($bind(this,this.onWindowMinimize)),t.onMouseDown.add($bind(this,this.onMouseDown)),t.onMouseMove.add($bind(this,this.onMouseMove)),t.onMouseMoveRelative.add($bind(this,this.onMouseMoveRelative)),t.onMouseUp.add($bind(this,this.onMouseUp)),t.onMouseWheel.add($bind(this,this.onMouseWheel)),t.onMove.add($bind(this,this.onWindowMove)),t.onRender.add($bind(this,this.render)),t.onResize.add($bind(this,this.onWindowResize)),t.onRestore.add($bind(this,this.onWindowRestore)),t.onTextEdit.add($bind(this,this.onTextEdit)),t.onTextInput.add($bind(this,this.onTextInput)),this.onWindowCreate()),this.onCreateWindow.dispatch(t),t},__class__:openfl_display_Application});var openfl_display_Bitmap=function(e,t,i){null==i&&(i=!1),openfl_display_DisplayObject.call(this),this.__bitmapData=e,this.pixelSnapping=t,this.smoothing=i,null==t&&(this.pixelSnapping=1)};$hxClasses["openfl.display.Bitmap"]=openfl_display_Bitmap,openfl_display_Bitmap.__name__="openfl.display.Bitmap",openfl_display_Bitmap.__super__=openfl_display_DisplayObject,openfl_display_Bitmap.prototype=$extend(openfl_display_DisplayObject.prototype,{pixelSnapping:null,smoothing:null,__image:null,__bitmapData:null,__imageVersion:null,__enterFrame:function(e){null!=this.__bitmapData&&null!=this.__bitmapData.image&&this.__bitmapData.image.version!=this.__imageVersion&&(this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()))},__getBounds:function(e,t){var i=openfl_geom_Rectangle.__pool.get();null!=this.__bitmapData?i.setTo(0,0,this.__bitmapData.width,this.__bitmapData.height):i.setTo(0,0,0,0),i.__transform(i,t),e.__expand(i.x,i.y,i.width,i.height),openfl_geom_Rectangle.__pool.release(i)},__hitTest:function(e,t,i,l,n,s){if(!s.get_visible()||this.__isMask||null==this.__bitmapData)return!1;if(null!=this.get_mask()&&!this.get_mask().__hitTestMask(e,t))return!1;this.__getRenderTransform();var a=this.__renderTransform,r=a.a*a.d-a.b*a.c,_=0==r?-a.tx:1/r*(a.c*(a.ty-t)+a.d*(e-a.tx)),o=0==(r=(a=this.__renderTransform).a*a.d-a.b*a.c)?-a.ty:1/r*(a.a*(t-a.ty)+a.b*(a.tx-e));return _>0&&o>0&&_<=this.__bitmapData.width&&o<=this.__bitmapData.height&&(!(null!=this.__scrollRect&&!this.__scrollRect.contains(_,o))&&(null==l||n||l.push(s),!0))},__hitTestMask:function(e,t){if(null==this.__bitmapData)return!1;this.__getRenderTransform();var i=this.__renderTransform,l=i.a*i.d-i.b*i.c,n=0==l?-i.tx:1/l*(i.c*(i.ty-t)+i.d*(e-i.tx)),s=0==(l=(i=this.__renderTransform).a*i.d-i.b*i.c)?-i.ty:1/l*(i.a*(t-i.ty)+i.b*(i.tx-e));return n>0&&s>0&&n<=this.__bitmapData.width&&s<=this.__bitmapData.height},__renderCairo:function(e){},__renderCairoMask:function(e){e.cairo.rectangle(0,0,this.get_width(),this.get_height())},__renderCanvas:function(e){if(this.__updateCacheBitmap(e,!1),null!=this.__bitmapData&&null!=this.__bitmapData.image&&(this.__imageVersion=this.__bitmapData.image.version),null==this.__cacheBitmap||this.__isCacheBitmapRender){if((null!=this.opaqueBackground||null!=this.__graphics)&&this.__renderable&&!((R=e.__getAlpha(this.__worldAlpha))<=0)){if(null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height()>0){e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this);r=e.context;e.setTransform(this.__renderTransform,r);var t=this.opaqueBackground;r.fillStyle="rgb("+(t>>>16&255)+","+(t>>>8&255)+","+(255&t)+")",r.fillRect(0,0,this.get_width(),this.get_height()),e.__popMaskObject(this)}if(null!=this.__graphics&&this.__renderable&&!((R=e.__getAlpha(this.__worldAlpha))<=0)){var i=this.__graphics;if(null!=i){openfl_display__$internal_CanvasGraphics.render(i,e);var l=i.__width,n=i.__height,s=i.__canvas;if(null!=s&&i.__visible&&l>=1&&n>=1){var a=i.__worldTransform,r=e.context,_=this.__scrollRect,o=this.__worldScale9Grid;if(null==_||_.width>0&&_.height>0){if(e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this),r.globalAlpha=R,null!=o&&0==a.b&&0==a.c){r.setTransform(1,0,0,1,a.tx,a.ty);var h=i.__bounds,u=i.__renderTransform.a,d=i.__renderTransform.d,c=a.a,p=a.d,f=Math.max(1,Math.round(o.x*u)),m=Math.round(o.y*d),x=Math.max(1,Math.round((h.get_right()-o.get_right())*u)),g=Math.round((h.get_bottom()-o.get_bottom())*d),F=Math.round(o.width*u),y=Math.round(o.height*d),S=Math.round(o.x*c),b=Math.round(o.y*p),U=Math.round((h.get_right()-o.get_right())*c),v=Math.round((h.get_bottom()-o.get_bottom())*p),T=Math.round(l*c)-S-U,N=Math.round(n*p)-b-v;if(e.applySmoothing(r,!1),0!=F&&0!=y)r.drawImage(s,0,0,f,m,0,0,S,b),r.drawImage(s,f,0,F,m,S,0,T,b),r.drawImage(s,f+F,0,x,m,S+T,0,U,b),r.drawImage(s,0,m,f,y,0,b,S,N),r.drawImage(s,f,m,F,y,S,b,T,N),r.drawImage(s,f+F,m,x,y,S+T,b,U,N),r.drawImage(s,0,m+y,f,g,0,b+N,S,v),r.drawImage(s,f,m+y,F,g,S,b+N,T,v),r.drawImage(s,f+F,m+y,x,g,S+T,b+N,U,v);else if(0==F&&0!=y){var D=S+T+U;r.drawImage(s,0,0,l,m,0,0,D,b),r.drawImage(s,0,m,l,y,0,b,D,N),r.drawImage(s,0,m+y,l,g,0,b+N,D,v)}else if(0==y&&0!=F){var Q=b+N+v;r.drawImage(s,0,0,f,n,0,0,S,Q),r.drawImage(s,f,0,F,n,S,0,T,Q),r.drawImage(s,f+F,0,x,n,S+T,0,U,Q)}}else{if(e.setTransform(a,r),e.__isDOM){var B=1/e.pixelRatio;r.scale(B,B)}r.drawImage(s,0,0,l,n)}e.__popMaskObject(this)}}}}}if(this.__renderable){var R=e.__getAlpha(this.__worldAlpha);if(R>0&&null!=this.__bitmapData&&this.__bitmapData.__isValid&&this.__bitmapData.readable){r=e.context;e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this,!1),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(this.__bitmapData.image),r.globalAlpha=R;_=this.__scrollRect;e.setTransform(this.__renderTransform,r),e.__allowSmoothing&&this.smoothing||(r.imageSmoothingEnabled=!1),null==_?r.drawImage(this.__bitmapData.image.get_src(),0,0,this.__bitmapData.image.width,this.__bitmapData.image.height):r.drawImage(this.__bitmapData.image.get_src(),_.x,_.y,_.width,_.height),e.__allowSmoothing&&this.smoothing||(r.imageSmoothingEnabled=!0),e.__popMaskObject(this,!1)}}}else{var w=this.__cacheBitmap;if(w.__renderable&&(R=e.__getAlpha(w.__worldAlpha))>0&&null!=w.__bitmapData&&w.__bitmapData.__isValid&&w.__bitmapData.readable){r=e.context;e.__setBlendMode(w.__worldBlendMode),e.__pushMaskObject(w,!1),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(w.__bitmapData.image),r.globalAlpha=R;_=w.__scrollRect;e.setTransform(w.__renderTransform,r),e.__allowSmoothing&&w.smoothing||(r.imageSmoothingEnabled=!1),null==_?r.drawImage(w.__bitmapData.image.get_src(),0,0,w.__bitmapData.image.width,w.__bitmapData.image.height):r.drawImage(w.__bitmapData.image.get_src(),_.x,_.y,_.width,_.height),e.__allowSmoothing&&w.smoothing||(r.imageSmoothingEnabled=!0),e.__popMaskObject(w,!1)}}this.__renderEvent(e)},__renderCanvasMask:function(e){e.context.rect(0,0,this.get_width(),this.get_height())},__renderDOM:function(e){if(this.__updateCacheBitmap(e,!1),null==this.__cacheBitmap||this.__isCacheBitmapRender){null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height();var t=this.__graphics;if(null!=this.stage&&this.__worldVisible&&this.__renderable&&null!=t){if(openfl_display__$internal_CanvasGraphics.render(t,e.__canvasRenderer),(t.__softwareDirty||this.__worldAlphaChanged||this.__canvas!=t.__canvas)&&(null!=t.__canvas?this.__canvas!=t.__canvas&&(null!=this.__canvas&&e.element.removeChild(this.__canvas),this.__canvas=t.__canvas,this.__context=t.__context,e.__initializeElement(this,this.__canvas)):openfl_display__$internal_DOMShape.clear(this,e)),null!=this.__canvas){e.__pushMaskObject(this);var i=this.__renderTransform;this.__renderTransform=t.__worldTransform,t.__transformDirty&&(t.__transformDirty=!1,this.__renderTransformChanged=!0),e.__updateClip(this),e.__applyStyle(this,!0,!0,!0),this.__renderTransform=i,e.__popMaskObject(this)}}else openfl_display__$internal_DOMShape.clear(this,e);null!=this.stage&&this.__worldVisible&&this.__renderable&&null!=this.__bitmapData&&this.__bitmapData.__isValid&&this.__bitmapData.readable?(e.__pushMaskObject(this),null!=this.__bitmapData.image.buffer.__srcImage?openfl_display__$internal_DOMBitmap.renderImage(this,e):openfl_display__$internal_DOMBitmap.renderCanvas(this,e),e.__popMaskObject(this)):openfl_display__$internal_DOMBitmap.clear(this,e)}else{this.__renderDOMClear(e),this.__cacheBitmap.stage=this.stage;var l=this.__cacheBitmap;null!=l.stage&&l.__worldVisible&&l.__renderable&&null!=l.__bitmapData&&l.__bitmapData.__isValid&&l.__bitmapData.readable?(e.__pushMaskObject(l),null!=l.__bitmapData.image.buffer.__srcImage?openfl_display__$internal_DOMBitmap.renderImage(l,e):openfl_display__$internal_DOMBitmap.renderCanvas(l,e),e.__popMaskObject(l)):openfl_display__$internal_DOMBitmap.clear(l,e)}this.__renderEvent(e)},__renderDOMClear:function(e){openfl_display__$internal_DOMBitmap.clear(this,e)},__renderGL:function(e){if(this.__updateCacheBitmap(e,!1),null!=this.__bitmapData&&null!=this.__bitmapData.image&&(this.__imageVersion=this.__bitmapData.image.version),null==this.__cacheBitmap||this.__isCacheBitmapRender){if((null!=this.opaqueBackground||null!=this.__graphics)&&this.__renderable&&!(this.__worldAlpha<=0)){if(null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height()>0){e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this);var t=e.__context3D,i=openfl_geom_Rectangle.__pool.get();i.setTo(0,0,this.get_width(),this.get_height()),e.__pushMaskRect(i,this.__renderTransform);var l=this.opaqueBackground;t.clear((l>>>16&255)/255,(l>>>8&255)/255,(255&l)/255,1,0,0,1),e.__popMaskRect(),e.__popMaskObject(this),openfl_geom_Rectangle.__pool.release(i)}null!=this.__graphics&&openfl_display__$internal_Context3DShape.render(this,e)}openfl_display__$internal_Context3DBitmap.render(this,e)}else openfl_display__$internal_Context3DBitmap.render(this.__cacheBitmap,e);this.__renderEvent(e)},__renderGLMask:function(e){openfl_display__$internal_Context3DBitmap.renderMask(this,e)},__updateCacheBitmap:function(e,t){return null!=this.__bitmapData&&(null!=this.__filters||"opengl"!=e.__type||null!=this.__cacheBitmap)&&openfl_display_DisplayObject.prototype.__updateCacheBitmap.call(this,e,null!=this.__bitmapData.image&&this.__bitmapData.image.version!=this.__imageVersion)},get_bitmapData:function(){return this.__bitmapData},set_bitmapData:function(e){this.__bitmapData=e,this.smoothing=!1,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty());this.__filters;return this.__imageVersion=-1,this.__bitmapData},set_height:function(e){return null!=this.__bitmapData?this.set_scaleY(e/this.__bitmapData.height):this.set_scaleY(0),e},set_width:function(e){return null!=this.__bitmapData?this.set_scaleX(e/this.__bitmapData.width):this.set_scaleX(0),e},__class__:openfl_display_Bitmap,__properties__:$extend(openfl_display_DisplayObject.prototype.__properties__,{set_bitmapData:"set_bitmapData",get_bitmapData:"get_bitmapData"})});var openfl_display_BlendMode={};openfl_display_BlendMode.fromString=function(e){switch(e){case"add":return 0;case"alpha":return 1;case"darken":return 2;case"difference":return 3;case"erase":return 4;case"hardlight":return 5;case"invert":return 6;case"layer":return 7;case"lighten":return 8;case"multiply":return 9;case"normal":return 10;case"overlay":return 11;case"screen":return 12;case"shader":return 13;case"subtract":return 14;default:return null}},openfl_display_BlendMode.toString=function(e){switch(e){case 0:return"add";case 1:return"alpha";case 2:return"darken";case 3:return"difference";case 4:return"erase";case 5:return"hardlight";case 6:return"invert";case 7:return"layer";case 8:return"lighten";case 9:return"multiply";case 10:return"normal";case 11:return"overlay";case 12:return"screen";case 13:return"shader";case 14:return"subtract";default:return null}};var openfl_display_DisplayObjectRenderer=function(){openfl_events_EventDispatcher.call(this),this.__allowSmoothing=!0,this.__tempColorTransform=new openfl_geom_ColorTransform,this.__worldAlpha=1};$hxClasses["openfl.display.DisplayObjectRenderer"]=openfl_display_DisplayObjectRenderer,openfl_display_DisplayObjectRenderer.__name__="openfl.display.DisplayObjectRenderer",openfl_display_DisplayObjectRenderer.__super__=openfl_events_EventDispatcher,openfl_display_DisplayObjectRenderer.prototype=$extend(openfl_events_EventDispatcher.prototype,{__allowSmoothing:null,__blendMode:null,__cleared:null,__context:null,__overrideBlendMode:null,__roundPixels:null,__stage:null,__tempColorTransform:null,__transparent:null,__type:null,__worldAlpha:null,__worldColorTransform:null,__worldTransform:null,__clear:function(){},__getAlpha:function(e){return e*this.__worldAlpha},__getColorTransform:function(e){return null!=this.__worldColorTransform?(this.__tempColorTransform.__copyFrom(this.__worldColorTransform),this.__tempColorTransform.__combine(e),this.__tempColorTransform):e},__popMask:function(){},__popMaskObject:function(e,t){null==t&&(t=!0)},__popMaskRect:function(){},__pushMask:function(e){},__pushMaskObject:function(e,t){null==t&&(t=!0)},__pushMaskRect:function(e,t){},__render:function(e){},__resize:function(e,t){},__setBlendMode:function(e){},__class__:openfl_display_DisplayObjectRenderer});var openfl_display_CairoRenderer=function(e){openfl_display_DisplayObjectRenderer.call(this)};$hxClasses["openfl.display.CairoRenderer"]=openfl_display_CairoRenderer,openfl_display_CairoRenderer.__name__="openfl.display.CairoRenderer",openfl_display_CairoRenderer.__super__=openfl_display_DisplayObjectRenderer,openfl_display_CairoRenderer.prototype=$extend(openfl_display_DisplayObjectRenderer.prototype,{cairo:null,__matrix:null,__matrix3:null,applyMatrix:function(e,t){null==t&&(t=this.cairo),this.__matrix.copyFrom(e),this.cairo==t&&null!=this.__worldTransform&&this.__matrix.concat(this.__worldTransform),this.__matrix3.a=this.__matrix.a,this.__matrix3.b=this.__matrix.b,this.__matrix3.c=this.__matrix.c,this.__matrix3.d=this.__matrix.d,this.__roundPixels?(this.__matrix3.tx=Math.round(this.__matrix.tx),this.__matrix3.ty=Math.round(this.__matrix.ty)):(this.__matrix3.tx=this.__matrix.tx,this.__matrix3.ty=this.__matrix.ty),t.set_matrix(this.__matrix3)},__clear:function(){if(null!=this.cairo&&(this.cairo.identityMatrix(),null!=this.__stage&&this.__stage.__clearBeforeRender)){var e=this.__blendMode;this.__setBlendMode(10),this.cairo.setSourceRGB(this.__stage.__colorSplit[0],this.__stage.__colorSplit[1],this.__stage.__colorSplit[2]),this.cairo.paint(),this.__setBlendMode(e)}},__popMask:function(){this.cairo.restore()},__popMaskObject:function(e,t){null==t&&(t=!0),e.__isCacheBitmapRender||null==e.__mask||this.__popMask(),t&&null!=e.__scrollRect&&this.__popMaskRect()},__popMaskRect:function(){this.cairo.restore()},__pushMask:function(e){this.cairo.save(),this.applyMatrix(e.__renderTransform,this.cairo),this.cairo.newPath(),e.__renderCairoMask(this),this.cairo.clip()},__pushMaskObject:function(e,t){null==t&&(t=!0),t&&null!=e.__scrollRect&&this.__pushMaskRect(e.__scrollRect,e.__renderTransform),e.__isCacheBitmapRender||null==e.__mask||this.__pushMask(e.__mask)},__pushMaskRect:function(e,t){this.cairo.save(),this.applyMatrix(t,this.cairo),this.cairo.newPath(),this.cairo.rectangle(e.x,e.y,e.width,e.height),this.cairo.clip()},__render:function(e){null!=this.cairo&&e.__renderCairo(this)},__setBlendMode:function(e){null!=this.__overrideBlendMode&&(e=this.__overrideBlendMode),this.__blendMode!=e&&(this.__blendMode=e,this.__setBlendModeCairo(this.cairo,e))},__setBlendModeCairo:function(e,t){switch(t){case 0:e.setOperator(12);break;case 2:e.setOperator(17);break;case 3:e.setOperator(23);break;case 5:e.setOperator(21);break;case 7:e.setOperator(2);break;case 8:e.setOperator(18);break;case 9:e.setOperator(14);break;case 11:e.setOperator(16);break;case 12:e.setOperator(15);break;default:e.setOperator(2)}},__class__:openfl_display_CairoRenderer});var openfl_display_CanvasRenderer=function(e){this.pixelRatio=1,openfl_display_DisplayObjectRenderer.call(this),this.context=e,this.__tempMatrix=new openfl_geom_Matrix,this.__type="canvas"};$hxClasses["openfl.display.CanvasRenderer"]=openfl_display_CanvasRenderer,openfl_display_CanvasRenderer.__name__="openfl.display.CanvasRenderer",openfl_display_CanvasRenderer.__super__=openfl_display_DisplayObjectRenderer,openfl_display_CanvasRenderer.prototype=$extend(openfl_display_DisplayObjectRenderer.prototype,{context:null,pixelRatio:null,__isDOM:null,__tempMatrix:null,applySmoothing:function(e,t){e.imageSmoothingEnabled=t},setTransform:function(e,t){null==t?t=this.context:this.context==t&&null!=this.__worldTransform&&(this.__tempMatrix.copyFrom(e),this.__tempMatrix.concat(this.__worldTransform),e=this.__tempMatrix),this.__roundPixels?t.setTransform(e.a,e.b,e.c,e.d,0|e.tx,0|e.ty):t.setTransform(e.a,e.b,e.c,e.d,e.tx,e.ty)},__clear:function(){if(null!=this.__stage){var e=this.__blendMode;this.__blendMode=null,this.__setBlendMode(10),this.context.setTransform(1,0,0,1,0,0),this.context.globalAlpha=1,!this.__stage.__transparent&&this.__stage.__clearBeforeRender?(this.context.fillStyle=this.__stage.__colorString,this.context.fillRect(0,0,this.__stage.stageWidth*this.__stage.window.__scale,this.__stage.stageHeight*this.__stage.window.__scale)):this.__stage.__transparent&&this.__stage.__clearBeforeRender&&this.context.clearRect(0,0,this.__stage.stageWidth*this.__stage.window.__scale,this.__stage.stageHeight*this.__stage.window.__scale),this.__setBlendMode(e)}},__popMask:function(){this.context.restore()},__popMaskObject:function(e,t){null==t&&(t=!0),e.__isCacheBitmapRender||null==e.__mask||this.__popMask(),t&&null!=e.__scrollRect&&this.__popMaskRect()},__popMaskRect:function(){this.context.restore()},__pushMask:function(e){this.context.save(),this.setTransform(e.__renderTransform,this.context),this.context.beginPath(),e.__renderCanvasMask(this),this.context.closePath(),this.context.clip()},__pushMaskObject:function(e,t){null==t&&(t=!0),t&&null!=e.__scrollRect&&this.__pushMaskRect(e.__scrollRect,e.__renderTransform),e.__isCacheBitmapRender||null==e.__mask||this.__pushMask(e.__mask)},__pushMaskRect:function(e,t){this.context.save(),this.setTransform(t,this.context),this.context.beginPath(),this.context.rect(e.x,e.y,e.width,e.height),this.context.clip()},__render:function(e){e.__renderCanvas(this)},__setBlendMode:function(e){null!=this.__overrideBlendMode&&(e=this.__overrideBlendMode),this.__blendMode!=e&&(this.__blendMode=e,this.__setBlendModeContext(this.context,e))},__setBlendModeContext:function(e,t){switch(t){case 0:e.globalCompositeOperation="lighter";break;case 2:e.globalCompositeOperation="darken";break;case 3:e.globalCompositeOperation="difference";break;case 5:e.globalCompositeOperation="hard-light";break;case 8:e.globalCompositeOperation="lighten";break;case 9:e.globalCompositeOperation="multiply";break;case 11:e.globalCompositeOperation="overlay";break;case 12:e.globalCompositeOperation="screen";break;default:e.globalCompositeOperation="source-over"}},__class__:openfl_display_CanvasRenderer});var openfl_display_CapsStyle={};openfl_display_CapsStyle.fromInt=function(e){return e},openfl_display_CapsStyle.fromString=function(e){switch(e){case"none":return 0;case"round":return 1;case"square":return 2;default:return null}},openfl_display_CapsStyle.toInt=function(e){return e},openfl_display_CapsStyle.toString=function(e){switch(e){case 0:return"none";case 1:return"round";case 2:return"square";default:return null}};var openfl_display_DOMRenderer=function(e){this.pixelRatio=1,openfl_display_DisplayObjectRenderer.call(this),this.element=e,openfl_display_DisplayObject.__supportDOM=!0;var t=function(){var e=window.getComputedStyle(document.documentElement,""),t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return{dom:"WebKit|Moz|MS|O".match(new RegExp("("+t+")","i"))[1],lowercase:t,css:"-"+t+"-",js:t[0].toUpperCase()+t.substr(1)}}();this.__vendorPrefix=t.lowercase,this.__transformProperty="webkit"==t.lowercase?"-webkit-transform":"transform",this.__transformOriginProperty="webkit"==t.lowercase?"-webkit-transform-origin":"transform-origin",this.__clipRects=[],this.__numClipRects=0,this.__z=0,this.__type="dom",this.__canvasRenderer=new openfl_display_CanvasRenderer(null),this.__canvasRenderer.__isDOM=!0};$hxClasses["openfl.display.DOMRenderer"]=openfl_display_DOMRenderer,openfl_display_DOMRenderer.__name__="openfl.display.DOMRenderer",openfl_display_DOMRenderer.__super__=openfl_display_DisplayObjectRenderer,openfl_display_DOMRenderer.prototype=$extend(openfl_display_DisplayObjectRenderer.prototype,{element:null,pixelRatio:null,__canvasRenderer:null,__clipRects:null,__currentClipRect:null,__numClipRects:null,__transformOriginProperty:null,__transformProperty:null,__vendorPrefix:null,__z:null,applyStyle:function(e,t){null!=e&&null!=t&&(null!=e.__style&&t.parentElement==this.element||this.__initializeElement(e,t),e.__style=t.style,this.__updateClip(e),this.__applyStyle(e,!0,!0,!0))},clearStyle:function(e){null!=e&&e.parentElement==this.element&&this.element.removeChild(e)},__applyStyle:function(e,t,i,l){var n=e.__style;if(t&&e.__renderTransformChanged){var s=e.__renderTransform,a=this.__roundPixels;null==a&&(a=!1),n.setProperty(this.__transformProperty,a?"matrix3d("+s.a+", "+s.b+", 0, 0, "+s.c+", "+s.d+", 0, 0, 0, 0, 1, 0, "+(0|s.tx)+", "+(0|s.ty)+", 0, 1)":"matrix3d("+s.a+", "+s.b+", 0, 0, "+s.c+", "+s.d+", 0, 0, 0, 0, 1, 0, "+s.tx+", "+s.ty+", 0, 1)",null)}if(e.__worldZ!=++this.__z&&(e.__worldZ=this.__z,n.setProperty("z-index",null==e.__worldZ?"null":""+e.__worldZ,null)),i&&e.__worldAlphaChanged&&(e.__worldAlpha<1?n.setProperty("opacity",null==e.__worldAlpha?"null":""+e.__worldAlpha,null):n.removeProperty("opacity")),l&&e.__worldClipChanged)if(null==e.__worldClip)n.removeProperty("clip");else{var r=e.__worldClip;n.setProperty("clip","rect("+r.y+"px, "+r.get_right()+"px, "+r.get_bottom()+"px, "+r.x+"px)",null)}},__initializeElement:function(e,t){var i=e.__style=t.style;i.setProperty("position","absolute",null),i.setProperty("top","0",null),i.setProperty("left","0",null),i.setProperty(this.__transformOriginProperty,"0 0 0",null),this.element.appendChild(t),e.__worldAlphaChanged=!0,e.__renderTransformChanged=!0,e.__worldVisibleChanged=!0,e.__worldClipChanged=!0,e.__worldClip=null,e.__worldZ=-1},__popMask:function(){this.__popMaskRect()},__popMaskObject:function(e,t){null==t&&(t=!0),null!=e.__mask&&this.__popMask(),t&&null!=e.__scrollRect&&this.__popMaskRect()},__popMaskRect:function(){this.__numClipRects>0&&(--this.__numClipRects>0?this.__currentClipRect=this.__clipRects[this.__numClipRects-1]:this.__currentClipRect=null)},__pushMask:function(e){this.__pushMaskRect(e.getBounds(e),e.__renderTransform)},__pushMaskObject:function(e,t){null==t&&(t=!0),t&&null!=e.__scrollRect&&this.__pushMaskRect(e.__scrollRect,e.__renderTransform),null!=e.__mask&&this.__pushMask(e.__mask)},__pushMaskRect:function(e,t){this.__numClipRects==this.__clipRects.length&&(this.__clipRects[this.__numClipRects]=new openfl_geom_Rectangle);var i=this.__clipRects[this.__numClipRects];if(e.__transform(i,t),this.__numClipRects>0){var l=this.__clipRects[this.__numClipRects-1];i.__contract(l.x,l.y,l.width,l.height)}i.height<0&&(i.height=0),i.width<0&&(i.width=0),this.__currentClipRect=i,this.__numClipRects++},__render:function(e){this.__stage.__transparent?this.element.style.background="none":this.element.style.background=this.__stage.__colorString,this.__z=1,e.__renderDOM(this)},__setBlendMode:function(e){null!=this.__overrideBlendMode&&(e=this.__overrideBlendMode),this.__blendMode!=e&&(this.__blendMode=e)},__updateClip:function(e){if(null==this.__currentClipRect)e.__worldClipChanged=null!=e.__worldClip,e.__worldClip=null;else{null==e.__worldClip&&(e.__worldClip=new openfl_geom_Rectangle);var t=openfl_geom_Rectangle.__pool.get(),i=openfl_geom_Matrix.__pool.get();i.copyFrom(e.__renderTransform),i.invert(),this.__currentClipRect.__transform(t,i),t.equals(e.__worldClip)?e.__worldClipChanged=!1:(e.__worldClip.copyFrom(t),e.__worldClipChanged=!0),openfl_geom_Rectangle.__pool.release(t),openfl_geom_Matrix.__pool.release(i)}},__class__:openfl_display_DOMRenderer});var openfl_display_DisplayObjectShader=function(e){null==this.__glFragmentSource&&(this.__glFragmentSource="varying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform sampler2D openfl_Texture;\n\t\tuniform vec2 openfl_TextureSize;\n\n\t\tvoid main(void) {\n\n\t\t\tvec4 color = texture2D (openfl_Texture, openfl_TextureCoordv);\n\n\t\tif (color.a == 0.0) {\n\n\t\t\tgl_FragColor = vec4 (0.0, 0.0, 0.0, 0.0);\n\n\t\t} else if (openfl_HasColorTransform) {\n\n\t\t\tcolor = vec4 (color.rgb / color.a, color.a);\n\n\t\t\tmat4 colorMultiplier = mat4 (0);\n\t\t\tcolorMultiplier[0][0] = openfl_ColorMultiplierv.x;\n\t\t\tcolorMultiplier[1][1] = openfl_ColorMultiplierv.y;\n\t\t\tcolorMultiplier[2][2] = openfl_ColorMultiplierv.z;\n\t\t\tcolorMultiplier[3][3] = 1.0; // openfl_ColorMultiplierv.w;\n\n\t\t\tcolor = clamp (openfl_ColorOffsetv + (color * colorMultiplier), 0.0, 1.0);\n\n\t\t\tif (color.a > 0.0) {\n\n\t\t\t\tgl_FragColor = vec4 (color.rgb * color.a * openfl_Alphav, color.a * openfl_Alphav);\n\n\t\t\t} else {\n\n\t\t\t\tgl_FragColor = vec4 (0.0, 0.0, 0.0, 0.0);\n\n\t\t\t}\n\n\t\t} else {\n\n\t\t\tgl_FragColor = color * openfl_Alphav;\n\n\t\t}\n\n\t\t}"),null==this.__glVertexSource&&(this.__glVertexSource="attribute float openfl_Alpha;\n\t\tattribute vec4 openfl_ColorMultiplier;\n\t\tattribute vec4 openfl_ColorOffset;\n\t\tattribute vec4 openfl_Position;\n\t\tattribute vec2 openfl_TextureCoord;\n\n\t\tvarying float openfl_Alphav;\n\t\tvarying vec4 openfl_ColorMultiplierv;\n\t\tvarying vec4 openfl_ColorOffsetv;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform mat4 openfl_Matrix;\n\t\tuniform bool openfl_HasColorTransform;\n\t\tuniform vec2 openfl_TextureSize;\n\n\t\tvoid main(void) {\n\n\t\t\topenfl_Alphav = openfl_Alpha;\n\t\topenfl_TextureCoordv = openfl_TextureCoord;\n\n\t\tif (openfl_HasColorTransform) {\n\n\t\t\topenfl_ColorMultiplierv = openfl_ColorMultiplier;\n\t\t\topenfl_ColorOffsetv = openfl_ColorOffset / 255.0;\n\n\t\t}\n\n\t\tgl_Position = openfl_Matrix * openfl_Position;\n\n\t\t}"),openfl_display_Shader.call(this,e),this.__isGenerated=!0,this.__initGL()};$hxClasses["openfl.display.DisplayObjectShader"]=openfl_display_DisplayObjectShader,openfl_display_DisplayObjectShader.__name__="openfl.display.DisplayObjectShader",openfl_display_DisplayObjectShader.__super__=openfl_display_Shader,openfl_display_DisplayObjectShader.prototype=$extend(openfl_display_Shader.prototype,{openfl_Alpha:null,openfl_ColorMultiplier:null,openfl_ColorOffset:null,openfl_Position:null,openfl_TextureCoord:null,openfl_Matrix:null,openfl_HasColorTransform:null,openfl_TextureSize:null,openfl_Texture:null,__class__:openfl_display_DisplayObjectShader});var openfl_text_TextField=function(){this.__forceCachedBitmapUpdate=!1,this.__renderedOnCanvasWhileOnDOM=!1,openfl_display_InteractiveObject.call(this),this.__caretIndex=-1,this.__displayAsPassword=!1,this.__graphics=new openfl_display_Graphics(this),this.__textEngine=new openfl_text__$internal_TextEngine(this),this.__layoutDirty=!0,this.__offsetX=0,this.__offsetY=0,this.__mouseWheelEnabled=!0,this.__text="",this.doubleClickEnabled=!0,null==openfl_text_TextField.__defaultTextFormat&&(openfl_text_TextField.__defaultTextFormat=new openfl_text_TextFormat("Times New Roman",12,0,!1,!1,!1,"","",3,0,0,0,0),openfl_text_TextField.__defaultTextFormat.blockIndent=0,openfl_text_TextField.__defaultTextFormat.bullet=!1,openfl_text_TextField.__defaultTextFormat.letterSpacing=0,openfl_text_TextField.__defaultTextFormat.kerning=!1),this.__textFormat=openfl_text_TextField.__defaultTextFormat.clone(),this.__textEngine.textFormatRanges.push(new openfl_text__$internal_TextFormatRange(this.__textFormat,0,0)),this.addEventListener("mouseDown",$bind(this,this.this_onMouseDown)),this.addEventListener("focusIn",$bind(this,this.this_onFocusIn)),this.addEventListener("focusOut",$bind(this,this.this_onFocusOut)),this.addEventListener("keyDown",$bind(this,this.this_onKeyDown)),this.addEventListener("mouseWheel",$bind(this,this.this_onMouseWheel)),this.addEventListener("doubleClick",$bind(this,this.this_onDoubleClick))};$hxClasses["openfl.text.TextField"]=openfl_text_TextField,openfl_text_TextField.__name__="openfl.text.TextField",openfl_text_TextField.__defaultTextFormat=null,openfl_text_TextField.__super__=openfl_display_InteractiveObject,openfl_text_TextField.prototype=$extend(openfl_display_InteractiveObject.prototype,{__bounds:null,__caretIndex:null,__cursorTimer:null,__dirty:null,__displayAsPassword:null,__domRender:null,__inputEnabled:null,__isHTML:null,__layoutDirty:null,__mouseWheelEnabled:null,__offsetX:null,__offsetY:null,__selectionIndex:null,__showCursor:null,__text:null,__htmlText:null,__textEngine:null,__textFormat:null,__div:null,__renderedOnCanvasWhileOnDOM:null,__rawHtmlText:null,__forceCachedBitmapUpdate:null,appendText:function(e){null!=e&&""!=e&&(this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__updateText(this.__text+e),this.__textEngine.textFormatRanges.get(this.__textEngine.textFormatRanges.get_length()-1).end=this.__text.length,this.__updateScrollV(),this.__updateScrollH())},getCharBoundaries:function(e){if(e<0||e>this.__text.length-1)return null;var t=new openfl_geom_Rectangle;return this.__getCharBoundaries(e,t)?t:null},getCharIndexAtPoint:function(e,t){if(e<=2||e>this.get_width()+4||t<=0||t>this.get_height()+4)return-1;this.__updateLayout(),e+=this.get_scrollH();for(var i=0,l=this.get_scrollV()-1;i<l;){r=i++;t+=this.__textEngine.lineHeights.get(r)}for(var n=this.__textEngine.layoutGroups.iterator();n.hasNext();){var s=n.next();if(t>=s.offsetY&&t<=s.offsetY+s.height&&e>=s.offsetX&&e<=s.offsetX+s.width){for(var a=0,i=0,l=s.positions.length;i<l;){var r=i++;if(a+=s.positions[r],e<=s.offsetX+a)return s.startIndex+r}return s.endIndex}}return-1},getFirstCharInParagraph:function(e){if(e<0||e>this.get_text().length)return-1;for(var t=this.__textEngine.getLineBreakIndex(),i=0;t>-1;){if(t<e)i=t+1;else if(t>=e)break;t=this.__textEngine.getLineBreakIndex(t+1)}return i},getLineIndexAtPoint:function(e,t){if(this.__updateLayout(),e<=2||e>this.get_width()+4||t<=0||t>this.get_height()+4)return-1;for(var i=0,l=this.get_scrollV()-1;i<l;){var n=i++;t+=this.__textEngine.lineHeights.get(n)}for(var s=this.__textEngine.layoutGroups.iterator();s.hasNext();){var a=s.next();if(t>=a.offsetY&&t<=a.offsetY+a.height)return a.lineIndex}return-1},getLineIndexOfChar:function(e){if(e<0||e>this.__text.length)return-1;this.__updateLayout();for(var t=this.__textEngine.layoutGroups.iterator();t.hasNext();){var i=t.next();if(i.startIndex<=e&&i.endIndex>=e)return i.lineIndex}return-1},getLineLength:function(e){if(this.__updateLayout(),e<0||e>this.__textEngine.numLines-1)return 0;for(var t=-1,i=-1,l=this.__textEngine.layoutGroups.iterator();l.hasNext();){var n=l.next();if(n.lineIndex==e)-1==t&&(t=n.startIndex);else if(n.lineIndex==e+1){i=n.startIndex;break}}return-1==i&&(i=this.__text.length),i-t},getLineMetrics:function(e){this.__updateLayout();var t,i=this.__textEngine.lineAscents.get(e),l=this.__textEngine.lineDescents.get(e),n=this.__textEngine.lineLeadings.get(e),s=this.__textEngine.lineHeights.get(e),a=this.__textEngine.lineWidths.get(e);switch(this.__textFormat.align){case 0:t=(this.__textEngine.width-a)/2;break;case 1:case 4:t=this.__textEngine.width-a-2;break;case 2:case 3:case 5:t=2}return new openfl_text_TextLineMetrics(t,a,s,i,l,n)},getLineOffset:function(e){if(this.__updateLayout(),e<0||e>this.__textEngine.numLines-1)return-1;for(var t=this.__textEngine.layoutGroups.iterator();t.hasNext();){var i=t.next();if(i.lineIndex==e)return i.startIndex}return 0},getLineText:function(e){if(this.__updateLayout(),e<0||e>this.__textEngine.numLines-1)return null;for(var t=-1,i=-1,l=this.__textEngine.layoutGroups.iterator();l.hasNext();){var n=l.next();if(n.lineIndex==e)-1==t&&(t=n.startIndex);else if(n.lineIndex==e+1){i=n.startIndex;break}}return-1==i&&(i=this.__text.length),this.__textEngine.text.substring(t,i)},getParagraphLength:function(e){if(e<0||e>this.get_text().length)return-1;var t=this.getFirstCharInParagraph(e);if(e>=this.get_text().length)return this.get_text().length-t+1;var i=this.__textEngine.getLineBreakIndex(e)+1;return 0==i&&(i=this.__text.length),i-t},getTextFormat:function(e,t){null==t&&(t=-1),null==e&&(e=-1);var i=null;if(e>=this.get_text().length||e<-1||t>this.get_text().length||t<-1)throw haxe_Exception.thrown(new openfl_errors_RangeError("The supplied index is out of bounds"));if(-1==e&&(e=0),-1==t&&(t=this.get_text().length),e>=t)return new openfl_text_TextFormat;for(var l=this.__textEngine.textFormatRanges.iterator();l.hasNext();){var n=l.next();(n.start<=e&&n.end>e||n.start<t&&n.end>=t)&&(null==i?i=n.format.clone():(n.format.font!=i.font&&(i.font=null),n.format.size!=i.size&&(i.size=null),n.format.color!=i.color&&(i.color=null),n.format.bold!=i.bold&&(i.bold=null),n.format.italic!=i.italic&&(i.italic=null),n.format.underline!=i.underline&&(i.underline=null),n.format.url!=i.url&&(i.url=null),n.format.target!=i.target&&(i.target=null),n.format.align!=i.align&&(i.align=null),n.format.leftMargin!=i.leftMargin&&(i.leftMargin=null),n.format.rightMargin!=i.rightMargin&&(i.rightMargin=null),n.format.indent!=i.indent&&(i.indent=null),n.format.leading!=i.leading&&(i.leading=null),n.format.blockIndent!=i.blockIndent&&(i.blockIndent=null),n.format.bullet!=i.bullet&&(i.bullet=null),n.format.kerning!=i.kerning&&(i.kerning=null),n.format.letterSpacing!=i.letterSpacing&&(i.letterSpacing=null),n.format.tabStops!=i.tabStops&&(i.tabStops=null)))}return null==i&&(i=new openfl_text_TextFormat),i},replaceSelectedText:function(e){this.__replaceSelectedText(e,!1)},replaceText:function(e,t,i){this.__replaceText(e,t,i,!1)},setSelection:function(e,t){this.__selectionIndex=e,this.__caretIndex=t,this.__updateScrollV(),this.__stopCursorTimer(),this.__startCursorTimer()},setTextFormat:function(e,t,i){null==i&&(i=0),null==t&&(t=0);var l,n=this.get_text().length;if(t<0&&(t=0),i<0&&(i=0),0==i&&(i=0==t?n:t+1),!(i<t)){if(0==t&&i>=n){this.__textFormat.__merge(e);for(var s=0,a=this.__textEngine.textFormatRanges.get_length();s<a;){var r=s++;(l=this.__textEngine.textFormatRanges.get(r)).format.__merge(e)}}else for(var _,o=0;o<this.__textEngine.textFormatRanges.get_length();){if((l=this.__textEngine.textFormatRanges.get(o)).start==t&&l.end==i){l.format.__merge(e);break}l.start>=t&&l.end<=i?l.format.__merge(e):l.start>=t&&l.start<i&&l.end>t?((_=new openfl_text__$internal_TextFormatRange(l.format.clone(),l.start,i)).format.__merge(e),this.__textEngine.textFormatRanges.insertAt(o,_),l.start=i,++o):l.start<t&&l.end>t&&l.end>=i&&((_=new openfl_text__$internal_TextFormatRange(l.format.clone(),t,l.end)).format.__merge(e),this.__textEngine.textFormatRanges.insertAt(o+1,_),l.end=t,++o),++o}this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())}},__allowMouseFocus:function(){return!(1!=this.__textEngine.type&&!this.get_tabEnabled())||this.get_selectable()},__caretBeginningOfLine:function(){this.__selectionIndex==this.__caretIndex||this.__caretIndex<this.__selectionIndex?this.__caretIndex=this.getLineOffset(this.getLineIndexOfChar(this.__caretIndex)):this.__selectionIndex=this.getLineOffset(this.getLineIndexOfChar(this.__selectionIndex))},__caretEndOfLine:function(){var e;(e=this.__selectionIndex==this.__caretIndex?this.getLineIndexOfChar(this.__caretIndex):this.getLineIndexOfChar(0|Math.max(this.__caretIndex,this.__selectionIndex)))<this.__textEngine.numLines-1?this.__caretIndex=this.getLineOffset(e+1)-1:this.__caretIndex=this.__text.length},__caretNextCharacter:function(){this.__caretIndex<this.__text.length&&this.__caretIndex++},__caretNextLine:function(e,t){null==e&&(e=this.getLineIndexOfChar(this.__caretIndex)),e<this.__textEngine.numLines-1?(null==t&&(t=this.__caretIndex),this.__caretIndex=this.__getCharIndexOnDifferentLine(t,e+1)):this.__caretIndex=this.__text.length},__caretPreviousCharacter:function(){this.__caretIndex>0&&this.__caretIndex--},__caretPreviousLine:function(e,t){null==e&&(e=this.getLineIndexOfChar(this.__caretIndex)),e>0?(null==t&&(t=this.__caretIndex),this.__caretIndex=this.__getCharIndexOnDifferentLine(t,e-1)):this.__caretIndex=0},__disableInput:function(){this.__inputEnabled&&null!=this.stage&&(this.stage.window.__backend.setTextInputEnabled(!1),this.stage.window.onTextInput.remove($bind(this,this.window_onTextInput)),this.stage.window.onKeyDown.remove($bind(this,this.window_onKeyDown)),this.__inputEnabled=!1,this.__stopCursorTimer())},__dispatch:function(e){if(2==e.eventPhase&&"mouseUp"==e.type){var t=this.__getGroup(this.get_mouseX(),this.get_mouseY(),!0);if(null!=t){var i=t.format.url;null!=i&&""!=i&&(StringTools.startsWith(i,"event:")?this.dispatchEvent(new openfl_events_TextEvent("link",!1,!1,HxOverrides.substr(i,6,null))):openfl_Lib.getURL(new openfl_net_URLRequest(i)))}}return openfl_display_InteractiveObject.prototype.__dispatch.call(this,e)},__enableInput:function(){null!=this.stage&&(this.stage.window.__backend.setTextInputEnabled(!0),this.__inputEnabled||(this.stage.window.__backend.setTextInputEnabled(!0),this.stage.window.onTextInput.has($bind(this,this.window_onTextInput))||(this.stage.window.onTextInput.add($bind(this,this.window_onTextInput)),this.stage.window.onKeyDown.add($bind(this,this.window_onKeyDown))),this.__inputEnabled=!0,this.__startCursorTimer()))},__getAdvance:function(e){return e},__getBounds:function(e,t){this.__updateLayout();var i=openfl_geom_Rectangle.__pool.get();i.copyFrom(this.__textEngine.bounds),t.tx+=this.__offsetX,t.ty+=this.__offsetY,i.__transform(i,t),e.__expand(i.x,i.y,i.width,i.height),openfl_geom_Rectangle.__pool.release(i)},__getCharBoundaries:function(e,t){if(e<0||e>this.__text.length-1)return!1;this.__updateLayout();for(var i=this.__textEngine.layoutGroups.iterator();i.hasNext();){var l=i.next();if(e>=l.startIndex&&e<l.endIndex)try{for(var n=l.offsetX,s=0,a=e-l.startIndex;s<a;){var r=s++;n+=l.positions[r]}var _=l.positions[e-l.startIndex];return t.setTo(n,l.offsetY,_,l.ascent+l.descent),!0}catch(e){haxe_NativeStackTrace.lastError=e}}return!1},__getCharIndexOnDifferentLine:function(e,t){if(e<0||e>this.__text.length)return-1;if(t<0||t>this.__textEngine.numLines-1)return-1;for(var i=null,l=null,n=this.__textEngine.layoutGroups.iterator();n.hasNext();){var s=n.next();if(e>=s.startIndex&&e<=s.endIndex){i=s.offsetX;for(var a=0,r=e-s.startIndex;a<r;){var _=a++;i+=s.positions[_]}if(null!=l)return this.__getPosition(i,l)}if(s.lineIndex==t){l=s.offsetY+s.height/2;for(var o=0,h=this.get_scrollV()-1;o<h;){var u=o++;l-=this.__textEngine.lineHeights.get(u)}if(null!=i)return this.__getPosition(i,l)}}return-1},__getCursor:function(){var e=this.__getGroup(this.get_mouseX(),this.get_mouseY(),!0);return null!=e&&""!=e.format.url?"button":this.__textEngine.selectable?"ibeam":null},__getGroup:function(e,t,i){null==i&&(i=!1),this.__updateLayout(),e+=this.get_scrollH();for(var l=0,n=this.get_scrollV()-1;l<n;){_=l++;t+=this.__textEngine.lineHeights.get(_)}!i&&t>this.__textEngine.textHeight&&(t=this.__textEngine.textHeight);for(var s,a,r=!0,l=0,n=this.__textEngine.layoutGroups.get_length();l<n;){var _=l++;if(s=this.__textEngine.layoutGroups.get(_),a=_<this.__textEngine.layoutGroups.get_length()-1?this.__textEngine.layoutGroups.get(_+1):null,r&&(t<s.offsetY&&(t=s.offsetY),e<s.offsetX&&(e=s.offsetX),r=!1),(t>=s.offsetY&&t<=s.offsetY+s.height||!i&&null==a)&&(e>=s.offsetX&&e<=s.offsetX+s.width||!i&&(null==a||a.lineIndex!=s.lineIndex)))return s}return null},__getPosition:function(e,t){var i=this.__getGroup(e,t);if(null==i)return this.__text.length;for(var l=0,n=0,s=i.positions.length;n<s;){var a=n++;if(l+=i.positions[a],e<=i.offsetX+l)return e<=i.offsetX+(l-i.positions[a])+i.positions[a]/2?i.startIndex+a:i.startIndex+a<i.endIndex?i.startIndex+a+1:i.endIndex}return i.endIndex},__hitTest:function(e,t,i,l,n,s){if(!s.get_visible()||this.__isMask||n&&!this.mouseEnabled)return!1;if(null!=this.get_mask()&&!this.get_mask().__hitTestMask(e,t))return!1;this.__getRenderTransform(),this.__updateLayout();var a=this.__renderTransform,r=a.a*a.d-a.b*a.c,_=0==r?-a.tx:1/r*(a.c*(a.ty-t)+a.d*(e-a.tx)),o=0==(r=(a=this.__renderTransform).a*a.d-a.b*a.c)?-a.ty:1/r*(a.a*(t-a.ty)+a.b*(a.tx-e));return!!this.__textEngine.bounds.contains(_,o)&&(null!=l&&l.push(s),!0)},__hitTestMask:function(e,t){this.__getRenderTransform(),this.__updateLayout();var i=this.__renderTransform,l=i.a*i.d-i.b*i.c,n=0==l?-i.tx:1/l*(i.c*(i.ty-t)+i.d*(e-i.tx)),s=0==(l=(i=this.__renderTransform).a*i.d-i.b*i.c)?-i.ty:1/l*(i.a*(t-i.ty)+i.b*(i.tx-e));return!!this.__textEngine.bounds.contains(n,s)},__renderCairo:function(e){},__renderCanvas:function(e){if(e.__isDOM&&!this.__renderedOnCanvasWhileOnDOM&&(this.__renderedOnCanvasWhileOnDOM=!0,1==this.get_type()&&this.replaceText(0,this.__text.length,this.__text),this.__isHTML&&this.__updateText(openfl__$internal_formats_html_HTMLParser.parse(this.__text,this.__textFormat,this.__textEngine.textFormatRanges)),this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),null==this.get_mask()||this.get_mask().get_width()>0&&this.get_mask().get_height()>0)if(this.__updateCacheBitmap(e,this.__dirty),null==this.__cacheBitmap||this.__isCacheBitmapRender){var t=this.__worldTransform,i=this.__textEngine,l=i.background||i.border?i.bounds:i.textBounds,n=this.__graphics;if(this.__dirty&&(this.__updateLayout(),null==n.__bounds&&(n.__bounds=new openfl_geom_Rectangle),n.__bounds.copyFrom(l)),n.__update(e.__worldTransform),this.__dirty||n.__softwareDirty){var s=n.__width,a=n.__height;if((null!=i.text&&""!=i.text||i.background||i.border||i.__hasFocus||1==i.type&&i.selectable)&&(!(i.width<=0||i.height<=0)||2==i.autoSize)){null==this.__graphics.__canvas&&(this.__graphics.__canvas=window.document.createElement("canvas"),this.__graphics.__context=this.__graphics.__canvas.getContext("2d")),openfl_display__$internal_CanvasTextField.context=n.__context;t=n.__renderTransform;if(e.__isDOM){var r=e.pixelRatio;n.__canvas.width=s*r|0,n.__canvas.height=a*r|0,n.__canvas.style.width=s+"px",n.__canvas.style.height=a+"px";var _=openfl_geom_Matrix.__pool.get();_.copyFrom(t),_.scale(r,r),e.setTransform(_,openfl_display__$internal_CanvasTextField.context),openfl_geom_Matrix.__pool.release(_)}else n.__canvas.width=s,n.__canvas.height=a,openfl_display__$internal_CanvasTextField.context.setTransform(t.a,t.b,t.c,t.d,t.tx,t.ty);if(null==openfl_display__$internal_CanvasTextField.clearRect&&(openfl_display__$internal_CanvasTextField.clearRect="undefined"!=typeof navigator&&void 0!==navigator.isCocoonJS),openfl_display__$internal_CanvasTextField.clearRect&&openfl_display__$internal_CanvasTextField.context.clearRect(0,0,n.__canvas.width,n.__canvas.height),null!=i.text&&""!=i.text||i.__hasFocus){var o=i.text;if(!e.__allowSmoothing||0==i.antiAliasType&&400==i.sharpness?n.__context.imageSmoothingEnabled=!1:n.__context.imageSmoothingEnabled=!0,i.border||i.background){if(openfl_display__$internal_CanvasTextField.context.rect(.5,.5,l.width-1,l.height-1),i.background){Q=StringTools.hex(16777215&i.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+Q,openfl_display__$internal_CanvasTextField.context.fill()}if(i.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1;Q=StringTools.hex(16777215&i.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+Q,openfl_display__$internal_CanvasTextField.context.stroke()}}openfl_display__$internal_CanvasTextField.context.textBaseline="alphabetic",openfl_display__$internal_CanvasTextField.context.textAlign="start";for(var h=-this.get_scrollH(),u=0,d=0,c=this.get_scrollV()-1;d<c;){D=d++;u-=i.lineHeights.get(D)}for(var p,f=i.layoutGroups.iterator();f.hasNext();){var m=f.next();if(!(m.lineIndex<this.get_scrollV()-1)){if(m.lineIndex>i.get_bottomScrollV()-1)break;w="#"+StringTools.hex(16777215&m.format.color,6);if(openfl_display__$internal_CanvasTextField.context.font=openfl_text__$internal_TextEngine.getFont(m.format),openfl_display__$internal_CanvasTextField.context.fillStyle=w,openfl_display__$internal_CanvasTextField.context.fillText(o.substring(m.startIndex,m.endIndex),m.offsetX+h-l.x,m.offsetY+m.ascent+u-l.y),this.__caretIndex>-1&&i.selectable)if(this.__selectionIndex==this.__caretIndex){if(this.__showCursor&&m.startIndex<=this.__caretIndex&&m.endIndex>=this.__caretIndex){p=0;for(var d=0,c=this.__caretIndex-m.startIndex;d<c;){D=d++;if(m.positions.length<=D)break;p+=m.positions[D]}for(var x=0,g=this.get_scrollV(),F=m.lineIndex+1;g<F;){var y=g++;x+=i.lineHeights.get(y-1)}openfl_display__$internal_CanvasTextField.context.beginPath();Q=StringTools.hex(16777215&m.format.color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+Q,openfl_display__$internal_CanvasTextField.context.moveTo(m.offsetX+p-this.get_scrollH()-l.x,x+2-l.y),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(m.offsetX+p-this.get_scrollH()-l.x,x+openfl_text__$internal_TextEngine.getFormatHeight(this.get_defaultTextFormat())-1-l.y),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}else if(m.startIndex<=this.__caretIndex&&m.endIndex>=this.__caretIndex||m.startIndex<=this.__selectionIndex&&m.endIndex>=this.__selectionIndex||m.startIndex>this.__caretIndex&&m.endIndex<this.__selectionIndex||m.startIndex>this.__selectionIndex&&m.endIndex<this.__caretIndex){var S=0|Math.min(this.__selectionIndex,this.__caretIndex),b=0|Math.max(this.__selectionIndex,this.__caretIndex);m.startIndex>S&&(S=m.startIndex),m.endIndex<b&&(b=m.endIndex);var U,v=this.getCharBoundaries(S);b>=m.endIndex?null!=(U=this.getCharBoundaries(m.endIndex-1))&&(U.x+=U.width+2):U=this.getCharBoundaries(b),null!=v&&null!=U&&(openfl_display__$internal_CanvasTextField.context.fillStyle="#000000",openfl_display__$internal_CanvasTextField.context.fillRect(v.x+h,v.y+u,U.x-v.x,m.height),openfl_display__$internal_CanvasTextField.context.fillStyle="#FFFFFF",openfl_display__$internal_CanvasTextField.context.fillText(o.substring(S,b),h+v.x,m.offsetY+m.ascent+u))}if(m.format.underline){openfl_display__$internal_CanvasTextField.context.beginPath(),openfl_display__$internal_CanvasTextField.context.strokeStyle=w,openfl_display__$internal_CanvasTextField.context.lineWidth=1;var T=m.offsetX+h-l.x,N=Math.floor(m.offsetY+u+m.ascent-l.y)+.5;openfl_display__$internal_CanvasTextField.context.moveTo(T,N),openfl_display__$internal_CanvasTextField.context.lineTo(T+m.width,N),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}}}else{if(i.border||i.background){if(i.border?openfl_display__$internal_CanvasTextField.context.rect(.5,.5,l.width-1,l.height-1):openfl_display__$internal_CanvasTextField.context.rect(0,0,l.width,l.height),i.background){Q=StringTools.hex(16777215&i.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+Q,openfl_display__$internal_CanvasTextField.context.fill()}if(i.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineCap="square";Q=StringTools.hex(16777215&i.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+Q,openfl_display__$internal_CanvasTextField.context.stroke()}}if(this.__caretIndex>-1&&i.selectable&&this.__showCursor){for(var h=-this.get_scrollH(),u=0,d=0,c=this.get_scrollV()-1;d<c;){var D=d++;u+=i.lineHeights.get(D)}openfl_display__$internal_CanvasTextField.context.beginPath();var Q=StringTools.hex(16777215&this.get_defaultTextFormat().color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+Q,openfl_display__$internal_CanvasTextField.context.moveTo(h+2.5,u+2.5),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(h+2.5,u+openfl_text__$internal_TextEngine.getFormatHeight(this.get_defaultTextFormat())-1),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}n.__bitmap=openfl_display_BitmapData.fromCanvas(this.__graphics.__canvas),n.__visible=!0,this.__dirty=!1,n.__softwareDirty=!1,n.set___dirty(!1)}else this.__graphics.__canvas=null,this.__graphics.__context=null,this.__graphics.__bitmap=null,this.__graphics.__softwareDirty=!1,this.__graphics.set___dirty(!1),this.__dirty=!1}var B=!1;if(0==this.__textEngine.antiAliasType&&1==this.__textEngine.gridFitType&&(B=e.context.imageSmoothingEnabled)&&(e.context.imageSmoothingEnabled=!1),(null!=this.opaqueBackground||null!=this.__graphics)&&this.__renderable){var R=e.__getAlpha(this.__worldAlpha);if(!(R<=0)){if(null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height()>0){e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this);k=e.context;e.setTransform(this.__renderTransform,k);var w=this.opaqueBackground;k.fillStyle="rgb("+(w>>>16&255)+","+(w>>>8&255)+","+(255&w)+")",k.fillRect(0,0,this.get_width(),this.get_height()),e.__popMaskObject(this)}if(null!=this.__graphics&&this.__renderable&&!((R=e.__getAlpha(this.__worldAlpha))<=0)&&null!=(n=this.__graphics)){openfl_display__$internal_CanvasGraphics.render(n,e);var s=n.__width,a=n.__height,E=n.__canvas;if(null!=E&&n.__visible&&s>=1&&a>=1){var t=n.__worldTransform,k=e.context,W=this.__scrollRect,Z=this.__worldScale9Grid;if(null==W||W.width>0&&W.height>0){if(e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this),k.globalAlpha=R,null!=Z&&0==t.b&&0==t.c){k.setTransform(1,0,0,1,t.tx,t.ty);var l=n.__bounds,M=n.__renderTransform.a,P=n.__renderTransform.d,V=t.a,A=t.d,G=Math.max(1,Math.round(Z.x*M)),C=Math.round(Z.y*P),I=Math.max(1,Math.round((l.get_right()-Z.get_right())*M)),L=Math.round((l.get_bottom()-Z.get_bottom())*P),J=Math.round(Z.width*M),O=Math.round(Z.height*P),$=Math.round(Z.x*V),H=Math.round(Z.y*A),z=Math.round((l.get_right()-Z.get_right())*V),Y=Math.round((l.get_bottom()-Z.get_bottom())*A),X=Math.round(s*V)-$-z,j=Math.round(a*A)-H-Y;if(e.applySmoothing(k,!1),0!=J&&0!=O)k.drawImage(E,0,0,G,C,0,0,$,H),k.drawImage(E,G,0,J,C,$,0,X,H),k.drawImage(E,G+J,0,I,C,$+X,0,z,H),k.drawImage(E,0,C,G,O,0,H,$,j),k.drawImage(E,G,C,J,O,$,H,X,j),k.drawImage(E,G+J,C,I,O,$+X,H,z,j),k.drawImage(E,0,C+O,G,L,0,H+j,$,Y),k.drawImage(E,G,C+O,J,L,$,H+j,X,Y),k.drawImage(E,G+J,C+O,I,L,$+X,H+j,z,Y);else if(0==J&&0!=O){var K=$+X+z;k.drawImage(E,0,0,s,C,0,0,K,H),k.drawImage(E,0,C,s,O,0,H,K,j),k.drawImage(E,0,C+O,s,L,0,H+j,K,Y)}else if(0==O&&0!=J){var q=H+j+Y;k.drawImage(E,0,0,G,a,0,0,$,q),k.drawImage(E,G,0,J,a,$,0,X,q),k.drawImage(E,G+J,0,I,a,$+X,0,z,q)}}else{if(e.setTransform(t,k),e.__isDOM){var ee=1/e.pixelRatio;k.scale(ee,ee)}k.drawImage(E,0,0,s,a)}e.__popMaskObject(this)}}}}}B&&(e.context.imageSmoothingEnabled=!0)}else{var te=this.__cacheBitmap;if(te.__renderable&&(R=e.__getAlpha(te.__worldAlpha))>0&&null!=te.__bitmapData&&te.__bitmapData.__isValid&&te.__bitmapData.readable){k=e.context;e.__setBlendMode(te.__worldBlendMode),e.__pushMaskObject(te,!1),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(te.__bitmapData.image),k.globalAlpha=R;W=te.__scrollRect;e.setTransform(te.__renderTransform,k),e.__allowSmoothing&&te.smoothing||(k.imageSmoothingEnabled=!1),null==W?k.drawImage(te.__bitmapData.image.get_src(),0,0,te.__bitmapData.image.width,te.__bitmapData.image.height):k.drawImage(te.__bitmapData.image.get_src(),W.x,W.y,W.width,W.height),e.__allowSmoothing&&te.smoothing||(k.imageSmoothingEnabled=!0),e.__popMaskObject(te,!1)}}},__renderDOM:function(e){if(this.__domRender=!0,this.__updateCacheBitmap(e,this.__forceCachedBitmapUpdate),this.__forceCachedBitmapUpdate=!1,this.__domRender=!1,null==this.__cacheBitmap||this.__isCacheBitmapRender){this.__renderedOnCanvasWhileOnDOM&&(this.__renderedOnCanvasWhileOnDOM=!1,this.__isHTML&&null!=this.__rawHtmlText&&(this.__updateText(this.__rawHtmlText),this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())));var t=this,i=t.__textEngine;if(null!=t.stage&&t.__worldVisible&&t.__renderable){if(t.__dirty||t.__renderTransformChanged||null==t.__div)if(""!=i.text||i.background||i.border||1==i.type){null==t.__div&&(t.__div=window.document.createElement("div"),e.__initializeElement(t,t.__div),t.__style.setProperty("outline","none",null),t.__div.addEventListener("input",function(e){if(e.preventDefault(),t.get_htmlText()!=t.__div.innerHTML){t.set_htmlText(t.__div.innerHTML);t.__displayAsPassword;t.__dirty=!1,t.dispatchEvent(new openfl_events_TextEvent("textInput",!1,!1,t.get_htmlText()))}},!0)),i.wordWrap?t.__style.setProperty("word-wrap","break-word",null):t.__style.setProperty("white-space","nowrap",null),t.__style.setProperty("overflow","hidden",null),i.selectable?(t.__style.setProperty("cursor","text",null),t.__style.setProperty("-webkit-user-select","text",null),t.__style.setProperty("-moz-user-select","text",null),t.__style.setProperty("-ms-user-select","text",null),t.__style.setProperty("-o-user-select","text",null)):t.__style.setProperty("cursor","inherit",null),t.__div.contentEditable=1==i.type;var l=t.__style;i.background?l.setProperty("background-color","#"+StringTools.hex(16777215&i.backgroundColor,6),null):l.removeProperty("background-color");var n=i.width,s=i.height,a=1,r=t.__textFormat.size,_=r,o=t.__renderTransform;1==o.a&&1==o.d||(o.a==o.d?(a=o.a,o.a=o.d=1):o.a>o.d?(a=o.a,o.d/=o.a,o.a=1):(a=o.d,o.a/=o.d,o.d=1),_*=a,n=Math.ceil(n*a),s=Math.ceil(s*a)),t.__textFormat.size=_;var h=i.text,u=0;if(t.__isHTML){for(var d=h;openfl_display__$internal_DOMTextField.__regexFont.match(d);){var c=openfl_display__$internal_DOMTextField.__regexFont.matched(0),p="";if(openfl_display__$internal_DOMTextField.__regexFace.match(c)&&(p+="font-family:'"+openfl_display__$internal_DOMTextField.__getAttributeMatch(openfl_display__$internal_DOMTextField.__regexFace)+"';"),openfl_display__$internal_DOMTextField.__regexColor.match(c)&&(p+="color:#"+openfl_display__$internal_DOMTextField.__getAttributeMatch(openfl_display__$internal_DOMTextField.__regexColor)+";"),openfl_display__$internal_DOMTextField.__regexSize.match(c)){var f=openfl_display__$internal_DOMTextField.__getAttributeMatch(openfl_display__$internal_DOMTextField.__regexSize),m=HxOverrides.cca(f,0);u=parseFloat(f)*a,p+="font-size:"+(43==m||45==m?_+u:u)+"px;"}h=StringTools.replace(h,c,"<span style='"+p+"'>"),d=openfl_display__$internal_DOMTextField.__regexFont.matchedRight()}h=h.replace(openfl_display__$internal_DOMTextField.__regexCloseFont.r,"</span>")}else h=StringTools.htmlEscape(h);h=StringTools.replace(h,"<p ","<p style='margin-top:0; margin-bottom:0;' ");var x=t.__textFormat.leading;t.__textFormat.leading+=0|u;var g=new RegExp("\r\n","g".split("u").join("")),F=h.replace(g,"<br>");t.__div.innerHTML=F;var g=new RegExp("\n","g".split("u").join("")),F=t.__div.innerHTML.replace(g,"<br>");t.__div.innerHTML=F;var g=new RegExp("\r","g".split("u").join("")),F=t.__div.innerHTML.replace(g,"<br>");switch(t.__div.innerHTML=F,l.setProperty("font",openfl_text__$internal_TextEngine.getFont(t.__textFormat),null),t.__textFormat.size=r,t.__textFormat.leading=x,l.setProperty("top","3px",null),i.border?(l.setProperty("border","solid 1px #"+StringTools.hex(16777215&i.borderColor,6),null),t.__renderTransform.translate(-1,-1),t.__renderTransformChanged=!0,t.__transformDirty=!0):""!=l.border&&(l.removeProperty("border"),t.__renderTransformChanged=!0),l.setProperty("color","#"+StringTools.hex(16777215&t.__textFormat.color,6),null),l.setProperty("width",n+"px",null),l.setProperty("height",s+"px",null),t.__textFormat.align){case 0:l.setProperty("text-align","center",null);break;case 4:l.setProperty("text-align","right",null);break;default:l.setProperty("text-align","left",null)}t.__dirty=!1}else null!=t.__div&&(e.element.removeChild(t.__div),t.__div=null);if(null!=t.__div){var y=e.__roundPixels;e.__roundPixels=!0,e.__updateClip(t),e.__applyStyle(t,!0,!0,!0),e.__roundPixels=y}}else openfl_display__$internal_DOMTextField.clear(t,e)}else{this.__renderDOMClear(e),this.__cacheBitmap.stage=this.stage;var S=this.__cacheBitmap;null!=S.stage&&S.__worldVisible&&S.__renderable&&null!=S.__bitmapData&&S.__bitmapData.__isValid&&S.__bitmapData.readable?(e.__pushMaskObject(S),null!=S.__bitmapData.image.buffer.__srcImage?openfl_display__$internal_DOMBitmap.renderImage(S,e):openfl_display__$internal_DOMBitmap.renderCanvas(S,e),e.__popMaskObject(S)):openfl_display__$internal_DOMBitmap.clear(S,e)}this.__renderEvent(e)},__renderDOMClear:function(e){openfl_display__$internal_DOMTextField.clear(this,e)},__renderGL:function(e){if(this.__updateCacheBitmap(e,!1),null==this.__cacheBitmap||this.__isCacheBitmapRender){if(openfl_display__$internal_Context3DTextField.render(this,e),(null!=this.opaqueBackground||null!=this.__graphics)&&this.__renderable&&!(this.__worldAlpha<=0)){if(null!=this.opaqueBackground&&!this.__isCacheBitmapRender&&this.get_width()>0&&this.get_height()>0){e.__setBlendMode(this.__worldBlendMode),e.__pushMaskObject(this);var t=e.__context3D,i=openfl_geom_Rectangle.__pool.get();i.setTo(0,0,this.get_width(),this.get_height()),e.__pushMaskRect(i,this.__renderTransform);var l=this.opaqueBackground;t.clear((l>>>16&255)/255,(l>>>8&255)/255,(255&l)/255,1,0,0,1),e.__popMaskRect(),e.__popMaskObject(this),openfl_geom_Rectangle.__pool.release(i)}null!=this.__graphics&&openfl_display__$internal_Context3DShape.render(this,e)}}else openfl_display__$internal_Context3DBitmap.render(this.__cacheBitmap,e);this.__renderEvent(e)},__renderGLMask:function(e){openfl_display__$internal_Context3DTextField.renderMask(this,e),openfl_display_InteractiveObject.prototype.__renderGLMask.call(this,e)},__replaceSelectedText:function(e,t){if(null==t&&(t=!0),null==e&&(e=""),""!=e||this.__selectionIndex!=this.__caretIndex){var i=this.__caretIndex<this.__selectionIndex?this.__caretIndex:this.__selectionIndex,l=this.__caretIndex>this.__selectionIndex?this.__caretIndex:this.__selectionIndex;if(!(i==l&&this.__textEngine.maxChars>0&&this.__text.length==this.__textEngine.maxChars)){if(i>this.__text.length&&(i=this.__text.length),l>this.__text.length&&(l=this.__text.length),l<i){var n=l;l=i,i=n}i<0&&(i=0),this.__replaceText(i,l,e,t);var s=i+js_Boot.__cast(e,String).length;s>this.__text.length&&(s=this.__text.length),this.setSelection(s,s),this.__updateScrollH()}}},__replaceText:function(e,t,i,l){if(!(t<e||e<0||t>this.__text.length||null==i)){if(l&&(i=this.__textEngine.restrictText(i),this.__textEngine.maxChars>0)){var n=t-e,s=this.__textEngine.maxChars-this.__text.length+n;s<=0?i="":s<i.length&&(i=HxOverrides.substr(i,0,s))}this.__updateText(this.__text.substring(0,e)+i+this.__text.substring(t)),t>this.__text.length&&(t=this.__text.length);for(var a,r=i.length-(t-e),_=0;_<this.__textEngine.textFormatRanges.get_length();)(a=this.__textEngine.textFormatRanges.get(_)).start<=e&&a.end>=t?(a.end+=r,++_):a.start>=e&&a.end<=t?(_>0?this.__textEngine.textFormatRanges.splice(_,1):(a.start=0,a.end=e+i.length,++_),r-=a.end-a.start):a.start>e&&a.start<=t?(a.start+=r,++_):++_;this.__updateScrollV(),this.__updateScrollH(),this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())}},__shouldCacheHardware:function(e){return 1==e},__startCursorTimer:function(){this.__cursorTimer=haxe_Timer.delay($bind(this,this.__startCursorTimer),600),this.__showCursor=!this.__showCursor,this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())},__startTextInput:function(){this.__caretIndex<0&&(this.__caretIndex=this.__text.length,this.__selectionIndex=this.__caretIndex),(!openfl_display_DisplayObject.__supportDOM||this.__renderedOnCanvasWhileOnDOM)&&this.__enableInput()},__stopCursorTimer:function(){null!=this.__cursorTimer&&(this.__cursorTimer.stop(),this.__cursorTimer=null),this.__showCursor&&(this.__showCursor=!1,this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()))},__stopTextInput:function(){(!openfl_display_DisplayObject.__supportDOM||this.__renderedOnCanvasWhileOnDOM)&&this.__disableInput()},__updateCacheBitmap:function(e,t){return!(null==this.__filters&&"opengl"==e.__type&&null==this.__cacheBitmap&&!this.__domRender)&&(t&&(this.__renderDirty=!0),!!openfl_display_InteractiveObject.prototype.__updateCacheBitmap.call(this,e,t||this.__dirty)&&(null!=this.__cacheBitmap&&(this.__cacheBitmap.__renderTransform.tx-=this.__offsetX,this.__cacheBitmap.__renderTransform.ty-=this.__offsetY),!0))},__updateLayout:function(){if(this.__layoutDirty){var e=this.__textEngine.width;if(this.__textEngine.update(),2!=this.__textEngine.autoSize){if(this.__textEngine.width!=e)switch(this.__textEngine.autoSize){case 0:(t=this).set_x(t.get_x()+(e-this.__textEngine.width)/2);break;case 3:var t=this;t.set_x(t.get_x()+(e-this.__textEngine.width))}this.__textEngine.getBounds()}this.__layoutDirty=!1}},__updateScrollH:function(){if(!this.get_multiline()&&1==this.get_type()){this.__layoutDirty=!0,this.__updateLayout();var e=this.__textEngine.textWidth-this.__textEngine.width+4;if(e>0)if(this.__caretIndex>=this.get_text().length)this.set_scrollH(Math.ceil(e));else{var t=openfl_geom_Rectangle.__pool.get();this.__getCharBoundaries(this.__caretIndex,t),t.x<this.get_scrollH()?this.set_scrollH(Math.floor(t.x-2)):t.x>this.get_scrollH()+this.__textEngine.width&&this.set_scrollH(Math.ceil(t.x-this.__textEngine.width-2)),openfl_geom_Rectangle.__pool.release(t)}else this.set_scrollH(0)}},__updateScrollV:function(){this.__layoutDirty=!0,this.__updateLayout();var e=this.getLineIndexOfChar(this.__caretIndex);if(-1==e&&this.__caretIndex>0&&(e=this.getLineIndexOfChar(this.__caretIndex-1)+1),e+1<this.get_scrollV())this.set_scrollV(e+1);else if(e+1>this.get_bottomScrollV()){for(var t=e,i=0;t>=0&&i+this.__textEngine.lineHeights.get(t)<=this.get_height()-4;)i+=this.__textEngine.lineHeights.get(t),--t;this.set_scrollV(t+2)}else this.set_scrollV(this.get_scrollV())},__updateText:function(e){if(openfl_display_DisplayObject.__supportDOM&&this.__renderedOnCanvasWhileOnDOM&&(this.__forceCachedBitmapUpdate=this.__text!=e),this.__textEngine.set_text(e),this.__text=this.__textEngine.text,this.__text.length<this.__caretIndex&&(this.__selectionIndex=this.__caretIndex=this.__text.length),!this.__displayAsPassword||openfl_display_DisplayObject.__supportDOM&&!this.__renderedOnCanvasWhileOnDOM)this.__textEngine.set_text(this.__text);else{for(var t="",i=0,l=this.get_text().length;i<l;){i++;t+="*"}this.__textEngine.set_text(t)}},__updateTransforms:function(e){openfl_display_InteractiveObject.prototype.__updateTransforms.call(this,e);var t=this.__renderTransform,i=this.__offsetX,l=this.__offsetY;t.tx=i*t.a+l*t.c+t.tx,t.ty=i*t.b+l*t.d+t.ty},get_antiAliasType:function(){return this.__textEngine.antiAliasType},set_antiAliasType:function(e){this.__textEngine.antiAliasType;return this.__textEngine.antiAliasType=e},get_autoSize:function(){return this.__textEngine.autoSize},set_autoSize:function(e){return e!=this.__textEngine.autoSize&&(this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.autoSize=e},get_background:function(){return this.__textEngine.background},set_background:function(e){return e!=this.__textEngine.background&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.background=e},get_backgroundColor:function(){return this.__textEngine.backgroundColor},set_backgroundColor:function(e){return e!=this.__textEngine.backgroundColor&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.backgroundColor=e},get_border:function(){return this.__textEngine.border},set_border:function(e){return e!=this.__textEngine.border&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.border=e},get_borderColor:function(){return this.__textEngine.borderColor},set_borderColor:function(e){return e!=this.__textEngine.borderColor&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.borderColor=e},get_bottomScrollV:function(){return this.__updateLayout(),this.__textEngine.get_bottomScrollV()},get_caretIndex:function(){return this.__caretIndex},get_defaultTextFormat:function(){return this.__textFormat.clone()},set_defaultTextFormat:function(e){return this.__textFormat.__merge(e),this.__layoutDirty=!0,this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),e},get_displayAsPassword:function(){return this.__displayAsPassword},set_displayAsPassword:function(e){return e!=this.__displayAsPassword&&(this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__displayAsPassword=e,this.__updateText(this.__text)),e},get_embedFonts:function(){return this.__textEngine.embedFonts},set_embedFonts:function(e){return this.__textEngine.embedFonts=e},get_gridFitType:function(){return this.__textEngine.gridFitType},set_gridFitType:function(e){return this.__textEngine.gridFitType=e},get_height:function(){return this.__updateLayout(),this.__textEngine.height*Math.abs(this.get_scaleY())},set_height:function(e){return e!=this.__textEngine.height&&(this.__setTransformDirty(),this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__textEngine.height=e),this.__textEngine.height*Math.abs(this.get_scaleY())},get_htmlText:function(){return this.__isHTML?this.__rawHtmlText:this.__text},set_htmlText:function(e){if(this.__isHTML&&this.__text==e||(this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__isHTML=!0,this.__rawHtmlText=e,e=openfl__$internal_formats_html_HTMLParser.parse(e,this.__textFormat,this.__textEngine.textFormatRanges),openfl_display_DisplayObject.__supportDOM){this.__textEngine.textFormatRanges.get_length()>1&&this.__textEngine.textFormatRanges.splice(1,this.__textEngine.textFormatRanges.get_length()-1);var t=this.__textEngine.textFormatRanges.get(0);t.format=this.__textFormat,t.start=0,this.__renderedOnCanvasWhileOnDOM?(t.end=e.length,this.__updateText(e)):(t.end=this.__rawHtmlText.length,this.__updateText(this.__rawHtmlText))}else this.__updateText(e);return this.__updateScrollV(),e},get_length:function(){return null!=this.__text?this.__text.length:0},get_maxChars:function(){return this.__textEngine.maxChars},set_maxChars:function(e){return e!=this.__textEngine.maxChars&&(this.__textEngine.maxChars=e,this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),e},get_maxScrollH:function(){return this.__updateLayout(),this.__textEngine.maxScrollH},get_maxScrollV:function(){return this.__updateLayout(),this.__textEngine.get_maxScrollV()},get_mouseWheelEnabled:function(){return this.__mouseWheelEnabled},set_mouseWheelEnabled:function(e){return this.__mouseWheelEnabled=e},get_multiline:function(){return this.__textEngine.multiline},set_multiline:function(e){return e!=this.__textEngine.multiline&&(this.__dirty=!0,this.__layoutDirty=!0,this.__updateText(this.__text),this.__updateScrollH(),this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.multiline=e},get_numLines:function(){return this.__updateLayout(),this.__textEngine.numLines},get_restrict:function(){return this.__textEngine.restrict},set_restrict:function(e){return this.__textEngine.restrict!=e&&(this.__textEngine.set_restrict(e),this.__updateText(this.__text)),e},get_scrollH:function(){return this.__textEngine.scrollH},set_scrollH:function(e){return this.__updateLayout(),e>this.__textEngine.maxScrollH&&(e=this.__textEngine.maxScrollH),e<0&&(e=0),e!=this.__textEngine.scrollH&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__textEngine.scrollH=e,this.dispatchEvent(new openfl_events_Event("scroll"))),this.__textEngine.scrollH},get_scrollV:function(){return this.__textEngine.get_scrollV()},set_scrollV:function(e){return this.__updateLayout(),e>0&&e!=this.__textEngine.get_scrollV()&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__textEngine.set_scrollV(e),this.dispatchEvent(new openfl_events_Event("scroll"))),this.__textEngine.get_scrollV()},get_selectable:function(){return this.__textEngine.selectable},set_selectable:function(e){return e!=this.__textEngine.selectable&&1==this.get_type()&&(null!=this.stage&&this.stage.get_focus()==this?this.__startTextInput():e||this.__stopTextInput()),this.__textEngine.selectable=e},get_selectionBeginIndex:function(){return 0|Math.min(this.__caretIndex,this.__selectionIndex)},get_selectionEndIndex:function(){return 0|Math.max(this.__caretIndex,this.__selectionIndex)},get_sharpness:function(){return this.__textEngine.sharpness},set_sharpness:function(e){return e!=this.__textEngine.sharpness&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.sharpness=e},get_tabEnabled:function(){return null==this.__tabEnabled?1==this.__textEngine.type:this.__tabEnabled},get_text:function(){return this.__text},set_text:function(e){if(!this.__isHTML&&this.__text==e)return e;this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__textEngine.textFormatRanges.get_length()>1&&this.__textEngine.textFormatRanges.splice(1,this.__textEngine.textFormatRanges.get_length()-1);var t=e,i=this.__textEngine.textFormatRanges.get(0);return i.format=this.__textFormat,i.start=0,i.end=t.length,this.__isHTML=!1,this.__updateText(e),this.__updateScrollV(),e},get_textColor:function(){return this.__textFormat.color},set_textColor:function(e){e!=this.__textFormat.color&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()));for(var t=this.__textEngine.textFormatRanges.iterator();t.hasNext();)t.next().format.color=e;return this.__textFormat.color=e},get_textWidth:function(){return this.__updateLayout(),this.__textEngine.textWidth},get_textHeight:function(){return this.__updateLayout(),this.__textEngine.textHeight},get_type:function(){return this.__textEngine.type},set_type:function(e){return e!=this.__textEngine.type&&(1==e?(this.addEventListener("addedToStage",$bind(this,this.this_onAddedToStage)),this.this_onFocusIn(null),this.__textEngine.__useIntAdvances=!0):(this.removeEventListener("addedToStage",$bind(this,this.this_onAddedToStage)),this.__stopTextInput(),this.__textEngine.__useIntAdvances=null),this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.type=e},get_width:function(){return this.__updateLayout(),this.__textEngine.width*Math.abs(this.__scaleX)},set_width:function(e){return e!=this.__textEngine.width&&(this.__setTransformDirty(),this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()),this.__textEngine.width=e),this.__textEngine.width*Math.abs(this.__scaleX)},get_wordWrap:function(){return this.__textEngine.wordWrap},set_wordWrap:function(e){return e!=this.__textEngine.wordWrap&&(this.__dirty=!0,this.__layoutDirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.__textEngine.wordWrap=e},get_x:function(){return this.__transform.tx+this.__offsetX},set_x:function(e){return e!=this.__transform.tx+this.__offsetX&&this.__setTransformDirty(),this.__transform.tx=e-this.__offsetX},get_y:function(){return this.__transform.ty+this.__offsetY},set_y:function(e){return e!=this.__transform.ty+this.__offsetY&&this.__setTransformDirty(),this.__transform.ty=e-this.__offsetY},stage_onMouseMove:function(e){if(null!=this.stage&&this.get_selectable()&&this.__selectionIndex>=0){this.__updateLayout();var t=this.__getPosition(this.get_mouseX()+this.get_scrollH(),this.get_mouseY());if(t!=this.__caretIndex){this.__caretIndex=t;var i=!0;openfl_display_DisplayObject.__supportDOM&&(this.__renderedOnCanvasWhileOnDOM&&(this.__forceCachedBitmapUpdate=!0),i=!1),i&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()))}}},stage_onMouseUp:function(e){if(null!=this.stage&&(this.stage.removeEventListener("mouseMove",$bind(this,this.stage_onMouseMove)),this.stage.removeEventListener("mouseUp",$bind(this,this.stage_onMouseUp)),this.stage.get_focus()==this)){this.__getWorldTransform(),this.__updateLayout();var t=this.__getPosition(this.get_mouseX()+this.get_scrollH(),this.get_mouseY()),i=0|Math.min(this.__selectionIndex,t),l=0|Math.max(this.__selectionIndex,t);this.__selectionIndex=i,this.__caretIndex=l,this.__inputEnabled&&(this.this_onFocusIn(null),this.__stopCursorTimer(),this.__startCursorTimer(),openfl_display_DisplayObject.__supportDOM&&this.__renderedOnCanvasWhileOnDOM&&(this.__forceCachedBitmapUpdate=!0))}},this_onAddedToStage:function(e){this.this_onFocusIn(null)},this_onFocusIn:function(e){1==this.get_type()&&null!=this.stage&&this.stage.get_focus()==this&&this.__startTextInput()},this_onFocusOut:function(e){this.__stopCursorTimer(),null!=e.relatedObject&&e.relatedObject instanceof openfl_text_TextField?(null!=this.stage&&(this.stage.window.onTextInput.remove($bind(this,this.window_onTextInput)),this.stage.window.onKeyDown.remove($bind(this,this.window_onKeyDown))),this.__inputEnabled=!1):this.__stopTextInput(),this.__selectionIndex!=this.__caretIndex&&(this.__selectionIndex=this.__caretIndex,this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()))},this_onKeyDown:function(e){this.get_selectable()&&1!=this.get_type()&&67==e.keyCode&&(e.commandKey||e.ctrlKey)&&this.__caretIndex!=this.__selectionIndex&&lime_system_Clipboard.set_text(this.__text.substring(this.__caretIndex,this.__selectionIndex))},this_onMouseDown:function(e){(this.get_selectable()||1==this.get_type())&&(this.__updateLayout(),this.__caretIndex=this.__getPosition(this.get_mouseX()+this.get_scrollH(),this.get_mouseY()),this.__selectionIndex=this.__caretIndex,openfl_display_DisplayObject.__supportDOM||(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty())),this.stage.addEventListener("mouseMove",$bind(this,this.stage_onMouseMove)),this.stage.addEventListener("mouseUp",$bind(this,this.stage_onMouseUp)))},this_onMouseWheel:function(e){if(this.get_mouseWheelEnabled()){var t=this;t.set_scrollV(t.get_scrollV()-e.delta)}},this_onDoubleClick:function(e){if(this.get_selectable()){this.__updateLayout();var t=["\n",".","!","?",","," ",";",":","(",")","-","_","/"],i=this.__text,l=-1,n=i.length,s=0,a=0|Math.max(this.__caretIndex,1);if(i.length>0&&this.__caretIndex>=0&&n>=this.__caretIndex){for(var r=0;r<t.length;){var _=t[r];++r,(s=i.lastIndexOf(_,a-1))>l&&(l=s+1),(s=i.indexOf(_,a))<n&&-1!=s&&(n=s)}if(l!=n){this.setSelection(l,n);var o=!0;openfl_display_DisplayObject.__supportDOM&&(this.__renderedOnCanvasWhileOnDOM&&(this.__forceCachedBitmapUpdate=!0),o=!1),o&&(this.__dirty=!0,this.__renderDirty||(this.__renderDirty=!0,this.__setParentRenderDirty()))}}}},window_onKeyDown:function(e,t){switch(e){case 8:this.__selectionIndex==this.__caretIndex&&this.__caretIndex>0&&(this.__selectionIndex=this.__caretIndex-1),this.__selectionIndex!=this.__caretIndex&&(this.replaceSelectedText(""),this.__selectionIndex=this.__caretIndex,this.dispatchEvent(new openfl_events_Event("change",!0)));break;case 97:this.get_selectable()&&(lime_ui_KeyModifier.get_metaKey(t)||lime_ui_KeyModifier.get_ctrlKey(t))&&(this.__caretIndex=this.__text.length,this.__selectionIndex=0);break;case 99:(lime_ui_KeyModifier.get_metaKey(t)||lime_ui_KeyModifier.get_ctrlKey(t))&&this.__caretIndex!=this.__selectionIndex&&lime_system_Clipboard.set_text(this.__text.substring(this.__caretIndex,this.__selectionIndex));break;case 120:(lime_ui_KeyModifier.get_metaKey(t)||lime_ui_KeyModifier.get_ctrlKey(t))&&this.__caretIndex!=this.__selectionIndex&&(lime_system_Clipboard.set_text(this.__text.substring(this.__caretIndex,this.__selectionIndex)),this.replaceSelectedText(""),this.dispatchEvent(new openfl_events_Event("change",!0)));break;case 127:this.__selectionIndex==this.__caretIndex&&this.__caretIndex<this.__text.length&&(this.__selectionIndex=this.__caretIndex+1),this.__selectionIndex!=this.__caretIndex&&(this.replaceSelectedText(""),this.__selectionIndex=this.__caretIndex,this.dispatchEvent(new openfl_events_Event("change",!0)));break;case 1073741898:this.get_selectable()&&(this.__caretBeginningOfLine(),this.__stopCursorTimer(),this.__startCursorTimer());break;case 1073741901:this.get_selectable()&&(this.__caretEndOfLine(),this.__stopCursorTimer(),this.__startCursorTimer());break;case 1073741903:this.get_selectable()&&(lime_ui_KeyModifier.get_metaKey(t)?(this.__caretEndOfLine(),lime_ui_KeyModifier.get_shiftKey(t)||(this.__selectionIndex=this.__caretIndex)):lime_ui_KeyModifier.get_shiftKey(t)?this.__caretNextCharacter():(this.__selectionIndex==this.__caretIndex?this.__caretNextCharacter():this.__caretIndex=0|Math.max(this.__caretIndex,this.__selectionIndex),this.__selectionIndex=this.__caretIndex),this.__updateScrollH(),this.__updateScrollV(),this.__stopCursorTimer(),this.__startCursorTimer());break;case 1073741904:this.get_selectable()&&(lime_ui_KeyModifier.get_metaKey(t)?(this.__caretBeginningOfLine(),lime_ui_KeyModifier.get_shiftKey(t)||(this.__selectionIndex=this.__caretIndex)):lime_ui_KeyModifier.get_shiftKey(t)?this.__caretPreviousCharacter():(this.__selectionIndex==this.__caretIndex?this.__caretPreviousCharacter():this.__caretIndex=0|Math.min(this.__caretIndex,this.__selectionIndex),this.__selectionIndex=this.__caretIndex),this.__updateScrollH(),this.__updateScrollV(),this.__stopCursorTimer(),this.__startCursorTimer());break;case 1073741905:if(this.get_selectable()){if(!this.__textEngine.multiline)return;if(lime_ui_KeyModifier.get_shiftKey(t))this.__caretNextLine();else{if(this.__selectionIndex==this.__caretIndex)this.__caretNextLine();else{i=this.getLineIndexOfChar(0|Math.max(this.__caretIndex,this.__selectionIndex));this.__caretNextLine(i,0|Math.min(this.__caretIndex,this.__selectionIndex))}this.__selectionIndex=this.__caretIndex}this.__updateScrollV(),this.__stopCursorTimer(),this.__startCursorTimer()}break;case 1073741906:if(this.get_selectable()){if(!this.__textEngine.multiline)return;if(lime_ui_KeyModifier.get_shiftKey(t))this.__caretPreviousLine();else{if(this.__selectionIndex==this.__caretIndex)this.__caretPreviousLine();else{var i=this.getLineIndexOfChar(0|Math.min(this.__caretIndex,this.__selectionIndex));this.__caretPreviousLine(i,0|Math.min(this.__caretIndex,this.__selectionIndex))}this.__selectionIndex=this.__caretIndex}this.__updateScrollV(),this.__stopCursorTimer(),this.__startCursorTimer()}break;case 13:case 1073741912:if(this.__textEngine.multiline){var l=new openfl_events_TextEvent("textInput",!0,!0,"\n");this.dispatchEvent(l),l.isDefaultPrevented()||(this.__replaceSelectedText("\n",!0),this.dispatchEvent(new openfl_events_Event("change",!0)))}}},window_onTextInput:function(e){this.__replaceSelectedText(e,!0),this.dispatchEvent(new openfl_events_Event("change",!0))},__class__:openfl_text_TextField,__properties__:$extend(openfl_display_InteractiveObject.prototype.__properties__,{set_wordWrap:"set_wordWrap",get_wordWrap:"get_wordWrap",set_type:"set_type",get_type:"get_type",get_textWidth:"get_textWidth",get_textHeight:"get_textHeight",set_textColor:"set_textColor",get_textColor:"get_textColor",set_text:"set_text",get_text:"get_text",set_sharpness:"set_sharpness",get_sharpness:"get_sharpness",get_selectionEndIndex:"get_selectionEndIndex",get_selectionBeginIndex:"get_selectionBeginIndex",set_selectable:"set_selectable",get_selectable:"get_selectable",set_scrollV:"set_scrollV",get_scrollV:"get_scrollV",set_scrollH:"set_scrollH",get_scrollH:"get_scrollH",set_restrict:"set_restrict",get_restrict:"get_restrict",get_numLines:"get_numLines",set_multiline:"set_multiline",get_multiline:"get_multiline",set_mouseWheelEnabled:"set_mouseWheelEnabled",get_mouseWheelEnabled:"get_mouseWheelEnabled",get_maxScrollV:"get_maxScrollV",get_maxScrollH:"get_maxScrollH",set_maxChars:"set_maxChars",get_maxChars:"get_maxChars",get_length:"get_length",set_htmlText:"set_htmlText",get_htmlText:"get_htmlText",set_gridFitType:"set_gridFitType",get_gridFitType:"get_gridFitType",set_embedFonts:"set_embedFonts",get_embedFonts:"get_embedFonts",set_displayAsPassword:"set_displayAsPassword",get_displayAsPassword:"get_displayAsPassword",set_defaultTextFormat:"set_defaultTextFormat",get_defaultTextFormat:"get_defaultTextFormat",get_caretIndex:"get_caretIndex",get_bottomScrollV:"get_bottomScrollV",set_borderColor:"set_borderColor",get_borderColor:"get_borderColor",set_border:"set_border",get_border:"get_border",set_backgroundColor:"set_backgroundColor",get_backgroundColor:"get_backgroundColor",set_background:"set_background",get_background:"get_background",set_autoSize:"set_autoSize",get_autoSize:"get_autoSize",set_antiAliasType:"set_antiAliasType",get_antiAliasType:"get_antiAliasType"})});var openfl_display_FPS=function(e,t,i){null==i&&(i=0),null==t&&(t=10),null==e&&(e=10),openfl_text_TextField.call(this),this.set_x(e),this.set_y(t),this.currentFPS=0,this.set_selectable(!1),this.mouseEnabled=!1,this.set_defaultTextFormat(new openfl_text_TextFormat("_sans",12,i)),this.set_text("FPS: "),this.cacheCount=0,this.currentTime=0,this.times=[]};$hxClasses["openfl.display.FPS"]=openfl_display_FPS,openfl_display_FPS.__name__="openfl.display.FPS",openfl_display_FPS.__super__=openfl_text_TextField,openfl_display_FPS.prototype=$extend(openfl_text_TextField.prototype,{currentFPS:null,cacheCount:null,currentTime:null,times:null,__enterFrame:function(e){for(this.currentTime+=e,this.times.push(this.currentTime);this.times[0]<this.currentTime-1e3;)this.times.shift();var t=this.times.length;this.currentFPS=Math.round((t+this.cacheCount)/2),t!=this.cacheCount&&this.set_text("FPS: "+this.currentFPS),this.cacheCount=t},__class__:openfl_display_FPS});var openfl_display_FrameLabel=function(e,t){openfl_events_EventDispatcher.call(this),this.name=e,this.frame=t};$hxClasses["openfl.display.FrameLabel"]=openfl_display_FrameLabel,openfl_display_FrameLabel.__name__="openfl.display.FrameLabel",openfl_display_FrameLabel.__super__=openfl_events_EventDispatcher,openfl_display_FrameLabel.prototype=$extend(openfl_events_EventDispatcher.prototype,{frame:null,name:null,__class__:openfl_display_FrameLabel});var openfl_display_FrameScript=function(e,t){this.script=e,this.frame=t};$hxClasses["openfl.display.FrameScript"]=openfl_display_FrameScript,openfl_display_FrameScript.__name__="openfl.display.FrameScript",openfl_display_FrameScript.prototype={frame:null,script:null,__class__:openfl_display_FrameScript};var openfl_display_GradientType={};openfl_display_GradientType.fromInt=function(e){return e},openfl_display_GradientType.fromString=function(e){switch(e){case"linear":return 0;case"radial":return 1;default:return null}},openfl_display_GradientType.toInt=function(e){return e},openfl_display_GradientType.toString=function(e){switch(e){case 0:return"linear";case 1:return"radial";default:return null}};var openfl_display_Graphics=function(e){this.__dirty=!0,this.__owner=e,this.__commands=new openfl_display__$internal_DrawCommandBuffer,this.__strokePadding=0,this.__positionX=0,this.__positionY=0,this.__renderTransform=new openfl_geom_Matrix,this.__usedShaderBuffers=new haxe_ds_List,this.__worldTransform=new openfl_geom_Matrix,this.__width=0,this.__height=0,this.__shaderBufferPool=new lime_utils_ObjectPool(function(){return new openfl_display__$internal_ShaderBuffer}),this.moveTo(0,0)};$hxClasses["openfl.display.Graphics"]=openfl_display_Graphics,openfl_display_Graphics.__name__="openfl.display.Graphics",openfl_display_Graphics.prototype={__bounds:null,__commands:null,__dirty:null,__hardwareDirty:null,__height:null,__managed:null,__positionX:null,__positionY:null,__quadBuffer:null,__renderTransform:null,__shaderBufferPool:null,__softwareDirty:null,__strokePadding:null,__transformDirty:null,__triangleIndexBuffer:null,__triangleIndexBufferCount:null,__triangleIndexBufferData:null,__usedShaderBuffers:null,__vertexBuffer:null,__vertexBufferCount:null,__vertexBufferCountUVT:null,__vertexBufferData:null,__vertexBufferDataUVT:null,__vertexBufferUVT:null,__visible:null,__owner:null,__width:null,__worldTransform:null,__canvas:null,__context:null,__bitmap:null,beginBitmapFill:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!0),this.__commands.beginBitmapFill(e,null!=t?t.clone():null,i,l),this.__visible=!0},beginFill:function(e,t){null==t&&(t=1),null==e&&(e=0),this.__commands.beginFill(16777215&e,t),t>0&&(this.__visible=!0)},beginGradientFill:function(e,t,i,l,n,s,a,r){if(null==r&&(r=0),null==a&&(a=1),null==s&&(s=0),null!=t&&0!=t.length){if(null==i){i=[];for(var _=0,o=t.length;_<o;){h=_++;i.push(1)}}if(null==l){l=[];for(var _=0,o=t.length;_<o;){var h=_++;l.push(Math.ceil(h/t.length*255))}}if(!(i.length<t.length||l.length<t.length)){this.__commands.beginGradientFill(e,t,i,l,n,s,a,r);for(_=0;_<i.length;){var u=i[_];if(++_,u>0){this.__visible=!0;break}}}}},beginShaderFill:function(e,t){if(null!=e){var i=this.__shaderBufferPool.get();this.__usedShaderBuffers.add(i),i.update(e),this.__commands.beginShaderFill(i)}},clear:function(){for(var e=this.__usedShaderBuffers.h;null!=e;){var t=e.item;e=e.next;var i=t;this.__shaderBufferPool.release(i)}this.__usedShaderBuffers.clear(),this.__commands.clear(),this.__strokePadding=0,null!=this.__bounds&&(this.set___dirty(!0),this.__transformDirty=!0,this.__bounds=null),this.__visible=!1,this.__positionX=0,this.__positionY=0,this.moveTo(0,0)},copyFrom:function(e){this.__bounds=null!=e.__bounds?e.__bounds.clone():null,this.__commands=e.__commands.copy(),this.set___dirty(!0),this.__strokePadding=e.__strokePadding,this.__positionX=e.__positionX,this.__positionY=e.__positionY,this.__transformDirty=!0,this.__visible=e.__visible},cubicCurveTo:function(e,t,i,l,n,s){this.__inflateBounds(this.__positionX-this.__strokePadding,this.__positionY-this.__strokePadding),this.__inflateBounds(this.__positionX+this.__strokePadding,this.__positionY+this.__strokePadding);var a=n,r=n;if(!(e<n&&e>this.__positionX||e>n&&e<this.__positionX)||!(i<n&&i>this.__positionX||i>n&&i<this.__positionX)){var _=2*this.__positionX-4*e+2*i,o=e-this.__positionX,h=-this.__positionX+3*e+n-3*i,u=(-_+Math.sqrt(_*_-4*o*h))/(2*h),d=(-_-Math.sqrt(_*_-4*o*h))/(2*h);u>0&&u<1&&(a=this.__calculateBezierCubicPoint(u,this.__positionX,e,i,n)),d>0&&d<1&&(r=this.__calculateBezierCubicPoint(d,this.__positionX,e,i,n))}var c=s,p=s;if(!(t<s&&t>this.__positionX||t>s&&t<this.__positionX)||!(l<s&&l>this.__positionX||l>s&&l<this.__positionX)){var _=2*this.__positionX-4*t+2*l,o=t-this.__positionX,h=-this.__positionX+3*t+s-3*l,u=(-_+Math.sqrt(_*_-4*o*h))/(2*h),d=(-_-Math.sqrt(_*_-4*o*h))/(2*h);u>0&&u<1&&(c=this.__calculateBezierCubicPoint(u,this.__positionX,t,l,s)),d>0&&d<1&&(p=this.__calculateBezierCubicPoint(d,this.__positionX,t,l,s))}this.__inflateBounds(a-this.__strokePadding,c-this.__strokePadding),this.__inflateBounds(a+this.__strokePadding,c+this.__strokePadding),this.__inflateBounds(r-this.__strokePadding,p-this.__strokePadding),this.__inflateBounds(r+this.__strokePadding,p+this.__strokePadding),this.__positionX=n,this.__positionY=s,this.__inflateBounds(this.__positionX-this.__strokePadding,this.__positionY-this.__strokePadding),this.__inflateBounds(this.__positionX+this.__strokePadding,this.__positionY+this.__strokePadding),this.__commands.cubicCurveTo(e,t,i,l,n,s),this.set___dirty(!0)},curveTo:function(e,t,i,l){this.__inflateBounds(this.__positionX-this.__strokePadding,this.__positionY-this.__strokePadding),this.__inflateBounds(this.__positionX+this.__strokePadding,this.__positionY+this.__strokePadding);var n,s;if(e<i&&e>this.__positionX||e>i&&e<this.__positionX)n=i;else{var a=(this.__positionX-e)/(this.__positionX-2*e+i);n=this.__calculateBezierQuadPoint(a,this.__positionX,e,i)}if(t<l&&t>this.__positionY||t>l&&t<this.__positionY)s=l;else{var r=(this.__positionY-t)/(this.__positionY-2*t+l);s=this.__calculateBezierQuadPoint(r,this.__positionY,t,l)}this.__inflateBounds(n-this.__strokePadding,s-this.__strokePadding),this.__inflateBounds(n+this.__strokePadding,s+this.__strokePadding),this.__positionX=i,this.__positionY=l,this.__commands.curveTo(e,t,i,l),this.set___dirty(!0)},drawCircle:function(e,t,i){i<=0||(this.__inflateBounds(e-i-this.__strokePadding,t-i-this.__strokePadding),this.__inflateBounds(e+i+this.__strokePadding,t+i+this.__strokePadding),this.__commands.drawCircle(e,t,i),this.set___dirty(!0))},drawEllipse:function(e,t,i,l){i<=0||l<=0||(this.__inflateBounds(e-this.__strokePadding,t-this.__strokePadding),this.__inflateBounds(e+i+this.__strokePadding,t+l+this.__strokePadding),this.__commands.drawEllipse(e,t,i,l),this.set___dirty(!0))},drawGraphicsData:function(e){for(var t,i,l,n,s,a,r,_,o=e.iterator();o.hasNext();){var h=o.next();switch(h.__graphicsDataType){case 0:if(null!=(s=h).fill){var u=s.thickness;switch(isNaN(u)&&(u=null),s.fill.__graphicsFillType){case 0:t=s.fill,this.lineStyle(u,t.color,t.alpha,s.pixelHinting,s.scaleMode,s.caps,s.joints,s.miterLimit);break;case 1:l=s.fill,this.lineStyle(u,0,1,s.pixelHinting,s.scaleMode,s.caps,s.joints,s.miterLimit),this.lineGradientStyle(l.type,l.colors,l.alphas,l.ratios,l.matrix,l.spreadMethod,l.interpolationMethod,l.focalPointRatio);break;case 2:i=s.fill,this.lineStyle(u,0,1,s.pixelHinting,s.scaleMode,s.caps,s.joints,s.miterLimit),this.lineBitmapStyle(i.bitmapData,i.matrix,i.repeat,i.smooth)}}else this.lineStyle();break;case 1:t=h,this.beginFill(t.color,t.alpha);break;case 2:l=h,this.beginGradientFill(l.type,l.colors,l.alphas,l.ratios,l.matrix,l.spreadMethod,l.interpolationMethod,l.focalPointRatio);break;case 3:a=h,this.drawPath(a.commands,a.data,a.winding);break;case 4:i=h,this.beginBitmapFill(i.bitmapData,i.matrix,i.repeat,i.smooth);break;case 5:this.endFill();break;case 6:_=h,this.drawQuads(_.rects,_.indices,_.transforms);break;case 7:r=h,this.drawTriangles(r.vertices,r.indices,r.uvtData,r.culling);break;case 8:n=h,this.beginShaderFill(n.shader,n.matrix)}}},drawPath:function(e,t,i){null==i&&(i=0);var l=0;1==i&&this.__commands.windingNonZero();var n=e.iterator();e:for(;n.hasNext();)switch(n.next()){case 1:this.moveTo(t.get(l),t.get(l+1)),l+=2;break;case 2:this.lineTo(t.get(l),t.get(l+1)),l+=2;break;case 3:this.curveTo(t.get(l),t.get(l+1),t.get(l+2),t.get(l+3)),l+=4;break;case 4:this.moveTo(t.get(l+2),t.get(l+3));break e;case 5:this.lineTo(t.get(l+2),t.get(l+3));break e;case 6:this.cubicCurveTo(t.get(l),t.get(l+1),t.get(l+2),t.get(l+3),t.get(l+4),t.get(l+5)),l+=6}},drawQuads:function(e,t,i){if(null!=e){var l=null!=t,n=!1,s=!1,a=l?t.get_length():Math.floor(e.get_length()/4);if(0!=a){null!=i&&(i.get_length()>=6*a?(n=!0,s=!0):i.get_length()>=4*a?n=!0:i.get_length()>=2*a&&(s=!0));for(var r,_,o=openfl_geom_Rectangle.__pool.get(),h=openfl_geom_Matrix.__pool.get(),u=1/0,d=1/0,c=-1/0,p=-1/0,f=0,m=a;f<m;){var x=f++;(r=l?4*t.get(x):4*x)<0||(o.setTo(0,0,e.get(r+2),e.get(r+3)),o.width<=0||o.height<=0||(n&&s?(_=6*x,h.setTo(i.get(_),i.get(_+1),i.get(_+2),i.get(_+3),i.get(_+4),i.get(_+5))):n?(_=4*x,h.setTo(i.get(_),i.get(_+1),i.get(_+2),i.get(_+3),o.x,o.y)):s?(_=2*x,h.tx=i.get(_),h.ty=i.get(_+1)):(h.tx=o.x,h.ty=o.y),o.__transform(o,h),u>o.x&&(u=o.x),d>o.y&&(d=o.y),c<o.get_right()&&(c=o.get_right()),p<o.get_bottom()&&(p=o.get_bottom())))}this.__inflateBounds(u,d),this.__inflateBounds(c,p),this.__commands.drawQuads(e,t,i),this.set___dirty(!0),this.__visible=!0,openfl_geom_Rectangle.__pool.release(o),openfl_geom_Matrix.__pool.release(h)}}},drawRect:function(e,t,i,l){if(0!=i||0!=l){var n=i<0?-1:1,s=l<0?-1:1;this.__inflateBounds(e-this.__strokePadding*n,t-this.__strokePadding*s),this.__inflateBounds(e+i+this.__strokePadding*n,t+l+this.__strokePadding*s),this.__commands.drawRect(e,t,i,l),this.set___dirty(!0)}},drawRoundRect:function(e,t,i,l,n,s){if(0!=i||0!=l){var a=i<0?-1:1,r=l<0?-1:1;this.__inflateBounds(e-this.__strokePadding*a,t-this.__strokePadding*r),this.__inflateBounds(e+i+this.__strokePadding*a,t+l+this.__strokePadding*r),this.__commands.drawRoundRect(e,t,i,l,n,s),this.set___dirty(!0)}},drawRoundRectComplex:function(e,t,i,l,n,s,a,r){if(!(i<=0||l<=0)){this.__inflateBounds(e-this.__strokePadding,t-this.__strokePadding),this.__inflateBounds(e+i+this.__strokePadding,t+l+this.__strokePadding);var _=e+i,o=t+l,h=i<l?2*i:2*l;n<h||(n=h),s<h||(s=h),a<h||(a=h),r<h||(r=h);var u=1-Math.sin(Math.PI/180*45),d=1-Math.tan(Math.PI/180*22.5),c=r*u,p=r*d;this.moveTo(_,o-r),this.curveTo(_,o-p,_-c,o-c),this.curveTo(_-p,o,_-r,o),c=a*u,p=a*d,this.lineTo(e+a,o),this.curveTo(e+p,o,e+c,o-c),this.curveTo(e,o-p,e,o-a),c=n*u,p=n*d,this.lineTo(e,t+n),this.curveTo(e,t+p,e+c,t+c),this.curveTo(e+p,t,e+n,t),c=s*u,p=s*d,this.lineTo(_-s,t),this.curveTo(_-p,t,_-c,t+c),this.curveTo(_,t+p,_,t+s),this.lineTo(_,o-r),this.set___dirty(!0)}},drawTriangles:function(e,t,i,l){if(null==l&&(l=1),null!=e&&0!=e.get_length()){var n=e.get_length()/2|0;if(null==t){if(n%3!=0)throw haxe_Exception.thrown(new openfl_errors_ArgumentError("Not enough vertices to close a triangle."));t=openfl_Vector.toIntVector(null);for(var s=0,a=n;s<a;){c=s++;t.push(c)}}null==l&&(l=1);for(var r,_,o=1/0,h=1/0,u=-1/0,d=-1/0,s=0,a=n;s<a;){var c=s++;r=e.get(2*c),_=e.get(2*c+1),o>r&&(o=r),h>_&&(h=_),u<r&&(u=r),d<_&&(d=_)}this.__inflateBounds(o,h),this.__inflateBounds(u,d),this.__commands.drawTriangles(e,t,i,l),this.set___dirty(!0),this.__visible=!0}},endFill:function(){this.__commands.endFill()},lineBitmapStyle:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!0),this.__commands.lineBitmapStyle(e,null!=t?t.clone():null,i,l)},lineGradientStyle:function(e,t,i,l,n,s,a,r){null==r&&(r=0),null==a&&(a=1),null==s&&(s=0),this.__commands.lineGradientStyle(e,t,i,l,n,s,a,r)},lineStyle:function(e,t,i,l,n,s,a,r){null==r&&(r=3),null==n&&(n=2),null==l&&(l=!1),null==i&&(i=1),null==t&&(t=0),null!=e&&(1==a?e>this.__strokePadding&&(this.__strokePadding=e):e/2>this.__strokePadding&&(this.__strokePadding=e/2)),this.__commands.lineStyle(e,t,i,l,n,s,a,r),null!=e&&(this.__visible=!0)},lineTo:function(e,t){isFinite(e)&&isFinite(t)&&(this.__inflateBounds(this.__positionX-this.__strokePadding,this.__positionY-this.__strokePadding),this.__inflateBounds(this.__positionX+this.__strokePadding,this.__positionY+this.__strokePadding),this.__positionX=e,this.__positionY=t,this.__inflateBounds(this.__positionX-this.__strokePadding,this.__positionY-this.__strokePadding),this.__inflateBounds(this.__positionX+2*this.__strokePadding,this.__positionY+this.__strokePadding),this.__commands.lineTo(e,t),this.set___dirty(!0))},moveTo:function(e,t){this.__positionX=e,this.__positionY=t,this.__commands.moveTo(e,t)},overrideBlendMode:function(e){null==e&&(e=10),this.__commands.overrideBlendMode(e)},readGraphicsData:function(e){null==e&&(e=!0);var t=openfl_Vector.toObjectVector(null);return this.__owner.__readGraphicsData(t,e),t},__calculateBezierCubicPoint:function(e,t,i,l,n){var s=1-e;return t*(s*s*s)+3*i*e*(s*s)+3*l*s*(e*e)+n*(e*e*e)},__calculateBezierQuadPoint:function(e,t,i,l){var n=1-e;return n*n*t+2*n*e*i+e*e*l},__cleanup:function(){null!=this.__bounds&&null!=this.__canvas&&(this.set___dirty(!0),this.__transformDirty=!0),this.__bitmap=null,this.__canvas=null,this.__context=null},__getBounds:function(e,t){if(null!=this.__bounds){var i=openfl_geom_Rectangle.__pool.get();this.__bounds.__transform(i,t),e.__expand(i.x,i.y,i.width,i.height),openfl_geom_Rectangle.__pool.release(i)}},__hitTest:function(e,t,i,l){if(null==this.__bounds)return!1;var n=l.a*l.d-l.b*l.c,s=0==n?-l.tx:1/n*(l.c*(l.ty-t)+l.d*(e-l.tx)),a=0==(n=l.a*l.d-l.b*l.c)?-l.ty:1/n*(l.a*(t-l.ty)+l.b*(l.tx-e));return!!(s>this.__bounds.x&&a>this.__bounds.y&&this.__bounds.contains(s,a))&&(!i||openfl_display__$internal_CanvasGraphics.hitTest(this,s,a))},__inflateBounds:function(e,t){if(null==this.__bounds)return this.__bounds=new openfl_geom_Rectangle(e,t,0,0),void(this.__transformDirty=!0);e<this.__bounds.x&&(this.__bounds.width+=this.__bounds.x-e,this.__bounds.x=e,this.__transformDirty=!0),t<this.__bounds.y&&(this.__bounds.height+=this.__bounds.y-t,this.__bounds.y=t,this.__transformDirty=!0),e>this.__bounds.x+this.__bounds.width&&(this.__bounds.width=e-this.__bounds.x),t>this.__bounds.y+this.__bounds.height&&(this.__bounds.height=t-this.__bounds.y)},__readGraphicsData:function(e){for(var t,i=new openfl_display__$internal_DrawCommandReader(this.__commands),l=null,n=0,s=this.__commands.types;n<s.length;){var a=s[n];switch(++n,a._hx_index){case 4:case 5:case 6:case 7:case 9:case 10:case 17:case 18:null==l&&(l=new openfl_display_GraphicsPath);break;default:null!=l&&(e.push(l),l=null)}switch(a._hx_index){case 0:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var r=i;e.push(new openfl_display_GraphicsBitmapFill(r.buffer.o[r.oPos],r.buffer.o[r.oPos+1],r.buffer.b[r.bPos],r.buffer.b[r.bPos+1]));break;case 1:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL;var _=i;e.push(new openfl_display_GraphicsSolidFill(_.buffer.i[_.iPos],1));break;case 2:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL;var o=i;e.push(new openfl_display_GraphicsGradientFill(o.buffer.o[o.oPos],o.buffer.ii[o.iiPos],o.buffer.ff[o.ffPos],o.buffer.ii[o.iiPos+1],o.buffer.o[o.oPos+1],o.buffer.o[o.oPos+2],o.buffer.o[o.oPos+3],o.buffer.f[o.fPos]));break;case 3:break;case 4:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO;var h=i;l.cubicCurveTo(h.buffer.f[h.fPos],h.buffer.f[h.fPos+1],h.buffer.f[h.fPos+2],h.buffer.f[h.fPos+3],h.buffer.f[h.fPos+4],h.buffer.f[h.fPos+5]);break;case 5:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.CURVE_TO;var u=i;l.curveTo(u.buffer.f[u.fPos],u.buffer.f[u.fPos+1],u.buffer.f[u.fPos+2],u.buffer.f[u.fPos+3]);break;case 6:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE;var d=i;l.__drawCircle(d.buffer.f[d.fPos],d.buffer.f[d.fPos+1],d.buffer.f[d.fPos+2]);break;case 7:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE;var c=i;l.__drawEllipse(c.buffer.f[c.fPos],c.buffer.f[c.fPos+1],c.buffer.f[c.fPos+2],c.buffer.f[c.fPos+3]);break;case 9:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var p=i;l.__drawRect(p.buffer.f[p.fPos],p.buffer.f[p.fPos+1],p.buffer.f[p.fPos+2],p.buffer.f[p.fPos+3]);break;case 10:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT;var f=i;l.__drawRoundRect(f.buffer.f[f.fPos],f.buffer.f[f.fPos+1],f.buffer.f[f.fPos+2],f.buffer.f[f.fPos+3],f.buffer.f[f.fPos+4],null!=f.buffer.o[f.oPos]?f.buffer.o[f.oPos]:f.buffer.f[f.fPos+4]);break;case 13:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.END_FILL;e.push(new openfl_display_GraphicsEndFill);break;case 14:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE;l=null;break;case 15:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE;break;case 16:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.LINE_STYLE;var m=i;(t=new openfl_display_GraphicsStroke(m.buffer.o[m.oPos],m.buffer.b[m.bPos],m.buffer.o[m.oPos+1],m.buffer.o[m.oPos+2],m.buffer.o[m.oPos+3],m.buffer.f[m.fPos+1])).fill=new openfl_display_GraphicsSolidFill(m.buffer.i[m.iPos],m.buffer.f[m.fPos]),e.push(t);break;case 17:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.LINE_TO;var x=i;l.lineTo(x.buffer.f[x.fPos],x.buffer.f[x.fPos+1]);break;case 18:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var g=i;l.moveTo(g.buffer.f[g.fPos],g.buffer.f[g.fPos+1]);break;default:switch(i.prev._hx_index){case 0:i.oPos+=2,i.bPos+=2;break;case 1:i.iPos+=1,i.fPos+=1;break;case 2:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 3:i.oPos+=1;break;case 4:i.fPos+=6;break;case 5:i.fPos+=4;break;case 6:i.fPos+=3;break;case 7:i.fPos+=4;break;case 8:i.oPos+=3;break;case 9:i.fPos+=4;break;case 10:i.fPos+=5,i.oPos+=1;break;case 12:i.oPos+=4;break;case 13:break;case 14:i.oPos+=2,i.bPos+=2;break;case 15:i.oPos+=4,i.iiPos+=2,i.ffPos+=1,i.fPos+=1;break;case 16:i.oPos+=4,i.iPos+=1,i.fPos+=2,i.bPos+=1;break;case 17:case 18:i.fPos+=2;break;case 19:case 20:i.oPos+=1}i.prev=a}}null!=l&&e.push(l)},__update:function(e){if(!(null==this.__bounds||this.__bounds.width<=0||this.__bounds.height<=0)){var t=this.__owner.__renderTransform,i=1,l=1;if(null!=t){i=0==t.b?Math.abs(t.a):Math.sqrt(t.a*t.a+t.b*t.b),l=0==t.c?Math.abs(t.d):Math.sqrt(t.c*t.c+t.d*t.d),null!=e&&(0==e.b?i*=e.a:i*=Math.sqrt(e.a*e.a+e.b*e.b),0==e.c?l*=e.d:l*=Math.sqrt(e.c*e.c+e.d*e.d));var n=this.__bounds.width*i,s=this.__bounds.height*l;if(n<1||s<1)return(this.__width>=1||this.__height>=1)&&this.set___dirty(!0),this.__width=0,void(this.__height=0);null!=openfl_display_Graphics.maxTextureWidth&&n>openfl_display_Graphics.maxTextureWidth&&(n=openfl_display_Graphics.maxTextureWidth,i=openfl_display_Graphics.maxTextureWidth/this.__bounds.width),null!=openfl_display_Graphics.maxTextureWidth&&s>openfl_display_Graphics.maxTextureHeight&&(s=openfl_display_Graphics.maxTextureHeight,l=openfl_display_Graphics.maxTextureHeight/this.__bounds.height),this.__renderTransform.a=n/this.__bounds.width,this.__renderTransform.d=s/this.__bounds.height;var a=1/this.__renderTransform.a,r=1/this.__renderTransform.d;this.__worldTransform.a=a*t.a,this.__worldTransform.b=a*t.b,this.__worldTransform.c=r*t.c,this.__worldTransform.d=r*t.d;var _=this.__bounds.x,o=this.__bounds.y,h=_*t.a+o*t.c+t.tx,u=_*t.b+o*t.d+t.ty;this.__worldTransform.tx=Math.round(h),this.__worldTransform.ty=Math.round(u);var d=this.__worldTransform,c=d.a*d.d-d.b*d.c;this.__renderTransform.tx=0==c?-d.tx:1/c*(d.c*(d.ty-u)+d.d*(h-d.tx));c=(d=this.__worldTransform).a*d.d-d.b*d.c;this.__renderTransform.ty=0==c?-d.ty:1/c*(d.a*(u-d.ty)+d.b*(d.tx-h));var p=Math.ceil(n+1),f=Math.ceil(s+1);p==this.__width&&f==this.__height||this.set___dirty(!0),this.__width=p,this.__height=f}}},set___dirty:function(e){if(e&&null!=this.__owner){var t=this.__owner;t.__renderDirty||(t.__renderDirty=!0,t.__setParentRenderDirty())}return e&&(this.__softwareDirty=!0,this.__hardwareDirty=!0),this.__dirty=e},__class__:openfl_display_Graphics,__properties__:{set___dirty:"set___dirty"}};var openfl_display_IGraphicsFill=function(){};$hxClasses["openfl.display.IGraphicsFill"]=openfl_display_IGraphicsFill,openfl_display_IGraphicsFill.__name__="openfl.display.IGraphicsFill",openfl_display_IGraphicsFill.__isInterface__=!0,openfl_display_IGraphicsFill.prototype={__graphicsFillType:null,__class__:openfl_display_IGraphicsFill};var openfl_display_IGraphicsData=function(){};$hxClasses["openfl.display.IGraphicsData"]=openfl_display_IGraphicsData,openfl_display_IGraphicsData.__name__="openfl.display.IGraphicsData",openfl_display_IGraphicsData.__isInterface__=!0,openfl_display_IGraphicsData.prototype={__graphicsDataType:null,__class__:openfl_display_IGraphicsData};var openfl_display_GraphicsBitmapFill=function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!0),this.bitmapData=e,this.matrix=t,this.repeat=i,this.smooth=l,this.__graphicsDataType=4,this.__graphicsFillType=2};$hxClasses["openfl.display.GraphicsBitmapFill"]=openfl_display_GraphicsBitmapFill,openfl_display_GraphicsBitmapFill.__name__="openfl.display.GraphicsBitmapFill",openfl_display_GraphicsBitmapFill.__interfaces__=[openfl_display_IGraphicsFill,openfl_display_IGraphicsData],openfl_display_GraphicsBitmapFill.prototype={bitmapData:null,matrix:null,repeat:null,smooth:null,__graphicsDataType:null,__graphicsFillType:null,__class__:openfl_display_GraphicsBitmapFill};var openfl_display_GraphicsEndFill=function(){this.__graphicsDataType=5,this.__graphicsFillType=3};$hxClasses["openfl.display.GraphicsEndFill"]=openfl_display_GraphicsEndFill,openfl_display_GraphicsEndFill.__name__="openfl.display.GraphicsEndFill",openfl_display_GraphicsEndFill.__interfaces__=[openfl_display_IGraphicsFill,openfl_display_IGraphicsData],openfl_display_GraphicsEndFill.prototype={__graphicsDataType:null,__graphicsFillType:null,__class__:openfl_display_GraphicsEndFill};var openfl_display_GraphicsGradientFill=function(e,t,i,l,n,s,a,r){null==r&&(r=0),null==e&&(e=0),null==s&&(s=0),null==a&&(a=1),this.type=e,this.colors=t,this.alphas=i,this.ratios=l,this.matrix=n,this.spreadMethod=s,this.interpolationMethod=a,this.focalPointRatio=r,this.__graphicsDataType=2,this.__graphicsFillType=1};$hxClasses["openfl.display.GraphicsGradientFill"]=openfl_display_GraphicsGradientFill,openfl_display_GraphicsGradientFill.__name__="openfl.display.GraphicsGradientFill",openfl_display_GraphicsGradientFill.__interfaces__=[openfl_display_IGraphicsFill,openfl_display_IGraphicsData],openfl_display_GraphicsGradientFill.prototype={alphas:null,colors:null,focalPointRatio:null,interpolationMethod:null,matrix:null,ratios:null,spreadMethod:null,type:null,__graphicsDataType:null,__graphicsFillType:null,__class__:openfl_display_GraphicsGradientFill};var openfl_display_IGraphicsPath=function(){};$hxClasses["openfl.display.IGraphicsPath"]=openfl_display_IGraphicsPath,openfl_display_IGraphicsPath.__name__="openfl.display.IGraphicsPath",openfl_display_IGraphicsPath.__isInterface__=!0;var openfl_display_GraphicsPath=function(e,t,i){null==i&&(i=0),this.commands=e,this.data=t,this.winding=i,this.__graphicsDataType=3};$hxClasses["openfl.display.GraphicsPath"]=openfl_display_GraphicsPath,openfl_display_GraphicsPath.__name__="openfl.display.GraphicsPath",openfl_display_GraphicsPath.__interfaces__=[openfl_display_IGraphicsPath,openfl_display_IGraphicsData],openfl_display_GraphicsPath.prototype={commands:null,data:null,winding:null,__graphicsDataType:null,cubicCurveTo:function(e,t,i,l,n,s){null==this.commands&&(this.commands=openfl_Vector.toIntVector(null)),null==this.data&&(this.data=openfl_Vector.toFloatVector(null)),this.commands.push(6),this.data.push(e),this.data.push(t),this.data.push(i),this.data.push(l),this.data.push(n),this.data.push(s)},curveTo:function(e,t,i,l){null==this.commands&&(this.commands=openfl_Vector.toIntVector(null)),null==this.data&&(this.data=openfl_Vector.toFloatVector(null)),this.commands.push(3),this.data.push(e),this.data.push(t),this.data.push(i),this.data.push(l)},lineTo:function(e,t){null==this.commands&&(this.commands=openfl_Vector.toIntVector(null)),null==this.data&&(this.data=openfl_Vector.toFloatVector(null)),this.commands.push(2),this.data.push(e),this.data.push(t)},moveTo:function(e,t){null==this.commands&&(this.commands=openfl_Vector.toIntVector(null)),null==this.data&&(this.data=openfl_Vector.toFloatVector(null)),this.commands.push(1),this.data.push(e),this.data.push(t)},wideLineTo:function(e,t){null==this.commands&&(this.commands=openfl_Vector.toIntVector(null)),null==this.data&&(this.data=openfl_Vector.toFloatVector(null)),this.commands.push(2),this.data.push(e),this.data.push(t)},wideMoveTo:function(e,t){null==this.commands&&(this.commands=openfl_Vector.toIntVector(null)),null==this.data&&(this.data=openfl_Vector.toFloatVector(null)),this.commands.push(1),this.data.push(e),this.data.push(t)},__drawCircle:function(e,t,i){this.__drawRoundRect(e-i,t-i,2*i,2*i,2*i,2*i)},__drawEllipse:function(e,t,i,l){this.__drawRoundRect(e,t,i,l,i,l)},__drawRect:function(e,t,i,l){this.moveTo(e,t),this.lineTo(e+i,t),this.lineTo(e+i,t+l),this.lineTo(e,t+l),this.lineTo(e,t)},__drawRoundRect:function(e,t,i,l,n,s){s*=.5,(n*=.5)>i/2&&(n=i/2),s>l/2&&(s=l/2);var a=e+i,r=t+l,_=.7071067811865476*n-n,o=.41421356237309503*n-n,h=.7071067811865476*s-s,u=.41421356237309503*s-s;this.moveTo(a,r-s),this.curveTo(a,r+u,a+_,r+h),this.curveTo(a+o,r,a-n,r),this.lineTo(e+n,r),this.curveTo(e-o,r,e-_,r+h),this.curveTo(e,r+u,e,r-s),this.lineTo(e,t+s),this.curveTo(e,t-u,e-_,t-h),this.curveTo(e-o,t,e+n,t),this.lineTo(a-n,t),this.curveTo(a+o,t,a+_,t-h),this.curveTo(a,t-u,a,t+s),this.lineTo(a,r-s)},__class__:openfl_display_GraphicsPath};var openfl_display_GraphicsPathWinding={};openfl_display_GraphicsPathWinding.fromString=function(e){switch(e){case"evenOdd":return 0;case"nonZero":return 1;default:return null}},openfl_display_GraphicsPathWinding.toString=function(e){switch(e){case 0:return"evenOdd";case 1:return"nonZero";default:return null}};var openfl_display_GraphicsQuadPath=function(e,t,i){this.rects=e,this.indices=t,this.transforms=i,this.__graphicsDataType=6};$hxClasses["openfl.display.GraphicsQuadPath"]=openfl_display_GraphicsQuadPath,openfl_display_GraphicsQuadPath.__name__="openfl.display.GraphicsQuadPath",openfl_display_GraphicsQuadPath.__interfaces__=[openfl_display_IGraphicsPath,openfl_display_IGraphicsData],openfl_display_GraphicsQuadPath.prototype={indices:null,rects:null,transforms:null,__graphicsDataType:null,__class__:openfl_display_GraphicsQuadPath};var openfl_display_GraphicsShaderFill=function(e,t){this.shader=e,this.matrix=t,this.__graphicsDataType=8,this.__graphicsFillType=4};$hxClasses["openfl.display.GraphicsShaderFill"]=openfl_display_GraphicsShaderFill,openfl_display_GraphicsShaderFill.__name__="openfl.display.GraphicsShaderFill",openfl_display_GraphicsShaderFill.__interfaces__=[openfl_display_IGraphicsFill,openfl_display_IGraphicsData],openfl_display_GraphicsShaderFill.prototype={matrix:null,shader:null,__graphicsDataType:null,__graphicsFillType:null,__class__:openfl_display_GraphicsShaderFill};var openfl_display_GraphicsSolidFill=function(e,t){null==t&&(t=1),null==e&&(e=0),this.alpha=t,this.color=e,this.__graphicsDataType=1,this.__graphicsFillType=0};$hxClasses["openfl.display.GraphicsSolidFill"]=openfl_display_GraphicsSolidFill,openfl_display_GraphicsSolidFill.__name__="openfl.display.GraphicsSolidFill",openfl_display_GraphicsSolidFill.__interfaces__=[openfl_display_IGraphicsFill,openfl_display_IGraphicsData],openfl_display_GraphicsSolidFill.prototype={alpha:null,color:null,__graphicsDataType:null,__graphicsFillType:null,__class__:openfl_display_GraphicsSolidFill};var openfl_display_IGraphicsStroke=function(){};$hxClasses["openfl.display.IGraphicsStroke"]=openfl_display_IGraphicsStroke,openfl_display_IGraphicsStroke.__name__="openfl.display.IGraphicsStroke",openfl_display_IGraphicsStroke.__isInterface__=!0;var openfl_display_GraphicsStroke=function(e,t,i,l,n,s,a){null==s&&(s=3),null==n&&(n=2),null==l&&(l=0),null==i&&(i=2),null==t&&(t=!1),null==e&&(e=NaN),this.caps=l,this.fill=a,this.joints=n,this.miterLimit=s,this.pixelHinting=t,this.scaleMode=i,this.thickness=e,this.__graphicsDataType=0};$hxClasses["openfl.display.GraphicsStroke"]=openfl_display_GraphicsStroke,openfl_display_GraphicsStroke.__name__="openfl.display.GraphicsStroke",openfl_display_GraphicsStroke.__interfaces__=[openfl_display_IGraphicsStroke,openfl_display_IGraphicsData],openfl_display_GraphicsStroke.prototype={caps:null,fill:null,joints:null,miterLimit:null,pixelHinting:null,scaleMode:null,thickness:null,__graphicsDataType:null,__class__:openfl_display_GraphicsStroke};var openfl_display_GraphicsTrianglePath=function(e,t,i,l){null==l&&(l=1),this.vertices=e,this.indices=t,this.uvtData=i,this.culling=l,this.__graphicsDataType=7};$hxClasses["openfl.display.GraphicsTrianglePath"]=openfl_display_GraphicsTrianglePath,openfl_display_GraphicsTrianglePath.__name__="openfl.display.GraphicsTrianglePath",openfl_display_GraphicsTrianglePath.__interfaces__=[openfl_display_IGraphicsPath,openfl_display_IGraphicsData],openfl_display_GraphicsTrianglePath.prototype={culling:null,indices:null,uvtData:null,vertices:null,__graphicsDataType:null,__class__:openfl_display_GraphicsTrianglePath};var openfl_display_InterpolationMethod={};openfl_display_InterpolationMethod.fromInt=function(e){return e},openfl_display_InterpolationMethod.fromString=function(e){switch(e){case"linearRGB":return 0;case"rgb":return 1;default:return null}},openfl_display_InterpolationMethod.toInt=function(e){return e},openfl_display_InterpolationMethod.toString=function(e){switch(e){case 0:return"linearRGB";case 1:return"rgb";default:return null}};var openfl_display_JPEGEncoderOptions=function(e){null==e&&(e=80),this.quality=e};$hxClasses["openfl.display.JPEGEncoderOptions"]=openfl_display_JPEGEncoderOptions,openfl_display_JPEGEncoderOptions.__name__="openfl.display.JPEGEncoderOptions",openfl_display_JPEGEncoderOptions.prototype={quality:null,__class__:openfl_display_JPEGEncoderOptions};var openfl_display_JointStyle={};openfl_display_JointStyle.fromInt=function(e){return e},openfl_display_JointStyle.fromString=function(e){switch(e){case"bevel":return 0;case"miter":return 1;case"round":return 2;default:return null}},openfl_display_JointStyle.toInt=function(e){return e},openfl_display_JointStyle.toString=function(e){switch(e){case 0:return"bevel";case 1:return"miter";case 2:return"round";default:return null}};var openfl_display_LineScaleMode={};openfl_display_LineScaleMode.fromInt=function(e){return e},openfl_display_LineScaleMode.fromString=function(e){switch(e){case"horizontal":return 0;case"none":return 1;case"normal":return 2;case"vertical":return 3;default:return null}},openfl_display_LineScaleMode.toInt=function(e){return e},openfl_display_LineScaleMode.toString=function(e){switch(e){case 0:return"horizontal";case 1:return"none";case 2:return"normal";case 3:return"vertical";default:return null}};var openfl_display_Loader=function(){openfl_display_DisplayObjectContainer.call(this),this.contentLoaderInfo=openfl_display_LoaderInfo.create(this),this.uncaughtErrorEvents=this.contentLoaderInfo.uncaughtErrorEvents,this.__unloaded=!0};$hxClasses["openfl.display.Loader"]=openfl_display_Loader,openfl_display_Loader.__name__="openfl.display.Loader",openfl_display_Loader.__super__=openfl_display_DisplayObjectContainer,openfl_display_Loader.prototype=$extend(openfl_display_DisplayObjectContainer.prototype,{content:null,contentLoaderInfo:null,uncaughtErrorEvents:null,__library:null,__path:null,__unloaded:null,close:function(){openfl__$internal_Lib.notImplemented({fileName:"openfl/display/Loader.hx",lineNumber:66,className:"openfl.display.Loader",methodName:"close"})},load:function(e,t){if(this.unload(),this.contentLoaderInfo.loaderURL=openfl_Lib.get_current().get_loaderInfo().url,this.contentLoaderInfo.url=e.url,this.__unloaded=!1,null==e.contentType||""==e.contentType){var i="";this.__path=e.url;var l=this.__path.indexOf("?");for(l>-1&&(this.__path=this.__path.substring(0,l));StringTools.endsWith(this.__path,"/");)this.__path=this.__path.substring(0,this.__path.length-1);StringTools.endsWith(this.__path,".bundle")&&(this.__path+="/library.json",e.url=l>-1?this.__path+e.url.substring(l):this.__path);var n=this.__path.lastIndexOf(".");n>-1&&(i=this.__path.substring(n+1));var s;switch(i){case"gif":s="image/gif";break;case"jpeg":case"jpg":s="image/jpeg";break;case"js":s="application/javascript";break;case"json":s="application/json";break;case"png":s="image/png";break;case"swf":s="application/x-shockwave-flash";break;default:s="application/x-www-form-urlencoded"}this.contentLoaderInfo.contentType=s}else this.contentLoaderInfo.contentType=e.contentType;if(this.contentLoaderInfo.contentType.indexOf("image/")>-1&&"GET"==e.method&&(null==e.requestHeaders||0==e.requestHeaders.length)&&null==e.userAgent)openfl_display_BitmapData.loadFromFile(e.url).onComplete($bind(this,this.BitmapData_onLoad)).onError($bind(this,this.BitmapData_onError)).onProgress($bind(this,this.BitmapData_onProgress));else{var a=new openfl_net_URLLoader;a.dataFormat=0,(this.contentLoaderInfo.contentType.indexOf("/json")>-1||this.contentLoaderInfo.contentType.indexOf("/javascript")>-1||this.contentLoaderInfo.contentType.indexOf("/ecmascript")>-1)&&(a.dataFormat=1),a.addEventListener("complete",$bind(this,this.loader_onComplete)),a.addEventListener("ioError",$bind(this,this.loader_onError)),a.addEventListener("progress",$bind(this,this.loader_onProgress)),a.load(e)}},loadBytes:function(e,t){openfl_display_BitmapData.loadFromBytes(e).onComplete($bind(this,this.BitmapData_onLoad)).onError($bind(this,this.BitmapData_onError))},unload:function(){this.__unloaded||(null!=this.content&&this.content.parent==this&&openfl_display_DisplayObjectContainer.prototype.removeChild.call(this,this.content),null!=this.__library&&(openfl_utils_Assets.unloadLibrary(this.contentLoaderInfo.url),this.__library=null),this.content=null,this.contentLoaderInfo.url=null,this.contentLoaderInfo.contentType=null,this.contentLoaderInfo.content=null,this.contentLoaderInfo.bytesLoaded=0,this.contentLoaderInfo.bytesTotal=0,this.contentLoaderInfo.width=0,this.contentLoaderInfo.height=0,this.__unloaded=!0,this.contentLoaderInfo.dispatchEvent(new openfl_events_Event("unload")))},unloadAndStop:function(e){null==e&&(e=!0),null!=this.content&&this.content.__stopAllMovieClips();for(var t=0,i=this.get_numChildren();t<i;){var l=t++;this.getChildAt(l).__stopAllMovieClips()}this.unload()},__dispatchError:function(e){var t=new openfl_events_IOErrorEvent("ioError");t.text=e,this.contentLoaderInfo.dispatchEvent(t)},__setContent:function(e,t,i){this.content=e,this.contentLoaderInfo.content=e,this.contentLoaderInfo.width=t,this.contentLoaderInfo.height=i,null!=e&&openfl_display_DisplayObjectContainer.prototype.addChildAt.call(this,e,0)},BitmapData_onError:function(e){this.__dispatchError(Std.string(e))},BitmapData_onLoad:function(e){null!=e?(this.__setContent(new openfl_display_Bitmap(e),e.width,e.height),this.contentLoaderInfo.dispatchEvent(new openfl_events_Event("complete"))):this.__dispatchError("Unknown error")},BitmapData_onProgress:function(e,t){var i=new openfl_events_ProgressEvent("progress");i.bytesLoaded=e,i.bytesTotal=t,this.contentLoaderInfo.dispatchEvent(i)},loader_onComplete:function(event){var _gthis=this,loader=event.target;if(null!=this.contentLoaderInfo.contentType&&this.contentLoaderInfo.contentType.indexOf("/json")>-1){var manifest=lime_utils_AssetManifest.parse(loader.data,haxe_io_Path.directory(this.__path));if(null==manifest)return void this.__dispatchError("Cannot parse asset manifest");var library=lime_utils_AssetLibrary.fromManifest(manifest);if(null==library)return void this.__dispatchError("Cannot open library");library instanceof openfl_utils_AssetLibrary&&library.load().onComplete(function(e){_gthis.__library=library,openfl_utils_Assets.registerLibrary(_gthis.contentLoaderInfo.url,_gthis.__library),null==manifest.name||openfl_utils_Assets.hasLibrary(manifest.name)||openfl_utils_Assets.registerLibrary(manifest.name,_gthis.__library);var t=_gthis.__library.getMovieClip("");_gthis.__setContent(t,0|t.get_width(),0|t.get_height()),_gthis.contentLoaderInfo.dispatchEvent(new openfl_events_Event("complete"))}).onError(function(e){_gthis.__dispatchError(e)})}else null!=this.contentLoaderInfo.contentType&&(this.contentLoaderInfo.contentType.indexOf("/javascript")>-1||this.contentLoaderInfo.contentType.indexOf("/ecmascript")>-1)?(this.__setContent(new openfl_display_Sprite,0,0),eval("(function () {"+Std.string(loader.data)+"})()"),this.contentLoaderInfo.dispatchEvent(new openfl_events_Event("complete"))):(this.contentLoaderInfo.bytes=loader.data,openfl_display_BitmapData.loadFromBytes(loader.data).onComplete($bind(this,this.BitmapData_onLoad)).onError($bind(this,this.BitmapData_onError)))},loader_onError:function(e){e.target=this.contentLoaderInfo,this.contentLoaderInfo.dispatchEvent(e)},loader_onProgress:function(e){e.target=this.contentLoaderInfo,this.contentLoaderInfo.dispatchEvent(e)},__class__:openfl_display_Loader});var openfl_display_LoaderInfo=function(){openfl_events_EventDispatcher.call(this),this.applicationDomain=openfl_system_ApplicationDomain.currentDomain,this.bytesLoaded=0,this.bytesTotal=0,this.childAllowsParent=!0,this.parameters={}};$hxClasses["openfl.display.LoaderInfo"]=openfl_display_LoaderInfo,openfl_display_LoaderInfo.__name__="openfl.display.LoaderInfo",openfl_display_LoaderInfo.create=function(e){var t=new openfl_display_LoaderInfo;return t.uncaughtErrorEvents=new openfl_events_UncaughtErrorEvents,null!=e?t.loader=e:t.url=openfl_display_LoaderInfo.__rootURL,t},openfl_display_LoaderInfo.__super__=openfl_events_EventDispatcher,openfl_display_LoaderInfo.prototype=$extend(openfl_events_EventDispatcher.prototype,{applicationDomain:null,bytes:null,bytesLoaded:null,bytesTotal:null,childAllowsParent:null,content:null,contentType:null,frameRate:null,height:null,loader:null,loaderURL:null,parameters:null,parentAllowsChild:null,sameDomain:null,sharedEvents:null,uncaughtErrorEvents:null,url:null,width:null,__completed:null,__complete:function(){this.__completed||(this.bytesLoaded<this.bytesTotal&&(this.bytesLoaded=this.bytesTotal),this.__update(this.bytesLoaded,this.bytesTotal),this.__completed=!0,this.dispatchEvent(new openfl_events_Event("complete")))},__update:function(e,t){this.bytesLoaded=e,this.bytesTotal=t,this.dispatchEvent(new openfl_events_ProgressEvent("progress",!1,!1,e,t))},__class__:openfl_display_LoaderInfo});var openfl_display_MovieClip=function(){if(openfl_display_Sprite.call(this),this.__enabled=!0,null!=openfl_display_MovieClip.__constructor){var e=openfl_display_MovieClip.__constructor;openfl_display_MovieClip.__constructor=null,e(this)}};$hxClasses["openfl.display.MovieClip"]=openfl_display_MovieClip,openfl_display_MovieClip.__name__="openfl.display.MovieClip",openfl_display_MovieClip.__constructor=null,openfl_display_MovieClip.fromTimeline=function(e){var t=new openfl_display_MovieClip;return t.attachTimeline(e),t},openfl_display_MovieClip.__super__=openfl_display_Sprite,openfl_display_MovieClip.prototype=$extend(openfl_display_Sprite.prototype,{__enabled:null,__hasDown:null,__hasOver:null,__hasUp:null,__mouseIsDown:null,__scene:null,__timeline:null,addFrameScript:function(e,t){null!=this.__timeline&&this.__timeline.__addFrameScript(e,t)},attachTimeline:function(e){this.__timeline=e,null!=e&&(e.__attachMovieClip(this),this.play())},gotoAndPlay:function(e,t){null!=this.__timeline&&this.__timeline.__gotoAndPlay(e,t)},gotoAndStop:function(e,t){null!=this.__timeline&&this.__timeline.__gotoAndStop(e,t)},nextFrame:function(){null!=this.__timeline&&this.__timeline.__nextFrame()},nextScene:function(){null!=this.__timeline&&this.__timeline.__nextScene()},play:function(){null!=this.__timeline&&this.__timeline.__play()},prevFrame:function(){null!=this.__timeline&&this.__timeline.__prevFrame()},prevScene:function(){null!=this.__timeline&&this.__timeline.__prevScene()},stop:function(){null!=this.__timeline&&this.__timeline.__stop()},__enterFrame:function(e){null!=this.__timeline&&this.__timeline.__enterFrame(e);for(var t=0,i=this.__children;t<i.length;){var l=i[t];++t,l.__enterFrame(e)}},__stopAllMovieClips:function(){openfl_display_Sprite.prototype.__stopAllMovieClips.call(this),this.stop()},__tabTest:function(e){this.__enabled&&openfl_display_Sprite.prototype.__tabTest.call(this,e)},__onMouseDown:function(e){this.__enabled&&this.__hasDown&&this.gotoAndStop("_down"),this.__mouseIsDown=!0,this.stage.addEventListener("mouseUp",$bind(this,this.__onMouseUp),!0)},__onMouseUp:function(e){this.__mouseIsDown=!1,null!=this.stage&&this.stage.removeEventListener("mouseUp",$bind(this,this.__onMouseUp)),this.__buttonMode&&(e.target==this&&this.__enabled&&this.__hasOver?this.gotoAndStop("_over"):this.__enabled&&this.__hasUp&&this.gotoAndStop("_up"))},__onRollOut:function(e){this.__enabled&&(this.__mouseIsDown&&this.__hasOver?this.gotoAndStop("_over"):this.__hasUp&&this.gotoAndStop("_up"))},__onRollOver:function(e){this.__enabled&&this.__hasOver&&this.gotoAndStop("_over")},set_buttonMode:function(e){if(this.__buttonMode!=e){if(e){this.__hasDown=!1,this.__hasOver=!1,this.__hasUp=!1;for(var t=0,i=this.get_currentLabels();t<i.length;){var l=i[t];switch(++t,l.name){case"_down":this.__hasDown=!0;break;case"_over":this.__hasOver=!0;break;case"_up":this.__hasUp=!0}}(this.__hasDown||this.__hasOver||this.__hasUp)&&(this.addEventListener("rollOver",$bind(this,this.__onRollOver)),this.addEventListener("rollOut",$bind(this,this.__onRollOut)),this.addEventListener("mouseDown",$bind(this,this.__onMouseDown)))}else this.removeEventListener("rollOver",$bind(this,this.__onRollOver)),this.removeEventListener("rollOut",$bind(this,this.__onRollOut)),this.removeEventListener("mouseDown",$bind(this,this.__onMouseDown));this.__buttonMode=e}return e},get_currentFrame:function(){return null!=this.__timeline?this.__timeline.__currentFrame:1},get_currentFrameLabel:function(){return null!=this.__timeline?this.__timeline.__currentFrameLabel:null},get_currentLabel:function(){return null!=this.__timeline?this.__timeline.__currentLabel:null},get_currentLabels:function(){return null!=this.__timeline?this.__timeline.__currentLabels.slice():[]},get_currentScene:function(){return null!=this.__timeline?this.__timeline.__currentScene:(null==this.__scene&&(this.__scene=new openfl_display_Scene("",[],1)),this.__scene)},get_enabled:function(){return this.__enabled},set_enabled:function(e){return this.__enabled=e},get_framesLoaded:function(){return null!=this.__timeline?this.__timeline.__framesLoaded:1},get_isPlaying:function(){return null!=this.__timeline&&this.__timeline.__isPlaying},get_scenes:function(){return null!=this.__timeline?this.__timeline.scenes.slice():[this.get_currentScene()]},get_totalFrames:function(){return null!=this.__timeline?this.__timeline.__totalFrames:1},__class__:openfl_display_MovieClip,__properties__:$extend(openfl_display_Sprite.prototype.__properties__,{get_totalFrames:"get_totalFrames",get_scenes:"get_scenes",get_isPlaying:"get_isPlaying",get_framesLoaded:"get_framesLoaded",set_enabled:"set_enabled",get_enabled:"get_enabled",get_currentScene:"get_currentScene",get_currentLabels:"get_currentLabels",get_currentLabel:"get_currentLabel",get_currentFrameLabel:"get_currentFrameLabel",get_currentFrame:"get_currentFrame"})});var openfl_display_OpenGLRenderer=function(e,t){openfl_display_DisplayObjectRenderer.call(this),this.__context3D=e,this.__context=e.__context,this.gl=e.__context.webgl,this.__gl=this.gl,this.__defaultRenderTarget=t,this.__flipped=null==this.__defaultRenderTarget,null==openfl_display_Graphics.maxTextureWidth&&(openfl_display_Graphics.maxTextureWidth=openfl_display_Graphics.maxTextureHeight=this.__gl.getParameter(this.__gl.MAX_TEXTURE_SIZE)),this.__matrix=lime_math_Matrix4._new(),this.__values=[],this.__softwareRenderer=new openfl_display_CanvasRenderer(null),this.__type="opengl",this.__setBlendMode(10),this.__context3D.__setGLBlend(!0),this.__clipRects=[],this.__maskObjects=[],this.__numClipRects=0,this.__projection=lime_math_Matrix4._new(),this.__projectionFlipped=lime_math_Matrix4._new(),this.__stencilReference=0,this.__tempRect=new openfl_geom_Rectangle,this.__defaultDisplayShader=new openfl_display_DisplayObjectShader,this.__defaultGraphicsShader=new openfl_display_GraphicsShader,this.__defaultShader=this.__defaultDisplayShader,this.__initShader(this.__defaultShader),this.__scrollRectMasks=new lime_utils_ObjectPool(function(){return new openfl_display_Shape}),this.__maskShader=new openfl_display__$internal_Context3DMaskShader};$hxClasses["openfl.display.OpenGLRenderer"]=openfl_display_OpenGLRenderer,openfl_display_OpenGLRenderer.__name__="openfl.display.OpenGLRenderer",openfl_display_OpenGLRenderer.__super__=openfl_display_DisplayObjectRenderer,openfl_display_OpenGLRenderer.prototype=$extend(openfl_display_DisplayObjectRenderer.prototype,{gl:null,__context3D:null,__clipRects:null,__currentDisplayShader:null,__currentGraphicsShader:null,__currentRenderTarget:null,__currentShader:null,__currentShaderBuffer:null,__defaultDisplayShader:null,__defaultGraphicsShader:null,__defaultRenderTarget:null,__defaultShader:null,__displayHeight:null,__displayWidth:null,__flipped:null,__gl:null,__height:null,__maskShader:null,__matrix:null,__maskObjects:null,__numClipRects:null,__offsetX:null,__offsetY:null,__projection:null,__projectionFlipped:null,__scrollRectMasks:null,__softwareRenderer:null,__stencilReference:null,__tempRect:null,__updatedStencil:null,__upscaled:null,__values:null,__width:null,applyAlpha:function(e){openfl_display_OpenGLRenderer.__alphaValue[0]=e,null!=this.__currentShaderBuffer?this.__currentShaderBuffer.addFloatOverride("openfl_Alpha",openfl_display_OpenGLRenderer.__alphaValue):null!=this.__currentShader&&null!=this.__currentShader.__alpha&&(this.__currentShader.__alpha.value=openfl_display_OpenGLRenderer.__alphaValue)},applyBitmapData:function(e,t,i){null==i&&(i=!1),null!=this.__currentShaderBuffer?null!=e&&(openfl_display_OpenGLRenderer.__textureSizeValue[0]=e.__textureWidth,openfl_display_OpenGLRenderer.__textureSizeValue[1]=e.__textureHeight,this.__currentShaderBuffer.addFloatOverride("openfl_TextureSize",openfl_display_OpenGLRenderer.__textureSizeValue)):null!=this.__currentShader&&(null!=this.__currentShader.__bitmap&&(this.__currentShader.__bitmap.input=e,this.__currentShader.__bitmap.filter=t&&this.__allowSmoothing?4:5,this.__currentShader.__bitmap.mipFilter=2,this.__currentShader.__bitmap.wrap=i?2:0),null!=this.__currentShader.__texture&&(this.__currentShader.__texture.input=e,this.__currentShader.__texture.filter=t&&this.__allowSmoothing?4:5,this.__currentShader.__texture.mipFilter=2,this.__currentShader.__texture.wrap=i?2:0),null!=this.__currentShader.__textureSize&&(null!=e?(openfl_display_OpenGLRenderer.__textureSizeValue[0]=e.__textureWidth,openfl_display_OpenGLRenderer.__textureSizeValue[1]=e.__textureHeight,this.__currentShader.__textureSize.value=openfl_display_OpenGLRenderer.__textureSizeValue):this.__currentShader.__textureSize.value=null))},applyColorTransform:function(e){var t=null!=e&&!e.__isDefault(!0);this.applyHasColorTransform(t),t?(e.__setArrays(openfl_display_OpenGLRenderer.__colorMultipliersValue,openfl_display_OpenGLRenderer.__colorOffsetsValue),null!=this.__currentShaderBuffer?(this.__currentShaderBuffer.addFloatOverride("openfl_ColorMultiplier",openfl_display_OpenGLRenderer.__colorMultipliersValue),this.__currentShaderBuffer.addFloatOverride("openfl_ColorOffset",openfl_display_OpenGLRenderer.__colorOffsetsValue)):null!=this.__currentShader&&(null!=this.__currentShader.__colorMultiplier&&(this.__currentShader.__colorMultiplier.value=openfl_display_OpenGLRenderer.__colorMultipliersValue),null!=this.__currentShader.__colorOffset&&(this.__currentShader.__colorOffset.value=openfl_display_OpenGLRenderer.__colorOffsetsValue))):null!=this.__currentShaderBuffer?(this.__currentShaderBuffer.addFloatOverride("openfl_ColorMultiplier",openfl_display_OpenGLRenderer.__emptyColorValue),this.__currentShaderBuffer.addFloatOverride("openfl_ColorOffset",openfl_display_OpenGLRenderer.__emptyColorValue)):null!=this.__currentShader&&(null!=this.__currentShader.__colorMultiplier&&(this.__currentShader.__colorMultiplier.value=openfl_display_OpenGLRenderer.__emptyColorValue),null!=this.__currentShader.__colorOffset&&(this.__currentShader.__colorOffset.value=openfl_display_OpenGLRenderer.__emptyColorValue))},applyHasColorTransform:function(e){openfl_display_OpenGLRenderer.__hasColorTransformValue[0]=e,null!=this.__currentShaderBuffer?this.__currentShaderBuffer.addBoolOverride("openfl_HasColorTransform",openfl_display_OpenGLRenderer.__hasColorTransformValue):null!=this.__currentShader&&null!=this.__currentShader.__hasColorTransform&&(this.__currentShader.__hasColorTransform.value=openfl_display_OpenGLRenderer.__hasColorTransformValue)},applyMatrix:function(e){null!=this.__currentShaderBuffer?this.__currentShaderBuffer.addFloatOverride("openfl_Matrix",e):null!=this.__currentShader&&null!=this.__currentShader.__matrix&&(this.__currentShader.__matrix.value=e)},getMatrix:function(e){if(null!=this.gl){var t=this.__getMatrix(e,1);return lime_math_Matrix4.set(this.__matrix,0,t[0]),lime_math_Matrix4.set(this.__matrix,1,t[1]),lime_math_Matrix4.set(this.__matrix,2,t[2]),lime_math_Matrix4.set(this.__matrix,3,t[3]),lime_math_Matrix4.set(this.__matrix,4,t[4]),lime_math_Matrix4.set(this.__matrix,5,t[5]),lime_math_Matrix4.set(this.__matrix,6,t[6]),lime_math_Matrix4.set(this.__matrix,7,t[7]),lime_math_Matrix4.set(this.__matrix,8,t[8]),lime_math_Matrix4.set(this.__matrix,9,t[9]),lime_math_Matrix4.set(this.__matrix,10,t[10]),lime_math_Matrix4.set(this.__matrix,11,t[11]),lime_math_Matrix4.set(this.__matrix,12,t[12]),lime_math_Matrix4.set(this.__matrix,13,t[13]),lime_math_Matrix4.set(this.__matrix,14,t[14]),lime_math_Matrix4.set(this.__matrix,15,t[15]),this.__matrix}return lime_math_Matrix4.identity(this.__matrix),lime_math_Matrix4.set(this.__matrix,0,e.a),lime_math_Matrix4.set(this.__matrix,1,e.b),lime_math_Matrix4.set(this.__matrix,4,e.c),lime_math_Matrix4.set(this.__matrix,5,e.d),lime_math_Matrix4.set(this.__matrix,12,e.tx),lime_math_Matrix4.set(this.__matrix,13,e.ty),this.__matrix},setShader:function(e){if(this.__currentShaderBuffer=null,this.__currentShader!=e){this.__currentShader;if(null==e)return this.__currentShader=null,void this.__context3D.setProgram(null);this.__currentShader=e,this.__initShader(e),this.__context3D.setProgram(e.program),this.__context3D.__flushGLProgram(),this.__currentShader.__enable(),this.__context3D.__state.shader=e}},setViewport:function(){this.__gl.viewport(this.__offsetX,this.__offsetY,this.__displayWidth,this.__displayHeight)},updateShader:function(){null!=this.__currentShader&&(null!=this.__currentShader.__position&&(this.__currentShader.__position.__useArray=!0),null!=this.__currentShader.__textureCoord&&(this.__currentShader.__textureCoord.__useArray=!0),this.__context3D.setProgram(this.__currentShader.program),this.__context3D.__flushGLProgram(),this.__context3D.__flushGLTextures(),this.__currentShader.__update())},useAlphaArray:function(){null!=this.__currentShader&&null!=this.__currentShader.__alpha&&(this.__currentShader.__alpha.__useArray=!0)},useColorTransformArray:function(){null!=this.__currentShader&&(null!=this.__currentShader.__colorMultiplier&&(this.__currentShader.__colorMultiplier.__useArray=!0),null!=this.__currentShader.__colorOffset&&(this.__currentShader.__colorOffset.__useArray=!0))},__cleanup:function(){this.__stencilReference>0&&(this.__stencilReference=0,this.__context3D.setStencilActions(),this.__context3D.setStencilReferenceValue(0,0,0)),this.__numClipRects>0&&(this.__numClipRects=0,this.__scissorRect())},__clear:function(){null==this.__stage||this.__stage.__transparent?this.__context3D.clear(0,0,0,0,0,0,1):this.__context3D.clear(this.__stage.__colorSplit[0],this.__stage.__colorSplit[1],this.__stage.__colorSplit[2],1,0,0,1),this.__cleared=!0},__clearShader:function(){null!=this.__currentShader&&(null==this.__currentShaderBuffer?null!=this.__currentShader.__bitmap&&(this.__currentShader.__bitmap.input=null):this.__currentShaderBuffer.clearOverride(),null!=this.__currentShader.__texture&&(this.__currentShader.__texture.input=null),null!=this.__currentShader.__textureSize&&(this.__currentShader.__textureSize.value=null),null!=this.__currentShader.__hasColorTransform&&(this.__currentShader.__hasColorTransform.value=null),null!=this.__currentShader.__position&&(this.__currentShader.__position.value=null),null!=this.__currentShader.__matrix&&(this.__currentShader.__matrix.value=null),this.__currentShader.__clearUseArray())},__copyShader:function(e){this.__currentShader=e.__currentShader,this.__currentShaderBuffer=e.__currentShaderBuffer,this.__currentDisplayShader=e.__currentDisplayShader,this.__currentGraphicsShader=e.__currentGraphicsShader},__getMatrix:function(e,t){var i=openfl_geom_Matrix.__pool.get();return i.copyFrom(e),i.concat(this.__worldTransform),(0==t||1==t&&0==i.b&&0==i.c&&i.a<1.001&&i.a>.999&&i.d<1.001&&i.d>.999)&&(i.tx=Math.round(i.tx),i.ty=Math.round(i.ty)),lime_math_Matrix4.identity(this.__matrix),lime_math_Matrix4.set(this.__matrix,0,i.a),lime_math_Matrix4.set(this.__matrix,1,i.b),lime_math_Matrix4.set(this.__matrix,4,i.c),lime_math_Matrix4.set(this.__matrix,5,i.d),lime_math_Matrix4.set(this.__matrix,12,i.tx),lime_math_Matrix4.set(this.__matrix,13,i.ty),lime_math_Matrix4.append(this.__matrix,this.__flipped?this.__projectionFlipped:this.__projection),this.__values[0]=lime_math_Matrix4.get(this.__matrix,0),this.__values[1]=lime_math_Matrix4.get(this.__matrix,1),this.__values[2]=lime_math_Matrix4.get(this.__matrix,2),this.__values[3]=lime_math_Matrix4.get(this.__matrix,3),this.__values[4]=lime_math_Matrix4.get(this.__matrix,4),this.__values[5]=lime_math_Matrix4.get(this.__matrix,5),this.__values[6]=lime_math_Matrix4.get(this.__matrix,6),this.__values[7]=lime_math_Matrix4.get(this.__matrix,7),this.__values[8]=lime_math_Matrix4.get(this.__matrix,8),this.__values[9]=lime_math_Matrix4.get(this.__matrix,9),this.__values[10]=lime_math_Matrix4.get(this.__matrix,10),this.__values[11]=lime_math_Matrix4.get(this.__matrix,11),this.__values[12]=lime_math_Matrix4.get(this.__matrix,12),this.__values[13]=lime_math_Matrix4.get(this.__matrix,13),this.__values[14]=lime_math_Matrix4.get(this.__matrix,14),this.__values[15]=lime_math_Matrix4.get(this.__matrix,15),openfl_geom_Matrix.__pool.release(i),this.__values},__initShader:function(e){return null!=e?(null==e.__context&&(e.__context=this.__context3D,e.__init()),e):this.__defaultShader},__initDisplayShader:function(e){return null!=e?(null==e.__context&&(e.__context=this.__context3D,e.__init()),e):this.__defaultDisplayShader},__initGraphicsShader:function(e){return null!=e?(null==e.__context&&(e.__context=this.__context3D,e.__init()),e):this.__defaultGraphicsShader},__initShaderBuffer:function(e){return null!=e?this.__initGraphicsShader(e.shader):this.__defaultGraphicsShader},__popMask:function(){if(0!=this.__stencilReference){var e=this.__maskObjects.pop();this.__stencilReference>1?(this.__context3D.setStencilActions(2,1,0,0,5),this.__context3D.setStencilReferenceValue(this.__stencilReference,255,255),this.__context3D.setColorMask(!1,!1,!1,!1),e.__renderGLMask(this),this.__stencilReference--,this.__context3D.setStencilActions(2,1,5,5,5),this.__context3D.setStencilReferenceValue(this.__stencilReference,255,0),this.__context3D.setColorMask(!0,!0,!0,!0)):(this.__stencilReference=0,this.__context3D.setStencilActions(),this.__context3D.setStencilReferenceValue(0,0,0))}},__popMaskObject:function(e,t){null==t&&(t=!0),null!=e.__mask&&this.__popMask(),t&&null!=e.__scrollRect&&(0!=e.__renderTransform.b||0!=e.__renderTransform.c?(this.__scrollRectMasks.release(this.__maskObjects[this.__maskObjects.length-1]),this.__popMask()):this.__popMaskRect())},__popMaskRect:function(){this.__numClipRects>0&&(--this.__numClipRects>0?this.__scissorRect(this.__clipRects[this.__numClipRects-1]):this.__scissorRect())},__pushMask:function(e){0==this.__stencilReference&&(this.__context3D.clear(0,0,0,0,0,0,4),this.__updatedStencil=!0),this.__context3D.setStencilActions(2,1,2,5,5),this.__context3D.setStencilReferenceValue(this.__stencilReference,255,255),this.__context3D.setColorMask(!1,!1,!1,!1),e.__renderGLMask(this),this.__maskObjects.push(e),this.__stencilReference++,this.__context3D.setStencilActions(2,1,5,5,5),this.__context3D.setStencilReferenceValue(this.__stencilReference,255,0),this.__context3D.setColorMask(!0,!0,!0,!0)},__pushMaskObject:function(e,t){if(null==t&&(t=!0),t&&null!=e.__scrollRect)if(0!=e.__renderTransform.b||0!=e.__renderTransform.c){var i=this.__scrollRectMasks.get();i.get_graphics().clear(),i.get_graphics().beginFill(65280),i.get_graphics().drawRect(e.__scrollRect.x,e.__scrollRect.y,e.__scrollRect.width,e.__scrollRect.height),i.__renderTransform.copyFrom(e.__renderTransform),this.__pushMask(i)}else this.__pushMaskRect(e.__scrollRect,e.__renderTransform);null!=e.__mask&&this.__pushMask(e.__mask)},__pushMaskRect:function(e,t){this.__numClipRects==this.__clipRects.length&&(this.__clipRects[this.__numClipRects]=new openfl_geom_Rectangle);var i=openfl_geom_Matrix.__pool.get();i.copyFrom(t),i.concat(this.__worldTransform);var l=this.__clipRects[this.__numClipRects];if(e.__transform(l,i),this.__numClipRects>0){var n=this.__clipRects[this.__numClipRects-1];l.__contract(n.x,n.y,n.width,n.height)}l.height<0&&(l.height=0),l.width<0&&(l.width=0),openfl_geom_Matrix.__pool.release(i),this.__scissorRect(l),this.__numClipRects++},__render:function(e){if(this.__context3D.setColorMask(!0,!0,!0,!0),this.__context3D.setCulling(3),this.__context3D.setDepthTest(!1,0),this.__context3D.setStencilActions(),this.__context3D.setStencilReferenceValue(0,0,0),this.__context3D.setScissorRectangle(null),this.__blendMode=null,this.__setBlendMode(10),null==this.__defaultRenderTarget)openfl_display_OpenGLRenderer.__scissorRectangle.setTo(this.__offsetX,this.__offsetY,this.__displayWidth,this.__displayHeight),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle),this.__upscaled=1!=this.__worldTransform.a||1!=this.__worldTransform.d,e.__renderGL(this),(this.__offsetX>0||this.__offsetY>0)&&(this.__offsetX>0&&(openfl_display_OpenGLRenderer.__scissorRectangle.setTo(0,0,this.__offsetX,this.__height),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle),this.__context3D.__flushGL(),this.__gl.clearColor(0,0,0,1),this.__gl.clear(this.__gl.COLOR_BUFFER_BIT),openfl_display_OpenGLRenderer.__scissorRectangle.setTo(this.__offsetX+this.__displayWidth,0,this.__width,this.__height),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle),this.__context3D.__flushGL(),this.__gl.clearColor(0,0,0,1),this.__gl.clear(this.__gl.COLOR_BUFFER_BIT)),this.__offsetY>0&&(openfl_display_OpenGLRenderer.__scissorRectangle.setTo(0,0,this.__width,this.__offsetY),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle),this.__context3D.__flushGL(),this.__gl.clearColor(0,0,0,1),this.__gl.clear(this.__gl.COLOR_BUFFER_BIT),openfl_display_OpenGLRenderer.__scissorRectangle.setTo(0,this.__offsetY+this.__displayHeight,this.__width,this.__height),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle),this.__context3D.__flushGL(),this.__gl.clearColor(0,0,0,1),this.__gl.clear(this.__gl.COLOR_BUFFER_BIT)),this.__context3D.setScissorRectangle(null));else{openfl_display_OpenGLRenderer.__scissorRectangle.setTo(this.__offsetX,this.__offsetY,this.__displayWidth,this.__displayHeight),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle);var t=e.__mask,i=e.__scrollRect;e.__mask=null,e.__scrollRect=null,e.__renderGL(this),e.__mask=t,e.__scrollRect=i}this.__context3D.present()},__renderFilterPass:function(e,t,i,l){if(null==l&&(l=!0),null!=e&&null!=t&&null!=this.__defaultRenderTarget){var n=this.__context3D.__state.renderToTexture,s=this.__context3D.__state.renderToTextureDepthStencil,a=this.__context3D.__state.renderToTextureAntiAlias,r=this.__context3D.__state.renderToTextureSurfaceSelector;this.__context3D.setRenderToTexture(this.__defaultRenderTarget.getTexture(this.__context3D),!1),l&&this.__context3D.clear(0,0,0,0,0,0,1);var _=this.__initShader(t);this.setShader(_),this.applyAlpha(1),this.applyBitmapData(e,i),this.applyColorTransform(null),this.applyMatrix(this.__getMatrix(e.__renderTransform,1)),this.updateShader();var o=e.getVertexBuffer(this.__context3D);null!=_.__position&&this.__context3D.setVertexBufferAt(_.__position.index,o,0,3),null!=_.__textureCoord&&this.__context3D.setVertexBufferAt(_.__textureCoord.index,o,3,2);var h=e.getIndexBuffer(this.__context3D);this.__context3D.drawTriangles(h),null!=n?this.__context3D.setRenderToTexture(n,s,a,r):this.__context3D.setRenderToBackBuffer(),this.__clearShader()}},__resize:function(e,t){this.__width=e,this.__height=t;var i=null==this.__defaultRenderTarget?this.__stage.stageWidth:this.__defaultRenderTarget.width,l=null==this.__defaultRenderTarget?this.__stage.stageHeight:this.__defaultRenderTarget.height;if(null==this.__defaultRenderTarget){s=this.__worldTransform;n=Math.round(0*s.a+0*s.c+s.tx)}else n=0;this.__offsetX=n;if(null==this.__defaultRenderTarget){s=this.__worldTransform;n=Math.round(0*s.b+0*s.d+s.ty)}else n=0;this.__offsetY=n;if(null==this.__defaultRenderTarget){s=this.__worldTransform;n=Math.round(i*s.a+0*s.c+s.tx-this.__offsetX)}else n=i;this.__displayWidth=n;var n;if(null==this.__defaultRenderTarget){var s=this.__worldTransform;n=Math.round(0*s.b+l*s.d+s.ty-this.__offsetY)}else n=l;this.__displayHeight=n,lime_math_Matrix4.createOrtho(this.__projection,0,this.__displayWidth+2*this.__offsetX,0,this.__displayHeight+2*this.__offsetY,-1e3,1e3),lime_math_Matrix4.createOrtho(this.__projectionFlipped,0,this.__displayWidth+2*this.__offsetX,this.__displayHeight+2*this.__offsetY,0,-1e3,1e3)},__resumeClipAndMask:function(e){this.__stencilReference>0?(this.__context3D.setStencilActions(2,1,5,5,5),this.__context3D.setStencilReferenceValue(this.__stencilReference,255,0)):(this.__context3D.setStencilActions(),this.__context3D.setStencilReferenceValue(0,0,0)),this.__numClipRects>0?this.__scissorRect(this.__clipRects[this.__numClipRects-1]):this.__scissorRect()},__scissorRect:function(e){if(null!=e){var t=Math.floor(e.x),i=Math.floor(e.y),l=e.width>0?Math.ceil(e.get_right())-t:0,n=e.height>0?Math.ceil(e.get_bottom())-i:0;l<0&&(l=0),n<0&&(n=0),openfl_display_OpenGLRenderer.__scissorRectangle.setTo(t,i,l,n),this.__context3D.setScissorRectangle(openfl_display_OpenGLRenderer.__scissorRectangle)}else this.__context3D.setScissorRectangle(null)},__setBlendMode:function(e){if(null!=this.__overrideBlendMode&&(e=this.__overrideBlendMode),this.__blendMode!=e)switch(this.__blendMode=e,e){case 0:this.__context3D.setBlendFactors(2,2);break;case 9:this.__context3D.setBlendFactors(1,5);break;case 12:this.__context3D.setBlendFactors(2,6);break;case 14:this.__context3D.setBlendFactors(2,2),this.__context3D.__setGLBlendEquation(this.__gl.FUNC_REVERSE_SUBTRACT);break;default:this.__context3D.setBlendFactors(2,5)}},__setRenderTarget:function(e){this.__defaultRenderTarget=e,this.__flipped=null==e,null!=e&&this.__resize(e.width,e.height)},__setShaderBuffer:function(e){this.setShader(e.shader),this.__currentShaderBuffer=e},__suspendClipAndMask:function(){this.__stencilReference>0&&(this.__context3D.setStencilActions(),this.__context3D.setStencilReferenceValue(0,0,0)),this.__numClipRects>0&&this.__scissorRect()},__updateShaderBuffer:function(e){null!=this.__currentShader&&null!=this.__currentShaderBuffer&&this.__currentShader.__updateFromBuffer(this.__currentShaderBuffer,e)},__class__:openfl_display_OpenGLRenderer});var openfl_display_PNGEncoderOptions=function(e){null==e&&(e=!1),this.fastCompression=e};$hxClasses["openfl.display.PNGEncoderOptions"]=openfl_display_PNGEncoderOptions,openfl_display_PNGEncoderOptions.__name__="openfl.display.PNGEncoderOptions",openfl_display_PNGEncoderOptions.prototype={fastCompression:null,__class__:openfl_display_PNGEncoderOptions};var openfl_display_PixelSnapping={};openfl_display_PixelSnapping.fromString=function(e){switch(e){case"always":return 0;case"auto":return 1;case"never":return 2;default:return null}},openfl_display_PixelSnapping.toString=function(e){switch(e){case 0:return"always";case 1:return"auto";case 2:return"never";default:return null}};var openfl_display_Preloader=function(e){this.onComplete=new lime_app__$Event_$Void_$Void,this.display=e,null!=e&&(e.addEventListener("unload",$bind(this,this.display_onUnload)),openfl_Lib.get_current().addChild(e))};$hxClasses["openfl.display.Preloader"]=openfl_display_Preloader,openfl_display_Preloader.__name__="openfl.display.Preloader",openfl_display_Preloader.prototype={onComplete:null,complete:null,display:null,ready:null,start:function(){if(this.ready=!0,openfl_Lib.get_current().get_loaderInfo().__complete(),null!=this.display){var e=new openfl_events_Event("complete",!0,!0);this.display.dispatchEvent(e),e.isDefaultPrevented()||this.display.dispatchEvent(new openfl_events_Event("unload"))}else this.complete||(this.complete=!0,this.onComplete.dispatch())},update:function(e,t){openfl_Lib.get_current().get_loaderInfo().__update(e,t),null!=this.display&&this.display.dispatchEvent(new openfl_events_ProgressEvent("progress",!0,!0,e,t))},display_onUnload:function(e){null!=this.display&&(this.display.removeEventListener("unload",$bind(this,this.display_onUnload)),this.display.parent==openfl_Lib.get_current()&&openfl_Lib.get_current().removeChild(this.display),openfl_Lib.get_current().stage.set_focus(null),this.display=null),this.ready&&(this.complete||(this.complete=!0,this.onComplete.dispatch()))},__class__:openfl_display_Preloader};var openfl_display_DefaultPreloader=function(){openfl_display_Sprite.call(this);var e=this.getBackgroundColor(),t=0;.299*(e>>16&255)+.587*(e>>8&255)+.114*(255&e)<70&&(t=16777215);var i=this.getHeight()/2-3.5,l=this.getWidth()-60;this.outline=new openfl_display_Shape,this.outline.get_graphics().beginFill(t,.07),this.outline.get_graphics().drawRect(0,0,l,7),this.outline.set_x(30),this.outline.set_y(i),this.outline.set_alpha(0),this.addChild(this.outline),this.progress=new openfl_display_Shape,this.progress.get_graphics().beginFill(t,.35),this.progress.get_graphics().drawRect(0,0,l-4,3),this.progress.set_x(32),this.progress.set_y(i+2),this.progress.set_scaleX(0),this.progress.set_alpha(0),this.addChild(this.progress),this.startAnimation=openfl_Lib.getTimer()+100,this.endAnimation=this.startAnimation+1e3,this.addEventListener("addedToStage",$bind(this,this.this_onAddedToStage))};$hxClasses["openfl.display.DefaultPreloader"]=openfl_display_DefaultPreloader,openfl_display_DefaultPreloader.__name__="openfl.display.DefaultPreloader",openfl_display_DefaultPreloader.__super__=openfl_display_Sprite,openfl_display_DefaultPreloader.prototype=$extend(openfl_display_Sprite.prototype,{endAnimation:null,outline:null,progress:null,startAnimation:null,getBackgroundColor:function(){var e=openfl_Lib.get_current().stage.window.context.attributes;return Object.prototype.hasOwnProperty.call(e,"background")&&null!=e.background?e.background:0},getHeight:function(){var e=openfl_Lib.get_current().stage.window.__height;return e>0?e:openfl_Lib.get_current().stage.stageHeight},getWidth:function(){var e=openfl_Lib.get_current().stage.window.__width;return e>0?e:openfl_Lib.get_current().stage.stageWidth},onInit:function(){this.addEventListener("enterFrame",$bind(this,this.this_onEnterFrame))},onLoaded:function(){this.removeEventListener("enterFrame",$bind(this,this.this_onEnterFrame)),this.dispatchEvent(new openfl_events_Event("unload"))},onUpdate:function(e,t){var i=0;t>0&&(i=e/t)>1&&(i=1),this.progress.set_scaleX(i)},this_onAddedToStage:function(e){this.removeEventListener("addedToStage",$bind(this,this.this_onAddedToStage)),this.onInit(),this.onUpdate(this.get_loaderInfo().bytesLoaded,this.get_loaderInfo().bytesTotal),this.addEventListener("progress",$bind(this,this.this_onProgress)),this.addEventListener("complete",$bind(this,this.this_onComplete))},this_onComplete:function(e){e.preventDefault(),this.removeEventListener("progress",$bind(this,this.this_onProgress)),this.removeEventListener("complete",$bind(this,this.this_onComplete)),this.onLoaded()},this_onEnterFrame:function(e){var t=(openfl_Lib.getTimer()-this.startAnimation)/(this.endAnimation-this.startAnimation);t<0&&(t=0),t>1&&(t=1),this.outline.set_alpha(this.progress.set_alpha(t))},this_onProgress:function(e){this.onUpdate(0|e.bytesLoaded,0|e.bytesTotal)},__class__:openfl_display_DefaultPreloader});var openfl_display_Scene=function(e,t,i){this.name=e,this.labels=t,this.numFrames=i};$hxClasses["openfl.display.Scene"]=openfl_display_Scene,openfl_display_Scene.__name__="openfl.display.Scene",openfl_display_Scene.prototype={labels:null,name:null,numFrames:null,__class__:openfl_display_Scene};var openfl_display_ShaderData={};openfl_display_ShaderData._new=function(e){return{}};var openfl_display_ShaderInput=function(){this.channels=0,this.filter=5,this.height=0,this.index=0,this.mipFilter=2,this.width=0,this.wrap=0};$hxClasses["openfl.display.ShaderInput"]=openfl_display_ShaderInput,openfl_display_ShaderInput.__name__="openfl.display.ShaderInput",openfl_display_ShaderInput.prototype={channels:null,filter:null,height:null,index:null,input:null,mipFilter:null,name:null,width:null,wrap:null,__isUniform:null,__disableGL:function(e,t){e.gl;e.setTextureAt(t,null)},__updateGL:function(e,t,i,l,n,s){e.gl;var a=null!=i?i:this.input,r=null!=l?l:this.filter,_=null!=n?n:this.mipFilter,o=null!=s?s:this.wrap;if(null!=a){var h=a;e.setTextureAt(t,h.getTexture(e)),e.setSamplerStateAt(t,o,r,_)}else e.setTextureAt(t,null)},__class__:openfl_display_ShaderInput};var openfl_display_ShaderParameter=function(){this.index=0};$hxClasses["openfl.display.ShaderParameter"]=openfl_display_ShaderParameter,openfl_display_ShaderParameter.__name__="openfl.display.ShaderParameter",openfl_display_ShaderParameter.prototype={index:null,name:null,type:null,value:null,__arrayLength:null,__internal:null,__isBool:null,__isFloat:null,__isInt:null,__isUniform:null,__length:null,__uniformMatrix:null,__useArray:null,__disableGL:function(e){var t=e.gl;if(!this.__isUniform)for(var i=0,l=this.__arrayLength;i<l;){var n=i++;t.disableVertexAttribArray(this.index+n)}},__updateGL:function(e,t){var i=e.gl,l=null!=t?t:this.value,n=this.__isBool?l:null,s=this.__isFloat?l:null,a=this.__isInt?l:null;if(this.__isUniform)if(null!=l&&l.length>=this.__length)switch(this.type){case 0:i.uniform1i(this.index,n[0]?1:0);break;case 1:i.uniform2i(this.index,n[0]?1:0,n[1]?1:0);break;case 2:i.uniform3i(this.index,n[0]?1:0,n[1]?1:0,n[2]?1:0);break;case 3:i.uniform4i(this.index,n[0]?1:0,n[1]?1:0,n[2]?1:0,n[3]?1:0);break;case 4:i.uniform1f(this.index,s[0]);break;case 5:i.uniform2f(this.index,s[0],s[1]);break;case 6:i.uniform3f(this.index,s[0],s[1],s[2]);break;case 7:i.uniform4f(this.index,s[0],s[1],s[2],s[3]);break;case 8:i.uniform1i(this.index,a[0]);break;case 9:i.uniform2i(this.index,a[0],a[1]);break;case 10:i.uniform3i(this.index,a[0],a[1],a[2]);break;case 11:i.uniform4i(this.index,a[0],a[1],a[2],a[3]);break;case 12:this.__uniformMatrix[0]=s[0],this.__uniformMatrix[1]=s[1],this.__uniformMatrix[2]=s[2],this.__uniformMatrix[3]=s[3],lime_graphics_WebGLRenderContext.uniformMatrix2fv(i,this.index,!1,this.__uniformMatrix);break;case 16:this.__uniformMatrix[0]=s[0],this.__uniformMatrix[1]=s[1],this.__uniformMatrix[2]=s[2],this.__uniformMatrix[3]=s[3],this.__uniformMatrix[4]=s[4],this.__uniformMatrix[5]=s[5],this.__uniformMatrix[6]=s[6],this.__uniformMatrix[7]=s[7],this.__uniformMatrix[8]=s[8],lime_graphics_WebGLRenderContext.uniformMatrix3fv(i,this.index,!1,this.__uniformMatrix);break;case 20:this.__uniformMatrix[0]=s[0],this.__uniformMatrix[1]=s[1],this.__uniformMatrix[2]=s[2],this.__uniformMatrix[3]=s[3],this.__uniformMatrix[4]=s[4],this.__uniformMatrix[5]=s[5],this.__uniformMatrix[6]=s[6],this.__uniformMatrix[7]=s[7],this.__uniformMatrix[8]=s[8],this.__uniformMatrix[9]=s[9],this.__uniformMatrix[10]=s[10],this.__uniformMatrix[11]=s[11],this.__uniformMatrix[12]=s[12],this.__uniformMatrix[13]=s[13],this.__uniformMatrix[14]=s[14],this.__uniformMatrix[15]=s[15],lime_graphics_WebGLRenderContext.uniformMatrix4fv(i,this.index,!1,this.__uniformMatrix)}else switch(this.type){case 1:case 9:i.uniform2i(this.index,0,0);break;case 3:case 11:i.uniform4i(this.index,0,0,0,0);break;case 4:i.uniform1f(this.index,0);break;case 5:i.uniform2f(this.index,0,0);break;case 6:i.uniform3f(this.index,0,0,0);break;case 7:i.uniform4f(this.index,0,0,0,0);break;case 0:case 8:i.uniform1i(this.index,0);break;case 2:case 10:i.uniform3i(this.index,0,0,0);break;case 12:this.__uniformMatrix[0]=0,this.__uniformMatrix[1]=0,this.__uniformMatrix[2]=0,this.__uniformMatrix[3]=0,lime_graphics_WebGLRenderContext.uniformMatrix2fv(i,this.index,!1,this.__uniformMatrix);break;case 16:this.__uniformMatrix[0]=0,this.__uniformMatrix[1]=0,this.__uniformMatrix[2]=0,this.__uniformMatrix[3]=0,this.__uniformMatrix[4]=0,this.__uniformMatrix[5]=0,this.__uniformMatrix[6]=0,this.__uniformMatrix[7]=0,this.__uniformMatrix[8]=0,lime_graphics_WebGLRenderContext.uniformMatrix3fv(i,this.index,!1,this.__uniformMatrix);break;case 20:this.__uniformMatrix[0]=0,this.__uniformMatrix[1]=0,this.__uniformMatrix[2]=0,this.__uniformMatrix[3]=0,this.__uniformMatrix[4]=0,this.__uniformMatrix[5]=0,this.__uniformMatrix[6]=0,this.__uniformMatrix[7]=0,this.__uniformMatrix[8]=0,this.__uniformMatrix[9]=0,this.__uniformMatrix[10]=0,this.__uniformMatrix[11]=0,this.__uniformMatrix[12]=0,this.__uniformMatrix[13]=0,this.__uniformMatrix[14]=0,this.__uniformMatrix[15]=0,lime_graphics_WebGLRenderContext.uniformMatrix4fv(i,this.index,!1,this.__uniformMatrix)}else if(this.__useArray||null!=l&&l.length!=this.__length)for(var r=0,_=this.__arrayLength;r<_;){o=r++;i.enableVertexAttribArray(this.index+o)}else{for(var r=0,_=this.__arrayLength;r<_;){var o=r++;i.disableVertexAttribArray(this.index+o)}if(null!=l)switch(this.type){case 0:i.vertexAttrib1f(this.index,n[0]?1:0);break;case 1:i.vertexAttrib2f(this.index,n[0]?1:0,n[1]?1:0);break;case 2:i.vertexAttrib3f(this.index,n[0]?1:0,n[1]?1:0,n[2]?1:0);break;case 3:i.vertexAttrib4f(this.index,n[0]?1:0,n[1]?1:0,n[2]?1:0,n[3]?1:0);break;case 4:i.vertexAttrib1f(this.index,s[0]);break;case 5:i.vertexAttrib2f(this.index,s[0],s[1]);break;case 6:i.vertexAttrib3f(this.index,s[0],s[1],s[2]);break;case 7:i.vertexAttrib4f(this.index,s[0],s[1],s[2],s[3]);break;case 8:i.vertexAttrib1f(this.index,a[0]);break;case 9:i.vertexAttrib2f(this.index,a[0],a[1]);break;case 10:i.vertexAttrib3f(this.index,a[0],a[1],a[2]);break;case 11:i.vertexAttrib4f(this.index,a[0],a[1],a[2],a[3]);break;case 12:i.vertexAttrib2f(this.index+0,s[0],s[1]),i.vertexAttrib2f(this.index+1,s[2],s[3]);break;case 16:i.vertexAttrib3f(this.index+0,s[0],s[1],s[2]),i.vertexAttrib3f(this.index+1,s[3],s[4],s[5]),i.vertexAttrib3f(this.index+2,s[6],s[7],s[8]);break;case 20:i.vertexAttrib4f(this.index+0,s[0],s[1],s[2],s[3]),i.vertexAttrib4f(this.index+1,s[4],s[5],s[6],s[7]),i.vertexAttrib4f(this.index+2,s[8],s[9],s[10],s[11]),i.vertexAttrib4f(this.index+3,s[12],s[13],s[14],s[15])}else switch(this.type){case 1:case 5:case 9:i.vertexAttrib2f(this.index,0,0);break;case 3:case 7:case 11:i.vertexAttrib4f(this.index,0,0,0,0);break;case 0:case 4:case 8:i.vertexAttrib1f(this.index,0);break;case 2:case 6:case 10:i.vertexAttrib3f(this.index,0,0,0);break;case 12:i.vertexAttrib2f(this.index+0,0,0),i.vertexAttrib2f(this.index+1,0,0);break;case 16:i.vertexAttrib3f(this.index+0,0,0,0),i.vertexAttrib3f(this.index+1,0,0,0),i.vertexAttrib3f(this.index+2,0,0,0);break;case 20:i.vertexAttrib4f(this.index+0,0,0,0,0),i.vertexAttrib4f(this.index+1,0,0,0,0),i.vertexAttrib4f(this.index+2,0,0,0,0),i.vertexAttrib4f(this.index+3,0,0,0,0)}}},__updateGLFromBuffer:function(e,t,i,l,n){var s=e.gl;if(this.__isUniform){if(l>=this.__length)switch(this.type){case 1:case 9:s.uniform2i(this.index,0|t[i],0|t[i+1]);break;case 3:case 11:s.uniform4i(this.index,0|t[i],0|t[i+1],0|t[i+2],0|t[i+3]);break;case 4:s.uniform1f(this.index,t[i]);break;case 5:s.uniform2f(this.index,t[i],t[i+1]);break;case 6:s.uniform3f(this.index,t[i],t[i+1],t[i+2]);break;case 7:s.uniform4f(this.index,t[i],t[i+1],t[i+2],t[i+3]);break;case 0:case 8:s.uniform1i(this.index,0|t[i]);break;case 2:case 10:s.uniform3i(this.index,0|t[i],0|t[i+1],0|t[i+2]);break;case 12:this.__uniformMatrix[0]=t[i],this.__uniformMatrix[1]=t[i+1],this.__uniformMatrix[2]=t[i+2],this.__uniformMatrix[3]=t[i+3],lime_graphics_WebGLRenderContext.uniformMatrix2fv(s,this.index,!1,this.__uniformMatrix);break;case 16:this.__uniformMatrix[0]=t[i],this.__uniformMatrix[1]=t[i+1],this.__uniformMatrix[2]=t[i+2],this.__uniformMatrix[3]=t[i+3],this.__uniformMatrix[4]=t[i+4],this.__uniformMatrix[5]=t[i+5],this.__uniformMatrix[6]=t[i+6],this.__uniformMatrix[7]=t[i+7],this.__uniformMatrix[8]=t[i+8],lime_graphics_WebGLRenderContext.uniformMatrix3fv(s,this.index,!1,this.__uniformMatrix);break;case 20:this.__uniformMatrix[0]=t[i],this.__uniformMatrix[1]=t[i+1],this.__uniformMatrix[2]=t[i+2],this.__uniformMatrix[3]=t[i+3],this.__uniformMatrix[4]=t[i+4],this.__uniformMatrix[5]=t[i+5],this.__uniformMatrix[6]=t[i+6],this.__uniformMatrix[7]=t[i+7],this.__uniformMatrix[8]=t[i+8],this.__uniformMatrix[9]=t[i+9],this.__uniformMatrix[10]=t[i+10],this.__uniformMatrix[11]=t[i+11],this.__uniformMatrix[12]=t[i+12],this.__uniformMatrix[13]=t[i+13],this.__uniformMatrix[14]=t[i+14],this.__uniformMatrix[15]=t[i+15],lime_graphics_WebGLRenderContext.uniformMatrix4fv(s,this.index,!1,this.__uniformMatrix)}}else if(this.__internal||0!=l&&l!=this.__length){var a=s.FLOAT;this.__isBool?a=s.INT:this.__isInt&&(a=s.INT);for(var r=0,_=this.__arrayLength;r<_;){o=r++;s.enableVertexAttribArray(this.index+o)}if(l>0)for(var r=0,_=this.__arrayLength;r<_;){o=r++;s.vertexAttribPointer(this.index+o,this.__length,a,!1,4*this.__length,4*(i+n*this.__length+o*this.__arrayLength))}}else{for(var r=0,_=this.__arrayLength;r<_;){var o=r++;s.disableVertexAttribArray(this.index+o)}if(l>0)switch(this.type){case 1:case 5:case 9:s.vertexAttrib2f(this.index,t[i],t[i+1]);break;case 3:case 7:case 11:s.vertexAttrib4f(this.index,t[i],t[i+1],t[i+2],t[i+3]);break;case 0:case 4:case 8:s.vertexAttrib1f(this.index,t[i]);break;case 2:case 6:case 10:s.vertexAttrib3f(this.index,t[i],t[i+1],t[i+2]);break;case 12:s.vertexAttrib2f(this.index+0,t[i],t[i+1]),s.vertexAttrib2f(this.index+1,t[i+2],t[i+2+1]);break;case 16:s.vertexAttrib3f(this.index+0,t[i],t[i+1],t[i+2]),s.vertexAttrib3f(this.index+1,t[i+3],t[i+3+1],t[i+3+2]),s.vertexAttrib3f(this.index+2,t[i+6],t[i+6+1],t[i+6+2]);break;case 20:s.vertexAttrib4f(this.index+0,t[i],t[i+1],t[i+2],t[i+3]),s.vertexAttrib4f(this.index+1,t[i+4],t[i+4+1],t[i+4+2],t[i+4+3]),s.vertexAttrib4f(this.index+2,t[i+8],t[i+8+1],t[i+8+2],t[i+8+3]),s.vertexAttrib4f(this.index+3,t[i+12],t[i+12+1],t[i+12+2],t[i+12+3])}else switch(this.type){case 1:case 5:case 9:s.vertexAttrib2f(this.index,0,0);break;case 3:case 7:case 11:s.vertexAttrib4f(this.index,0,0,0,0);break;case 0:case 4:case 8:s.vertexAttrib1f(this.index,0);break;case 2:case 6:case 10:s.vertexAttrib3f(this.index,0,0,0);break;case 12:s.vertexAttrib2f(this.index+0,0,0),s.vertexAttrib2f(this.index+1,0,0);break;case 16:s.vertexAttrib3f(this.index+0,0,0,0),s.vertexAttrib3f(this.index+1,0,0,0),s.vertexAttrib3f(this.index+2,0,0,0);break;case 20:s.vertexAttrib4f(this.index+0,0,0,0,0),s.vertexAttrib4f(this.index+1,0,0,0,0),s.vertexAttrib4f(this.index+2,0,0,0,0),s.vertexAttrib4f(this.index+3,0,0,0,0)}}},set_name:function(e){return this.__internal=StringTools.startsWith(e,"openfl_"),this.name=e},__class__:openfl_display_ShaderParameter,__properties__:{set_name:"set_name"}};var openfl_display_ShaderParameterType={};openfl_display_ShaderParameterType.fromString=function(e){switch(e){case"bool":return 0;case"bool2":case"bool3":case"bool4":return 1;case"float":return 4;case"float2":return 5;case"float3":return 6;case"float4":return 7;case"int":return 8;case"int2":return 9;case"int3":return 10;case"int4":return 11;case"matrix2x2":return 12;case"matrix2x3":return 13;case"matrix2x4":return 14;case"matrix3x2":return 15;case"matrix3x3":return 16;case"matrix3x4":return 17;case"matrix4x2":return 18;case"matrix4x3":return 19;case"matrix4x4":return 20;default:return null}},openfl_display_ShaderParameterType.toString=function(e){switch(e){case 0:return"bool";case 1:return"bool2";case 2:return"bool3";case 3:return"bool4";case 4:return"float";case 5:return"float2";case 6:return"float3";case 7:return"float4";case 8:return"int";case 9:return"int2";case 10:return"int3";case 11:return"int4";case 12:return"matrix2x2";case 13:return"matrix2x3";case 14:return"matrix2x4";case 15:return"matrix3x2";case 16:return"matrix3x3";case 17:return"matrix3x4";case 18:return"matrix4x2";case 19:return"matrix4x3";case 20:return"matrix4x4";default:return null}};var openfl_display_ShaderPrecision={};openfl_display_ShaderPrecision.fromString=function(e){switch(e){case"fast":return 0;case"full":return 1;default:return null}},openfl_display_ShaderPrecision.toString=function(e){switch(e){case 0:return"fast";case 1:return"full";default:return null}};var openfl_display_Shape=function(){openfl_display_DisplayObject.call(this)};$hxClasses["openfl.display.Shape"]=openfl_display_Shape,openfl_display_Shape.__name__="openfl.display.Shape",openfl_display_Shape.__super__=openfl_display_DisplayObject,openfl_display_Shape.prototype=$extend(openfl_display_DisplayObject.prototype,{get_graphics:function(){return null==this.__graphics&&(this.__graphics=new openfl_display_Graphics(this)),this.__graphics},__class__:openfl_display_Shape,__properties__:$extend(openfl_display_DisplayObject.prototype.__properties__,{get_graphics:"get_graphics"})});var openfl_display_SpreadMethod={};openfl_display_SpreadMethod.fromInt=function(e){return e},openfl_display_SpreadMethod.fromString=function(e){switch(e){case"pad":return 0;case"reflect":return 1;case"repeat":return 2;default:return null}},openfl_display_SpreadMethod.toInt=function(e){return e},openfl_display_SpreadMethod.toString=function(e){switch(e){case 0:return"pad";case 1:return"reflect";case 2:return"repeat";default:return null}};var openfl_display_Stage=function(e,t){openfl_display_DisplayObjectContainer.call(this),this.set_name(null),this.__color=-1,this.__colorSplit=[255,255,255],this.__colorString="#FFFFFF",this.__contentsScaleFactor=1,this.__currentTabOrderIndex=0,this.__deltaTime=0,this.__displayState=2,this.__mouseX=0,this.__mouseY=0,this.__lastClickTime=0,this.__logicalWidth=0,this.__logicalHeight=0,this.__displayMatrix=new openfl_geom_Matrix,this.__displayRect=new openfl_geom_Rectangle,this.__renderDirty=!0,this.stage3Ds=openfl_Vector.toObjectVector(null),this.stage3Ds.push(new openfl_display_Stage3D(this)),this.stage3Ds.push(new openfl_display_Stage3D(this)),this.stage3Ds.push(new openfl_display_Stage3D(this)),this.stage3Ds.push(new openfl_display_Stage3D(this)),this.stage=this,this.align=6,this.allowsFullScreen=!0,this.allowsFullScreenInteractive=!0,this.__quality=1,this.__scaleMode=2,this.showDefaultContextMenu=!0,this.softKeyboardRect=new openfl_geom_Rectangle,this.stageFocusRect=!0,this.__macKeyboard=/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent)||/Mac/.test(navigator.platform),this.__clearBeforeRender=!0,this.__forceRender=!1,this.__stack=[],this.__rollOutStack=[],this.__mouseOutStack=[],this.__touchData=new haxe_ds_IntMap,this.application=e.application,this.window=e,this.set_color(t),this.__contentsScaleFactor=e.__scale,this.__wasFullscreen=e.__fullscreen,this.__resize(),null==openfl_Lib.get_current().stage&&this.stage.addChild(openfl_Lib.get_current())};$hxClasses["openfl.display.Stage"]=openfl_display_Stage,openfl_display_Stage.__name__="openfl.display.Stage",openfl_display_Stage.__interfaces__=[lime_app_IModule],openfl_display_Stage.__super__=openfl_display_DisplayObjectContainer,openfl_display_Stage.prototype=$extend(openfl_display_DisplayObjectContainer.prototype,{align:null,allowsFullScreen:null,allowsFullScreenInteractive:null,application:null,context3D:null,showDefaultContextMenu:null,softKeyboardRect:null,stage3Ds:null,stageFocusRect:null,stageHeight:null,stageWidth:null,window:null,__cacheFocus:null,__clearBeforeRender:null,__color:null,__colorSplit:null,__colorString:null,__contentsScaleFactor:null,__currentTabOrderIndex:null,__deltaTime:null,__dirty:null,__displayMatrix:null,__displayRect:null,__displayState:null,__dragBounds:null,__dragObject:null,__dragOffsetX:null,__dragOffsetY:null,__focus:null,__forceRender:null,__fullscreen:null,__fullScreenSourceRect:null,__invalidated:null,__lastClickTime:null,__logicalWidth:null,__logicalHeight:null,__macKeyboard:null,__mouseDownLeft:null,__mouseDownMiddle:null,__mouseDownRight:null,__mouseOutStack:null,__mouseOverTarget:null,__mouseX:null,__mouseY:null,__pendingMouseEvent:null,__pendingMouseX:null,__pendingMouseY:null,__quality:null,__renderer:null,__rendering:null,__rollOutStack:null,__scaleMode:null,__stack:null,__touchData:null,__transparent:null,__wasDirty:null,__wasFullscreen:null,__primaryTouch:null,invalidate:function(){this.__invalidated=!0,this.__renderDirty=!0},localToGlobal:function(e){return e.clone()},__broadcastEvent:function(e){if(Object.prototype.hasOwnProperty.call(openfl_display_DisplayObject.__broadcastEvents.h,e.type))for(var t=openfl_display_DisplayObject.__broadcastEvents.h[e.type],i=0;i<t.length;){var l=t[i];if(++i,l.stage==this||null==l.stage)try{l.__dispatch(e)}catch(e){haxe_NativeStackTrace.lastError=e;var n=haxe_Exception.caught(e).unwrap();this.__handleError(n)}}},__createRenderer:function(){var e=1;this.window.__scale>1&&(e=this.window.devicePixelRatio||1);var t=this.window.__width*this.window.__scale|0,i=this.window.__height*this.window.__scale|0;switch(this.window.context.type){case"cairo":break;case"canvas":this.__renderer=new openfl_display_CanvasRenderer(this.window.context.canvas2D),js_Boot.__cast(this.__renderer,openfl_display_CanvasRenderer).pixelRatio=e;break;case"dom":this.__renderer=new openfl_display_DOMRenderer(this.window.context.dom),js_Boot.__cast(this.__renderer,openfl_display_DOMRenderer).pixelRatio=e;break;case"opengl":case"opengles":case"webgl":this.context3D=new openfl_display3D_Context3D(this),this.context3D.configureBackBuffer(t,i,0,!0,!0,!0),this.context3D.present(),this.__renderer=new openfl_display_OpenGLRenderer(this.context3D)}if(null!=this.__renderer){var l=this.get_quality();this.__renderer.__allowSmoothing=2!=l,this.__renderer.__worldTransform=this.__displayMatrix,this.__renderer.__stage=this,this.__renderer.__resize(t,i)}},__dispatchEvent:function(e){try{return openfl_display_DisplayObjectContainer.prototype.__dispatchEvent.call(this,e)}catch(e){haxe_NativeStackTrace.lastError=e;var t=haxe_Exception.caught(e).unwrap();return this.__handleError(t),!1}},__dispatchPendingMouseEvent:function(){this.__pendingMouseEvent&&(this.__onMouse("mouseMove",this.__pendingMouseX,this.__pendingMouseY,0),this.__pendingMouseEvent=!1)},__dispatchStack:function(e,t){try{var i=t.length;if(0==i)e.eventPhase=2,e.target.__dispatch(e);else{e.eventPhase=1,e.target=t[t.length-1];for(var l=0,n=i-1;l<n;)if(t[s=l++].__dispatch(e),e.__isCanceled)return;if(e.eventPhase=2,e.target.__dispatch(e),e.__isCanceled)return;if(e.bubbles){e.eventPhase=3;for(var s=i-2;s>=0;){if(t[s].__dispatch(e),e.__isCanceled)return;--s}}}}catch(l){haxe_NativeStackTrace.lastError=l;var a=haxe_Exception.caught(l).unwrap();this.__handleError(a)}},__dispatchTarget:function(e,t){try{return e.__dispatchEvent(t)}catch(e){haxe_NativeStackTrace.lastError=e;var i=haxe_Exception.caught(e).unwrap();return this.__handleError(i),!1}},__drag:function(e){var t=this.__dragObject.parent;if(null!=t){var i=t.__getWorldTransform(),l=i.a*i.d-i.b*i.c;if(0==l)e.x=-i.tx,e.y=-i.ty;else{var n=1/l*(i.c*(i.ty-e.y)+i.d*(e.x-i.tx));e.y=1/l*(i.a*(e.y-i.ty)+i.b*(i.tx-e.x)),e.x=n}}var s=e.x+this.__dragOffsetX,a=e.y+this.__dragOffsetY;null!=this.__dragBounds&&(s<this.__dragBounds.x?s=this.__dragBounds.x:s>this.__dragBounds.get_right()&&(s=this.__dragBounds.get_right()),a<this.__dragBounds.y?a=this.__dragBounds.y:a>this.__dragBounds.get_bottom()&&(a=this.__dragBounds.get_bottom())),this.__dragObject.set_x(s),this.__dragObject.set_y(a)},__getInteractive:function(e){return null!=e&&e.push(this),!0},__globalToLocal:function(e,t){return e!=t&&t.copyFrom(e),t},__handleError:function(e){var t=new openfl_events_UncaughtErrorEvent("uncaughtError",!0,!0,e);try{openfl_Lib.get_current().__loaderInfo.uncaughtErrorEvents.dispatchEvent(t)}catch(e){haxe_NativeStackTrace.lastError=e}if(!t.__preventDefault){i=haxe_CallStack.toString(haxe_CallStack.exceptionStack());console.log(i);var i=Std.string(e);console.log(i);try{var l=e;if(null!=l&&Object.prototype.hasOwnProperty.call(l,"stack")&&null!=l.stack&&""!=l.stack)console.log(l.stack),e.stack=l.stack;else{var n=haxe_CallStack.toString(haxe_CallStack.callStack());console.log(n)}}catch(e){haxe_NativeStackTrace.lastError=e}throw e}},__onKey:function(e,t,i){this.__dispatchPendingMouseEvent(),openfl_events_MouseEvent.__altKey=lime_ui_KeyModifier.get_altKey(i),openfl_events_MouseEvent.__commandKey=lime_ui_KeyModifier.get_metaKey(i),openfl_events_MouseEvent.__ctrlKey=lime_ui_KeyModifier.get_ctrlKey(i),openfl_events_MouseEvent.__shiftKey=lime_ui_KeyModifier.get_shiftKey(i);var l=[];if(null==this.__focus?this.__getInteractive(l):this.__focus.__getInteractive(l),l.length>0){var n;switch(t){case 1073741908:case 1073741909:case 1073741910:case 1073741911:case 1073741912:case 1073741913:case 1073741914:case 1073741915:case 1073741916:case 1073741917:case 1073741918:case 1073741919:case 1073741920:case 1073741921:case 1073741922:case 1073741923:case 1073742044:n=3;break;case 1073742048:case 1073742049:case 1073742050:case 1073742051:n=1;break;case 1073742052:case 1073742053:case 1073742054:case 1073742055:n=2;break;default:n=0}var s;switch(t){case 8:s=8;break;case 9:s=9;break;case 13:s=13;break;case 27:s=27;break;case 32:s=32;break;case 33:s=49;break;case 34:s=222;break;case 35:s=51;break;case 36:s=52;break;case 37:s=53;break;case 38:s=55;break;case 39:s=222;break;case 40:s=57;break;case 41:s=48;break;case 42:s=56;break;case 44:s=188;break;case 45:s=189;break;case 46:s=190;break;case 47:s=191;break;case 48:s=48;break;case 49:s=49;break;case 50:s=50;break;case 51:s=51;break;case 52:s=52;break;case 53:s=53;break;case 54:s=54;break;case 55:s=55;break;case 56:s=56;break;case 57:s=57;break;case 58:case 59:s=186;break;case 60:s=60;break;case 61:s=187;break;case 62:s=190;break;case 63:s=191;break;case 64:s=50;break;case 91:s=219;break;case 92:s=220;break;case 93:s=221;break;case 94:s=54;break;case 95:s=189;break;case 96:s=192;break;case 97:s=65;break;case 98:s=66;break;case 99:s=67;break;case 100:s=68;break;case 101:s=69;break;case 102:s=70;break;case 103:s=71;break;case 104:s=72;break;case 105:s=73;break;case 106:s=74;break;case 107:s=75;break;case 108:s=76;break;case 109:s=77;break;case 110:s=78;break;case 111:s=79;break;case 112:s=80;break;case 113:s=81;break;case 114:s=82;break;case 115:s=83;break;case 116:s=84;break;case 117:s=85;break;case 118:s=86;break;case 119:s=87;break;case 120:s=88;break;case 121:s=89;break;case 122:s=90;break;case 127:s=46;break;case 1073741881:s=20;break;case 1073741882:s=112;break;case 1073741883:s=113;break;case 1073741884:s=114;break;case 1073741885:s=115;break;case 1073741886:s=116;break;case 1073741887:s=117;break;case 1073741888:s=118;break;case 1073741889:s=119;break;case 1073741890:s=120;break;case 1073741891:s=121;break;case 1073741892:s=122;break;case 1073741893:s=123;break;case 1073741894:s=301;break;case 1073741895:s=145;break;case 1073741896:s=19;break;case 1073741897:s=45;break;case 1073741898:s=36;break;case 1073741899:s=33;break;case 1073741901:s=35;break;case 1073741902:s=34;break;case 1073741903:s=39;break;case 1073741904:s=37;break;case 1073741905:s=40;break;case 1073741906:s=38;break;case 1073741907:s=144;break;case 1073741908:s=111;break;case 1073741909:s=106;break;case 1073741910:s=109;break;case 1073741911:s=107;break;case 1073741912:s=13;break;case 1073741913:s=97;break;case 1073741914:s=98;break;case 1073741915:s=99;break;case 1073741916:s=100;break;case 1073741917:s=101;break;case 1073741918:s=102;break;case 1073741919:s=103;break;case 1073741920:s=104;break;case 1073741921:s=105;break;case 1073741922:s=96;break;case 1073741923:s=110;break;case 1073741925:s=302;break;case 1073741928:s=124;break;case 1073741929:s=125;break;case 1073741930:s=126;break;case 1073741982:s=13;break;case 1073742044:s=110;break;case 1073742048:s=17;break;case 1073742049:s=16;break;case 1073742050:s=18;break;case 1073742051:s=15;break;case 1073742052:s=17;break;case 1073742053:s=16;break;case 1073742054:s=18;break;case 1073742055:s=15;break;default:s=t}var a=openfl_ui_Keyboard.__getCharCode(s,lime_ui_KeyModifier.get_shiftKey(i));if("keyUp"==e&&(32==s||13==s)&&this.__focus instanceof openfl_display_Sprite){var r=js_Boot.__cast(this.__focus,openfl_display_Sprite);if(r.get_buttonMode()&&1==r.focusRect){var _=openfl_geom_Point.__pool.get(),o=openfl_geom_Point.__pool.get();o.x=this.__mouseX,o.y=this.__mouseY;var h=openfl_events_MouseEvent.__create("click",0,this.__mouseX,this.__mouseY,r.__globalToLocal(o,_),r);this.__dispatchStack(h,l),openfl_geom_Point.__pool.release(o),openfl_geom_Point.__pool.release(_)}}var u=new openfl_events_KeyboardEvent(e,!0,!0,a,s,n,this.__macKeyboard?lime_ui_KeyModifier.get_ctrlKey(i)||lime_ui_KeyModifier.get_metaKey(i):lime_ui_KeyModifier.get_ctrlKey(i),lime_ui_KeyModifier.get_altKey(i),lime_ui_KeyModifier.get_shiftKey(i),lime_ui_KeyModifier.get_ctrlKey(i),lime_ui_KeyModifier.get_metaKey(i));if(l.reverse(),this.__dispatchStack(u,l),u.__preventDefault)"keyDown"==e?this.window.onKeyDown.cancel():this.window.onKeyUp.cancel();else if("keyDown"==e&&9==s){var d=[];this.__tabTest(d);var c=-1,p=null,f=lime_ui_KeyModifier.get_shiftKey(i)?-1:1;if(d.length>1){if(haxe_ds_ArraySort.sort(d,function(e,t){return e.get_tabIndex()-t.get_tabIndex()}),-1!=d[d.length-1].get_tabIndex())for(y=0;y<d.length;){if(d[y].get_tabIndex()>-1){y>0&&d.splice(0,y);break}++y}if(null!=this.get_focus()){for(var m=this.get_focus(),x=d.indexOf(m);-1==x&&null!=m;){var g=m.parent;if(null!=g&&g.get_tabChildren()){var F=g.getChildIndex(m);if(-1==F){m=g;continue}for(var y=F+f;lime_ui_KeyModifier.get_shiftKey(i)?y>=0:y<g.get_numChildren();){var S=g.getChildAt(y);if(S instanceof openfl_display_InteractiveObject){var b=js_Boot.__cast(S,openfl_display_InteractiveObject);if(-1!=(x=d.indexOf(b))){f=0;break}}y+=f}}else lime_ui_KeyModifier.get_shiftKey(i)&&-1!=(x=d.indexOf(g))&&(f=0);m=g}c=x<0?0:x+f}else c=this.__currentTabOrderIndex}else 1==d.length&&(p=d[0],this.get_focus()==p&&(p=null));var U=c>=0&&c<d.length;1==d.length||0==d.length&&null!=this.get_focus()?c=0:d.length>1&&(c<0&&(c+=d.length),(p=d[c%=d.length])==this.get_focus()&&((c+=f)<0&&(c+=d.length),p=d[c%=d.length]));var v=null;null!=this.get_focus()&&(v=new openfl_events_FocusEvent("keyFocusChange",!0,!0,p,lime_ui_KeyModifier.get_shiftKey(i),0),l=[],this.get_focus().__getInteractive(l),l.reverse(),this.__dispatchStack(v,l),v.isDefaultPrevented()&&this.window.onKeyDown.cancel()),null!=v&&v.isDefaultPrevented()||(this.__currentTabOrderIndex=c,null!=p&&this.set_focus(p),U&&this.window.onKeyDown.cancel())}}},__onLimeCreateWindow:function(e){if(this.window==e){var t=$bind(this,this.__onLimeWindowActivate),i=e,l=function(){t(i)};e.onActivate.add(l);var n=$bind(this,this.__onLimeWindowClose),s=e,l=function(){n(s)};e.onClose.add(l,!1,-9e3);var a=$bind(this,this.__onLimeWindowDeactivate),r=e,l=function(){a(r)};e.onDeactivate.add(l);var _=$bind(this,this.__onLimeWindowDropFile),o=e,l=function(e){_(o,e)};e.onDropFile.add(l);var h=$bind(this,this.__onLimeWindowEnter),u=e,l=function(){h(u)};e.onEnter.add(l);var d=$bind(this,this.__onLimeWindowExpose),c=e,l=function(){d(c)};e.onExpose.add(l);var p=$bind(this,this.__onLimeWindowFocusIn),f=e,l=function(){p(f)};e.onFocusIn.add(l);var m=$bind(this,this.__onLimeWindowFocusOut),x=e,l=function(){m(x)};e.onFocusOut.add(l);var g=$bind(this,this.__onLimeWindowFullscreen),F=e,l=function(){g(F)};e.onFullscreen.add(l);var y=$bind(this,this.__onLimeKeyDown),S=e,l=function(e,t){y(S,e,t)};e.onKeyDown.add(l);var b=$bind(this,this.__onLimeKeyUp),U=e,l=function(e,t){b(U,e,t)};e.onKeyUp.add(l);var v=$bind(this,this.__onLimeWindowLeave),T=e,l=function(){v(T)};e.onLeave.add(l);var N=$bind(this,this.__onLimeWindowMinimize),D=e,l=function(){N(D)};e.onMinimize.add(l);var Q=$bind(this,this.__onLimeMouseDown),B=e,l=function(e,t,i){Q(B,e,t,i)};e.onMouseDown.add(l);var R=$bind(this,this.__onLimeMouseMove),w=e,l=function(e,t){R(w,e,t)};e.onMouseMove.add(l);var E=$bind(this,this.__onLimeMouseMoveRelative),k=e,l=function(e,t){E(k,e,t)};e.onMouseMoveRelative.add(l);var W=$bind(this,this.__onLimeMouseUp),Z=e,l=function(e,t,i){W(Z,e,t,i)};e.onMouseUp.add(l);var M=$bind(this,this.__onLimeMouseWheel),P=e,l=function(e,t,i){M(P,e,t,i)};e.onMouseWheel.add(l);var V=$bind(this,this.__onLimeWindowMove),A=e,l=function(e,t){V(A,e,t)};e.onMove.add(l),e.onRender.add($bind(this,this.__onLimeRender)),e.onRenderContextLost.add($bind(this,this.__onLimeRenderContextLost)),e.onRenderContextRestored.add($bind(this,this.__onLimeRenderContextRestored));var G=$bind(this,this.__onLimeWindowResize),C=e,l=function(e,t){G(C,e,t)};e.onResize.add(l);var I=$bind(this,this.__onLimeWindowRestore),L=e,l=function(){I(L)};e.onRestore.add(l);var J=$bind(this,this.__onLimeTextEdit),O=e,l=function(e,t,i){J(O,e,t,i)};e.onTextEdit.add(l);var $=$bind(this,this.__onLimeTextInput),H=e,l=function(e){$(H,e)};e.onTextInput.add(l),this.__onLimeWindowCreate(e)}},__onLimeGamepadAxisMove:function(e,t,i){try{openfl_ui_GameInput.__onGamepadAxisMove(e,t,i)}catch(e){haxe_NativeStackTrace.lastError=e;var l=haxe_Exception.caught(e).unwrap();this.__handleError(l)}},__onLimeGamepadButtonDown:function(e,t){try{openfl_ui_GameInput.__onGamepadButtonDown(e,t)}catch(e){haxe_NativeStackTrace.lastError=e;var i=haxe_Exception.caught(e).unwrap();this.__handleError(i)}},__onLimeGamepadButtonUp:function(e,t){try{openfl_ui_GameInput.__onGamepadButtonUp(e,t)}catch(e){haxe_NativeStackTrace.lastError=e;var i=haxe_Exception.caught(e).unwrap();this.__handleError(i)}},__onLimeGamepadConnect:function(e){try{openfl_ui_GameInput.__onGamepadConnect(e)}catch(i){haxe_NativeStackTrace.lastError=i;var t=haxe_Exception.caught(i).unwrap();this.__handleError(t)}var i=$bind(this,this.__onLimeGamepadAxisMove),l=e,n=function(e,t){i(l,e,t)};e.onAxisMove.add(n);var s=$bind(this,this.__onLimeGamepadButtonDown),a=e,n=function(e){s(a,e)};e.onButtonDown.add(n);var r=$bind(this,this.__onLimeGamepadButtonUp),_=e,n=function(e){r(_,e)};e.onButtonUp.add(n);var o=$bind(this,this.__onLimeGamepadDisconnect),h=e,n=function(){o(h)};e.onDisconnect.add(n)},__onLimeGamepadDisconnect:function(e){try{openfl_ui_GameInput.__onGamepadDisconnect(e)}catch(e){haxe_NativeStackTrace.lastError=e;var t=haxe_Exception.caught(e).unwrap();this.__handleError(t)}},__onLimeKeyDown:function(e,t,i){null!=this.window&&this.window==e&&this.__onKey("keyDown",t,i)},__onLimeKeyUp:function(e,t,i){null!=this.window&&this.window==e&&this.__onKey("keyUp",t,i)},__onLimeModuleExit:function(e){if(null!=this.window){var t=null;t=new openfl_events_Event("deactivate"),this.__broadcastEvent(t)}},__onLimeMouseDown:function(e,t,i,l){if(null!=this.window&&this.window==e){this.__dispatchPendingMouseEvent();var n;switch(l){case 1:n="middleMouseDown";break;case 2:n="rightMouseDown";break;default:n="mouseDown"}this.__onMouse(n,t*e.__scale|0,i*e.__scale|0,l),this.showDefaultContextMenu||2!=l||e.onMouseDown.cancel()}},__onLimeMouseMove:function(e,t,i){null!=this.window&&this.window==e&&(this.__pendingMouseEvent=!0,this.__pendingMouseX=t*e.__scale|0,this.__pendingMouseY=i*e.__scale|0)},__onLimeMouseMoveRelative:function(e,t,i){},__onLimeMouseUp:function(e,t,i,l){if(null!=this.window&&this.window==e){this.__dispatchPendingMouseEvent();var n;switch(l){case 1:n="middleMouseUp";break;case 2:n="rightMouseUp";break;default:n="mouseUp"}this.__onMouse(n,t*e.__scale|0,i*e.__scale|0,l),this.showDefaultContextMenu||2!=l||e.onMouseUp.cancel()}},__onLimeMouseWheel:function(e,t,i,l){null!=this.window&&this.window==e&&(this.__dispatchPendingMouseEvent(),l==lime_ui_MouseWheelMode.PIXELS?this.__onMouseWheel(t*e.__scale|0,i*e.__scale|0,l):this.__onMouseWheel(0|t,0|i,l))},__onLimeRender:function(e){if(!this.__rendering){this.__rendering=!0;var t=null;this.__broadcastEvent(new openfl_events_Event("enterFrame")),this.__broadcastEvent(new openfl_events_Event("frameConstructed")),this.__broadcastEvent(new openfl_events_Event("exitFrame")),this.__renderable=!0,this.__enterFrame(this.__deltaTime),this.__deltaTime=0;var i=null!=this.__renderer&&(this.__renderDirty||this.__forceRender);if(this.__invalidated&&i&&(this.__invalidated=!1,t=new openfl_events_Event("render"),this.__broadcastEvent(t)),this.__update(!1,!0),null!=this.__renderer){if(null!=this.context3D){for(var l=this.stage3Ds.iterator();l.hasNext();){var n=l.next();this.context3D.__renderStage3D(n)}this.context3D.__present&&(i=!0)}if(i){this.__renderer.__type;null==this.context3D&&this.__renderer.__clear(),this.__renderer.__render(this)}else null==this.context3D&&this.window.onRender.cancel();null!=this.context3D&&(this.context3D.__present?(this.__renderer.__cleared||this.__renderer.__clear(),this.context3D.__present=!1,this.context3D.__cleared=!1):this.window.onRender.cancel()),this.__renderer.__cleared=!1}this.__rendering=!1}},__onLimeRenderContextLost:function(){this.__renderer=null,this.context3D=null;for(var e=this.stage3Ds.iterator();e.hasNext();)e.next().__lostContext()},__onLimeRenderContextRestored:function(e){this.__createRenderer();for(var t=this.stage3Ds.iterator();t.hasNext();)t.next().__restoreContext()},__onLimeTextEdit:function(e,t,i,l){},__onLimeTextInput:function(e,t){if(null!=this.window&&this.window==e){var i=[];null==this.__focus?this.__getInteractive(i):this.__focus.__getInteractive(i);var l=new openfl_events_TextEvent("textInput",!0,!0,t);i.length>0?(i.reverse(),this.__dispatchStack(l,i)):this.__dispatchEvent(l),l.isDefaultPrevented()&&e.onTextInput.cancel()}},__onLimeTouchCancel:function(e){var t=this.__primaryTouch==e;t&&(this.__primaryTouch=null),this.__onTouch("touchEnd",e,t)},__onLimeTouchMove:function(e){this.__onTouch("touchMove",e,this.__primaryTouch==e)},__onLimeTouchEnd:function(e){var t=this.__primaryTouch==e;t&&(this.__primaryTouch=null),this.__onTouch("touchEnd",e,t)},__onLimeTouchStart:function(e){null==this.__primaryTouch&&(this.__primaryTouch=e),this.__onTouch("touchBegin",e,this.__primaryTouch==e)},__onLimeUpdate:function(e){this.__deltaTime=e,this.__dispatchPendingMouseEvent()},__onLimeWindowActivate:function(e){null==this.window||this.window},__onLimeWindowClose:function(e){this.window==e&&(this.window=null),this.__primaryTouch=null;var t=null;t=new openfl_events_Event("deactivate"),this.__broadcastEvent(t)},__onLimeWindowCreate:function(e){null!=this.window&&this.window==e&&null!=e.context&&this.__createRenderer()},__onLimeWindowDeactivate:function(e){null==this.window||this.window},__onLimeWindowDropFile:function(e,t){},__onLimeWindowEnter:function(e){},__onLimeWindowExpose:function(e){null!=this.window&&this.window==e&&(this.__renderDirty=!0)},__onLimeWindowFocusIn:function(e){if(null!=this.window&&this.window==e){this.__renderDirty=!0;var t=null;t=new openfl_events_Event("activate"),this.__broadcastEvent(t),this.set_focus(this.__cacheFocus)}},__onLimeWindowFocusOut:function(e){if(null!=this.window&&this.window==e){this.__primaryTouch=null;var t=null;t=new openfl_events_Event("deactivate"),this.__broadcastEvent(t);var i=this.get_focus();this.set_focus(null),this.__cacheFocus=i,openfl_events_MouseEvent.__altKey=!1,openfl_events_MouseEvent.__commandKey=!1,openfl_events_MouseEvent.__ctrlKey=!1,openfl_events_MouseEvent.__shiftKey=!1}},__onLimeWindowFullscreen:function(e){null!=this.window&&this.window==e&&(this.__resize(),this.__wasFullscreen||(this.__wasFullscreen=!0,2==this.__displayState&&(this.__displayState=1),this.__dispatchEvent(new openfl_events_FullScreenEvent("fullScreen",!1,!1,!0,!0))))},__onLimeWindowLeave:function(e){if(null!=this.window&&this.window==e&&!openfl_events_MouseEvent.__buttonDown){this.__dispatchPendingMouseEvent();var t=null;t=new openfl_events_Event("mouseLeave"),this.__dispatchEvent(t)}},__onLimeWindowMinimize:function(e){null==this.window||this.window},__onLimeWindowMove:function(e,t,i){},__onLimeWindowResize:function(e,t,i){null!=this.window&&this.window==e&&(this.__resize(),this.__wasFullscreen&&!e.__fullscreen&&(this.__wasFullscreen=!1,this.__displayState=2,this.__dispatchEvent(new openfl_events_FullScreenEvent("fullScreen",!1,!1,!1,!0))))},__onLimeWindowRestore:function(e){null!=this.window&&this.window==e&&this.__wasFullscreen&&!e.__fullscreen&&(this.__wasFullscreen=!1,this.__displayState=2,this.__dispatchEvent(new openfl_events_FullScreenEvent("fullScreen",!1,!1,!1,!0)))},__onMouse:function(e,t,i,l){if(!(l>2)){var n=openfl_geom_Point.__pool.get();n.setTo(t,i);var s=this.__displayMatrix,a=s.a*s.d-s.b*s.c;if(0==a)n.x=-s.tx,n.y=-s.ty;else{var r=1/a*(s.c*(s.ty-n.y)+s.d*(n.x-s.tx));n.y=1/a*(s.a*(n.y-s.ty)+s.b*(s.tx-n.x)),n.x=r}this.__mouseX=n.x,this.__mouseY=n.y;var _=[],o=null;this.__hitTest(this.__mouseX,this.__mouseY,!0,_,!0,this)?o=_[_.length-1]:(o=this,_=[this]),null==o&&(o=this);var h=null;switch(e){case"middleMouseDown":this.__mouseDownMiddle=o;break;case"middleMouseUp":this.__mouseDownMiddle==o&&(h="middleClick"),this.__mouseDownMiddle=null;break;case"mouseDown":if(o.__allowMouseFocus())if(null!=this.get_focus()){var u=new openfl_events_FocusEvent("mouseFocusChange",!0,!0,o,!1,0);this.__dispatchStack(u,_),u.isDefaultPrevented()||this.set_focus(o)}else this.set_focus(o);else this.set_focus(null);this.__mouseDownLeft=o,openfl_events_MouseEvent.__buttonDown=!0;break;case"mouseUp":if(null!=this.__mouseDownLeft){if(openfl_events_MouseEvent.__buttonDown=!1,this.__mouseDownLeft==o)h="click";else{c=null;c=openfl_events_MouseEvent.__create("releaseOutside",1,this.__mouseX,this.__mouseY,new openfl_geom_Point(this.__mouseX,this.__mouseY),this),this.__mouseDownLeft.dispatchEvent(c)}this.__mouseDownLeft=null}break;case"rightMouseDown":this.__mouseDownRight=o;break;case"rightMouseUp":this.__mouseDownRight==o&&(h="rightClick"),this.__mouseDownRight=null}var d=openfl_geom_Point.__pool.get(),c=null;if(c=openfl_events_MouseEvent.__create(e,l,this.__mouseX,this.__mouseY,o.__globalToLocal(n,d),o),this.__dispatchStack(c,_),null!=h&&(c=openfl_events_MouseEvent.__create(h,l,this.__mouseX,this.__mouseY,o.__globalToLocal(n,d),o),this.__dispatchStack(c,_),"mouseUp"==e&&js_Boot.__cast(o,openfl_display_InteractiveObject).doubleClickEnabled)){var p=openfl_Lib.getTimer();p-this.__lastClickTime<500?(c=openfl_events_MouseEvent.__create("doubleClick",l,this.__mouseX,this.__mouseY,o.__globalToLocal(n,d),o),this.__dispatchStack(c,_),this.__lastClickTime=0):this.__lastClickTime=p}if("auto"==openfl_ui_Mouse.__cursor&&!openfl_ui_Mouse.__hidden){var f=null;if(null!=this.__mouseDownLeft)f=this.__mouseDownLeft.__getCursor();else for(g=0;g<_.length;){var m=_[g];if(++g,null!=(f=m.__getCursor())){this.window.set_cursor(openfl_ui_MouseCursor.toLimeCursor(f));break}}null==f&&this.window.set_cursor(lime_ui_MouseCursor.ARROW)}o!=this.__mouseOverTarget&&null!=this.__mouseOverTarget&&(c=openfl_events_MouseEvent.__create("mouseOut",l,this.__mouseX,this.__mouseY,this.__mouseOverTarget.__globalToLocal(n,d),this.__mouseOverTarget),this.__dispatchStack(c,this.__mouseOutStack));for(var x=0;x<this.__rollOutStack.length;)F=this.__rollOutStack[x],-1==_.indexOf(F)?(HxOverrides.remove(this.__rollOutStack,F),(c=openfl_events_MouseEvent.__create("rollOut",l,this.__mouseX,this.__mouseY,this.__mouseOverTarget.__globalToLocal(n,d),this.__mouseOverTarget)).bubbles=!1,this.__dispatchTarget(F,c)):++x;for(var g=0;g<_.length;){var F=_[g];++g,-1==this.__rollOutStack.indexOf(F)&&null!=this.__mouseOverTarget&&(F.hasEventListener("rollOver")&&((c=openfl_events_MouseEvent.__create("rollOver",l,this.__mouseX,this.__mouseY,this.__mouseOverTarget.__globalToLocal(n,d),F)).bubbles=!1,this.__dispatchTarget(F,c)),(F.hasEventListener("rollOut")||F.hasEventListener("rollOver"))&&this.__rollOutStack.push(F))}if(o!=this.__mouseOverTarget&&(null!=o&&(c=openfl_events_MouseEvent.__create("mouseOver",l,this.__mouseX,this.__mouseY,o.__globalToLocal(n,d),o),this.__dispatchStack(c,_)),this.__mouseOverTarget=o,this.__mouseOutStack=_),null!=this.__dragObject){this.__drag(n);var y=null;if(this.__mouseOverTarget==this.__dragObject){var S=this.__dragObject.mouseEnabled,b=this.__dragObject.mouseChildren;this.__dragObject.mouseEnabled=!1,this.__dragObject.mouseChildren=!1;_=[];this.__hitTest(this.__mouseX,this.__mouseY,!0,_,!0,this)&&(y=_[_.length-1]),this.__dragObject.mouseEnabled=S,this.__dragObject.mouseChildren=b}else this.__mouseOverTarget!=this&&(y=this.__mouseOverTarget);this.__dragObject.dropTarget=y}openfl_geom_Point.__pool.release(n),openfl_geom_Point.__pool.release(d)}},__onMouseWheel:function(e,t,i){var l=this.__mouseX,n=this.__mouseY,s=[],a=null;this.__hitTest(this.__mouseX,this.__mouseY,!0,s,!0,this)?a=s[s.length-1]:(a=this,s=[this]),null==a&&(a=this);var r=openfl_geom_Point.__pool.get();r.setTo(l,n);var _=this.__displayMatrix,o=_.a*_.d-_.b*_.c;if(0==o)r.x=-_.tx,r.y=-_.ty;else{var h=1/o*(_.c*(_.ty-r.y)+_.d*(r.x-_.tx));r.y=1/o*(_.a*(r.y-_.ty)+_.b*(_.tx-r.x)),r.x=h}var u=0|t,d=openfl_events_MouseEvent.__create("mouseWheel",0,this.__mouseX,this.__mouseY,a.__globalToLocal(r,r),a,u);d.cancelable=!0,this.__dispatchStack(d,s),d.isDefaultPrevented()&&this.window.onMouseWheel.cancel(),openfl_geom_Point.__pool.release(r)},__onTouch:function(e,t,i){var l=openfl_geom_Point.__pool.get();l.setTo(Math.round(t.x*this.window.__width*this.window.__scale),Math.round(t.y*this.window.__height*this.window.__scale));var n=this.__displayMatrix,s=n.a*n.d-n.b*n.c;if(0==s)l.x=-n.tx,l.y=-n.ty;else{var a=1/s*(n.c*(n.ty-l.y)+n.d*(l.x-n.tx));l.y=1/s*(n.a*(l.y-n.ty)+n.b*(n.tx-l.x)),l.x=a}var r=l.x,_=l.y,o=[],h=null;this.__hitTest(r,_,!1,o,!0,this)?h=o[o.length-1]:(h=this,o=[this]),null==h&&(h=this);var u=t.id,d=null;this.__touchData.h.hasOwnProperty(u)?d=this.__touchData.h[u]:((d=openfl__$internal_utils_TouchData.__pool.get()).reset(),d.touch=t,this.__touchData.h[u]=d);var c=null,p=!1;switch(e){case"touchBegin":d.touchDownTarget=h;break;case"touchEnd":d.touchDownTarget==h&&(c="touchTap"),d.touchDownTarget=null,p=!0}var f=openfl_geom_Point.__pool.get(),m=openfl_events_TouchEvent.__create(e,null,r,_,h.__globalToLocal(l,f),h);m.touchPointID=u,m.isPrimaryTouchPoint=i,m.pressure=t.pressure,this.__dispatchStack(m,o),null!=c&&((m=openfl_events_TouchEvent.__create(c,null,r,_,h.__globalToLocal(l,f),h)).touchPointID=u,m.isPrimaryTouchPoint=i,m.pressure=t.pressure,this.__dispatchStack(m,o));var x=d.touchOverTarget;h!=x&&null!=x&&((m=openfl_events_TouchEvent.__create("touchOut",null,r,_,x.__globalToLocal(l,f),x)).touchPointID=u,m.isPrimaryTouchPoint=i,m.pressure=t.pressure,this.__dispatchTarget(x,m));for(var g=d.rollOutStack,F=0;F<g.length;)S=g[F],-1==o.indexOf(S)?(HxOverrides.remove(g,S),(m=openfl_events_TouchEvent.__create("touchRollOut",null,r,_,x.__globalToLocal(l,f),x)).touchPointID=u,m.isPrimaryTouchPoint=i,m.bubbles=!1,m.pressure=t.pressure,this.__dispatchTarget(S,m)):++F;for(var y=0;y<o.length;){var S=o[y];++y,-1==g.indexOf(S)&&(S.hasEventListener("touchRollOver")&&((m=openfl_events_TouchEvent.__create("touchRollOver",null,r,_,x.__globalToLocal(l,f),S)).touchPointID=u,m.isPrimaryTouchPoint=i,m.bubbles=!1,m.pressure=t.pressure,this.__dispatchTarget(S,m)),S.hasEventListener("touchRollOut")&&g.push(S))}h!=x&&(null!=h&&((m=openfl_events_TouchEvent.__create("touchOver",null,r,_,h.__globalToLocal(l,f),h)).touchPointID=u,m.isPrimaryTouchPoint=i,m.bubbles=!0,m.pressure=t.pressure,this.__dispatchTarget(h,m)),d.touchOverTarget=h),openfl_geom_Point.__pool.release(l),openfl_geom_Point.__pool.release(f),p&&(this.__touchData.remove(u),d.reset(),openfl__$internal_utils_TouchData.__pool.release(d))},__registerLimeModule:function(e){e.onCreateWindow.add($bind(this,this.__onLimeCreateWindow)),e.onUpdate.add($bind(this,this.__onLimeUpdate)),e.onExit.add($bind(this,this.__onLimeModuleExit),!1,0);for(var t=lime_ui_Gamepad.devices.iterator();t.hasNext();){var i=t.next();this.__onLimeGamepadConnect(i)}lime_ui_Gamepad.onConnect.add($bind(this,this.__onLimeGamepadConnect)),lime_ui_Touch.onStart.add($bind(this,this.__onLimeTouchStart)),lime_ui_Touch.onMove.add($bind(this,this.__onLimeTouchMove)),lime_ui_Touch.onEnd.add($bind(this,this.__onLimeTouchEnd)),lime_ui_Touch.onCancel.add($bind(this,this.__onLimeTouchCancel))},__resize:function(){var e=this.stageWidth,t=this.stageHeight,i=this.window.__width*this.window.__scale|0,l=this.window.__height*this.window.__scale|0;if(this.__logicalWidth=i,this.__logicalHeight=l,this.__displayMatrix.identity(),null!=this.get_fullScreenSourceRect()&&this.window.__fullscreen){this.stageWidth=0|this.get_fullScreenSourceRect().width,this.stageHeight=0|this.get_fullScreenSourceRect().height;var n=i/this.stageWidth,s=l/this.stageHeight;this.__displayMatrix.translate(-this.get_fullScreenSourceRect().x,-this.get_fullScreenSourceRect().y),this.__displayMatrix.scale(n,s),this.__displayRect.setTo(this.get_fullScreenSourceRect().get_left(),this.get_fullScreenSourceRect().get_right(),this.get_fullScreenSourceRect().get_top(),this.get_fullScreenSourceRect().get_bottom())}else{if(0==this.__logicalWidth&&0==this.__logicalHeight)this.stageWidth=i,this.stageHeight=l;else{this.stageWidth=this.__logicalWidth,this.stageHeight=this.__logicalHeight;var a=i/this.stageWidth,r=l/this.stageHeight,_=Math.min(a,r),o=Math.round((i-this.stageWidth*_)/2),h=Math.round((l-this.stageHeight*_)/2);this.__displayMatrix.scale(_,_),this.__displayMatrix.translate(o,h)}this.__displayRect.setTo(0,0,this.stageWidth,this.stageHeight)}null!=this.context3D&&this.context3D.configureBackBuffer(i,l,0,!0,!0,!0);for(var u=this.stage3Ds.iterator();u.hasNext();)u.next().__resize(i,l);if(null!=this.__renderer&&this.__renderer.__resize(i,l),this.stageWidth!=e||this.stageHeight!=t){this.__renderDirty=!0,this.__setTransformDirty();var d=null;d=new openfl_events_Event("resize"),this.__dispatchEvent(d)}},__setLogicalSize:function(e,t){this.__logicalWidth=e,this.__logicalHeight=t,this.__resize()},__startDrag:function(e,t,i){if(null==i)this.__dragBounds=null;else{this.__dragBounds=new openfl_geom_Rectangle;var l=i.get_right(),n=i.get_bottom();this.__dragBounds.x=l<i.x?l:i.x,this.__dragBounds.y=n<i.y?n:i.y,this.__dragBounds.width=Math.abs(i.width),this.__dragBounds.height=Math.abs(i.height)}if(this.__dragObject=e,null!=this.__dragObject)if(t)this.__dragOffsetX=0,this.__dragOffsetY=0;else{var s=openfl_geom_Point.__pool.get();s.setTo(this.get_mouseX(),this.get_mouseY());var a=this.__dragObject.parent;if(null!=a){var r=a.__getWorldTransform(),_=r.a*r.d-r.b*r.c;if(0==_)s.x=-r.tx,s.y=-r.ty;else{var o=1/_*(r.c*(r.ty-s.y)+r.d*(s.x-r.tx));s.y=1/_*(r.a*(s.y-r.ty)+r.b*(r.tx-s.x)),s.x=o}}this.__dragOffsetX=this.__dragObject.get_x()-s.x,this.__dragOffsetY=this.__dragObject.get_y()-s.y,openfl_geom_Point.__pool.release(s)}},__stopDrag:function(e){this.__dragBounds=null,this.__dragObject=null},__unregisterLimeModule:function(e){e.onCreateWindow.remove($bind(this,this.__onLimeCreateWindow)),e.onUpdate.remove($bind(this,this.__onLimeUpdate)),e.onExit.remove($bind(this,this.__onLimeModuleExit)),lime_ui_Gamepad.onConnect.remove($bind(this,this.__onLimeGamepadConnect)),lime_ui_Touch.onStart.remove($bind(this,this.__onLimeTouchStart)),lime_ui_Touch.onMove.remove($bind(this,this.__onLimeTouchMove)),lime_ui_Touch.onEnd.remove($bind(this,this.__onLimeTouchEnd)),lime_ui_Touch.onCancel.remove($bind(this,this.__onLimeTouchCancel))},__update:function(e,t){e?this.__transformDirty&&(openfl_display_DisplayObjectContainer.prototype.__update.call(this,!0,t),t&&(this.__transformDirty=!1)):this.__transformDirty||this.__renderDirty?(openfl_display_DisplayObjectContainer.prototype.__update.call(this,!1,t),t&&openfl_display_DisplayObject.__supportDOM&&(this.__wasDirty=!0)):!this.__renderDirty&&this.__wasDirty&&(openfl_display_DisplayObjectContainer.prototype.__update.call(this,!1,t),t&&(this.__wasDirty=!1))},get_color:function(){return this.__color},set_color:function(e){if(null==e?(this.__transparent=!0,e=0):this.__transparent=!1,this.__color!=e){var t=(16711680&e)>>>16,i=(65280&e)>>>8,l=255&e;this.__colorSplit[0]=t/255,this.__colorSplit[1]=i/255,this.__colorSplit[2]=l/255,this.__colorString="#"+StringTools.hex(16777215&e,6),this.__renderDirty=!0,this.__color=-16777216|16777215&e}return e},get_contentsScaleFactor:function(){return this.__contentsScaleFactor},get_displayState:function(){return this.__displayState},set_displayState:function(e){return null!=this.window&&(2==e?this.window.__fullscreen&&this.window.set_fullscreen(!1):this.window.__fullscreen||this.window.set_fullscreen(!0)),this.__displayState=e},get_focus:function(){return this.__focus},set_focus:function(e){if(e!=this.__focus){var t=this.__focus;if(this.__focus=e,this.__cacheFocus=e,null!=t){var i=new openfl_events_FocusEvent("focusOut",!0,!1,e,!1,0),l=[];t.__getInteractive(l),l.reverse(),this.__dispatchStack(i,l)}if(null!=e){var i=new openfl_events_FocusEvent("focusIn",!0,!1,t,!1,0),l=[];e.__getInteractive(l),l.reverse(),this.__dispatchStack(i,l)}}return e},get_frameRate:function(){return null!=this.window?this.window.__backend.getFrameRate():0},set_frameRate:function(e){return null!=this.window?this.window.__backend.setFrameRate(e):e},get_fullScreenHeight:function(){return Math.ceil(this.window.get_display().currentMode.height*this.window.__scale)},get_fullScreenSourceRect:function(){return null==this.__fullScreenSourceRect?null:this.__fullScreenSourceRect.clone()},set_fullScreenSourceRect:function(e){return null==e?null!=this.__fullScreenSourceRect&&(this.__fullScreenSourceRect=null,this.__resize()):e.equals(this.__fullScreenSourceRect)||(this.__fullScreenSourceRect=e.clone(),this.__resize()),e},get_fullScreenWidth:function(){return Math.ceil(this.window.get_display().currentMode.width*this.window.__scale)},set_height:function(e){return this.get_height()},get_mouseX:function(){return this.__mouseX},get_mouseY:function(){return this.__mouseY},get_quality:function(){return this.__quality},set_quality:function(e){if(this.__quality=e,null!=this.__renderer){var t=this.get_quality();this.__renderer.__allowSmoothing=2!=t}return e},set_rotation:function(e){return 0},get_scaleMode:function(){return this.__scaleMode},set_scaleMode:function(e){return this.__scaleMode=e},set_scaleX:function(e){return 0},set_scaleY:function(e){return 0},get_tabEnabled:function(){return!1},set_tabEnabled:function(e){throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Error: The Stage class does not implement this property or method."))},get_tabIndex:function(){return-1},set_tabIndex:function(e){throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Error: The Stage class does not implement this property or method."))},set_transform:function(e){return this.get_transform()},set_width:function(e){return this.get_width()},set_x:function(e){return 0},set_y:function(e){return 0},__class__:openfl_display_Stage,__properties__:$extend(openfl_display_DisplayObjectContainer.prototype.__properties__,{set_scaleMode:"set_scaleMode",get_scaleMode:"get_scaleMode",set_quality:"set_quality",get_quality:"get_quality",get_fullScreenWidth:"get_fullScreenWidth",set_fullScreenSourceRect:"set_fullScreenSourceRect",get_fullScreenSourceRect:"get_fullScreenSourceRect",get_fullScreenHeight:"get_fullScreenHeight",set_frameRate:"set_frameRate",get_frameRate:"get_frameRate",set_focus:"set_focus",get_focus:"get_focus",set_displayState:"set_displayState",get_displayState:"get_displayState",get_contentsScaleFactor:"get_contentsScaleFactor",set_color:"set_color",get_color:"get_color"})});var openfl_display_Stage3D=function(e){openfl_events_EventDispatcher.call(this),this.__stage=e,this.__height=0,this.__projectionTransform=new openfl_geom_Matrix3D,this.__renderTransform=new openfl_geom_Matrix3D,this.__width=0,this.__x=0,this.__y=0,this.visible=!0,e.stageWidth>0&&e.stageHeight>0&&this.__resize(e.stageWidth,e.stageHeight)};$hxClasses["openfl.display.Stage3D"]=openfl_display_Stage3D,openfl_display_Stage3D.__name__="openfl.display.Stage3D",openfl_display_Stage3D.__active=null,openfl_display_Stage3D.__super__=openfl_events_EventDispatcher,openfl_display_Stage3D.prototype=$extend(openfl_events_EventDispatcher.prototype,{context3D:null,visible:null,__contextLost:null,__contextRequested:null,__height:null,__indexBuffer:null,__projectionTransform:null,__renderTransform:null,__stage:null,__vertexBuffer:null,__width:null,__x:null,__y:null,__canvas:null,__renderContext:null,__style:null,__webgl:null,requestContext3D:function(e,t){null==t&&(t=0),null==e&&(e=0),this.__contextLost?this.__contextRequested=!0:null!=this.context3D?(this.__contextRequested=!0,haxe_Timer.delay($bind(this,this.__dispatchCreate),1)):this.__contextRequested||(this.__contextRequested=!0,haxe_Timer.delay($bind(this,this.__createContext),1))},requestContext3DMatchingProfiles:function(e){this.requestContext3D()},__createContext:function(){var e=this.__stage,t=e.__renderer;if("cairo"!=t.__type&&"canvas"!=t.__type){if("opengl"==t.__type)this.context3D=new openfl_display3D_Context3D(e,e.context3D.__contextState,this),this.__dispatchCreate();else if("dom"==t.__type){this.__canvas=window.document.createElement("canvas"),this.__canvas.width=e.stageWidth,this.__canvas.height=e.stageHeight;e.window;var i=t.__context.attributes,l=Object.prototype.hasOwnProperty.call(i,"background")&&null==i.background,n=Object.prototype.hasOwnProperty.call(i,"colorDepth")?i.colorDepth:32,s=Object.prototype.hasOwnProperty.call(i,"antialiasing")&&i.antialiasing>0,a={alpha:l||n>16,antialias:s,depth:!0,premultipliedAlpha:!0,stencil:!0,preserveDrawingBuffer:!1};this.__webgl=js_html__$CanvasElement_CanvasUtil.getContextWebGL(this.__canvas,a),this.__webgl,this.__dispatchError()}}else this.__dispatchError()},__dispatchError:function(){this.__contextRequested=!1,this.dispatchEvent(new openfl_events_ErrorEvent("error",!1,!1,"Context3D not available"))},__dispatchCreate:function(){this.__contextRequested&&(this.__contextRequested=!1,this.dispatchEvent(new openfl_events_Event("context3DCreate")))},__lostContext:function(){this.__contextLost=!0,null!=this.context3D&&(this.context3D.__dispose(),this.__contextRequested=!0)},__resize:function(e,t){e==this.__width&&t==this.__height||(null!=this.__canvas&&(this.__canvas.width=e,this.__canvas.height=t),this.__projectionTransform.copyRawDataFrom(openfl_Vector.toFloatVector(null,null,null,[2/(e>0?e:1),0,0,0,0,-2/(t>0?t:1),0,0,0,0,-.001,0,-1,1,0,1])),this.__renderTransform.identity(),this.__renderTransform.appendTranslation(this.__x,this.__y,0),this.__renderTransform.append(this.__projectionTransform),this.__width=e,this.__height=t)},__restoreContext:function(){this.__contextLost=!1,this.__createContext()},get_x:function(){return this.__x},set_x:function(e){return this.__x==e?e:(this.__x=e,this.__renderTransform.identity(),this.__renderTransform.appendTranslation(this.__x,this.__y,0),this.__renderTransform.append(this.__projectionTransform),e)},get_y:function(){return this.__y},set_y:function(e){return this.__y==e?e:(this.__y=e,this.__renderTransform.identity(),this.__renderTransform.appendTranslation(this.__x,this.__y,0),this.__renderTransform.append(this.__projectionTransform),e)},__class__:openfl_display_Stage3D,__properties__:{set_y:"set_y",get_y:"get_y",set_x:"set_x",get_x:"get_x"}});var openfl_display_StageAlign={};openfl_display_StageAlign.fromString=function(e){switch(e){case"bottom":return 0;case"bottomLeft":return 1;case"bottomRight":return 2;case"left":return 3;case"right":return 4;case"top":return 5;case"topLeft":return 6;case"topRight":return 7;default:return null}},openfl_display_StageAlign.toString=function(e){switch(e){case 0:return"bottom";case 1:return"bottomLeft";case 2:return"bottomRight";case 3:return"left";case 4:return"right";case 5:return"top";case 6:return"topLeft";case 7:return"topRight";default:return null}};var openfl_display_StageDisplayState={};openfl_display_StageDisplayState.fromString=function(e){switch(e){case"fullScreen":return 0;case"fullScreenInteractive":return 1;case"normal":return 2;default:return null}},openfl_display_StageDisplayState.toString=function(e){switch(e){case 0:return"fullScreen";case 1:return"fullScreenInteractive";case 2:return"normal";default:return null}};var openfl_display_StageQuality={};openfl_display_StageQuality.fromString=function(e){switch(e){case"best":return 0;case"high":return 1;case"low":return 2;case"medium":return 3;default:return null}},openfl_display_StageQuality.toString=function(e){switch(e){case 0:return"best";case 1:return"high";case 2:return"low";case 3:return"medium";default:return null}};var openfl_display_StageScaleMode={};openfl_display_StageScaleMode.fromString=function(e){switch(e){case"exactFit":return 0;case"noBorder":return 1;case"noScale":return 2;case"showAll":return 3;default:return null}},openfl_display_StageScaleMode.toString=function(e){switch(e){case 0:return"exactFit";case 1:return"noBorder";case 2:return"noScale";case 3:return"showAll";default:return null}};var openfl_display_Timeline=function(){this.__framesLoaded=1,this.__totalFrames=1,this.__currentLabels=[],this.__currentFrame=1,this.__lastFrameScriptEval=-1,this.__lastFrameUpdate=-1};$hxClasses["openfl.display.Timeline"]=openfl_display_Timeline,openfl_display_Timeline.__name__="openfl.display.Timeline",openfl_display_Timeline.prototype={frameRate:null,scenes:null,scripts:null,__currentFrame:null,__currentFrameLabel:null,__currentLabel:null,__currentLabels:null,__currentScene:null,__frameScripts:null,__framesLoaded:null,__frameTime:null,__isPlaying:null,__lastFrameScriptEval:null,__lastFrameUpdate:null,__scope:null,__timeElapsed:null,__totalFrames:null,attachMovieClip:function(e){},enterFrame:function(e){},__addFrameScript:function(e,t){if(!(e<0)){var i=e+1;null!=t?(null==this.__frameScripts&&(this.__frameScripts=new haxe_ds_IntMap),this.__frameScripts.h[i]=function(e){t()}):null!=this.__frameScripts&&this.__frameScripts.remove(i)}},__attachMovieClip:function(e){if(this.__scope=e,this.__totalFrames=0,this.__framesLoaded=0,null!=this.scenes&&this.scenes.length>0){for(var t=0,i=this.scenes;t<i.length;){var l=i[t];++t,this.__totalFrames+=l.numFrames,this.__framesLoaded+=l.numFrames,null!=l.labels&&(this.__currentLabels=this.__currentLabels.concat(l.labels))}this.__currentScene=this.scenes[0]}if(null!=this.scripts&&this.scripts.length>0){this.__frameScripts=new haxe_ds_IntMap;for(var t=0,i=this.scripts;t<i.length;){var n=i[t];++t,this.__frameScripts.h[n.frame]=n.script}}this.attachMovieClip(e)},__enterFrame:function(e){if(this.__isPlaying){var t=this.__getNextFrame(e);if(this.__lastFrameScriptEval==t)return;if(null!=this.__frameScripts){if(t<this.__currentFrame){if(!this.__evaluateFrameScripts(this.__totalFrames))return;this.__currentFrame=1}if(!this.__evaluateFrameScripts(t))return}else this.__currentFrame=t}this.__updateSymbol(this.__currentFrame)},__evaluateFrameScripts:function(e){if(null==this.__frameScripts)return!0;for(var t=this.__currentFrame,i=e+1;t<i;){var l=t++;if(l!=this.__lastFrameScriptEval){if(this.__lastFrameScriptEval=l,this.__currentFrame=l,this.__frameScripts.h.hasOwnProperty(l)&&(this.__updateSymbol(l),(0,this.__frameScripts.h[l])(this.__scope),this.__currentFrame!=l))return!1;if(!this.__isPlaying)return!1}}return!0},__getNextFrame:function(e){var t=0;return null!=this.frameRate?(this.__timeElapsed+=e,(t=this.__currentFrame+Math.floor(this.__timeElapsed/this.__frameTime))<1&&(t=1),t>this.__totalFrames&&(t=Math.floor((t-1)%this.__totalFrames)+1),this.__timeElapsed%=this.__frameTime):(t=this.__currentFrame+1)>this.__totalFrames&&(t=1),t},__goto:function(e){e<1?e=1:e>this.__totalFrames&&(e=this.__totalFrames),this.__lastFrameScriptEval=-1,this.__currentFrame=e,this.__updateSymbol(this.__currentFrame),this.__evaluateFrameScripts(this.__currentFrame)},__gotoAndPlay:function(e,t){this.__play(),this.__goto(this.__resolveFrameReference(e))},__gotoAndStop:function(e,t){this.__stop(),this.__goto(this.__resolveFrameReference(e))},__nextFrame:function(){this.__stop(),this.__goto(this.__currentFrame+1)},__nextScene:function(){},__play:function(){this.__isPlaying||this.__totalFrames<2||(this.__isPlaying=!0,null!=this.frameRate&&(this.__frameTime=1e3/this.frameRate|0,this.__timeElapsed=0))},__prevFrame:function(){this.__stop(),this.__goto(this.__currentFrame-1)},__prevScene:function(){},__stop:function(){this.__isPlaying=!1},__resolveFrameReference:function(e){if("number"==typeof e&&(0|e)===e)return e;if("string"==typeof e){for(var t=e,i=0,l=this.__currentLabels;i<l.length;){var n=l[i];if(++i,n.name==t)return n.frame}throw haxe_Exception.thrown(new openfl_errors_ArgumentError("Error #2109: Frame label "+t+" not found in scene."))}throw haxe_Exception.thrown("Invalid type for frame "+e.__name__)},__updateFrameLabel:function(){this.__currentLabel=null,this.__currentFrameLabel=null;for(var e=0,t=this.__currentLabels;e<t.length;){var i=t[e];if(++e,i.frame<this.__currentFrame)this.__currentLabel=i.name;else{if(i.frame!=this.__currentFrame)break;this.__currentLabel=i.name,this.__currentFrameLabel=i.name}}},__updateSymbol:function(e){this.__currentFrame!=this.__lastFrameUpdate&&(this.__updateFrameLabel(),this.enterFrame(e),this.__lastFrameUpdate=this.__currentFrame)},__class__:openfl_display_Timeline};var openfl_display_TriangleCulling={};openfl_display_TriangleCulling.fromString=function(e){switch(e){case"negative":return 0;case"none":return 1;case"positive":return 2;default:return null}},openfl_display_TriangleCulling.toString=function(e){switch(e){case 0:return"negative";case 1:return"none";case 2:return"positive";default:return null}};var openfl_display_Window=function(e,t){if(lime_ui_Window.call(this,e,t),this.stage=new openfl_display_Stage(this,Object.prototype.hasOwnProperty.call(t.context,"background")?t.context.background:16777215),Object.prototype.hasOwnProperty.call(t,"parameters"))try{this.stage.get_loaderInfo().parameters=t.parameters}catch(e){haxe_NativeStackTrace.lastError=e}Object.prototype.hasOwnProperty.call(t,"resizable")&&!t.resizable&&this.stage.__setLogicalSize(t.width,t.height),e.addModule(this.stage)};$hxClasses["openfl.display.Window"]=openfl_display_Window,openfl_display_Window.__name__="openfl.display.Window",openfl_display_Window.__super__=lime_ui_Window,openfl_display_Window.prototype=$extend(lime_ui_Window.prototype,{__class__:openfl_display_Window});var openfl_display__$internal_AbstractNoise=function(e,t,i,l,n,s,a){null==a&&(a=.05),null==s&&(s=!1),this.stitch=s,this.stitch_threshold=a,this.octaves=t,this.channels=i,this.grayscale=l,this.calculateOctaves(n)};$hxClasses["openfl.display._internal.AbstractNoise"]=openfl_display__$internal_AbstractNoise,openfl_display__$internal_AbstractNoise.__name__="openfl.display._internal.AbstractNoise",openfl_display__$internal_AbstractNoise.prototype={octaves:null,stitch:null,stitch_threshold:null,channels:null,grayscale:null,octaves_frequencies:null,octaves_persistences:null,persistence_max:null,fill:function(e,t,i,l){},stitching:function(e,t,i,l,n,s,a,r){var _=t>>16&255,o=t>>8&255,h=255&t;if(a-n<i){var u=(p=e.getPixel32(a-i,l))>>16&255,d=p>>8&255,c=255&p;f=(a-i)/n;_=this.mixI(u,_,f),o=this.mixI(d,o,f),h=this.mixI(c,h,f)}if(r-s<l){var p=e.getPixel32(i,r-l),u=p>>16&255,d=p>>8&255,c=255&p,f=(r-l)/s;_=this.mixI(u,_,f),o=this.mixI(d,o,f),h=this.mixI(c,h,f)}return-16777216|_<<16|o<<8|h},color:function(e,t,i){var l=0,n=0,s=0;return null!=e&&(l=this.noiseToColor(e)),null!=t&&(n=this.noiseToColor(t)),null!=i&&(s=this.noiseToColor(i)),-16777216|l<<16|n<<8|s},noiseToColor:function(e){return 128*(e*this.persistence_max+1)|0},fade:function(e){return e*e*e*(e*(6*e-15)+10)},mixI:function(e,t,i){return(1-i)*e+i*t|0},mix:function(e,t,i){return(1-i)*e+i*t},fastfloor:function(e){return e>0?0|e:e-1|0},dot2d:function(e,t,i){return e[0]*t+e[1]*i},dot:function(e,t,i,l){return e[0]*t+e[1]*i+e[2]*l},calculateOctaves:function(e){var t,i;this.octaves_frequencies=[],this.octaves_persistences=[],this.persistence_max=0;for(var l=0,n=this.octaves;l<n;){var s=l++;t=Math.pow(2,s),i=Math.pow(e,s),this.persistence_max+=i,this.octaves_frequencies.push(t),this.octaves_persistences.push(i)}this.persistence_max=1/this.persistence_max},__class__:openfl_display__$internal_AbstractNoise};var openfl_display__$internal_CairoBitmap=function(){};$hxClasses["openfl.display._internal.CairoBitmap"]=openfl_display__$internal_CairoBitmap,openfl_display__$internal_CairoBitmap.__name__="openfl.display._internal.CairoBitmap",openfl_display__$internal_CairoBitmap.render=function(e,t){if(e.__renderable){var i=t.__getAlpha(e.__worldAlpha);if(i>0&&null!=e.__bitmapData&&e.__bitmapData.__isValid){var l=t.cairo;t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e),t.applyMatrix(e.__renderTransform,l);var n=e.__bitmapData.getSurface();if(null!=n){var s=lime_graphics_cairo_CairoPattern.createForSurface(n);lime_graphics_cairo_CairoPattern.set_filter(s,t.__allowSmoothing&&e.smoothing?1:3),l.set_source(s),1==i?l.paint():l.paintWithAlpha(i)}t.__popMaskObject(e),t.__setBlendMode(10)}}};var openfl_display__$internal_CairoDisplayObject=function(){};$hxClasses["openfl.display._internal.CairoDisplayObject"]=openfl_display__$internal_CairoDisplayObject,openfl_display__$internal_CairoDisplayObject.__name__="openfl.display._internal.CairoDisplayObject",openfl_display__$internal_CairoDisplayObject.render=function(e,t){};var openfl_display__$internal_CairoGraphics=function(){};$hxClasses["openfl.display._internal.CairoGraphics"]=openfl_display__$internal_CairoGraphics,openfl_display__$internal_CairoGraphics.__name__="openfl.display._internal.CairoGraphics",openfl_display__$internal_CairoGraphics.hitTest=function(e,t,i){return!1},openfl_display__$internal_CairoGraphics.render=function(e,t){},openfl_display__$internal_CairoGraphics.renderMask=function(e,t){};var openfl_display__$internal_CairoTextField=function(){};$hxClasses["openfl.display._internal.CairoTextField"]=openfl_display__$internal_CairoTextField,openfl_display__$internal_CairoTextField.__name__="openfl.display._internal.CairoTextField",openfl_display__$internal_CairoTextField.render=function(e,t,i){};var openfl_display__$internal_CanvasBitmap=function(){};$hxClasses["openfl.display._internal.CanvasBitmap"]=openfl_display__$internal_CanvasBitmap,openfl_display__$internal_CanvasBitmap.__name__="openfl.display._internal.CanvasBitmap",openfl_display__$internal_CanvasBitmap.render=function(e,t){if(e.__renderable){var i=t.__getAlpha(e.__worldAlpha);if(i>0&&null!=e.__bitmapData&&e.__bitmapData.__isValid&&e.__bitmapData.readable){var l=t.context;t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e,!1),lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e.__bitmapData.image),l.globalAlpha=i;var n=e.__scrollRect;t.setTransform(e.__renderTransform,l),t.__allowSmoothing&&e.smoothing||(l.imageSmoothingEnabled=!1),null==n?l.drawImage(e.__bitmapData.image.get_src(),0,0,e.__bitmapData.image.width,e.__bitmapData.image.height):l.drawImage(e.__bitmapData.image.get_src(),n.x,n.y,n.width,n.height),t.__allowSmoothing&&e.smoothing||(l.imageSmoothingEnabled=!0),t.__popMaskObject(e,!1)}}};var openfl_display__$internal_CanvasDisplayObject=function(){};$hxClasses["openfl.display._internal.CanvasDisplayObject"]=openfl_display__$internal_CanvasDisplayObject,openfl_display__$internal_CanvasDisplayObject.__name__="openfl.display._internal.CanvasDisplayObject",openfl_display__$internal_CanvasDisplayObject.render=function(e,t){if((null!=e.opaqueBackground||null!=e.__graphics)&&e.__renderable){var i=t.__getAlpha(e.__worldAlpha);if(!(i<=0)){if(null!=e.opaqueBackground&&!e.__isCacheBitmapRender&&e.get_width()>0&&e.get_height()>0){t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e);o=t.context;t.setTransform(e.__renderTransform,o);var l=e.opaqueBackground;o.fillStyle="rgb("+(l>>>16&255)+","+(l>>>8&255)+","+(255&l)+")",o.fillRect(0,0,e.get_width(),e.get_height()),t.__popMaskObject(e)}if(null!=e.__graphics&&e.__renderable&&!((i=t.__getAlpha(e.__worldAlpha))<=0)){var n=e.__graphics;if(null!=n){openfl_display__$internal_CanvasGraphics.render(n,t);var s=n.__width,a=n.__height,r=n.__canvas;if(null!=r&&n.__visible&&s>=1&&a>=1){var _=n.__worldTransform,o=t.context,h=e.__scrollRect,u=e.__worldScale9Grid;if(null==h||h.width>0&&h.height>0){if(t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e),o.globalAlpha=i,null!=u&&0==_.b&&0==_.c){o.setTransform(1,0,0,1,_.tx,_.ty);var d=n.__bounds,c=n.__renderTransform.a,p=n.__renderTransform.d,f=_.a,m=_.d,x=Math.max(1,Math.round(u.x*c)),g=Math.round(u.y*p),F=Math.max(1,Math.round((d.get_right()-u.get_right())*c)),y=Math.round((d.get_bottom()-u.get_bottom())*p),S=Math.round(u.width*c),b=Math.round(u.height*p),U=Math.round(u.x*f),v=Math.round(u.y*m),T=Math.round((d.get_right()-u.get_right())*f),N=Math.round((d.get_bottom()-u.get_bottom())*m),D=Math.round(s*f)-U-T,Q=Math.round(a*m)-v-N;if(t.applySmoothing(o,!1),0!=S&&0!=b)o.drawImage(r,0,0,x,g,0,0,U,v),o.drawImage(r,x,0,S,g,U,0,D,v),o.drawImage(r,x+S,0,F,g,U+D,0,T,v),o.drawImage(r,0,g,x,b,0,v,U,Q),o.drawImage(r,x,g,S,b,U,v,D,Q),o.drawImage(r,x+S,g,F,b,U+D,v,T,Q),o.drawImage(r,0,g+b,x,y,0,v+Q,U,N),o.drawImage(r,x,g+b,S,y,U,v+Q,D,N),o.drawImage(r,x+S,g+b,F,y,U+D,v+Q,T,N);else if(0==S&&0!=b){var B=U+D+T;o.drawImage(r,0,0,s,g,0,0,B,v),o.drawImage(r,0,g,s,b,0,v,B,Q),o.drawImage(r,0,g+b,s,y,0,v+Q,B,N)}else if(0==b&&0!=S){var R=v+Q+N;o.drawImage(r,0,0,x,a,0,0,U,R),o.drawImage(r,x,0,S,a,U,0,D,R),o.drawImage(r,x+S,0,F,a,U+D,0,T,R)}}else{if(t.setTransform(_,o),t.__isDOM){var w=1/t.pixelRatio;o.scale(w,w)}o.drawImage(r,0,0,s,a)}t.__popMaskObject(e)}}}}}}};var openfl_display__$internal_DrawCommandBuffer=function(){null==openfl_display__$internal_DrawCommandBuffer.empty?(this.types=[],this.b=[],this.i=[],this.f=[],this.o=[],this.ff=[],this.ii=[],this.copyOnWrite=!0):this.clear()};$hxClasses["openfl.display._internal.DrawCommandBuffer"]=openfl_display__$internal_DrawCommandBuffer,openfl_display__$internal_DrawCommandBuffer.__name__="openfl.display._internal.DrawCommandBuffer",openfl_display__$internal_DrawCommandBuffer.prototype={types:null,b:null,copyOnWrite:null,f:null,ff:null,i:null,ii:null,o:null,append:function(e){if(0==this.get_length())return this.types=e.types,this.b=e.b,this.i=e.i,this.f=e.f,this.o=e.o,this.ff=e.ff,this.ii=e.ii,this.copyOnWrite=e.copyOnWrite=!0,e;for(var t=new openfl_display__$internal_DrawCommandReader(e),i=0,l=e.types;i<l.length;){var n=l[i];switch(++i,n._hx_index){case 0:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var s=t;this.beginBitmapFill(s.buffer.o[s.oPos],s.buffer.o[s.oPos+1],s.buffer.b[s.bPos],s.buffer.b[s.bPos+1]);break;case 1:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL;var a=t;this.beginFill(a.buffer.i[a.iPos],a.buffer.f[a.fPos]);break;case 2:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL;var r=t;this.beginGradientFill(r.buffer.o[r.oPos],r.buffer.ii[r.iiPos],r.buffer.ff[r.ffPos],r.buffer.ii[r.iiPos+1],r.buffer.o[r.oPos+1],r.buffer.o[r.oPos+2],r.buffer.o[r.oPos+3],r.buffer.f[r.fPos]);break;case 3:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL;var _=t;this.beginShaderFill(_.buffer.o[_.oPos]);break;case 4:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO;var o=t;this.cubicCurveTo(o.buffer.f[o.fPos],o.buffer.f[o.fPos+1],o.buffer.f[o.fPos+2],o.buffer.f[o.fPos+3],o.buffer.f[o.fPos+4],o.buffer.f[o.fPos+5]);break;case 5:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.CURVE_TO;var h=t;this.curveTo(h.buffer.f[h.fPos],h.buffer.f[h.fPos+1],h.buffer.f[h.fPos+2],h.buffer.f[h.fPos+3]);break;case 6:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE;var u=t;this.drawCircle(u.buffer.f[u.fPos],u.buffer.f[u.fPos+1],u.buffer.f[u.fPos+2]);break;case 7:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE;var d=t;this.drawEllipse(d.buffer.f[d.fPos],d.buffer.f[d.fPos+1],d.buffer.f[d.fPos+2],d.buffer.f[d.fPos+3]);break;case 8:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.DRAW_QUADS;var c=t;this.drawQuads(c.buffer.o[c.oPos],c.buffer.o[c.oPos+1],c.buffer.o[c.oPos+2]);break;case 9:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var p=t;this.drawRect(p.buffer.f[p.fPos],p.buffer.f[p.fPos+1],p.buffer.f[p.fPos+2],p.buffer.f[p.fPos+3]);break;case 10:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT;var f=t;this.drawRoundRect(f.buffer.f[f.fPos],f.buffer.f[f.fPos+1],f.buffer.f[f.fPos+2],f.buffer.f[f.fPos+3],f.buffer.f[f.fPos+4],f.buffer.o[f.oPos]);break;case 12:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES;var m=t;this.drawTriangles(m.buffer.o[m.oPos],m.buffer.o[m.oPos+1],m.buffer.o[m.oPos+2],m.buffer.o[m.oPos+3]);break;case 13:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.END_FILL;this.endFill();break;case 14:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE;var x=t;this.lineBitmapStyle(x.buffer.o[x.oPos],x.buffer.o[x.oPos+1],x.buffer.b[x.bPos],x.buffer.b[x.bPos+1]);break;case 15:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE;var g=t;this.lineGradientStyle(g.buffer.o[g.oPos],g.buffer.ii[g.iiPos],g.buffer.ff[g.ffPos],g.buffer.ii[g.iiPos+1],g.buffer.o[g.oPos+1],g.buffer.o[g.oPos+2],g.buffer.o[g.oPos+3],g.buffer.f[g.fPos]);break;case 16:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.LINE_STYLE;var F=t;this.lineStyle(F.buffer.o[F.oPos],F.buffer.i[F.iPos],F.buffer.f[F.fPos],F.buffer.b[F.bPos],F.buffer.o[F.oPos+1],F.buffer.o[F.oPos+2],F.buffer.o[F.oPos+3],F.buffer.f[F.fPos+1]);break;case 17:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.LINE_TO;var y=t;this.lineTo(y.buffer.f[y.fPos],y.buffer.f[y.fPos+1]);break;case 18:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var S=t;this.moveTo(S.buffer.f[S.fPos],S.buffer.f[S.fPos+1]);break;case 20:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.OVERRIDE_MATRIX;var b=t;this.overrideMatrix(b.buffer.o[b.oPos]);break;case 21:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.WINDING_EVEN_ODD;this.windingEvenOdd();break;case 22:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=openfl_display__$internal_DrawCommandType.WINDING_NON_ZERO;this.windingNonZero()}}return t.destroy(),e},beginBitmapFill:function(e,t,i,l){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL),this.o.push(e),this.o.push(t),this.b.push(i),this.b.push(l)},beginFill:function(e,t){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.BEGIN_FILL),this.i.push(e),this.f.push(t)},beginGradientFill:function(e,t,i,l,n,s,a,r){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL),this.o.push(e),this.ii.push(t),this.ff.push(i),this.ii.push(l),this.o.push(n),this.o.push(s),this.o.push(a),this.f.push(r)},beginShaderFill:function(e){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL),this.o.push(e)},clear:function(){this.types=openfl_display__$internal_DrawCommandBuffer.empty.types,this.b=openfl_display__$internal_DrawCommandBuffer.empty.b,this.i=openfl_display__$internal_DrawCommandBuffer.empty.i,this.f=openfl_display__$internal_DrawCommandBuffer.empty.f,this.o=openfl_display__$internal_DrawCommandBuffer.empty.o,this.ff=openfl_display__$internal_DrawCommandBuffer.empty.ff,this.ii=openfl_display__$internal_DrawCommandBuffer.empty.ii,this.copyOnWrite=!0},copy:function(){var e=new openfl_display__$internal_DrawCommandBuffer;return e.append(this),e},cubicCurveTo:function(e,t,i,l,n,s){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO),this.f.push(e),this.f.push(t),this.f.push(i),this.f.push(l),this.f.push(n),this.f.push(s)},curveTo:function(e,t,i,l){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.CURVE_TO),this.f.push(e),this.f.push(t),this.f.push(i),this.f.push(l)},destroy:function(){this.clear(),this.types=null,this.b=null,this.i=null,this.f=null,this.o=null,this.ff=null,this.ii=null},drawCircle:function(e,t,i){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.DRAW_CIRCLE),this.f.push(e),this.f.push(t),this.f.push(i)},drawEllipse:function(e,t,i,l){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE),this.f.push(e),this.f.push(t),this.f.push(i),this.f.push(l)},drawQuads:function(e,t,i){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.DRAW_QUADS),this.o.push(e),this.o.push(t),this.o.push(i)},drawRect:function(e,t,i,l){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.DRAW_RECT),this.f.push(e),this.f.push(t),this.f.push(i),this.f.push(l)},drawRoundRect:function(e,t,i,l,n,s){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT),this.f.push(e),this.f.push(t),this.f.push(i),this.f.push(l),this.f.push(n),this.o.push(s)},drawTriangles:function(e,t,i,l){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES),this.o.push(e),this.o.push(t),this.o.push(i),this.o.push(l)},endFill:function(){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.END_FILL)},lineBitmapStyle:function(e,t,i,l){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE),this.o.push(e),this.o.push(t),this.b.push(i),this.b.push(l)},lineGradientStyle:function(e,t,i,l,n,s,a,r){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE),this.o.push(e),this.ii.push(t),this.ff.push(i),this.ii.push(l),this.o.push(n),this.o.push(s),this.o.push(a),this.f.push(r)},lineStyle:function(e,t,i,l,n,s,a,r){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.LINE_STYLE),this.o.push(e),this.i.push(t),this.f.push(i),this.b.push(l),this.o.push(n),this.o.push(s),this.o.push(a),this.f.push(r)},lineTo:function(e,t){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.LINE_TO),this.f.push(e),this.f.push(t)},moveTo:function(e,t){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.MOVE_TO),this.f.push(e),this.f.push(t)},prepareWrite:function(){this.copyOnWrite&&(this.types=this.types.slice(),this.b=this.b.slice(),this.i=this.i.slice(),this.f=this.f.slice(),this.o=this.o.slice(),this.ff=this.ff.slice(),this.ii=this.ii.slice(),this.copyOnWrite=!1)},overrideBlendMode:function(e){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.OVERRIDE_BLEND_MODE),this.o.push(e)},overrideMatrix:function(e){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.OVERRIDE_MATRIX),this.o.push(e)},windingEvenOdd:function(){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.WINDING_EVEN_ODD)},windingNonZero:function(){this.prepareWrite(),this.types.push(openfl_display__$internal_DrawCommandType.WINDING_NON_ZERO)},get_length:function(){return this.types.length},__class__:openfl_display__$internal_DrawCommandBuffer,__properties__:{get_length:"get_length"}};var openfl_display__$internal_CanvasGraphics=function(){};$hxClasses["openfl.display._internal.CanvasGraphics"]=openfl_display__$internal_CanvasGraphics,openfl_display__$internal_CanvasGraphics.__name__="openfl.display._internal.CanvasGraphics",openfl_display__$internal_CanvasGraphics.allowSmoothing=null,openfl_display__$internal_CanvasGraphics.bitmapFill=null,openfl_display__$internal_CanvasGraphics.bitmapStroke=null,openfl_display__$internal_CanvasGraphics.bitmapRepeat=null,openfl_display__$internal_CanvasGraphics.bounds=null,openfl_display__$internal_CanvasGraphics.graphics=null,openfl_display__$internal_CanvasGraphics.hasFill=null,openfl_display__$internal_CanvasGraphics.hasStroke=null,openfl_display__$internal_CanvasGraphics.hitTesting=null,openfl_display__$internal_CanvasGraphics.inversePendingMatrix=null,openfl_display__$internal_CanvasGraphics.pendingMatrix=null,openfl_display__$internal_CanvasGraphics.windingRule=null,openfl_display__$internal_CanvasGraphics.worldAlpha=null,openfl_display__$internal_CanvasGraphics.context=null,openfl_display__$internal_CanvasGraphics.hitTestCanvas=null,openfl_display__$internal_CanvasGraphics.hitTestContext=null,openfl_display__$internal_CanvasGraphics.closePath=function(e){null==e&&(e=!1),null!=openfl_display__$internal_CanvasGraphics.context.strokeStyle&&(e||openfl_display__$internal_CanvasGraphics.context.closePath(),openfl_display__$internal_CanvasGraphics.context.stroke(),e&&openfl_display__$internal_CanvasGraphics.context.closePath(),openfl_display__$internal_CanvasGraphics.context.beginPath())},openfl_display__$internal_CanvasGraphics.createBitmapFill=function(e,t,i){return lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e.image),openfl_display__$internal_CanvasGraphics.setSmoothing(i),openfl_display__$internal_CanvasGraphics.context.createPattern(e.image.get_src(),t?"repeat":"no-repeat")},openfl_display__$internal_CanvasGraphics.createGradientPattern=function(e,t,i,l,n,s,a,r){var _=null,o=null,h=null,u=!1;switch(null==n&&(n=openfl_geom_Matrix.__pool.get(),u=!0),e){case 0:(o=openfl_geom_Point.__pool.get()).setTo(-819.2,0);var d=o.x,c=o.y;o.x=d*n.a+c*n.c+n.tx,o.y=d*n.b+c*n.d+n.ty,(h=openfl_geom_Point.__pool.get()).setTo(819.2,0);var d=h.x,c=h.y;h.x=d*n.a+c*n.c+n.tx,h.y=d*n.b+c*n.d+n.ty,_=openfl_display__$internal_CanvasGraphics.context.createLinearGradient(o.x,o.y,h.x,h.y);break;case 1:(o=openfl_geom_Point.__pool.get()).setTo(1638.4,0);var d=o.x,c=o.y;o.x=d*n.a+c*n.c+n.tx,o.y=d*n.b+c*n.d+n.ty,_=openfl_display__$internal_CanvasGraphics.context.createRadialGradient(n.tx,n.ty,0,n.tx,n.ty,Math.abs((o.x-n.tx)/2))}for(var p,f,m,x,g,F,y=0,S=t.length;y<S;){var b=y++;p=t[b],f=i[b],m=(16711680&p)>>>16,x=(65280&p)>>>8,g=255&p,(F=l[b]/255)<0&&(F=0),F>1&&(F=1),_.addColorStop(F,"rgba("+m+", "+x+", "+g+", "+f+")")}return null!=o&&openfl_geom_Point.__pool.release(o),null!=h&&openfl_geom_Point.__pool.release(h),u&&openfl_geom_Matrix.__pool.release(n),_},openfl_display__$internal_CanvasGraphics.createTempPatternCanvas=function(e,t,i,l){var n=window.document.createElement("canvas"),s=n.getContext("2d");n.width=i,n.height=l;var a=e.image.get_src();return s.fillStyle=s.createPattern(a,t?"repeat":"no-repeat"),s.beginPath(),s.moveTo(0,0),s.lineTo(0,l),s.lineTo(i,l),s.lineTo(i,0),s.lineTo(0,0),s.closePath(),openfl_display__$internal_CanvasGraphics.hitTesting||s.fill(openfl_display__$internal_CanvasGraphics.windingRule),n},openfl_display__$internal_CanvasGraphics.drawRoundRect=function(e,t,i,l,n,s){null==s&&(s=n),s*=.5,(n*=.5)>i/2&&(n=i/2),s>l/2&&(s=l/2);var a=e+i,r=t+l,_=.7071067811865476*n-n,o=.41421356237309503*n-n,h=.7071067811865476*s-s,u=.41421356237309503*s-s;openfl_display__$internal_CanvasGraphics.context.moveTo(a,r-s),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(a,r+u,a+_,r+h),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(a+o,r,a-n,r),openfl_display__$internal_CanvasGraphics.context.lineTo(e+n,r),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(e-o,r,e-_,r+h),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(e,r+u,e,r-s),openfl_display__$internal_CanvasGraphics.context.lineTo(e,t+s),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(e,t-u,e-_,t-h),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(e-o,t,e+n,t),openfl_display__$internal_CanvasGraphics.context.lineTo(a-n,t),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(a+o,t,a+_,t-h),openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(a,t-u,a,t+s),openfl_display__$internal_CanvasGraphics.context.lineTo(a,r-s)},openfl_display__$internal_CanvasGraphics.endFill=function(){openfl_display__$internal_CanvasGraphics.context.beginPath(),openfl_display__$internal_CanvasGraphics.playCommands(openfl_display__$internal_CanvasGraphics.fillCommands,!1),openfl_display__$internal_CanvasGraphics.fillCommands.clear()},openfl_display__$internal_CanvasGraphics.endStroke=function(){openfl_display__$internal_CanvasGraphics.context.beginPath(),openfl_display__$internal_CanvasGraphics.playCommands(openfl_display__$internal_CanvasGraphics.strokeCommands,!0),openfl_display__$internal_CanvasGraphics.context.closePath(),openfl_display__$internal_CanvasGraphics.strokeCommands.clear()},openfl_display__$internal_CanvasGraphics.hitTest=function(e,t,i){if(openfl_display__$internal_CanvasGraphics.bounds=e.__bounds,openfl_display__$internal_CanvasGraphics.graphics=e,0==e.__commands.get_length()||null==openfl_display__$internal_CanvasGraphics.bounds||openfl_display__$internal_CanvasGraphics.bounds.width<=0||openfl_display__$internal_CanvasGraphics.bounds.height<=0)return!1;openfl_display__$internal_CanvasGraphics.hitTesting=!0;var l=e.__renderTransform,n=t*l.a+i*l.c+l.tx,s=t*l.b+i*l.d+l.ty;t=n,i=s,t-=openfl_display__$internal_CanvasGraphics.bounds.x*l.a+openfl_display__$internal_CanvasGraphics.bounds.y*l.c+l.tx,i-=openfl_display__$internal_CanvasGraphics.bounds.x*l.b+openfl_display__$internal_CanvasGraphics.bounds.y*l.d+l.ty;var a=e.__canvas,r=e.__context;e.__canvas=openfl_display__$internal_CanvasGraphics.hitTestCanvas,e.__context=openfl_display__$internal_CanvasGraphics.hitTestContext,openfl_display__$internal_CanvasGraphics.context=e.__context,openfl_display__$internal_CanvasGraphics.context.setTransform(l.a,l.b,l.c,l.d,l.tx,l.ty),openfl_display__$internal_CanvasGraphics.fillCommands.clear(),openfl_display__$internal_CanvasGraphics.strokeCommands.clear(),openfl_display__$internal_CanvasGraphics.hasFill=!1,openfl_display__$internal_CanvasGraphics.hasStroke=!1,openfl_display__$internal_CanvasGraphics.bitmapFill=null,openfl_display__$internal_CanvasGraphics.bitmapRepeat=!1,openfl_display__$internal_CanvasGraphics.windingRule="evenodd";for(var _=new openfl_display__$internal_DrawCommandReader(e.__commands),o=0,h=e.__commands.types;o<h.length;){var u=h[o];switch(++o,u._hx_index){case 0:case 1:case 2:case 3:if(openfl_display__$internal_CanvasGraphics.endFill(),openfl_display__$internal_CanvasGraphics.hasFill&&openfl_display__$internal_CanvasGraphics.context.isPointInPath(t,i,openfl_display__$internal_CanvasGraphics.windingRule))return _.destroy(),e.__canvas=a,e.__context=r,!0;if(openfl_display__$internal_CanvasGraphics.endStroke(),openfl_display__$internal_CanvasGraphics.hasStroke&&openfl_display__$internal_CanvasGraphics.context.isPointInStroke(t,i))return _.destroy(),e.__canvas=a,e.__context=r,!0;if(u==openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL){switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var d=_;openfl_display__$internal_CanvasGraphics.fillCommands.beginBitmapFill(d.buffer.o[d.oPos],d.buffer.o[d.oPos+1],d.buffer.b[d.bPos],d.buffer.b[d.bPos+1]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginBitmapFill(d.buffer.o[d.oPos],d.buffer.o[d.oPos+1],d.buffer.b[d.bPos],d.buffer.b[d.bPos+1])}else if(u==openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL){switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL;var c=_;openfl_display__$internal_CanvasGraphics.fillCommands.beginGradientFill(c.buffer.o[c.oPos],c.buffer.ii[c.iiPos],c.buffer.ff[c.ffPos],c.buffer.ii[c.iiPos+1],c.buffer.o[c.oPos+1],c.buffer.o[c.oPos+2],c.buffer.o[c.oPos+3],c.buffer.f[c.fPos]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginGradientFill(c.buffer.o[c.oPos],c.buffer.ii[c.iiPos],c.buffer.ff[c.ffPos],c.buffer.ii[c.iiPos+1],c.buffer.o[c.oPos+1],c.buffer.o[c.oPos+2],c.buffer.o[c.oPos+3],c.buffer.f[c.fPos])}else if(u==openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL){switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL;var p=_;openfl_display__$internal_CanvasGraphics.fillCommands.beginShaderFill(p.buffer.o[p.oPos]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginShaderFill(p.buffer.o[p.oPos])}else{switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL;var f=_;openfl_display__$internal_CanvasGraphics.fillCommands.beginFill(f.buffer.i[f.iPos],1),openfl_display__$internal_CanvasGraphics.strokeCommands.beginFill(f.buffer.i[f.iPos],1)}break;case 4:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO;var m=_;openfl_display__$internal_CanvasGraphics.fillCommands.cubicCurveTo(m.buffer.f[m.fPos],m.buffer.f[m.fPos+1],m.buffer.f[m.fPos+2],m.buffer.f[m.fPos+3],m.buffer.f[m.fPos+4],m.buffer.f[m.fPos+5]),openfl_display__$internal_CanvasGraphics.strokeCommands.cubicCurveTo(m.buffer.f[m.fPos],m.buffer.f[m.fPos+1],m.buffer.f[m.fPos+2],m.buffer.f[m.fPos+3],m.buffer.f[m.fPos+4],m.buffer.f[m.fPos+5]);break;case 5:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.CURVE_TO;var x=_;openfl_display__$internal_CanvasGraphics.fillCommands.curveTo(x.buffer.f[x.fPos],x.buffer.f[x.fPos+1],x.buffer.f[x.fPos+2],x.buffer.f[x.fPos+3]),openfl_display__$internal_CanvasGraphics.strokeCommands.curveTo(x.buffer.f[x.fPos],x.buffer.f[x.fPos+1],x.buffer.f[x.fPos+2],x.buffer.f[x.fPos+3]);break;case 6:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE;var g=_;openfl_display__$internal_CanvasGraphics.fillCommands.drawCircle(g.buffer.f[g.fPos],g.buffer.f[g.fPos+1],g.buffer.f[g.fPos+2]),openfl_display__$internal_CanvasGraphics.strokeCommands.drawCircle(g.buffer.f[g.fPos],g.buffer.f[g.fPos+1],g.buffer.f[g.fPos+2]);break;case 7:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE;var F=_;openfl_display__$internal_CanvasGraphics.fillCommands.drawEllipse(F.buffer.f[F.fPos],F.buffer.f[F.fPos+1],F.buffer.f[F.fPos+2],F.buffer.f[F.fPos+3]),openfl_display__$internal_CanvasGraphics.strokeCommands.drawEllipse(F.buffer.f[F.fPos],F.buffer.f[F.fPos+1],F.buffer.f[F.fPos+2],F.buffer.f[F.fPos+3]);break;case 9:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var y=_;openfl_display__$internal_CanvasGraphics.fillCommands.drawRect(y.buffer.f[y.fPos],y.buffer.f[y.fPos+1],y.buffer.f[y.fPos+2],y.buffer.f[y.fPos+3]),openfl_display__$internal_CanvasGraphics.strokeCommands.drawRect(y.buffer.f[y.fPos],y.buffer.f[y.fPos+1],y.buffer.f[y.fPos+2],y.buffer.f[y.fPos+3]);break;case 10:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT;var S=_;openfl_display__$internal_CanvasGraphics.fillCommands.drawRoundRect(S.buffer.f[S.fPos],S.buffer.f[S.fPos+1],S.buffer.f[S.fPos+2],S.buffer.f[S.fPos+3],S.buffer.f[S.fPos+4],S.buffer.o[S.oPos]),openfl_display__$internal_CanvasGraphics.strokeCommands.drawRoundRect(S.buffer.f[S.fPos],S.buffer.f[S.fPos+1],S.buffer.f[S.fPos+2],S.buffer.f[S.fPos+3],S.buffer.f[S.fPos+4],S.buffer.o[S.oPos]);break;case 13:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.END_FILL;if(openfl_display__$internal_CanvasGraphics.endFill(),openfl_display__$internal_CanvasGraphics.hasFill&&openfl_display__$internal_CanvasGraphics.context.isPointInPath(t,i,openfl_display__$internal_CanvasGraphics.windingRule))return _.destroy(),e.__canvas=a,e.__context=r,!0;if(openfl_display__$internal_CanvasGraphics.endStroke(),openfl_display__$internal_CanvasGraphics.hasStroke&&openfl_display__$internal_CanvasGraphics.context.isPointInStroke(t,i))return _.destroy(),e.__canvas=a,e.__context=r,!0;openfl_display__$internal_CanvasGraphics.hasFill=!1,openfl_display__$internal_CanvasGraphics.bitmapFill=null;break;case 14:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE;var b=_;openfl_display__$internal_CanvasGraphics.strokeCommands.lineBitmapStyle(b.buffer.o[b.oPos],b.buffer.o[b.oPos+1],b.buffer.b[b.bPos],b.buffer.b[b.bPos+1]);break;case 15:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE;var U=_;openfl_display__$internal_CanvasGraphics.strokeCommands.lineGradientStyle(U.buffer.o[U.oPos],U.buffer.ii[U.iiPos],U.buffer.ff[U.ffPos],U.buffer.ii[U.iiPos+1],U.buffer.o[U.oPos+1],U.buffer.o[U.oPos+2],U.buffer.o[U.oPos+3],U.buffer.f[U.fPos]);break;case 16:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.LINE_STYLE;var v=_;openfl_display__$internal_CanvasGraphics.strokeCommands.lineStyle(v.buffer.o[v.oPos],v.buffer.i[v.iPos],1,v.buffer.b[v.bPos],v.buffer.o[v.oPos+1],v.buffer.o[v.oPos+2],v.buffer.o[v.oPos+3],v.buffer.f[v.fPos+1]);break;case 17:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.LINE_TO;var T=_;openfl_display__$internal_CanvasGraphics.fillCommands.lineTo(T.buffer.f[T.fPos],T.buffer.f[T.fPos+1]),openfl_display__$internal_CanvasGraphics.strokeCommands.lineTo(T.buffer.f[T.fPos],T.buffer.f[T.fPos+1]);break;case 18:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var N=_;openfl_display__$internal_CanvasGraphics.fillCommands.moveTo(N.buffer.f[N.fPos],N.buffer.f[N.fPos+1]),openfl_display__$internal_CanvasGraphics.strokeCommands.moveTo(N.buffer.f[N.fPos],N.buffer.f[N.fPos+1]);break;case 21:openfl_display__$internal_CanvasGraphics.windingRule="evenodd";break;case 22:openfl_display__$internal_CanvasGraphics.windingRule="nonzero";break;default:switch(_.prev._hx_index){case 0:_.oPos+=2,_.bPos+=2;break;case 1:_.iPos+=1,_.fPos+=1;break;case 2:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 3:_.oPos+=1;break;case 4:_.fPos+=6;break;case 5:_.fPos+=4;break;case 6:_.fPos+=3;break;case 7:_.fPos+=4;break;case 8:_.oPos+=3;break;case 9:_.fPos+=4;break;case 10:_.fPos+=5,_.oPos+=1;break;case 12:_.oPos+=4;break;case 13:break;case 14:_.oPos+=2,_.bPos+=2;break;case 15:_.oPos+=4,_.iiPos+=2,_.ffPos+=1,_.fPos+=1;break;case 16:_.oPos+=4,_.iPos+=1,_.fPos+=2,_.bPos+=1;break;case 17:case 18:_.fPos+=2;break;case 19:case 20:_.oPos+=1}_.prev=u}}var D=!1;return openfl_display__$internal_CanvasGraphics.fillCommands.get_length()>0&&openfl_display__$internal_CanvasGraphics.endFill(),openfl_display__$internal_CanvasGraphics.hasFill&&openfl_display__$internal_CanvasGraphics.context.isPointInPath(t,i,openfl_display__$internal_CanvasGraphics.windingRule)&&(D=!0),openfl_display__$internal_CanvasGraphics.strokeCommands.get_length()>0&&openfl_display__$internal_CanvasGraphics.endStroke(),openfl_display__$internal_CanvasGraphics.hasStroke&&openfl_display__$internal_CanvasGraphics.context.isPointInStroke(t,i)&&(D=!0),_.destroy(),e.__canvas=a,e.__context=r,D},openfl_display__$internal_CanvasGraphics.isCCW=function(e,t,i,l,n,s){return(i-e)*(s-t)-(l-t)*(n-e)<0},openfl_display__$internal_CanvasGraphics.normalizeUVT=function(e,t){null==t&&(t=!1);for(var i=-1/0,l=-1/0,n=e.get_length(),s=1,a=n+1;s<a;){_=s++;t&&_%3==0||i<(l=e.get(_-1))&&(i=l)}if(!t)return{max:i,uvt:e};for(var r=openfl_Vector.toFloatVector(null),s=1,a=n+1;s<a;){var _=s++;t&&_%3==0||r.push(e.get(_-1))}return{max:i,uvt:r}},openfl_display__$internal_CanvasGraphics.playCommands=function(e,t){null==t&&(t=!1),openfl_display__$internal_CanvasGraphics.bounds=openfl_display__$internal_CanvasGraphics.graphics.__bounds;var i=openfl_display__$internal_CanvasGraphics.bounds.x,l=openfl_display__$internal_CanvasGraphics.bounds.y,n=0,s=0,a=!1,r=0,_=0,o=!1;openfl_display__$internal_CanvasGraphics.windingRule="evenodd",openfl_display__$internal_CanvasGraphics.setSmoothing(!0);var h,u,d,c,p,f,m,x,g,F,y,S,b,U,v,T,N,D,Q,B=!1,R=new openfl_display__$internal_DrawCommandReader(e),w=null,E=null,k=0,W=e.types;e:for(;k<W.length;){var Z=W[k];switch(++k,Z._hx_index){case 0:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var M=R;openfl_display__$internal_CanvasGraphics.bitmapFill=M.buffer.o[M.oPos],openfl_display__$internal_CanvasGraphics.context.fillStyle=openfl_display__$internal_CanvasGraphics.createBitmapFill(M.buffer.o[M.oPos],M.buffer.b[M.bPos],M.buffer.b[M.bPos+1]),openfl_display__$internal_CanvasGraphics.hasFill=!0,null!=M.buffer.o[M.oPos+1]?(openfl_display__$internal_CanvasGraphics.pendingMatrix=M.buffer.o[M.oPos+1],openfl_display__$internal_CanvasGraphics.inversePendingMatrix=M.buffer.o[M.oPos+1].clone(),openfl_display__$internal_CanvasGraphics.inversePendingMatrix.invert()):(openfl_display__$internal_CanvasGraphics.pendingMatrix=null,openfl_display__$internal_CanvasGraphics.inversePendingMatrix=null);break;case 1:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL;var P=R;if(P.buffer.f[P.fPos]<.005)openfl_display__$internal_CanvasGraphics.hasFill=!1;else{if(1==P.buffer.f[P.fPos]){var V=StringTools.hex(16777215&P.buffer.i[P.iPos],6);openfl_display__$internal_CanvasGraphics.context.fillStyle="#"+V}else y=(16711680&P.buffer.i[P.iPos])>>>16,S=(65280&P.buffer.i[P.iPos])>>>8,b=255&P.buffer.i[P.iPos],openfl_display__$internal_CanvasGraphics.context.fillStyle="rgba("+y+", "+S+", "+b+", "+P.buffer.f[P.fPos]+")";openfl_display__$internal_CanvasGraphics.bitmapFill=null,openfl_display__$internal_CanvasGraphics.setSmoothing(!0),openfl_display__$internal_CanvasGraphics.hasFill=!0}break;case 2:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL;var A=R;openfl_display__$internal_CanvasGraphics.context.fillStyle=openfl_display__$internal_CanvasGraphics.createGradientPattern(A.buffer.o[A.oPos],A.buffer.ii[A.iiPos],A.buffer.ff[A.ffPos],A.buffer.ii[A.iiPos+1],A.buffer.o[A.oPos+1],A.buffer.o[A.oPos+2],A.buffer.o[A.oPos+3],A.buffer.f[A.fPos]),openfl_display__$internal_CanvasGraphics.bitmapFill=null,openfl_display__$internal_CanvasGraphics.setSmoothing(!0),openfl_display__$internal_CanvasGraphics.hasFill=!0;break;case 3:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL;var G=R,C=G.buffer.o[G.oPos];C.inputCount>0&&(openfl_display__$internal_CanvasGraphics.bitmapFill=C.inputs[0],openfl_display__$internal_CanvasGraphics.context.fillStyle=openfl_display__$internal_CanvasGraphics.createBitmapFill(openfl_display__$internal_CanvasGraphics.bitmapFill,0!=C.inputWrap[0],5!=C.inputFilter[0]),openfl_display__$internal_CanvasGraphics.hasFill=!0,openfl_display__$internal_CanvasGraphics.pendingMatrix=null,openfl_display__$internal_CanvasGraphics.inversePendingMatrix=null);break;case 4:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO;var I=R;B=!0,openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(I.buffer.f[I.fPos]-i,I.buffer.f[I.fPos+1]-l,I.buffer.f[I.fPos+2]-i,I.buffer.f[I.fPos+3]-l,I.buffer.f[I.fPos+4]-i,I.buffer.f[I.fPos+5]-l);break;case 5:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.CURVE_TO;var L=R;B=!0,openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(L.buffer.f[L.fPos]-i,L.buffer.f[L.fPos+1]-l,L.buffer.f[L.fPos+2]-i,L.buffer.f[L.fPos+3]-l);break;case 6:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE;var J=R;B=!0,openfl_display__$internal_CanvasGraphics.context.moveTo(J.buffer.f[J.fPos]-i+J.buffer.f[J.fPos+2],J.buffer.f[J.fPos+1]-l),openfl_display__$internal_CanvasGraphics.context.arc(J.buffer.f[J.fPos]-i,J.buffer.f[J.fPos+1]-l,J.buffer.f[J.fPos+2],0,2*Math.PI,!0);break;case 7:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE;var O=R;B=!0,h=O.buffer.f[O.fPos],u=O.buffer.f[O.fPos+1],p=(d=O.buffer.f[O.fPos+2])/2*.5522848,f=(c=O.buffer.f[O.fPos+3])/2*.5522848,m=(h-=i)+d,x=(u-=l)+c,g=h+d/2,F=u+c/2,openfl_display__$internal_CanvasGraphics.context.moveTo(h,F),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(h,F-f,g-p,u,g,u),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(g+p,u,m,F-f,m,F),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(m,F+f,g+p,x,g,x),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(g-p,x,h,F+f,h,F);break;case 8:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.DRAW_QUADS;var $=R,H=$.buffer.o[$.oPos],z=$.buffer.o[$.oPos+1],Y=$.buffer.o[$.oPos+2],X=null!=z,j=!1,K=!1,q=X?z.get_length():Math.floor(H.get_length()/4);if(0==q)return;null!=Y&&(Y.get_length()>=6*q?(j=!0,K=!0):Y.get_length()>=4*q?j=!0:Y.get_length()>=2*q&&(K=!0));var ee,te,ie=openfl_geom_Rectangle.__pool.get(),le=openfl_geom_Matrix.__pool.get(),ne=openfl_display__$internal_CanvasGraphics.graphics.__renderTransform;openfl_display__$internal_CanvasGraphics.worldAlpha;openfl_display__$internal_CanvasGraphics.context.save();for(var se=0,ae=q;se<ae;){var re=se++;(ee=X?4*z.get(re):4*re)<0||(ie.setTo(H.get(ee),H.get(ee+1),H.get(ee+2),H.get(ee+3)),ie.width<=0||ie.height<=0||(j&&K?(te=6*re,le.setTo(Y.get(te),Y.get(te+1),Y.get(te+2),Y.get(te+3),Y.get(te+4),Y.get(te+5))):j?(te=4*re,le.setTo(Y.get(te),Y.get(te+1),Y.get(te+2),Y.get(te+3),ie.x,ie.y)):K?(te=2*re,le.tx=Y.get(te),le.ty=Y.get(te+1)):(le.tx=ie.x,le.ty=ie.y),le.tx+=n-i,le.ty+=s-l,le.concat(ne),openfl_display__$internal_CanvasGraphics.context.setTransform(le.a,le.b,le.c,le.d,le.tx,le.ty),null!=openfl_display__$internal_CanvasGraphics.bitmapFill?openfl_display__$internal_CanvasGraphics.context.drawImage(openfl_display__$internal_CanvasGraphics.bitmapFill.image.get_src(),ie.x,ie.y,ie.width,ie.height,0,0,ie.width,ie.height):openfl_display__$internal_CanvasGraphics.context.fillRect(0,0,ie.width,ie.height)))}openfl_geom_Rectangle.__pool.release(ie),openfl_geom_Matrix.__pool.release(le),openfl_display__$internal_CanvasGraphics.context.restore();break;case 9:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var _e=R;if(U=!1,null!=openfl_display__$internal_CanvasGraphics.bitmapFill&&!openfl_display__$internal_CanvasGraphics.hitTesting){if(T=0,N=0,D=0,Q=0,v=!0,null!=openfl_display__$internal_CanvasGraphics.pendingMatrix)if(0!=openfl_display__$internal_CanvasGraphics.pendingMatrix.b||0!=openfl_display__$internal_CanvasGraphics.pendingMatrix.c)v=!1;else{null==w&&(w=openfl_geom_Point.__pool.get()),null==E&&(E=openfl_geom_Point.__pool.get()),w.setTo(_e.buffer.f[_e.fPos],_e.buffer.f[_e.fPos+1]);var oe=openfl_display__$internal_CanvasGraphics.inversePendingMatrix,he=w.x,ue=w.y;w.x=he*oe.a+ue*oe.c+oe.tx,w.y=he*oe.b+ue*oe.d+oe.ty,E.setTo(_e.buffer.f[_e.fPos]+_e.buffer.f[_e.fPos+2],_e.buffer.f[_e.fPos+1]+_e.buffer.f[_e.fPos+3]);var de=openfl_display__$internal_CanvasGraphics.inversePendingMatrix,ce=E.x,pe=E.y;E.x=ce*de.a+pe*de.c+de.tx,E.y=ce*de.b+pe*de.d+de.ty,T=w.y,Q=w.x,D=E.y,N=E.x}else T=_e.buffer.f[_e.fPos+1],Q=_e.buffer.f[_e.fPos],D=_e.buffer.f[_e.fPos+1]+_e.buffer.f[_e.fPos+3],N=_e.buffer.f[_e.fPos]+_e.buffer.f[_e.fPos+2];v&&T>=0&&Q>=0&&N<=openfl_display__$internal_CanvasGraphics.bitmapFill.width&&D<=openfl_display__$internal_CanvasGraphics.bitmapFill.height&&(U=!0,openfl_display__$internal_CanvasGraphics.hitTesting||openfl_display__$internal_CanvasGraphics.context.drawImage(openfl_display__$internal_CanvasGraphics.bitmapFill.image.get_src(),Q,T,N-Q,D-T,_e.buffer.f[_e.fPos]-i,_e.buffer.f[_e.fPos+1]-l,_e.buffer.f[_e.fPos+2],_e.buffer.f[_e.fPos+3]))}U||(B=!0,openfl_display__$internal_CanvasGraphics.context.rect(_e.buffer.f[_e.fPos]-i,_e.buffer.f[_e.fPos+1]-l,_e.buffer.f[_e.fPos+2],_e.buffer.f[_e.fPos+3]));break;case 10:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT;var fe=R;B=!0,openfl_display__$internal_CanvasGraphics.drawRoundRect(fe.buffer.f[fe.fPos]-i,fe.buffer.f[fe.fPos+1]-l,fe.buffer.f[fe.fPos+2],fe.buffer.f[fe.fPos+3],fe.buffer.f[fe.fPos+4],fe.buffer.o[fe.oPos]);break;case 12:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES;var me=R,xe=me.buffer.o[me.oPos],ge=me.buffer.o[me.oPos+1],Fe=me.buffer.o[me.oPos+2],ye=null,Se=null==openfl_display__$internal_CanvasGraphics.bitmapFill;if(Se&&null!=Fe)break e;if(!Se){if(null==Fe){Fe=openfl_Vector.toFloatVector(null);for(var be=0,Ue=xe.get_length()/2|0;be<Ue;){var ve=be++;Fe.push(xe.get(2*ve)-i/openfl_display__$internal_CanvasGraphics.bitmapFill.width),Fe.push(xe.get(2*ve+1)-l/openfl_display__$internal_CanvasGraphics.bitmapFill.height)}}var Te=Fe.get_length()!=xe.get_length(),Ne=openfl_display__$internal_CanvasGraphics.normalizeUVT(Fe,Te),De=Ne.max;Fe=Ne.uvt,ye=De>1?openfl_display__$internal_CanvasGraphics.createTempPatternCanvas(openfl_display__$internal_CanvasGraphics.bitmapFill,openfl_display__$internal_CanvasGraphics.bitmapRepeat,0|openfl_display__$internal_CanvasGraphics.bounds.width,0|openfl_display__$internal_CanvasGraphics.bounds.height):openfl_display__$internal_CanvasGraphics.createTempPatternCanvas(openfl_display__$internal_CanvasGraphics.bitmapFill,openfl_display__$internal_CanvasGraphics.bitmapRepeat,openfl_display__$internal_CanvasGraphics.bitmapFill.width,openfl_display__$internal_CanvasGraphics.bitmapFill.height)}for(var Qe,Be,Re,we,Ee,ke,We,Ze,Me,Pe,Ve,Ae,Ge,Ce,Ie,Le,Je,Oe,$e,He,ze,Ye,Xe,je,Ke,qe,et,tt,it=0,lt=ge.get_length();it<lt;){switch(Qe=it,Be=it+1,Re=it+2,we=2*ge.get(Qe),Ee=2*ge.get(Qe)+1,ke=2*ge.get(Be),We=2*ge.get(Be)+1,Ze=2*ge.get(Re),Me=2*ge.get(Re)+1,Pe=xe.get(we)-i,Ve=xe.get(Ee)-l,Ae=xe.get(ke)-i,Ge=xe.get(We)-l,Ce=xe.get(Ze)-i,Ie=xe.get(Me)-l,me.buffer.o[me.oPos+3]){case 0:if((Ae-Pe)*(Ie-Ve)-(Ge-Ve)*(Ce-Pe)<0){it+=3;continue}break;case 2:if(!((Ae-Pe)*(Ie-Ve)-(Ge-Ve)*(Ce-Pe)<0)){it+=3;continue}}Se?(openfl_display__$internal_CanvasGraphics.context.beginPath(),openfl_display__$internal_CanvasGraphics.context.moveTo(Pe,Ve),openfl_display__$internal_CanvasGraphics.context.lineTo(Ae,Ge),openfl_display__$internal_CanvasGraphics.context.lineTo(Ce,Ie),openfl_display__$internal_CanvasGraphics.context.closePath(),openfl_display__$internal_CanvasGraphics.hitTesting||openfl_display__$internal_CanvasGraphics.context.fill(openfl_display__$internal_CanvasGraphics.windingRule),it+=3):(Le=Fe.get(we)*ye.width,Oe=Fe.get(ke)*ye.width,He=Fe.get(Ze)*ye.width,Je=Fe.get(Ee)*ye.height,$e=Fe.get(We)*ye.height,0!=(Ye=Le*((ze=Fe.get(Me)*ye.height)-$e)-Oe*ze+He*$e+(Oe-He)*Je)?(openfl_display__$internal_CanvasGraphics.context.save(),openfl_display__$internal_CanvasGraphics.context.beginPath(),openfl_display__$internal_CanvasGraphics.context.moveTo(Pe,Ve),openfl_display__$internal_CanvasGraphics.context.lineTo(Ae,Ge),openfl_display__$internal_CanvasGraphics.context.lineTo(Ce,Ie),openfl_display__$internal_CanvasGraphics.context.closePath(),openfl_display__$internal_CanvasGraphics.context.clip(),Xe=-(Je*(Ce-Ae)-$e*Ce+ze*Ae+($e-ze)*Pe)/Ye,je=($e*Ie+Je*(Ge-Ie)-ze*Ge+(ze-$e)*Ve)/Ye,Ke=(Le*(Ce-Ae)-Oe*Ce+He*Ae+(Oe-He)*Pe)/Ye,qe=-(Oe*Ie+Le*(Ge-Ie)-He*Ge+(He-Oe)*Ve)/Ye,et=(Le*(ze*Ae-$e*Ce)+Je*(Oe*Ce-He*Ae)+(He*$e-Oe*ze)*Pe)/Ye,tt=(Le*(ze*Ge-$e*Ie)+Je*(Oe*Ie-He*Ge)+(He*$e-Oe*ze)*Ve)/Ye,openfl_display__$internal_CanvasGraphics.context.transform(Xe,je,Ke,qe,et,tt),openfl_display__$internal_CanvasGraphics.context.drawImage(ye,0,0,ye.width,ye.height),openfl_display__$internal_CanvasGraphics.context.restore(),it+=3):(it+=3,openfl_display__$internal_CanvasGraphics.context.restore()))}break;case 14:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE;var nt=R;t&&openfl_display__$internal_CanvasGraphics.hasStroke&&openfl_display__$internal_CanvasGraphics.closePath(),openfl_display__$internal_CanvasGraphics.context.moveTo(n-i,s-l),openfl_display__$internal_CanvasGraphics.context.strokeStyle=openfl_display__$internal_CanvasGraphics.createBitmapFill(nt.buffer.o[nt.oPos],nt.buffer.b[nt.bPos],nt.buffer.b[nt.bPos+1]),openfl_display__$internal_CanvasGraphics.hasStroke=!0;break;case 15:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE;var st=R;t&&openfl_display__$internal_CanvasGraphics.hasStroke&&openfl_display__$internal_CanvasGraphics.closePath(),openfl_display__$internal_CanvasGraphics.context.moveTo(n-i,s-l),openfl_display__$internal_CanvasGraphics.context.strokeStyle=openfl_display__$internal_CanvasGraphics.createGradientPattern(st.buffer.o[st.oPos],st.buffer.ii[st.iiPos],st.buffer.ff[st.ffPos],st.buffer.ii[st.iiPos+1],st.buffer.o[st.oPos+1],st.buffer.o[st.oPos+2],st.buffer.o[st.oPos+3],st.buffer.f[st.fPos]),openfl_display__$internal_CanvasGraphics.setSmoothing(!0),openfl_display__$internal_CanvasGraphics.hasStroke=!0;break;case 16:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.LINE_STYLE;var at=R;if(t&&openfl_display__$internal_CanvasGraphics.hasStroke&&openfl_display__$internal_CanvasGraphics.closePath(!0),openfl_display__$internal_CanvasGraphics.context.moveTo(n-i,s-l),null==at.buffer.o[at.oPos])openfl_display__$internal_CanvasGraphics.hasStroke=!1;else{openfl_display__$internal_CanvasGraphics.context.lineWidth=at.buffer.o[at.oPos]>0?at.buffer.o[at.oPos]:1;var rt=null==at.buffer.o[at.oPos+3]?"round":openfl_display_JointStyle.toString(at.buffer.o[at.oPos+3]).toLowerCase();openfl_display__$internal_CanvasGraphics.context.lineJoin=rt;var _t=null==at.buffer.o[at.oPos+2]?"round":0==at.buffer.o[at.oPos+2]?"butt":openfl_display_CapsStyle.toString(at.buffer.o[at.oPos+2]).toLowerCase();if(openfl_display__$internal_CanvasGraphics.context.lineCap=_t,openfl_display__$internal_CanvasGraphics.context.miterLimit=at.buffer.f[at.fPos+1],1==at.buffer.f[at.fPos]){var ot=StringTools.hex(16777215&at.buffer.i[at.iPos],6);openfl_display__$internal_CanvasGraphics.context.strokeStyle="#"+ot}else y=(16711680&at.buffer.i[at.iPos])>>>16,S=(65280&at.buffer.i[at.iPos])>>>8,b=255&at.buffer.i[at.iPos],openfl_display__$internal_CanvasGraphics.context.strokeStyle="rgba("+y+", "+S+", "+b+", "+at.buffer.f[at.fPos]+")";openfl_display__$internal_CanvasGraphics.setSmoothing(!0),openfl_display__$internal_CanvasGraphics.hasStroke=!0}break;case 17:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.LINE_TO;var ht=R;B=!0,openfl_display__$internal_CanvasGraphics.context.lineTo(ht.buffer.f[ht.fPos]-i,ht.buffer.f[ht.fPos+1]-l),n=ht.buffer.f[ht.fPos],s=ht.buffer.f[ht.fPos+1],n==r&&s==_&&(a=!0);break;case 18:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var ut=R;openfl_display__$internal_CanvasGraphics.context.moveTo(ut.buffer.f[ut.fPos]-i,ut.buffer.f[ut.fPos+1]-l),n=ut.buffer.f[ut.fPos],s=ut.buffer.f[ut.fPos+1],o&&ut.buffer.f[ut.fPos]!=r&&ut.buffer.f[ut.fPos+1]!=_&&(a=!0),r=ut.buffer.f[ut.fPos],_=ut.buffer.f[ut.fPos+1],o=!0;break;case 21:openfl_display__$internal_CanvasGraphics.windingRule="evenodd";break;case 22:openfl_display__$internal_CanvasGraphics.windingRule="nonzero";break;default:switch(R.prev._hx_index){case 0:R.oPos+=2,R.bPos+=2;break;case 1:R.iPos+=1,R.fPos+=1;break;case 2:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 3:R.oPos+=1;break;case 4:R.fPos+=6;break;case 5:R.fPos+=4;break;case 6:R.fPos+=3;break;case 7:R.fPos+=4;break;case 8:R.oPos+=3;break;case 9:R.fPos+=4;break;case 10:R.fPos+=5,R.oPos+=1;break;case 12:R.oPos+=4;break;case 13:break;case 14:R.oPos+=2,R.bPos+=2;break;case 15:R.oPos+=4,R.iiPos+=2,R.ffPos+=1,R.fPos+=1;break;case 16:R.oPos+=4,R.iPos+=1,R.fPos+=2,R.bPos+=1;break;case 17:case 18:R.fPos+=2;break;case 19:case 20:R.oPos+=1}R.prev=Z}}null!=w&&openfl_geom_Point.__pool.release(w),null!=E&&openfl_geom_Point.__pool.release(E),R.destroy(),B&&(t&&openfl_display__$internal_CanvasGraphics.hasStroke&&(openfl_display__$internal_CanvasGraphics.hasFill&&a?(openfl_display__$internal_CanvasGraphics.context.lineTo(r-i,_-l),openfl_display__$internal_CanvasGraphics.closePath(!1)):a&&n==r&&s==_&&openfl_display__$internal_CanvasGraphics.closePath(!1),openfl_display__$internal_CanvasGraphics.hitTesting||openfl_display__$internal_CanvasGraphics.context.stroke()),t||(openfl_display__$internal_CanvasGraphics.hasFill||null!=openfl_display__$internal_CanvasGraphics.bitmapFill)&&(openfl_display__$internal_CanvasGraphics.context.translate(-openfl_display__$internal_CanvasGraphics.bounds.x,-openfl_display__$internal_CanvasGraphics.bounds.y),null!=openfl_display__$internal_CanvasGraphics.pendingMatrix?(openfl_display__$internal_CanvasGraphics.context.transform(openfl_display__$internal_CanvasGraphics.pendingMatrix.a,openfl_display__$internal_CanvasGraphics.pendingMatrix.b,openfl_display__$internal_CanvasGraphics.pendingMatrix.c,openfl_display__$internal_CanvasGraphics.pendingMatrix.d,openfl_display__$internal_CanvasGraphics.pendingMatrix.tx,openfl_display__$internal_CanvasGraphics.pendingMatrix.ty),openfl_display__$internal_CanvasGraphics.hitTesting||openfl_display__$internal_CanvasGraphics.context.fill(openfl_display__$internal_CanvasGraphics.windingRule),openfl_display__$internal_CanvasGraphics.context.transform(openfl_display__$internal_CanvasGraphics.inversePendingMatrix.a,openfl_display__$internal_CanvasGraphics.inversePendingMatrix.b,openfl_display__$internal_CanvasGraphics.inversePendingMatrix.c,openfl_display__$internal_CanvasGraphics.inversePendingMatrix.d,openfl_display__$internal_CanvasGraphics.inversePendingMatrix.tx,openfl_display__$internal_CanvasGraphics.inversePendingMatrix.ty)):openfl_display__$internal_CanvasGraphics.hitTesting||openfl_display__$internal_CanvasGraphics.context.fill(openfl_display__$internal_CanvasGraphics.windingRule),openfl_display__$internal_CanvasGraphics.context.translate(openfl_display__$internal_CanvasGraphics.bounds.x,openfl_display__$internal_CanvasGraphics.bounds.y),openfl_display__$internal_CanvasGraphics.context.closePath()))},openfl_display__$internal_CanvasGraphics.render=function(e,t){if(e.__update(t.__worldTransform),e.__softwareDirty){openfl_display__$internal_CanvasGraphics.hitTesting=!1,openfl_display__$internal_CanvasGraphics.graphics=e,openfl_display__$internal_CanvasGraphics.allowSmoothing=t.__allowSmoothing,openfl_display__$internal_CanvasGraphics.worldAlpha=t.__getAlpha(e.__owner.__worldAlpha),openfl_display__$internal_CanvasGraphics.bounds=e.__bounds;var i=e.__width,l=e.__height;if(!e.__visible||0==e.__commands.get_length()||null==openfl_display__$internal_CanvasGraphics.bounds||i<1||l<1)e.__canvas=null,e.__context=null,e.__bitmap=null;else{null==e.__canvas&&(e.__canvas=window.document.createElement("canvas"),e.__context=e.__canvas.getContext("2d")),openfl_display__$internal_CanvasGraphics.context=e.__context;var n=e.__renderTransform,s=e.__canvas,a=t.pixelRatio,r=i*a|0,_=l*a|0;if(t.__setBlendModeContext(openfl_display__$internal_CanvasGraphics.context,10),t.__isDOM){s.width==r&&s.height==_?openfl_display__$internal_CanvasGraphics.context.clearRect(0,0,r,_):(s.width=r,s.height=_,s.style.width=i+"px",s.style.height=l+"px");var o=e.__renderTransform;openfl_display__$internal_CanvasGraphics.context.setTransform(o.a*a,o.b*a,o.c*a,o.d*a,o.tx*a,o.ty*a)}else s.width==r&&s.height==_?(openfl_display__$internal_CanvasGraphics.context.closePath(),openfl_display__$internal_CanvasGraphics.context.setTransform(1,0,0,1,0,0),openfl_display__$internal_CanvasGraphics.context.clearRect(0,0,r,_)):(s.width=i,s.height=l),openfl_display__$internal_CanvasGraphics.context.setTransform(n.a,n.b,n.c,n.d,n.tx,n.ty);openfl_display__$internal_CanvasGraphics.fillCommands.clear(),openfl_display__$internal_CanvasGraphics.strokeCommands.clear(),openfl_display__$internal_CanvasGraphics.hasFill=!1,openfl_display__$internal_CanvasGraphics.hasStroke=!1,openfl_display__$internal_CanvasGraphics.bitmapFill=null,openfl_display__$internal_CanvasGraphics.bitmapRepeat=!1;var h=!1,u=0,d=0;openfl_display__$internal_CanvasGraphics.windingRule="evenodd";for(var c=new openfl_display__$internal_DrawCommandReader(e.__commands),p=0,f=e.__commands.types;p<f.length;){var m=f[p];switch(++p,m._hx_index){case 0:case 1:case 2:case 3:if(openfl_display__$internal_CanvasGraphics.endFill(),openfl_display__$internal_CanvasGraphics.endStroke(),m==openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL){switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var x=c;openfl_display__$internal_CanvasGraphics.fillCommands.beginBitmapFill(x.buffer.o[x.oPos],x.buffer.o[x.oPos+1],x.buffer.b[x.bPos],x.buffer.b[x.bPos+1]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginBitmapFill(x.buffer.o[x.oPos],x.buffer.o[x.oPos+1],x.buffer.b[x.bPos],x.buffer.b[x.bPos+1])}else if(m==openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL){switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL;var g=c;openfl_display__$internal_CanvasGraphics.fillCommands.beginGradientFill(g.buffer.o[g.oPos],g.buffer.ii[g.iiPos],g.buffer.ff[g.ffPos],g.buffer.ii[g.iiPos+1],g.buffer.o[g.oPos+1],g.buffer.o[g.oPos+2],g.buffer.o[g.oPos+3],g.buffer.f[g.fPos]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginGradientFill(g.buffer.o[g.oPos],g.buffer.ii[g.iiPos],g.buffer.ff[g.ffPos],g.buffer.ii[g.iiPos+1],g.buffer.o[g.oPos+1],g.buffer.o[g.oPos+2],g.buffer.o[g.oPos+3],g.buffer.f[g.fPos])}else if(m==openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL){switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL;var F=c;openfl_display__$internal_CanvasGraphics.fillCommands.beginShaderFill(F.buffer.o[F.oPos]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginShaderFill(F.buffer.o[F.oPos])}else{switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL;var y=c;openfl_display__$internal_CanvasGraphics.fillCommands.beginFill(y.buffer.i[y.iPos],y.buffer.f[y.fPos]),openfl_display__$internal_CanvasGraphics.strokeCommands.beginFill(y.buffer.i[y.iPos],y.buffer.f[y.fPos])}break;case 4:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO;var S=c;openfl_display__$internal_CanvasGraphics.fillCommands.cubicCurveTo(S.buffer.f[S.fPos],S.buffer.f[S.fPos+1],S.buffer.f[S.fPos+2],S.buffer.f[S.fPos+3],S.buffer.f[S.fPos+4],S.buffer.f[S.fPos+5]),h?openfl_display__$internal_CanvasGraphics.strokeCommands.cubicCurveTo(S.buffer.f[S.fPos],S.buffer.f[S.fPos+1],S.buffer.f[S.fPos+2],S.buffer.f[S.fPos+3],S.buffer.f[S.fPos+4],S.buffer.f[S.fPos+5]):(u=S.buffer.f[S.fPos+4],d=S.buffer.f[S.fPos+5]);break;case 5:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.CURVE_TO;var b=c;openfl_display__$internal_CanvasGraphics.fillCommands.curveTo(b.buffer.f[b.fPos],b.buffer.f[b.fPos+1],b.buffer.f[b.fPos+2],b.buffer.f[b.fPos+3]),h?openfl_display__$internal_CanvasGraphics.strokeCommands.curveTo(b.buffer.f[b.fPos],b.buffer.f[b.fPos+1],b.buffer.f[b.fPos+2],b.buffer.f[b.fPos+3]):(u=b.buffer.f[b.fPos+2],d=b.buffer.f[b.fPos+3]);break;case 6:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE;var U=c;openfl_display__$internal_CanvasGraphics.fillCommands.drawCircle(U.buffer.f[U.fPos],U.buffer.f[U.fPos+1],U.buffer.f[U.fPos+2]),h&&openfl_display__$internal_CanvasGraphics.strokeCommands.drawCircle(U.buffer.f[U.fPos],U.buffer.f[U.fPos+1],U.buffer.f[U.fPos+2]);break;case 7:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE;var v=c;openfl_display__$internal_CanvasGraphics.fillCommands.drawEllipse(v.buffer.f[v.fPos],v.buffer.f[v.fPos+1],v.buffer.f[v.fPos+2],v.buffer.f[v.fPos+3]),h&&openfl_display__$internal_CanvasGraphics.strokeCommands.drawEllipse(v.buffer.f[v.fPos],v.buffer.f[v.fPos+1],v.buffer.f[v.fPos+2],v.buffer.f[v.fPos+3]);break;case 8:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.DRAW_QUADS;var T=c;openfl_display__$internal_CanvasGraphics.fillCommands.drawQuads(T.buffer.o[T.oPos],T.buffer.o[T.oPos+1],T.buffer.o[T.oPos+2]);break;case 9:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var N=c;openfl_display__$internal_CanvasGraphics.fillCommands.drawRect(N.buffer.f[N.fPos],N.buffer.f[N.fPos+1],N.buffer.f[N.fPos+2],N.buffer.f[N.fPos+3]),h&&openfl_display__$internal_CanvasGraphics.strokeCommands.drawRect(N.buffer.f[N.fPos],N.buffer.f[N.fPos+1],N.buffer.f[N.fPos+2],N.buffer.f[N.fPos+3]);break;case 10:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT;var D=c;openfl_display__$internal_CanvasGraphics.fillCommands.drawRoundRect(D.buffer.f[D.fPos],D.buffer.f[D.fPos+1],D.buffer.f[D.fPos+2],D.buffer.f[D.fPos+3],D.buffer.f[D.fPos+4],D.buffer.o[D.oPos]),h&&openfl_display__$internal_CanvasGraphics.strokeCommands.drawRoundRect(D.buffer.f[D.fPos],D.buffer.f[D.fPos+1],D.buffer.f[D.fPos+2],D.buffer.f[D.fPos+3],D.buffer.f[D.fPos+4],D.buffer.o[D.oPos]);break;case 12:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES;var Q=c;openfl_display__$internal_CanvasGraphics.fillCommands.drawTriangles(Q.buffer.o[Q.oPos],Q.buffer.o[Q.oPos+1],Q.buffer.o[Q.oPos+2],Q.buffer.o[Q.oPos+3]);break;case 13:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.END_FILL;openfl_display__$internal_CanvasGraphics.endFill(),openfl_display__$internal_CanvasGraphics.endStroke(),openfl_display__$internal_CanvasGraphics.hasFill=!1,h=!1,openfl_display__$internal_CanvasGraphics.bitmapFill=null,u=0,d=0;break;case 14:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE;var B=c;h||0==u&&0==d||(openfl_display__$internal_CanvasGraphics.strokeCommands.moveTo(u,d),u=0,d=0),h=!0,openfl_display__$internal_CanvasGraphics.strokeCommands.lineBitmapStyle(B.buffer.o[B.oPos],B.buffer.o[B.oPos+1],B.buffer.b[B.bPos],B.buffer.b[B.bPos+1]);break;case 15:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE;var R=c;h||0==u&&0==d||(openfl_display__$internal_CanvasGraphics.strokeCommands.moveTo(u,d),u=0,d=0),h=!0,openfl_display__$internal_CanvasGraphics.strokeCommands.lineGradientStyle(R.buffer.o[R.oPos],R.buffer.ii[R.iiPos],R.buffer.ff[R.ffPos],R.buffer.ii[R.iiPos+1],R.buffer.o[R.oPos+1],R.buffer.o[R.oPos+2],R.buffer.o[R.oPos+3],R.buffer.f[R.fPos]);break;case 16:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.LINE_STYLE;var w=c;h||null==w.buffer.o[w.oPos]||0==u&&0==d||(openfl_display__$internal_CanvasGraphics.strokeCommands.moveTo(u,d),u=0,d=0),h=null!=w.buffer.o[w.oPos],openfl_display__$internal_CanvasGraphics.strokeCommands.lineStyle(w.buffer.o[w.oPos],w.buffer.i[w.iPos],w.buffer.f[w.fPos],w.buffer.b[w.bPos],w.buffer.o[w.oPos+1],w.buffer.o[w.oPos+2],w.buffer.o[w.oPos+3],w.buffer.f[w.fPos+1]);break;case 17:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.LINE_TO;var E=c;openfl_display__$internal_CanvasGraphics.fillCommands.lineTo(E.buffer.f[E.fPos],E.buffer.f[E.fPos+1]),h?openfl_display__$internal_CanvasGraphics.strokeCommands.lineTo(E.buffer.f[E.fPos],E.buffer.f[E.fPos+1]):(u=E.buffer.f[E.fPos],d=E.buffer.f[E.fPos+1]);break;case 18:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var k=c;openfl_display__$internal_CanvasGraphics.fillCommands.moveTo(k.buffer.f[k.fPos],k.buffer.f[k.fPos+1]),h?openfl_display__$internal_CanvasGraphics.strokeCommands.moveTo(k.buffer.f[k.fPos],k.buffer.f[k.fPos+1]):(u=k.buffer.f[k.fPos],d=k.buffer.f[k.fPos+1]);break;case 19:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.OVERRIDE_BLEND_MODE;var W=c;t.__setBlendModeContext(openfl_display__$internal_CanvasGraphics.context,W.buffer.o[W.oPos]);break;case 21:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.WINDING_EVEN_ODD;openfl_display__$internal_CanvasGraphics.fillCommands.windingEvenOdd(),openfl_display__$internal_CanvasGraphics.windingRule="evenodd";break;case 22:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=openfl_display__$internal_DrawCommandType.WINDING_NON_ZERO;openfl_display__$internal_CanvasGraphics.fillCommands.windingNonZero(),openfl_display__$internal_CanvasGraphics.windingRule="nonzero";break;default:switch(c.prev._hx_index){case 0:c.oPos+=2,c.bPos+=2;break;case 1:c.iPos+=1,c.fPos+=1;break;case 2:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 3:c.oPos+=1;break;case 4:c.fPos+=6;break;case 5:c.fPos+=4;break;case 6:c.fPos+=3;break;case 7:c.fPos+=4;break;case 8:c.oPos+=3;break;case 9:c.fPos+=4;break;case 10:c.fPos+=5,c.oPos+=1;break;case 12:c.oPos+=4;break;case 13:break;case 14:c.oPos+=2,c.bPos+=2;break;case 15:c.oPos+=4,c.iiPos+=2,c.ffPos+=1,c.fPos+=1;break;case 16:c.oPos+=4,c.iPos+=1,c.fPos+=2,c.bPos+=1;break;case 17:case 18:c.fPos+=2;break;case 19:case 20:c.oPos+=1}c.prev=m}}openfl_display__$internal_CanvasGraphics.fillCommands.get_length()>0&&openfl_display__$internal_CanvasGraphics.endFill(),openfl_display__$internal_CanvasGraphics.strokeCommands.get_length()>0&&openfl_display__$internal_CanvasGraphics.endStroke(),c.destroy(),e.__bitmap=openfl_display_BitmapData.fromCanvas(e.__canvas)}e.__softwareDirty=!1,e.set___dirty(!1)}},openfl_display__$internal_CanvasGraphics.renderMask=function(e,t){if(0!=e.__commands.get_length()){openfl_display__$internal_CanvasGraphics.context=t.context;for(var i,l,n,s,a,r,_,o,h,u,d=new openfl_display__$internal_DrawCommandReader(e.__commands),c=0,p=e.__commands.types;c<p.length;){var f=p[c];switch(++c,f._hx_index){case 4:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO;var m=d;openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(m.buffer.f[m.fPos]-0,m.buffer.f[m.fPos+1]-0,m.buffer.f[m.fPos+2]-0,m.buffer.f[m.fPos+3]-0,m.buffer.f[m.fPos+4]-0,m.buffer.f[m.fPos+5]-0),m.buffer.f[m.fPos+4],m.buffer.f[m.fPos+5];break;case 5:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.CURVE_TO;var x=d;openfl_display__$internal_CanvasGraphics.context.quadraticCurveTo(x.buffer.f[x.fPos]-0,x.buffer.f[x.fPos+1]-0,x.buffer.f[x.fPos+2]-0,x.buffer.f[x.fPos+3]-0),x.buffer.f[x.fPos+2],x.buffer.f[x.fPos+3];break;case 6:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE;var g=d;openfl_display__$internal_CanvasGraphics.context.arc(g.buffer.f[g.fPos]-0,g.buffer.f[g.fPos+1]-0,g.buffer.f[g.fPos+2],0,2*Math.PI,!0);break;case 7:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE;var F=d;i=F.buffer.f[F.fPos],l=F.buffer.f[F.fPos+1],a=(n=F.buffer.f[F.fPos+2])/2*.5522848,r=(s=F.buffer.f[F.fPos+3])/2*.5522848,_=(i-=0)+n,o=(l-=0)+s,h=i+n/2,u=l+s/2,openfl_display__$internal_CanvasGraphics.context.moveTo(i,u),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(i,u-r,h-a,l,h,l),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(h+a,l,_,u-r,_,u),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(_,u+r,h+a,o,h,o),openfl_display__$internal_CanvasGraphics.context.bezierCurveTo(h-a,o,i,u+r,i,u);break;case 9:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var y=d;openfl_display__$internal_CanvasGraphics.context.beginPath(),openfl_display__$internal_CanvasGraphics.context.rect(y.buffer.f[y.fPos]-0,y.buffer.f[y.fPos+1]-0,y.buffer.f[y.fPos+2],y.buffer.f[y.fPos+3]),openfl_display__$internal_CanvasGraphics.context.closePath();break;case 10:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT;var S=d;openfl_display__$internal_CanvasGraphics.drawRoundRect(S.buffer.f[S.fPos]-0,S.buffer.f[S.fPos+1]-0,S.buffer.f[S.fPos+2],S.buffer.f[S.fPos+3],S.buffer.f[S.fPos+4],S.buffer.o[S.oPos]);break;case 17:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.LINE_TO;var b=d;openfl_display__$internal_CanvasGraphics.context.lineTo(b.buffer.f[b.fPos]-0,b.buffer.f[b.fPos+1]-0),b.buffer.f[b.fPos],b.buffer.f[b.fPos+1];break;case 18:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var U=d;openfl_display__$internal_CanvasGraphics.context.moveTo(U.buffer.f[U.fPos]-0,U.buffer.f[U.fPos+1]-0),U.buffer.f[U.fPos],U.buffer.f[U.fPos+1];break;default:switch(d.prev._hx_index){case 0:d.oPos+=2,d.bPos+=2;break;case 1:d.iPos+=1,d.fPos+=1;break;case 2:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 3:d.oPos+=1;break;case 4:d.fPos+=6;break;case 5:d.fPos+=4;break;case 6:d.fPos+=3;break;case 7:d.fPos+=4;break;case 8:d.oPos+=3;break;case 9:d.fPos+=4;break;case 10:d.fPos+=5,d.oPos+=1;break;case 12:d.oPos+=4;break;case 13:break;case 14:d.oPos+=2,d.bPos+=2;break;case 15:d.oPos+=4,d.iiPos+=2,d.ffPos+=1,d.fPos+=1;break;case 16:d.oPos+=4,d.iPos+=1,d.fPos+=2,d.bPos+=1;break;case 17:case 18:d.fPos+=2;break;case 19:case 20:d.oPos+=1}d.prev=f}}d.destroy()}},openfl_display__$internal_CanvasGraphics.setSmoothing=function(e){openfl_display__$internal_CanvasGraphics.allowSmoothing||(e=!1),openfl_display__$internal_CanvasGraphics.context.imageSmoothingEnabled!=e&&(openfl_display__$internal_CanvasGraphics.context.imageSmoothingEnabled=e)};var openfl_display__$internal_CanvasShape=function(){};$hxClasses["openfl.display._internal.CanvasShape"]=openfl_display__$internal_CanvasShape,openfl_display__$internal_CanvasShape.__name__="openfl.display._internal.CanvasShape",openfl_display__$internal_CanvasShape.render=function(e,t){if(e.__renderable){var i=t.__getAlpha(e.__worldAlpha);if(!(i<=0)){var l=e.__graphics;if(null!=l){openfl_display__$internal_CanvasGraphics.render(l,t);var n=l.__width,s=l.__height,a=l.__canvas;if(null!=a&&l.__visible&&n>=1&&s>=1){var r=l.__worldTransform,_=t.context,o=e.__scrollRect,h=e.__worldScale9Grid;if(null==o||o.width>0&&o.height>0){if(t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e),_.globalAlpha=i,null!=h&&0==r.b&&0==r.c){_.setTransform(1,0,0,1,r.tx,r.ty);var u=l.__bounds,d=l.__renderTransform.a,c=l.__renderTransform.d,p=r.a,f=r.d,m=Math.max(1,Math.round(h.x*d)),x=Math.round(h.y*c),g=Math.max(1,Math.round((u.get_right()-h.get_right())*d)),F=Math.round((u.get_bottom()-h.get_bottom())*c),y=Math.round(h.width*d),S=Math.round(h.height*c),b=Math.round(h.x*p),U=Math.round(h.y*f),v=Math.round((u.get_right()-h.get_right())*p),T=Math.round((u.get_bottom()-h.get_bottom())*f),N=Math.round(n*p)-b-v,D=Math.round(s*f)-U-T;if(t.applySmoothing(_,!1),0!=y&&0!=S)_.drawImage(a,0,0,m,x,0,0,b,U),_.drawImage(a,m,0,y,x,b,0,N,U),_.drawImage(a,m+y,0,g,x,b+N,0,v,U),_.drawImage(a,0,x,m,S,0,U,b,D),_.drawImage(a,m,x,y,S,b,U,N,D),_.drawImage(a,m+y,x,g,S,b+N,U,v,D),_.drawImage(a,0,x+S,m,F,0,U+D,b,T),_.drawImage(a,m,x+S,y,F,b,U+D,N,T),_.drawImage(a,m+y,x+S,g,F,b+N,U+D,v,T);else if(0==y&&0!=S){var Q=b+N+v;_.drawImage(a,0,0,n,x,0,0,Q,U),_.drawImage(a,0,x,n,S,0,U,Q,D),_.drawImage(a,0,x+S,n,F,0,U+D,Q,T)}else if(0==S&&0!=y){var B=U+D+T;_.drawImage(a,0,0,m,s,0,0,b,B),_.drawImage(a,m,0,y,s,b,0,N,B),_.drawImage(a,m+y,0,g,s,b+N,0,v,B)}}else{if(t.setTransform(r,_),t.__isDOM){var R=1/t.pixelRatio;_.scale(R,R)}_.drawImage(a,0,0,n,s)}t.__popMaskObject(e)}}}}}};var openfl_display__$internal_CanvasTextField=function(){};$hxClasses["openfl.display._internal.CanvasTextField"]=openfl_display__$internal_CanvasTextField,openfl_display__$internal_CanvasTextField.__name__="openfl.display._internal.CanvasTextField",openfl_display__$internal_CanvasTextField.context=null,openfl_display__$internal_CanvasTextField.clearRect=null,openfl_display__$internal_CanvasTextField.render=function(e,t,i){var l=e.__textEngine,n=l.background||l.border?l.bounds:l.textBounds,s=e.__graphics;if(e.__dirty&&(e.__updateLayout(),null==s.__bounds&&(s.__bounds=new openfl_geom_Rectangle),s.__bounds.copyFrom(n)),s.__update(t.__worldTransform),e.__dirty||s.__softwareDirty){var a=s.__width,r=s.__height;if((null!=l.text&&""!=l.text||l.background||l.border||l.__hasFocus||1==l.type&&l.selectable)&&(!(l.width<=0||l.height<=0)||2==l.autoSize)){null==e.__graphics.__canvas&&(e.__graphics.__canvas=window.document.createElement("canvas"),e.__graphics.__context=e.__graphics.__canvas.getContext("2d")),openfl_display__$internal_CanvasTextField.context=s.__context;var i=s.__renderTransform;if(t.__isDOM){var _=t.pixelRatio;s.__canvas.width=a*_|0,s.__canvas.height=r*_|0,s.__canvas.style.width=a+"px",s.__canvas.style.height=r+"px";var o=openfl_geom_Matrix.__pool.get();o.copyFrom(i),o.scale(_,_),t.setTransform(o,openfl_display__$internal_CanvasTextField.context),openfl_geom_Matrix.__pool.release(o)}else s.__canvas.width=a,s.__canvas.height=r,openfl_display__$internal_CanvasTextField.context.setTransform(i.a,i.b,i.c,i.d,i.tx,i.ty);if(null==openfl_display__$internal_CanvasTextField.clearRect&&(openfl_display__$internal_CanvasTextField.clearRect="undefined"!=typeof navigator&&void 0!==navigator.isCocoonJS),openfl_display__$internal_CanvasTextField.clearRect&&openfl_display__$internal_CanvasTextField.context.clearRect(0,0,s.__canvas.width,s.__canvas.height),null!=l.text&&""!=l.text||l.__hasFocus){var h=l.text;if(!t.__allowSmoothing||0==l.antiAliasType&&400==l.sharpness?s.__context.imageSmoothingEnabled=!1:s.__context.imageSmoothingEnabled=!0,l.border||l.background){if(openfl_display__$internal_CanvasTextField.context.rect(.5,.5,n.width-1,n.height-1),l.background){R=StringTools.hex(16777215&l.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+R,openfl_display__$internal_CanvasTextField.context.fill()}if(l.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1;R=StringTools.hex(16777215&l.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+R,openfl_display__$internal_CanvasTextField.context.stroke()}}openfl_display__$internal_CanvasTextField.context.textBaseline="alphabetic",openfl_display__$internal_CanvasTextField.context.textAlign="start";for(var u=-e.get_scrollH(),d=0,c=0,p=e.get_scrollV()-1;c<p;){B=c++;d-=l.lineHeights.get(B)}for(var f,m=l.layoutGroups.iterator();m.hasNext();){var x=m.next();if(!(x.lineIndex<e.get_scrollV()-1)){if(x.lineIndex>l.get_bottomScrollV()-1)break;var g="#"+StringTools.hex(16777215&x.format.color,6);if(openfl_display__$internal_CanvasTextField.context.font=openfl_text__$internal_TextEngine.getFont(x.format),openfl_display__$internal_CanvasTextField.context.fillStyle=g,openfl_display__$internal_CanvasTextField.context.fillText(h.substring(x.startIndex,x.endIndex),x.offsetX+u-n.x,x.offsetY+x.ascent+d-n.y),e.__caretIndex>-1&&l.selectable)if(e.__selectionIndex==e.__caretIndex){if(e.__showCursor&&x.startIndex<=e.__caretIndex&&x.endIndex>=e.__caretIndex){f=0;for(var c=0,p=e.__caretIndex-x.startIndex;c<p;){B=c++;if(x.positions.length<=B)break;f+=x.positions[B]}for(var F=0,y=e.get_scrollV(),S=x.lineIndex+1;y<S;){var b=y++;F+=l.lineHeights.get(b-1)}openfl_display__$internal_CanvasTextField.context.beginPath();R=StringTools.hex(16777215&x.format.color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+R,openfl_display__$internal_CanvasTextField.context.moveTo(x.offsetX+f-e.get_scrollH()-n.x,F+2-n.y),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(x.offsetX+f-e.get_scrollH()-n.x,F+openfl_text__$internal_TextEngine.getFormatHeight(e.get_defaultTextFormat())-1-n.y),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}else if(x.startIndex<=e.__caretIndex&&x.endIndex>=e.__caretIndex||x.startIndex<=e.__selectionIndex&&x.endIndex>=e.__selectionIndex||x.startIndex>e.__caretIndex&&x.endIndex<e.__selectionIndex||x.startIndex>e.__selectionIndex&&x.endIndex<e.__caretIndex){var U=0|Math.min(e.__selectionIndex,e.__caretIndex),v=0|Math.max(e.__selectionIndex,e.__caretIndex);x.startIndex>U&&(U=x.startIndex),x.endIndex<v&&(v=x.endIndex);var T,N=e.getCharBoundaries(U);v>=x.endIndex?null!=(T=e.getCharBoundaries(x.endIndex-1))&&(T.x+=T.width+2):T=e.getCharBoundaries(v),null!=N&&null!=T&&(openfl_display__$internal_CanvasTextField.context.fillStyle="#000000",openfl_display__$internal_CanvasTextField.context.fillRect(N.x+u,N.y+d,T.x-N.x,x.height),openfl_display__$internal_CanvasTextField.context.fillStyle="#FFFFFF",openfl_display__$internal_CanvasTextField.context.fillText(h.substring(U,v),u+N.x,x.offsetY+x.ascent+d))}if(x.format.underline){openfl_display__$internal_CanvasTextField.context.beginPath(),openfl_display__$internal_CanvasTextField.context.strokeStyle=g,openfl_display__$internal_CanvasTextField.context.lineWidth=1;var D=x.offsetX+u-n.x,Q=Math.floor(x.offsetY+d+x.ascent-n.y)+.5;openfl_display__$internal_CanvasTextField.context.moveTo(D,Q),openfl_display__$internal_CanvasTextField.context.lineTo(D+x.width,Q),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}}}else{if(l.border||l.background){if(l.border?openfl_display__$internal_CanvasTextField.context.rect(.5,.5,n.width-1,n.height-1):openfl_display__$internal_CanvasTextField.context.rect(0,0,n.width,n.height),l.background){R=StringTools.hex(16777215&l.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+R,openfl_display__$internal_CanvasTextField.context.fill()}if(l.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineCap="square";R=StringTools.hex(16777215&l.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+R,openfl_display__$internal_CanvasTextField.context.stroke()}}if(e.__caretIndex>-1&&l.selectable&&e.__showCursor){for(var u=-e.get_scrollH(),d=0,c=0,p=e.get_scrollV()-1;c<p;){var B=c++;d+=l.lineHeights.get(B)}openfl_display__$internal_CanvasTextField.context.beginPath();var R=StringTools.hex(16777215&e.get_defaultTextFormat().color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+R,openfl_display__$internal_CanvasTextField.context.moveTo(u+2.5,d+2.5),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(u+2.5,d+openfl_text__$internal_TextEngine.getFormatHeight(e.get_defaultTextFormat())-1),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}s.__bitmap=openfl_display_BitmapData.fromCanvas(e.__graphics.__canvas),s.__visible=!0,e.__dirty=!1,s.__softwareDirty=!1,s.set___dirty(!1)}else e.__graphics.__canvas=null,e.__graphics.__context=null,e.__graphics.__bitmap=null,e.__graphics.__softwareDirty=!1,e.__graphics.set___dirty(!1),e.__dirty=!1}};var openfl_display__$internal_Context3DBitmap=function(){};$hxClasses["openfl.display._internal.Context3DBitmap"]=openfl_display__$internal_Context3DBitmap,openfl_display__$internal_Context3DBitmap.__name__="openfl.display._internal.Context3DBitmap",openfl_display__$internal_Context3DBitmap.render=function(e,t){if(e.__renderable&&!(e.__worldAlpha<=0)&&null!=e.__bitmapData&&e.__bitmapData.__isValid){var i=t.__context3D;t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e);var l=t.__initDisplayShader(e.__worldShader);t.setShader(l),t.applyBitmapData(e.__bitmapData,t.__allowSmoothing&&(e.smoothing||t.__upscaled)),t.applyMatrix(t.__getMatrix(e.__renderTransform,e.pixelSnapping)),t.applyAlpha(e.__worldAlpha),t.applyColorTransform(e.__worldColorTransform),t.updateShader();var n=e.__bitmapData.getVertexBuffer(i);null!=l.__position&&i.setVertexBufferAt(l.__position.index,n,0,3),null!=l.__textureCoord&&i.setVertexBufferAt(l.__textureCoord.index,n,3,2);var s=e.__bitmapData.getIndexBuffer(i);i.drawTriangles(s),t.__clearShader(),t.__popMaskObject(e)}},openfl_display__$internal_Context3DBitmap.renderMask=function(e,t){if(null!=e.__bitmapData&&e.__bitmapData.__isValid){var i=t.__context3D,l=t.__maskShader;t.setShader(l),t.applyBitmapData(openfl_display__$internal_Context3DMaskShader.opaqueBitmapData,!0),t.applyMatrix(t.__getMatrix(e.__renderTransform,e.pixelSnapping)),t.updateShader();var n=e.__bitmapData.getVertexBuffer(i);null!=l.__position&&i.setVertexBufferAt(l.__position.index,n,0,3),null!=l.__textureCoord&&i.setVertexBufferAt(l.__textureCoord.index,n,3,2);var s=e.__bitmapData.getIndexBuffer(i);i.drawTriangles(s),t.__clearShader()}};var openfl_display__$internal_Context3DBuffer=function(e,t,i,l){this.context3D=e,this.elementType=t,this.dataPerVertex=l,this.indexCount=0,this.vertexCount=0,this.resize(i)};$hxClasses["openfl.display._internal.Context3DBuffer"]=openfl_display__$internal_Context3DBuffer,openfl_display__$internal_Context3DBuffer.__name__="openfl.display._internal.Context3DBuffer",openfl_display__$internal_Context3DBuffer.prototype={dataPerVertex:null,elementCount:null,elementType:null,indexBufferData:null,indexBuffers:null,indexCount:null,vertexBuffer:null,vertexBufferData:null,vertexCount:null,context3D:null,drawElements:function(e,t){if(null==t&&(t=-1),0!=this.indexCount&&0!=this.vertexCount&&0==this.elementType._hx_index)if(-1==t&&(t=2*this.elementCount),e<10922&&t-e<10922)this.context3D.drawTriangles(this.indexBuffers[0],e,2*t);else for(var i=e+t;e<i;){var l=Math.floor(e/10922);if((t=0|Math.min(i-e,10922))<=0)break;this.context3D.drawTriangles(this.indexBuffers[l],3*(e-10922*l),2*t),e+=t}},flushVertexBufferData:function(){this.vertexBufferData.length>this.vertexCount&&(this.vertexCount=this.vertexBufferData.length,this.vertexBuffer=this.context3D.createVertexBuffer(this.vertexCount,this.dataPerVertex,0)),this.vertexBuffer.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(this.vertexBufferData))},resize:function(e,t){null==t&&(t=-1),this.elementCount=e,-1==t&&(t=this.dataPerVertex),t!=this.dataPerVertex&&(this.vertexBuffer=null,this.vertexCount=0,this.dataPerVertex=t);var i=0;switch(this.elementType._hx_index){case 0:i=4*e;break;case 1:case 2:i=3*e}var l=i*t;if(null==this.vertexBufferData){var n=null,s=null,a=null,r=null,_=null;o=null!=l?new Float32Array(l):null!=n?new Float32Array(n):null!=s?new Float32Array(s.__array):null!=a?new Float32Array(a):null!=r?null==_?new Float32Array(r,0):new Float32Array(r,0,_):null,this.vertexBufferData=o}else if(l>this.vertexBufferData.length){var o,h=this.vertexBufferData,n=null,s=null,a=null,r=null,_=null;o=null!=l?new Float32Array(l):null!=n?new Float32Array(n):null!=s?new Float32Array(s.__array):null!=a?new Float32Array(a):null!=r?null==_?new Float32Array(r,0):new Float32Array(r,0,_):null,this.vertexBufferData=o,this.vertexBufferData.set(h)}},__class__:openfl_display__$internal_Context3DBuffer};var openfl_display__$internal_Context3DElementType=$hxEnums["openfl.display._internal.Context3DElementType"]={__ename__:"openfl.display._internal.Context3DElementType",__constructs__:["QUADS","TRIANGLES","TRIANGLE_INDICES"],QUADS:{_hx_index:0,__enum__:"openfl.display._internal.Context3DElementType",toString:$estr},TRIANGLES:{_hx_index:1,__enum__:"openfl.display._internal.Context3DElementType",toString:$estr},TRIANGLE_INDICES:{_hx_index:2,__enum__:"openfl.display._internal.Context3DElementType",toString:$estr}},openfl_display__$internal_Context3DDisplayObject=function(){};$hxClasses["openfl.display._internal.Context3DDisplayObject"]=openfl_display__$internal_Context3DDisplayObject,openfl_display__$internal_Context3DDisplayObject.__name__="openfl.display._internal.Context3DDisplayObject",openfl_display__$internal_Context3DDisplayObject.render=function(e,t){if((null!=e.opaqueBackground||null!=e.__graphics)&&e.__renderable&&!(e.__worldAlpha<=0)){if(null!=e.opaqueBackground&&!e.__isCacheBitmapRender&&e.get_width()>0&&e.get_height()>0){t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e);var i=t.__context3D,l=openfl_geom_Rectangle.__pool.get();l.setTo(0,0,e.get_width(),e.get_height()),t.__pushMaskRect(l,e.__renderTransform);var n=e.opaqueBackground;i.clear((n>>>16&255)/255,(n>>>8&255)/255,(255&n)/255,1,0,0,1),t.__popMaskRect(),t.__popMaskObject(e),openfl_geom_Rectangle.__pool.release(l)}null!=e.__graphics&&openfl_display__$internal_Context3DShape.render(e,t)}},openfl_display__$internal_Context3DDisplayObject.renderMask=function(e,t){if(null!=e.opaqueBackground||null!=e.__graphics){null!=e.opaqueBackground&&!e.__isCacheBitmapRender&&e.get_width()>0&&e.get_height();null!=e.__graphics&&openfl_display__$internal_Context3DShape.renderMask(e,t)}};var openfl_display__$internal_Context3DGraphics=function(){};$hxClasses["openfl.display._internal.Context3DGraphics"]=openfl_display__$internal_Context3DGraphics,openfl_display__$internal_Context3DGraphics.__name__="openfl.display._internal.Context3DGraphics",openfl_display__$internal_Context3DGraphics.maskRender=null,openfl_display__$internal_Context3DGraphics.buildBuffer=function(e,t){for(var i=0,l=0,n=0,s=new openfl_display__$internal_DrawCommandReader(e.__commands),a=t.__context3D,r=openfl_geom_Rectangle.__pool.get(),_=openfl_geom_Matrix.__pool.get(),o=null,h=0,u=e.__commands.types;h<u.length;){var d=u[h];switch(++h,d._hx_index){case 0:switch(s.prev._hx_index){case 0:s.oPos+=2,s.bPos+=2;break;case 1:s.iPos+=1,s.fPos+=1;break;case 2:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 3:s.oPos+=1;break;case 4:s.fPos+=6;break;case 5:s.fPos+=4;break;case 6:s.fPos+=3;break;case 7:s.fPos+=4;break;case 8:s.oPos+=3;break;case 9:s.fPos+=4;break;case 10:s.fPos+=5,s.oPos+=1;break;case 12:s.oPos+=4;break;case 13:break;case 14:s.oPos+=2,s.bPos+=2;break;case 15:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 16:s.oPos+=4,s.iPos+=1,s.fPos+=2,s.bPos+=1;break;case 17:case 18:s.fPos+=2;break;case 19:case 20:s.oPos+=1}s.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var c=s;o=c.buffer.o[c.oPos];break;case 1:switch(o=null,s.prev._hx_index){case 0:s.oPos+=2,s.bPos+=2;break;case 1:s.iPos+=1,s.fPos+=1;break;case 2:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 3:s.oPos+=1;break;case 4:s.fPos+=6;break;case 5:s.fPos+=4;break;case 6:s.fPos+=3;break;case 7:s.fPos+=4;break;case 8:s.oPos+=3;break;case 9:s.fPos+=4;break;case 10:s.fPos+=5,s.oPos+=1;break;case 12:s.oPos+=4;break;case 13:break;case 14:s.oPos+=2,s.bPos+=2;break;case 15:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 16:s.oPos+=4,s.iPos+=1,s.fPos+=2,s.bPos+=1;break;case 17:case 18:s.fPos+=2;break;case 19:case 20:s.oPos+=1}s.prev=d;break;case 3:switch(s.prev._hx_index){case 0:s.oPos+=2,s.bPos+=2;break;case 1:s.iPos+=1,s.fPos+=1;break;case 2:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 3:s.oPos+=1;break;case 4:s.fPos+=6;break;case 5:s.fPos+=4;break;case 6:s.fPos+=3;break;case 7:s.fPos+=4;break;case 8:s.oPos+=3;break;case 9:s.fPos+=4;break;case 10:s.fPos+=5,s.oPos+=1;break;case 12:s.oPos+=4;break;case 13:break;case 14:s.oPos+=2,s.bPos+=2;break;case 15:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 16:s.oPos+=4,s.iPos+=1,s.fPos+=2,s.bPos+=1;break;case 17:case 18:s.fPos+=2;break;case 19:case 20:s.oPos+=1}s.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL;var p=s,f=p.buffer.o[p.oPos];if(o=null,null!=f)for(var m=0,x=f.inputCount;m<x;){var g=m++;if("bitmap"==f.inputRefs[g].name){o=f.inputs[g];break}}break;case 8:if(null!=o){switch(s.prev._hx_index){case 0:s.oPos+=2,s.bPos+=2;break;case 1:s.iPos+=1,s.fPos+=1;break;case 2:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 3:s.oPos+=1;break;case 4:s.fPos+=6;break;case 5:s.fPos+=4;break;case 6:s.fPos+=3;break;case 7:s.fPos+=4;break;case 8:s.oPos+=3;break;case 9:s.fPos+=4;break;case 10:s.fPos+=5,s.oPos+=1;break;case 12:s.oPos+=4;break;case 13:break;case 14:s.oPos+=2,s.bPos+=2;break;case 15:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 16:s.oPos+=4,s.iPos+=1,s.fPos+=2,s.bPos+=1;break;case 17:case 18:s.fPos+=2;break;case 19:case 20:s.oPos+=1}s.prev=openfl_display__$internal_DrawCommandType.DRAW_QUADS;var F=s,y=F.buffer.o[F.oPos],S=F.buffer.o[F.oPos+1],b=F.buffer.o[F.oPos+2],U=null!=S,v=!1,T=!1,N=U?S.get_length():Math.floor(y.get_length()/4);if(0==N)return;null!=b&&(b.get_length()>=6*N?(v=!0,T=!0):b.get_length()>=4*N?v=!0:b.get_length()>=2*N&&(T=!0));null==e.__quadBuffer?e.__quadBuffer=new openfl_display__$internal_Context3DBuffer(a,openfl_display__$internal_Context3DElementType.QUADS,N,4):e.__quadBuffer.resize(i+N,4);for(var D,Q,B,R,w,E,k,W,Z,M,P,V,A,G,C,I,L,J=e.__quadBuffer.vertexBufferData,O=o.width,$=o.height,H=(o.rect,0),z=N;H<z;){var Y=H++;D=16*(i+Y),(I=U?4*S.get(Y):4*Y)<0||(r.setTo(y.get(I),y.get(I+1),y.get(I+2),y.get(I+3)),Q=r.width,B=r.height,Q<=0||B<=0||(v&&T?(L=6*Y,_.setTo(b.get(L),b.get(L+1),b.get(L+2),b.get(L+3),b.get(L+4),b.get(L+5))):v?(L=4*Y,_.setTo(b.get(L),b.get(L+1),b.get(L+2),b.get(L+3),r.x,r.y)):T?(L=2*Y,_.tx=b.get(L),_.ty=b.get(L+1)):(_.tx=r.x,_.ty=r.y),R=r.x/O,w=r.y/$,E=r.get_right()/O,k=r.get_bottom()/$,W=0*_.a+0*_.c+_.tx,Z=0*_.b+0*_.d+_.ty,M=Q*_.a+0*_.c+_.tx,P=Q*_.b+0*_.d+_.ty,V=0*_.a+B*_.c+_.tx,A=0*_.b+B*_.d+_.ty,G=Q*_.a+B*_.c+_.tx,C=Q*_.b+B*_.d+_.ty,J[D]=W,J[D+1]=Z,J[D+2]=R,J[D+3]=w,J[D+4]=M,J[D+4+1]=P,J[D+4+2]=E,J[D+4+3]=w,J[D+8]=V,J[D+8+1]=A,J[D+8+2]=R,J[D+8+3]=k,J[D+12]=G,J[D+12+1]=C,J[D+12+2]=E,J[D+12+3]=k))}i+=N}break;case 12:switch(s.prev._hx_index){case 0:s.oPos+=2,s.bPos+=2;break;case 1:s.iPos+=1,s.fPos+=1;break;case 2:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 3:s.oPos+=1;break;case 4:s.fPos+=6;break;case 5:s.fPos+=4;break;case 6:s.fPos+=3;break;case 7:s.fPos+=4;break;case 8:s.oPos+=3;break;case 9:s.fPos+=4;break;case 10:s.fPos+=5,s.oPos+=1;break;case 12:s.oPos+=4;break;case 13:break;case 14:s.oPos+=2,s.bPos+=2;break;case 15:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 16:s.oPos+=4,s.iPos+=1,s.fPos+=2,s.bPos+=1;break;case 17:case 18:s.fPos+=2;break;case 19:case 20:s.oPos+=1}s.prev=openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES;var X=s,j=X.buffer.o[X.oPos],K=X.buffer.o[X.oPos+1],q=X.buffer.o[X.oPos+2],ee=(X.buffer.o[X.oPos+3],null!=K),te=Math.floor(j.get_length()/2),ie=ee?K.get_length():te,le=null!=q,ne=le&&q.get_length()>=3*te,se=ne?4:2,ae=ne?3:2,re=se+2,_e=ne?n:l;openfl_display__$internal_Context3DGraphics.resizeVertexBuffer(e,ne,_e+ie*re);for(var oe,he,ue,de,ce=ne?e.__vertexBufferDataUVT:e.__vertexBufferData,pe=0,fe=ie;pe<fe;){var me=pe++;oe=_e+me*re,he=ee?2*K.get(me):2*me,ue=ee?K.get(me)*ae:me*ae,ne?(de=q.get(ue+2),ce[oe]=j.get(he)/de,ce[oe+1]=j.get(he+1)/de,ce[oe+2]=0,ce[oe+3]=1/de):(ce[oe]=j.get(he),ce[oe+1]=j.get(he+1)),ce[oe+se]=le?q.get(ue):0,ce[oe+se+1]=le?q.get(ue+1):0}ne?n+=ie*re:l+=ie*re;break;case 13:o=null;break;default:switch(s.prev._hx_index){case 0:s.oPos+=2,s.bPos+=2;break;case 1:s.iPos+=1,s.fPos+=1;break;case 2:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 3:s.oPos+=1;break;case 4:s.fPos+=6;break;case 5:s.fPos+=4;break;case 6:s.fPos+=3;break;case 7:s.fPos+=4;break;case 8:s.oPos+=3;break;case 9:s.fPos+=4;break;case 10:s.fPos+=5,s.oPos+=1;break;case 12:s.oPos+=4;break;case 13:break;case 14:s.oPos+=2,s.bPos+=2;break;case 15:s.oPos+=4,s.iiPos+=2,s.ffPos+=1,s.fPos+=1;break;case 16:s.oPos+=4,s.iPos+=1,s.fPos+=2,s.bPos+=1;break;case 17:case 18:s.fPos+=2;break;case 19:case 20:s.oPos+=1}s.prev=d}}if(i>0&&e.__quadBuffer.flushVertexBufferData(),l>0&&((null==(xe=e.__vertexBuffer)||l>e.__vertexBufferCount)&&(xe=a.createVertexBuffer(l,4,0),e.__vertexBuffer=xe,e.__vertexBufferCount=l),xe.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(e.__vertexBufferData))),n>0){var xe=e.__vertexBufferUVT;(null==xe||n>e.__vertexBufferCountUVT)&&(xe=a.createVertexBuffer(n,6,0),e.__vertexBufferUVT=xe,e.__vertexBufferCountUVT=n),xe.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(e.__vertexBufferDataUVT))}openfl_geom_Rectangle.__pool.release(r),openfl_geom_Matrix.__pool.release(_)},openfl_display__$internal_Context3DGraphics.isCompatible=function(e){if(null!=e.__owner.__worldScale9Grid)return!1;for(var t=new openfl_display__$internal_DrawCommandReader(e.__commands),i=!1,l=!1,n=!1,s=0,a=e.__commands.types;s<a.length;){var r=a[s];switch(++s,r._hx_index){case 0:switch(l=!0,i=!1,n=!1,t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 1:switch(l=!1,i=!0,n=!1,t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 3:switch(l=!1,i=!1,n=!0,t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 8:if(!l&&!n)return t.destroy(),!1;switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 9:if(!i)return t.destroy(),!1;switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 12:if(!l&&!n)return t.destroy(),!1;switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 13:switch(l=!1,i=!1,n=!1,t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;case 18:case 19:switch(t.prev._hx_index){case 0:t.oPos+=2,t.bPos+=2;break;case 1:t.iPos+=1,t.fPos+=1;break;case 2:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 3:t.oPos+=1;break;case 4:t.fPos+=6;break;case 5:t.fPos+=4;break;case 6:t.fPos+=3;break;case 7:t.fPos+=4;break;case 8:t.oPos+=3;break;case 9:t.fPos+=4;break;case 10:t.fPos+=5,t.oPos+=1;break;case 12:t.oPos+=4;break;case 13:break;case 14:t.oPos+=2,t.bPos+=2;break;case 15:t.oPos+=4,t.iiPos+=2,t.ffPos+=1,t.fPos+=1;break;case 16:t.oPos+=4,t.iPos+=1,t.fPos+=2,t.bPos+=1;break;case 17:case 18:t.fPos+=2;break;case 19:case 20:t.oPos+=1}t.prev=r;break;default:return t.destroy(),!1}}return t.destroy(),!0},openfl_display__$internal_Context3DGraphics.render=function(e,t){if(e.__visible&&0!=e.__commands.get_length())if(null!=e.__bitmap&&!e.__dirty||!openfl_display__$internal_Context3DGraphics.isCompatible(e)){var i=t.__softwareRenderer.__worldTransform;t.__softwareRenderer.__worldTransform=t.__worldTransform,openfl_display__$internal_CanvasGraphics.render(e,t.__softwareRenderer),t.__softwareRenderer.__worldTransform=i}else{e.__bitmap=null,e.__update(t.__worldTransform);var l=e.__bounds,n=e.__width,s=e.__height;if(null!=l&&n>=1&&s>=1){(e.__hardwareDirty||null==e.__quadBuffer&&null==e.__vertexBuffer&&null==e.__vertexBufferUVT)&&openfl_display__$internal_Context3DGraphics.buildBuffer(e,t);for(var a=new openfl_display__$internal_DrawCommandReader(e.__commands),r=t.__context3D,_=(r.gl,openfl_geom_Matrix.__pool.get()),o=null,h=null,u=!1,d=!1,c=null,p=0,f=0,m=0,x=0,g=0,F=e.__commands.types;g<F.length;){var y=F[g];switch(++g,y._hx_index){case 0:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL;var S=a;h=S.buffer.o[S.oPos],u=S.buffer.b[S.bPos],d=S.buffer.b[S.bPos+1],o=null,c=null;break;case 1:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL;var b=a;c=16777215&(0|b.buffer.i[b.iPos])|(255*b.buffer.f[b.fPos]|0)<<24,o=null,h=null;break;case 3:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL;var U=a;f=0,h=null==(o=U.buffer.o[U.oPos])||null==o.shader||null==o.shader.__bitmap?null:o.shader.__bitmap.input,c=null;break;case 8:if(null!=h){switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.DRAW_QUADS;var v,T=a,N=T.buffer.o[T.oPos],D=T.buffer.o[T.oPos+1],Q=(T.buffer.o[T.oPos+2],null!=D?D.get_length():Math.floor(N.get_length()/4)),B=t.__getMatrix(e.__owner.__renderTransform,1);null==o||openfl_display__$internal_Context3DGraphics.maskRender?(v=openfl_display__$internal_Context3DGraphics.maskRender?t.__maskShader:t.__initGraphicsShader(null),t.setShader(v),t.applyMatrix(B),t.applyBitmapData(h,d,u),t.applyAlpha(e.__owner.__worldAlpha),t.applyColorTransform(e.__owner.__worldColorTransform),t.updateShader()):(v=t.__initShaderBuffer(o),t.__setShaderBuffer(o),t.applyMatrix(B),t.applyBitmapData(h,!1,u),t.applyAlpha(e.__owner.__worldAlpha),t.applyColorTransform(e.__owner.__worldColorTransform));for(var R=p+Q;p<R&&!((Q=0|Math.min(R-p,r.__quadIndexBufferElements))<=0);)null==o||openfl_display__$internal_Context3DGraphics.maskRender||t.__updateShaderBuffer(f),null!=v.__position&&r.setVertexBufferAt(v.__position.index,e.__quadBuffer.vertexBuffer,16*p,2),null!=v.__textureCoord&&r.setVertexBufferAt(v.__textureCoord.index,e.__quadBuffer.vertexBuffer,16*p+2,2),r.drawTriangles(r.__quadIndexBuffer,0,2*Q),f+=4*Q,p+=Q;t.__clearShader()}break;case 9:if(null!=c){switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT;var w=a,E=w.buffer.f[w.fPos],k=w.buffer.f[w.fPos+1],n=w.buffer.f[w.fPos+2],s=w.buffer.f[w.fPos+3],W=c;openfl_display__$internal_Context3DGraphics.tempColorTransform.redOffset=W>>>16&255,openfl_display__$internal_Context3DGraphics.tempColorTransform.greenOffset=W>>>8&255,openfl_display__$internal_Context3DGraphics.tempColorTransform.blueOffset=255&W,openfl_display__$internal_Context3DGraphics.tempColorTransform.__combine(e.__owner.__worldColorTransform),_.identity(),_.scale(n,s),_.tx=E,_.ty=k,_.concat(e.__owner.__renderTransform);var Z=openfl_display__$internal_Context3DGraphics.maskRender?t.__maskShader:t.__initGraphicsShader(null);t.setShader(Z),t.applyMatrix(t.__getMatrix(_,1)),t.applyBitmapData(openfl_display__$internal_Context3DGraphics.blankBitmapData,!0,u),t.applyAlpha((W>>>24&255)/255*e.__owner.__worldAlpha),t.applyColorTransform(openfl_display__$internal_Context3DGraphics.tempColorTransform),t.updateShader();var M=openfl_display__$internal_Context3DGraphics.blankBitmapData.getVertexBuffer(r);null!=Z.__position&&r.setVertexBufferAt(Z.__position.index,M,0,3),null!=Z.__textureCoord&&r.setVertexBufferAt(Z.__textureCoord.index,M,3,2);var P=openfl_display__$internal_Context3DGraphics.blankBitmapData.getIndexBuffer(r);r.drawTriangles(P),f+=4,t.__clearShader()}break;case 12:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES;var V,A=a,G=A.buffer.o[A.oPos],C=A.buffer.o[A.oPos+1],I=A.buffer.o[A.oPos+2],L=A.buffer.o[A.oPos+3],J=null!=C,O=Math.floor(G.get_length()/2),$=J?C.get_length():O,H=null!=I&&I.get_length()>=3*O,z=H?4:2,Y=z+2,X=H?e.__vertexBufferUVT:e.__vertexBuffer,j=H?x:m,K=t.__getMatrix(e.__owner.__renderTransform,1);switch(null==o||openfl_display__$internal_Context3DGraphics.maskRender?(V=openfl_display__$internal_Context3DGraphics.maskRender?t.__maskShader:t.__initGraphicsShader(null),t.setShader(V),t.applyMatrix(K),t.applyBitmapData(h,d,u),t.applyAlpha(e.__owner.__worldAlpha),t.applyColorTransform(e.__owner.__worldColorTransform),t.updateShader()):(V=t.__initShaderBuffer(o),t.__setShaderBuffer(o),t.applyMatrix(K),t.applyBitmapData(h,!1,u),t.applyAlpha(1),t.applyColorTransform(null),t.__updateShaderBuffer(f)),null!=V.__position&&r.setVertexBufferAt(V.__position.index,X,j,H?4:2),null!=V.__textureCoord&&r.setVertexBufferAt(V.__textureCoord.index,X,j+z,2),L){case 0:r.setCulling(0);break;case 1:r.setCulling(3);break;case 2:r.setCulling(1)}switch(r.__drawTriangles(0,$),f+=$,H?x+=Y*$:m+=Y*$,L){case 1:case 2:r.setCulling(0)}t.__clearShader();break;case 13:switch(h=null,c=null,o=null,a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=y;break;case 18:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.MOVE_TO;var q=a;q.buffer.f[q.fPos],q.buffer.f[q.fPos+1];break;case 19:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=openfl_display__$internal_DrawCommandType.OVERRIDE_BLEND_MODE;var ee=a;t.__setBlendMode(ee.buffer.o[ee.oPos]);break;default:switch(a.prev._hx_index){case 0:a.oPos+=2,a.bPos+=2;break;case 1:a.iPos+=1,a.fPos+=1;break;case 2:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 3:a.oPos+=1;break;case 4:a.fPos+=6;break;case 5:a.fPos+=4;break;case 6:a.fPos+=3;break;case 7:a.fPos+=4;break;case 8:a.oPos+=3;break;case 9:a.fPos+=4;break;case 10:a.fPos+=5,a.oPos+=1;break;case 12:a.oPos+=4;break;case 13:break;case 14:a.oPos+=2,a.bPos+=2;break;case 15:a.oPos+=4,a.iiPos+=2,a.ffPos+=1,a.fPos+=1;break;case 16:a.oPos+=4,a.iPos+=1,a.fPos+=2,a.bPos+=1;break;case 17:case 18:a.fPos+=2;break;case 19:case 20:a.oPos+=1}a.prev=y}}openfl_geom_Matrix.__pool.release(_)}e.__hardwareDirty=!1,e.set___dirty(!1)}},openfl_display__$internal_Context3DGraphics.renderMask=function(e,t){openfl_display__$internal_Context3DGraphics.maskRender=!0,openfl_display__$internal_Context3DGraphics.render(e,t),openfl_display__$internal_Context3DGraphics.maskRender=!1},openfl_display__$internal_Context3DGraphics.resizeIndexBuffer=function(e,t,i){if(!t){var l=t?null:e.__triangleIndexBufferData,n=null;if(null==l){var s=null,a=null,r=null,_=null,o=null;n=null!=i?new Uint16Array(i):null!=s?new Uint16Array(s):null!=a?new Uint16Array(a.__array):null!=r?new Uint16Array(r):null!=_?null==o?new Uint16Array(_,0):new Uint16Array(_,0,o):null}else if(i>l.length){var s=null,a=null,r=null,_=null,o=null;(n=null!=i?new Uint16Array(i):null!=s?new Uint16Array(s):null!=a?new Uint16Array(a.__array):null!=r?new Uint16Array(r):null!=_?null==o?new Uint16Array(_,0):new Uint16Array(_,0,o):null).set(l),l.length}null!=n&&(t||(e.__triangleIndexBufferData=n))}},openfl_display__$internal_Context3DGraphics.resizeVertexBuffer=function(e,t,i){var l=t?e.__vertexBufferDataUVT:e.__vertexBufferData,n=null;if(null==l){var s=null,a=null,r=null,_=null,o=null;n=null!=i?new Float32Array(i):null!=s?new Float32Array(s):null!=a?new Float32Array(a.__array):null!=r?new Float32Array(r):null!=_?null==o?new Float32Array(_,0):new Float32Array(_,0,o):null}else if(i>l.length){var s=null,a=null,r=null,_=null,o=null;(n=null!=i?new Float32Array(i):null!=s?new Float32Array(s):null!=a?new Float32Array(a.__array):null!=r?new Float32Array(r):null!=_?null==o?new Float32Array(_,0):new Float32Array(_,0,o):null).set(l)}null!=n&&(t?e.__vertexBufferDataUVT=n:e.__vertexBufferData=n)};var openfl_display__$internal_Context3DMaskShader=function(){null==this.__glFragmentSource&&(this.__glFragmentSource="varying vec2 openfl_TextureCoordv;\n\n\t\tuniform sampler2D openfl_Texture;\n\n\t\tvoid main(void) {\n\n\t\t\tvec4 color = texture2D (openfl_Texture, openfl_TextureCoordv);\n\n\t\t\tif (color.a == 0.0) {\n\n\t\t\t\tdiscard;\n\n\t\t\t} else {\n\n\t\t\t\tgl_FragColor = color;\n\n\t\t\t}\n\n\t\t}"),null==this.__glVertexSource&&(this.__glVertexSource="attribute vec4 openfl_Position;\n\t\tattribute vec2 openfl_TextureCoord;\n\t\tvarying vec2 openfl_TextureCoordv;\n\n\t\tuniform mat4 openfl_Matrix;\n\n\t\tvoid main(void) {\n\n\t\t\topenfl_TextureCoordv = openfl_TextureCoord;\n\n\t\t\tgl_Position = openfl_Matrix * openfl_Position;\n\n\t\t}"),openfl_display_Shader.call(this),this.__isGenerated=!0,this.__initGL()};$hxClasses["openfl.display._internal.Context3DMaskShader"]=openfl_display__$internal_Context3DMaskShader,openfl_display__$internal_Context3DMaskShader.__name__="openfl.display._internal.Context3DMaskShader",openfl_display__$internal_Context3DMaskShader.__super__=openfl_display_Shader,openfl_display__$internal_Context3DMaskShader.prototype=$extend(openfl_display_Shader.prototype,{openfl_Position:null,openfl_TextureCoord:null,openfl_Matrix:null,openfl_Texture:null,__class__:openfl_display__$internal_Context3DMaskShader});var openfl_display__$internal_Context3DShape=function(){};$hxClasses["openfl.display._internal.Context3DShape"]=openfl_display__$internal_Context3DShape,openfl_display__$internal_Context3DShape.__name__="openfl.display._internal.Context3DShape",openfl_display__$internal_Context3DShape.render=function(e,t){if(e.__renderable&&!(e.__worldAlpha<=0)){var i=e.__graphics;if(null!=i){if(t.__setBlendMode(e.__worldBlendMode),t.__pushMaskObject(e),openfl_display__$internal_Context3DGraphics.render(i,t),null!=i.__bitmap&&i.__visible){var l=t.__context3D,n=(e.__worldScale9Grid,t.__initDisplayShader(e.__worldShader));t.setShader(n),t.applyBitmapData(i.__bitmap,!0),t.applyMatrix(t.__getMatrix(i.__worldTransform,1)),t.applyAlpha(e.__worldAlpha),t.applyColorTransform(e.__worldColorTransform),t.updateShader();var s=i.__bitmap.getVertexBuffer(l);null!=n.__position&&l.setVertexBufferAt(n.__position.index,s,0,3),null!=n.__textureCoord&&l.setVertexBufferAt(n.__textureCoord.index,s,3,2);var a=i.__bitmap.getIndexBuffer(l);l.drawTriangles(a),t.__clearShader()}t.__popMaskObject(e)}}},openfl_display__$internal_Context3DShape.renderMask=function(e,t){var i=e.__graphics;if(null!=i&&(openfl_display__$internal_Context3DGraphics.renderMask(i,t),null!=i.__bitmap)){var l=t.__context3D,n=t.__maskShader;t.setShader(n),t.applyBitmapData(i.__bitmap,!0),t.applyMatrix(t.__getMatrix(i.__worldTransform,1)),t.updateShader();var s=i.__bitmap.getVertexBuffer(l);null!=n.__position&&l.setVertexBufferAt(n.__position.index,s,0,3),null!=n.__textureCoord&&l.setVertexBufferAt(n.__textureCoord.index,s,3,2);var a=i.__bitmap.getIndexBuffer(l);l.drawTriangles(a),t.__clearShader()}};var openfl_display__$internal_Context3DTextField=function(){};$hxClasses["openfl.display._internal.Context3DTextField"]=openfl_display__$internal_Context3DTextField,openfl_display__$internal_Context3DTextField.__name__="openfl.display._internal.Context3DTextField",openfl_display__$internal_Context3DTextField.render=function(e,t){var i=t.__softwareRenderer,l=e.__worldTransform,n=e.__textEngine,s=n.background||n.border?n.bounds:n.textBounds,a=e.__graphics;if(e.__dirty&&(e.__updateLayout(),null==a.__bounds&&(a.__bounds=new openfl_geom_Rectangle),a.__bounds.copyFrom(s)),a.__update(i.__worldTransform),e.__dirty||a.__softwareDirty){var r=a.__width,_=a.__height;if((null!=n.text&&""!=n.text||n.background||n.border||n.__hasFocus||1==n.type&&n.selectable)&&(!(n.width<=0||n.height<=0)||2==n.autoSize)){null==e.__graphics.__canvas&&(e.__graphics.__canvas=window.document.createElement("canvas"),e.__graphics.__context=e.__graphics.__canvas.getContext("2d")),openfl_display__$internal_CanvasTextField.context=a.__context;l=a.__renderTransform;if(i.__isDOM){var o=i.pixelRatio;a.__canvas.width=r*o|0,a.__canvas.height=_*o|0,a.__canvas.style.width=r+"px",a.__canvas.style.height=_+"px";var h=openfl_geom_Matrix.__pool.get();h.copyFrom(l),h.scale(o,o),i.setTransform(h,openfl_display__$internal_CanvasTextField.context),openfl_geom_Matrix.__pool.release(h)}else a.__canvas.width=r,a.__canvas.height=_,openfl_display__$internal_CanvasTextField.context.setTransform(l.a,l.b,l.c,l.d,l.tx,l.ty);if(null==openfl_display__$internal_CanvasTextField.clearRect&&(openfl_display__$internal_CanvasTextField.clearRect="undefined"!=typeof navigator&&void 0!==navigator.isCocoonJS),openfl_display__$internal_CanvasTextField.clearRect&&openfl_display__$internal_CanvasTextField.context.clearRect(0,0,a.__canvas.width,a.__canvas.height),null!=n.text&&""!=n.text||n.__hasFocus){var u=n.text;if(!i.__allowSmoothing||0==n.antiAliasType&&400==n.sharpness?a.__context.imageSmoothingEnabled=!1:a.__context.imageSmoothingEnabled=!0,n.border||n.background){if(openfl_display__$internal_CanvasTextField.context.rect(.5,.5,s.width-1,s.height-1),n.background){w=StringTools.hex(16777215&n.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+w,openfl_display__$internal_CanvasTextField.context.fill()}if(n.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1;w=StringTools.hex(16777215&n.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.stroke()}}openfl_display__$internal_CanvasTextField.context.textBaseline="alphabetic",openfl_display__$internal_CanvasTextField.context.textAlign="start";for(var d=-e.get_scrollH(),c=0,p=0,f=e.get_scrollV()-1;p<f;){R=p++;c-=n.lineHeights.get(R)}for(var m,x=n.layoutGroups.iterator();x.hasNext();){var g=x.next();if(!(g.lineIndex<e.get_scrollV()-1)){if(g.lineIndex>n.get_bottomScrollV()-1)break;var F="#"+StringTools.hex(16777215&g.format.color,6);if(openfl_display__$internal_CanvasTextField.context.font=openfl_text__$internal_TextEngine.getFont(g.format),openfl_display__$internal_CanvasTextField.context.fillStyle=F,openfl_display__$internal_CanvasTextField.context.fillText(u.substring(g.startIndex,g.endIndex),g.offsetX+d-s.x,g.offsetY+g.ascent+c-s.y),e.__caretIndex>-1&&n.selectable)if(e.__selectionIndex==e.__caretIndex){if(e.__showCursor&&g.startIndex<=e.__caretIndex&&g.endIndex>=e.__caretIndex){m=0;for(var p=0,f=e.__caretIndex-g.startIndex;p<f;){R=p++;if(g.positions.length<=R)break;m+=g.positions[R]}for(var y=0,S=e.get_scrollV(),b=g.lineIndex+1;S<b;){var U=S++;y+=n.lineHeights.get(U-1)}openfl_display__$internal_CanvasTextField.context.beginPath();w=StringTools.hex(16777215&g.format.color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.moveTo(g.offsetX+m-e.get_scrollH()-s.x,y+2-s.y),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(g.offsetX+m-e.get_scrollH()-s.x,y+openfl_text__$internal_TextEngine.getFormatHeight(e.get_defaultTextFormat())-1-s.y),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}else if(g.startIndex<=e.__caretIndex&&g.endIndex>=e.__caretIndex||g.startIndex<=e.__selectionIndex&&g.endIndex>=e.__selectionIndex||g.startIndex>e.__caretIndex&&g.endIndex<e.__selectionIndex||g.startIndex>e.__selectionIndex&&g.endIndex<e.__caretIndex){var v=0|Math.min(e.__selectionIndex,e.__caretIndex),T=0|Math.max(e.__selectionIndex,e.__caretIndex);g.startIndex>v&&(v=g.startIndex),g.endIndex<T&&(T=g.endIndex);var N,D=e.getCharBoundaries(v);T>=g.endIndex?null!=(N=e.getCharBoundaries(g.endIndex-1))&&(N.x+=N.width+2):N=e.getCharBoundaries(T),null!=D&&null!=N&&(openfl_display__$internal_CanvasTextField.context.fillStyle="#000000",openfl_display__$internal_CanvasTextField.context.fillRect(D.x+d,D.y+c,N.x-D.x,g.height),openfl_display__$internal_CanvasTextField.context.fillStyle="#FFFFFF",openfl_display__$internal_CanvasTextField.context.fillText(u.substring(v,T),d+D.x,g.offsetY+g.ascent+c))}if(g.format.underline){openfl_display__$internal_CanvasTextField.context.beginPath(),openfl_display__$internal_CanvasTextField.context.strokeStyle=F,openfl_display__$internal_CanvasTextField.context.lineWidth=1;var Q=g.offsetX+d-s.x,B=Math.floor(g.offsetY+c+g.ascent-s.y)+.5;openfl_display__$internal_CanvasTextField.context.moveTo(Q,B),openfl_display__$internal_CanvasTextField.context.lineTo(Q+g.width,B),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}}}else{if(n.border||n.background){if(n.border?openfl_display__$internal_CanvasTextField.context.rect(.5,.5,s.width-1,s.height-1):openfl_display__$internal_CanvasTextField.context.rect(0,0,s.width,s.height),n.background){w=StringTools.hex(16777215&n.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+w,openfl_display__$internal_CanvasTextField.context.fill()}if(n.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineCap="square";w=StringTools.hex(16777215&n.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.stroke()}}if(e.__caretIndex>-1&&n.selectable&&e.__showCursor){for(var d=-e.get_scrollH(),c=0,p=0,f=e.get_scrollV()-1;p<f;){var R=p++;c+=n.lineHeights.get(R)}openfl_display__$internal_CanvasTextField.context.beginPath();var w=StringTools.hex(16777215&e.get_defaultTextFormat().color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.moveTo(d+2.5,c+2.5),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(d+2.5,c+openfl_text__$internal_TextEngine.getFormatHeight(e.get_defaultTextFormat())-1),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}a.__bitmap=openfl_display_BitmapData.fromCanvas(e.__graphics.__canvas),a.__visible=!0,e.__dirty=!1,a.__softwareDirty=!1,a.set___dirty(!1)}else e.__graphics.__canvas=null,e.__graphics.__context=null,e.__graphics.__bitmap=null,e.__graphics.__softwareDirty=!1,e.__graphics.set___dirty(!1),e.__dirty=!1}e.__graphics.__hardwareDirty=!1},openfl_display__$internal_Context3DTextField.renderMask=function(e,t){var i=t.__softwareRenderer,l=e.__worldTransform,n=e.__textEngine,s=n.background||n.border?n.bounds:n.textBounds,a=e.__graphics;if(e.__dirty&&(e.__updateLayout(),null==a.__bounds&&(a.__bounds=new openfl_geom_Rectangle),a.__bounds.copyFrom(s)),a.__update(i.__worldTransform),e.__dirty||a.__softwareDirty){var r=a.__width,_=a.__height;if((null!=n.text&&""!=n.text||n.background||n.border||n.__hasFocus||1==n.type&&n.selectable)&&(!(n.width<=0||n.height<=0)||2==n.autoSize)){null==e.__graphics.__canvas&&(e.__graphics.__canvas=window.document.createElement("canvas"),e.__graphics.__context=e.__graphics.__canvas.getContext("2d")),openfl_display__$internal_CanvasTextField.context=a.__context;l=a.__renderTransform;if(i.__isDOM){var o=i.pixelRatio;a.__canvas.width=r*o|0,a.__canvas.height=_*o|0,a.__canvas.style.width=r+"px",a.__canvas.style.height=_+"px";var h=openfl_geom_Matrix.__pool.get();h.copyFrom(l),h.scale(o,o),i.setTransform(h,openfl_display__$internal_CanvasTextField.context),openfl_geom_Matrix.__pool.release(h)}else a.__canvas.width=r,a.__canvas.height=_,openfl_display__$internal_CanvasTextField.context.setTransform(l.a,l.b,l.c,l.d,l.tx,l.ty);if(null==openfl_display__$internal_CanvasTextField.clearRect&&(openfl_display__$internal_CanvasTextField.clearRect="undefined"!=typeof navigator&&void 0!==navigator.isCocoonJS),openfl_display__$internal_CanvasTextField.clearRect&&openfl_display__$internal_CanvasTextField.context.clearRect(0,0,a.__canvas.width,a.__canvas.height),null!=n.text&&""!=n.text||n.__hasFocus){var u=n.text;if(!i.__allowSmoothing||0==n.antiAliasType&&400==n.sharpness?a.__context.imageSmoothingEnabled=!1:a.__context.imageSmoothingEnabled=!0,n.border||n.background){if(openfl_display__$internal_CanvasTextField.context.rect(.5,.5,s.width-1,s.height-1),n.background){w=StringTools.hex(16777215&n.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+w,openfl_display__$internal_CanvasTextField.context.fill()}if(n.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1;w=StringTools.hex(16777215&n.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.stroke()}}openfl_display__$internal_CanvasTextField.context.textBaseline="alphabetic",openfl_display__$internal_CanvasTextField.context.textAlign="start";for(var d=-e.get_scrollH(),c=0,p=0,f=e.get_scrollV()-1;p<f;){R=p++;c-=n.lineHeights.get(R)}for(var m,x=n.layoutGroups.iterator();x.hasNext();){var g=x.next();if(!(g.lineIndex<e.get_scrollV()-1)){if(g.lineIndex>n.get_bottomScrollV()-1)break;var F="#"+StringTools.hex(16777215&g.format.color,6);if(openfl_display__$internal_CanvasTextField.context.font=openfl_text__$internal_TextEngine.getFont(g.format),openfl_display__$internal_CanvasTextField.context.fillStyle=F,openfl_display__$internal_CanvasTextField.context.fillText(u.substring(g.startIndex,g.endIndex),g.offsetX+d-s.x,g.offsetY+g.ascent+c-s.y),e.__caretIndex>-1&&n.selectable)if(e.__selectionIndex==e.__caretIndex){if(e.__showCursor&&g.startIndex<=e.__caretIndex&&g.endIndex>=e.__caretIndex){m=0;for(var p=0,f=e.__caretIndex-g.startIndex;p<f;){R=p++;if(g.positions.length<=R)break;m+=g.positions[R]}for(var y=0,S=e.get_scrollV(),b=g.lineIndex+1;S<b;){var U=S++;y+=n.lineHeights.get(U-1)}openfl_display__$internal_CanvasTextField.context.beginPath();w=StringTools.hex(16777215&g.format.color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.moveTo(g.offsetX+m-e.get_scrollH()-s.x,y+2-s.y),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(g.offsetX+m-e.get_scrollH()-s.x,y+openfl_text__$internal_TextEngine.getFormatHeight(e.get_defaultTextFormat())-1-s.y),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}else if(g.startIndex<=e.__caretIndex&&g.endIndex>=e.__caretIndex||g.startIndex<=e.__selectionIndex&&g.endIndex>=e.__selectionIndex||g.startIndex>e.__caretIndex&&g.endIndex<e.__selectionIndex||g.startIndex>e.__selectionIndex&&g.endIndex<e.__caretIndex){var v=0|Math.min(e.__selectionIndex,e.__caretIndex),T=0|Math.max(e.__selectionIndex,e.__caretIndex);g.startIndex>v&&(v=g.startIndex),g.endIndex<T&&(T=g.endIndex);var N,D=e.getCharBoundaries(v);T>=g.endIndex?null!=(N=e.getCharBoundaries(g.endIndex-1))&&(N.x+=N.width+2):N=e.getCharBoundaries(T),null!=D&&null!=N&&(openfl_display__$internal_CanvasTextField.context.fillStyle="#000000",openfl_display__$internal_CanvasTextField.context.fillRect(D.x+d,D.y+c,N.x-D.x,g.height),openfl_display__$internal_CanvasTextField.context.fillStyle="#FFFFFF",openfl_display__$internal_CanvasTextField.context.fillText(u.substring(v,T),d+D.x,g.offsetY+g.ascent+c))}if(g.format.underline){openfl_display__$internal_CanvasTextField.context.beginPath(),openfl_display__$internal_CanvasTextField.context.strokeStyle=F,openfl_display__$internal_CanvasTextField.context.lineWidth=1;var Q=g.offsetX+d-s.x,B=Math.floor(g.offsetY+c+g.ascent-s.y)+.5;openfl_display__$internal_CanvasTextField.context.moveTo(Q,B),openfl_display__$internal_CanvasTextField.context.lineTo(Q+g.width,B),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}}}else{if(n.border||n.background){if(n.border?openfl_display__$internal_CanvasTextField.context.rect(.5,.5,s.width-1,s.height-1):openfl_display__$internal_CanvasTextField.context.rect(0,0,s.width,s.height),n.background){w=StringTools.hex(16777215&n.backgroundColor,6);openfl_display__$internal_CanvasTextField.context.fillStyle="#"+w,openfl_display__$internal_CanvasTextField.context.fill()}if(n.border){openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineCap="square";w=StringTools.hex(16777215&n.borderColor,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.stroke()}}if(e.__caretIndex>-1&&n.selectable&&e.__showCursor){for(var d=-e.get_scrollH(),c=0,p=0,f=e.get_scrollV()-1;p<f;){var R=p++;c+=n.lineHeights.get(R)}openfl_display__$internal_CanvasTextField.context.beginPath();var w=StringTools.hex(16777215&e.get_defaultTextFormat().color,6);openfl_display__$internal_CanvasTextField.context.strokeStyle="#"+w,openfl_display__$internal_CanvasTextField.context.moveTo(d+2.5,c+2.5),openfl_display__$internal_CanvasTextField.context.lineWidth=1,openfl_display__$internal_CanvasTextField.context.lineTo(d+2.5,c+openfl_text__$internal_TextEngine.getFormatHeight(e.get_defaultTextFormat())-1),openfl_display__$internal_CanvasTextField.context.stroke(),openfl_display__$internal_CanvasTextField.context.closePath()}}a.__bitmap=openfl_display_BitmapData.fromCanvas(e.__graphics.__canvas),a.__visible=!0,e.__dirty=!1,a.__softwareDirty=!1,a.set___dirty(!1)}else e.__graphics.__canvas=null,e.__graphics.__context=null,e.__graphics.__bitmap=null,e.__graphics.__softwareDirty=!1,e.__graphics.set___dirty(!1),e.__dirty=!1}e.__graphics.__hardwareDirty=!1};var openfl_display__$internal_DOMBitmap=function(){};$hxClasses["openfl.display._internal.DOMBitmap"]=openfl_display__$internal_DOMBitmap,openfl_display__$internal_DOMBitmap.__name__="openfl.display._internal.DOMBitmap",openfl_display__$internal_DOMBitmap.clear=function(e,t){null!=e.__image&&(t.element.removeChild(e.__image),e.__image=null,e.__style=null),null!=e.__canvas&&(t.element.removeChild(e.__canvas),e.__canvas=null,e.__style=null)},openfl_display__$internal_DOMBitmap.render=function(e,t){null!=e.stage&&e.__worldVisible&&e.__renderable&&null!=e.__bitmapData&&e.__bitmapData.__isValid&&e.__bitmapData.readable?(t.__pushMaskObject(e),null!=e.__bitmapData.image.buffer.__srcImage?openfl_display__$internal_DOMBitmap.renderImage(e,t):openfl_display__$internal_DOMBitmap.renderCanvas(e,t),t.__popMaskObject(e)):openfl_display__$internal_DOMBitmap.clear(e,t)},openfl_display__$internal_DOMBitmap.renderCanvas=function(e,t){null!=e.__image&&(t.element.removeChild(e.__image),e.__image=null),null==e.__canvas&&(e.__canvas=window.document.createElement("canvas"),e.__context=e.__canvas.getContext("2d"),e.__imageVersion=-1,t.__allowSmoothing&&e.smoothing||(e.__context.imageSmoothingEnabled=!1),t.__initializeElement(e,e.__canvas)),e.__imageVersion!=e.__bitmapData.image.version&&(lime__$internal_graphics_ImageCanvasUtil.convertToCanvas(e.__bitmapData.image),e.__canvas.width=e.__bitmapData.width+1,e.__canvas.width=e.__bitmapData.width,e.__canvas.height=e.__bitmapData.height,e.__context.drawImage(e.__bitmapData.image.buffer.__srcCanvas,0,0),e.__imageVersion=e.__bitmapData.image.version),t.__updateClip(e),t.__applyStyle(e,!0,!0,!0)},openfl_display__$internal_DOMBitmap.renderImage=function(e,t){null!=e.__canvas&&(t.element.removeChild(e.__canvas),e.__canvas=null),null==e.__image&&(e.__image=window.document.createElement("img"),e.__image.crossOrigin="Anonymous",e.__image.src=e.__bitmapData.image.buffer.__srcImage.src,t.__initializeElement(e,e.__image)),t.__updateClip(e),t.__applyStyle(e,!0,!0,!0)};var openfl_display__$internal_DOMDisplayObject=function(){};$hxClasses["openfl.display._internal.DOMDisplayObject"]=openfl_display__$internal_DOMDisplayObject,openfl_display__$internal_DOMDisplayObject.__name__="openfl.display._internal.DOMDisplayObject",openfl_display__$internal_DOMDisplayObject.clear=function(e,t){null!=e.__cacheBitmap&&openfl_display__$internal_DOMBitmap.clear(e.__cacheBitmap,t),openfl_display__$internal_DOMShape.clear(e,t)},openfl_display__$internal_DOMDisplayObject.render=function(e,t){null!=e.opaqueBackground&&!e.__isCacheBitmapRender&&e.get_width()>0&&e.get_height();var i=e.__graphics;if(null!=e.stage&&e.__worldVisible&&e.__renderable&&null!=i){if(openfl_display__$internal_CanvasGraphics.render(i,t.__canvasRenderer),(i.__softwareDirty||e.__worldAlphaChanged||e.__canvas!=i.__canvas)&&(null!=i.__canvas?e.__canvas!=i.__canvas&&(null!=e.__canvas&&t.element.removeChild(e.__canvas),e.__canvas=i.__canvas,e.__context=i.__context,t.__initializeElement(e,e.__canvas)):openfl_display__$internal_DOMShape.clear(e,t)),null!=e.__canvas){t.__pushMaskObject(e);var l=e.__renderTransform;e.__renderTransform=i.__worldTransform,i.__transformDirty&&(i.__transformDirty=!1,e.__renderTransformChanged=!0),t.__updateClip(e),t.__applyStyle(e,!0,!0,!0),e.__renderTransform=l,t.__popMaskObject(e)}}else openfl_display__$internal_DOMShape.clear(e,t)};var openfl_display__$internal_DOMShape=function(){};$hxClasses["openfl.display._internal.DOMShape"]=openfl_display__$internal_DOMShape,openfl_display__$internal_DOMShape.__name__="openfl.display._internal.DOMShape",openfl_display__$internal_DOMShape.clear=function(e,t){null!=e.__canvas&&(t.element.removeChild(e.__canvas),e.__canvas=null,e.__style=null)},openfl_display__$internal_DOMShape.render=function(e,t){var i=e.__graphics;if(null!=e.stage&&e.__worldVisible&&e.__renderable&&null!=i){if(openfl_display__$internal_CanvasGraphics.render(i,t.__canvasRenderer),(i.__softwareDirty||e.__worldAlphaChanged||e.__canvas!=i.__canvas)&&(null!=i.__canvas?e.__canvas!=i.__canvas&&(null!=e.__canvas&&t.element.removeChild(e.__canvas),e.__canvas=i.__canvas,e.__context=i.__context,t.__initializeElement(e,e.__canvas)):openfl_display__$internal_DOMShape.clear(e,t)),null!=e.__canvas){t.__pushMaskObject(e);var l=e.__renderTransform;e.__renderTransform=i.__worldTransform,i.__transformDirty&&(i.__transformDirty=!1,e.__renderTransformChanged=!0),t.__updateClip(e),t.__applyStyle(e,!0,!0,!0),e.__renderTransform=l,t.__popMaskObject(e)}}else openfl_display__$internal_DOMShape.clear(e,t)};var openfl_display__$internal_DOMTextField=function(){};$hxClasses["openfl.display._internal.DOMTextField"]=openfl_display__$internal_DOMTextField,openfl_display__$internal_DOMTextField.__name__="openfl.display._internal.DOMTextField",openfl_display__$internal_DOMTextField.clear=function(e,t){null!=e.__div&&(t.element.removeChild(e.__div),e.__div=null,e.__style=null)},openfl_display__$internal_DOMTextField.measureText=function(e){var t=e.__textEngine,i=e.__div;if(null==i){i=window.document.createElement("div");var l=new RegExp("\n","g".split("u").join(""));i.innerHTML=t.text.replace(l,"<br>"),i.style.setProperty("font",openfl_text__$internal_TextEngine.getFont(e.__textFormat),null),i.style.setProperty("pointer-events","none",null),i.style.position="absolute",i.style.top="110%",window.document.body.appendChild(i)}t.__measuredWidth=i.clientWidth,null==e.__div&&(i.style.width=Std.string(t.width-4)+"px"),t.__measuredHeight=i.clientHeight,null==e.__div&&window.document.body.removeChild(i)},openfl_display__$internal_DOMTextField.render=function(e,t){var i=e.__textEngine;if(null!=e.stage&&e.__worldVisible&&e.__renderable){if(e.__dirty||e.__renderTransformChanged||null==e.__div)if(""!=i.text||i.background||i.border||1==i.type){null==e.__div&&(e.__div=window.document.createElement("div"),t.__initializeElement(e,e.__div),e.__style.setProperty("outline","none",null),e.__div.addEventListener("input",function(t){if(t.preventDefault(),e.get_htmlText()!=e.__div.innerHTML){e.set_htmlText(e.__div.innerHTML);e.__displayAsPassword;e.__dirty=!1,e.dispatchEvent(new openfl_events_TextEvent("textInput",!1,!1,e.get_htmlText()))}},!0)),i.wordWrap?e.__style.setProperty("word-wrap","break-word",null):e.__style.setProperty("white-space","nowrap",null),e.__style.setProperty("overflow","hidden",null),i.selectable?(e.__style.setProperty("cursor","text",null),e.__style.setProperty("-webkit-user-select","text",null),e.__style.setProperty("-moz-user-select","text",null),e.__style.setProperty("-ms-user-select","text",null),e.__style.setProperty("-o-user-select","text",null)):e.__style.setProperty("cursor","inherit",null),e.__div.contentEditable=1==i.type;var l=e.__style;i.background?l.setProperty("background-color","#"+StringTools.hex(16777215&i.backgroundColor,6),null):l.removeProperty("background-color");var n=i.width,s=i.height,a=1,r=e.__textFormat.size,_=r,o=e.__renderTransform;1==o.a&&1==o.d||(o.a==o.d?(a=o.a,o.a=o.d=1):o.a>o.d?(a=o.a,o.d/=o.a,o.a=1):(a=o.d,o.a/=o.d,o.d=1),_*=a,n=Math.ceil(n*a),s=Math.ceil(s*a)),e.__textFormat.size=_;var h=i.text,u=0;if(e.__isHTML){for(var d=h;openfl_display__$internal_DOMTextField.__regexFont.match(d);){var c=openfl_display__$internal_DOMTextField.__regexFont.matched(0),p="";if(openfl_display__$internal_DOMTextField.__regexFace.match(c)&&(p+="font-family:'"+openfl_display__$internal_DOMTextField.__getAttributeMatch(openfl_display__$internal_DOMTextField.__regexFace)+"';"),openfl_display__$internal_DOMTextField.__regexColor.match(c)&&(p+="color:#"+openfl_display__$internal_DOMTextField.__getAttributeMatch(openfl_display__$internal_DOMTextField.__regexColor)+";"),openfl_display__$internal_DOMTextField.__regexSize.match(c)){var f=openfl_display__$internal_DOMTextField.__getAttributeMatch(openfl_display__$internal_DOMTextField.__regexSize),m=HxOverrides.cca(f,0);u=parseFloat(f)*a,p+="font-size:"+(43==m||45==m?_+u:u)+"px;"}h=StringTools.replace(h,c,"<span style='"+p+"'>"),d=openfl_display__$internal_DOMTextField.__regexFont.matchedRight()}h=h.replace(openfl_display__$internal_DOMTextField.__regexCloseFont.r,"</span>")}else h=StringTools.htmlEscape(h);h=StringTools.replace(h,"<p ","<p style='margin-top:0; margin-bottom:0;' ");var x=e.__textFormat.leading;e.__textFormat.leading+=0|u;var g=new RegExp("\r\n","g".split("u").join("")),F=h.replace(g,"<br>");e.__div.innerHTML=F;var g=new RegExp("\n","g".split("u").join("")),F=e.__div.innerHTML.replace(g,"<br>");e.__div.innerHTML=F;var g=new RegExp("\r","g".split("u").join("")),F=e.__div.innerHTML.replace(g,"<br>");switch(e.__div.innerHTML=F,l.setProperty("font",openfl_text__$internal_TextEngine.getFont(e.__textFormat),null),e.__textFormat.size=r,e.__textFormat.leading=x,l.setProperty("top","3px",null),i.border?(l.setProperty("border","solid 1px #"+StringTools.hex(16777215&i.borderColor,6),null),e.__renderTransform.translate(-1,-1),e.__renderTransformChanged=!0,e.__transformDirty=!0):""!=l.border&&(l.removeProperty("border"),e.__renderTransformChanged=!0),l.setProperty("color","#"+StringTools.hex(16777215&e.__textFormat.color,6),null),l.setProperty("width",n+"px",null),l.setProperty("height",s+"px",null),e.__textFormat.align){case 0:l.setProperty("text-align","center",null);break;case 4:l.setProperty("text-align","right",null);break;default:l.setProperty("text-align","left",null)}e.__dirty=!1}else null!=e.__div&&(t.element.removeChild(e.__div),e.__div=null);if(null!=e.__div){var y=t.__roundPixels;t.__roundPixels=!0,t.__updateClip(e),t.__applyStyle(e,!0,!0,!0),t.__roundPixels=y}}else openfl_display__$internal_DOMTextField.clear(e,t)},openfl_display__$internal_DOMTextField.__getAttributeMatch=function(e){return null!=e.matched(2)?e.matched(2):e.matched(3)};var openfl_display__$internal_DrawCommandReader=function(e){this.buffer=e,this.bPos=this.iPos=this.fPos=this.oPos=this.ffPos=this.iiPos=this.tsPos=0,this.prev=openfl_display__$internal_DrawCommandType.UNKNOWN};$hxClasses["openfl.display._internal.DrawCommandReader"]=openfl_display__$internal_DrawCommandReader,openfl_display__$internal_DrawCommandReader.__name__="openfl.display._internal.DrawCommandReader",openfl_display__$internal_DrawCommandReader.prototype={buffer:null,bPos:null,iiPos:null,iPos:null,ffPos:null,fPos:null,oPos:null,prev:null,tsPos:null,advance:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}},bool:function(e){return this.buffer.b[this.bPos+e]},destroy:function(){this.buffer=null,this.reset()},fArr:function(e){return this.buffer.ff[this.ffPos+e]},float:function(e){return this.buffer.f[this.fPos+e]},iArr:function(e){return this.buffer.ii[this.iiPos+e]},int:function(e){return this.buffer.i[this.iPos+e]},obj:function(e){return this.buffer.o[this.oPos+e]},readBeginBitmapFill:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.BEGIN_BITMAP_FILL,this},readBeginFill:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.BEGIN_FILL,this},readBeginGradientFill:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.BEGIN_GRADIENT_FILL,this},readBeginShaderFill:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.BEGIN_SHADER_FILL,this},readCubicCurveTo:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.CUBIC_CURVE_TO,this},readCurveTo:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.CURVE_TO,this},readDrawCircle:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.DRAW_CIRCLE,this},readDrawEllipse:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.DRAW_ELLIPSE,this},readDrawQuads:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.DRAW_QUADS,this},readDrawRect:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.DRAW_RECT,this},readDrawRoundRect:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.DRAW_ROUND_RECT,this},readDrawTriangles:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.DRAW_TRIANGLES,this},readEndFill:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.END_FILL,this},readLineBitmapStyle:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.LINE_BITMAP_STYLE,this},readLineGradientStyle:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.LINE_GRADIENT_STYLE,this},readLineStyle:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.LINE_STYLE,this},readLineTo:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.LINE_TO,this},readMoveTo:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.MOVE_TO,this},readOverrideBlendMode:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.OVERRIDE_BLEND_MODE,this},readOverrideMatrix:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.OVERRIDE_MATRIX,this},readWindingEvenOdd:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.WINDING_EVEN_ODD,this},readWindingNonZero:function(){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}return this.prev=openfl_display__$internal_DrawCommandType.WINDING_NON_ZERO,this},reset:function(){this.bPos=this.iPos=this.fPos=this.oPos=this.ffPos=this.iiPos=this.tsPos=0},skip:function(e){switch(this.prev._hx_index){case 0:this.oPos+=2,this.bPos+=2;break;case 1:this.iPos+=1,this.fPos+=1;break;case 2:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 3:this.oPos+=1;break;case 4:this.fPos+=6;break;case 5:this.fPos+=4;break;case 6:this.fPos+=3;break;case 7:this.fPos+=4;break;case 8:this.oPos+=3;break;case 9:this.fPos+=4;break;case 10:this.fPos+=5,this.oPos+=1;break;case 12:this.oPos+=4;break;case 13:break;case 14:this.oPos+=2,this.bPos+=2;break;case 15:this.oPos+=4,this.iiPos+=2,this.ffPos+=1,this.fPos+=1;break;case 16:this.oPos+=4,this.iPos+=1,this.fPos+=2,this.bPos+=1;break;case 17:case 18:this.fPos+=2;break;case 19:case 20:this.oPos+=1}this.prev=e},__class__:openfl_display__$internal_DrawCommandReader};var openfl_display__$internal_BeginBitmapFillView={};openfl_display__$internal_BeginBitmapFillView.__properties__={get_smooth:"get_smooth",get_repeat:"get_repeat",get_matrix:"get_matrix",get_bitmap:"get_bitmap"},openfl_display__$internal_BeginBitmapFillView._new=function(e){return e},openfl_display__$internal_BeginBitmapFillView.get_bitmap=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_BeginBitmapFillView.get_matrix=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_BeginBitmapFillView.get_repeat=function(e){return e.buffer.b[e.bPos]},openfl_display__$internal_BeginBitmapFillView.get_smooth=function(e){return e.buffer.b[e.bPos+1]};var openfl_display__$internal_BeginFillView={};openfl_display__$internal_BeginFillView.__properties__={get_alpha:"get_alpha",get_color:"get_color"},openfl_display__$internal_BeginFillView._new=function(e){return e},openfl_display__$internal_BeginFillView.get_color=function(e){return e.buffer.i[e.iPos]},openfl_display__$internal_BeginFillView.get_alpha=function(e){return e.buffer.f[e.fPos]};var openfl_display__$internal_BeginGradientFillView={};openfl_display__$internal_BeginGradientFillView.__properties__={get_focalPointRatio:"get_focalPointRatio",get_interpolationMethod:"get_interpolationMethod",get_spreadMethod:"get_spreadMethod",get_matrix:"get_matrix",get_ratios:"get_ratios",get_alphas:"get_alphas",get_colors:"get_colors",get_type:"get_type"},openfl_display__$internal_BeginGradientFillView._new=function(e){return e},openfl_display__$internal_BeginGradientFillView.get_type=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_BeginGradientFillView.get_colors=function(e){return e.buffer.ii[e.iiPos]},openfl_display__$internal_BeginGradientFillView.get_alphas=function(e){return e.buffer.ff[e.ffPos]},openfl_display__$internal_BeginGradientFillView.get_ratios=function(e){return e.buffer.ii[e.iiPos+1]},openfl_display__$internal_BeginGradientFillView.get_matrix=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_BeginGradientFillView.get_spreadMethod=function(e){return e.buffer.o[e.oPos+2]},openfl_display__$internal_BeginGradientFillView.get_interpolationMethod=function(e){return e.buffer.o[e.oPos+3]},openfl_display__$internal_BeginGradientFillView.get_focalPointRatio=function(e){return e.buffer.f[e.fPos]};var openfl_display__$internal_BeginShaderFillView={};openfl_display__$internal_BeginShaderFillView.__properties__={get_shaderBuffer:"get_shaderBuffer"},openfl_display__$internal_BeginShaderFillView._new=function(e){return e},openfl_display__$internal_BeginShaderFillView.get_shaderBuffer=function(e){return e.buffer.o[e.oPos]};var openfl_display__$internal_CubicCurveToView={};openfl_display__$internal_CubicCurveToView.__properties__={get_anchorY:"get_anchorY",get_anchorX:"get_anchorX",get_controlY2:"get_controlY2",get_controlX2:"get_controlX2",get_controlY1:"get_controlY1",get_controlX1:"get_controlX1"},openfl_display__$internal_CubicCurveToView._new=function(e){return e},openfl_display__$internal_CubicCurveToView.get_controlX1=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_CubicCurveToView.get_controlY1=function(e){return e.buffer.f[e.fPos+1]},openfl_display__$internal_CubicCurveToView.get_controlX2=function(e){return e.buffer.f[e.fPos+2]},openfl_display__$internal_CubicCurveToView.get_controlY2=function(e){return e.buffer.f[e.fPos+3]},openfl_display__$internal_CubicCurveToView.get_anchorX=function(e){return e.buffer.f[e.fPos+4]},openfl_display__$internal_CubicCurveToView.get_anchorY=function(e){return e.buffer.f[e.fPos+5]};var openfl_display__$internal_CurveToView={};openfl_display__$internal_CurveToView.__properties__={get_anchorY:"get_anchorY",get_anchorX:"get_anchorX",get_controlY:"get_controlY",get_controlX:"get_controlX"},openfl_display__$internal_CurveToView._new=function(e){return e},openfl_display__$internal_CurveToView.get_controlX=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_CurveToView.get_controlY=function(e){return e.buffer.f[e.fPos+1]},openfl_display__$internal_CurveToView.get_anchorX=function(e){return e.buffer.f[e.fPos+2]},openfl_display__$internal_CurveToView.get_anchorY=function(e){return e.buffer.f[e.fPos+3]};var openfl_display__$internal_DrawCircleView={};openfl_display__$internal_DrawCircleView.__properties__={get_radius:"get_radius",get_y:"get_y",get_x:"get_x"},openfl_display__$internal_DrawCircleView._new=function(e){return e},openfl_display__$internal_DrawCircleView.get_x=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_DrawCircleView.get_y=function(e){return e.buffer.f[e.fPos+1]},openfl_display__$internal_DrawCircleView.get_radius=function(e){return e.buffer.f[e.fPos+2]};var openfl_display__$internal_DrawEllipseView={};openfl_display__$internal_DrawEllipseView.__properties__={get_height:"get_height",get_width:"get_width",get_y:"get_y",get_x:"get_x"},openfl_display__$internal_DrawEllipseView._new=function(e){return e},openfl_display__$internal_DrawEllipseView.get_x=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_DrawEllipseView.get_y=function(e){return e.buffer.f[e.fPos+1]},openfl_display__$internal_DrawEllipseView.get_width=function(e){return e.buffer.f[e.fPos+2]},openfl_display__$internal_DrawEllipseView.get_height=function(e){return e.buffer.f[e.fPos+3]};var openfl_display__$internal_DrawQuadsView={};openfl_display__$internal_DrawQuadsView.__properties__={get_transforms:"get_transforms",get_indices:"get_indices",get_rects:"get_rects"},openfl_display__$internal_DrawQuadsView._new=function(e){return e},openfl_display__$internal_DrawQuadsView.get_rects=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_DrawQuadsView.get_indices=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_DrawQuadsView.get_transforms=function(e){return e.buffer.o[e.oPos+2]};var openfl_display__$internal_DrawRectView={};openfl_display__$internal_DrawRectView.__properties__={get_height:"get_height",get_width:"get_width",get_y:"get_y",get_x:"get_x"},openfl_display__$internal_DrawRectView._new=function(e){return e},openfl_display__$internal_DrawRectView.get_x=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_DrawRectView.get_y=function(e){return e.buffer.f[e.fPos+1]},openfl_display__$internal_DrawRectView.get_width=function(e){return e.buffer.f[e.fPos+2]},openfl_display__$internal_DrawRectView.get_height=function(e){return e.buffer.f[e.fPos+3]};var openfl_display__$internal_DrawRoundRectView={};openfl_display__$internal_DrawRoundRectView.__properties__={get_ellipseHeight:"get_ellipseHeight",get_ellipseWidth:"get_ellipseWidth",get_height:"get_height",get_width:"get_width",get_y:"get_y",get_x:"get_x"},openfl_display__$internal_DrawRoundRectView._new=function(e){return e},openfl_display__$internal_DrawRoundRectView.get_x=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_DrawRoundRectView.get_y=function(e){return e.buffer.f[e.fPos+1]},openfl_display__$internal_DrawRoundRectView.get_width=function(e){return e.buffer.f[e.fPos+2]},openfl_display__$internal_DrawRoundRectView.get_height=function(e){return e.buffer.f[e.fPos+3]},openfl_display__$internal_DrawRoundRectView.get_ellipseWidth=function(e){return e.buffer.f[e.fPos+4]},openfl_display__$internal_DrawRoundRectView.get_ellipseHeight=function(e){return e.buffer.o[e.oPos]};var openfl_display__$internal_DrawTrianglesView={};openfl_display__$internal_DrawTrianglesView.__properties__={get_culling:"get_culling",get_uvtData:"get_uvtData",get_indices:"get_indices",get_vertices:"get_vertices"},openfl_display__$internal_DrawTrianglesView._new=function(e){return e},openfl_display__$internal_DrawTrianglesView.get_vertices=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_DrawTrianglesView.get_indices=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_DrawTrianglesView.get_uvtData=function(e){return e.buffer.o[e.oPos+2]},openfl_display__$internal_DrawTrianglesView.get_culling=function(e){return e.buffer.o[e.oPos+3]};var openfl_display__$internal_EndFillView={};openfl_display__$internal_EndFillView._new=function(e){return e};var openfl_display__$internal_LineBitmapStyleView={};openfl_display__$internal_LineBitmapStyleView.__properties__={get_smooth:"get_smooth",get_repeat:"get_repeat",get_matrix:"get_matrix",get_bitmap:"get_bitmap"},openfl_display__$internal_LineBitmapStyleView._new=function(e){return e},openfl_display__$internal_LineBitmapStyleView.get_bitmap=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_LineBitmapStyleView.get_matrix=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_LineBitmapStyleView.get_repeat=function(e){return e.buffer.b[e.bPos]},openfl_display__$internal_LineBitmapStyleView.get_smooth=function(e){return e.buffer.b[e.bPos+1]};var openfl_display__$internal_LineGradientStyleView={};openfl_display__$internal_LineGradientStyleView.__properties__={get_focalPointRatio:"get_focalPointRatio",get_interpolationMethod:"get_interpolationMethod",get_spreadMethod:"get_spreadMethod",get_matrix:"get_matrix",get_ratios:"get_ratios",get_alphas:"get_alphas",get_colors:"get_colors",get_type:"get_type"},openfl_display__$internal_LineGradientStyleView._new=function(e){return e},openfl_display__$internal_LineGradientStyleView.get_type=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_LineGradientStyleView.get_colors=function(e){return e.buffer.ii[e.iiPos]},openfl_display__$internal_LineGradientStyleView.get_alphas=function(e){return e.buffer.ff[e.ffPos]},openfl_display__$internal_LineGradientStyleView.get_ratios=function(e){return e.buffer.ii[e.iiPos+1]},openfl_display__$internal_LineGradientStyleView.get_matrix=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_LineGradientStyleView.get_spreadMethod=function(e){return e.buffer.o[e.oPos+2]},openfl_display__$internal_LineGradientStyleView.get_interpolationMethod=function(e){return e.buffer.o[e.oPos+3]},openfl_display__$internal_LineGradientStyleView.get_focalPointRatio=function(e){return e.buffer.f[e.fPos]};var openfl_display__$internal_LineStyleView={};openfl_display__$internal_LineStyleView.__properties__={get_miterLimit:"get_miterLimit",get_joints:"get_joints",get_caps:"get_caps",get_scaleMode:"get_scaleMode",get_pixelHinting:"get_pixelHinting",get_alpha:"get_alpha",get_color:"get_color",get_thickness:"get_thickness"},openfl_display__$internal_LineStyleView._new=function(e){return e},openfl_display__$internal_LineStyleView.get_thickness=function(e){return e.buffer.o[e.oPos]},openfl_display__$internal_LineStyleView.get_color=function(e){return e.buffer.i[e.iPos]},openfl_display__$internal_LineStyleView.get_alpha=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_LineStyleView.get_pixelHinting=function(e){return e.buffer.b[e.bPos]},openfl_display__$internal_LineStyleView.get_scaleMode=function(e){return e.buffer.o[e.oPos+1]},openfl_display__$internal_LineStyleView.get_caps=function(e){return e.buffer.o[e.oPos+2]},openfl_display__$internal_LineStyleView.get_joints=function(e){return e.buffer.o[e.oPos+3]},openfl_display__$internal_LineStyleView.get_miterLimit=function(e){return e.buffer.f[e.fPos+1]};var openfl_display__$internal_LineToView={};openfl_display__$internal_LineToView.__properties__={get_y:"get_y",get_x:"get_x"},openfl_display__$internal_LineToView._new=function(e){return e},openfl_display__$internal_LineToView.get_x=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_LineToView.get_y=function(e){return e.buffer.f[e.fPos+1]};var openfl_display__$internal_MoveToView={};openfl_display__$internal_MoveToView.__properties__={get_y:"get_y",get_x:"get_x"},openfl_display__$internal_MoveToView._new=function(e){return e},openfl_display__$internal_MoveToView.get_x=function(e){return e.buffer.f[e.fPos]},openfl_display__$internal_MoveToView.get_y=function(e){return e.buffer.f[e.fPos+1]};var openfl_display__$internal_OverrideBlendModeView={};openfl_display__$internal_OverrideBlendModeView.__properties__={get_blendMode:"get_blendMode"},openfl_display__$internal_OverrideBlendModeView._new=function(e){return e},openfl_display__$internal_OverrideBlendModeView.get_blendMode=function(e){return e.buffer.o[e.oPos]};var openfl_display__$internal_OverrideMatrixView={};openfl_display__$internal_OverrideMatrixView.__properties__={get_matrix:"get_matrix"},openfl_display__$internal_OverrideMatrixView._new=function(e){return e},openfl_display__$internal_OverrideMatrixView.get_matrix=function(e){return e.buffer.o[e.oPos]};var openfl_display__$internal_WindingEvenOddView={};openfl_display__$internal_WindingEvenOddView._new=function(e){return e};var openfl_display__$internal_WindingNonZeroView={};openfl_display__$internal_WindingNonZeroView._new=function(e){return e};var openfl_display__$internal_DrawCommandType=$hxEnums["openfl.display._internal.DrawCommandType"]={__ename__:"openfl.display._internal.DrawCommandType",__constructs__:["BEGIN_BITMAP_FILL","BEGIN_FILL","BEGIN_GRADIENT_FILL","BEGIN_SHADER_FILL","CUBIC_CURVE_TO","CURVE_TO","DRAW_CIRCLE","DRAW_ELLIPSE","DRAW_QUADS","DRAW_RECT","DRAW_ROUND_RECT","DRAW_TILES","DRAW_TRIANGLES","END_FILL","LINE_BITMAP_STYLE","LINE_GRADIENT_STYLE","LINE_STYLE","LINE_TO","MOVE_TO","OVERRIDE_BLEND_MODE","OVERRIDE_MATRIX","WINDING_EVEN_ODD","WINDING_NON_ZERO","UNKNOWN"],BEGIN_BITMAP_FILL:{_hx_index:0,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},BEGIN_FILL:{_hx_index:1,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},BEGIN_GRADIENT_FILL:{_hx_index:2,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},BEGIN_SHADER_FILL:{_hx_index:3,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},CUBIC_CURVE_TO:{_hx_index:4,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},CURVE_TO:{_hx_index:5,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_CIRCLE:{_hx_index:6,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_ELLIPSE:{_hx_index:7,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_QUADS:{_hx_index:8,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_RECT:{_hx_index:9,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_ROUND_RECT:{_hx_index:10,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_TILES:{_hx_index:11,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},DRAW_TRIANGLES:{_hx_index:12,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},END_FILL:{_hx_index:13,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},LINE_BITMAP_STYLE:{_hx_index:14,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},LINE_GRADIENT_STYLE:{_hx_index:15,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},LINE_STYLE:{_hx_index:16,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},LINE_TO:{_hx_index:17,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},MOVE_TO:{_hx_index:18,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},OVERRIDE_BLEND_MODE:{_hx_index:19,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},OVERRIDE_MATRIX:{_hx_index:20,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},WINDING_EVEN_ODD:{_hx_index:21,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},WINDING_NON_ZERO:{_hx_index:22,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr},UNKNOWN:{_hx_index:23,__enum__:"openfl.display._internal.DrawCommandType",toString:$estr}},openfl_display__$internal_PerlinNoise=function(e,t,i,l,n,s,a){null==a&&(a=.05),null==s&&(s=!1),openfl_display__$internal_AbstractNoise.call(this,e,t,i,l,n,s,a),this.p_perm=[];for(var r=0;r<512;){var _=r++;this.p_perm[_]=openfl_display__$internal_PerlinNoise.P[255&_]}this.base_factor=.03125,this.setSeed(e)};$hxClasses["openfl.display._internal.PerlinNoise"]=openfl_display__$internal_PerlinNoise,openfl_display__$internal_PerlinNoise.__name__="openfl.display._internal.PerlinNoise",openfl_display__$internal_PerlinNoise.__super__=openfl_display__$internal_AbstractNoise,openfl_display__$internal_PerlinNoise.prototype=$extend(openfl_display__$internal_AbstractNoise.prototype,{p_perm:null,x_offset:null,y_offset:null,z_offset:null,base_factor:null,fill:function(e,t,i,l){var n=e.width,s=e.height,a=this.octaves,r=this.octaves_frequencies,_=this.octaves_persistences,o=1==(1&this.channels),h=2==(2&this.channels),u=4==(4&this.channels),d=0;o&&++d,h&&++d,u&&++d;var c=this.grayscale,p=this.stitch_threshold*n|0,f=this.stitch_threshold*s|0,m=t*this.base_factor+this.x_offset;i=i*this.base_factor+this.y_offset,l=l*this.base_factor+this.z_offset;for(var x=0,g=s;x<g;){var F=x++;t=m;for(var y=0,S=n;y<S;){for(var b=y++,U=0,v=0,T=0,N=0,D=a;N<D;){var Q=N++,B=r[Q],R=_[Q];U+=this.noise(t*B,i*B,l*B)*R,c||(1<d&&(v+=this.noise((t+1)*B,(i+1)*B,l*B)*R),2<d&&(T+=this.noise((t+2)*B,(i+2)*B,l*B)*R))}var w=0;c?w=this.color(U,U,U):o&&h&&u?w=this.color(U,v,T):o&&h?w=this.color(U,v,null):o&&u?w=this.color(U,null,v):h&&u?w=this.color(null,U,v):o?w=this.color(U,null,null):h?w=this.color(null,U,null):u&&(w=this.color(null,null,U)),this.stitch&&(w=this.stitching(e,w,b,F,p,f,n,s)),e.setPixel32(b,F,w),t+=this.base_factor}i+=this.base_factor}},noise:function(e,t,i){var l=e-e%1,n=t-t%1,s=i-i%1;e-=l,t-=n,i-=s;var a=255&(0|l),r=255&(0|n),_=255&(0|s),o=this.fade(e),h=this.fade(t),u=this.fade(i),d=this.p_perm[a]+r,c=this.p_perm[d]+_,p=this.p_perm[d+1]+_,f=this.p_perm[a+1]+r,m=this.p_perm[f]+_,x=this.p_perm[f+1]+_,g=e-1,F=t-1,y=i-1,S=15&this.p_perm[x+1],b=(0==(1&S)?S<8?g:F:S<8?-g:-F)+(0==(2&S)?S<4?F:12==S?g:y:S<4?-F:14==S?-g:-y),U=(0==(1&(S=15&this.p_perm[p+1]))?S<8?e:F:S<8?-e:-F)+(0==(2&S)?S<4?F:12==S?e:y:S<4?-F:14==S?-e:-y),v=(0==(1&(S=15&this.p_perm[m+1]))?S<8?g:t:S<8?-g:-t)+(0==(2&S)?S<4?t:12==S?g:y:S<4?-t:14==S?-g:-y),T=(0==(1&(S=15&this.p_perm[c+1]))?S<8?e:t:S<8?-e:-t)+(0==(2&S)?S<4?t:12==S?e:y:S<4?-t:14==S?-e:-y),N=(0==(1&(S=15&this.p_perm[x]))?S<8?g:F:S<8?-g:-F)+(0==(2&S)?S<4?F:12==S?g:i:S<4?-F:14==S?-g:-i),D=(0==(1&(S=15&this.p_perm[p]))?S<8?e:F:S<8?-e:-F)+(0==(2&S)?S<4?F:12==S?e:i:S<4?-F:14==S?-e:-i),Q=(0==(1&(S=15&this.p_perm[m]))?S<8?g:t:S<8?-g:-t)+(0==(2&S)?S<4?t:12==S?g:i:S<4?-t:14==S?-g:-i),B=(0==(1&(S=15&this.p_perm[c]))?S<8?e:t:S<8?-e:-t)+(0==(2&S)?S<4?t:12==S?e:i:S<4?-t:14==S?-e:-i);return U+=o*(b-U),T+=o*(v-T),D+=o*(N-D),B+=o*(Q-B),T+=h*(U-T),(B+=h*(D-B))+u*(T-B)},setSeed:function(e){e=16807*e%2147483647|0,this.x_offset=e,e=16807*e%2147483647|0,this.y_offset=e,e=16807*e%2147483647|0,this.z_offset=e},__class__:openfl_display__$internal_PerlinNoise});var openfl_display__$internal_SamplerState=function(e,t,i,l,n,s,a){null==a&&(a=!1),null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=0),null==i&&(i=2),null==t&&(t=5),null==e&&(e=0),this.wrap=e,this.filter=t,this.mipfilter=i,this.lodBias=l,this.ignoreSampler=n,this.centroid=s,this.textureAlpha=a};$hxClasses["openfl.display._internal.SamplerState"]=openfl_display__$internal_SamplerState,openfl_display__$internal_SamplerState.__name__="openfl.display._internal.SamplerState",openfl_display__$internal_SamplerState.prototype={centroid:null,filter:null,ignoreSampler:null,lodBias:null,mipfilter:null,mipmapGenerated:null,textureAlpha:null,wrap:null,clone:function(){var e=new openfl_display__$internal_SamplerState(this.wrap,this.filter,this.mipfilter,this.lodBias,this.ignoreSampler,this.centroid,this.textureAlpha);return e.mipmapGenerated=this.mipmapGenerated,e},copyFrom:function(e){null==e||e.ignoreSampler||(this.wrap=e.wrap,this.filter=e.filter,this.mipfilter=e.mipfilter,this.lodBias=e.lodBias,this.centroid=e.centroid,this.textureAlpha=e.textureAlpha)},equals:function(e){return null!=e&&(this.wrap==e.wrap&&this.filter==e.filter&&this.mipfilter==e.mipfilter&&this.lodBias==e.lodBias&&this.textureAlpha==e.textureAlpha)},__class__:openfl_display__$internal_SamplerState};var openfl_display__$internal_ShaderBuffer=function(){this.inputRefs=[],this.inputFilter=[],this.inputMipFilter=[],this.inputs=[],this.inputWrap=[],this.overrideIntNames=[],this.overrideIntValues=[],this.overrideFloatNames=[],this.overrideFloatValues=[],this.overrideBoolNames=[],this.overrideBoolValues=[],this.paramLengths=[],this.paramPositions=[],this.paramRefs_Bool=[],this.paramRefs_Float=[],this.paramRefs_Int=[],this.paramTypes=[]};$hxClasses["openfl.display._internal.ShaderBuffer"]=openfl_display__$internal_ShaderBuffer,openfl_display__$internal_ShaderBuffer.__name__="openfl.display._internal.ShaderBuffer",openfl_display__$internal_ShaderBuffer.prototype={inputCount:null,inputRefs:null,inputFilter:null,inputMipFilter:null,inputs:null,inputWrap:null,overrideBoolCount:null,overrideBoolNames:null,overrideBoolValues:null,overrideFloatCount:null,overrideFloatNames:null,overrideFloatValues:null,overrideIntCount:null,overrideIntNames:null,overrideIntValues:null,paramBoolCount:null,paramCount:null,paramData:null,paramDataBuffer:null,paramDataLength:null,paramFloatCount:null,paramIntCount:null,paramLengths:null,paramPositions:null,paramRefs_Bool:null,paramRefs_Float:null,paramRefs_Int:null,paramTypes:null,shader:null,addBoolOverride:function(e,t){this.overrideBoolNames[this.overrideBoolCount]=e,this.overrideBoolValues[this.overrideBoolCount]=t,this.overrideBoolCount++},addFloatOverride:function(e,t){this.overrideFloatNames[this.overrideFloatCount]=e,this.overrideFloatValues[this.overrideFloatCount]=t,this.overrideFloatCount++},addIntOverride:function(e,t){this.overrideIntNames[this.overrideIntCount]=e,this.overrideIntValues[this.overrideIntCount]=t,this.overrideIntCount++},clearOverride:function(){this.overrideIntCount=0,this.overrideFloatCount=0,this.overrideBoolCount=0},update:function(e){if(this.inputCount=0,this.overrideIntCount=0,this.overrideFloatCount=0,this.overrideBoolCount=0,this.paramBoolCount=0,this.paramCount=0,this.paramDataLength=0,this.paramFloatCount=0,this.paramIntCount=0,this.shader=null,null!=e){e.__init(),this.inputCount=e.__inputBitmapData.length;for(var t,i=0,l=this.inputCount;i<l;){T=i++;t=e.__inputBitmapData[T],this.inputs[T]=t.input,this.inputFilter[T]=t.filter,this.inputMipFilter[T]=t.mipFilter,this.inputRefs[T]=t,this.inputWrap[T]=t.wrap}var n=e.__paramBool.length,s=e.__paramFloat.length,a=e.__paramInt.length;this.paramCount=n+s+a,this.paramBoolCount=n,this.paramFloatCount=s,this.paramIntCount=a;for(var r=0,_=0,i=0,l=n;i<l;){T=i++;o=e.__paramBool[T],this.paramPositions[_]=this.paramDataLength,r=null!=o.value?o.value.length:0,this.paramLengths[_]=r,this.paramDataLength+=r,this.paramTypes[_]=0,this.paramRefs_Bool[T]=o,++_}for(var i=0,l=s;i<l;){T=i++;o=e.__paramFloat[T],this.paramPositions[_]=this.paramDataLength,r=null!=o.value?o.value.length:0,this.paramLengths[_]=r,this.paramDataLength+=r,this.paramTypes[_]=1,this.paramRefs_Float[T]=o,++_}for(var o,i=0,l=a;i<l;){T=i++;o=e.__paramInt[T],this.paramPositions[_]=this.paramDataLength,r=null!=o.value?o.value.length:0,this.paramLengths[_]=r,this.paramDataLength+=r,this.paramTypes[_]=2,this.paramRefs_Int[T]=o,++_}if(this.paramDataLength>0)if(null==this.paramData){var h=null,u=null,d=null,c=null,p=null;f=null!=(m=this.paramDataLength)?new Float32Array(m):null!=h?new Float32Array(h):null!=u?new Float32Array(u.__array):null!=d?new Float32Array(d):null!=c?null==p?new Float32Array(c,0):new Float32Array(c,0,p):null,this.paramData=f}else if(this.paramDataLength>this.paramData.length){var f,m=this.paramDataLength,h=null,u=null,d=null,c=null,p=null,x=f=null!=m?new Float32Array(m):null!=h?new Float32Array(h):null!=u?new Float32Array(u.__array):null!=d?new Float32Array(d):null!=c?null==p?new Float32Array(c,0):new Float32Array(c,0,p):null;x.set(this.paramData),this.paramData=x}for(var g,F,y,S=0,b=0,U=0,v=0,i=0,l=this.paramCount;i<l;){var T=i++;if(r=this.paramLengths[T],T<n){g=this.paramRefs_Bool[S],++S;for(var N=0,D=r;N<D;){var Q=N++;this.paramData[v]=g.value[Q]?1:0,++v}}else if(T<n+s){F=this.paramRefs_Float[b],++b;for(var B=0,R=r;B<R;){var w=B++;this.paramData[v]=F.value[w],++v}}else{y=this.paramRefs_Int[U],++U;for(var E=0,k=r;E<k;){var W=E++;this.paramData[v]=y.value[W],++v}}}this.shader=e}},__class__:openfl_display__$internal_ShaderBuffer};var openfl_display3D_Context3D=function(e,t,i){this.profile=3,this.driverInfo="OpenGL (Direct blitting)",this.backBufferWidth=0,this.backBufferHeight=0,openfl_events_EventDispatcher.call(this),this.__stage=e,this.__contextState=t,this.__stage3D=i,this.__context=e.window.context,this.gl=this.__context.webgl,null==this.__contextState&&(this.__contextState=new openfl_display3D__$internal_Context3DState),this.__state=new openfl_display3D__$internal_Context3DState;var l=null,n=null,s=null,a=null,r=null,_=new Float32Array(512);this.__vertexConstants=_;var l=null,n=null,s=null,a=null,r=null,_=new Float32Array(512);this.__fragmentConstants=_;var o=null,l=[1,1,1,1],n=null,s=null,a=null,r=null;if(_=null!=o?new Float32Array(o):null!=l?new Float32Array(l):null!=n?new Float32Array(n.__array):null!=s?new Float32Array(s):null!=a?null==r?new Float32Array(a,0):new Float32Array(a,0,r):null,this.__positionScale=_,this.__programs=new haxe_ds_StringMap,-1==openfl_display3D_Context3D.__glMaxViewportDims&&(openfl_display3D_Context3D.__glMaxViewportDims=this.gl.getParameter(this.gl.MAX_VIEWPORT_DIMS)),this.maxBackBufferWidth=openfl_display3D_Context3D.__glMaxViewportDims,this.maxBackBufferHeight=openfl_display3D_Context3D.__glMaxViewportDims,-1==openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy&&(null!=(h=this.gl.getExtension("EXT_texture_filter_anisotropic"))&&Object.prototype.hasOwnProperty.call(h,"MAX_TEXTURE_MAX_ANISOTROPY_EXT")||(h=this.gl.getExtension("MOZ_EXT_texture_filter_anisotropic")),null!=h&&Object.prototype.hasOwnProperty.call(h,"MAX_TEXTURE_MAX_ANISOTROPY_EXT")||(h=this.gl.getExtension("WEBKIT_EXT_texture_filter_anisotropic")),null!=h?(openfl_display3D_Context3D.__glTextureMaxAnisotropy=h.TEXTURE_MAX_ANISOTROPY_EXT,openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy=this.gl.getParameter(h.MAX_TEXTURE_MAX_ANISOTROPY_EXT)):(openfl_display3D_Context3D.__glTextureMaxAnisotropy=0,openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy=0)),-1==openfl_display3D_Context3D.__glDepthStencil&&(openfl_display3D_Context3D.__glDepthStencil=this.gl.DEPTH_STENCIL),-1==openfl_display3D_Context3D.__glMemoryTotalAvailable){var h=this.gl.getExtension("NVX_gpu_memory_info");null!=h&&(openfl_display3D_Context3D.__glMemoryTotalAvailable=h.GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX,openfl_display3D_Context3D.__glMemoryCurrentAvailable=h.GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX)}if(null==openfl_display3D_Context3D.__driverInfo){var u=this.gl.getParameter(this.gl.VENDOR),d=this.gl.getParameter(this.gl.VERSION),c=this.gl.getParameter(this.gl.RENDERER),p=this.gl.getParameter(this.gl.SHADING_LANGUAGE_VERSION);openfl_display3D_Context3D.__driverInfo="OpenGL Vendor="+u+" Version="+d+" Renderer="+c+" GLSL="+p}this.driverInfo=openfl_display3D_Context3D.__driverInfo,this.__quadIndexBufferElements=16383,this.__quadIndexBufferCount=6*this.__quadIndexBufferElements;for(var l=null,n=null,s=null,a=null,r=null,f=_=null!=(o=this.__quadIndexBufferCount)?new Uint16Array(o):null!=l?new Uint16Array(l):null!=n?new Uint16Array(n.__array):null!=s?new Uint16Array(s):null!=a?null==r?new Uint16Array(a,0):new Uint16Array(a,0,r):null,m=0,x=0,g=0,F=this.__quadIndexBufferElements;g<F;){g++;f[m]=x,f[m+1]=x+1,f[m+2]=x+2,f[m+3]=x+2,f[m+4]=x+1,f[m+5]=x+3,m+=6,x+=4}this.__quadIndexBuffer=this.createIndexBuffer(this.__quadIndexBufferCount),this.__quadIndexBuffer.uploadFromTypedArray(f)};$hxClasses["openfl.display3D.Context3D"]=openfl_display3D_Context3D,openfl_display3D_Context3D.__name__="openfl.display3D.Context3D",openfl_display3D_Context3D.__driverInfo=null,openfl_display3D_Context3D.__super__=openfl_events_EventDispatcher,openfl_display3D_Context3D.prototype=$extend(openfl_events_EventDispatcher.prototype,{backBufferHeight:null,backBufferWidth:null,driverInfo:null,maxBackBufferHeight:null,maxBackBufferWidth:null,profile:null,gl:null,__backBufferAntiAlias:null,__backBufferTexture:null,__backBufferWantsBestResolution:null,__backBufferWantsBestResolutionOnBrowserZoom:null,__cleared:null,__context:null,__contextState:null,__renderStage3DProgram:null,__enableErrorChecking:null,__fragmentConstants:null,__frontBufferTexture:null,__positionScale:null,__present:null,__programs:null,__quadIndexBuffer:null,__quadIndexBufferCount:null,__quadIndexBufferElements:null,__stage:null,__stage3D:null,__state:null,__vertexConstants:null,clear:function(e,t,i,l,n,s,a){null==a&&(a=7),null==s&&(s=0),null==n&&(n=1),null==l&&(l=1),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.__flushGLFramebuffer(),this.__flushGLViewport();var r=0;0!=(1&a)&&(null==this.__state.renderToTexture&&(this.__stage.context3D!=this||this.__stage.__renderer.__cleared||(this.__stage.__renderer.__cleared=!0),this.__cleared=!0),r|=this.gl.COLOR_BUFFER_BIT,1==this.__contextState.colorMaskRed&&1==this.__contextState.colorMaskGreen&&1==this.__contextState.colorMaskBlue&&1==this.__contextState.colorMaskAlpha||(this.gl.colorMask(!0,!0,!0,!0),this.__contextState.colorMaskRed=!0,this.__contextState.colorMaskGreen=!0,this.__contextState.colorMaskBlue=!0,this.__contextState.colorMaskAlpha=!0),this.gl.clearColor(e,t,i,l)),0!=(2&a)&&(r|=this.gl.DEPTH_BUFFER_BIT,1!=this.__contextState.depthMask&&(this.gl.depthMask(!0),this.__contextState.depthMask=!0),this.gl.clearDepth(n)),0!=(4&a)&&(r|=this.gl.STENCIL_BUFFER_BIT,255!=this.__contextState.stencilWriteMask&&(this.gl.stencilMask(255),this.__contextState.stencilWriteMask=255),this.gl.clearStencil(s),this.__contextState.stencilWriteMask=255),0!=r&&(this.__setGLScissorTest(!1),this.gl.clear(r))},configureBackBuffer:function(e,t,i,l,n,s){if(null==s&&(s=!1),null==n&&(n=!1),null==l&&(l=!0),null==this.__stage3D)this.backBufferWidth=e,this.backBufferHeight=t,this.__backBufferAntiAlias=i,this.__state.backBufferEnableDepthAndStencil=l,this.__backBufferWantsBestResolution=n,this.__backBufferWantsBestResolutionOnBrowserZoom=s;else{if(null==this.__backBufferTexture||this.backBufferWidth!=e||this.backBufferHeight!=t){null!=this.__backBufferTexture&&this.__backBufferTexture.dispose(),null!=this.__frontBufferTexture&&this.__frontBufferTexture.dispose(),this.__backBufferTexture=this.createRectangleTexture(e,t,1,!0),this.__frontBufferTexture=this.createRectangleTexture(e,t,1,!0),null==this.__stage3D.__vertexBuffer&&(this.__stage3D.__vertexBuffer=this.createVertexBuffer(4,5));var a=openfl_Vector.toFloatVector(null,null,null,[e,t,0,1,1,0,t,0,0,1,e,0,0,1,0,0,0,0,0,0]);if(this.__stage3D.__vertexBuffer.uploadFromVector(a,0,20),null==this.__stage3D.__indexBuffer){this.__stage3D.__indexBuffer=this.createIndexBuffer(6);var r=openfl_Vector.toIntVector(null,null,null,[0,1,2,2,1,3]);this.__stage3D.__indexBuffer.uploadFromVector(r,0,6)}}this.backBufferWidth=e,this.backBufferHeight=t,this.__backBufferAntiAlias=i,this.__state.backBufferEnableDepthAndStencil=l,this.__backBufferWantsBestResolution=n,this.__backBufferWantsBestResolutionOnBrowserZoom=s,this.__state.__primaryGLFramebuffer=this.__backBufferTexture.__getGLFramebuffer(l,i,0),this.__frontBufferTexture.__getGLFramebuffer(l,i,0)}},createCubeTexture:function(e,t,i,l){return null==l&&(l=0),new openfl_display3D_textures_CubeTexture(this,e,t,i,l)},createIndexBuffer:function(e,t){return null==t&&(t=1),new openfl_display3D_IndexBuffer3D(this,e,t)},createProgram:function(e){return null==e&&(e=0),new openfl_display3D_Program3D(this,e)},createRectangleTexture:function(e,t,i,l){return new openfl_display3D_textures_RectangleTexture(this,e,t,openfl_display3D_Context3DTextureFormat.toString(i),l)},createTexture:function(e,t,i,l,n){return null==n&&(n=0),new openfl_display3D_textures_Texture(this,e,t,i,l,n)},createVertexBuffer:function(e,t,i){return null==i&&(i=1),new openfl_display3D_VertexBuffer3D(this,e,t,openfl_display3D_Context3DBufferUsage.toString(i))},createVideoTexture:function(){return new openfl_display3D_textures_VideoTexture(this)},dispose:function(e){null==e&&(e=!0),this.gl=null,this.__dispose()},drawToBitmapData:function(e,t,i){if(null!=e){var l=null!=t?t.__toLimeRectangle():new lime_math_Rectangle(0,0,this.backBufferWidth,this.backBufferHeight),n=null!=i?i.__toLimeVector2():new lime_math_Vector2;if(this.__stage.context3D==this){if(null!=this.__stage.window){if(null!=this.__stage3D){var s=0|-this.__stage3D.get_x(),a=0|-this.__stage3D.get_y();n.x=s,n.y=a}m=this.__stage.window.readPixels();e.image.copyPixels(m,l,n)}}else if(null!=this.__backBufferTexture){var r=this.__state.renderToTexture;this.setRenderToBackBuffer(),this.__flushGLFramebuffer(),this.__flushGLViewport();var _=this.backBufferWidth*this.backBufferHeight*4,o=h=null!=_?new Uint8Array(_):null,h=this.gl,u=this.backBufferWidth,d=this.backBufferHeight,c=this.__backBufferTexture.__format,p=this.gl.UNSIGNED_BYTE,f=o;h.readPixels(0,0,u,d,c,p,f);var m=new lime_graphics_Image(new lime_graphics_ImageBuffer(o,this.backBufferWidth,this.backBufferHeight,32,2));e.image.copyPixels(m,l,n),null!=r&&this.setRenderToTexture(r,this.__state.renderToTextureDepthStencil,this.__state.renderToTextureAntiAlias,this.__state.renderToTextureSurfaceSelector)}}},drawTriangles:function(e,t,i){null==i&&(i=-1),null==t&&(t=0),null==this.__state.renderToTexture&&(this.__stage.context3D!=this||this.__stage.__renderer.__cleared?this.__cleared||this.clear(0,0,0,0,1,0,1):this.__stage.__renderer.__clear()),this.__flushGL(),null!=this.__state.program&&this.__state.program.__flush();var l=-1==i?e.__numIndices:3*i;this.__bindGLElementArrayBuffer(e.__id),this.gl.drawElements(this.gl.TRIANGLES,l,this.gl.UNSIGNED_SHORT,2*t)},present:function(){if(this.setRenderToBackBuffer(),null!=this.__stage3D&&null!=this.__backBufferTexture){this.__cleared||this.clear(0,0,0,0,1,0,1);var e=this.__backBufferTexture;this.__backBufferTexture=this.__frontBufferTexture,this.__frontBufferTexture=e,this.__state.__primaryGLFramebuffer=this.__backBufferTexture.__getGLFramebuffer(this.__state.backBufferEnableDepthAndStencil,this.__backBufferAntiAlias,0),this.__cleared=!1}this.__present=!0},setBlendFactors:function(e,t){this.setBlendFactorsSeparate(e,t,e,t)},setBlendFactorsSeparate:function(e,t,i,l){this.__state.blendSourceRGBFactor=e,this.__state.blendDestinationRGBFactor=t,this.__state.blendSourceAlphaFactor=i,this.__state.blendDestinationAlphaFactor=l,this.__setGLBlendEquation(this.gl.FUNC_ADD)},setColorMask:function(e,t,i,l){this.__state.colorMaskRed=e,this.__state.colorMaskGreen=t,this.__state.colorMaskBlue=i,this.__state.colorMaskAlpha=l},setCulling:function(e){this.__state.culling=e},setDepthTest:function(e,t){this.__state.depthMask=e,this.__state.depthCompareMode=t},setProgram:function(e){if(this.__state.program=e,this.__state.shader=null,null!=e)for(var t=0,i=e.__samplerStates.length;t<i;){var l=t++;null==this.__state.samplerStates[l]?this.__state.samplerStates[l]=e.__samplerStates[l].clone():this.__state.samplerStates[l].copyFrom(e.__samplerStates[l])}},setProgramConstantsFromByteArray:function(e,t,i,l,n){if(0!=i&&null!=this.__state.program&&(null==this.__state.program||1!=this.__state.program.__format)){-1==i&&(i=(openfl_utils_ByteArray.get_length(l)>>>2)-n);var s=1==e,a=s?this.__vertexConstants:this.__fragmentConstants,r=openfl_utils_ByteArray.toBytes(l),_=0,o=openfl_utils_ByteArray.get_length(l);null==_&&(_=0);for(var h=null==_?new Float32Array(r.b.bufferValue):null==o?new Float32Array(r.b.bufferValue,_):new Float32Array(r.b.bufferValue,_,o),u=4*t,d=UInt.toFloat(n)/UInt.toFloat(4)|0,c=0,p=4*i;c<p;){var f=c++;a[u+f]=h[d+f]}null!=this.__state.program&&this.__state.program.__markDirty(s,t,i)}},setProgramConstantsFromMatrix:function(e,t,i,l){if(null==l&&(l=!1),null!=this.__state.program&&1==this.__state.program.__format){this.__flushGLProgram();var n=new Float32Array(16);n[0]=i.rawData.get(0),n[1]=i.rawData.get(1),n[2]=i.rawData.get(2),n[3]=i.rawData.get(3),n[4]=i.rawData.get(4),n[5]=i.rawData.get(5),n[6]=i.rawData.get(6),n[7]=i.rawData.get(7),n[8]=i.rawData.get(8),n[9]=i.rawData.get(9),n[10]=i.rawData.get(10),n[11]=i.rawData.get(11),n[12]=i.rawData.get(12),n[13]=i.rawData.get(13),n[14]=i.rawData.get(14),n[15]=i.rawData.get(15),lime_graphics_WebGLRenderContext.uniformMatrix4fv(this.gl,t,l,n)}else{var s=1==e,a=s?this.__vertexConstants:this.__fragmentConstants,r=i.rawData,_=4*t;l?(a[_++]=r.get(0),a[_++]=r.get(4),a[_++]=r.get(8),a[_++]=r.get(12),a[_++]=r.get(1),a[_++]=r.get(5),a[_++]=r.get(9),a[_++]=r.get(13),a[_++]=r.get(2),a[_++]=r.get(6),a[_++]=r.get(10),a[_++]=r.get(14),a[_++]=r.get(3),a[_++]=r.get(7),a[_++]=r.get(11),a[_++]=r.get(15)):(a[_++]=r.get(0),a[_++]=r.get(1),a[_++]=r.get(2),a[_++]=r.get(3),a[_++]=r.get(4),a[_++]=r.get(5),a[_++]=r.get(6),a[_++]=r.get(7),a[_++]=r.get(8),a[_++]=r.get(9),a[_++]=r.get(10),a[_++]=r.get(11),a[_++]=r.get(12),a[_++]=r.get(13),a[_++]=r.get(14),a[_++]=r.get(15)),null!=this.__state.program&&this.__state.program.__markDirty(s,t,4)}},setProgramConstantsFromVector:function(e,t,i,l){if(null==l&&(l=-1),0!=l&&(null==this.__state.program||1!=this.__state.program.__format)){-1==l&&(l=i.get_length()>>2);for(var n=1==e,s=n?this.__vertexConstants:this.__fragmentConstants,a=i,r=0,_=4*t,o=0,h=l;o<h;){o++;s[_++]=a.get(r++),s[_++]=a.get(r++),s[_++]=a.get(r++),s[_++]=a.get(r++)}null!=this.__state.program&&this.__state.program.__markDirty(n,t,l)}},setRenderToBackBuffer:function(){this.__state.renderToTexture=null},setRenderToTexture:function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=!1),this.__state.renderToTexture=e,this.__state.renderToTextureDepthStencil=t,this.__state.renderToTextureAntiAlias=i,this.__state.renderToTextureSurfaceSelector=l},setSamplerStateAt:function(e,t,i,l){null==this.__state.samplerStates[e]&&(this.__state.samplerStates[e]=new openfl_display__$internal_SamplerState);var n=this.__state.samplerStates[e];n.wrap=t,n.filter=i,n.mipfilter=l},setScissorRectangle:function(e){null!=e?(this.__state.scissorEnabled=!0,this.__state.scissorRectangle.copyFrom(e)):this.__state.scissorEnabled=!1},setStencilActions:function(e,t,i,l,n){null==n&&(n=5),null==l&&(l=5),null==i&&(i=5),null==t&&(t=0),null==e&&(e=2),this.__state.stencilTriangleFace=e,this.__state.stencilCompareMode=t,this.__state.stencilPass=i,this.__state.stencilDepthFail=l,this.__state.stencilFail=n},setStencilReferenceValue:function(e,t,i){null==i&&(i=255),null==t&&(t=255),this.__state.stencilReferenceValue=e,this.__state.stencilReadMask=t,this.__state.stencilWriteMask=i},setTextureAt:function(e,t){this.__state.textures[e]=t},setVertexBufferAt:function(e,t,i,l){if(null==l&&(l=4),null==i&&(i=0),null==t)return this.gl.disableVertexAttribArray(e),void this.__bindGLArrayBuffer(null);this.__bindGLArrayBuffer(t.__id),this.gl.enableVertexAttribArray(e);var n=4*i;switch(l){case 0:this.gl.vertexAttribPointer(e,4,this.gl.UNSIGNED_BYTE,!0,t.__stride,n);break;case 1:this.gl.vertexAttribPointer(e,1,this.gl.FLOAT,!1,t.__stride,n);break;case 2:this.gl.vertexAttribPointer(e,2,this.gl.FLOAT,!1,t.__stride,n);break;case 3:this.gl.vertexAttribPointer(e,3,this.gl.FLOAT,!1,t.__stride,n);break;case 4:this.gl.vertexAttribPointer(e,4,this.gl.FLOAT,!1,t.__stride,n);break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}},__bindGLArrayBuffer:function(e){this.__contextState.__currentGLArrayBuffer!=e&&(this.gl.bindBuffer(this.gl.ARRAY_BUFFER,e),this.__contextState.__currentGLArrayBuffer=e)},__bindGLElementArrayBuffer:function(e){this.__contextState.__currentGLElementArrayBuffer!=e&&(this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,e),this.__contextState.__currentGLElementArrayBuffer=e)},__bindGLFramebuffer:function(e){this.__contextState.__currentGLFramebuffer!=e&&(this.gl.bindFramebuffer(this.gl.FRAMEBUFFER,e),this.__contextState.__currentGLFramebuffer=e)},__bindGLTexture2D:function(e){this.gl.bindTexture(this.gl.TEXTURE_2D,e),this.__contextState.__currentGLTexture2D=e},__bindGLTextureCubeMap:function(e){this.gl.bindTexture(this.gl.TEXTURE_CUBE_MAP,e),this.__contextState.__currentGLTextureCubeMap=e},__dispose:function(){this.driverInfo+=" (Disposed)",null!=this.__stage3D&&(this.__stage3D.__indexBuffer=null,this.__stage3D.__vertexBuffer=null,this.__stage3D.context3D=null,this.__stage3D=null),this.__backBufferTexture=null,this.__context=null,this.__renderStage3DProgram=null,this.__fragmentConstants=null,this.__frontBufferTexture=null,this.__positionScale=null,this.__present=!1,this.__quadIndexBuffer=null,this.__stage=null,this.__vertexConstants=null},__drawTriangles:function(e,t){null==e&&(e=0),null==this.__state.renderToTexture&&(this.__stage.context3D!=this||this.__stage.__renderer.__cleared?this.__cleared||this.clear(0,0,0,0,1,0,1):this.__stage.__renderer.__clear()),this.__flushGL(),null!=this.__state.program&&this.__state.program.__flush(),this.gl.drawArrays(this.gl.TRIANGLES,e,t)},__flushGL:function(){this.__flushGLProgram(),this.__flushGLFramebuffer(),this.__flushGLViewport(),this.__flushGLBlend(),this.__contextState.colorMaskRed==this.__state.colorMaskRed&&this.__contextState.colorMaskGreen==this.__state.colorMaskGreen&&this.__contextState.colorMaskBlue==this.__state.colorMaskBlue&&this.__contextState.colorMaskAlpha==this.__state.colorMaskAlpha||(this.gl.colorMask(this.__state.colorMaskRed,this.__state.colorMaskGreen,this.__state.colorMaskBlue,this.__state.colorMaskAlpha),this.__contextState.colorMaskRed=this.__state.colorMaskRed,this.__contextState.colorMaskGreen=this.__state.colorMaskGreen,this.__contextState.colorMaskBlue=this.__state.colorMaskBlue,this.__contextState.colorMaskAlpha=this.__state.colorMaskAlpha),this.__flushGLCulling(),this.__flushGLDepth(),this.__flushGLScissor(),this.__flushGLStencil(),this.__flushGLTextures()},__flushGLBlend:function(){this.__contextState.blendDestinationRGBFactor==this.__state.blendDestinationRGBFactor&&this.__contextState.blendSourceRGBFactor==this.__state.blendSourceRGBFactor&&this.__contextState.blendDestinationAlphaFactor==this.__state.blendDestinationAlphaFactor&&this.__contextState.blendSourceAlphaFactor==this.__state.blendSourceAlphaFactor||(this.__setGLBlend(!0),this.__state.blendDestinationRGBFactor==this.__state.blendDestinationAlphaFactor&&this.__state.blendSourceRGBFactor==this.__state.blendSourceAlphaFactor?this.gl.blendFunc(this.__getGLBlend(this.__state.blendSourceRGBFactor),this.__getGLBlend(this.__state.blendDestinationRGBFactor)):this.gl.blendFuncSeparate(this.__getGLBlend(this.__state.blendSourceRGBFactor),this.__getGLBlend(this.__state.blendDestinationRGBFactor),this.__getGLBlend(this.__state.blendSourceAlphaFactor),this.__getGLBlend(this.__state.blendDestinationAlphaFactor)),this.__contextState.blendDestinationRGBFactor=this.__state.blendDestinationRGBFactor,this.__contextState.blendSourceRGBFactor=this.__state.blendSourceRGBFactor,this.__contextState.blendDestinationAlphaFactor=this.__state.blendDestinationAlphaFactor,this.__contextState.blendSourceAlphaFactor=this.__state.blendSourceAlphaFactor)},__flushGLColor:function(){this.__contextState.colorMaskRed==this.__state.colorMaskRed&&this.__contextState.colorMaskGreen==this.__state.colorMaskGreen&&this.__contextState.colorMaskBlue==this.__state.colorMaskBlue&&this.__contextState.colorMaskAlpha==this.__state.colorMaskAlpha||(this.gl.colorMask(this.__state.colorMaskRed,this.__state.colorMaskGreen,this.__state.colorMaskBlue,this.__state.colorMaskAlpha),this.__contextState.colorMaskRed=this.__state.colorMaskRed,this.__contextState.colorMaskGreen=this.__state.colorMaskGreen,this.__contextState.colorMaskBlue=this.__state.colorMaskBlue,this.__contextState.colorMaskAlpha=this.__state.colorMaskAlpha)},__flushGLCulling:function(){if(this.__contextState.culling!=this.__state.culling){if(3==this.__state.culling)this.__setGLCullFace(!1);else switch(this.__setGLCullFace(!0),this.__state.culling){case 0:this.gl.cullFace(this.gl.BACK);break;case 1:this.gl.cullFace(this.gl.FRONT);break;case 2:this.gl.cullFace(this.gl.FRONT_AND_BACK);break;case 3:break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}this.__contextState.culling=this.__state.culling}},__flushGLDepth:function(){var e=this.__state.depthMask&&(null!=this.__state.renderToTexture?this.__state.renderToTextureDepthStencil:this.__state.backBufferEnableDepthAndStencil);if(this.__contextState.depthMask!=e&&(this.gl.depthMask(e),this.__contextState.depthMask=e),this.__contextState.depthCompareMode!=this.__state.depthCompareMode){switch(this.__state.depthCompareMode){case 0:this.gl.depthFunc(this.gl.ALWAYS);break;case 1:this.gl.depthFunc(this.gl.EQUAL);break;case 2:this.gl.depthFunc(this.gl.GREATER);break;case 3:this.gl.depthFunc(this.gl.GEQUAL);break;case 4:this.gl.depthFunc(this.gl.LESS);break;case 5:this.gl.depthFunc(this.gl.LEQUAL);break;case 6:this.gl.depthFunc(this.gl.NEVER);break;case 7:this.gl.depthFunc(this.gl.NOTEQUAL);break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}this.__contextState.depthCompareMode=this.__state.depthCompareMode}},__flushGLFramebuffer:function(){if(null!=this.__state.renderToTexture){if(this.__contextState.renderToTexture!=this.__state.renderToTexture||this.__contextState.renderToTextureSurfaceSelector!=this.__state.renderToTextureSurfaceSelector){var e=this.__state.renderToTexture.__getGLFramebuffer(this.__state.renderToTextureDepthStencil,this.__state.renderToTextureAntiAlias,this.__state.renderToTextureSurfaceSelector);this.__bindGLFramebuffer(e),this.__contextState.renderToTexture=this.__state.renderToTexture,this.__contextState.renderToTextureAntiAlias=this.__state.renderToTextureAntiAlias,this.__contextState.renderToTextureDepthStencil=this.__state.renderToTextureDepthStencil,this.__contextState.renderToTextureSurfaceSelector=this.__state.renderToTextureSurfaceSelector}this.__setGLDepthTest(this.__state.renderToTextureDepthStencil),this.__setGLStencilTest(this.__state.renderToTextureDepthStencil),this.__setGLFrontFace(!0)}else{if(null==this.__stage&&0==this.backBufferWidth&&0==this.backBufferHeight)throw haxe_Exception.thrown(new openfl_errors_Error("Context3D backbuffer has not been configured"));null==this.__contextState.renderToTexture&&this.__contextState.__currentGLFramebuffer==this.__state.__primaryGLFramebuffer&&this.__contextState.backBufferEnableDepthAndStencil==this.__state.backBufferEnableDepthAndStencil||(this.__bindGLFramebuffer(this.__state.__primaryGLFramebuffer),this.__contextState.renderToTexture=null,this.__contextState.backBufferEnableDepthAndStencil=this.__state.backBufferEnableDepthAndStencil),this.__setGLDepthTest(this.__state.backBufferEnableDepthAndStencil),this.__setGLStencilTest(this.__state.backBufferEnableDepthAndStencil),this.__setGLFrontFace(this.__stage.context3D!=this)}},__flushGLProgram:function(){var e=this.__state.shader,t=this.__state.program;this.__contextState.shader!=e&&(null!=this.__contextState.shader&&this.__contextState.shader.__disable(),null!=e&&e.__enable(),this.__contextState.shader=e),this.__contextState.program!=t&&(null!=this.__contextState.program&&this.__contextState.program.__disable(),null!=t&&t.__enable(),this.__contextState.program=t),null!=t&&0==t.__format&&(this.__positionScale[1]=this.__stage.context3D==this&&null==this.__state.renderToTexture?1:-1,t.__setPositionScale(this.__positionScale))},__flushGLScissor:function(){if(this.__state.scissorEnabled){this.__setGLScissorTest(!0),this.__contextState.scissorEnabled=!0;var e=0|this.__state.scissorRectangle.x,t=0|this.__state.scissorRectangle.y,i=0|this.__state.scissorRectangle.width,l=0|this.__state.scissorRectangle.height;null==this.__state.renderToTexture&&null==this.__stage3D&&(t=(this.__stage.window.__height*this.__stage.window.__scale|0)-(0|this.__state.scissorRectangle.height)-t),this.__contextState.scissorRectangle.x==e&&this.__contextState.scissorRectangle.y==t&&this.__contextState.scissorRectangle.width==i&&this.__contextState.scissorRectangle.height==l||(this.gl.scissor(e,t,i,l),this.__contextState.scissorRectangle.setTo(e,t,i,l))}else this.__contextState.scissorEnabled!=this.__state.scissorEnabled&&(this.__setGLScissorTest(!1),this.__contextState.scissorEnabled=!1)},__flushGLStencil:function(){this.__contextState.stencilTriangleFace==this.__state.stencilTriangleFace&&this.__contextState.stencilPass==this.__state.stencilPass&&this.__contextState.stencilDepthFail==this.__state.stencilDepthFail&&this.__contextState.stencilFail==this.__state.stencilFail||(this.gl.stencilOpSeparate(this.__getGLTriangleFace(this.__state.stencilTriangleFace),this.__getGLStencilAction(this.__state.stencilFail),this.__getGLStencilAction(this.__state.stencilDepthFail),this.__getGLStencilAction(this.__state.stencilPass)),this.__contextState.stencilTriangleFace=this.__state.stencilTriangleFace,this.__contextState.stencilPass=this.__state.stencilPass,this.__contextState.stencilDepthFail=this.__state.stencilDepthFail,this.__contextState.stencilFail=this.__state.stencilFail),this.__contextState.stencilWriteMask!=this.__state.stencilWriteMask&&(this.gl.stencilMask(this.__state.stencilWriteMask),this.__contextState.stencilWriteMask=this.__state.stencilWriteMask),this.__contextState.stencilCompareMode==this.__state.stencilCompareMode&&this.__contextState.stencilReferenceValue==this.__state.stencilReferenceValue&&this.__contextState.stencilReadMask==this.__state.stencilReadMask||(this.gl.stencilFunc(this.__getGLCompareMode(this.__state.stencilCompareMode),this.__state.stencilReferenceValue,this.__state.stencilReadMask),this.__contextState.stencilCompareMode=this.__state.stencilCompareMode,this.__contextState.stencilReferenceValue=this.__state.stencilReferenceValue,this.__contextState.stencilReadMask=this.__state.stencilReadMask)},__flushGLTextures:function(){for(var e,t,i=0,l=0,n=this.__state.textures.length;l<n;){var s=l++;e=this.__state.textures[s],null==(t=this.__state.samplerStates[s])&&(this.__state.samplerStates[s]=new openfl_display__$internal_SamplerState,t=this.__state.samplerStates[s]),this.gl.activeTexture(this.gl.TEXTURE0+i),null!=e?(e.__textureTarget==this.gl.TEXTURE_2D?this.__bindGLTexture2D(e.__getTexture()):this.__bindGLTextureCubeMap(e.__getTexture()),this.__contextState.textures[s]=e,e.__setSamplerState(t)):this.__bindGLTexture2D(null),null!=this.__state.program&&0==this.__state.program.__format&&t.textureAlpha&&(this.gl.activeTexture(this.gl.TEXTURE0+i+4),null!=e&&null!=e.__alphaTexture?(e.__alphaTexture.__textureTarget==this.gl.TEXTURE_2D?this.__bindGLTexture2D(e.__alphaTexture.__getTexture()):this.__bindGLTextureCubeMap(e.__alphaTexture.__getTexture()),e.__alphaTexture.__setSamplerState(t),this.gl.uniform1i(this.__state.program.__agalAlphaSamplerEnabled[i].location,1)):(this.__bindGLTexture2D(null),null!=this.__state.program.__agalAlphaSamplerEnabled[i]&&this.gl.uniform1i(this.__state.program.__agalAlphaSamplerEnabled[i].location,0))),++i}},__flushGLViewport:function(){if(null==this.__state.renderToTexture)if(this.__stage.context3D==this){var e=null==this.__stage3D?0:0|this.__stage3D.get_x(),t=this.__stage.window.__height*this.__stage.window.__scale-this.backBufferHeight-(null==this.__stage3D?0:this.__stage3D.get_y())|0;this.gl.viewport(e,t,this.backBufferWidth,this.backBufferHeight)}else this.gl.viewport(0,0,this.backBufferWidth,this.backBufferHeight);else{var i=0,l=0;if(this.__state.renderToTexture instanceof openfl_display3D_textures_Texture){var n=this.__state.renderToTexture;i=n.__width,l=n.__height}else if(this.__state.renderToTexture instanceof openfl_display3D_textures_RectangleTexture){var s=this.__state.renderToTexture;i=s.__width,l=s.__height}else if(this.__state.renderToTexture instanceof openfl_display3D_textures_CubeTexture){var a=this.__state.renderToTexture;i=a.__size,l=a.__size}this.gl.viewport(0,0,i,l)}},__getGLBlend:function(e){switch(e){case 0:return this.gl.DST_ALPHA;case 1:return this.gl.DST_COLOR;case 2:return this.gl.ONE;case 3:return this.gl.ONE_MINUS_DST_ALPHA;case 4:return this.gl.ONE_MINUS_DST_COLOR;case 5:return this.gl.ONE_MINUS_SRC_ALPHA;case 6:return this.gl.ONE_MINUS_SRC_COLOR;case 7:return this.gl.SRC_ALPHA;case 8:return this.gl.SRC_COLOR;case 9:return this.gl.ZERO;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}},__getGLCompareMode:function(e){switch(e){case 0:return this.gl.ALWAYS;case 1:return this.gl.EQUAL;case 2:return this.gl.GREATER;case 3:return this.gl.GEQUAL;case 4:return this.gl.LESS;case 5:return this.gl.LEQUAL;case 6:return this.gl.NEVER;case 7:return this.gl.NOTEQUAL;default:return this.gl.EQUAL}},__getGLStencilAction:function(e){switch(e){case 0:return this.gl.DECR;case 1:return this.gl.DECR_WRAP;case 2:return this.gl.INCR;case 3:return this.gl.INCR_WRAP;case 4:return this.gl.INVERT;case 5:return this.gl.KEEP;case 6:return this.gl.REPLACE;case 7:return this.gl.ZERO;default:return this.gl.KEEP}},__getGLTriangleFace:function(e){switch(e){case 0:return this.gl.BACK;case 1:return this.gl.FRONT;case 2:return this.gl.FRONT_AND_BACK;case 3:return this.gl.NONE;default:return this.gl.FRONT_AND_BACK}},__renderStage3D:function(e){var t=e.context3D;if(null!=t&&t!=this&&null!=t.__frontBufferTexture&&e.visible&&this.backBufferHeight>0&&this.backBufferWidth>0){if(null==this.__renderStage3DProgram){var i=new openfl_utils_AGALMiniAssembler;i.assemble(openfl_display3D_Context3DProgramType.toString(1),"m44 op, va0, vc0\nmov v0, va1");var l=new openfl_utils_AGALMiniAssembler;l.assemble(openfl_display3D_Context3DProgramType.toString(0),"tex ft1, v0, fs0 <2d,nearest,nomip>\nmov oc, ft1"),this.__renderStage3DProgram=this.createProgram(),this.__renderStage3DProgram.upload(i.agalcode,l.agalcode)}this.setProgram(this.__renderStage3DProgram),this.setBlendFactors(2,9),this.setColorMask(!0,!0,!0,!0),this.setCulling(3),this.setDepthTest(!1,0),this.setStencilActions(),this.setStencilReferenceValue(0,0,0),this.setScissorRectangle(null),this.setTextureAt(0,t.__frontBufferTexture),this.setVertexBufferAt(0,e.__vertexBuffer,0,3),this.setVertexBufferAt(1,e.__vertexBuffer,3,2),this.setProgramConstantsFromMatrix(1,0,e.__renderTransform,!0),this.drawTriangles(e.__indexBuffer),this.__present=!0}},__setGLBlend:function(e){this.__contextState.__enableGLBlend!=e&&(e?this.gl.enable(this.gl.BLEND):this.gl.disable(this.gl.BLEND),this.__contextState.__enableGLBlend=e)},__setGLBlendEquation:function(e){this.__contextState.__glBlendEquation!=e&&(this.gl.blendEquation(e),this.__contextState.__glBlendEquation=e)},__setGLCullFace:function(e){this.__contextState.__enableGLCullFace!=e&&(e?this.gl.enable(this.gl.CULL_FACE):this.gl.disable(this.gl.CULL_FACE),this.__contextState.__enableGLCullFace=e)},__setGLDepthTest:function(e){this.__contextState.__enableGLDepthTest!=e&&(e?this.gl.enable(this.gl.DEPTH_TEST):this.gl.disable(this.gl.DEPTH_TEST),this.__contextState.__enableGLDepthTest=e)},__setGLFrontFace:function(e){this.__contextState.__frontFaceGLCCW!=e&&(this.gl.frontFace(e?this.gl.CCW:this.gl.CW),this.__contextState.__frontFaceGLCCW=e)},__setGLScissorTest:function(e){this.__contextState.__enableGLScissorTest!=e&&(e?this.gl.enable(this.gl.SCISSOR_TEST):this.gl.disable(this.gl.SCISSOR_TEST),this.__contextState.__enableGLScissorTest=e)},__setGLStencilTest:function(e){this.__contextState.__enableGLStencilTest!=e&&(e?this.gl.enable(this.gl.STENCIL_TEST):this.gl.disable(this.gl.STENCIL_TEST),this.__contextState.__enableGLStencilTest=e)},get_enableErrorChecking:function(){return this.__enableErrorChecking},set_enableErrorChecking:function(e){return this.__enableErrorChecking=e},get_totalGPUMemory:function(){if(-1!=openfl_display3D_Context3D.__glMemoryCurrentAvailable){var e=this.gl.getParameter(openfl_display3D_Context3D.__glMemoryCurrentAvailable),t=this.gl.getParameter(openfl_display3D_Context3D.__glMemoryTotalAvailable);if(t>0)return 1024*(t-e)}return 0},__class__:openfl_display3D_Context3D,__properties__:{get_totalGPUMemory:"get_totalGPUMemory",set_enableErrorChecking:"set_enableErrorChecking",get_enableErrorChecking:"get_enableErrorChecking"}});var openfl_display3D_Context3DBlendFactor={};openfl_display3D_Context3DBlendFactor.fromString=function(e){switch(e){case"destinationAlpha":return 0;case"destinationColor":return 1;case"one":return 2;case"oneMinusDestinationAlpha":return 3;case"oneMinusDestinationColor":return 4;case"oneMinusSourceAlpha":return 5;case"oneMinusSourceColor":return 6;case"sourceAlpha":return 7;case"sourceColor":return 8;case"zero":return 9;default:return null}},openfl_display3D_Context3DBlendFactor.toString=function(e){switch(e){case 0:return"destinationAlpha";case 1:return"destinationColor";case 2:return"one";case 3:return"oneMinusDestinationAlpha";case 4:return"oneMinusDestinationColor";case 5:return"oneMinusSourceAlpha";case 6:return"oneMinusSourceColor";case 7:return"sourceAlpha";case 8:return"sourceColor";case 9:return"zero";default:return null}};var openfl_display3D_Context3DBufferUsage={};openfl_display3D_Context3DBufferUsage.fromString=function(e){switch(e){case"dynamicDraw":return 0;case"staticDraw":return 1;default:return null}},openfl_display3D_Context3DBufferUsage.toString=function(e){switch(e){case 0:return"dynamicDraw";case 1:return"staticDraw";default:return null}};var openfl_display3D_Context3DCompareMode={};openfl_display3D_Context3DCompareMode.fromString=function(e){switch(e){case"always":return 0;case"equal":return 1;case"greater":return 2;case"greaterEqual":return 3;case"less":return 4;case"lessEqual":return 5;case"never":return 6;case"notEqual":return 7;default:return null}},openfl_display3D_Context3DCompareMode.toString=function(e){switch(e){case 0:return"always";case 1:return"equal";case 2:return"greater";case 3:return"greaterEqual";case 4:return"less";case 5:return"lessEqual";case 6:return"never";case 7:return"notEqual";default:return null}};var openfl_display3D_Context3DMipFilter={};openfl_display3D_Context3DMipFilter.fromString=function(e){switch(e){case"miplinear":return 0;case"mipnearest":return 1;case"mipnone":return 2;default:return null}},openfl_display3D_Context3DMipFilter.toString=function(e){switch(e){case 0:return"miplinear";case 1:return"mipnearest";case 2:return"mipnone";default:return null}};var openfl_display3D_Context3DProfile={};openfl_display3D_Context3DProfile.fromString=function(e){switch(e){case"baseline":return 0;case"baselineConstrained":return 1;case"baselineExtended":return 2;case"standard":return 3;case"standardConstrained":return 4;case"standardExtended":return 5;default:return null}},openfl_display3D_Context3DProfile.toString=function(e){switch(e){case 0:return"baseline";case 1:return"baselineConstrained";case 2:return"baselineExtended";case 3:return"standard";case 4:return"standardConstrained";case 5:return"standardExtended";default:return null}};var openfl_display3D_Context3DProgramFormat={};openfl_display3D_Context3DProgramFormat.fromString=function(e){switch(e){case"agal":return 0;case"glsl":return 1;default:return null}},openfl_display3D_Context3DProgramFormat.toString=function(e){switch(e){case 0:return"agal";case 1:return"glsl";default:return null}};var openfl_display3D_Context3DProgramType={};openfl_display3D_Context3DProgramType.fromString=function(e){switch(e){case"fragment":return 0;case"vertex":return 1;default:return null}},openfl_display3D_Context3DProgramType.toString=function(e){switch(e){case 0:return"fragment";case 1:return"vertex";default:return null}};var openfl_display3D_Context3DRenderMode={};openfl_display3D_Context3DRenderMode.fromString=function(e){switch(e){case"auto":return 0;case"software":return 1;default:return null}},openfl_display3D_Context3DRenderMode.toString=function(e){switch(e){case 0:return"auto";case 1:return"software";default:return null}};var openfl_display3D_Context3DStencilAction={};openfl_display3D_Context3DStencilAction.fromString=function(e){switch(e){case"decrementSaturate":return 0;case"decrementWrap":return 1;case"incrementSaturate":return 2;case"incrementWrap":return 3;case"invert":return 4;case"keep":return 5;case"set":return 6;case"zero":return 7;default:return null}},openfl_display3D_Context3DStencilAction.toString=function(e){switch(e){case 0:return"decrementSaturate";case 1:return"decrementWrap";case 2:return"incrementSaturate";case 3:return"incrementWrap";case 4:return"invert";case 5:return"keep";case 6:return"set";case 7:return"zero";default:return null}};var openfl_display3D_Context3DTextureFilter={};openfl_display3D_Context3DTextureFilter.fromString=function(e){switch(e){case"anisotropic16x":return 0;case"anisotropic2x":return 1;case"anisotropic4x":return 2;case"anisotropic8x":return 3;case"linear":return 4;case"nearest":return 5;default:return null}},openfl_display3D_Context3DTextureFilter.toString=function(e){switch(e){case 0:return"anisotropic16x";case 1:return"anisotropic2x";case 2:return"anisotropic4x";case 3:return"anisotropic8x";case 4:return"linear";case 5:return"nearest";default:return null}};var openfl_display3D_Context3DTextureFormat={};openfl_display3D_Context3DTextureFormat.fromString=function(e){switch(e){case"bgrPacked565":return 0;case"bgra":return 1;case"bgraPacked4444":return 2;case"compressed":return 3;case"compressedAlpha":return 4;case"rgbaHalfFloat":return 5;default:return null}},openfl_display3D_Context3DTextureFormat.toString=function(e){switch(e){case 0:return"bgrPacked565";case 1:return"bgra";case 2:return"bgraPacked4444";case 3:return"compressed";case 4:return"compressedAlpha";case 5:return"rgbaHalfFloat";default:return null}};var openfl_display3D_Context3DTriangleFace={};openfl_display3D_Context3DTriangleFace.fromString=function(e){switch(e){case"back":return 0;case"front":return 1;case"frontAndBack":return 2;case"none":return 3;default:return null}},openfl_display3D_Context3DTriangleFace.toString=function(e){switch(e){case 0:return"back";case 1:return"front";case 2:return"frontAndBack";case 3:return"none";default:return null}};var openfl_display3D_Context3DVertexBufferFormat={};openfl_display3D_Context3DVertexBufferFormat.fromString=function(e){switch(e){case"bytes4":return 0;case"float1":return 1;case"float2":return 2;case"float3":return 3;case"float4":return 4;default:return null}},openfl_display3D_Context3DVertexBufferFormat.toString=function(e){switch(e){case 0:return"bytes4";case 1:return"float1";case 2:return"float2";case 3:return"float3";case 4:return"float4";default:return null}};var openfl_display3D_Context3DWrapMode={};openfl_display3D_Context3DWrapMode.fromString=function(e){switch(e){case"clamp":return 0;case"clamp_u_repeat_v":return 1;case"repeat":return 2;case"repeat_u_clamp_v":return 3;default:return null}},openfl_display3D_Context3DWrapMode.toString=function(e){switch(e){case 0:return"clamp";case 1:return"clamp_u_repeat_v";case 2:return"repeat";case 3:return"repeat_u_clamp_v";default:return null}};var openfl_display3D_IndexBuffer3D=function(e,t,i){this.__context=e,this.__numIndices=t;var l=this.__context.gl;this.__id=l.createBuffer(),this.__usage=0==i?l.DYNAMIC_DRAW:l.STATIC_DRAW};$hxClasses["openfl.display3D.IndexBuffer3D"]=openfl_display3D_IndexBuffer3D,openfl_display3D_IndexBuffer3D.__name__="openfl.display3D.IndexBuffer3D",openfl_display3D_IndexBuffer3D.prototype={__context:null,__id:null,__memoryUsage:null,__numIndices:null,__tempUInt16Array:null,__usage:null,dispose:function(){this.__context.gl.deleteBuffer(this.__id)},uploadFromByteArray:function(e,t,i,l){var n=t+2*i,s=openfl_utils_ByteArray.toArrayBuffer(e),a=n;null==a&&(a=0);var r;r=null!=s?null==l?new Uint16Array(s,a):new Uint16Array(s,a,l):null,this.uploadFromTypedArray(r)},uploadFromTypedArray:function(e,t){if(null==t&&(t=-1),null!=e){var i=this.__context.gl;this.__context.__bindGLElementArrayBuffer(this.__id),lime_graphics_WebGLRenderContext.bufferData(i,i.ELEMENT_ARRAY_BUFFER,e,this.__usage)}},uploadFromVector:function(e,t,i){if(null!=e){this.__context.gl;var l=t+i,n=this.__tempUInt16Array;if(null==this.__tempUInt16Array||this.__tempUInt16Array.length<i){var s;s=null!=i?new Uint16Array(i):null,this.__tempUInt16Array=s,null!=n&&this.__tempUInt16Array.set(n)}for(var a=t,r=l;a<r;){var _=a++;this.__tempUInt16Array[_-t]=e.get(_)}this.uploadFromTypedArray(this.__tempUInt16Array)}},__class__:openfl_display3D_IndexBuffer3D};var openfl_display3D_Program3D=function(e,t){this.__context=e,this.__format=t,0==this.__format?(this.__agalSamplerUsageMask=0,this.__agalUniforms=new haxe_ds_List,this.__agalSamplerUniforms=new haxe_ds_List,this.__agalAlphaSamplerUniforms=new haxe_ds_List,this.__agalAlphaSamplerEnabled=[]):(this.__glslAttribNames=[],this.__glslAttribTypes=[],this.__glslSamplerNames=[],this.__glslUniformLocations=[],this.__glslUniformNames=[],this.__glslUniformTypes=[]),this.__samplerStates=[]};$hxClasses["openfl.display3D.Program3D"]=openfl_display3D_Program3D,openfl_display3D_Program3D.__name__="openfl.display3D.Program3D",openfl_display3D_Program3D.prototype={__agalAlphaSamplerEnabled:null,__agalAlphaSamplerUniforms:null,__agalFragmentUniformMap:null,__agalPositionScale:null,__agalSamplerUniforms:null,__agalSamplerUsageMask:null,__agalUniforms:null,__agalVertexUniformMap:null,__context:null,__format:null,__glFragmentShader:null,__glFragmentSource:null,__glProgram:null,__glslAttribNames:null,__glslAttribTypes:null,__glslSamplerNames:null,__glslUniformLocations:null,__glslUniformNames:null,__glslUniformTypes:null,__glVertexShader:null,__glVertexSource:null,__samplerStates:null,dispose:function(){this.__deleteShaders()},getAttributeIndex:function(e){if(0==this.__format)return StringTools.startsWith(e,"va")?Std.parseInt(e.substring(2)):-1;for(var t=0,i=this.__glslAttribNames.length;t<i;){var l=t++;if(this.__glslAttribNames[l]==e)return l}return-1},getConstantIndex:function(e){if(0==this.__format)return StringTools.startsWith(e,"vc")?Std.parseInt(e.substring(2)):StringTools.startsWith(e,"fc")?Std.parseInt(e.substring(2)):-1;for(var t=0,i=this.__glslUniformNames.length;t<i;){var l=t++;if(this.__glslUniformNames[l]==e)return this.__glslUniformLocations[l]}return-1},upload:function(e,t){if(0==this.__format){var i=[],l=openfl_display3D__$internal_agal_AGALConverter.convertToGLSL(e,null),n=openfl_display3D__$internal_agal_AGALConverter.convertToGLSL(t,i);5==lime_utils_Log.level&&(lime_utils_Log.info(l,{fileName:"openfl/display3D/Program3D.hx",lineNumber:399,className:"openfl.display3D.Program3D",methodName:"upload"}),lime_utils_Log.info(n,{fileName:"openfl/display3D/Program3D.hx",lineNumber:400,className:"openfl.display3D.Program3D",methodName:"upload"})),this.__deleteShaders(),this.__uploadFromGLSL(l,n),this.__buildAGALUniformList();for(var s=0,a=i.length;s<a;){var r=s++;this.__samplerStates[r]=i[r]}}},uploadSources:function(e,t){if(1==this.__format){var i="#ifdef GL_ES\n\t\t\t#ifdef GL_FRAGMENT_PRECISION_HIGH\n\t\t\tprecision highp float;\n\t\t\t#else\n\t\t\tprecision mediump float;\n\t\t\t#endif\n\t\t\t#endif\n\t\t\t",l=i+e,n=i+t;if(l!=this.__glVertexSource||n!=this.__glFragmentSource){this.__processGLSLData(e,"attribute"),this.__processGLSLData(e,"uniform"),this.__processGLSLData(t,"uniform"),this.__deleteShaders(),this.__uploadFromGLSL(l,n);var s=this.__glslSamplerNames,a=this.__glslAttribNames,r=this.__glslAttribTypes,_=this.__glslUniformNames;this.__glslSamplerNames=[],this.__glslAttribNames=[],this.__glslAttribTypes=[],this.__glslUniformLocations=[];for(var o,h,u=this.__context.gl,d=0;d<s.length;){var c=s[d];++d,o=u.getUniformLocation(this.__glProgram,c),this.__glslSamplerNames[o]=c}for(var d=0,p=a.length;d<p;){f=d++;o=u.getAttribLocation(this.__glProgram,a[f]),this.__glslAttribNames[o]=a[f],this.__glslAttribTypes[o]=r[f]}for(var d=0,p=_.length;d<p;){var f=d++;h=u.getUniformLocation(this.__glProgram,_[f]),this.__glslUniformLocations[f]=h}}}},__buildAGALUniformList:function(){if(1!=this.__format){var e=this.__context.gl;this.__agalUniforms.clear(),this.__agalSamplerUniforms.clear(),this.__agalAlphaSamplerUniforms.clear(),this.__agalAlphaSamplerEnabled=[],this.__agalSamplerUsageMask=0;var t=0;t=e.getProgramParameter(this.__glProgram,e.ACTIVE_UNIFORMS);for(var i=new haxe_ds_List,l=new haxe_ds_List,n=0,s=t;n<s;){var a=n++,r=e.getActiveUniform(this.__glProgram,a),_=r.name,o=r.size,h=r.type,u=new openfl_display3D_Uniform(this.__context);u.name=_,u.size=o,u.type=h,u.location=e.getUniformLocation(this.__glProgram,u.name);var d=u.name.indexOf("[");switch(d>=0&&(u.name=u.name.substring(0,d)),u.type){case 35674:u.regCount=2;break;case 35675:u.regCount=3;break;case 35676:u.regCount=4;break;default:u.regCount=1}if(u.regCount*=u.size,this.__agalUniforms.add(u),"vcPositionScale"==u.name)this.__agalPositionScale=u;else if(StringTools.startsWith(u.name,"vc"))u.regIndex=Std.parseInt(u.name.substring(2)),u.regData=this.__context.__vertexConstants,i.add(u);else if(StringTools.startsWith(u.name,"fc"))u.regIndex=Std.parseInt(u.name.substring(2)),u.regData=this.__context.__fragmentConstants,l.add(u);else if(StringTools.startsWith(u.name,"sampler")&&-1==u.name.indexOf("alpha")){u.regIndex=Std.parseInt(u.name.substring(7)),this.__agalSamplerUniforms.add(u);for(var c=0,p=u.regCount;c<p;){var f=c++;this.__agalSamplerUsageMask|=1<<u.regIndex+f}}else if(StringTools.startsWith(u.name,"sampler")&&StringTools.endsWith(u.name,"_alpha")){var m=u.name.indexOf("_")-7;u.regIndex=Std.parseInt(u.name.substring(7,7+m))+4,this.__agalAlphaSamplerUniforms.add(u)}else StringTools.startsWith(u.name,"sampler")&&StringTools.endsWith(u.name,"_alphaEnabled")&&(u.regIndex=Std.parseInt(u.name.substring(7)),this.__agalAlphaSamplerEnabled[u.regIndex]=u);5==lime_utils_Log.level&&lime_utils_Log.verbose(a+" name:"+u.name+" type:"+u.type+" size:"+u.size+" location:"+Std.string(u.location),{fileName:"openfl/display3D/Program3D.hx",lineNumber:577,className:"openfl.display3D.Program3D",methodName:"__buildAGALUniformList"})}this.__agalVertexUniformMap=new openfl_display3D_UniformMap(Lambda.array(i)),this.__agalFragmentUniformMap=new openfl_display3D_UniformMap(Lambda.array(l))}},__deleteShaders:function(){var e=this.__context.gl;null!=this.__glProgram&&(this.__glProgram=null),null!=this.__glVertexShader&&(e.deleteShader(this.__glVertexShader),this.__glVertexShader=null),null!=this.__glFragmentShader&&(e.deleteShader(this.__glFragmentShader),this.__glFragmentShader=null)},__disable:function(){this.__format},__enable:function(){var e=this.__context.gl;if(e.useProgram(this.__glProgram),0==this.__format){this.__agalVertexUniformMap.markAllDirty(),this.__agalFragmentUniformMap.markAllDirty();for(var t=this.__agalSamplerUniforms.h;null!=t;){l=t.item;if(t=t.next,1!=(n=l).regCount)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("!!! TODO: uniform location on webgl"));e.uniform1i(n.location,n.regIndex)}for(var i=this.__agalAlphaSamplerUniforms.h;null!=i;){var l=i.item;i=i.next;var n=l;if(1!=n.regCount)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("!!! TODO: uniform location on webgl"));e.uniform1i(n.location,n.regIndex)}}},__flush:function(){0==this.__format&&(this.__agalVertexUniformMap.flush(),this.__agalFragmentUniformMap.flush())},__getSamplerState:function(e){return this.__samplerStates[e]},__markDirty:function(e,t,i){1!=this.__format&&(e?this.__agalVertexUniformMap.markDirty(t,i):this.__agalFragmentUniformMap.markDirty(t,i))},__processGLSLData:function(e,t){var i,l,n,s,a=0;for(l="uniform"==t?new EReg("uniform ([A-Za-z0-9]+) ([A-Za-z0-9_]+)",""):new EReg("attribute ([A-Za-z0-9]+) ([A-Za-z0-9_]+)","");l.matchSub(e,a);)if(s=l.matched(1),n=l.matched(2),!StringTools.startsWith(n,"gl_")){if(StringTools.startsWith(s,"sampler"))this.__glslSamplerNames.push(n);else{var r;switch(s){case"bool":r=0;break;case"bvec2":r=1;break;case"bvec3":r=2;break;case"bvec4":r=3;break;case"dvec2":case"vec2":r=5;break;case"dvec3":case"vec3":r=6;break;case"double":case"float":r=4;break;case"ivec3":case"uvec3":r=10;break;case"ivec4":case"uvec4":r=11;break;case"mat2":case"mat2x2":r=12;break;case"mat2x3":r=13;break;case"mat2x4":r=14;break;case"mat3x2":r=15;break;case"mat3":case"mat3x3":r=16;break;case"mat3x4":r=17;break;case"mat4":case"mat4x4":r=20;break;case"mat4x2":r=18;break;case"mat4x3":r=19;break;case"int":case"uint":r=8;break;case"ivec2":case"uvec2":r=9;break;case"dvec4":case"vec4":r=7;break;default:r=null}"uniform"==t?(this.__glslUniformNames.push(n),this.__glslUniformTypes.push(r)):(this.__glslAttribNames.push(n),this.__glslAttribTypes.push(r))}a=(i=l.matchedPos()).pos+i.len}},__setPositionScale:function(e){if(1!=this.__format&&null!=this.__agalPositionScale){var t=this.__context.gl,i=this.__agalPositionScale.location,l=e;t.uniform4fv(i,l)}},__setSamplerState:function(e,t){this.__samplerStates[e]=t},__uploadFromGLSL:function(e,t){var i=this.__context.gl;if(this.__glVertexSource=e,this.__glFragmentSource=t,this.__glVertexShader=i.createShader(i.VERTEX_SHADER),i.shaderSource(this.__glVertexShader,e),i.compileShader(this.__glVertexShader),0==i.getShaderParameter(this.__glVertexShader,i.COMPILE_STATUS)){r="Error compiling vertex shader";r+="\n"+i.getShaderInfoLog(this.__glVertexShader),r+="\n"+e,lime_utils_Log.error(r,{fileName:"openfl/display3D/Program3D.hx",lineNumber:869,className:"openfl.display3D.Program3D",methodName:"__uploadFromGLSL"})}if(this.__glFragmentShader=i.createShader(i.FRAGMENT_SHADER),i.shaderSource(this.__glFragmentShader,t),i.compileShader(this.__glFragmentShader),0==i.getShaderParameter(this.__glFragmentShader,i.COMPILE_STATUS)){r="Error compiling fragment shader";r+="\n"+i.getShaderInfoLog(this.__glFragmentShader),r+="\n"+t,lime_utils_Log.error(r,{fileName:"openfl/display3D/Program3D.hx",lineNumber:881,className:"openfl.display3D.Program3D",methodName:"__uploadFromGLSL"})}if(this.__glProgram=i.createProgram(),0==this.__format)for(s=0;s<16;){var l=s++,n="va"+l;-1!=e.indexOf(" "+n)&&i.bindAttribLocation(this.__glProgram,l,n)}else for(var s=0,a=this.__glslAttribNames;s<a.length;){n=a[s];if(++s,n.indexOf("Position")>-1&&StringTools.startsWith(n,"openfl_")){i.bindAttribLocation(this.__glProgram,0,n);break}}if(i.attachShader(this.__glProgram,this.__glVertexShader),i.attachShader(this.__glProgram,this.__glFragmentShader),i.linkProgram(this.__glProgram),0==i.getProgramParameter(this.__glProgram,i.LINK_STATUS)){var r="Unable to initialize the shader program";r+="\n"+i.getProgramInfoLog(this.__glProgram),lime_utils_Log.error(r,{fileName:"openfl/display3D/Program3D.hx",lineNumber:922,className:"openfl.display3D.Program3D",methodName:"__uploadFromGLSL"})}},__class__:openfl_display3D_Program3D};var openfl_display3D_Uniform=function(e){this.context=e,this.isDirty=!0;var t=new lime_utils_BytePointerData(null,0);this.regDataPointer=t};$hxClasses["openfl.display3D.Uniform"]=openfl_display3D_Uniform,openfl_display3D_Uniform.__name__="openfl.display3D.Uniform",openfl_display3D_Uniform.prototype={name:null,location:null,type:null,size:null,regData:null,regIndex:null,regCount:null,isDirty:null,context:null,regDataPointer:null,flush:function(){var e=this.context.gl,t=4*this.regIndex;switch(this.type){case 35664:lime_graphics_WebGL2RenderContext.uniform2fv(e,this.location,this.regData.subarray(t,t+2*this.regCount));break;case 35665:var i=this.location,l=this.regData.subarray(t,t+3*this.regCount);null!=(n=null)?e.uniform3fv(i,l,n,null):e.uniform3fv(i,l);break;case 35666:var i=this.location,l=this.regData.subarray(t,t+4*this.regCount);null!=(n=null)?e.uniform4fv(i,l,n,null):e.uniform4fv(i,l);break;case 35674:lime_graphics_WebGLRenderContext.uniformMatrix2fv(e,this.location,!1,this.regData.subarray(t,t+2*this.size*2));break;case 35675:lime_graphics_WebGLRenderContext.uniformMatrix3fv(e,this.location,!1,this.regData.subarray(t,t+3*this.size*3));break;case 35676:lime_graphics_WebGLRenderContext.uniformMatrix4fv(e,this.location,!1,this.regData.subarray(t,t+4*this.size*4));break;default:var i=this.location,l=this.regData.subarray(t,t+4*this.regCount),n=null;null!=n?e.uniform4fv(i,l,n,null):e.uniform4fv(i,l)}},__getUniformRegisters:function(e,t){return this.regData.subarray(e,e+t)},__class__:openfl_display3D_Uniform};var openfl_display3D_UniformMap=function(e){this.__uniforms=e,this.__uniforms.sort(function(e,t){return Reflect.compare(e.regIndex,t.regIndex)});for(var t=0,i=0,l=this.__uniforms;i<l.length;){n=l[i];++i,n.regIndex+n.regCount>t&&(t=n.regIndex+n.regCount)}this.__registerLookup=openfl_Vector.toObjectVector(null,t);for(var i=0,l=this.__uniforms;i<l.length;){var n=l[i];++i;for(var s=0,a=n.regCount;s<a;){var r=s++;this.__registerLookup.set(n.regIndex+r,n)}}this.__anyDirty=this.__allDirty=!0};$hxClasses["openfl.display3D.UniformMap"]=openfl_display3D_UniformMap,openfl_display3D_UniformMap.__name__="openfl.display3D.UniformMap",openfl_display3D_UniformMap.prototype={__allDirty:null,__anyDirty:null,__registerLookup:null,__uniforms:null,flush:function(){if(this.__anyDirty){for(var e=0,t=this.__uniforms;e<t.length;){var i=t[e];++e,(this.__allDirty||i.isDirty)&&(i.flush(),i.isDirty=!1)}this.__anyDirty=this.__allDirty=!1}},markAllDirty:function(){this.__allDirty=!0,this.__anyDirty=!0},markDirty:function(e,t){if(!this.__allDirty){var i=e+t;i>this.__registerLookup.get_length()&&(i=this.__registerLookup.get_length());for(var l=e;l<i;){var n=this.__registerLookup.get(l);null!=n?(n.isDirty=!0,this.__anyDirty=!0,l=n.regIndex+n.regCount):++l}}},__class__:openfl_display3D_UniformMap};var openfl_display3D_VertexBuffer3D=function(e,t,i,l){this.__context=e,this.__numVertices=t,this.__vertexSize=i;var n=this.__context.gl;this.__id=n.createBuffer(),this.__stride=4*this.__vertexSize,this.__usage=0==openfl_display3D_Context3DBufferUsage.fromString(l)?n.DYNAMIC_DRAW:n.STATIC_DRAW};$hxClasses["openfl.display3D.VertexBuffer3D"]=openfl_display3D_VertexBuffer3D,openfl_display3D_VertexBuffer3D.__name__="openfl.display3D.VertexBuffer3D",openfl_display3D_VertexBuffer3D.prototype={__context:null,__data:null,__id:null,__memoryUsage:null,__numVertices:null,__stride:null,__tempFloat32Array:null,__usage:null,__vertexSize:null,dispose:function(){this.__context.gl.deleteBuffer(this.__id)},uploadFromByteArray:function(e,t,i,l){var n=t+i*this.__stride,s=l*this.__vertexSize,a=openfl_utils_ByteArray.toArrayBuffer(e),r=n;null==r&&(r=0);var _;_=null!=a?null==s?new Float32Array(a,r):new Float32Array(a,r,s):null,this.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(_))},uploadFromTypedArray:function(e,t){if(null==t&&(t=-1),null!=e){var i=this.__context.gl;this.__context.__bindGLArrayBuffer(this.__id),lime_graphics_WebGLRenderContext.bufferData(i,i.ARRAY_BUFFER,e,this.__usage)}},uploadFromVector:function(e,t,i){if(null!=e){this.__context.gl;var l=t*this.__vertexSize,n=i*this.__vertexSize,s=l+n,a=this.__tempFloat32Array;if(null==this.__tempFloat32Array||this.__tempFloat32Array.length<n){var r;r=null!=n?new Float32Array(n):null,this.__tempFloat32Array=r,null!=a&&this.__tempFloat32Array.set(a)}for(var _=l,o=s;_<o;){var h=_++;this.__tempFloat32Array[h-l]=e.get(h)}this.uploadFromTypedArray(lime_utils_Float32Array.toArrayBufferView(this.__tempFloat32Array))}},__class__:openfl_display3D_VertexBuffer3D};var openfl_display3D__$internal_Context3DState=function(){this.backBufferEnableDepthAndStencil=!1,this.blendDestinationAlphaFactor=9,this.blendSourceAlphaFactor=2,this.blendDestinationRGBFactor=9,this.blendSourceRGBFactor=2,this.colorMaskRed=!0,this.colorMaskGreen=!0,this.colorMaskBlue=!0,this.colorMaskAlpha=!0,this.culling=3,this.depthCompareMode=4,this.depthMask=!0,this.samplerStates=[],this.scissorRectangle=new openfl_geom_Rectangle,this.stencilCompareMode=0,this.stencilDepthFail=5,this.stencilFail=5,this.stencilPass=5,this.stencilReadMask=255,this.stencilReferenceValue=0,this.stencilTriangleFace=2,this.stencilWriteMask=255,this.textures=[],this.__frontFaceGLCCW=!0,this.__glBlendEquation=32774};$hxClasses["openfl.display3D._internal.Context3DState"]=openfl_display3D__$internal_Context3DState,openfl_display3D__$internal_Context3DState.__name__="openfl.display3D._internal.Context3DState",openfl_display3D__$internal_Context3DState.prototype={backBufferEnableDepthAndStencil:null,blendDestinationAlphaFactor:null,blendSourceAlphaFactor:null,blendDestinationRGBFactor:null,blendSourceRGBFactor:null,colorMaskRed:null,colorMaskGreen:null,colorMaskBlue:null,colorMaskAlpha:null,culling:null,depthCompareMode:null,depthMask:null,program:null,renderToTexture:null,renderToTextureAntiAlias:null,renderToTextureDepthStencil:null,renderToTextureSurfaceSelector:null,samplerStates:null,scissorEnabled:null,scissorRectangle:null,stencilCompareMode:null,stencilDepthFail:null,stencilFail:null,stencilPass:null,stencilReadMask:null,stencilReferenceValue:null,stencilTriangleFace:null,stencilWriteMask:null,textures:null,shader:null,__currentGLArrayBuffer:null,__currentGLElementArrayBuffer:null,__currentGLFramebuffer:null,__currentGLTexture2D:null,__currentGLTextureCubeMap:null,__enableGLBlend:null,__enableGLCullFace:null,__enableGLDepthTest:null,__enableGLScissorTest:null,__enableGLStencilTest:null,__frontFaceGLCCW:null,__glBlendEquation:null,__primaryGLFramebuffer:null,__rttDepthGLRenderbuffer:null,__rttGLFramebuffer:null,__rttGLRenderbuffer:null,__rttStencilGLRenderbuffer:null,__class__:openfl_display3D__$internal_Context3DState};var openfl_display3D__$internal_agal_AGALConverter=function(){};$hxClasses["openfl.display3D._internal.agal.AGALConverter"]=openfl_display3D__$internal_agal_AGALConverter,openfl_display3D__$internal_agal_AGALConverter.__name__="openfl.display3D._internal.agal.AGALConverter",openfl_display3D__$internal_agal_AGALConverter.prefixFromType=function(e,t){switch(e){case 0:return"va";case 1:return t==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX?"vc":"fc";case 2:return t==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX?"vt":"ft";case 3:return"output_";case 4:return"v";case 5:return"sampler";default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Invalid data!"))}},openfl_display3D__$internal_agal_AGALConverter.readUInt64=function(e){var t=e.readInt(),i=e.readInt();return new haxe__$Int64__$_$_$Int64(i,t)},openfl_display3D__$internal_agal_AGALConverter.convertToGLSL=function(e,t){e.position=0,e.__endian=1;var i=255&e.readByte();if(176==i)return e.readUTF();if(160!=i)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Magic value must be 0xA0, may not be AGAL"));if(1!=(g=e.readInt()))throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Version must be 1"));if(161!=(255&e.readByte()))throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Shader type ID must be 0xA1"));for(var l=0==(255&e.readByte())?openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX:openfl_display3D__$internal_agal__$AGALConverter_ProgramType.FRAGMENT,n=new openfl_display3D__$internal_agal_RegisterMap,s="";;){var a=e.position;if(!UInt.gt(openfl_utils_ByteArray.get_length(e),a))break;var r=e.readInt(),_=e.readUnsignedInt(),o=openfl_display3D__$internal_agal_AGALConverter.readUInt64(e),h=openfl_display3D__$internal_agal_AGALConverter.readUInt64(e),u=openfl_display3D__$internal_agal__$AGALConverter_DestRegister.parse(_,l),d=openfl_display3D__$internal_agal__$AGALConverter_SourceRegister.parse(o,l,u.mask),c=openfl_display3D__$internal_agal__$AGALConverter_SourceRegister.parse(h,l,u.mask);switch(s+="\t",r){case 0:s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+"; // mov"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 1:s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" + "+c.toGLSL()+"; // add"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 2:s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" - "+c.toGLSL()+"; // sub"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 3:s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" * "+c.toGLSL()+"; // mul"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 4:s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" / "+c.toGLSL()+"; // div"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 5:d.toGLSL().indexOf(".")>-1?s+=Std.string(u.toGLSL()+" = 1.0 / "+d.toGLSL()+"; // rcp"):s+=Std.string(u.toGLSL()+" = vec4(1) / "+d.toGLSL()+"; // rcp"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 6:s+=Std.string(u.toGLSL()+" = min("+d.toGLSL()+", "+c.toGLSL()+"); // min"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 7:s+=Std.string(u.toGLSL()+" = max("+d.toGLSL()+", "+c.toGLSL()+"); // max"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 8:s+=Std.string(u.toGLSL()+" = fract("+d.toGLSL()+"); // frc"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 9:s+=Std.string(u.toGLSL()+" = sqrt("+d.toGLSL()+"); // sqrt"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 10:s+=Std.string(u.toGLSL()+" = inversesqrt("+d.toGLSL()+"); // rsq"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 11:s+=Std.string(u.toGLSL()+" = pow("+d.toGLSL()+", "+c.toGLSL()+"); // pow"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 12:s+=Std.string(u.toGLSL()+" = log2("+d.toGLSL()+"); // log"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 13:s+=Std.string(u.toGLSL()+" = exp2("+d.toGLSL()+"); // exp"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 14:s+=Std.string(u.toGLSL()+" = normalize("+d.toGLSL()+"); // normalize"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 15:s+=Std.string(u.toGLSL()+" = sin("+d.toGLSL()+"); // sin"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 16:s+=Std.string(u.toGLSL()+" = cos("+d.toGLSL()+"); // cos"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 17:d.sourceMask=c.sourceMask=7,s+=Std.string(u.toGLSL()+" = cross(vec3("+d.toGLSL()+"), vec3("+c.toGLSL()+")); // crs"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 18:d.sourceMask=c.sourceMask=7,s+=Std.string(u.toGLSL()+" = vec4(dot(vec3("+d.toGLSL()+"), vec3("+c.toGLSL()+")))"+u.getWriteMask()+"; // dp3"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 19:d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec4(dot(vec4("+d.toGLSL()+"), vec4("+c.toGLSL()+")))"+u.getWriteMask()+"; // dp4"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 20:s+=Std.string(u.toGLSL()+" = abs("+d.toGLSL()+"); // abs"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 21:s+=Std.string(u.toGLSL()+" = -"+d.toGLSL()+"; // neg"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 22:s+=Std.string(u.toGLSL()+" = clamp("+d.toGLSL()+", 0.0, 1.0); // saturate"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 23:var p=n.getRegisterUsage(c);p!=openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4&&p!=openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4_ARRAY?(s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" * mat3("+c.toGLSL(!1)+"); // m33"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.MATRIX_4_4)):(d.sourceMask=c.sourceMask=7,s+=Std.string(u.toGLSL()+" = vec3(dot("+d.toGLSL(!0)+","+c.toGLSL(!0,0)+"), dot("+d.toGLSL(!0)+","+c.toGLSL(!0,1)+"),dot("+d.toGLSL(!0)+","+c.toGLSL(!0,2)+")); // m33"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,0),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,1),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,2));break;case 24:var f=n.getRegisterUsage(c);f!=openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4&&f!=openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4_ARRAY?(s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" * "+c.toGLSL(!1)+"; // m44"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.MATRIX_4_4)):(d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec4(dot("+d.toGLSL(!0)+","+c.toGLSL(!0,0)+"), dot("+d.toGLSL(!0)+","+c.toGLSL(!0,1)+"), dot("+d.toGLSL(!0)+","+c.toGLSL(!0,2)+"), dot("+d.toGLSL(!0)+","+c.toGLSL(!0,3)+")); // m44"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,0),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,1),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,2),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,3));break;case 25:u.mask&=7;var m=n.getRegisterUsage(c);m!=openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4&&m!=openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4_ARRAY?(s+=Std.string(u.toGLSL()+" = "+d.toGLSL()+" * "+c.toGLSL(!1)+"; // m34"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.MATRIX_4_4)):(d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec3(dot("+d.toGLSL(!0)+","+c.toGLSL(!0,0)+"), dot("+d.toGLSL(!0)+","+c.toGLSL(!0,1)+"),dot("+d.toGLSL(!0)+","+c.toGLSL(!0,2)+")); // m34"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,0),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,1),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4,2));break;case 39:d.sourceMask=15,s+=Std.string("if (any(lessThan("+d.toGLSL()+", vec4(0)))) discard;"),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 40:var x=openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister.parse(h,l);switch(x.d){case 0:2==x.t?(d.sourceMask=3,n.addSaR(x,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.SAMPLER_2D_ALPHA),s+=Std.string("if ("+x.toGLSL()+"_alphaEnabled) {\n"),s+=Std.string("\t\t"+u.toGLSL()+" = vec4(texture2D("+x.toGLSL()+", "+d.toGLSL()+").xyz, texture2D("+x.toGLSL()+"_alpha, "+d.toGLSL()+").x); // tex + alpha\n"),s+="\t} else {\n",s+=Std.string("\t\t"+u.toGLSL()+" = texture2D("+x.toGLSL()+", "+d.toGLSL()+"); // tex\n"),s+="\t}"):(d.sourceMask=3,n.addSaR(x,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.SAMPLER_2D),s+=Std.string(u.toGLSL()+" = texture2D("+x.toGLSL()+", "+d.toGLSL()+"); // tex"));break;case 1:2==x.t?(d.sourceMask=7,n.addSaR(x,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.SAMPLER_CUBE_ALPHA),s+=Std.string("if ("+x.toGLSL()+"_alphaEnabled) {\n"),s+=Std.string("\t\t"+u.toGLSL()+" = vec4(textureCube("+x.toGLSL()+", "+d.toGLSL()+").xyz, textureCube("+x.toGLSL()+"_alpha, "+d.toGLSL()+").x); // tex + alpha\n"),s+="\t} else {\n",s+=Std.string("\t\t"+u.toGLSL()+" = textureCube("+x.toGLSL()+", "+d.toGLSL()+"); // tex"),s+="\t}"):(d.sourceMask=7,s+=Std.string(u.toGLSL()+" = textureCube("+x.toGLSL()+", "+d.toGLSL()+"); // tex"),n.addSaR(x,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.SAMPLER_CUBE))}n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),null!=t&&(t[x.n]=x.toSamplerState());break;case 41:d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec4(greaterThanEqual("+d.toGLSL()+", "+c.toGLSL()+"))"+u.getWriteMask()+"; // ste"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 42:d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec4(lessThan("+d.toGLSL()+", "+c.toGLSL()+"))"+u.getWriteMask()+"; // slt"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 44:d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec4(equal("+d.toGLSL()+", "+c.toGLSL()+"))"+u.getWriteMask()+"; // seq"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;case 45:d.sourceMask=c.sourceMask=15,s+=Std.string(u.toGLSL()+" = vec4(notEqual("+d.toGLSL()+", "+c.toGLSL()+"))"+u.getWriteMask()+"; // sne"),n.addDR(u,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(d,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),n.addSR(c,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4);break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Opcode "+r))}s+="\n"}if(null==openfl_display3D__$internal_agal_AGALConverter.limitedProfile){var g=lime_graphics_opengl_GL.context.getParameter(7938);openfl_display3D__$internal_agal_AGALConverter.limitedProfile=g.indexOf("OpenGL ES")>-1||g.indexOf("WebGL")>-1}var F="";return F+=Std.string("// AGAL "+(l==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX?"vertex":"fragment")+" shader\n"),openfl_display3D__$internal_agal_AGALConverter.limitedProfile?(F+="#version 100\n",F+="#ifdef GL_FRAGMENT_PRECISION_HIGH\n",F+="precision highp float;\n",F+="#else\n",F+="precision mediump float;\n",F+="#endif\n"):F+="#version 120\n",F+=Std.string(n.toGLSL(!1)),l==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX&&(F+="uniform vec4 vcPositionScale;\n"),F+="void main() {\n",F+=Std.string(n.toGLSL(!0)),F+=Std.string(s),l==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX&&(F+="\tgl_Position *= vcPositionScale;\n"),F+="}\n"};var openfl_display3D__$internal_agal__$AGALConverter_DestRegister=function(){};$hxClasses["openfl.display3D._internal.agal._AGALConverter.DestRegister"]=openfl_display3D__$internal_agal__$AGALConverter_DestRegister,openfl_display3D__$internal_agal__$AGALConverter_DestRegister.__name__="openfl.display3D._internal.agal._AGALConverter.DestRegister",openfl_display3D__$internal_agal__$AGALConverter_DestRegister.parse=function(e,t){var i=new openfl_display3D__$internal_agal__$AGALConverter_DestRegister;return i.programType=t,i.type=e>>>24&15,i.mask=e>>>16&15,i.n=65535&e,i},openfl_display3D__$internal_agal__$AGALConverter_DestRegister.prototype={mask:null,n:null,programType:null,type:null,getWriteMask:function(){var e=".";return 0!=(1&this.mask)&&(e+="x"),0!=(2&this.mask)&&(e+="y"),0!=(4&this.mask)&&(e+="z"),0!=(8&this.mask)&&(e+="w"),e},toGLSL:function(e){null==e&&(e=!0);var t;return t=3==this.type?this.programType==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX?"gl_Position":"gl_FragColor":openfl_display3D__$internal_agal_AGALConverter.prefixFromType(this.type,this.programType)+this.n,e&&15!=this.mask&&(t+=this.getWriteMask()),t},__class__:openfl_display3D__$internal_agal__$AGALConverter_DestRegister};var openfl_display3D__$internal_agal__$AGALConverter_ProgramType=$hxEnums["openfl.display3D._internal.agal._AGALConverter.ProgramType"]={__ename__:"openfl.display3D._internal.agal._AGALConverter.ProgramType",__constructs__:["VERTEX","FRAGMENT"],VERTEX:{_hx_index:0,__enum__:"openfl.display3D._internal.agal._AGALConverter.ProgramType",toString:$estr},FRAGMENT:{_hx_index:1,__enum__:"openfl.display3D._internal.agal._AGALConverter.ProgramType",toString:$estr}},openfl_display3D__$internal_agal_RegisterMap=function(){this.mEntries=[]};$hxClasses["openfl.display3D._internal.agal.RegisterMap"]=openfl_display3D__$internal_agal_RegisterMap,openfl_display3D__$internal_agal_RegisterMap.__name__="openfl.display3D._internal.agal.RegisterMap",openfl_display3D__$internal_agal_RegisterMap.prototype={mEntries:null,add:function(e,t,i,l){for(var n=0,s=this.mEntries;n<s.length;){var a=s[n];if(++n,a.type==e&&a.name==t&&a.number==i){if(a.usage!=l)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Cannot use register in multiple ways yet (mat4/vec4)"));return}}(a=new openfl_display3D__$internal_agal__$AGALConverter_RegisterMapEntry).type=e,a.name=t,a.number=i,a.usage=l,this.mEntries.push(a)},addDR:function(e,t){this.add(e.type,e.toGLSL(!1),e.n,t)},addSaR:function(e,t){this.add(e.type,e.toGLSL(),e.n,t)},addSR:function(e,t,i){if(null==i&&(i=0),0!=e.d)return this.add(e.itype,openfl_display3D__$internal_agal_AGALConverter.prefixFromType(e.itype,e.programType)+e.n,e.n,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4),void this.add(e.type,openfl_display3D__$internal_agal_AGALConverter.prefixFromType(e.type,e.programType)+e.o,e.o,openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4_ARRAY);this.add(e.type,e.toGLSL(!1,i),e.n+i,t)},getRegisterUsage:function(e){return 0!=e.d?openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4_ARRAY:this.getUsage(e.type,e.toGLSL(!1),e.n)},getUsage:function(e,t,i){for(var l=0,n=this.mEntries;l<n.length;){var s=n[l];if(++l,s.type==e&&s.name==t&&s.number==i)return s.usage}return openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.UNUSED},toGLSL:function(e){this.mEntries.sort(function(e,t){return e.number-t.number});var t;this.mEntries.sort(function(e,t){return js_Boot.__cast(e.type,Int)-js_Boot.__cast(t.type,Int)});for(var i="",l=0,n=this.mEntries.length;l<n;){var s=l++;if(t=this.mEntries[s],!(e&&2!=t.type||!e&&2==t.type)&&3!=t.type){switch(t.type){case 0:i+="attribute ";break;case 1:i+="uniform ";break;case 2:i+="\t";break;case 3:break;case 4:i+="varying ";break;case 5:i+="uniform ";break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}switch(t.usage._hx_index){case 0:lime_utils_Log.info("Missing switch patten: RegisterUsage.UNUSED",{fileName:"openfl/display3D/_internal/agal/AGALConverter.hx",lineNumber:750,className:"openfl.display3D._internal.agal.RegisterMap",methodName:"toGLSL"});break;case 1:i+="vec4 ";break;case 2:i+="mat4 ";break;case 3:i+="sampler2D ";break;case 4:break;case 5:i+="samplerCube ";break;case 6:break;case 7:i+="vec4 "}t.usage==openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.SAMPLER_2D_ALPHA?(i+="sampler2D ",i+=Std.string(t.name),i+=";\n",i+="uniform ",i+="sampler2D ",i+=Std.string(t.name+"_alpha"),i+=";\n",i+="uniform ",i+="bool ",i+=Std.string(t.name+"_alphaEnabled"),i+=";\n"):t.usage==openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.SAMPLER_CUBE_ALPHA?(i+="samplerCube ",i+=Std.string(t.name),i+=";\n",i+="uniform ",i+="samplerCube ",i+=Std.string(t.name+"_alpha"),i+=";\n",i+="uniform ",i+="bool ",i+=Std.string(t.name+"_alphaEnabled"),i+=";\n"):t.usage==openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage.VECTOR_4_ARRAY?(i+=Std.string(t.name+"[128]"),i+=";\n"):(i+=Std.string(t.name),i+=";\n")}}return i},__class__:openfl_display3D__$internal_agal_RegisterMap};var openfl_display3D__$internal_agal__$AGALConverter_RegisterMapEntry=function(){};$hxClasses["openfl.display3D._internal.agal._AGALConverter.RegisterMapEntry"]=openfl_display3D__$internal_agal__$AGALConverter_RegisterMapEntry,openfl_display3D__$internal_agal__$AGALConverter_RegisterMapEntry.__name__="openfl.display3D._internal.agal._AGALConverter.RegisterMapEntry",openfl_display3D__$internal_agal__$AGALConverter_RegisterMapEntry.prototype={name:null,number:null,type:null,usage:null,__class__:openfl_display3D__$internal_agal__$AGALConverter_RegisterMapEntry};var openfl_display3D__$internal_agal__$AGALConverter_RegisterUsage=$hxEnums["openfl.display3D._internal.agal._AGALConverter.RegisterUsage"]={__ename__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",__constructs__:["UNUSED","VECTOR_4","MATRIX_4_4","SAMPLER_2D","SAMPLER_2D_ALPHA","SAMPLER_CUBE","SAMPLER_CUBE_ALPHA","VECTOR_4_ARRAY"],UNUSED:{_hx_index:0,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},VECTOR_4:{_hx_index:1,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},MATRIX_4_4:{_hx_index:2,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},SAMPLER_2D:{_hx_index:3,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},SAMPLER_2D_ALPHA:{_hx_index:4,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},SAMPLER_CUBE:{_hx_index:5,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},SAMPLER_CUBE_ALPHA:{_hx_index:6,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr},VECTOR_4_ARRAY:{_hx_index:7,__enum__:"openfl.display3D._internal.agal._AGALConverter.RegisterUsage",toString:$estr}},openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister=function(){};$hxClasses["openfl.display3D._internal.agal._AGALConverter.SamplerRegister"]=openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister,openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister.__name__="openfl.display3D._internal.agal._AGALConverter.SamplerRegister",openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister.parse=function(e,t){var i=new openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister;i.programType=t;var l=60,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.f=a;var l=56,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.m=a;var l=52,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.w=a;var l=48,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.s=a;var l=44,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.d=a;var l=40,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.t=a;var l=32,n=0,s=15,a=((r=_=0==(l&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):l<32?new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32)).high,r.low&s);i.type=a;var r,l=16;if(0==(l&=63))r=_=new haxe__$Int64__$_$_$Int64(e.high,e.low);else if(l<32)r=_=new haxe__$Int64__$_$_$Int64(e.high>>l,e.high<<32-l|e.low>>>l);else{var _=new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>l-32);r=_}var n=0,s=255,a=(r.high,r.low&s);i.b=a;var n=0,s=65535,a=(e.high,e.low&s);return i.n=a,i},openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister.prototype={b:null,d:null,f:null,m:null,n:null,programType:null,s:null,t:null,type:null,w:null,toGLSL:function(){return openfl_display3D__$internal_agal_AGALConverter.prefixFromType(this.type,this.programType)+this.n},toSamplerState:function(){var e,t,i;switch(this.f){case 0:t=5;break;case 1:t=4;break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}switch(this.m){case 0:i=2;break;case 1:i=1;break;case 2:i=0;break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}switch(this.w){case 0:e=0;break;case 1:e=2;break;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}var l=4==(4&this.s),n=1==(1&this.s),s=2==this.t,a=(this.b<<24>>24)/8;return new openfl_display__$internal_SamplerState(e,t,i,a,l,n,s)},__class__:openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister};var openfl_display3D__$internal_agal__$AGALConverter_SourceRegister=function(){};$hxClasses["openfl.display3D._internal.agal._AGALConverter.SourceRegister"]=openfl_display3D__$internal_agal__$AGALConverter_SourceRegister,openfl_display3D__$internal_agal__$AGALConverter_SourceRegister.__name__="openfl.display3D._internal.agal._AGALConverter.SourceRegister",openfl_display3D__$internal_agal__$AGALConverter_SourceRegister.parse=function(e,t,i){var l=new openfl_display3D__$internal_agal__$AGALConverter_SourceRegister;l.programType=t;var n=63,s=0,a=1,r=((_=o=0==(n&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):n<32?new haxe__$Int64__$_$_$Int64(e.high>>n,e.high<<32-n|e.low>>>n):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>n-32)).high,_.low&a);l.d=r;var n=48,s=0,a=3,r=((_=o=0==(n&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):n<32?new haxe__$Int64__$_$_$Int64(e.high>>n,e.high<<32-n|e.low>>>n):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>n-32)).high,_.low&a);l.q=r;var n=40,s=0,a=15,r=((_=o=0==(n&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):n<32?new haxe__$Int64__$_$_$Int64(e.high>>n,e.high<<32-n|e.low>>>n):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>n-32)).high,_.low&a);l.itype=r;var n=32,s=0,a=15,r=((_=o=0==(n&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):n<32?new haxe__$Int64__$_$_$Int64(e.high>>n,e.high<<32-n|e.low>>>n):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>n-32)).high,_.low&a);l.type=r;var n=24,s=0,a=255,r=((_=o=0==(n&=63)?new haxe__$Int64__$_$_$Int64(e.high,e.low):n<32?new haxe__$Int64__$_$_$Int64(e.high>>n,e.high<<32-n|e.low>>>n):new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>n-32)).high,_.low&a);l.s=r;var _,n=16;if(0==(n&=63))_=o=new haxe__$Int64__$_$_$Int64(e.high,e.low);else if(n<32)_=o=new haxe__$Int64__$_$_$Int64(e.high>>n,e.high<<32-n|e.low>>>n);else{var o=new haxe__$Int64__$_$_$Int64(e.high>>31,e.high>>n-32);_=o}var s=0,a=255,r=(_.high,_.low&a);l.o=r;var s=0,a=65535,r=(e.high,e.low&a);return l.n=r,l.sourceMask=i,l},openfl_display3D__$internal_agal__$AGALConverter_SourceRegister.prototype={d:null,itype:null,n:null,o:null,programType:null,q:null,s:null,sourceMask:null,type:null,toGLSL:function(e,t){if(null==t&&(t=0),null==e&&(e=!0),3==this.type)return this.programType==openfl_display3D__$internal_agal__$AGALConverter_ProgramType.VERTEX?"gl_Position":"gl_FragColor";var i=228==this.s&&15==this.sourceMask,l="";if(5!=this.type&&!i){if(0!=(1&this.sourceMask))switch(3&this.s){case 0:l+="x";break;case 1:l+="y";break;case 2:l+="z";break;case 3:l+="w"}if(0!=(2&this.sourceMask))switch(this.s>>2&3){case 0:l+="x";break;case 1:l+="y";break;case 2:l+="z";break;case 3:l+="w"}if(0!=(4&this.sourceMask))switch(this.s>>4&3){case 0:l+="x";break;case 1:l+="y";break;case 2:l+="z";break;case 3:l+="w"}if(0!=(8&this.sourceMask))switch(this.s>>6&3){case 0:l+="x";break;case 1:l+="y";break;case 2:l+="z";break;case 3:l+="w"}}var n=openfl_display3D__$internal_agal_AGALConverter.prefixFromType(this.type,this.programType);if(0==this.d)n+=this.n+t;else{n+=this.o;var s="";switch(this.q){case 0:s="x";break;case 1:s="y";break;case 2:s="z";break;case 3:s="w"}n+="[ int("+(openfl_display3D__$internal_agal_AGALConverter.prefixFromType(this.itype,this.programType)+this.n+"."+s)+") +"+t+"]"}return e&&""!=l&&(n+="."+l),n},__class__:openfl_display3D__$internal_agal__$AGALConverter_SourceRegister};var openfl_display3D__$internal_atf_ATFReader=function(e,t){this.version=0,e.position=t;var i=e.readUTFBytes(3);if(e.position=t,"ATF"!=i)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("ATF signature not found"));var l=0;if(255==e.b[t+6]?(this.version=e.b[t+7],e.position=t+8,l=this.__readUInt32(e)):(this.version=0,e.position=t+3,l=this.__readUInt24(e)),UInt.gt(js_Boot.__cast(t+l,Int),openfl_utils_ByteArray.get_length(e)))throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("ATF length exceeds byte array length"));this.data=e};$hxClasses["openfl.display3D._internal.atf.ATFReader"]=openfl_display3D__$internal_atf_ATFReader,openfl_display3D__$internal_atf_ATFReader.__name__="openfl.display3D._internal.atf.ATFReader",openfl_display3D__$internal_atf_ATFReader.prototype={atfFormat:null,cubeMap:null,data:null,height:null,mipCount:null,version:null,width:null,readHeader:function(e,t,i){var l=this.data.readUnsignedByte(),n=l>>>7;if(!i&&0!=n)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("ATF Cube map not expected"));if(i&&1!=n)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("ATF Cube map expected"));if(this.cubeMap=i,this.atfFormat=127&l,3!=this.atfFormat&&5!=this.atfFormat&&lime_utils_Log.warn("Only ATF block compressed textures without JPEG-XR+LZMA are supported",{fileName:"openfl/display3D/_internal/atf/ATFReader.hx",lineNumber:96,className:"openfl.display3D._internal.atf.ATFReader",methodName:"readHeader"}),this.width=1<<this.data.readUnsignedByte(),this.height=1<<this.data.readUnsignedByte(),this.width!=e||this.height!=t)throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("ATF width and height dont match"));return this.mipCount=this.data.readUnsignedByte(),5==this.atfFormat},readTextures:function(e){for(var t=this.version<3?3:4,i=0,l=this.cubeMap?6:1;i<l;)for(var n=i++,s=0,a=this.mipCount;s<a;)for(var r=s++,_=0,o=t;_<o;){var h=_++,u=0==this.version?this.__readUInt24(this.data):this.__readUInt32(this.data);if(UInt.gt(this.data.position+u,openfl_utils_ByteArray.get_length(this.data)))throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError("Block length exceeds ATF file length"));if(UInt.gt(u,0)){var d=new haxe_io_Bytes(new ArrayBuffer(u)),c=this.data,p=openfl_utils_ByteArray.fromBytes(d),f=0,m=u;null==m&&(m=0),null==f&&(f=0),c.readBytes(p,f,m),e(n,r,h,this.width>>r,this.height>>r,u,d)}}},__readUInt24:function(e){var t=e.readUnsignedByte()<<16;return t|=e.readUnsignedByte()<<8,t|=e.readUnsignedByte()},__readUInt32:function(e){var t=e.readUnsignedByte()<<24;return t|=e.readUnsignedByte()<<16,t|=e.readUnsignedByte()<<8,t|=e.readUnsignedByte()},__class__:openfl_display3D__$internal_atf_ATFReader};var openfl_display3D_textures_TextureBase=function(e){openfl_events_EventDispatcher.call(this),this.__context=e;var t=this.__context.gl;if(this.__textureID=t.createTexture(),this.__textureContext=this.__context.__context,null==openfl_display3D_textures_TextureBase.__supportsBGRA){openfl_display3D_textures_TextureBase.__textureInternalFormat=t.RGBA;openfl_display3D_textures_TextureBase.__supportsBGRA=!1,openfl_display3D_textures_TextureBase.__textureFormat=t.RGBA,openfl_display3D_textures_TextureBase.__compressedFormats=new haxe_ds_IntMap,openfl_display3D_textures_TextureBase.__compressedFormatsAlpha=new haxe_ds_IntMap;var i=t.getExtension("WEBGL_compressed_texture_s3tc"),l=t.getExtension("WEBGL_compressed_texture_etc1"),n=t.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");if(null!=i){s=i.COMPRESSED_RGBA_S3TC_DXT1_EXT;openfl_display3D_textures_TextureBase.__compressedFormats.h[0]=s;s=i.COMPRESSED_RGBA_S3TC_DXT5_EXT;openfl_display3D_textures_TextureBase.__compressedFormatsAlpha.h[0]=s}if(null!=l){s=l.COMPRESSED_RGB_ETC1_WEBGL;openfl_display3D_textures_TextureBase.__compressedFormats.h[2]=s;s=l.COMPRESSED_RGB_ETC1_WEBGL;openfl_display3D_textures_TextureBase.__compressedFormatsAlpha.h[2]=s}if(null!=n){s=n.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;openfl_display3D_textures_TextureBase.__compressedFormats.h[1]=s;var s=n.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;openfl_display3D_textures_TextureBase.__compressedFormatsAlpha.h[1]=s}}this.__internalFormat=openfl_display3D_textures_TextureBase.__textureInternalFormat,this.__format=openfl_display3D_textures_TextureBase.__textureFormat};$hxClasses["openfl.display3D.textures.TextureBase"]=openfl_display3D_textures_TextureBase,openfl_display3D_textures_TextureBase.__name__="openfl.display3D.textures.TextureBase",openfl_display3D_textures_TextureBase.__compressedFormats=null,openfl_display3D_textures_TextureBase.__compressedFormatsAlpha=null,openfl_display3D_textures_TextureBase.__textureFormat=null,openfl_display3D_textures_TextureBase.__textureInternalFormat=null,openfl_display3D_textures_TextureBase.__super__=openfl_events_EventDispatcher,openfl_display3D_textures_TextureBase.prototype=$extend(openfl_events_EventDispatcher.prototype,{__alphaTexture:null,__context:null,__format:null,__glDepthRenderbuffer:null,__glFramebuffer:null,__glStencilRenderbuffer:null,__height:null,__internalFormat:null,__optimizeForRenderToTexture:null,__samplerState:null,__streamingLevels:null,__textureContext:null,__textureID:null,__textureTarget:null,__width:null,dispose:function(){var e=this.__context.gl;null!=this.__alphaTexture&&(this.__alphaTexture.dispose(),this.__alphaTexture=null),null!=this.__textureID&&(e.deleteTexture(this.__textureID),this.__textureID=null),null!=this.__glFramebuffer&&(e.deleteFramebuffer(this.__glFramebuffer),this.__glFramebuffer=null),null!=this.__glDepthRenderbuffer&&(e.deleteRenderbuffer(this.__glDepthRenderbuffer),this.__glDepthRenderbuffer=null),null!=this.__glStencilRenderbuffer&&(e.deleteRenderbuffer(this.__glStencilRenderbuffer),this.__glStencilRenderbuffer=null)},__getGLFramebuffer:function(e,t,i){var l=this.__context.gl;if(null==this.__glFramebuffer&&(this.__glFramebuffer=l.createFramebuffer(),this.__context.__bindGLFramebuffer(this.__glFramebuffer),l.framebufferTexture2D(l.FRAMEBUFFER,l.COLOR_ATTACHMENT0,l.TEXTURE_2D,this.__textureID,0),this.__context.__enableErrorChecking&&(n=l.checkFramebufferStatus(l.FRAMEBUFFER))!=l.FRAMEBUFFER_COMPLETE&&lime_utils_Log.warn("Error: Context3D.setRenderToTexture status:"+n+" width:"+this.__width+" height:"+this.__height,{fileName:"openfl/display3D/textures/TextureBase.hx",lineNumber:201,className:"openfl.display3D.textures.TextureBase",methodName:"__getGLFramebuffer"})),e&&null==this.__glDepthRenderbuffer){if(this.__context.__bindGLFramebuffer(this.__glFramebuffer),0!=openfl_display3D_Context3D.__glDepthStencil?(this.__glDepthRenderbuffer=l.createRenderbuffer(),this.__glStencilRenderbuffer=this.__glDepthRenderbuffer,l.bindRenderbuffer(l.RENDERBUFFER,this.__glDepthRenderbuffer),l.renderbufferStorage(l.RENDERBUFFER,openfl_display3D_Context3D.__glDepthStencil,this.__width,this.__height),l.framebufferRenderbuffer(l.FRAMEBUFFER,l.DEPTH_STENCIL_ATTACHMENT,l.RENDERBUFFER,this.__glDepthRenderbuffer)):(this.__glDepthRenderbuffer=l.createRenderbuffer(),this.__glStencilRenderbuffer=l.createRenderbuffer(),l.bindRenderbuffer(l.RENDERBUFFER,this.__glDepthRenderbuffer),l.renderbufferStorage(l.RENDERBUFFER,l.DEPTH_COMPONENT16,this.__width,this.__height),l.bindRenderbuffer(l.RENDERBUFFER,this.__glStencilRenderbuffer),l.renderbufferStorage(l.RENDERBUFFER,l.STENCIL_INDEX8,this.__width,this.__height),l.framebufferRenderbuffer(l.FRAMEBUFFER,l.DEPTH_ATTACHMENT,l.RENDERBUFFER,this.__glDepthRenderbuffer),l.framebufferRenderbuffer(l.FRAMEBUFFER,l.STENCIL_ATTACHMENT,l.RENDERBUFFER,this.__glStencilRenderbuffer)),this.__context.__enableErrorChecking){var n=l.checkFramebufferStatus(l.FRAMEBUFFER);n!=l.FRAMEBUFFER_COMPLETE&&lime_utils_Log.warn("Error: Context3D.setRenderToTexture status:"+n+" width:"+this.__width+" height:"+this.__height,{fileName:"openfl/display3D/textures/TextureBase.hx",lineNumber:239,className:"openfl.display3D.textures.TextureBase",methodName:"__getGLFramebuffer"})}l.bindRenderbuffer(l.RENDERBUFFER,null)}return this.__glFramebuffer},__getImage:function(e){var t=e.image;if(!e.__isValid||null==t)return null;lime__$internal_graphics_ImageCanvasUtil.sync(t,!1);var i=this.__context.gl;return t.type==lime_graphics_ImageType.DATA||t.get_premultiplied()?!t.get_premultiplied()&&t.get_transparent()&&(i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,0),(t=t.clone()).set_premultiplied(!0)):i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1),0!=t.get_format()&&((t=t.clone()).set_format(0),t.buffer.premultiplied=!0),t},__getTexture:function(){return this.__textureID},__setSamplerState:function(e){if(!e.equals(this.__samplerState)){var t=this.__context.gl;this.__textureTarget==this.__context.gl.TEXTURE_CUBE_MAP?this.__context.__bindGLTextureCubeMap(this.__textureID):this.__context.__bindGLTexture2D(this.__textureID);var i=0,l=0;switch(e.wrap){case 0:i=t.CLAMP_TO_EDGE,l=t.CLAMP_TO_EDGE;break;case 1:i=t.CLAMP_TO_EDGE,l=t.REPEAT;break;case 2:i=t.REPEAT,l=t.REPEAT;break;case 3:i=t.REPEAT,l=t.CLAMP_TO_EDGE;break;default:throw haxe_Exception.thrown(new openfl_errors_Error("wrap bad enum"))}var n=0,s=0;switch(n=5==e.filter?t.NEAREST:t.LINEAR,e.mipfilter){case 0:s=5==e.filter?t.NEAREST_MIPMAP_LINEAR:t.LINEAR_MIPMAP_LINEAR;break;case 1:s=5==e.filter?t.NEAREST_MIPMAP_NEAREST:t.LINEAR_MIPMAP_NEAREST;break;case 2:s=5==e.filter?t.NEAREST:t.LINEAR;break;default:throw haxe_Exception.thrown(new openfl_errors_Error("mipfiter bad enum"))}t.texParameteri(this.__textureTarget,t.TEXTURE_MIN_FILTER,s),t.texParameteri(this.__textureTarget,t.TEXTURE_MAG_FILTER,n),t.texParameteri(this.__textureTarget,t.TEXTURE_WRAP_S,i),t.texParameteri(this.__textureTarget,t.TEXTURE_WRAP_T,l);e.lodBias;return null==this.__samplerState&&(this.__samplerState=e.clone()),this.__samplerState.copyFrom(e),!0}return!1},__uploadFromImage:function(e){var t,i,l=this.__context.gl;this.__textureTarget==l.TEXTURE_2D&&(1==e.buffer.bitsPerPixel?(t=l.ALPHA,i=l.ALPHA):(t=openfl_display3D_textures_TextureBase.__textureInternalFormat,i=openfl_display3D_textures_TextureBase.__textureFormat),this.__context.__bindGLTexture2D(this.__textureID),e.type==lime_graphics_ImageType.DATA||e.get_premultiplied()?!e.get_premultiplied()&&e.get_transparent()&&l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1):l.pixelStorei(l.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1),e.type==lime_graphics_ImageType.DATA?lime_graphics_WebGLRenderContext.texImage2D(l,l.TEXTURE_2D,0,t,e.buffer.width,e.buffer.height,0,i,l.UNSIGNED_BYTE,e.get_data()):lime_graphics_WebGLRenderContext.texImage2D(l,l.TEXTURE_2D,0,t,i,l.UNSIGNED_BYTE,e.get_src()),this.__context.__bindGLTexture2D(null))},__class__:openfl_display3D_textures_TextureBase});var openfl_display3D_textures_CubeTexture=function(e,t,i,l,n){openfl_display3D_textures_TextureBase.call(this,e),this.__size=t,this.__width=this.__height=this.__size,this.__optimizeForRenderToTexture=l,this.__streamingLevels=n,this.__textureTarget=this.__context.gl.TEXTURE_CUBE_MAP,this.__uploadedSides=0};$hxClasses["openfl.display3D.textures.CubeTexture"]=openfl_display3D_textures_CubeTexture,openfl_display3D_textures_CubeTexture.__name__="openfl.display3D.textures.CubeTexture",openfl_display3D_textures_CubeTexture.__super__=openfl_display3D_textures_TextureBase,openfl_display3D_textures_CubeTexture.prototype=$extend(openfl_display3D_textures_TextureBase.prototype,{__framebufferSurface:null,__size:null,__uploadedSides:null,uploadCompressedTextureFromByteArray:function(e,t,i){null==i&&(i=!1);var l=this;i?haxe_Timer.delay(function(){l.__uploadCompressedTextureFromByteArray(e,t);var i=null;i=new openfl_events_Event("textureReady"),l.dispatchEvent(i)},1):this.__uploadCompressedTextureFromByteArray(e,t)},uploadFromBitmapData:function(e,t,i,l){if(null==l&&(l=!1),null==i&&(i=0),null!=e){var n=this.__size>>i;if(0!=n){var s=this.__getImage(e);if(null!=s){if(0==i&&null!=s.buffer&&null==s.buffer.data&&null!=s.buffer.get_src()){var a=this.__context.gl;if(0==(n=this.__size>>i))return;var r=this.__sideToTarget(t);return this.__context.__bindGLTextureCubeMap(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(a,r,i,this.__internalFormat,this.__format,a.UNSIGNED_BYTE,s.buffer.get_src()),this.__context.__bindGLTextureCubeMap(null),void(this.__uploadedSides|=1<<t)}this.uploadFromTypedArray(s.get_data(),t,i)}}}},uploadFromByteArray:function(e,t,i,l){if(null==l&&(l=0),0!=t){var n=openfl_utils_ByteArray.toArrayBuffer(e),s=t;null==s&&(s=0);var a;a=null!=n?new Uint8Array(n,s):null,this.uploadFromTypedArray(a,i,l)}else this.uploadFromTypedArray(e.b,i,l)},uploadFromTypedArray:function(e,t,i){if(null==i&&(i=0),null!=e){var l=this.__context.gl,n=this.__size>>i;if(0!=n){var s=this.__sideToTarget(t);this.__context.__bindGLTextureCubeMap(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(l,s,i,this.__internalFormat,n,n,0,this.__format,l.UNSIGNED_BYTE,e),this.__context.__bindGLTextureCubeMap(null),this.__uploadedSides|=1<<t}}},__getGLFramebuffer:function(e,t,i){var l=this.__context.gl;if(null==this.__glFramebuffer&&(this.__glFramebuffer=l.createFramebuffer(),this.__framebufferSurface=-1),this.__framebufferSurface!=i&&(this.__framebufferSurface=i,this.__context.__bindGLFramebuffer(this.__glFramebuffer),l.framebufferTexture2D(l.FRAMEBUFFER,l.COLOR_ATTACHMENT0,l.TEXTURE_CUBE_MAP_POSITIVE_X+i,this.__textureID,0),this.__context.__enableErrorChecking)){var n=l.checkFramebufferStatus(l.FRAMEBUFFER);n!=l.FRAMEBUFFER_COMPLETE&&lime_utils_Log.error("Error: Context3D.setRenderToTexture status:"+n+" width:"+this.__width+" height:"+this.__height,{fileName:"openfl/display3D/textures/CubeTexture.hx",lineNumber:278,className:"openfl.display3D.textures.CubeTexture",methodName:"__getGLFramebuffer"})}return openfl_display3D_textures_TextureBase.prototype.__getGLFramebuffer.call(this,e,t,i)},__setSamplerState:function(e){if(openfl_display3D_textures_TextureBase.prototype.__setSamplerState.call(this,e)){var t=this.__context.gl;if(2==e.mipfilter||this.__samplerState.mipmapGenerated||(t.generateMipmap(t.TEXTURE_CUBE_MAP),this.__samplerState.mipmapGenerated=!0),0!=openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy){var i;switch(e.filter){case 0:i=16;break;case 1:i=2;break;case 2:i=4;break;case 3:i=8;break;default:i=1}i>openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy&&(i=openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy),t.texParameterf(t.TEXTURE_CUBE_MAP,openfl_display3D_Context3D.__glTextureMaxAnisotropy,i)}return!0}return!1},__sideToTarget:function(e){var t=this.__context.gl;switch(e){case 0:return t.TEXTURE_CUBE_MAP_POSITIVE_X;case 1:return t.TEXTURE_CUBE_MAP_NEGATIVE_X;case 2:return t.TEXTURE_CUBE_MAP_POSITIVE_Y;case 3:return t.TEXTURE_CUBE_MAP_NEGATIVE_Y;case 4:return t.TEXTURE_CUBE_MAP_POSITIVE_Z;case 5:return t.TEXTURE_CUBE_MAP_NEGATIVE_Z;default:throw haxe_Exception.thrown(new openfl_errors_IllegalOperationError)}},__uploadCompressedTextureFromByteArray:function(e,t){var i=this,l=new openfl_display3D__$internal_atf_ATFReader(e,t),n=l.readHeader(this.__size,this.__size,!0),s=this.__context.gl;this.__context.__bindGLTextureCubeMap(this.__textureID);var a=!1;if(l.readTextures(function(e,t,l,r,_,o,h){var u=n?openfl_display3D_textures_TextureBase.__compressedFormatsAlpha.h[l]:openfl_display3D_textures_TextureBase.__compressedFormats.h[l];if(0!=u){a=!0;var d=i.__sideToTarget(e);if(i.__format=u,i.__internalFormat=u,n&&2==l){var c=o/2|0,p=null,f=null,m=null,x=null,g=h.b.buffer;null==(y=0)&&(y=0);S=null!=p?new Uint8Array(p):null!=f?new Uint8Array(f):null!=m?new Uint8Array(m.__array):null!=x?new Uint8Array(x):null!=g?null==c?new Uint8Array(g,y):new Uint8Array(g,y,c):null,lime_graphics_WebGLRenderContext.compressedTexImage2D(s,d,t,i.__internalFormat,r,_,0,S);var F=new openfl_display3D_textures_CubeTexture(i.__context,i.__size,3,i.__optimizeForRenderToTexture,i.__streamingLevels);F.__format=u,F.__internalFormat=u,i.__context.__bindGLTextureCubeMap(F.__textureID);var p=null,f=null,m=null,x=null,g=h.b.buffer;null==(y=c)&&(y=0);S=null!=p?new Uint8Array(p):null!=f?new Uint8Array(f):null!=m?new Uint8Array(m.__array):null!=x?new Uint8Array(x):null!=g?null==c?new Uint8Array(g,y):new Uint8Array(g,y,c):null,lime_graphics_WebGLRenderContext.compressedTexImage2D(s,d,t,F.__internalFormat,r,_,0,S),i.__alphaTexture=F}else{var p=null,f=null,m=null,x=null,g=h.b.buffer,y=0;null==y&&(y=0);var S;S=null!=p?new Uint8Array(p):null!=f?new Uint8Array(f):null!=m?new Uint8Array(m.__array):null!=x?new Uint8Array(x):null!=g?null==o?new Uint8Array(g,y):new Uint8Array(g,y,o):null,lime_graphics_WebGLRenderContext.compressedTexImage2D(s,d,t,i.__internalFormat,r,_,0,S)}}}),!a){var r=this.__size*this.__size*4,_=null,o=null,h=null,u=null,d=null,e=c=null!=r?new Uint8Array(r):null!=_?new Uint8Array(_):null!=o?new Uint8Array(o.__array):null!=h?new Uint8Array(h):null!=u?null==d?new Uint8Array(u,0):new Uint8Array(u,0,d):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__sideToTarget(0),0,this.__internalFormat,this.__size,this.__size,0,this.__format,s.UNSIGNED_BYTE,e);var _=null,o=null,h=null,u=null,d=null,e=c=null!=(r=this.__size*this.__size*4)?new Uint8Array(r):null!=_?new Uint8Array(_):null!=o?new Uint8Array(o.__array):null!=h?new Uint8Array(h):null!=u?null==d?new Uint8Array(u,0):new Uint8Array(u,0,d):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__sideToTarget(1),0,this.__internalFormat,this.__size,this.__size,0,this.__format,s.UNSIGNED_BYTE,e);var _=null,o=null,h=null,u=null,d=null,e=c=null!=(r=this.__size*this.__size*4)?new Uint8Array(r):null!=_?new Uint8Array(_):null!=o?new Uint8Array(o.__array):null!=h?new Uint8Array(h):null!=u?null==d?new Uint8Array(u,0):new Uint8Array(u,0,d):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__sideToTarget(2),0,this.__internalFormat,this.__size,this.__size,0,this.__format,s.UNSIGNED_BYTE,e);var _=null,o=null,h=null,u=null,d=null,e=c=null!=(r=this.__size*this.__size*4)?new Uint8Array(r):null!=_?new Uint8Array(_):null!=o?new Uint8Array(o.__array):null!=h?new Uint8Array(h):null!=u?null==d?new Uint8Array(u,0):new Uint8Array(u,0,d):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__sideToTarget(3),0,this.__internalFormat,this.__size,this.__size,0,this.__format,s.UNSIGNED_BYTE,e);var _=null,o=null,h=null,u=null,d=null,e=c=null!=(r=this.__size*this.__size*4)?new Uint8Array(r):null!=_?new Uint8Array(_):null!=o?new Uint8Array(o.__array):null!=h?new Uint8Array(h):null!=u?null==d?new Uint8Array(u,0):new Uint8Array(u,0,d):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__sideToTarget(4),0,this.__internalFormat,this.__size,this.__size,0,this.__format,s.UNSIGNED_BYTE,e);var c,_=null,o=null,h=null,u=null,d=null,e=c=null!=(r=this.__size*this.__size*4)?new Uint8Array(r):null!=_?new Uint8Array(_):null!=o?new Uint8Array(o.__array):null!=h?new Uint8Array(h):null!=u?null==d?new Uint8Array(u,0):new Uint8Array(u,0,d):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__sideToTarget(5),0,this.__internalFormat,this.__size,this.__size,0,this.__format,s.UNSIGNED_BYTE,e)}this.__context.__bindGLTextureCubeMap(null)},__class__:openfl_display3D_textures_CubeTexture});var openfl_display3D_textures_RectangleTexture=function(e,t,i,l,n){openfl_display3D_textures_TextureBase.call(this,e),this.__width=t,this.__height=i,this.__optimizeForRenderToTexture=n,this.__textureTarget=this.__context.gl.TEXTURE_2D,this.uploadFromTypedArray(null),n&&this.__getGLFramebuffer(!0,0,0)};$hxClasses["openfl.display3D.textures.RectangleTexture"]=openfl_display3D_textures_RectangleTexture,openfl_display3D_textures_RectangleTexture.__name__="openfl.display3D.textures.RectangleTexture",openfl_display3D_textures_RectangleTexture.__super__=openfl_display3D_textures_TextureBase,openfl_display3D_textures_RectangleTexture.prototype=$extend(openfl_display3D_textures_TextureBase.prototype,{uploadFromBitmapData:function(e){if(null!=e){var t=this.__getImage(e);if(null!=t){if(null!=t.buffer&&null==t.buffer.data&&null!=t.buffer.get_src()){var i=this.__context.gl;return this.__context.__bindGLTexture2D(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(i,this.__textureTarget,0,this.__internalFormat,this.__format,i.UNSIGNED_BYTE,t.buffer.get_src()),void this.__context.__bindGLTexture2D(null)}this.uploadFromTypedArray(t.get_data())}}},uploadFromByteArray:function(e,t){if(0!=t){var i=openfl_utils_ByteArray.toArrayBuffer(e),l=t;null==l&&(l=0);var n;n=null!=i?new Uint8Array(i,l):null,this.uploadFromTypedArray(n)}else this.uploadFromTypedArray(e.b)},uploadFromTypedArray:function(e){var t=this.__context.gl;this.__context.__bindGLTexture2D(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(t,this.__textureTarget,0,this.__internalFormat,this.__width,this.__height,0,this.__format,t.UNSIGNED_BYTE,e),this.__context.__bindGLTexture2D(null)},__setSamplerState:function(e){if(openfl_display3D_textures_TextureBase.prototype.__setSamplerState.call(this,e)){var t=this.__context.gl;if(0!=openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy){var i;switch(e.filter){case 0:i=16;break;case 1:i=2;break;case 2:i=4;break;case 3:i=8;break;default:i=1}i>openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy&&(i=openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy),t.texParameterf(t.TEXTURE_2D,openfl_display3D_Context3D.__glTextureMaxAnisotropy,i)}return!0}return!1},__class__:openfl_display3D_textures_RectangleTexture});var openfl_display3D_textures_Texture=function(e,t,i,l,n,s){openfl_display3D_textures_TextureBase.call(this,e),this.__width=t,this.__height=i,this.__optimizeForRenderToTexture=n,this.__streamingLevels=s;var a=this.__context.gl;this.__textureTarget=a.TEXTURE_2D,this.__context.__bindGLTexture2D(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(a,this.__textureTarget,0,this.__internalFormat,this.__width,this.__height,0,this.__format,a.UNSIGNED_BYTE,null),this.__context.__bindGLTexture2D(null),n&&this.__getGLFramebuffer(!0,0,0)};$hxClasses["openfl.display3D.textures.Texture"]=openfl_display3D_textures_Texture,openfl_display3D_textures_Texture.__name__="openfl.display3D.textures.Texture",openfl_display3D_textures_Texture.__super__=openfl_display3D_textures_TextureBase,openfl_display3D_textures_Texture.prototype=$extend(openfl_display3D_textures_TextureBase.prototype,{uploadCompressedTextureFromByteArray:function(e,t,i){null==i&&(i=!1);var l=this;i?haxe_Timer.delay(function(){l.__uploadCompressedTextureFromByteArray(e,t);var i=null;i=new openfl_events_Event("textureReady"),l.dispatchEvent(i)},1):this.__uploadCompressedTextureFromByteArray(e,t)},uploadFromBitmapData:function(e,t,i){if(null==i&&(i=!1),null==t&&(t=0),null!=e){var l=this.__width>>t,n=this.__height>>t;if(0!=l||0!=n){if(0==l&&(l=1),0==n&&(n=1),e.width!=l||e.height!=n){var s=new openfl_display_BitmapData(l,n,!0,0);s.draw(e),e=s}var a=this.__getImage(e);if(null!=a){if(0==t&&null!=a.buffer&&null==a.buffer.data&&null!=a.buffer.get_src()){var r=this.__context.gl,l=this.__width>>t,n=this.__height>>t;if(0==l&&0==n)return;return 0==l&&(l=1),0==n&&(n=1),this.__context.__bindGLTexture2D(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(r,this.__textureTarget,t,this.__internalFormat,this.__format,r.UNSIGNED_BYTE,a.buffer.get_src()),void this.__context.__bindGLTexture2D(null)}this.uploadFromTypedArray(a.get_data(),t)}}}},uploadFromByteArray:function(e,t,i){if(null==i&&(i=0),0!=t){var l=openfl_utils_ByteArray.toArrayBuffer(e),n=t;null==n&&(n=0);var s;s=null!=l?new Uint8Array(l,n):null,this.uploadFromTypedArray(s,i)}else this.uploadFromTypedArray(e.b,i)},uploadFromTypedArray:function(e,t){if(null==t&&(t=0),null!=e){var i=this.__context.gl,l=this.__width>>t,n=this.__height>>t;0==l&&0==n||(0==l&&(l=1),0==n&&(n=1),this.__context.__bindGLTexture2D(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(i,this.__textureTarget,t,this.__internalFormat,l,n,0,this.__format,i.UNSIGNED_BYTE,e),this.__context.__bindGLTexture2D(null))}},__setSamplerState:function(e){if(openfl_display3D_textures_TextureBase.prototype.__setSamplerState.call(this,e)){var t=this.__context.gl;if(2==e.mipfilter||this.__samplerState.mipmapGenerated||(t.generateMipmap(t.TEXTURE_2D),this.__samplerState.mipmapGenerated=!0),0!=openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy){var i;switch(e.filter){case 0:i=16;break;case 1:i=2;break;case 2:i=4;break;case 3:i=8;break;default:i=1}i>openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy&&(i=openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy),t.texParameterf(t.TEXTURE_2D,openfl_display3D_Context3D.__glTextureMaxAnisotropy,i)}return!0}return!1},__uploadCompressedTextureFromByteArray:function(e,t){var i=this,l=new openfl_display3D__$internal_atf_ATFReader(e,t),n=l.readHeader(this.__width,this.__height,!1),s=this.__context.gl;this.__context.__bindGLTexture2D(this.__textureID);var a=!1;if(l.readTextures(function(e,t,l,r,_,o,h){var u=n?openfl_display3D_textures_TextureBase.__compressedFormatsAlpha.h[l]:openfl_display3D_textures_TextureBase.__compressedFormats.h[l];if(0!=u)if(a=!0,i.__format=u,i.__internalFormat=u,n&&2==l){var d=o/2|0,c=null,p=null,f=null,m=null,x=h.b.buffer;null==(F=0)&&(F=0);y=null!=c?new Uint8Array(c):null!=p?new Uint8Array(p):null!=f?new Uint8Array(f.__array):null!=m?new Uint8Array(m):null!=x?null==d?new Uint8Array(x,F):new Uint8Array(x,F,d):null,lime_graphics_WebGLRenderContext.compressedTexImage2D(s,i.__textureTarget,t,i.__internalFormat,r,_,0,y);var g=new openfl_display3D_textures_Texture(i.__context,i.__width,i.__height,3,i.__optimizeForRenderToTexture,i.__streamingLevels);g.__format=u,g.__internalFormat=u,i.__context.__bindGLTexture2D(g.__textureID);var c=null,p=null,f=null,m=null,x=h.b.buffer;null==(F=d)&&(F=0);y=null!=c?new Uint8Array(c):null!=p?new Uint8Array(p):null!=f?new Uint8Array(f.__array):null!=m?new Uint8Array(m):null!=x?null==d?new Uint8Array(x,F):new Uint8Array(x,F,d):null,lime_graphics_WebGLRenderContext.compressedTexImage2D(s,g.__textureTarget,t,g.__internalFormat,r,_,0,y),i.__alphaTexture=g}else{var c=null,p=null,f=null,m=null,x=h.b.buffer,F=0;null==F&&(F=0);var y;y=null!=c?new Uint8Array(c):null!=p?new Uint8Array(p):null!=f?new Uint8Array(f.__array):null!=m?new Uint8Array(m):null!=x?null==o?new Uint8Array(x,F):new Uint8Array(x,F,o):null,lime_graphics_WebGLRenderContext.compressedTexImage2D(s,i.__textureTarget,t,i.__internalFormat,r,_,0,y)}}),!a){var r,_=this.__width*this.__height*4,e=r=null!=_?new Uint8Array(_):null;lime_graphics_WebGLRenderContext.texImage2D(s,this.__textureTarget,0,this.__internalFormat,this.__width,this.__height,0,this.__format,s.UNSIGNED_BYTE,e)}this.__context.__bindGLTexture2D(null)},__class__:openfl_display3D_textures_Texture});var openfl_display3D_textures_VideoTexture=function(e){openfl_display3D_textures_TextureBase.call(this,e),this.__textureTarget=this.__context.gl.TEXTURE_2D};$hxClasses["openfl.display3D.textures.VideoTexture"]=openfl_display3D_textures_VideoTexture,openfl_display3D_textures_VideoTexture.__name__="openfl.display3D.textures.VideoTexture",openfl_display3D_textures_VideoTexture.__super__=openfl_display3D_textures_TextureBase,openfl_display3D_textures_VideoTexture.prototype=$extend(openfl_display3D_textures_TextureBase.prototype,{videoHeight:null,videoWidth:null,__cacheTime:null,__netStream:null,attachNetStream:function(e){var t=this;null!=this.__netStream&&this.__netStream.__video.removeEventListener("canplay",$bind(this,this.__onCanPlay),!1),this.__cacheTime=-1,this.__netStream=e,null!=this.__netStream&&(this.__netStream.__video.readyState>=2?haxe_Timer.delay(function(){t.__textureReady()},0):this.__netStream.__video.addEventListener("canplay",$bind(this,this.__onCanPlay),!1))},dispose:function(){null!=this.__netStream&&null!=this.__netStream.__video&&this.__netStream.__video.removeEventListener("timeupdate",$bind(this,this.__onTimeUpdate)),openfl_display3D_textures_TextureBase.prototype.dispose.call(this)},__onCanPlay:function(e){this.__netStream.__video.addEventListener("timeupdate",$bind(this,this.__onTimeUpdate)),this.__textureReady()},__onTimeUpdate:function(e){null!=this.__netStream&&this.__netStream.__video.currentTime!=this.__cacheTime&&this.__netStream.__video.readyState>=2&&this.__textureReady()},__getTexture:function(){if(this.__netStream.__video.currentTime!=this.__cacheTime&&this.__netStream.__video.readyState>=2){var e=this.__context.gl;this.__context.__bindGLTexture2D(this.__textureID),lime_graphics_WebGLRenderContext.texImage2D(e,e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,this.__netStream.__video),this.__cacheTime=this.__netStream.__video.currentTime}return this.__textureID},__textureReady:function(){this.videoWidth=this.__netStream.__video.videoWidth,this.videoHeight=this.__netStream.__video.videoHeight;var e=null;e=new openfl_events_Event("textureReady"),this.dispatchEvent(e)},__class__:openfl_display3D_textures_VideoTexture});var openfl_errors_Error=function(e,t){null==t&&(t=0),null==e&&(e=""),this.message=e,this.errorID=t,this.name="Error"};$hxClasses["openfl.errors.Error"]=openfl_errors_Error,openfl_errors_Error.__name__="openfl.errors.Error",openfl_errors_Error.prototype={errorID:null,message:null,name:null,getStackTrace:function(){return haxe_CallStack.toString(haxe_CallStack.exceptionStack())},toString:function(){return null!=this.message?this.message:"Error"},__class__:openfl_errors_Error};var openfl_errors_ArgumentError=function(e){null==e&&(e=""),openfl_errors_Error.call(this,e),this.name="ArgumentError"};$hxClasses["openfl.errors.ArgumentError"]=openfl_errors_ArgumentError,openfl_errors_ArgumentError.__name__="openfl.errors.ArgumentError",openfl_errors_ArgumentError.__super__=openfl_errors_Error,openfl_errors_ArgumentError.prototype=$extend(openfl_errors_Error.prototype,{__class__:openfl_errors_ArgumentError});var openfl_errors_IOError=function(e){null==e&&(e=""),openfl_errors_Error.call(this,e),this.name="IOError"};$hxClasses["openfl.errors.IOError"]=openfl_errors_IOError,openfl_errors_IOError.__name__="openfl.errors.IOError",openfl_errors_IOError.__super__=openfl_errors_Error,openfl_errors_IOError.prototype=$extend(openfl_errors_Error.prototype,{__class__:openfl_errors_IOError});var openfl_errors_EOFError=function(e,t){null==t&&(t=0),openfl_errors_IOError.call(this,"End of file was encountered"),this.name="EOFError",this.errorID=2030};$hxClasses["openfl.errors.EOFError"]=openfl_errors_EOFError,openfl_errors_EOFError.__name__="openfl.errors.EOFError",openfl_errors_EOFError.__super__=openfl_errors_IOError,openfl_errors_EOFError.prototype=$extend(openfl_errors_IOError.prototype,{__class__:openfl_errors_EOFError});var openfl_errors_IllegalOperationError=function(e){null==e&&(e=""),openfl_errors_Error.call(this,e,0),this.name="IllegalOperationError"};$hxClasses["openfl.errors.IllegalOperationError"]=openfl_errors_IllegalOperationError,openfl_errors_IllegalOperationError.__name__="openfl.errors.IllegalOperationError",openfl_errors_IllegalOperationError.__super__=openfl_errors_Error,openfl_errors_IllegalOperationError.prototype=$extend(openfl_errors_Error.prototype,{__class__:openfl_errors_IllegalOperationError});var openfl_errors_RangeError=function(e){null==e&&(e=""),openfl_errors_Error.call(this,e,0),this.name="RangeError"};$hxClasses["openfl.errors.RangeError"]=openfl_errors_RangeError,openfl_errors_RangeError.__name__="openfl.errors.RangeError",openfl_errors_RangeError.__super__=openfl_errors_Error,openfl_errors_RangeError.prototype=$extend(openfl_errors_Error.prototype,{__class__:openfl_errors_RangeError});var openfl_errors_TypeError=function(e){null==e&&(e=""),openfl_errors_Error.call(this,e,0),this.name="TypeError"};$hxClasses["openfl.errors.TypeError"]=openfl_errors_TypeError,openfl_errors_TypeError.__name__="openfl.errors.TypeError",openfl_errors_TypeError.__super__=openfl_errors_Error,openfl_errors_TypeError.prototype=$extend(openfl_errors_Error.prototype,{__class__:openfl_errors_TypeError});var openfl_events_Event=function(e,t,i){null==i&&(i=!1),null==t&&(t=!1),this.type=e,this.bubbles=t,this.cancelable=i,this.eventPhase=2};$hxClasses["openfl.events.Event"]=openfl_events_Event,openfl_events_Event.__name__="openfl.events.Event",openfl_events_Event.prototype={bubbles:null,cancelable:null,currentTarget:null,eventPhase:null,target:null,type:null,__isCanceled:null,__isCanceledNow:null,__preventDefault:null,clone:function(){var e=new openfl_events_Event(this.type,this.bubbles,this.cancelable);return e.eventPhase=this.eventPhase,e.target=this.target,e.currentTarget=this.currentTarget,e},formatToString:function(e,t,i,l,n,s){var a=[];return null!=t&&a.push(t),null!=i&&a.push(i),null!=l&&a.push(l),null!=n&&a.push(n),null!=s&&a.push(s),$bind(this,this.__formatToString).apply(this,[e,a])},isDefaultPrevented:function(){return this.__preventDefault},preventDefault:function(){this.cancelable&&(this.__preventDefault=!0)},stopImmediatePropagation:function(){this.__isCanceled=!0,this.__isCanceledNow=!0},stopPropagation:function(){this.__isCanceled=!0},toString:function(){return this.__formatToString("Event",["type","bubbles","cancelable"])},__formatToString:function(e,t){for(var i="["+e,l=null,n=0;n<t.length;){var s=t[n];++n,i+="string"==typeof(l=Reflect.field(this,s))?" "+s+'="'+Std.string(l)+'"':" "+s+"="+Std.string(l)}return i+="]"},__init:function(){this.target=null,this.currentTarget=null,this.bubbles=!1,this.cancelable=!1,this.eventPhase=2,this.__isCanceled=!1,this.__isCanceledNow=!1,this.__preventDefault=!1},__class__:openfl_events_Event};var openfl_events_AccelerometerEvent=function(e,t,i,l,n,s,a){null==a&&(a=0),null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.timestamp=l,this.accelerationX=n,this.accelerationY=s,this.accelerationZ=a};$hxClasses["openfl.events.AccelerometerEvent"]=openfl_events_AccelerometerEvent,openfl_events_AccelerometerEvent.__name__="openfl.events.AccelerometerEvent",openfl_events_AccelerometerEvent.__super__=openfl_events_Event,openfl_events_AccelerometerEvent.prototype=$extend(openfl_events_Event.prototype,{accelerationX:null,accelerationY:null,accelerationZ:null,timestamp:null,clone:function(){var e=new openfl_events_AccelerometerEvent(this.type,this.bubbles,this.cancelable,this.timestamp,this.accelerationX,this.accelerationY,this.accelerationZ);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("AccelerometerEvent",["type","bubbles","cancelable","timestamp","accelerationX","accelerationY","accelerationZ"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.timestamp=0,this.accelerationX=0,this.accelerationY=0,this.accelerationZ=0},__class__:openfl_events_AccelerometerEvent});var openfl_events_ActivityEvent=function(e,t,i,l){null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.activating=l};$hxClasses["openfl.events.ActivityEvent"]=openfl_events_ActivityEvent,openfl_events_ActivityEvent.__name__="openfl.events.ActivityEvent",openfl_events_ActivityEvent.__super__=openfl_events_Event,openfl_events_ActivityEvent.prototype=$extend(openfl_events_Event.prototype,{activating:null,clone:function(){var e=new openfl_events_ActivityEvent(this.type,this.bubbles,this.cancelable,this.activating);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("ActivityEvent",["type","bubbles","cancelable","activating"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.activating=!1},__class__:openfl_events_ActivityEvent});var openfl_events_TextEvent=function(e,t,i,l){null==l&&(l=""),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.text=l};$hxClasses["openfl.events.TextEvent"]=openfl_events_TextEvent,openfl_events_TextEvent.__name__="openfl.events.TextEvent",openfl_events_TextEvent.__super__=openfl_events_Event,openfl_events_TextEvent.prototype=$extend(openfl_events_Event.prototype,{text:null,clone:function(){var e=new openfl_events_TextEvent(this.type,this.bubbles,this.cancelable,this.text);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("TextEvent",["type","bubbles","cancelable","text"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.text=""},__class__:openfl_events_TextEvent});var openfl_events_ErrorEvent=function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=""),null==i&&(i=!1),null==t&&(t=!1),openfl_events_TextEvent.call(this,e,t,i,l),this.errorID=n};$hxClasses["openfl.events.ErrorEvent"]=openfl_events_ErrorEvent,openfl_events_ErrorEvent.__name__="openfl.events.ErrorEvent",openfl_events_ErrorEvent.__super__=openfl_events_TextEvent,openfl_events_ErrorEvent.prototype=$extend(openfl_events_TextEvent.prototype,{errorID:null,clone:function(){var e=new openfl_events_ErrorEvent(this.type,this.bubbles,this.cancelable,this.text,this.errorID);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("ErrorEvent",["type","bubbles","cancelable","text","errorID"])},__init:function(){openfl_events_TextEvent.prototype.__init.call(this),this.errorID=0},__class__:openfl_events_ErrorEvent});var openfl_events__$EventDispatcher_DispatchIterator=function(e){this.active=!1,this.reset(e)};$hxClasses["openfl.events._EventDispatcher.DispatchIterator"]=openfl_events__$EventDispatcher_DispatchIterator,openfl_events__$EventDispatcher_DispatchIterator.__name__="openfl.events._EventDispatcher.DispatchIterator",openfl_events__$EventDispatcher_DispatchIterator.prototype={active:null,index:null,isCopy:null,list:null,copy:function(){this.isCopy||(this.list=this.list.slice(),this.isCopy=!0)},hasNext:function(){return this.index<this.list.length},next:function(){return this.list[this.index++]},remove:function(e,t){if(this.active)if(this.isCopy)for(var i=this.index,l=this.list.length;i<l;){var n=i++;if(this.list[n]==e){this.list.splice(n,1);break}}else t<this.index&&this.index--},reset:function(e){this.list=e,this.isCopy=!1,this.index=0},start:function(){this.active=!0},stop:function(){this.active=!1},__class__:openfl_events__$EventDispatcher_DispatchIterator};var openfl_events__$EventDispatcher_Listener=function(e,t,i){this.callback=e,this.useCapture=t,this.priority=i};$hxClasses["openfl.events._EventDispatcher.Listener"]=openfl_events__$EventDispatcher_Listener,openfl_events__$EventDispatcher_Listener.__name__="openfl.events._EventDispatcher.Listener",openfl_events__$EventDispatcher_Listener.prototype={callback:null,priority:null,useCapture:null,match:function(e,t){return!!Reflect.compareMethods(this.callback,e)&&this.useCapture==t},__class__:openfl_events__$EventDispatcher_Listener};var openfl_events_EventType={};openfl_events_EventType.equals=function(e,t){return e==t},openfl_events_EventType.notEquals=function(e,t){return e!=t};var openfl_events_FocusEvent=function(e,t,i,l,n,s){null==s&&(s=0),null==n&&(n=!1),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.keyCode=s,this.shiftKey=n,this.relatedObject=l};$hxClasses["openfl.events.FocusEvent"]=openfl_events_FocusEvent,openfl_events_FocusEvent.__name__="openfl.events.FocusEvent",openfl_events_FocusEvent.__super__=openfl_events_Event,openfl_events_FocusEvent.prototype=$extend(openfl_events_Event.prototype,{keyCode:null,relatedObject:null,shiftKey:null,clone:function(){var e=new openfl_events_FocusEvent(this.type,this.bubbles,this.cancelable,this.relatedObject,this.shiftKey,this.keyCode);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("FocusEvent",["type","bubbles","cancelable","relatedObject","shiftKey","keyCode"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.keyCode=0,this.shiftKey=!1,this.relatedObject=null},__class__:openfl_events_FocusEvent});var openfl_events_FullScreenEvent=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=!1),null==i&&(i=!1),null==t&&(t=!1),openfl_events_ActivityEvent.call(this,e,t,i),this.fullScreen=l,this.interactive=n};$hxClasses["openfl.events.FullScreenEvent"]=openfl_events_FullScreenEvent,openfl_events_FullScreenEvent.__name__="openfl.events.FullScreenEvent",openfl_events_FullScreenEvent.__super__=openfl_events_ActivityEvent,openfl_events_FullScreenEvent.prototype=$extend(openfl_events_ActivityEvent.prototype,{fullScreen:null,interactive:null,clone:function(){var e=new openfl_events_FullScreenEvent(this.type,this.bubbles,this.cancelable,this.fullScreen,this.interactive);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("FullscreenEvent",["type","bubbles","cancelable","fullscreen","interactive"])},__init:function(){openfl_events_ActivityEvent.prototype.__init.call(this),this.fullScreen=!1,this.interactive=!1},__class__:openfl_events_FullScreenEvent});var openfl_events_GameInputEvent=function(e,t,i,l){null==i&&(i=!1),null==t&&(t=!0),openfl_events_Event.call(this,e,t,i),this.device=l};$hxClasses["openfl.events.GameInputEvent"]=openfl_events_GameInputEvent,openfl_events_GameInputEvent.__name__="openfl.events.GameInputEvent",openfl_events_GameInputEvent.__super__=openfl_events_Event,openfl_events_GameInputEvent.prototype=$extend(openfl_events_Event.prototype,{device:null,clone:function(){var e=new openfl_events_GameInputEvent(this.type,this.bubbles,this.cancelable,this.device);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("GameInputEvent",["type","bubbles","cancelable","device"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.device=null},__class__:openfl_events_GameInputEvent});var openfl_events_HTTPStatusEvent=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1),this.status=l,this.redirected=n,openfl_events_Event.call(this,e,t,i)};$hxClasses["openfl.events.HTTPStatusEvent"]=openfl_events_HTTPStatusEvent,openfl_events_HTTPStatusEvent.__name__="openfl.events.HTTPStatusEvent",openfl_events_HTTPStatusEvent.__super__=openfl_events_Event,openfl_events_HTTPStatusEvent.prototype=$extend(openfl_events_Event.prototype,{redirected:null,responseHeaders:null,responseURL:null,status:null,clone:function(){var e=new openfl_events_HTTPStatusEvent(this.type,this.bubbles,this.cancelable,this.status,this.redirected);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("HTTPStatusEvent",["type","bubbles","cancelable","status","redirected"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.status=0,this.redirected=!1},__class__:openfl_events_HTTPStatusEvent});var openfl_events_IOErrorEvent=function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=""),null==i&&(i=!1),null==t&&(t=!0),openfl_events_ErrorEvent.call(this,e,t,i,l,n)};$hxClasses["openfl.events.IOErrorEvent"]=openfl_events_IOErrorEvent,openfl_events_IOErrorEvent.__name__="openfl.events.IOErrorEvent",openfl_events_IOErrorEvent.__super__=openfl_events_ErrorEvent,openfl_events_IOErrorEvent.prototype=$extend(openfl_events_ErrorEvent.prototype,{clone:function(){var e=new openfl_events_IOErrorEvent(this.type,this.bubbles,this.cancelable,this.text,this.errorID);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("IOErrorEvent",["type","bubbles","cancelable","text","errorID"])},__class__:openfl_events_IOErrorEvent});var openfl_events_KeyboardEvent=function(e,t,i,l,n,s,a,r,_,o,h){null==h&&(h=!1),null==o&&(o=!1),null==_&&(_=!1),null==r&&(r=!1),null==a&&(a=!1),null==n&&(n=0),null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.charCode=l,this.keyCode=n,this.keyLocation=null!=s?s:0,this.ctrlKey=a,this.altKey=r,this.shiftKey=_,this.controlKey=o,this.commandKey=h};$hxClasses["openfl.events.KeyboardEvent"]=openfl_events_KeyboardEvent,openfl_events_KeyboardEvent.__name__="openfl.events.KeyboardEvent",openfl_events_KeyboardEvent.__super__=openfl_events_Event,openfl_events_KeyboardEvent.prototype=$extend(openfl_events_Event.prototype,{altKey:null,charCode:null,commandKey:null,controlKey:null,ctrlKey:null,keyCode:null,keyLocation:null,shiftKey:null,clone:function(){var e=new openfl_events_KeyboardEvent(this.type,this.bubbles,this.cancelable,this.charCode,this.keyCode,this.keyLocation,this.ctrlKey,this.altKey,this.shiftKey,this.controlKey,this.commandKey);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("KeyboardEvent",["type","bubbles","cancelable","charCode","keyCode","keyLocation","ctrlKey","altKey","shiftKey"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.charCode=0,this.keyCode=0,this.keyLocation=0,this.ctrlKey=!1,this.altKey=!1,this.shiftKey=!1,this.controlKey=!1,this.commandKey=!1},__class__:openfl_events_KeyboardEvent});var openfl_events_MouseEvent=function(e,t,i,l,n,s,a,r,_,o,h,u,d){null==d&&(d=0),null==u&&(u=!1),null==h&&(h=0),null==o&&(o=!1),null==_&&(_=!1),null==r&&(r=!1),null==a&&(a=!1),null==n&&(n=0),null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!0),openfl_events_Event.call(this,e,t,i),this.shiftKey=_,this.altKey=r,this.ctrlKey=a,this.bubbles=t,this.relatedObject=s,this.delta=h,this.localX=l,this.localY=n,this.buttonDown=o,this.commandKey=u,this.clickCount=d,this.isRelatedObjectInaccessible=!1,this.stageX=NaN,this.stageY=NaN};$hxClasses["openfl.events.MouseEvent"]=openfl_events_MouseEvent,openfl_events_MouseEvent.__name__="openfl.events.MouseEvent",openfl_events_MouseEvent.__altKey=null,openfl_events_MouseEvent.__buttonDown=null,openfl_events_MouseEvent.__commandKey=null,openfl_events_MouseEvent.__ctrlKey=null,openfl_events_MouseEvent.__shiftKey=null,openfl_events_MouseEvent.__create=function(e,t,i,l,n,s,a){null==a&&(a=0);var r=new openfl_events_MouseEvent(e,!0,!1,n.x,n.y,null,openfl_events_MouseEvent.__ctrlKey,openfl_events_MouseEvent.__altKey,openfl_events_MouseEvent.__shiftKey,openfl_events_MouseEvent.__buttonDown,a,openfl_events_MouseEvent.__commandKey);return r.stageX=i,r.stageY=l,r.target=s,r},openfl_events_MouseEvent.__super__=openfl_events_Event,openfl_events_MouseEvent.prototype=$extend(openfl_events_Event.prototype,{altKey:null,buttonDown:null,commandKey:null,clickCount:null,ctrlKey:null,delta:null,isRelatedObjectInaccessible:null,localX:null,localY:null,relatedObject:null,shiftKey:null,stageX:null,stageY:null,clone:function(){var e=new openfl_events_MouseEvent(this.type,this.bubbles,this.cancelable,this.localX,this.localY,this.relatedObject,this.ctrlKey,this.altKey,this.shiftKey,this.buttonDown,this.delta,this.commandKey,this.clickCount);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("MouseEvent",["type","bubbles","cancelable","localX","localY","relatedObject","ctrlKey","altKey","shiftKey","buttonDown","delta"])},updateAfterEvent:function(){},__init:function(){openfl_events_Event.prototype.__init.call(this),this.shiftKey=!1,this.altKey=!1,this.ctrlKey=!1,this.bubbles=!1,this.relatedObject=null,this.delta=0,this.localX=0,this.localY=0,this.buttonDown=!1,this.commandKey=!1,this.clickCount=0,this.isRelatedObjectInaccessible=!1,this.stageX=NaN,this.stageY=NaN},__class__:openfl_events_MouseEvent});var openfl_events_NetStatusEvent=function(e,t,i,l){null==i&&(i=!1),null==t&&(t=!1),this.info=l,openfl_events_Event.call(this,e,t,i)};$hxClasses["openfl.events.NetStatusEvent"]=openfl_events_NetStatusEvent,openfl_events_NetStatusEvent.__name__="openfl.events.NetStatusEvent",openfl_events_NetStatusEvent.__super__=openfl_events_Event,openfl_events_NetStatusEvent.prototype=$extend(openfl_events_Event.prototype,{info:null,clone:function(){var e=new openfl_events_NetStatusEvent(this.type,this.bubbles,this.cancelable,this.info);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("NetStatusEvent",["type","bubbles","cancelable","info"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.info=null},__class__:openfl_events_NetStatusEvent});var openfl_events_ProgressEvent=function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.bytesLoaded=l,this.bytesTotal=n};$hxClasses["openfl.events.ProgressEvent"]=openfl_events_ProgressEvent,openfl_events_ProgressEvent.__name__="openfl.events.ProgressEvent",openfl_events_ProgressEvent.__super__=openfl_events_Event,openfl_events_ProgressEvent.prototype=$extend(openfl_events_Event.prototype,{bytesLoaded:null,bytesTotal:null,clone:function(){var e=new openfl_events_ProgressEvent(this.type,this.bubbles,this.cancelable,this.bytesLoaded,this.bytesTotal);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("ProgressEvent",["type","bubbles","cancelable","bytesLoaded","bytesTotal"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.bytesLoaded=0,this.bytesTotal=0},__class__:openfl_events_ProgressEvent});var openfl_events_RenderEvent=function(e,t,i,l,n,s){null==s&&(s=!0),null==i&&(i=!1),null==t&&(t=!1),openfl_events_Event.call(this,e,t,i),this.objectMatrix=l,this.objectColorTransform=n,this.allowSmoothing=s};$hxClasses["openfl.events.RenderEvent"]=openfl_events_RenderEvent,openfl_events_RenderEvent.__name__="openfl.events.RenderEvent",openfl_events_RenderEvent.__super__=openfl_events_Event,openfl_events_RenderEvent.prototype=$extend(openfl_events_Event.prototype,{allowSmoothing:null,objectColorTransform:null,objectMatrix:null,renderer:null,clone:function(){var e=new openfl_events_RenderEvent(this.type,this.bubbles,this.cancelable,this.objectMatrix.clone(),this.objectColorTransform.__clone(),this.allowSmoothing);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("RenderEvent",["type","bubbles","cancelable"])},__init:function(){openfl_events_Event.prototype.__init.call(this),this.objectMatrix=null,this.objectColorTransform=null,this.allowSmoothing=!1,this.renderer=null},__class__:openfl_events_RenderEvent});var openfl_events_SecurityErrorEvent=function(e,t,i,l,n){null==n&&(n=0),null==l&&(l=""),null==i&&(i=!1),null==t&&(t=!1),openfl_events_ErrorEvent.call(this,e,t,i,l,n)};$hxClasses["openfl.events.SecurityErrorEvent"]=openfl_events_SecurityErrorEvent,openfl_events_SecurityErrorEvent.__name__="openfl.events.SecurityErrorEvent",openfl_events_SecurityErrorEvent.__super__=openfl_events_ErrorEvent,openfl_events_SecurityErrorEvent.prototype=$extend(openfl_events_ErrorEvent.prototype,{clone:function(){var e=new openfl_events_SecurityErrorEvent(this.type,this.bubbles,this.cancelable,this.text,this.errorID);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("SecurityErrorEvent",["type","bubbles","cancelable","text","errorID"])},__class__:openfl_events_SecurityErrorEvent});var openfl_events_TouchEvent=function(e,t,i,l,n,s,a,r,_,o,h,u,d,c,p,f,m,x,g,F){null==F&&(F=!1),null==m&&(m=0),null==f&&(f=!1),null==p&&(p=!1),null==c&&(c=!1),null==d&&(d=!1),null==u&&(u=!1),null==o&&(o=0),null==_&&(_=0),null==r&&(r=0),null==a&&(a=0),null==s&&(s=0),null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),null==t&&(t=!0),openfl_events_Event.call(this,e,t,i),this.touchPointID=l,this.isPrimaryTouchPoint=n,this.localX=s,this.localY=a,this.sizeX=r,this.sizeY=_,this.pressure=o,this.relatedObject=h,this.ctrlKey=u,this.altKey=d,this.shiftKey=c,this.commandKey=p,this.controlKey=f,this.stageX=NaN,this.stageY=NaN};$hxClasses["openfl.events.TouchEvent"]=openfl_events_TouchEvent,openfl_events_TouchEvent.__name__="openfl.events.TouchEvent",openfl_events_TouchEvent.__create=function(e,t,i,l,n,s){var a=new openfl_events_TouchEvent(e,!0,!1,0,!0,n.x,n.y,1,1,1);return a.stageX=i,a.stageY=l,a.target=s,a},openfl_events_TouchEvent.__super__=openfl_events_Event,openfl_events_TouchEvent.prototype=$extend(openfl_events_Event.prototype,{altKey:null,commandKey:null,controlKey:null,ctrlKey:null,delta:null,isPrimaryTouchPoint:null,localX:null,localY:null,pressure:null,relatedObject:null,shiftKey:null,sizeX:null,sizeY:null,stageX:null,stageY:null,touchPointID:null,clone:function(){var e=new openfl_events_TouchEvent(this.type,this.bubbles,this.cancelable,this.touchPointID,this.isPrimaryTouchPoint,this.localX,this.localY,this.sizeX,this.sizeY,this.pressure,this.relatedObject,this.ctrlKey,this.altKey,this.shiftKey,this.commandKey,this.controlKey);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("TouchEvent",["type","bubbles","cancelable","touchPointID","isPrimaryTouchPoint","localX","localY","sizeX","sizeY","pressure","relatedObject","ctrlKey","altKey","shiftKey","commandKey","controlKey"])},updateAfterEvent:function(){},__init:function(){openfl_events_Event.prototype.__init.call(this),this.touchPointID=0,this.isPrimaryTouchPoint=!1,this.localX=0,this.localY=0,this.sizeX=0,this.sizeY=0,this.pressure=0,this.relatedObject=null,this.ctrlKey=!1,this.altKey=!1,this.shiftKey=!1,this.commandKey=!1,this.controlKey=!1,this.stageX=NaN,this.stageY=NaN},__class__:openfl_events_TouchEvent});var openfl_events_UncaughtErrorEvent=function(e,t,i,l){null==i&&(i=!0),null==t&&(t=!0),openfl_events_ErrorEvent.call(this,e,t,i),this.error=l};$hxClasses["openfl.events.UncaughtErrorEvent"]=openfl_events_UncaughtErrorEvent,openfl_events_UncaughtErrorEvent.__name__="openfl.events.UncaughtErrorEvent",openfl_events_UncaughtErrorEvent.__super__=openfl_events_ErrorEvent,openfl_events_UncaughtErrorEvent.prototype=$extend(openfl_events_ErrorEvent.prototype,{error:null,clone:function(){var e=new openfl_events_UncaughtErrorEvent(this.type,this.bubbles,this.cancelable,this.error);return e.target=this.target,e.currentTarget=this.currentTarget,e.eventPhase=this.eventPhase,e},toString:function(){return this.__formatToString("UncaughtErrorEvent",["type","bubbles","cancelable","error"])},__init:function(){openfl_events_ErrorEvent.prototype.__init.call(this),this.error=null},__class__:openfl_events_UncaughtErrorEvent});var openfl_events_UncaughtErrorEvents=function(){openfl_events_EventDispatcher.call(this)};$hxClasses["openfl.events.UncaughtErrorEvents"]=openfl_events_UncaughtErrorEvents,openfl_events_UncaughtErrorEvents.__name__="openfl.events.UncaughtErrorEvents",openfl_events_UncaughtErrorEvents.__super__=openfl_events_EventDispatcher,openfl_events_UncaughtErrorEvents.prototype=$extend(openfl_events_EventDispatcher.prototype,{__class__:openfl_events_UncaughtErrorEvents});var openfl_filters_BitmapFilter=function(){this.__bottomExtension=0,this.__leftExtension=0,this.__needSecondBitmapData=!0,this.__numShaderPasses=0,this.__preserveObject=!1,this.__rightExtension=0,this.__shaderBlendMode=10,this.__topExtension=0,this.__smooth=!0};$hxClasses["openfl.filters.BitmapFilter"]=openfl_filters_BitmapFilter,openfl_filters_BitmapFilter.__name__="openfl.filters.BitmapFilter",openfl_filters_BitmapFilter.prototype={__bottomExtension:null,__leftExtension:null,__needSecondBitmapData:null,__numShaderPasses:null,__preserveObject:null,__renderDirty:null,__rightExtension:null,__shaderBlendMode:null,__smooth:null,__topExtension:null,clone:function(){return new openfl_filters_BitmapFilter},__applyFilter:function(e,t,i,l){return t},__initShader:function(e,t,i){return null},__class__:openfl_filters_BitmapFilter};var openfl_filters_ShaderFilter=function(e){openfl_filters_BitmapFilter.call(this),this.shader=e,this.__numShaderPasses=1};$hxClasses["openfl.filters.ShaderFilter"]=openfl_filters_ShaderFilter,openfl_filters_ShaderFilter.__name__="openfl.filters.ShaderFilter",openfl_filters_ShaderFilter.__super__=openfl_filters_BitmapFilter,openfl_filters_ShaderFilter.prototype=$extend(openfl_filters_BitmapFilter.prototype,{blendMode:null,bottomExtension:null,leftExtension:null,rightExtension:null,shader:null,topExtension:null,clone:function(){var e=new openfl_filters_ShaderFilter(this.shader);return e.bottomExtension=this.bottomExtension,e.leftExtension=this.leftExtension,e.rightExtension=this.rightExtension,e.topExtension=this.topExtension,e},invalidate:function(){this.__renderDirty=!0},__initShader:function(e,t,i){return this.__shaderBlendMode=this.blendMode,this.shader},__class__:openfl_filters_ShaderFilter});var openfl_geom_Matrix3D=function(e){null!=e&&16==e.get_length()?this.rawData=e.concat(null):this.rawData=openfl_Vector.toFloatVector(null,null,null,[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])};$hxClasses["openfl.geom.Matrix3D"]=openfl_geom_Matrix3D,openfl_geom_Matrix3D.__name__="openfl.geom.Matrix3D",openfl_geom_Matrix3D.create2D=function(e,t,i,l){null==l&&(l=0),null==i&&(i=1);var n=l*Math.PI/180,s=Math.cos(n),a=Math.sin(n);return new openfl_geom_Matrix3D(openfl_Vector.toFloatVector(null,null,null,[s*i,-a*i,0,0,a*i,s*i,0,0,0,0,1,0,e,t,0,1]))},openfl_geom_Matrix3D.createABCD=function(e,t,i,l,n,s){return new openfl_geom_Matrix3D(openfl_Vector.toFloatVector(null,null,null,[e,t,0,0,i,l,0,0,0,0,1,0,n,s,0,1]))},openfl_geom_Matrix3D.createOrtho=function(e,t,i,l,n,s){var a=1/(t-e),r=1/(l-i),_=1/(s-n);return new openfl_geom_Matrix3D(openfl_Vector.toFloatVector(null,null,null,[2*a,0,0,0,0,2*r,0,0,0,0,-2*_,0,-(e+t)*a,-(i+l)*r,-(n+s)*_,1]))},openfl_geom_Matrix3D.interpolate=function(e,t,i){for(var l=new openfl_geom_Matrix3D,n=0;n<16;){var s=n++;l.rawData.set(s,e.rawData.get(s)+(t.rawData.get(s)-e.rawData.get(s))*i)}return l},openfl_geom_Matrix3D.__getAxisRotation=function(e,t,i,l){var n=new openfl_geom_Matrix3D,s=new openfl_geom_Vector3D(e,t,i),a=-l*(Math.PI/180),r=Math.cos(a),_=Math.sin(a),o=1-r;n.rawData.set(0,r+s.x*s.x*o),n.rawData.set(5,r+s.y*s.y*o),n.rawData.set(10,r+s.z*s.z*o);var h=s.x*s.y*o,u=s.z*_;return n.rawData.set(4,h+u),n.rawData.set(1,h-u),h=s.x*s.z*o,u=s.y*_,n.rawData.set(8,h-u),n.rawData.set(2,h+u),h=s.y*s.z*o,u=s.x*_,n.rawData.set(9,h+u),n.rawData.set(6,h-u),n},openfl_geom_Matrix3D.prototype={rawData:null,append:function(e){var t=this.rawData.get(0),i=this.rawData.get(4),l=this.rawData.get(8),n=this.rawData.get(12),s=this.rawData.get(1),a=this.rawData.get(5),r=this.rawData.get(9),_=this.rawData.get(13),o=this.rawData.get(2),h=this.rawData.get(6),u=this.rawData.get(10),d=this.rawData.get(14),c=this.rawData.get(3),p=this.rawData.get(7),f=this.rawData.get(11),m=this.rawData.get(15),x=e.rawData.get(0),g=e.rawData.get(4),F=e.rawData.get(8),y=e.rawData.get(12),S=e.rawData.get(1),b=e.rawData.get(5),U=e.rawData.get(9),v=e.rawData.get(13),T=e.rawData.get(2),N=e.rawData.get(6),D=e.rawData.get(10),Q=e.rawData.get(14),B=e.rawData.get(3),R=e.rawData.get(7),w=e.rawData.get(11),E=e.rawData.get(15);this.rawData.set(0,t*x+s*g+o*F+c*y),this.rawData.set(1,t*S+s*b+o*U+c*v),this.rawData.set(2,t*T+s*N+o*D+c*Q),this.rawData.set(3,t*B+s*R+o*w+c*E),this.rawData.set(4,i*x+a*g+h*F+p*y),this.rawData.set(5,i*S+a*b+h*U+p*v),this.rawData.set(6,i*T+a*N+h*D+p*Q),this.rawData.set(7,i*B+a*R+h*w+p*E),this.rawData.set(8,l*x+r*g+u*F+f*y),this.rawData.set(9,l*S+r*b+u*U+f*v),this.rawData.set(10,l*T+r*N+u*D+f*Q),this.rawData.set(11,l*B+r*R+u*w+f*E),this.rawData.set(12,n*x+_*g+d*F+m*y),this.rawData.set(13,n*S+_*b+d*U+m*v),this.rawData.set(14,n*T+_*N+d*D+m*Q),this.rawData.set(15,n*B+_*R+d*w+m*E)},appendRotation:function(e,t,i){var l=0,n=l,s=n;null!=i&&(s=i.x,n=i.y,l=i.z);var a=e*Math.PI/180,r=Math.cos(a),_=Math.sin(a),o=t.x,h=t.y,u=t.z,d=o*o,c=h*h,p=u*u,f=d+c+p;if(0!=f){var m=Math.sqrt(f);o/=m,h/=m,u/=m,d/=f,c/=f,p/=f}var x=1-r,g=new openfl_geom_Matrix3D,F=g.rawData;F.set(0,d+(c+p)*r),F.set(1,o*h*x+u*_),F.set(2,o*u*x-h*_),F.set(4,o*h*x-u*_),F.set(5,c+(d+p)*r),F.set(6,h*u*x+o*_),F.set(8,o*u*x+h*_),F.set(9,h*u*x-o*_),F.set(10,p+(d+c)*r),F.set(12,(s*(c+p)-o*(n*h+l*u))*x+(n*u-l*h)*_),F.set(13,(n*(d+p)-h*(s*o+l*u))*x+(l*o-s*u)*_),F.set(14,(l*(d+c)-u*(s*o+n*h))*x+(s*h-n*o)*_),this.append(g)},appendScale:function(e,t,i){this.append(new openfl_geom_Matrix3D(openfl_Vector.toFloatVector(null,null,null,[e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1])))},appendTranslation:function(e,t,i){var l=this.rawData;l.set(12,l.get(12)+e),(l=this.rawData).set(13,l.get(13)+t),(l=this.rawData).set(14,l.get(14)+i)},clone:function(){return new openfl_geom_Matrix3D(this.rawData.copy())},copyColumnFrom:function(e,t){switch(e){case 0:this.rawData.set(0,t.x),this.rawData.set(1,t.y),this.rawData.set(2,t.z),this.rawData.set(3,t.w);break;case 1:this.rawData.set(4,t.x),this.rawData.set(5,t.y),this.rawData.set(6,t.z),this.rawData.set(7,t.w);break;case 2:this.rawData.set(8,t.x),this.rawData.set(9,t.y),this.rawData.set(10,t.z),this.rawData.set(11,t.w);break;case 3:this.rawData.set(12,t.x),this.rawData.set(13,t.y),this.rawData.set(14,t.z),this.rawData.set(15,t.w)}},copyColumnTo:function(e,t){switch(e){case 0:t.x=this.rawData.get(0),t.y=this.rawData.get(1),t.z=this.rawData.get(2),t.w=this.rawData.get(3);break;case 1:t.x=this.rawData.get(4),t.y=this.rawData.get(5),t.z=this.rawData.get(6),t.w=this.rawData.get(7);break;case 2:t.x=this.rawData.get(8),t.y=this.rawData.get(9),t.z=this.rawData.get(10),t.w=this.rawData.get(11);break;case 3:t.x=this.rawData.get(12),t.y=this.rawData.get(13),t.z=this.rawData.get(14),t.w=this.rawData.get(15)}},copyFrom:function(e){this.rawData=e.rawData.copy()},copyRawDataFrom:function(e,t,i){null==i&&(i=!1),null==t&&(t=0),i&&this.transpose();for(var l=0,n=e.get_length()-t;l<n;){var s=l++;this.rawData.set(s,e.get(s+t))}i&&this.transpose()},copyRawDataTo:function(e,t,i){null==i&&(i=!1),null==t&&(t=0),i&&this.transpose();for(var l=0,n=this.rawData.get_length();l<n;){var s=l++;e.set(s+t,this.rawData.get(s))}i&&this.transpose()},copyRowFrom:function(e,t){switch(e){case 0:this.rawData.set(0,t.x),this.rawData.set(4,t.y),this.rawData.set(8,t.z),this.rawData.set(12,t.w);break;case 1:this.rawData.set(1,t.x),this.rawData.set(5,t.y),this.rawData.set(9,t.z),this.rawData.set(13,t.w);break;case 2:this.rawData.set(2,t.x),this.rawData.set(6,t.y),this.rawData.set(10,t.z),this.rawData.set(14,t.w);break;case 3:this.rawData.set(3,t.x),this.rawData.set(7,t.y),this.rawData.set(11,t.z),this.rawData.set(15,t.w)}},copyRowTo:function(e,t){switch(e){case 0:t.x=this.rawData.get(0),t.y=this.rawData.get(4),t.z=this.rawData.get(8),t.w=this.rawData.get(12);break;case 1:t.x=this.rawData.get(1),t.y=this.rawData.get(5),t.z=this.rawData.get(9),t.w=this.rawData.get(13);break;case 2:t.x=this.rawData.get(2),t.y=this.rawData.get(6),t.z=this.rawData.get(10),t.w=this.rawData.get(14);break;case 3:t.x=this.rawData.get(3),t.y=this.rawData.get(7),t.z=this.rawData.get(11),t.w=this.rawData.get(15)}},copyToMatrix3D:function(e){e.rawData=this.rawData.copy()},decompose:function(e){null==e&&(e=1);var t=openfl_Vector.toObjectVector(null),i=this.clone().rawData.copy(),l=new openfl_geom_Vector3D(i.get(12),i.get(13),i.get(14));i.set(12,0),i.set(13,0),i.set(14,0);var n=new openfl_geom_Vector3D;n.x=Math.sqrt(i.get(0)*i.get(0)+i.get(1)*i.get(1)+i.get(2)*i.get(2)),n.y=Math.sqrt(i.get(4)*i.get(4)+i.get(5)*i.get(5)+i.get(6)*i.get(6)),n.z=Math.sqrt(i.get(8)*i.get(8)+i.get(9)*i.get(9)+i.get(10)*i.get(10)),i.get(0)*(i.get(5)*i.get(10)-i.get(6)*i.get(9))-i.get(1)*(i.get(4)*i.get(10)-i.get(6)*i.get(8))+i.get(2)*(i.get(4)*i.get(9)-i.get(5)*i.get(8))<0&&(n.z=-n.z);var s=i;s.set(0,s.get(0)/n.x),(s=i).set(1,s.get(1)/n.x),(s=i).set(2,s.get(2)/n.x),(s=i).set(4,s.get(4)/n.y),(s=i).set(5,s.get(5)/n.y),(s=i).set(6,s.get(6)/n.y),(s=i).set(8,s.get(8)/n.z),(s=i).set(9,s.get(9)/n.z),(s=i).set(10,s.get(10)/n.z);var a=new openfl_geom_Vector3D;switch(e){case 0:a.w=Math.acos((i.get(0)+i.get(5)+i.get(10)-1)/2);var r=Math.sqrt((i.get(6)-i.get(9))*(i.get(6)-i.get(9))+(i.get(8)-i.get(2))*(i.get(8)-i.get(2))+(i.get(1)-i.get(4))*(i.get(1)-i.get(4)));0!=r?(a.x=(i.get(6)-i.get(9))/r,a.y=(i.get(8)-i.get(2))/r,a.z=(i.get(1)-i.get(4))/r):a.x=a.y=a.z=0;break;case 1:a.y=Math.asin(-i.get(2)),1!=i.get(2)&&-1!=i.get(2)?(a.x=Math.atan2(i.get(6),i.get(10)),a.z=Math.atan2(i.get(1),i.get(0))):(a.z=0,a.x=Math.atan2(i.get(4),i.get(5)));break;case 2:var _=i.get(0)+i.get(5)+i.get(10);_>0?(a.w=Math.sqrt(1+_)/2,a.x=(i.get(6)-i.get(9))/(4*a.w),a.y=(i.get(8)-i.get(2))/(4*a.w),a.z=(i.get(1)-i.get(4))/(4*a.w)):i.get(0)>i.get(5)&&i.get(0)>i.get(10)?(a.x=Math.sqrt(1+i.get(0)-i.get(5)-i.get(10))/2,a.w=(i.get(6)-i.get(9))/(4*a.x),a.y=(i.get(1)+i.get(4))/(4*a.x),a.z=(i.get(8)+i.get(2))/(4*a.x)):i.get(5)>i.get(10)?(a.y=Math.sqrt(1+i.get(5)-i.get(0)-i.get(10))/2,a.x=(i.get(1)+i.get(4))/(4*a.y),a.w=(i.get(8)-i.get(2))/(4*a.y),a.z=(i.get(6)+i.get(9))/(4*a.y)):(a.z=Math.sqrt(1+i.get(10)-i.get(0)-i.get(5))/2,a.x=(i.get(8)+i.get(2))/(4*a.z),a.y=(i.get(6)+i.get(9))/(4*a.z),a.w=(i.get(1)-i.get(4))/(4*a.z))}return t.push(l),t.push(a),t.push(n),t},deltaTransformVector:function(e){var t=e.x,i=e.y,l=e.z;return new openfl_geom_Vector3D(t*this.rawData.get(0)+i*this.rawData.get(4)+l*this.rawData.get(8),t*this.rawData.get(1)+i*this.rawData.get(5)+l*this.rawData.get(9),t*this.rawData.get(2)+i*this.rawData.get(6)+l*this.rawData.get(10),t*this.rawData.get(3)+i*this.rawData.get(7)+l*this.rawData.get(11))},identity:function(){this.rawData=openfl_Vector.toFloatVector(null,null,null,[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])},interpolateTo:function(e,t){for(var i=0;i<16;){var l=i++;this.rawData.set(l,this.rawData.get(l)+(e.rawData.get(l)-this.rawData.get(l))*t)}},invert:function(){var e=this.get_determinant(),t=Math.abs(e)>1e-11;if(t){e=1/e;var i=this.rawData.get(0),l=this.rawData.get(4),n=this.rawData.get(8),s=this.rawData.get(12),a=this.rawData.get(1),r=this.rawData.get(5),_=this.rawData.get(9),o=this.rawData.get(13),h=this.rawData.get(2),u=this.rawData.get(6),d=this.rawData.get(10),c=this.rawData.get(14),p=this.rawData.get(3),f=this.rawData.get(7),m=this.rawData.get(11),x=this.rawData.get(15);this.rawData.set(0,e*(r*(d*x-c*m)-_*(u*x-c*f)+o*(u*m-d*f))),this.rawData.set(1,-e*(a*(d*x-c*m)-_*(h*x-c*p)+o*(h*m-d*p))),this.rawData.set(2,e*(a*(u*x-c*f)-r*(h*x-c*p)+o*(h*f-u*p))),this.rawData.set(3,-e*(a*(u*m-d*f)-r*(h*m-d*p)+_*(h*f-u*p))),this.rawData.set(4,-e*(l*(d*x-c*m)-n*(u*x-c*f)+s*(u*m-d*f))),this.rawData.set(5,e*(i*(d*x-c*m)-n*(h*x-c*p)+s*(h*m-d*p))),this.rawData.set(6,-e*(i*(u*x-c*f)-l*(h*x-c*p)+s*(h*f-u*p))),this.rawData.set(7,e*(i*(u*m-d*f)-l*(h*m-d*p)+n*(h*f-u*p))),this.rawData.set(8,e*(l*(_*x-o*m)-n*(r*x-o*f)+s*(r*m-_*f))),this.rawData.set(9,-e*(i*(_*x-o*m)-n*(a*x-o*p)+s*(a*m-_*p))),this.rawData.set(10,e*(i*(r*x-o*f)-l*(a*x-o*p)+s*(a*f-r*p))),this.rawData.set(11,-e*(i*(r*m-_*f)-l*(a*m-_*p)+n*(a*f-r*p))),this.rawData.set(12,-e*(l*(_*c-o*d)-n*(r*c-o*u)+s*(r*d-_*u))),this.rawData.set(13,e*(i*(_*c-o*d)-n*(a*c-o*h)+s*(a*d-_*h))),this.rawData.set(14,-e*(i*(r*c-o*u)-l*(a*c-o*h)+s*(a*u-r*h))),this.rawData.set(15,e*(i*(r*d-_*u)-l*(a*d-_*h)+n*(a*u-r*h)))}return t},pointAt:function(e,t,i){null==t&&(t=new openfl_geom_Vector3D(0,0,-1)),null==i&&(i=new openfl_geom_Vector3D(0,-1,0));var l=t.subtract(e),n=i.clone();l.normalize(),n.normalize();var s=l.clone();s.scaleBy(n.dotProduct(l)),(n=n.subtract(s)).get_length()>0?n.normalize():n=0!=l.x?new openfl_geom_Vector3D(-l.y,l.x,0):new openfl_geom_Vector3D(1,0,0);var a=n.crossProduct(l);a.normalize(),this.rawData.set(0,a.x),this.rawData.set(4,a.y),this.rawData.set(8,a.z),this.rawData.set(12,0),this.rawData.set(1,n.x),this.rawData.set(5,n.y),this.rawData.set(9,n.z),this.rawData.set(13,0),this.rawData.set(2,l.x),this.rawData.set(6,l.y),this.rawData.set(10,l.z),this.rawData.set(14,0),this.rawData.set(3,e.x),this.rawData.set(7,e.y),this.rawData.set(11,e.z),this.rawData.set(15,1)},prepend:function(e){var t=e.rawData.get(0),i=e.rawData.get(4),l=e.rawData.get(8),n=e.rawData.get(12),s=e.rawData.get(1),a=e.rawData.get(5),r=e.rawData.get(9),_=e.rawData.get(13),o=e.rawData.get(2),h=e.rawData.get(6),u=e.rawData.get(10),d=e.rawData.get(14),c=e.rawData.get(3),p=e.rawData.get(7),f=e.rawData.get(11),m=e.rawData.get(15),x=this.rawData.get(0),g=this.rawData.get(4),F=this.rawData.get(8),y=this.rawData.get(12),S=this.rawData.get(1),b=this.rawData.get(5),U=this.rawData.get(9),v=this.rawData.get(13),T=this.rawData.get(2),N=this.rawData.get(6),D=this.rawData.get(10),Q=this.rawData.get(14),B=this.rawData.get(3),R=this.rawData.get(7),w=this.rawData.get(11),E=this.rawData.get(15);this.rawData.set(0,t*x+s*g+o*F+c*y),this.rawData.set(1,t*S+s*b+o*U+c*v),this.rawData.set(2,t*T+s*N+o*D+c*Q),this.rawData.set(3,t*B+s*R+o*w+c*E),this.rawData.set(4,i*x+a*g+h*F+p*y),this.rawData.set(5,i*S+a*b+h*U+p*v),this.rawData.set(6,i*T+a*N+h*D+p*Q),this.rawData.set(7,i*B+a*R+h*w+p*E),this.rawData.set(8,l*x+r*g+u*F+f*y),this.rawData.set(9,l*S+r*b+u*U+f*v),this.rawData.set(10,l*T+r*N+u*D+f*Q),this.rawData.set(11,l*B+r*R+u*w+f*E),this.rawData.set(12,n*x+_*g+d*F+m*y),this.rawData.set(13,n*S+_*b+d*U+m*v),this.rawData.set(14,n*T+_*N+d*D+m*Q),this.rawData.set(15,n*B+_*R+d*w+m*E)},prependRotation:function(e,t,i){var l=0,n=l,s=n;null!=i&&(s=i.x,n=i.y,l=i.z);var a=e*Math.PI/180,r=Math.cos(a),_=Math.sin(a),o=t.x,h=t.y,u=t.z,d=o*o,c=h*h,p=u*u,f=d+c+p;if(0!=f){var m=Math.sqrt(f);o/=m,h/=m,u/=m,d/=f,c/=f,p/=f}var x=1-r,g=new openfl_geom_Matrix3D,F=g.rawData;F.set(0,d+(c+p)*r),F.set(1,o*h*x+u*_),F.set(2,o*u*x-h*_),F.set(4,o*h*x-u*_),F.set(5,c+(d+p)*r),F.set(6,h*u*x+o*_),F.set(8,o*u*x+h*_),F.set(9,h*u*x-o*_),F.set(10,p+(d+c)*r),F.set(12,(s*(c+p)-o*(n*h+l*u))*x+(n*u-l*h)*_),F.set(13,(n*(d+p)-h*(s*o+l*u))*x+(l*o-s*u)*_),F.set(14,(l*(d+c)-u*(s*o+n*h))*x+(s*h-n*o)*_),this.prepend(g)},prependScale:function(e,t,i){this.prepend(new openfl_geom_Matrix3D(openfl_Vector.toFloatVector(null,null,null,[e,0,0,0,0,t,0,0,0,0,i,0,0,0,0,1])))},prependTranslation:function(e,t,i){var l=new openfl_geom_Matrix3D;l.set_position(new openfl_geom_Vector3D(e,t,i)),this.prepend(l)},recompose:function(e,t){if(null==t&&(t=1),e.get_length()<3||0==e.get(2).x||0==e.get(2).y||0==e.get(2).z)return!1;this.identity();var i=[];if(i[0]=i[1]=i[2]=e.get(2).x,i[4]=i[5]=i[6]=e.get(2).y,i[8]=i[9]=i[10]=e.get(2).z,1==t){var l=Math.cos(e.get(1).x),n=Math.cos(e.get(1).y),s=Math.cos(e.get(1).z),a=Math.sin(e.get(1).x),r=Math.sin(e.get(1).y),_=Math.sin(e.get(1).z);this.rawData.set(0,n*s*i[0]),this.rawData.set(1,n*_*i[1]),this.rawData.set(2,-r*i[2]),this.rawData.set(3,0),this.rawData.set(4,(a*r*s-l*_)*i[4]),this.rawData.set(5,(a*r*_+l*s)*i[5]),this.rawData.set(6,a*n*i[6]),this.rawData.set(7,0),this.rawData.set(8,(l*r*s+a*_)*i[8]),this.rawData.set(9,(l*r*_-a*s)*i[9]),this.rawData.set(10,l*n*i[10]),this.rawData.set(11,0),this.rawData.set(12,e.get(0).x),this.rawData.set(13,e.get(0).y),this.rawData.set(14,e.get(0).z),this.rawData.set(15,1)}else{var o=e.get(1).x,h=e.get(1).y,u=e.get(1).z,d=e.get(1).w;0==t&&(o*=Math.sin(d/2),h*=Math.sin(d/2),u*=Math.sin(d/2),d=Math.cos(d/2)),this.rawData.set(0,(1-2*h*h-2*u*u)*i[0]),this.rawData.set(1,(2*o*h+2*d*u)*i[1]),this.rawData.set(2,(2*o*u-2*d*h)*i[2]),this.rawData.set(3,0),this.rawData.set(4,(2*o*h-2*d*u)*i[4]),this.rawData.set(5,(1-2*o*o-2*u*u)*i[5]),this.rawData.set(6,(2*h*u+2*d*o)*i[6]),this.rawData.set(7,0),this.rawData.set(8,(2*o*u+2*d*h)*i[8]),this.rawData.set(9,(2*h*u-2*d*o)*i[9]),this.rawData.set(10,(1-2*o*o-2*h*h)*i[10]),this.rawData.set(11,0),this.rawData.set(12,e.get(0).x),this.rawData.set(13,e.get(0).y),this.rawData.set(14,e.get(0).z),this.rawData.set(15,1)}return 0==e.get(2).x&&this.rawData.set(0,1e-15),0==e.get(2).y&&this.rawData.set(5,1e-15),0==e.get(2).z&&this.rawData.set(10,1e-15),!(0==e.get(2).x||0==e.get(2).y||0==e.get(2).y)},transformVector:function(e){var t=e.x,i=e.y,l=e.z;return new openfl_geom_Vector3D(t*this.rawData.get(0)+i*this.rawData.get(4)+l*this.rawData.get(8)+this.rawData.get(12),t*this.rawData.get(1)+i*this.rawData.get(5)+l*this.rawData.get(9)+this.rawData.get(13),t*this.rawData.get(2)+i*this.rawData.get(6)+l*this.rawData.get(10)+this.rawData.get(14),t*this.rawData.get(3)+i*this.rawData.get(7)+l*this.rawData.get(11)+this.rawData.get(15))},transformVectors:function(e,t){for(var i,l,n,s=0;s+3<=e.get_length();)i=e.get(s),l=e.get(s+1),n=e.get(s+2),t.set(s,i*this.rawData.get(0)+l*this.rawData.get(4)+n*this.rawData.get(8)+this.rawData.get(12)),t.set(s+1,i*this.rawData.get(1)+l*this.rawData.get(5)+n*this.rawData.get(9)+this.rawData.get(13)),t.set(s+2,i*this.rawData.get(2)+l*this.rawData.get(6)+n*this.rawData.get(10)+this.rawData.get(14)),s+=3},transpose:function(){var e=this.rawData.copy();this.rawData.set(1,e.get(4)),this.rawData.set(2,e.get(8)),this.rawData.set(3,e.get(12)),this.rawData.set(4,e.get(1)),this.rawData.set(6,e.get(9)),this.rawData.set(7,e.get(13)),this.rawData.set(8,e.get(2)),this.rawData.set(9,e.get(6)),this.rawData.set(11,e.get(14)),this.rawData.set(12,e.get(3)),this.rawData.set(13,e.get(7)),this.rawData.set(14,e.get(11))},get_determinant:function(){return(this.rawData.get(0)*this.rawData.get(5)-this.rawData.get(4)*this.rawData.get(1))*(this.rawData.get(10)*this.rawData.get(15)-this.rawData.get(14)*this.rawData.get(11))-(this.rawData.get(0)*this.rawData.get(9)-this.rawData.get(8)*this.rawData.get(1))*(this.rawData.get(6)*this.rawData.get(15)-this.rawData.get(14)*this.rawData.get(7))+(this.rawData.get(0)*this.rawData.get(13)-this.rawData.get(12)*this.rawData.get(1))*(this.rawData.get(6)*this.rawData.get(11)-this.rawData.get(10)*this.rawData.get(7))+(this.rawData.get(4)*this.rawData.get(9)-this.rawData.get(8)*this.rawData.get(5))*(this.rawData.get(2)*this.rawData.get(15)-this.rawData.get(14)*this.rawData.get(3))-(this.rawData.get(4)*this.rawData.get(13)-this.rawData.get(12)*this.rawData.get(5))*(this.rawData.get(2)*this.rawData.get(11)-this.rawData.get(10)*this.rawData.get(3))+(this.rawData.get(8)*this.rawData.get(13)-this.rawData.get(12)*this.rawData.get(9))*(this.rawData.get(2)*this.rawData.get(7)-this.rawData.get(6)*this.rawData.get(3))},get_position:function(){return new openfl_geom_Vector3D(this.rawData.get(12),this.rawData.get(13),this.rawData.get(14))},set_position:function(e){return this.rawData.set(12,e.x),this.rawData.set(13,e.y),this.rawData.set(14,e.z),e},__class__:openfl_geom_Matrix3D,__properties__:{set_position:"set_position",get_position:"get_position",get_determinant:"get_determinant"}};var openfl_geom_Orientation3D={};openfl_geom_Orientation3D.fromString=function(e){switch(e){case"axisAngle":return 0;case"eulerAngles":return 1;case"quaternion":return 2;default:return null}},openfl_geom_Orientation3D.toString=function(e){switch(e){case 0:return"axisAngle";case 1:return"eulerAngles";case 2:return"quaternion";default:return null}};var openfl_geom_Transform=function(e){this.__colorTransform=new openfl_geom_ColorTransform,this.concatenatedColorTransform=new openfl_geom_ColorTransform,this.pixelBounds=new openfl_geom_Rectangle,this.__displayObject=e,this.__hasMatrix=!0};$hxClasses["openfl.geom.Transform"]=openfl_geom_Transform,openfl_geom_Transform.__name__="openfl.geom.Transform",openfl_geom_Transform.prototype={concatenatedColorTransform:null,pixelBounds:null,__colorTransform:null,__displayObject:null,__hasMatrix:null,__hasMatrix3D:null,get_colorTransform:function(){return this.__colorTransform},set_colorTransform:function(e){if(!this.__colorTransform.__equals(e,!1)){this.__colorTransform.__copyFrom(e),null!=e&&this.__displayObject.set_alpha(e.alphaMultiplier);var t=this.__displayObject;t.__renderDirty||(t.__renderDirty=!0,t.__setParentRenderDirty())}return this.__colorTransform},get_concatenatedMatrix:function(){return this.__hasMatrix?this.__displayObject.__getWorldTransform().clone():null},get_matrix:function(){return this.__hasMatrix?this.__displayObject.__transform.clone():null},set_matrix:function(e){return null==e?(this.__hasMatrix=!1,null):(this.__hasMatrix=!0,this.__hasMatrix3D=!1,null!=this.__displayObject&&this.__setTransform(e.a,e.b,e.c,e.d,e.tx,e.ty),e)},get_matrix3D:function(){if(this.__hasMatrix3D){var e=this.__displayObject.__transform;return new openfl_geom_Matrix3D(openfl_Vector.toFloatVector(null,null,null,[e.a,e.b,0,0,e.c,e.d,0,0,0,0,1,0,e.tx,e.ty,0,1]))}return null},set_matrix3D:function(e){return null==e?(this.__hasMatrix3D=!1,null):(this.__hasMatrix=!1,this.__hasMatrix3D=!0,this.__setTransform(e.rawData.get(0),e.rawData.get(1),e.rawData.get(5),e.rawData.get(6),e.rawData.get(12),e.rawData.get(13)),e)},__setTransform:function(e,t,i,l,n,s){if(null!=this.__displayObject){var a=this.__displayObject.__transform;if(a.a==e&&a.b==t&&a.c==i&&a.d==l&&a.tx==n&&a.ty==s)return;var r=0,_=0;r=0==t?e:Math.sqrt(e*e+t*t),_=0==i?l:Math.sqrt(i*i+l*l),this.__displayObject.__scaleX=r,this.__displayObject.__scaleY=_;var o=180/Math.PI*Math.atan2(l,i)-90;if(o!=this.__displayObject.__rotation){this.__displayObject.__rotation=o;var h=o*(Math.PI/180);this.__displayObject.__rotationSine=Math.sin(h),this.__displayObject.__rotationCosine=Math.cos(h)}a.a=e,a.b=t,a.c=i,a.d=l,a.tx=n,a.ty=s,this.__displayObject.__setTransformDirty()}},__class__:openfl_geom_Transform,__properties__:{set_matrix3D:"set_matrix3D",get_matrix3D:"get_matrix3D",set_matrix:"set_matrix",get_matrix:"get_matrix",get_concatenatedMatrix:"get_concatenatedMatrix",set_colorTransform:"set_colorTransform",get_colorTransform:"get_colorTransform"}};var openfl_geom_Vector3D=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),null==t&&(t=0),null==e&&(e=0),this.w=l,this.x=e,this.y=t,this.z=i};$hxClasses["openfl.geom.Vector3D"]=openfl_geom_Vector3D,openfl_geom_Vector3D.__name__="openfl.geom.Vector3D",openfl_geom_Vector3D.__properties__={get_Z_AXIS:"get_Z_AXIS",get_Y_AXIS:"get_Y_AXIS",get_X_AXIS:"get_X_AXIS"},openfl_geom_Vector3D.angleBetween=function(e,t){var i=e.get_length(),l=t.get_length(),n=e.dotProduct(t);return 0!=i&&(n/=i),0!=l&&(n/=l),Math.acos(n)},openfl_geom_Vector3D.distance=function(e,t){var i=t.x-e.x,l=t.y-e.y,n=t.z-e.z;return Math.sqrt(i*i+l*l+n*n)},openfl_geom_Vector3D.get_X_AXIS=function(){return new openfl_geom_Vector3D(1,0,0)},openfl_geom_Vector3D.get_Y_AXIS=function(){return new openfl_geom_Vector3D(0,1,0)},openfl_geom_Vector3D.get_Z_AXIS=function(){return new openfl_geom_Vector3D(0,0,1)},openfl_geom_Vector3D.prototype={w:null,x:null,y:null,z:null,add:function(e){return new openfl_geom_Vector3D(this.x+e.x,this.y+e.y,this.z+e.z)},clone:function(){return new openfl_geom_Vector3D(this.x,this.y,this.z,this.w)},copyFrom:function(e){this.x=e.x,this.y=e.y,this.z=e.z},crossProduct:function(e){return new openfl_geom_Vector3D(this.y*e.z-this.z*e.y,this.z*e.x-this.x*e.z,this.x*e.y-this.y*e.x,1)},decrementBy:function(e){this.x-=e.x,this.y-=e.y,this.z-=e.z},dotProduct:function(e){return this.x*e.x+this.y*e.y+this.z*e.z},equals:function(e,t){return null==t&&(t=!1),this.x==e.x&&this.y==e.y&&this.z==e.z&&(!t||this.w==e.w)},incrementBy:function(e){this.x+=e.x,this.y+=e.y,this.z+=e.z},nearEquals:function(e,t,i){return null==i&&(i=!1),Math.abs(this.x-e.x)<t&&Math.abs(this.y-e.y)<t&&Math.abs(this.z-e.z)<t&&(!i||Math.abs(this.w-e.w)<t)},negate:function(){this.x*=-1,this.y*=-1,this.z*=-1},normalize:function(){var e=this.get_length();return 0!=e&&(this.x/=e,this.y/=e,this.z/=e),e},project:function(){this.x/=this.w,this.y/=this.w,this.z/=this.w},scaleBy:function(e){this.x*=e,this.y*=e,this.z*=e},setTo:function(e,t,i){this.x=e,this.y=t,this.z=i},subtract:function(e){return new openfl_geom_Vector3D(this.x-e.x,this.y-e.y,this.z-e.z)},toString:function(){return"Vector3D("+this.x+", "+this.y+", "+this.z+")"},get_length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},get_lengthSquared:function(){return this.x*this.x+this.y*this.y+this.z*this.z},__class__:openfl_geom_Vector3D,__properties__:{get_lengthSquared:"get_lengthSquared",get_length:"get_length"}};var openfl_media_ID3Info=function(){};$hxClasses["openfl.media.ID3Info"]=openfl_media_ID3Info,openfl_media_ID3Info.__name__="openfl.media.ID3Info",openfl_media_ID3Info.prototype={album:null,artist:null,comment:null,genre:null,songName:null,track:null,year:null,__class__:openfl_media_ID3Info};var openfl_media_SoundChannel=function(e,t){openfl_events_EventDispatcher.call(this,this),this.leftPeak=1,this.rightPeak=1,this.__soundTransform=null!=t?t:new openfl_media_SoundTransform,null!=e&&(this.__source=e,this.__source.onComplete.add($bind(this,this.source_onComplete)),this.__isValid=!0,this.__source.play()),openfl_media_SoundMixer.__registerSoundChannel(this)};$hxClasses["openfl.media.SoundChannel"]=openfl_media_SoundChannel,openfl_media_SoundChannel.__name__="openfl.media.SoundChannel",openfl_media_SoundChannel.__super__=openfl_events_EventDispatcher,openfl_media_SoundChannel.prototype=$extend(openfl_events_EventDispatcher.prototype,{leftPeak:null,rightPeak:null,__isValid:null,__soundTransform:null,__source:null,stop:function(){openfl_media_SoundMixer.__unregisterSoundChannel(this),this.__isValid&&(this.__source.stop(),this.__dispose())},__dispose:function(){this.__isValid&&(this.__source.onComplete.remove($bind(this,this.source_onComplete)),this.__source.dispose(),this.__source=null,this.__isValid=!1)},__updateTransform:function(){this.set_soundTransform(this.get_soundTransform())},get_position:function(){return this.__isValid?this.__source.get_currentTime()+this.__source.offset:0},set_position:function(e){return this.__isValid?(this.__source.set_currentTime((0|e)-this.__source.offset),e):0},get_soundTransform:function(){return this.__soundTransform.clone()},set_soundTransform:function(e){if(null!=e){this.__soundTransform.pan=e.pan,this.__soundTransform.volume=e.volume;var t=openfl_media_SoundMixer.__soundTransform.pan+this.__soundTransform.pan;t<-1&&(t=-1),t>1&&(t=1);var i=openfl_media_SoundMixer.__soundTransform.volume*this.__soundTransform.volume;if(this.__isValid){this.__source.set_gain(i);var l=this.__source.get_position();return l.x=t,l.z=-1*Math.sqrt(1-Math.pow(t,2)),this.__source.set_position(l),e}}return e},source_onComplete:function(){openfl_media_SoundMixer.__unregisterSoundChannel(this),this.__dispose(),this.dispatchEvent(new openfl_events_Event("soundComplete"))},__class__:openfl_media_SoundChannel,__properties__:{set_soundTransform:"set_soundTransform",get_soundTransform:"get_soundTransform",set_position:"set_position",get_position:"get_position"}});var openfl_media_SoundLoaderContext=function(e,t){null==t&&(t=!1),null==e&&(e=1e3),this.bufferTime=e,this.checkPolicyFile=t};$hxClasses["openfl.media.SoundLoaderContext"]=openfl_media_SoundLoaderContext,openfl_media_SoundLoaderContext.__name__="openfl.media.SoundLoaderContext",openfl_media_SoundLoaderContext.prototype={bufferTime:null,checkPolicyFile:null,__class__:openfl_media_SoundLoaderContext};var openfl_media_SoundTransform=function(e,t){null==t&&(t=0),null==e&&(e=1),this.volume=e,this.pan=t,this.leftToLeft=0,this.leftToRight=0,this.rightToLeft=0,this.rightToRight=0};$hxClasses["openfl.media.SoundTransform"]=openfl_media_SoundTransform,openfl_media_SoundTransform.__name__="openfl.media.SoundTransform",openfl_media_SoundTransform.prototype={leftToLeft:null,leftToRight:null,pan:null,rightToLeft:null,rightToRight:null,volume:null,clone:function(){return new openfl_media_SoundTransform(this.volume,this.pan)},__class__:openfl_media_SoundTransform};var openfl_media_SoundMixer=function(){};$hxClasses["openfl.media.SoundMixer"]=openfl_media_SoundMixer,openfl_media_SoundMixer.__name__="openfl.media.SoundMixer",openfl_media_SoundMixer.__properties__={set_soundTransform:"set_soundTransform",get_soundTransform:"get_soundTransform"},openfl_media_SoundMixer.bufferTime=null,openfl_media_SoundMixer.areSoundsInaccessible=function(){return!1},openfl_media_SoundMixer.stopAll=function(){for(var e=0,t=openfl_media_SoundMixer.__soundChannels;e<t.length;){var i=t[e];++e,i.stop()}},openfl_media_SoundMixer.__registerSoundChannel=function(e){openfl_media_SoundMixer.__soundChannels.push(e)},openfl_media_SoundMixer.__unregisterSoundChannel=function(e){HxOverrides.remove(openfl_media_SoundMixer.__soundChannels,e)},openfl_media_SoundMixer.get_soundTransform=function(){return openfl_media_SoundMixer.__soundTransform},openfl_media_SoundMixer.set_soundTransform=function(e){openfl_media_SoundMixer.__soundTransform=e.clone();for(var t=0,i=openfl_media_SoundMixer.__soundChannels;t<i.length;){var l=i[t];++t,l.__updateTransform()}return e};var openfl_net_FileFilter=function(e,t,i){this.description=e,this.extension=t,this.macType=i};$hxClasses["openfl.net.FileFilter"]=openfl_net_FileFilter,openfl_net_FileFilter.__name__="openfl.net.FileFilter",openfl_net_FileFilter.prototype={description:null,extension:null,macType:null,__class__:openfl_net_FileFilter};var openfl_net_FileReference=function(){openfl_events_EventDispatcher.call(this),this.__inputControl=window.document.createElement("input"),this.__inputControl.setAttribute("type","file"),this.__inputControl.onclick=function(e){e.cancelBubble=!0,e.stopPropagation()}};$hxClasses["openfl.net.FileReference"]=openfl_net_FileReference,openfl_net_FileReference.__name__="openfl.net.FileReference",openfl_net_FileReference.__super__=openfl_events_EventDispatcher,openfl_net_FileReference.prototype=$extend(openfl_events_EventDispatcher.prototype,{creationDate:null,creator:null,data:null,modificationDate:null,name:null,size:null,type:null,__data:null,__path:null,__urlLoader:null,__inputControl:null,browse:function(e){var t=this;this.__data=null,this.__path=null;var i=null;if(null!=e){for(var l=[],n=0;n<e.length;){var s=e[n];++n,l.push(StringTools.replace(StringTools.replace(s.extension,"*.","."),";",","))}i=l.join(",")}return null!=i&&this.__inputControl.setAttribute("accept",i),this.__inputControl.onchange=function(){var e=t.__inputControl.files[0],i=new Date(e.lastModified);t.modificationDate=i,t.creationDate=t.modificationDate,t.size=e.size;i=haxe_io_Path.extension(e.name);t.type="."+i,t.name=haxe_io_Path.withoutDirectory(e.name),t.__path=e.name,t.dispatchEvent(new openfl_events_Event("select"))},this.__inputControl.click(),!0},cancel:function(){null!=this.__urlLoader&&this.__urlLoader.close()},download:function(e,t){this.__data=null,this.__path=null,this.__urlLoader=new openfl_net_URLLoader,this.__urlLoader.addEventListener("complete",$bind(this,this.urlLoader_onComplete)),this.__urlLoader.addEventListener("ioError",$bind(this,this.urlLoader_onIOError)),this.__urlLoader.addEventListener("progress",$bind(this,this.urlLoader_onProgress)),this.__urlLoader.load(e);var i=new lime_ui_FileDialog;i.onCancel.add($bind(this,this.saveFileDialog_onCancel)),i.onSelect.add($bind(this,this.saveFileDialog_onSelect)),i.browse(lime_ui_FileDialogType.SAVE,null!=t?haxe_io_Path.extension(t):null,t)},load:function(){var e=this,t=this.__inputControl.files[0],i=new FileReader;i.onload=function(t){e.data=openfl_utils_ByteArray.fromArrayBuffer(t.target.result),e.openFileDialog_onComplete()},i.readAsArrayBuffer(t)},save:function(e,t){if(this.__data=null,this.__path=null,null!=e){if(e instanceof openfl_utils_ByteArrayData)this.__data=e;else{var i=new openfl_utils_ByteArrayData(0);this.__data=i,this.__data.writeUTFBytes(Std.string(e))}var l=new lime_ui_FileDialog;l.onCancel.add($bind(this,this.saveFileDialog_onCancel)),l.onSave.add($bind(this,this.saveFileDialog_onSave)),l.save(openfl_utils_ByteArray.toBytes(this.__data),null!=t?haxe_io_Path.extension(t):null,t)}},upload:function(e,t,i){null==i&&(i=!1),null==t&&(t="Filedata"),openfl__$internal_Lib.notImplemented({fileName:"openfl/net/FileReference.hx",lineNumber:206,className:"openfl.net.FileReference",methodName:"upload"})},openFileDialog_onCancel:function(){this.dispatchEvent(new openfl_events_Event("cancel"))},openFileDialog_onComplete:function(){this.dispatchEvent(new openfl_events_Event("complete"))},openFileDialog_onSelect:function(e){this.name=haxe_io_Path.withoutDirectory(e),this.__path=e,this.dispatchEvent(new openfl_events_Event("select"))},saveFileDialog_onCancel:function(){this.dispatchEvent(new openfl_events_Event("cancel"))},saveFileDialog_onSave:function(e){var t=this;haxe_Timer.delay(function(){t.dispatchEvent(new openfl_events_Event("complete"))},1)},saveFileDialog_onSelect:function(e){this.dispatchEvent(new openfl_events_Event("select"))},urlLoader_onComplete:function(e){this.dispatchEvent(e)},urlLoader_onIOError:function(e){this.dispatchEvent(e)},urlLoader_onProgress:function(e){this.dispatchEvent(e)},__class__:openfl_net_FileReference});var openfl_net_NetConnection=function(){openfl_events_EventDispatcher.call(this)};$hxClasses["openfl.net.NetConnection"]=openfl_net_NetConnection,openfl_net_NetConnection.__name__="openfl.net.NetConnection",openfl_net_NetConnection.__super__=openfl_events_EventDispatcher,openfl_net_NetConnection.prototype=$extend(openfl_events_EventDispatcher.prototype,{connect:function(e,t,i,l,n,s){if(null!=e)throw haxe_Exception.thrown('Error: Can only connect in "HTTP streaming" mode');this.dispatchEvent(new openfl_events_NetStatusEvent("netStatus",!1,!0,{code:"NetConnection.Connect.Success"}))},__class__:openfl_net_NetConnection});var openfl_net_NetStream=function(e,t){openfl_events_EventDispatcher.call(this),this.__connection=e,this.__soundTransform=new openfl_media_SoundTransform,this.__video=window.document.createElement("video"),this.__video.setAttribute("playsinline",""),this.__video.setAttribute("webkit-playsinline",""),this.__video.setAttribute("crossorigin","anonymous"),this.__video.addEventListener("error",$bind(this,this.video_onError),!1),this.__video.addEventListener("waiting",$bind(this,this.video_onWaiting),!1),this.__video.addEventListener("ended",$bind(this,this.video_onEnd),!1),this.__video.addEventListener("pause",$bind(this,this.video_onPause),!1),this.__video.addEventListener("seeking",$bind(this,this.video_onSeeking),!1),this.__video.addEventListener("playing",$bind(this,this.video_onPlaying),!1),this.__video.addEventListener("timeupdate",$bind(this,this.video_onTimeUpdate),!1),this.__video.addEventListener("loadstart",$bind(this,this.video_onLoadStart),!1),this.__video.addEventListener("stalled",$bind(this,this.video_onStalled),!1),this.__video.addEventListener("durationchanged",$bind(this,this.video_onDurationChanged),!1),this.__video.addEventListener("canplay",$bind(this,this.video_onCanPlay),!1),this.__video.addEventListener("canplaythrough",$bind(this,this.video_onCanPlayThrough),!1),this.__video.addEventListener("loadedmetadata",$bind(this,this.video_onLoadMetaData),!1)};$hxClasses["openfl.net.NetStream"]=openfl_net_NetStream,openfl_net_NetStream.__name__="openfl.net.NetStream",openfl_net_NetStream.__super__=openfl_events_EventDispatcher,openfl_net_NetStream.prototype=$extend(openfl_events_EventDispatcher.prototype,{audioCodec:null,bufferLength:null,bufferTime:null,bytesLoaded:null,bytesTotal:null,checkPolicyFile:null,client:null,currentFPS:null,decodedFrames:null,liveDelay:null,objectEncoding:null,time:null,videoCode:null,__closed:null,__connection:null,__soundTransform:null,__timer:null,__video:null,close:function(){null!=this.__video&&(this.__closed=!0,this.__video.pause(),this.__video.src="",this.time=0)},dispose:function(){this.close(),this.__video=null},pause:function(){null!=this.__video&&this.__video.pause()},play:function(e,t,i,l,n,s){null!=this.__video&&(this.__video.volume=openfl_media_SoundMixer.__soundTransform.volume*this.__soundTransform.volume,"string"==typeof e?this.__video.src=e:this.__video.srcObject=e,this.__video.play())},requestVideoStatus:function(){var e=this;null!=this.__video&&(null==this.__timer&&(this.__timer=new haxe_Timer(1)),this.__timer.run=function(){e.__video.paused?e.__playStatus("NetStream.Play.pause"):e.__playStatus("NetStream.Play.playing"),e.__timer.stop()})},resume:function(){null!=this.__video&&this.__video.play()},seek:function(e){null!=this.__video&&(e<0?e=0:e>this.__video.duration&&(e=this.__video.duration),this.__dispatchStatus("NetStream.SeekStart.Notify"),this.__video.currentTime=e)},togglePause:function(){null!=this.__video&&(this.__video.paused?this.__video.play():this.__video.pause())},__dispatchStatus:function(e){var t=new openfl_events_NetStatusEvent("netStatus",!1,!1,{code:e});this.__connection.dispatchEvent(t),this.dispatchEvent(t)},__playStatus:function(e){if(null!=this.__video&&null!=this.client)try{(0,this.client.onPlayStatus)({code:e,duration:this.__video.duration,position:this.__video.currentTime,speed:this.__video.playbackRate,start:this.__video.startTime})}catch(e){haxe_NativeStackTrace.lastError=e}},video_onCanPlay:function(e){this.__playStatus("NetStream.Play.canplay")},video_onCanPlayThrough:function(e){this.__playStatus("NetStream.Play.canplaythrough")},video_onDurationChanged:function(e){this.__playStatus("NetStream.Play.durationchanged")},video_onEnd:function(e){this.__dispatchStatus("NetStream.Play.Stop"),this.__dispatchStatus("NetStream.Play.Complete"),this.__playStatus("NetStream.Play.Complete")},video_onError:function(e){this.__dispatchStatus("NetStream.Play.Stop"),this.__playStatus("NetStream.Play.error")},video_onLoadMetaData:function(e){if(null!=this.__video&&null!=this.client)try{(0,this.client.onMetaData)({width:this.__video.videoWidth,height:this.__video.videoHeight,duration:this.__video.duration})}catch(e){haxe_NativeStackTrace.lastError=e}},video_onLoadStart:function(e){this.__playStatus("NetStream.Play.loadstart")},video_onPause:function(e){this.__playStatus("NetStream.Play.pause")},video_onPlaying:function(e){this.__dispatchStatus("NetStream.Play.Start"),this.__playStatus("NetStream.Play.playing")},video_onSeeking:function(e){this.__playStatus("NetStream.Play.seeking"),this.__dispatchStatus("NetStream.Seek.Complete")},video_onStalled:function(e){this.__playStatus("NetStream.Play.stalled")},video_onTimeUpdate:function(e){null!=this.__video&&(this.time=this.__video.currentTime,this.__playStatus("NetStream.Play.timeupdate"))},video_onWaiting:function(e){this.__playStatus("NetStream.Play.waiting")},get_soundTransform:function(){return this.__soundTransform.clone()},set_soundTransform:function(e){return null!=e&&(this.__soundTransform.pan=e.pan,this.__soundTransform.volume=e.volume,null!=this.__video&&(this.__video.volume=openfl_media_SoundMixer.__soundTransform.volume*this.__soundTransform.volume)),e},get_speed:function(){return null!=this.__video?this.__video.playbackRate:1},set_speed:function(e){return null!=this.__video?this.__video.playbackRate=e:e},__class__:openfl_net_NetStream,__properties__:{set_speed:"set_speed",get_speed:"get_speed",set_soundTransform:"set_soundTransform",get_soundTransform:"get_soundTransform"}});var openfl_net_SharedObject=function(){openfl_events_EventDispatcher.call(this),this.client=this,this.objectEncoding=openfl_net_SharedObject.defaultObjectEncoding};$hxClasses["openfl.net.SharedObject"]=openfl_net_SharedObject,openfl_net_SharedObject.__name__="openfl.net.SharedObject",openfl_net_SharedObject.__sharedObjects=null,openfl_net_SharedObject.getLocal=function(e,t,i){null==i&&(i=!1);var l=[" ","~","%","&","\\",";",":",'"',"'",",","<",">","?","#"],n=!0;if(null==e||""==e)n=!1;else for(var s=0;s<l.length;){var a=l[s];if(++s,e.indexOf(a)>-1){n=!1;break}}if(!n)throw haxe_Exception.thrown(new openfl_errors_Error("Error #2134: Cannot create SharedObject."));null==openfl_net_SharedObject.__sharedObjects&&(openfl_net_SharedObject.__sharedObjects=new haxe_ds_StringMap,null!=lime_app_Application.current&&lime_app_Application.current.onExit.add(openfl_net_SharedObject.application_onExit));var r=t+"/"+e;if(!Object.prototype.hasOwnProperty.call(openfl_net_SharedObject.__sharedObjects.h,r)){var _=null;try{var o=js_Browser.getLocalStorage();null==t&&(null!=o&&(_=o.getItem(window.location.href+":"+e),o.removeItem(window.location.href+":"+e)),t=window.location.pathname),null!=o&&null==_&&(_=o.getItem(t+":"+e))}catch(s){haxe_NativeStackTrace.lastError=s}var h=new openfl_net_SharedObject;if(h.data={},h.__localPath=t,h.__name=e,null!=_&&""!=_)try{var u=new haxe_Unserializer(_);u.setResolver({resolveEnum:Type.resolveEnum,resolveClass:openfl_net_SharedObject.__resolveClass}),h.data=u.unserialize()}catch(s){haxe_NativeStackTrace.lastError=s}openfl_net_SharedObject.__sharedObjects.h[r]=h}return openfl_net_SharedObject.__sharedObjects.h[r]},openfl_net_SharedObject.getRemote=function(e,t,i,l){return null==l&&(l=!1),null==i&&(i=!1),openfl__$internal_Lib.notImplemented({fileName:"openfl/net/SharedObject.hx",lineNumber:808,className:"openfl.net.SharedObject",methodName:"getRemote"}),null},openfl_net_SharedObject.__getPath=function(e,t){var i=lime_system_System.get_applicationStorageDirectory()+"/"+e+"/";if(t=StringTools.replace(t,"//","/"),t=StringTools.replace(t,"//","/"),StringTools.startsWith(t,"/")&&(t=HxOverrides.substr(t,1,null)),StringTools.endsWith(t,"/")&&(t=t.substring(0,t.length-1)),t.indexOf("/")>-1){var l=t.split("/");t="";for(var n=0,s=l.length-1;n<s;)t+="#"+l[n++]+"/";t+=l[l.length-1]}return i+t+".sol"},openfl_net_SharedObject.__mkdir=function(e){},openfl_net_SharedObject.__resolveClass=function(e){return null!=e?(StringTools.startsWith(e,"neash.")&&(e=StringTools.replace(e,"neash.","openfl.")),StringTools.startsWith(e,"native.")&&(e=StringTools.replace(e,"native.","openfl.")),StringTools.startsWith(e,"flash.")&&(e=StringTools.replace(e,"flash.","openfl.")),StringTools.startsWith(e,"openfl._v2.")&&(e=StringTools.replace(e,"openfl._v2.","openfl.")),StringTools.startsWith(e,"openfl._legacy.")&&(e=StringTools.replace(e,"openfl._legacy.","openfl.")),$hxClasses[e]):null},openfl_net_SharedObject.application_onExit=function(e){for(var t=haxe_ds_StringMap.valueIterator(openfl_net_SharedObject.__sharedObjects.h);t.hasNext();)t.next().flush()},openfl_net_SharedObject.__super__=openfl_events_EventDispatcher,openfl_net_SharedObject.prototype=$extend(openfl_events_EventDispatcher.prototype,{client:null,data:null,fps:null,objectEncoding:null,__localPath:null,__name:null,clear:function(){this.data={};try{var e=js_Browser.getLocalStorage();null!=e&&e.removeItem(this.__localPath+":"+this.__name)}catch(e){haxe_NativeStackTrace.lastError=e}},close:function(){},connect:function(e,t){openfl__$internal_Lib.notImplemented({fileName:"openfl/net/SharedObject.hx",lineNumber:392,className:"openfl.net.SharedObject",methodName:"connect"})},flush:function(e){if(null==e&&(e=0),0==Reflect.fields(this.data).length)return 0;var t=haxe_Serializer.run(this.data);try{var i=js_Browser.getLocalStorage();null!=i&&(i.removeItem(this.__localPath+":"+this.__name),i.setItem(this.__localPath+":"+this.__name,t))}catch(e){return haxe_NativeStackTrace.lastError=e,1}return 0},send:function(e){openfl__$internal_Lib.notImplemented({fileName:"openfl/net/SharedObject.hx",lineNumber:824,className:"openfl.net.SharedObject",methodName:"send"})},setDirty:function(e){},setProperty:function(e,t){null!=this.data&&(this.data[e]=t)},get_size:function(){try{var e=haxe_Serializer.run(this.data);return haxe_io_Bytes.ofString(e).length}catch(e){return haxe_NativeStackTrace.lastError=e,0}},__class__:openfl_net_SharedObject,__properties__:{get_size:"get_size"}});var openfl_net_SharedObjectFlushStatus={};openfl_net_SharedObjectFlushStatus.fromString=function(e){switch(e){case"flushed":return 0;case"pending":return 1;default:return null}},openfl_net_SharedObjectFlushStatus.toString=function(e){switch(e){case 0:return"flushed";case 1:return"pending";default:return null}};var openfl_net_URLLoader=function(e){openfl_events_EventDispatcher.call(this),this.bytesLoaded=0,this.bytesTotal=0,this.dataFormat=1,null!=e&&this.load(e)};$hxClasses["openfl.net.URLLoader"]=openfl_net_URLLoader,openfl_net_URLLoader.__name__="openfl.net.URLLoader",openfl_net_URLLoader.__super__=openfl_events_EventDispatcher,openfl_net_URLLoader.prototype=$extend(openfl_events_EventDispatcher.prototype,{bytesLoaded:null,bytesTotal:null,data:null,dataFormat:null,__httpRequest:null,close:function(){null!=this.__httpRequest&&this.__httpRequest.cancel()},load:function(e){var t=this;if(0==this.dataFormat){i=new lime_net__$HTTPRequest_$openfl_$utils_$ByteArray;this.__prepareRequest(i,e),i.load().onProgress($bind(this,this.httpRequest_onProgress)).onError($bind(this,this.httpRequest_onError)).onComplete(function(e){t.__dispatchStatus(),t.data=e;var i=new openfl_events_Event("complete");t.dispatchEvent(i)})}else{var i=new lime_net__$HTTPRequest_$String;this.__prepareRequest(i,e),i.load().onProgress($bind(this,this.httpRequest_onProgress)).onError($bind(this,this.httpRequest_onError)).onComplete(function(e){t.__dispatchStatus(),t.data=e;var i=new openfl_events_Event("complete");t.dispatchEvent(i)})}},__dispatchStatus:function(){var e=new openfl_events_HTTPStatusEvent("httpStatus",!1,!1,this.__httpRequest.responseStatus);e.responseURL=this.__httpRequest.uri;var t=[];if(this.__httpRequest.enableResponseHeaders&&null!=this.__httpRequest.responseHeaders)for(var i=0,l=this.__httpRequest.responseHeaders;i<l.length;){var n=l[i];++i,t.push(new openfl_net_URLRequestHeader(n.name,n.value))}e.responseHeaders=t,this.dispatchEvent(e)},__prepareRequest:function(e,t){if(this.__httpRequest=e,this.__httpRequest.uri=t.url,this.__httpRequest.method=t.method,null!=t.data)if(Type.typeof(t.data)==ValueType.TObject)for(var i=Reflect.fields(t.data),l=0;l<i.length;){var n=i[l];++l,this.__httpRequest.formData.h[n]=Reflect.field(t.data,n)}else t.data instanceof haxe_io_Bytes?this.__httpRequest.data=t.data:this.__httpRequest.data=haxe_io_Bytes.ofString(Std.string(t.data));if(this.__httpRequest.contentType=t.contentType,null!=t.requestHeaders)for(var l=0,s=t.requestHeaders;l<s.length;){var a=s[l];++l,this.__httpRequest.headers.push(new lime_net_HTTPRequestHeader(a.name,a.value))}this.__httpRequest.followRedirects=t.followRedirects,this.__httpRequest.timeout=0|t.idleTimeout,this.__httpRequest.withCredentials=t.manageCookies;var r=t.userAgent;null==r&&(r="Mozilla/5.0 (Windows; U; en) AppleWebKit/420+ (KHTML, like Gecko) OpenFL/1.0"),this.__httpRequest.userAgent=t.userAgent,this.__httpRequest.enableResponseHeaders=!0},httpRequest_onError:function(e){if(this.__dispatchStatus(),403==e)(t=new openfl_events_SecurityErrorEvent("securityError")).text=Std.string(e),this.dispatchEvent(t);else{var t=new openfl_events_IOErrorEvent("ioError");t.text=Std.string(e),this.dispatchEvent(t)}},httpRequest_onProgress:function(e,t){var i=new openfl_events_ProgressEvent("progress");i.bytesLoaded=e,i.bytesTotal=t,this.dispatchEvent(i)},__class__:openfl_net_URLLoader});var openfl_net_URLLoaderDataFormat={};openfl_net_URLLoaderDataFormat.fromString=function(e){switch(e){case"binary":return 0;case"text":return 1;case"variables":return 2;default:return null}},openfl_net_URLLoaderDataFormat.toString=function(e){switch(e){case 0:return"binary";case 1:return"text";case 2:return"variables";default:return null}};var openfl_net_URLRequest=function(e){null!=e&&(this.url=e),this.contentType=null,this.followRedirects=openfl_net_URLRequestDefaults.followRedirects,openfl_net_URLRequestDefaults.idleTimeout>0?this.idleTimeout=openfl_net_URLRequestDefaults.idleTimeout:this.idleTimeout=3e4,this.manageCookies=openfl_net_URLRequestDefaults.manageCookies,this.method="GET",this.requestHeaders=[],this.userAgent=openfl_net_URLRequestDefaults.userAgent};$hxClasses["openfl.net.URLRequest"]=openfl_net_URLRequest,openfl_net_URLRequest.__name__="openfl.net.URLRequest",openfl_net_URLRequest.prototype={contentType:null,data:null,followRedirects:null,idleTimeout:null,manageCookies:null,method:null,requestHeaders:null,url:null,userAgent:null,__class__:openfl_net_URLRequest};var openfl_net_URLRequestDefaults=function(){};$hxClasses["openfl.net.URLRequestDefaults"]=openfl_net_URLRequestDefaults,openfl_net_URLRequestDefaults.__name__="openfl.net.URLRequestDefaults",openfl_net_URLRequestDefaults.userAgent=null;var openfl_net_URLRequestHeader=function(e,t){null==t&&(t=""),null==e&&(e=""),this.name=e,this.value=t};$hxClasses["openfl.net.URLRequestHeader"]=openfl_net_URLRequestHeader,openfl_net_URLRequestHeader.__name__="openfl.net.URLRequestHeader",openfl_net_URLRequestHeader.prototype={name:null,value:null,__class__:openfl_net_URLRequestHeader};var openfl_sensors_Accelerometer=function(){openfl_events_EventDispatcher.call(this),openfl_sensors_Accelerometer.initialize(),this.__interval=0,this.__muted=!1,this.setRequestedUpdateInterval(openfl_sensors_Accelerometer.defaultInterval)};$hxClasses["openfl.sensors.Accelerometer"]=openfl_sensors_Accelerometer,openfl_sensors_Accelerometer.__name__="openfl.sensors.Accelerometer",openfl_sensors_Accelerometer.__properties__={get_isSupported:"get_isSupported"},openfl_sensors_Accelerometer.initialize=function(){if(!openfl_sensors_Accelerometer.initialized){var e=lime_system_Sensor.getSensors(lime_system_SensorType.ACCELEROMETER);e.length>0&&(e[0].onUpdate.add(openfl_sensors_Accelerometer.accelerometer_onUpdate),openfl_sensors_Accelerometer.supported=!0),openfl_sensors_Accelerometer.initialized=!0}},openfl_sensors_Accelerometer.accelerometer_onUpdate=function(e,t,i){openfl_sensors_Accelerometer.currentX=e,openfl_sensors_Accelerometer.currentY=t,openfl_sensors_Accelerometer.currentZ=i},openfl_sensors_Accelerometer.get_isSupported=function(){return openfl_sensors_Accelerometer.initialize(),openfl_sensors_Accelerometer.supported},openfl_sensors_Accelerometer.__super__=openfl_events_EventDispatcher,openfl_sensors_Accelerometer.prototype=$extend(openfl_events_EventDispatcher.prototype,{__interval:null,__muted:null,__timer:null,addEventListener:function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),openfl_events_EventDispatcher.prototype.addEventListener.call(this,e,t,i,l,n),this.update()},setRequestedUpdateInterval:function(e){if(this.__interval=e,this.__interval<0)throw haxe_Exception.thrown(new openfl_errors_ArgumentError);0==this.__interval&&(this.__interval=openfl_sensors_Accelerometer.defaultInterval),null!=this.__timer&&(this.__timer.stop(),this.__timer=null),openfl_sensors_Accelerometer.supported&&!this.get_muted()&&(this.__timer=new haxe_Timer(this.__interval),this.__timer.run=$bind(this,this.update))},update:function(){var e=new openfl_events_AccelerometerEvent("update");e.timestamp=(new Date).getTime()/1e3,e.accelerationX=openfl_sensors_Accelerometer.currentX,e.accelerationY=openfl_sensors_Accelerometer.currentY,e.accelerationZ=openfl_sensors_Accelerometer.currentZ,this.dispatchEvent(e)},get_muted:function(){return this.__muted},set_muted:function(e){return this.__muted=e,this.setRequestedUpdateInterval(this.__interval),e},__class__:openfl_sensors_Accelerometer,__properties__:{set_muted:"set_muted",get_muted:"get_muted"}});var openfl_system_ApplicationDomain=function(e){this.parentDomain=null!=e?e:openfl_system_ApplicationDomain.currentDomain};$hxClasses["openfl.system.ApplicationDomain"]=openfl_system_ApplicationDomain,openfl_system_ApplicationDomain.__name__="openfl.system.ApplicationDomain",openfl_system_ApplicationDomain.prototype={parentDomain:null,getDefinition:function(e){return $hxClasses[e]},hasDefinition:function(e){return null!=$hxClasses[e]},__class__:openfl_system_ApplicationDomain};var openfl_system_LoaderContext=function(e,t,i){null==e&&(e=!1),this.checkPolicyFile=e,this.securityDomain=i,this.applicationDomain=t,this.allowCodeImport=!0,this.allowLoadBytesCodeExecution=!0};$hxClasses["openfl.system.LoaderContext"]=openfl_system_LoaderContext,openfl_system_LoaderContext.__name__="openfl.system.LoaderContext",openfl_system_LoaderContext.prototype={allowCodeImport:null,allowLoadBytesCodeExecution:null,applicationDomain:null,checkPolicyFile:null,securityDomain:null,__class__:openfl_system_LoaderContext};var openfl_system_SecurityDomain=function(){};$hxClasses["openfl.system.SecurityDomain"]=openfl_system_SecurityDomain,openfl_system_SecurityDomain.__name__="openfl.system.SecurityDomain",openfl_system_SecurityDomain.prototype={__class__:openfl_system_SecurityDomain};var openfl_system_System=function(){};$hxClasses["openfl.system.System"]=openfl_system_System,openfl_system_System.__name__="openfl.system.System",openfl_system_System.__properties__={get_vmVersion:"get_vmVersion",get_totalMemory:"get_totalMemory"},openfl_system_System.disposeXML=function(e){},openfl_system_System.exit=function(e){lime_system_System.exit(e)},openfl_system_System.gc=function(){},openfl_system_System.pause=function(){openfl__$internal_Lib.notImplemented({fileName:"openfl/system/System.hx",lineNumber:213,className:"openfl.system.System",methodName:"pause"})},openfl_system_System.resume=function(){openfl__$internal_Lib.notImplemented({fileName:"openfl/system/System.hx",lineNumber:229,className:"openfl.system.System",methodName:"resume"})},openfl_system_System.setClipboard=function(e){lime_system_Clipboard.set_text(e)},openfl_system_System.get_totalMemory=function(){return window.performance&&window.performance.memory?window.performance.memory.usedJSHeapSize:0},openfl_system_System.get_vmVersion=function(){return"1.0.0"};var openfl_text_AntiAliasType={};openfl_text_AntiAliasType.fromString=function(e){switch(e){case"advanced":return 0;case"normal":return 1;default:return null}},openfl_text_AntiAliasType.toString=function(e){switch(e){case 0:return"advanced";case 1:return"normal";default:return null}};var openfl_text_FontStyle={};openfl_text_FontStyle.fromString=function(e){switch(e){case"bold":return 0;case"boldItalic":return 1;case"italic":return 2;case"regular":return 3;default:return null}},openfl_text_FontStyle.toString=function(e){switch(e){case 0:return"bold";case 1:return"boldItalic";case 2:return"italic";case 3:return"regular";default:return null}};var openfl_text_FontType={};openfl_text_FontType.fromString=function(e){switch(e){case"device":return 0;case"embedded":return 1;case"embeddedCFF":return 2;default:return null}},openfl_text_FontType.toString=function(e){switch(e){case 0:return"device";case 1:return"embedded";case 2:return"embeddedCFF";default:return null}};var openfl_text_GridFitType={};openfl_text_GridFitType.fromString=function(e){switch(e){case"none":return 0;case"pixel":return 1;case"subpixel":return 2;default:return null}},openfl_text_GridFitType.toString=function(e){switch(e){case 0:return"none";case 1:return"pixel";case 2:return"subpixel";default:return null}};var openfl_text_TextFieldAutoSize={};openfl_text_TextFieldAutoSize.fromString=function(e){switch(e){case"center":return 0;case"left":return 1;case"none":return 2;case"right":return 3;default:return null}},openfl_text_TextFieldAutoSize.toString=function(e){switch(e){case 0:return"center";case 1:return"left";case 2:return"none";case 3:return"right";default:return null}};var openfl_text_TextFieldType={};openfl_text_TextFieldType.fromString=function(e){switch(e){case"dynamic":return 0;case"input":return 1;default:return null}},openfl_text_TextFieldType.toString=function(e){switch(e){case 0:return"dynamic";case 1:return"input";default:return null}};var openfl_text_TextFormat=function(e,t,i,l,n,s,a,r,_,o,h,u,d){this.font=e,this.size=t,this.color=i,this.bold=l,this.italic=n,this.underline=s,this.url=a,this.target=r,this.align=_,this.leftMargin=o,this.rightMargin=h,this.indent=u,this.leading=d};$hxClasses["openfl.text.TextFormat"]=openfl_text_TextFormat,openfl_text_TextFormat.__name__="openfl.text.TextFormat",openfl_text_TextFormat.prototype={align:null,blockIndent:null,bold:null,bullet:null,color:null,font:null,indent:null,italic:null,kerning:null,leading:null,leftMargin:null,letterSpacing:null,rightMargin:null,size:null,tabStops:null,target:null,underline:null,url:null,__ascent:null,__descent:null,clone:function(){var e=new openfl_text_TextFormat(this.font,this.size,this.color,this.bold,this.italic,this.underline,this.url,this.target);return e.align=this.align,e.leftMargin=this.leftMargin,e.rightMargin=this.rightMargin,e.indent=this.indent,e.leading=this.leading,e.blockIndent=this.blockIndent,e.bullet=this.bullet,e.kerning=this.kerning,e.letterSpacing=this.letterSpacing,e.tabStops=this.tabStops,e.__ascent=this.__ascent,e.__descent=this.__descent,e},__merge:function(e){null!=e.font&&(this.font=e.font),null!=e.size&&(this.size=e.size),null!=e.color&&(this.color=e.color),null!=e.bold&&(this.bold=e.bold),null!=e.italic&&(this.italic=e.italic),null!=e.underline&&(this.underline=e.underline),null!=e.url&&(this.url=e.url),null!=e.target&&(this.target=e.target),null!=e.align&&(this.align=e.align),null!=e.leftMargin&&(this.leftMargin=e.leftMargin),null!=e.rightMargin&&(this.rightMargin=e.rightMargin),null!=e.indent&&(this.indent=e.indent),null!=e.leading&&(this.leading=e.leading),null!=e.blockIndent&&(this.blockIndent=e.blockIndent),null!=e.bullet&&(this.bullet=e.bullet),null!=e.kerning&&(this.kerning=e.kerning),null!=e.letterSpacing&&(this.letterSpacing=e.letterSpacing),null!=e.tabStops&&(this.tabStops=e.tabStops),null!=e.__ascent&&(this.__ascent=e.__ascent),null!=e.__descent&&(this.__descent=e.__descent)},__class__:openfl_text_TextFormat};var openfl_text_TextFormatAlign={};openfl_text_TextFormatAlign.fromString=function(e){switch(e){case"center":return 0;case"end":return 1;case"justify":return 2;case"left":return 3;case"right":return 4;case"start":return 5;default:return null}},openfl_text_TextFormatAlign.toString=function(e){switch(e){case 0:return"center";case 1:return"end";case 2:return"justify";case 3:return"left";case 4:return"right";case 5:return"start";default:return null}};var openfl_text_TextLineMetrics=function(e,t,i,l,n,s){this.x=e,this.width=t,this.height=i,this.ascent=l,this.descent=n,this.leading=s};$hxClasses["openfl.text.TextLineMetrics"]=openfl_text_TextLineMetrics,openfl_text_TextLineMetrics.__name__="openfl.text.TextLineMetrics",openfl_text_TextLineMetrics.prototype={ascent:null,descent:null,height:null,leading:null,width:null,x:null,__class__:openfl_text_TextLineMetrics};var openfl_text__$internal_GlyphPosition=function(e,t,i){this.glyph=e,this.advance=t,this.offset=null!=i?i:new lime_math_Vector2};$hxClasses["openfl.text._internal.GlyphPosition"]=openfl_text__$internal_GlyphPosition,openfl_text__$internal_GlyphPosition.__name__="openfl.text._internal.GlyphPosition",openfl_text__$internal_GlyphPosition.prototype={advance:null,glyph:null,offset:null,__class__:openfl_text__$internal_GlyphPosition};var openfl_text__$internal_TextEngine=function(e){this.textField=e,this.width=100,this.height=100,this.set_text(""),this.bounds=new openfl_geom_Rectangle(0,0,0,0),this.textBounds=new openfl_geom_Rectangle(0,0,0,0),this.type=0,this.autoSize=2,this.embedFonts=!1,this.selectable=!0,this.borderColor=0,this.border=!1,this.backgroundColor=16777215,this.background=!1,this.gridFitType=1,this.maxChars=0,this.multiline=!1,this.numLines=1,this.sharpness=0,this.scrollH=0,this.set_scrollV(1),this.wordWrap=!1,this.lineAscents=openfl_Vector.toFloatVector(null),this.lineBreaks=openfl_Vector.toIntVector(null),this.lineDescents=openfl_Vector.toFloatVector(null),this.lineLeadings=openfl_Vector.toFloatVector(null),this.lineHeights=openfl_Vector.toFloatVector(null),this.lineWidths=openfl_Vector.toFloatVector(null),this.layoutGroups=openfl_Vector.toObjectVector(null),this.textFormatRanges=openfl_Vector.toObjectVector(null),null==openfl_text__$internal_TextEngine.__context&&(openfl_text__$internal_TextEngine.__context=window.document.createElement("canvas").getContext("2d"))};$hxClasses["openfl.text._internal.TextEngine"]=openfl_text__$internal_TextEngine,openfl_text__$internal_TextEngine.__name__="openfl.text._internal.TextEngine",openfl_text__$internal_TextEngine.__context=null,openfl_text__$internal_TextEngine.findFont=function(e){return openfl_text_Font.__fontByName.h[e]},openfl_text__$internal_TextEngine.findFontVariant=function(e){var t=e.font,i=e.bold,l=e.italic;null==t&&(t="_serif");var n=StringTools.replace(StringTools.replace(t," Normal","")," Regular","");return i&&l&&Object.prototype.hasOwnProperty.call(openfl_text_Font.__fontByName.h,n+" Bold Italic")?openfl_text__$internal_TextEngine.findFont(n+" Bold Italic"):i&&Object.prototype.hasOwnProperty.call(openfl_text_Font.__fontByName.h,n+" Bold")?openfl_text__$internal_TextEngine.findFont(n+" Bold"):l&&Object.prototype.hasOwnProperty.call(openfl_text_Font.__fontByName.h,n+" Italic")?openfl_text__$internal_TextEngine.findFont(n+" Italic"):openfl_text__$internal_TextEngine.findFont(t)},openfl_text__$internal_TextEngine.getFormatHeight=function(e){var t,i;openfl_text__$internal_TextEngine.__context.font=openfl_text__$internal_TextEngine.getFont(e);var l=openfl_text__$internal_TextEngine.getFontInstance(e);return null!=e.__ascent?(t=e.size*e.__ascent,i=e.size*e.__descent):null!=l&&0!=l.unitsPerEM?(t=l.ascender/l.unitsPerEM*e.size,i=Math.abs(l.descender/l.unitsPerEM*e.size)):(t=e.size,i=.185*e.size),t+i+e.leading},openfl_text__$internal_TextEngine.getFont=function(e){var t=e.font,i=e.bold,l=e.italic;null==t&&(t="_serif");var n=StringTools.replace(StringTools.replace(t," Normal","")," Regular","");i&&l&&Object.prototype.hasOwnProperty.call(openfl_text_Font.__fontByName.h,n+" Bold Italic")?(t=n+" Bold Italic",i=!1,l=!1):i&&Object.prototype.hasOwnProperty.call(openfl_text_Font.__fontByName.h,n+" Bold")?(t=n+" Bold",i=!1):l&&Object.prototype.hasOwnProperty.call(openfl_text_Font.__fontByName.h,n+" Italic")?(t=n+" Italic",l=!1):(i&&(t.indexOf(" Bold ")>-1||StringTools.endsWith(t," Bold"))&&(i=!1),l&&(t.indexOf(" Italic ")>-1||StringTools.endsWith(t," Italic"))&&(l=!1));var s=l?"italic ":"normal ";s+="normal ",s+=i?"bold ":"normal ",s+=e.size+"px",s+="/"+(e.leading+e.size+3)+"px ";var a;switch(t){case"_sans":a="sans-serif";break;case"_serif":a="serif";break;case"_typewriter":a="monospace";break;default:var r=new RegExp("^[\\s'\"]+(.*)[\\s'\"]+$","".split("u").join(""));a="'"+t.replace(r,"$1")+"'"}return s+=""+a},openfl_text__$internal_TextEngine.getFontInstance=function(e){return openfl_text__$internal_TextEngine.findFontVariant(e)},openfl_text__$internal_TextEngine.prototype={antiAliasType:null,autoSize:null,background:null,backgroundColor:null,border:null,borderColor:null,bottomScrollV:null,bounds:null,caretIndex:null,embedFonts:null,gridFitType:null,height:null,layoutGroups:null,lineAscents:null,lineBreaks:null,lineDescents:null,lineLeadings:null,lineHeights:null,lineWidths:null,maxChars:null,maxScrollH:null,maxScrollV:null,multiline:null,numLines:null,restrict:null,scrollH:null,scrollV:null,selectable:null,sharpness:null,text:null,textBounds:null,textHeight:null,textFormatRanges:null,textWidth:null,type:null,width:null,wordWrap:null,textField:null,__cursorTimer:null,__hasFocus:null,__isKeyDown:null,__measuredHeight:null,__measuredWidth:null,__restrictRegexp:null,__selectionStart:null,__showCursor:null,__textFormat:null,__textLayout:null,__texture:null,__useIntAdvances:null,__cairoFont:null,__font:null,createRestrictRegexp:function(e){var t="",i=[];return new EReg("\\^(.-.|.)","gu").map(e,function(e){return t+=e.matched(1),""}).length>0&&i.push("[^"+e+"]"),t.length>0&&i.push("["+t+"]"),new EReg("("+i.join("|")+")","g")},getBounds:function(){var e=this.border?1:0;this.bounds.width=this.width+e,this.bounds.height=this.height+e;for(var t=this.width,i=this.width,l=this.layoutGroups.iterator();l.hasNext();){var n=l.next();n.offsetX<t&&(t=n.offsetX),n.offsetY<i&&(i=n.offsetY)}t>=this.width&&(t=2),i>=this.height&&(i=2);var s=1.185*this.textHeight;this.textBounds.setTo(Math.max(t-2,0),Math.max(i-2,0),Math.min(this.textWidth+4,this.bounds.width+4),Math.min(s+4,this.bounds.height+4))},getLine:function(e){return e<0||e>this.lineBreaks.get_length()+1?null:0==this.lineBreaks.get_length()?this.text:this.text.substring(e>0?this.lineBreaks.get(e-1):0,this.lineBreaks.get(e))},getLineBreakIndex:function(e){null==e&&(e=0);var t=this.text.indexOf("\n",e),i=this.text.indexOf("\r",e);return-1==t?i:-1==i?t:t<i?t:i},getLineMeasurements:function(){this.lineAscents.set_length(0),this.lineDescents.set_length(0),this.lineLeadings.set_length(0),this.lineHeights.set_length(0),this.lineWidths.set_length(0);var e=0,t=0,i=null,l=0,n=0,s=0;this.textWidth=0,this.textHeight=0,this.numLines=1,this.maxScrollH=0;for(var a=this.layoutGroups.iterator();a.hasNext();){for(var r=a.next();r.lineIndex>this.numLines-1;)this.lineAscents.push(e),this.lineDescents.push(t),this.lineLeadings.push(null!=i?i:0),this.lineHeights.push(l),this.lineWidths.push(n),e=0,t=0,i=null,l=0,n=0,this.numLines++;e=Math.max(e,r.ascent),t=Math.max(t,r.descent),i=null==i?r.leading:0|Math.max(i,r.leading),l=Math.max(l,r.height),(n=r.offsetX-2+r.width)>this.textWidth&&(this.textWidth=n),(s=r.offsetY-2+r.ascent+r.descent)>this.textHeight&&(this.textHeight=s)}if(0==this.textHeight&&null!=this.textField&&1==this.textField.get_type()){var _,o,h=this.textField.__textFormat,u=openfl_text__$internal_TextEngine.getFontInstance(h);null!=h.__ascent?(_=h.size*h.__ascent,o=h.size*h.__descent):null!=u&&0!=u.unitsPerEM?(_=u.ascender/u.unitsPerEM*h.size,o=Math.abs(u.descender/u.unitsPerEM*h.size)):(_=h.size,o=.185*h.size);var d=h.leading;e=_,t=o,i=d,s=_+o,this.textHeight=s}if(this.lineAscents.push(e),this.lineDescents.push(t),this.lineLeadings.push(null!=i?i:0),this.lineHeights.push(l),this.lineWidths.push(n),1==this.numLines&&i>0&&(this.textHeight+=i),this.layoutGroups.get_length()>0&&null!=(a=this.layoutGroups.get(this.layoutGroups.get_length()-1))&&a.startIndex==a.endIndex&&(this.textHeight-=l),2!=this.autoSize)switch(this.autoSize){case 0:case 1:case 3:this.wordWrap||(this.width=this.textWidth+4),this.height=this.textHeight+4,this.bottomScrollV=this.numLines}this.textWidth>this.width-4?this.maxScrollH=this.textWidth-this.width+4|0:this.maxScrollH=0,this.scrollH>this.maxScrollH&&(this.scrollH=this.maxScrollH)},getLayoutGroups:function(){var e=this;if(this.layoutGroups.set_length(0),null!=this.text&&""!=this.text){var t=-1,i=null,l=null,n=openfl_text_TextField.__defaultTextFormat.clone(),s=0,a=0,r=0,_=0,o=3,h=0,u=0,d=null,c=null,p=0,f=0,m=0,x=-2,g=-1,F=this.text.indexOf(" "),y=this.getLineBreakIndex(),S=2,b=2,U=0,v=0,T=function(t,l,n){var s=[];if(null!=i.format.letterSpacing&&i.format.letterSpacing,null==e.__useIntAdvances){var a=new EReg("Trident/7.0","");e.__useIntAdvances=a.match($global.navigator.userAgent)}if(e.__useIntAdvances)for(var r,_=0,o=l,h=n;o<h;){var u=o++;r=openfl_text__$internal_TextEngine.__context.measureText(t.substring(l,u+1)).width,s.push(r-_),_=r}else for(var o=l,h=n;o<h;){var d;if((u=o++)<t.length-1){var c=openfl_text__$internal_TextEngine.__context.measureText(t.charAt(u+1)).width;d=openfl_text__$internal_TextEngine.__context.measureText(HxOverrides.substr(t,u,2)).width-c}else d=openfl_text__$internal_TextEngine.__context.measureText(t.charAt(u)).width;s.push(d)}return s},N=function(e){for(var t=0,i=0;i<e.length;){var l=e[i];++i,t+=l}return t},D=function(t,l){null==d||d.startIndex!=d.endIndex?(d=new openfl_text__$internal_TextLayoutGroup(i.format,t,l),e.layoutGroups.push(d)):(d.format=i.format,d.startIndex=t,d.endIndex=l)},Q=function(){null!=n.__ascent?(a=n.size*n.__ascent,_=n.size*n.__descent):null!=l&&0!=l.unitsPerEM?(a=l.ascender/l.unitsPerEM*n.size,_=Math.abs(l.descender/l.unitsPerEM*n.size)):(a=n.size,_=.185*n.size),s=n.leading,(f=Math.ceil(a+_+s))>m&&(m=f),a>r&&(r=a)},B=function(){null!=n.align&&(o=n.align);n.blockIndent,n.bullet,n.indent;null!=n.leftMargin&&(h=n.leftMargin),null!=n.rightMargin&&(u=n.rightMargin);n.tabStops},R=function(){return t<e.textFormatRanges.get_length()-1&&(t+=1,i=e.textFormatRanges.get(t),n.__merge(i.format),openfl_text__$internal_TextEngine.__context.font=openfl_text__$internal_TextEngine.getFont(n),l=openfl_text__$internal_TextEngine.getFontInstance(n),!0)},w=function(l,n){if(n<=i.end)c=T(e.text,l,n),p=N(c);else{var s=l,a=i.end,r=0;for(c=[],p=0;;){if(s!=a){var _=T(e.text,s,a);c=c.concat(_)}if(a==n){p=N(c);break}if(!R()){lime_utils_Log.warn("You found a bug in OpenFL's text code! Please save a copy of your project and contact Joshua Granick (@singmajesty) so we can fix this.",{fileName:"openfl/text/_internal/TextEngine.hx",lineNumber:1061,className:"openfl.text._internal.TextEngine",methodName:"getLayoutGroups"});break}s=a,a=n<i.end?n:i.end,++r}t-=r+1,R()}},E=function(t){if(t<=i.end)c=T(e.text,U,t),p=N(c),D(U,t),d.positions=c,d.offsetX=S,d.ascent=a,d.descent=_,d.leading=s,d.lineIndex=v,d.offsetY=b,d.width=p,d.height=f,S+=p,t==i.end&&(d=null,R(),Q());else for(;;){var l=t<i.end?t:i.end;if(U!=l&&(c=T(e.text,U,l),p=N(c),D(U,l),d.positions=c,d.offsetX=S,d.ascent=a,d.descent=_,d.leading=s,d.lineIndex=v,d.offsetY=b,d.width=p,d.height=f,S+=p,U=l),l==i.end&&(d=null),l==t)break;if(!R()){lime_utils_Log.warn("You found a bug in OpenFL's text code! Please save a copy of your project and contact Joshua Granick (@singmajesty) so we can fix this.",{fileName:"openfl/text/_internal/TextEngine.hx",lineNumber:1149,className:"openfl.text._internal.TextEngine",methodName:"getLayoutGroups"});break}Q()}U=t},k=function(){Q();for(var t=e.layoutGroups.get_length();--t>-1;){var i=e.layoutGroups.get(t);if(i.lineIndex<v)break;i.lineIndex>v||(i.ascent=r,i.height=m)}b+=m,r=0,m=0,v+=1,S=2},W=function(t){for(var i,l,n,s,a,r=c,_=N(r);S+_>e.width-2;){for(i=l=0,s=0;S+s<e.width-2;)0==(a=r[i])?(++i,++l):(s+=a,++i);if(0==s)break;if(i<2&&s+S>e.width-2){if(U+i-l==t)break}else for(;S+s>e.width-2;)--i-l>0?(w(U,U+i-l),s=p):(i=1,l=0,w(U,U+1),s=0);E(n=U+i-l),k(),w(n,t),r=c,_=p}},Z=function(t){e.width>=4&&e.wordWrap&&W(t),E(t)};R(),B(),Q();for(var M,P=this.text.length+1;U<P;)if(y>-1&&(-1==F||y<F))U<=y?(w(U,y),Z(y),d=null):null!=d&&d.startIndex!=d.endIndex&&(d.endIndex==F&&(d.width-=d.positions[d.positions.length-1]),d=null),i.end==y&&(R(),Q()),k(),U=y+1,g=y,y=this.getLineBreakIndex(U),B();else if(F>-1)for(null!=d&&d.startIndex!=d.endIndex&&(d=null),M=!1;U<this.text.length;){var V=-1;if(-1==F?V=y:(V=F+1,y>-1&&y<V&&(V=y)),-1==V&&(V=this.text.length),w(U,V),2==o){if(c.length>0&&U==x){U+=1;var A=c.shift();p-=A,S+=A}if(c.length>0&&V==F+1){--V;var G=c.pop();p-=G}}if(this.wordWrap&&S+p>this.width-2&&(M=!0,c.length>0&&V==F+1)){var C=c[c.length-1];S+p-C<=this.width-2&&(M=!1)}if(M){if(2!=o&&(null!=d||this.layoutGroups.get_length()>0)){var I=d;null==I&&(I=this.layoutGroups.get(this.layoutGroups.get_length()-1)),I.width-=I.positions[I.positions.length-1],I.endIndex--}for(var L=this.layoutGroups.get_length()-1,J=0;;){if(d=this.layoutGroups.get(L),!(L>0&&d.startIndex>x))break;++J,--L}if(U==x+1&&k(),S=2,J>0)for(var O=this.layoutGroups.get(this.layoutGroups.get_length()-J).offsetX,$=this.layoutGroups.get_length()-J,H=this.layoutGroups.get_length();$<H;){var z=$++;(d=this.layoutGroups.get(z)).offsetX-=O,d.offsetY=b,d.lineIndex=v,S+=d.width}Z(V),M=!1}else if(null!=d&&U==F)2!=o&&(d.endIndex=F,d.positions=d.positions.concat(c),d.width+=p),S+=p,U=V;else if(null==d||2==o)Z(V);else{var Y=V<i.end?V:i.end;Y<V&&(c=T(this.text,U,Y),p=N(c)),d.endIndex=Y,d.positions=d.positions.concat(c),d.width+=p,S+=p,Y==i.end&&(d=null,R(),Q(),U=Y,Y!=V&&E(V)),y==V&&++V,U=V}var X=this.text.indexOf(" ",U);if(y==x&&(d.endIndex=y,y-d.startIndex-d.positions.length<0&&d.positions.push(0),U=y+1),x=F,F=X,y>-1&&y<=U&&(F>y||-1==F)||U>this.text.length)break}else U<this.text.length&&(w(U,this.text.length),Z(this.text.length),k()),U+=1;g==U-2&&g>-1&&(D(U,U),d.positions=[],d.ascent=a,d.descent=_,d.leading=s,d.lineIndex=v,d.offsetX=2,d.offsetY=b,d.width=0,d.height=f)}},restrictText:function(e){return null==e?e:(null!=this.__restrictRegexp&&(e=this.__restrictRegexp.split(e).join("")),e)},setTextAlignment:function(){for(var e,t,i=-1,l=0,n=this.width-4,s=!1,a=0,r=this.layoutGroups.get_length();a<r;){var _=a++;if((e=this.layoutGroups.get(_)).lineIndex!=i)switch(i=e.lineIndex,n=this.width-4-e.format.rightMargin,e.format.align){case 0:l=this.lineWidths.get(i)<n?Math.round((n-this.lineWidths.get(i))/2):0;break;case 2:if(this.lineWidths.get(i)<n){t=1;for(var o=_+1,h=this.layoutGroups.get_length();o<h;){var u=o++;if(this.layoutGroups.get(u).lineIndex!=i)break;0!=u&&32!=HxOverrides.cca(this.text,this.layoutGroups.get(u).startIndex-1)||++t}if(t>1){e=this.layoutGroups.get(_+t-1);var d=HxOverrides.cca(this.text,e.endIndex);if(e.endIndex<this.text.length&&10!=d&&13!=d){l=(n-this.lineWidths.get(i))/(t-1),s=!0;for(var c=1;;)if(this.layoutGroups.get(_+c).offsetX+=l*c,!(++c<t))break}}}l=0;break;case 4:l=this.lineWidths.get(i)<n?Math.round(n-this.lineWidths.get(i)):0;break;default:l=0}l>0&&(e.offsetX+=l)}s&&this.getLineMeasurements()},trimText:function(e){return null==e?e:(this.maxChars>0&&e.length>this.maxChars&&(e=HxOverrides.substr(e,0,this.maxChars)),e)},update:function(){null==this.text||0==this.textFormatRanges.get_length()?(this.lineAscents.set_length(0),this.lineBreaks.set_length(0),this.lineDescents.set_length(0),this.lineLeadings.set_length(0),this.lineHeights.set_length(0),this.lineWidths.set_length(0),this.layoutGroups.set_length(0),this.textWidth=0,this.textHeight=0,this.numLines=1,this.maxScrollH=0,this.maxScrollV=1,this.bottomScrollV=1):(this.getLayoutGroups(),this.getLineMeasurements(),this.setTextAlignment()),this.getBounds()},get_bottomScrollV:function(){if(1==this.numLines||null==this.lineHeights)return 1;for(var e=0,t=this.lineHeights.get_length(),i=t-1,l=this.lineHeights.get_length();i<l;){var n=i++;if(!(e+this.lineHeights.get(n)<=this.height-4)){t=n;break}e+=this.lineHeights.get(n)}return t<1?1:t},get_maxScrollV:function(){if(1==this.numLines||null==this.lineHeights)return 1;var e=this.numLines-1,t=0;10==HxOverrides.cca(this.text,this.text.length-1)&&--e;for(var i=e;e>=0&&t+this.lineHeights.get(e)<=this.height-4;)t+=this.lineHeights.get(e),--e;return e==i?e=this.numLines:e+=2,e<1?1:e},set_restrict:function(e){return this.restrict==e?this.restrict:(this.restrict=e,null==this.restrict||0==this.restrict.length?this.__restrictRegexp=null:this.__restrictRegexp=this.createRestrictRegexp(e),this.restrict)},get_scrollV:function(){if(1==this.numLines||null==this.lineHeights)return 1;var e=this.get_maxScrollV();return this.scrollV>e?e:this.scrollV},set_scrollV:function(e){return e<1&&(e=1),this.scrollV=e},set_text:function(e){return this.text=e},__class__:openfl_text__$internal_TextEngine,__properties__:{set_text:"set_text",set_scrollV:"set_scrollV",get_scrollV:"get_scrollV",set_restrict:"set_restrict",get_maxScrollV:"get_maxScrollV",get_bottomScrollV:"get_bottomScrollV"}};var openfl_text__$internal_TextFormatRange=function(e,t,i){this.format=e,this.start=t,this.end=i};$hxClasses["openfl.text._internal.TextFormatRange"]=openfl_text__$internal_TextFormatRange,openfl_text__$internal_TextFormatRange.__name__="openfl.text._internal.TextFormatRange",openfl_text__$internal_TextFormatRange.prototype={end:null,format:null,start:null,__class__:openfl_text__$internal_TextFormatRange};var openfl_text__$internal_TextLayout=function(e,t,i,l,n,s){null==s&&(s="en"),null==n&&(n="Zyyy"),null==l&&(l=4),null==i&&(i=12),null==e&&(e=""),this.letterSpacing=0,this.set_text(e),this.set_font(t),this.set_size(i),this.__direction=l,this.__script=n,this.__language=s,this.positions=[],this.__dirty=!0,this.__create(this.__direction,this.__script,this.__language)};$hxClasses["openfl.text._internal.TextLayout"]=openfl_text__$internal_TextLayout,openfl_text__$internal_TextLayout.__name__="openfl.text._internal.TextLayout",openfl_text__$internal_TextLayout.prototype={autoHint:null,font:null,glyphs:null,letterSpacing:null,positions:null,size:null,text:null,__buffer:null,__direction:null,__dirty:null,__handle:null,__language:null,__script:null,__font:null,__hbBuffer:null,__hbFont:null,__create:function(e,t,i){if(4==i.length){this.__hbBuffer=lime_text_harfbuzz_HBBuffer._new();this.__hbBuffer,lime_text_harfbuzz_HBLanguage._new(i)}},__position:function(){this.positions=[]},get_positions:function(){return this.__dirty&&(this.__dirty=!1,this.__position()),this.positions},get_direction:function(){return this.__direction},set_direction:function(e){return e==this.__direction?e:(this.__direction=e,this.__dirty=!0,e)},set_font:function(e){return e==this.font?e:(this.font=e,this.__dirty=!0,e)},get_glyphs:function(){for(var e=[],t=0,i=this.get_positions();t<i.length;){var l=i[t];++t,e.push(l.glyph)}return e},get_language:function(){return this.__language},set_language:function(e){return e==this.__language?e:(this.__language=e,this.__dirty=!0,e)},get_script:function(){return this.__script},set_script:function(e){return e==this.__script?e:(this.__script=e,this.__dirty=!0,e)},set_size:function(e){return e==this.size?e:(this.size=e,this.__dirty=!0,e)},set_text:function(e){return e==this.text?e:(this.text=e,this.__dirty=!0,e)},__class__:openfl_text__$internal_TextLayout,__properties__:{set_text:"set_text",set_size:"set_size",set_script:"set_script",get_script:"get_script",get_positions:"get_positions",set_language:"set_language",get_language:"get_language",get_glyphs:"get_glyphs",set_font:"set_font",set_direction:"set_direction",get_direction:"get_direction"}};var openfl_text__$internal_TextDirection={};openfl_text__$internal_TextDirection.__properties__={get_vertical:"get_vertical",get_horizontal:"get_horizontal",get_forward:"get_forward",get_backward:"get_backward"},openfl_text__$internal_TextDirection.reverse=function(e){e^=1},openfl_text__$internal_TextDirection.toString=function(e){switch(e){case 4:return"leftToRight";case 5:return"rightToLeft";case 6:return"topToBottom";case 7:return"bottomToTop";default:return""}},openfl_text__$internal_TextDirection.toHBDirection=function(e){switch(e){case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;default:return 0}},openfl_text__$internal_TextDirection.get_backward=function(e){return 5==(-3&e)},openfl_text__$internal_TextDirection.get_forward=function(e){return 4==(-3&e)},openfl_text__$internal_TextDirection.get_horizontal=function(e){return 4==(-2&e)},openfl_text__$internal_TextDirection.get_vertical=function(e){return 6==(-2&e)};var openfl_text__$internal_TextScript={};openfl_text__$internal_TextScript.__properties__={get_rightToLeft:"get_rightToLeft"},openfl_text__$internal_TextScript.toHBScript=function(e){return 1517910393},openfl_text__$internal_TextScript.get_rightToLeft=function(e){switch(e){case"Arab":case"Armi":case"Avst":case"Cprt":case"Hebr":case"Khar":case"Lydi":case"Mand":case"Nkoo":case"Orkh":case"Phli":case"Phlp":case"Phnx":case"Samr":case"Sarb":case"Syrc":case"Thaa":return!0;default:return!1}};var openfl_text__$internal_TextLayoutGroup=function(e,t,i){this.format=e,this.startIndex=t,this.endIndex=i};$hxClasses["openfl.text._internal.TextLayoutGroup"]=openfl_text__$internal_TextLayoutGroup,openfl_text__$internal_TextLayoutGroup.__name__="openfl.text._internal.TextLayoutGroup",openfl_text__$internal_TextLayoutGroup.prototype={ascent:null,descent:null,endIndex:null,format:null,height:null,leading:null,lineIndex:null,offsetX:null,offsetY:null,positions:null,startIndex:null,width:null,getAdvance:function(e){return this.positions[e]},__class__:openfl_text__$internal_TextLayoutGroup};var openfl_ui_GameInputControl=function(e,t,i,l,n){null==n&&(n=0),openfl_events_EventDispatcher.call(this),this.device=e,this.id=t,this.minValue=i,this.maxValue=l,this.value=n};$hxClasses["openfl.ui.GameInputControl"]=openfl_ui_GameInputControl,openfl_ui_GameInputControl.__name__="openfl.ui.GameInputControl",openfl_ui_GameInputControl.__super__=openfl_events_EventDispatcher,openfl_ui_GameInputControl.prototype=$extend(openfl_events_EventDispatcher.prototype,{device:null,id:null,maxValue:null,minValue:null,value:null,__class__:openfl_ui_GameInputControl});var openfl_ui_GameInputDevice=function(e,t){this.__controls=[],this.__button=new haxe_ds_IntMap,this.__axis=new haxe_ds_IntMap,this.id=e,this.name=t;var i;i=new openfl_ui_GameInputControl(this,"AXIS_0",-1,1),this.__axis.h[0]=i,this.__controls.push(i),i=new openfl_ui_GameInputControl(this,"AXIS_1",-1,1),this.__axis.h[1]=i,this.__controls.push(i),i=new openfl_ui_GameInputControl(this,"AXIS_2",-1,1),this.__axis.h[2]=i,this.__controls.push(i),i=new openfl_ui_GameInputControl(this,"AXIS_3",-1,1),this.__axis.h[3]=i,this.__controls.push(i),i=new openfl_ui_GameInputControl(this,"AXIS_4",-1,1),this.__axis.h[4]=i,this.__controls.push(i),i=new openfl_ui_GameInputControl(this,"AXIS_5",-1,1),this.__axis.h[5]=i,this.__controls.push(i);for(var l=0;l<15;){var n=l++;i=new openfl_ui_GameInputControl(this,"BUTTON_"+n,0,1),this.__button.h[n]=i,this.__controls.push(i)}};$hxClasses["openfl.ui.GameInputDevice"]=openfl_ui_GameInputDevice,openfl_ui_GameInputDevice.__name__="openfl.ui.GameInputDevice",openfl_ui_GameInputDevice.prototype={enabled:null,id:null,name:null,sampleInterval:null,__axis:null,__button:null,__controls:null,__gamepad:null,getCachedSamples:function(e,t){return null==t&&(t=!1),0},getControlAt:function(e){return e>=0&&e<this.__controls.length?this.__controls[e]:null},startCachingSamples:function(e,t){},stopCachingSamples:function(){},get_numControls:function(){return this.__controls.length},__class__:openfl_ui_GameInputDevice,__properties__:{get_numControls:"get_numControls"}};var openfl_ui_Keyboard=function(){};$hxClasses["openfl.ui.Keyboard"]=openfl_ui_Keyboard,openfl_ui_Keyboard.__name__="openfl.ui.Keyboard",openfl_ui_Keyboard.capsLock=null,openfl_ui_Keyboard.numLock=null,openfl_ui_Keyboard.isAccessible=function(){return!1},openfl_ui_Keyboard.__convertKeyCode=function(e){switch(e){case 8:return 8;case 9:return 9;case 13:return 13;case 27:return 27;case 32:return 32;case 33:return 49;case 34:return 222;case 35:return 51;case 36:return 52;case 37:return 53;case 38:return 55;case 39:return 222;case 40:return 57;case 41:return 48;case 42:return 56;case 44:return 188;case 45:return 189;case 46:return 190;case 47:return 191;case 48:return 48;case 49:return 49;case 50:return 50;case 51:return 51;case 52:return 52;case 53:return 53;case 54:return 54;case 55:return 55;case 56:return 56;case 57:return 57;case 58:case 59:return 186;case 60:return 60;case 61:return 187;case 62:return 190;case 63:return 191;case 64:return 50;case 91:return 219;case 92:return 220;case 93:return 221;case 94:return 54;case 95:return 189;case 96:return 192;case 97:return 65;case 98:return 66;case 99:return 67;case 100:return 68;case 101:return 69;case 102:return 70;case 103:return 71;case 104:return 72;case 105:return 73;case 106:return 74;case 107:return 75;case 108:return 76;case 109:return 77;case 110:return 78;case 111:return 79;case 112:return 80;case 113:return 81;case 114:return 82;case 115:return 83;case 116:return 84;case 117:return 85;case 118:return 86;case 119:return 87;case 120:return 88;case 121:return 89;case 122:return 90;case 127:return 46;case 1073741881:return 20;case 1073741882:return 112;case 1073741883:return 113;case 1073741884:return 114;case 1073741885:return 115;case 1073741886:return 116;case 1073741887:return 117;case 1073741888:return 118;case 1073741889:return 119;case 1073741890:return 120;case 1073741891:return 121;case 1073741892:return 122;case 1073741893:return 123;case 1073741894:return 301;case 1073741895:return 145;case 1073741896:return 19;case 1073741897:return 45;case 1073741898:return 36;case 1073741899:return 33;case 1073741901:return 35;case 1073741902:return 34;case 1073741903:return 39;case 1073741904:return 37;case 1073741905:return 40;case 1073741906:return 38;case 1073741907:return 144;case 1073741908:return 111;case 1073741909:return 106;case 1073741910:return 109;case 1073741911:return 107;case 1073741912:return 13;case 1073741913:return 97;case 1073741914:return 98;case 1073741915:return 99;case 1073741916:return 100;case 1073741917:return 101;case 1073741918:return 102;case 1073741919:return 103;case 1073741920:return 104;case 1073741921:return 105;case 1073741922:return 96;case 1073741923:return 110;case 1073741925:return 302;case 1073741928:return 124;case 1073741929:return 125;case 1073741930:return 126;case 1073741982:return 13;case 1073742044:return 110;case 1073742048:return 17;case 1073742049:return 16;case 1073742050:return 18;case 1073742051:return 15;case 1073742052:return 17;case 1073742053:return 16;case 1073742054:return 18;case 1073742055:return 15;default:return e}},openfl_ui_Keyboard.__getCharCode=function(e,t){if(null==t&&(t=!1),t){switch(e){case 48:return 41;case 49:return 33;case 50:return 64;case 51:return 35;case 52:return 36;case 53:return 37;case 54:return 94;case 55:return 38;case 56:return 42;case 57:return 40;case 186:return 58;case 187:return 43;case 188:return 60;case 189:return 95;case 190:return 62;case 191:return 63;case 192:return 126;case 219:return 123;case 220:return 124;case 221:return 125;case 222:return 34}if(e>=65&&e<=90)return e-65+65}else{switch(e){case 8:return 8;case 9:return 9;case 13:return 13;case 27:return 27;case 32:return 32;case 186:return 59;case 187:return 61;case 188:return 44;case 189:return 45;case 190:return 46;case 191:return 47;case 192:return 96;case 219:return 91;case 220:return 92;case 221:return 93;case 222:return 39}if(e>=48&&e<=57)return e-48+48;if(e>=65&&e<=90)return e-65+97}if(e>=96&&e<=105)return e-96+48;switch(e){case 8:return 8;case 13:return 13;case 46:return 127;case 106:return 42;case 107:return 43;case 108:return 44;case 110:return 45;case 111:return 46}return 0},openfl_ui_Keyboard.__getKeyLocation=function(e){switch(e){case 1073741908:case 1073741909:case 1073741910:case 1073741911:case 1073741912:case 1073741913:case 1073741914:case 1073741915:case 1073741916:case 1073741917:case 1073741918:case 1073741919:case 1073741920:case 1073741921:case 1073741922:case 1073741923:case 1073742044:return 3;case 1073742048:case 1073742049:case 1073742050:case 1073742051:return 1;case 1073742052:case 1073742053:case 1073742054:case 1073742055:return 2;default:return 0}};var openfl_ui_Mouse=function(){};$hxClasses["openfl.ui.Mouse"]=openfl_ui_Mouse,openfl_ui_Mouse.__name__="openfl.ui.Mouse",openfl_ui_Mouse.__properties__={set_cursor:"set_cursor",get_cursor:"get_cursor"},openfl_ui_Mouse.__hidden=null,openfl_ui_Mouse.hide=function(){openfl_ui_Mouse.__hidden=!0;for(var e=0,t=lime_app_Application.current.__windows;e<t.length;){var i=t[e];++e,i.set_cursor(null)}},openfl_ui_Mouse.show=function(){openfl_ui_Mouse.__hidden=!1;var e=openfl_ui_Mouse.__cursor;openfl_ui_Mouse.__cursor=null,openfl_ui_Mouse.set_cursor(e)},openfl_ui_Mouse.get_cursor=function(){return openfl_ui_Mouse.__cursor},openfl_ui_Mouse.set_cursor=function(e){null==e&&(e="auto");var t=null;switch(e){case"arrow":t=lime_ui_MouseCursor.ARROW;break;case"button":t=lime_ui_MouseCursor.POINTER;break;case"crosshair":t=lime_ui_MouseCursor.CROSSHAIR;break;case"custom":t=lime_ui_MouseCursor.CUSTOM;break;case"hand":t=lime_ui_MouseCursor.MOVE;break;case"ibeam":t=lime_ui_MouseCursor.TEXT;break;case"resize_nesw":t=lime_ui_MouseCursor.RESIZE_NESW;break;case"resize_ns":t=lime_ui_MouseCursor.RESIZE_NS;break;case"resize_nwse":t=lime_ui_MouseCursor.RESIZE_NWSE;break;case"resize_we":t=lime_ui_MouseCursor.RESIZE_WE;break;case"wait":t=lime_ui_MouseCursor.WAIT;break;case"waitarrow":t=lime_ui_MouseCursor.WAIT_ARROW}if(null!=t&&!openfl_ui_Mouse.__hidden)for(var i=0,l=lime_app_Application.current.__windows;i<l.length;){var n=l[i];++i,n.set_cursor(t)}return openfl_ui_Mouse.__cursor=e};var openfl_ui_MouseCursor={};openfl_ui_MouseCursor.fromLimeCursor=function(e){switch(e._hx_index){case 0:return"arrow";case 1:return"crosshair";case 2:return"auto";case 3:return"hand";case 4:return"button";case 5:return"resize_nesw";case 6:return"resize_ns";case 7:return"resize_nwse";case 8:return"resize_we";case 9:return"ibeam";case 10:return"wait";case 11:return"waitarrow";case 12:return"custom"}},openfl_ui_MouseCursor.toLimeCursor=function(e){switch(e){case"arrow":return lime_ui_MouseCursor.ARROW;case"auto":return lime_ui_MouseCursor.DEFAULT;case"button":return lime_ui_MouseCursor.POINTER;case"crosshair":return lime_ui_MouseCursor.CROSSHAIR;case"custom":return lime_ui_MouseCursor.CUSTOM;case"hand":return lime_ui_MouseCursor.MOVE;case"ibeam":return lime_ui_MouseCursor.TEXT;case"resize_nesw":return lime_ui_MouseCursor.RESIZE_NESW;case"resize_ns":return lime_ui_MouseCursor.RESIZE_NS;case"resize_nwse":return lime_ui_MouseCursor.RESIZE_NWSE;case"resize_we":return lime_ui_MouseCursor.RESIZE_WE;case"wait":return lime_ui_MouseCursor.WAIT;case"waitarrow":return lime_ui_MouseCursor.WAIT_ARROW;default:return lime_ui_MouseCursor.DEFAULT}};var openfl_ui_Multitouch=function(){};$hxClasses["openfl.ui.Multitouch"]=openfl_ui_Multitouch,openfl_ui_Multitouch.__name__="openfl.ui.Multitouch",openfl_ui_Multitouch.__properties__={get_supportsTouchEvents:"get_supportsTouchEvents"},openfl_ui_Multitouch.inputMode=null,openfl_ui_Multitouch.maxTouchPoints=null,openfl_ui_Multitouch.supportedGestures=null,openfl_ui_Multitouch.supportsGestureEvents=null,openfl_ui_Multitouch.get_supportsTouchEvents=function(){return!!("ontouchstart"in document.documentElement||window.DocumentTouch&&document instanceof DocumentTouch)};var openfl_ui_MultitouchInputMode={};openfl_ui_MultitouchInputMode.fromString=function(e){switch(e){case"gesture":return 0;case"none":return 1;case"touchPoint":return 2;default:return null}},openfl_ui_MultitouchInputMode.toString=function(e){switch(e){case 0:return"gesture";case 1:return"none";case 2:return"touchPoint";default:return null}};var openfl_utils_AGALMiniAssembler=function(e){null==e&&(e=!1),this.debugEnabled=!1,this.debugEnabled=e,openfl_utils_AGALMiniAssembler.initialized||openfl_utils_AGALMiniAssembler.init()};$hxClasses["openfl.utils.AGALMiniAssembler"]=openfl_utils_AGALMiniAssembler,openfl_utils_AGALMiniAssembler.__name__="openfl.utils.AGALMiniAssembler",openfl_utils_AGALMiniAssembler.init=function(){openfl_utils_AGALMiniAssembler.initialized=!0;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("mov",2,0,0);e.h.mov=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("add",3,1,0);e.h.add=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sub",3,2,0);e.h.sub=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("mul",3,3,0);e.h.mul=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("div",3,4,0);e.h.div=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("rcp",2,5,0);e.h.rcp=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("min",3,6,0);e.h.min=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("max",3,7,0);e.h.max=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("frc",2,8,0);e.h.frc=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sqt",2,9,0);e.h.sqt=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("rsq",2,10,0);e.h.rsq=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("pow",3,11,0);e.h.pow=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("log",2,12,0);e.h.log=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("exp",2,13,0);e.h.exp=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("nrm",2,14,0);e.h.nrm=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sin",2,15,0);e.h.sin=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("cos",2,16,0);e.h.cos=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("crs",3,17,0);e.h.crs=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("dp3",3,18,0);e.h.dp3=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("dp4",3,19,0);e.h.dp4=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("abs",2,20,0);e.h.abs=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("neg",2,21,0);e.h.neg=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sat",2,22,0);e.h.sat=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("m33",3,23,16);e.h.m33=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("m44",3,24,16);e.h.m44=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("m34",3,25,16);e.h.m34=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("ddx",2,26,288);e.h.ddx=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("ddy",2,27,288);e.h.ddy=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("ife",2,28,897);e.h.ife=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("ine",2,29,897);e.h.ine=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("ifg",2,30,897);e.h.ifg=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("ifl",2,31,897);e.h.ifl=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("els",0,32,1921);e.h.els=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("eif",0,33,1409);e.h.eif=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("kil",1,39,160);e.h.kil=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("tex",3,40,40);e.h.tex=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sge",3,41,0);e.h.sge=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("slt",3,42,0);e.h.slt=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sgn",2,43,0);e.h.sgn=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("seq",3,44,0);e.h.seq=t;var e=openfl_utils_AGALMiniAssembler.OPMAP,t=new openfl_utils__$AGALMiniAssembler_OpCode("sne",3,45,0);e.h.sne=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("rgba",8,0);e.h.rgba=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("compressed",8,1);e.h.compressed=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("compressedalpha",8,2);e.h.compressedalpha=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("dxt1",8,1);e.h.dxt1=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("dxt5",8,2);e.h.dxt5=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("video",8,3);e.h.video=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("2d",12,0);e.h["2d"]=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("3d",12,2);e.h["3d"]=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("cube",12,1);e.h.cube=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("mipnearest",24,1);e.h.mipnearest=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("miplinear",24,2);e.h.miplinear=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("mipnone",24,0);e.h.mipnone=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("nomip",24,0);e.h.nomip=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("nearest",28,0);e.h.nearest=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("linear",28,1);e.h.linear=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("anisotropic2x",28,2);e.h.anisotropic2x=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("anisotropic4x",28,3);e.h.anisotropic4x=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("anisotropic8x",28,4);e.h.anisotropic8x=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("anisotropic16x",28,5);e.h.anisotropic16x=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("centroid",16,1);e.h.centroid=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("single",16,2);e.h.single=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("ignoresampler",16,4);e.h.ignoresampler=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("repeat",20,1);e.h.repeat=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("wrap",20,1);e.h.wrap=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("clamp",20,0);e.h.clamp=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("clamp_u_repeat_v",20,2);e.h.clamp_u_repeat_v=t;var e=openfl_utils_AGALMiniAssembler.SAMPLEMAP,t=new openfl_utils__$AGALMiniAssembler_Sampler("repeat_u_clamp_v",20,3);e.h.repeat_u_clamp_v=t},openfl_utils_AGALMiniAssembler.prototype={agalcode:null,error:null,verbose:null,debugEnabled:null,assemble2:function(e,t,i,l){var n=this.assemble("vertex",i,t),s=this.assemble("fragment",l,t),a=e.createProgram();return a.upload(n,s),a},assemble:function(e,t,i,l){null==l&&(l=!1),null==i&&(i=1);var n=openfl_Lib.getTimer(),s=new openfl_utils_ByteArrayData(0);this.agalcode=s,this.error="";var a=!1;"fragment"==e?a=!0:"vertex"!=e&&(this.error='ERROR: mode needs to be "fragment" or "vertex" but is "'+e+'".'),this.agalcode.__endian=1,this.agalcode.writeByte(160),this.agalcode.writeUnsignedInt(i),this.agalcode.writeByte(161),this.agalcode.writeByte(a?1:0),this.initregmap(i,l);for(var r=StringTools.replace(t,"\r","\n").split("\n"),_=0,o=r.length,h=new EReg("<.*>","g"),u=new EReg("([\\w\\.\\-\\+]+)","gi"),d=new EReg("^\\w{3}","ig"),c=new EReg("vc\\[([vofi][acostdip]?[d]?)(\\d*)?(\\.[xyzw](\\+\\d{1,3})?)?\\](\\.[xyzw]{1,4})?|([vofi][acostdip]?[d]?)(\\d*)?(\\.[xyzw]{1,4})?","gi"),p=new EReg("\\[.*\\]","ig"),f=new EReg("^\\b[A-Za-z]{1,3}","ig"),m=new EReg("\\d+",""),x=new EReg("(\\.[xyzw]{1,4})",""),g=new EReg("[A-Za-z]{1,3}","ig"),F=new EReg("(\\.[xyzw]{1,1})",""),y=new EReg("\\+\\d{1,3}","ig"),S=0;S<o&&""==this.error;){var b=StringTools.trim(r[S]),U=b.indexOf("//");-1!=U&&(b=HxOverrides.substr(b,0,U));var v=h.match(b)?h.matchedPos().pos:-1,T=null;-1!=v&&(T=this.match(HxOverrides.substr(b,v,null),u),b=HxOverrides.substr(b,0,v));var N=null,D=null;if(d.match(b)&&(N=d.matched(0),D=openfl_utils_AGALMiniAssembler.OPMAP.h[N]),null!=D)if(this.debugEnabled&&lime_utils_Log.info(D,{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:272,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),null!=D){if(b=HxOverrides.substr(b,b.indexOf(D.name)+D.name.length,null),0!=(256&D.flags)&&i<2){this.error="error: opcode requires version 2.";break}if(0!=(64&D.flags)&&a){this.error="error: opcode is only allowed in vertex programs.";break}if(0!=(32&D.flags)&&!a){this.error="error: opcode is only allowed in fragment programs.";break}if(this.verbose&&lime_utils_Log.info("emit opcode="+Std.string(D),{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:308,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),this.agalcode.writeUnsignedInt(D.emitCode),++_>4096){this.error="error: too many opcodes. maximum is 4096.";break}var Q=this.match(b,c);if(Q.length!=D.numRegister){this.error="error: wrong number of operands. found "+Q.length+" but expected "+D.numRegister+".";break}for(var B=!1,R=160,w=0,E=Q.length;w<E;){var k=w++,W=!1,Z=this.match(Q[k],p);Z.length>0&&(Q[k]=StringTools.replace(Q[k],Z[0],"0"),this.verbose&&lime_utils_Log.info("IS REL",{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:344,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),W=!0);var M=this.match(Q[k],f);if(0==M.length){this.error="error: could not parse operand "+k+" ("+Q[k]+").",B=!0;break}var P=openfl_utils_AGALMiniAssembler.REGMAP.h[M[0]];if(this.debugEnabled&&lime_utils_Log.info(P,{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:363,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),null==P){this.error="error: could not find register name for operand "+k+" ("+Q[k]+").",B=!0;break}if(a){if(0==(32&P.flags)){this.error="error: register operand "+k+" ("+Q[k]+") only allowed in vertex programs.",B=!0;break}if(W){this.error="error: register operand "+k+" ("+Q[k]+") relative adressing not allowed in fragment programs.",B=!0;break}}else if(0==(64&P.flags)){this.error="error: register operand "+k+" ("+Q[k]+") only allowed in fragment programs.",B=!0;break}Q[k]=HxOverrides.substr(Q[k],Q[k].indexOf(P.name)+P.name.length,null);var V=W?this.match(Z[0],m):this.match(Q[k],m),A=0;if(V.length>0&&(A=Std.parseInt(V[0])),UInt.gt(A,P.range)){var G=P.range+1;this.error="error: register operand "+k+" ("+Q[k]+") index exceeds limit of "+(null==G?"null":Std.string(UInt.toFloat(G)))+".",B=!0;break}var C=0,I=this.match(Q[k],x),L=0==k&&0==(128&D.flags),J=2==k&&0!=(8&D.flags),O=0,$=0,H=0;if(L&&W){this.error="error: relative can not be destination",B=!0;break}if(I.length>0){C=0;for(var z=0,Y=I[0].length,X=1;X<Y;)z=HxOverrides.cca(I[0],X)-120,UInt.gt(z,2)&&(z=3),C|=L?1<<z:z<<(X-1<<1),++X;if(!L)for(;X<=4;)C|=z<<(X-1<<1),++X}else C=L?15:228;if(W){var j=this.match(Z[0],g),K=openfl_utils_AGALMiniAssembler.REGMAP.h[j[0]];if(null==K){this.error="error: bad index register",B=!0;break}O=K.emitCode;var q=this.match(Z[0],F);if(0==q.length){this.error="error: bad index register select",B=!0;break}$=HxOverrides.cca(q[0],1)-120,UInt.gt($,2)&&($=3);var ee=this.match(Z[0],y);if(ee.length>0&&(H=Std.parseInt(ee[0])),H<0||H>255){this.error="error: index offset "+H+" out of bounds. [0..255]",B=!0;break}this.verbose&&lime_utils_Log.info("RELATIVE: type="+O+"=="+j[0]+" sel="+(null==$?"null":Std.string(UInt.toFloat($)))+"=="+q[0]+" idx="+(null==A?"null":Std.string(UInt.toFloat(A)))+" offset="+H,{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:518,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"})}if(this.verbose&&lime_utils_Log.info(" emit argcode="+Std.string(P)+"["+(null==A?"null":Std.string(UInt.toFloat(A)))+"]["+C+"]",{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:525,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),L)this.agalcode.writeShort(A),this.agalcode.writeByte(C),this.agalcode.writeByte(P.emitCode),R-=32;else if(J){this.verbose&&lime_utils_Log.info(" emit sampler",{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:541,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"});for(var te=5,ie=0,le=0,ne=null==T?0:T.length;le<ne;){var se=le++;this.verbose&&lime_utils_Log.info(" opt: "+T[se],{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:552,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"});var ae=openfl_utils_AGALMiniAssembler.SAMPLEMAP.h[T[se]];null==ae?(ie=parseFloat(T[se]),this.verbose&&lime_utils_Log.info(" bias: "+ie,{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:565,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"})):(16!=ae.flag&&(te&=~(15<<ae.flag)),te|=ae.mask<<ae.flag)}this.agalcode.writeShort(A),this.agalcode.writeByte(8*ie|0),this.agalcode.writeByte(0),this.agalcode.writeUnsignedInt(te),this.verbose&&lime_utils_Log.info(" bits: "+(te-5),{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:586,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),R-=64}else 0==k&&(this.agalcode.writeUnsignedInt(0),R-=32),this.agalcode.writeShort(A),this.agalcode.writeByte(H),this.agalcode.writeByte(C),this.agalcode.writeByte(P.emitCode),this.agalcode.writeByte(O),this.agalcode.writeShort(W?32768|$:0),R-=64}for(var re=0;re<R;)this.agalcode.writeByte(0),re+=8;if(B)break;++S}else b.length>=3&&lime_utils_Log.warn("warning: bad line "+S+": "+r[S],{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:279,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),++S;else b.length>=3&&lime_utils_Log.warn("warning: bad line "+S+": "+r[S],{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:262,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),++S}if(""!=this.error&&(this.error+="\n at line "+S+" "+r[S],openfl_utils_ByteArray.set_length(this.agalcode,0),lime_utils_Log.info(this.error,{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:631,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"})),this.debugEnabled){for(var _e="generated bytecode:",w=0,E=openfl_utils_ByteArray.get_length(this.agalcode);w<E;){var oe=w++;oe%16==0&&(_e+="\n"),oe%4==0&&(_e+=" ");var he=StringTools.hex(this.agalcode.b[oe],2);he.length<2&&(he="0"+he),_e+=he}lime_utils_Log.info(_e,{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:662,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"})}return this.verbose&&lime_utils_Log.info("AGALMiniAssembler.assemble time: "+(openfl_Lib.getTimer()-n)/1e3+"s",{fileName:"openfl/utils/AGALMiniAssembler.hx",lineNumber:667,className:"openfl.utils.AGALMiniAssembler",methodName:"assemble"}),this.agalcode},initregmap:function(e,t){var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("va","vertex attribute",0,t?1024:1==e||2==e?7:15,66);i.h.va=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("vc","vertex constant",1,t?1024:1==e?127:249,66);i.h.vc=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("vt","vertex temporary",2,t?1024:1==e?7:25,67);i.h.vt=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("vo","vertex output",3,t?1024:0,65);i.h.vo=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("vi","varying",4,t?1024:1==e?7:9,99);i.h.vi=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("fc","fragment constant",1,t?1024:1==e?27:2==e?63:199,34);i.h.fc=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("ft","fragment temporary",2,t?1024:1==e?7:25,35);i.h.ft=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("fs","texture sampler",5,t?1024:7,34);i.h.fs=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("fo","fragment output",3,t?1024:1==e?0:3,33);i.h.fo=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("fd","fragment depth output",6,t?1024:1==e?-1:0,33);i.h.fd=l;var i=openfl_utils_AGALMiniAssembler.REGMAP,l=new openfl_utils__$AGALMiniAssembler_Register("iid","instance id",7,t?1024:0,66);i.h.iid=l;l=openfl_utils_AGALMiniAssembler.REGMAP.h.vo;openfl_utils_AGALMiniAssembler.REGMAP.h.op=l;l=openfl_utils_AGALMiniAssembler.REGMAP.h.vi;openfl_utils_AGALMiniAssembler.REGMAP.h.i=l;l=openfl_utils_AGALMiniAssembler.REGMAP.h.vi;openfl_utils_AGALMiniAssembler.REGMAP.h.v=l;l=openfl_utils_AGALMiniAssembler.REGMAP.h.fo;openfl_utils_AGALMiniAssembler.REGMAP.h.oc=l;l=openfl_utils_AGALMiniAssembler.REGMAP.h.fd;openfl_utils_AGALMiniAssembler.REGMAP.h.od=l;l=openfl_utils_AGALMiniAssembler.REGMAP.h.vi;openfl_utils_AGALMiniAssembler.REGMAP.h.fi=l},match:function(e,t){for(var i,l=[],n=0;t.matchSub(e,n);)i=t.matched(0),l.push(i),n=t.matchedPos().pos+i.length;return l},__class__:openfl_utils_AGALMiniAssembler};var openfl_utils__$AGALMiniAssembler_OpCode=function(e,t,i,l){this.name=e,this.numRegister=t,this.emitCode=i,this.flags=l};$hxClasses["openfl.utils._AGALMiniAssembler.OpCode"]=openfl_utils__$AGALMiniAssembler_OpCode,openfl_utils__$AGALMiniAssembler_OpCode.__name__="openfl.utils._AGALMiniAssembler.OpCode",openfl_utils__$AGALMiniAssembler_OpCode.prototype={emitCode:null,flags:null,name:null,numRegister:null,toString:function(){return'[OpCode name="'+this.name+'", numRegister='+this.numRegister+", emitCode="+this.emitCode+", flags="+this.flags+"]"},__class__:openfl_utils__$AGALMiniAssembler_OpCode};var openfl_utils__$AGALMiniAssembler_Register=function(e,t,i,l,n){this.name=e,this.longName=t,this.emitCode=i,this.range=l,this.flags=n};$hxClasses["openfl.utils._AGALMiniAssembler.Register"]=openfl_utils__$AGALMiniAssembler_Register,openfl_utils__$AGALMiniAssembler_Register.__name__="openfl.utils._AGALMiniAssembler.Register",openfl_utils__$AGALMiniAssembler_Register.prototype={emitCode:null,name:null,longName:null,flags:null,range:null,toString:function(){return'[Register name="'+this.name+'", longName="'+this.longName+'", emitCode='+(null==this.emitCode?"null":Std.string(UInt.toFloat(this.emitCode)))+", range="+(null==this.range?"null":Std.string(UInt.toFloat(this.range)))+", flags="+(null==this.flags?"null":Std.string(UInt.toFloat(this.flags)))+"]"},__class__:openfl_utils__$AGALMiniAssembler_Register};var openfl_utils__$AGALMiniAssembler_Sampler=function(e,t,i){this.name=e,this.flag=t,this.mask=i};$hxClasses["openfl.utils._AGALMiniAssembler.Sampler"]=openfl_utils__$AGALMiniAssembler_Sampler,openfl_utils__$AGALMiniAssembler_Sampler.__name__="openfl.utils._AGALMiniAssembler.Sampler",openfl_utils__$AGALMiniAssembler_Sampler.prototype={flag:null,mask:null,name:null,toString:function(){return'[Sampler name="'+this.name+'", flag="'+(null==this.flag?"null":Std.string(UInt.toFloat(this.flag)))+'", mask='+(null==this.mask?"null":Std.string(UInt.toFloat(this.mask)))+"]"},__class__:openfl_utils__$AGALMiniAssembler_Sampler};var openfl_utils_IAssetCache=function(){};$hxClasses["openfl.utils.IAssetCache"]=openfl_utils_IAssetCache,openfl_utils_IAssetCache.__name__="openfl.utils.IAssetCache",openfl_utils_IAssetCache.__isInterface__=!0,openfl_utils_IAssetCache.prototype={get_enabled:null,set_enabled:null,clear:null,getBitmapData:null,getFont:null,getSound:null,hasBitmapData:null,hasFont:null,hasSound:null,removeBitmapData:null,removeFont:null,removeSound:null,setBitmapData:null,setFont:null,setSound:null,__class__:openfl_utils_IAssetCache,__properties__:{set_enabled:"set_enabled",get_enabled:"get_enabled"}};var openfl_utils_AssetCache=function(){this.__enabled=!0,this.bitmapData=new haxe_ds_StringMap,this.font=new haxe_ds_StringMap,this.sound=new haxe_ds_StringMap};$hxClasses["openfl.utils.AssetCache"]=openfl_utils_AssetCache,openfl_utils_AssetCache.__name__="openfl.utils.AssetCache",openfl_utils_AssetCache.__interfaces__=[openfl_utils_IAssetCache],openfl_utils_AssetCache.prototype={bitmapData:null,font:null,sound:null,__enabled:null,clear:function(e){if(null==e)this.bitmapData=new haxe_ds_StringMap,this.font=new haxe_ds_StringMap,this.sound=new haxe_ds_StringMap;else{for(var t=haxe_ds_StringMap.keysIterator(this.bitmapData.h),i=t;i.hasNext();){l=i.next();StringTools.startsWith(l,e)&&this.removeBitmapData(l)}for(i=t=haxe_ds_StringMap.keysIterator(this.font.h);i.hasNext();){l=i.next();StringTools.startsWith(l,e)&&this.removeFont(l)}for(i=t=haxe_ds_StringMap.keysIterator(this.sound.h);i.hasNext();){var l=i.next();StringTools.startsWith(l,e)&&this.removeSound(l)}}},getBitmapData:function(e){return this.bitmapData.h[e]},getFont:function(e){return this.font.h[e]},getSound:function(e){return this.sound.h[e]},hasBitmapData:function(e){return Object.prototype.hasOwnProperty.call(this.bitmapData.h,e)},hasFont:function(e){return Object.prototype.hasOwnProperty.call(this.font.h,e)},hasSound:function(e){return Object.prototype.hasOwnProperty.call(this.sound.h,e)},removeBitmapData:function(e){t=lime_utils_Assets.cache.image;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e];var t=this.bitmapData;return!!Object.prototype.hasOwnProperty.call(t.h,e)&&(delete t.h[e],!0)},removeFont:function(e){t=lime_utils_Assets.cache.font;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e];var t=this.font;return!!Object.prototype.hasOwnProperty.call(t.h,e)&&(delete t.h[e],!0)},removeSound:function(e){t=lime_utils_Assets.cache.audio;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e];var t=this.sound;return!!Object.prototype.hasOwnProperty.call(t.h,e)&&(delete t.h[e],!0)},setBitmapData:function(e,t){this.bitmapData.h[e]=t},setFont:function(e,t){this.font.h[e]=t},setSound:function(e,t){this.sound.h[e]=t},get_enabled:function(){return this.__enabled},set_enabled:function(e){return this.__enabled=e},__class__:openfl_utils_AssetCache,__properties__:{set_enabled:"set_enabled",get_enabled:"get_enabled"}};var openfl_utils_AssetLibrary=function(){lime_utils_AssetLibrary.call(this)};$hxClasses["openfl.utils.AssetLibrary"]=openfl_utils_AssetLibrary,openfl_utils_AssetLibrary.__name__="openfl.utils.AssetLibrary",openfl_utils_AssetLibrary.fromBytes=function(e,t){return openfl_utils_AssetLibrary.fromManifest(lime_utils_AssetManifest.fromBytes(openfl_utils_ByteArray.toBytes(e),t))},openfl_utils_AssetLibrary.fromFile=function(e,t){return openfl_utils_AssetLibrary.fromManifest(lime_utils_AssetManifest.fromFile(e,t))},openfl_utils_AssetLibrary.fromManifest=function(e){var t=lime_utils_AssetLibrary.fromManifest(e);if(null!=t){if(t instanceof openfl_utils_AssetLibrary)return t;var i=new openfl_utils_AssetLibrary;return i.__proxy=t,i}return null},openfl_utils_AssetLibrary.loadFromBytes=function(e,t){return lime_utils_AssetManifest.loadFromBytes(openfl_utils_ByteArray.toBytes(e),t).then(function(e){return openfl_utils_AssetLibrary.loadFromManifest(e)})},openfl_utils_AssetLibrary.loadFromFile=function(e,t){return lime_utils_AssetManifest.loadFromFile(e,t).then(function(e){return openfl_utils_AssetLibrary.loadFromManifest(e)})},openfl_utils_AssetLibrary.loadFromManifest=function(e){var t=openfl_utils_AssetLibrary.fromManifest(e);return null!=t?t.load().then(function(e){return lime_app_Future.withValue(e)}):lime_app_Future.withError("Could not load asset manifest")},openfl_utils_AssetLibrary.__super__=lime_utils_AssetLibrary,openfl_utils_AssetLibrary.prototype=$extend(lime_utils_AssetLibrary.prototype,{__proxy:null,exists:function(e,t){return null!=this.__proxy?this.__proxy.exists(e,t):lime_utils_AssetLibrary.prototype.exists.call(this,e,t)},getAsset:function(e,t){return null!=this.__proxy?this.__proxy.getAsset(e,t):lime_utils_AssetLibrary.prototype.getAsset.call(this,e,t)},getAudioBuffer:function(e){return null!=this.__proxy?this.__proxy.getAudioBuffer(e):lime_utils_AssetLibrary.prototype.getAudioBuffer.call(this,e)},getBytes:function(e){return null!=this.__proxy?this.__proxy.getBytes(e):lime_utils_AssetLibrary.prototype.getBytes.call(this,e)},getFont:function(e){return null!=this.__proxy?this.__proxy.getFont(e):lime_utils_AssetLibrary.prototype.getFont.call(this,e)},getImage:function(e){return null!=this.__proxy?this.__proxy.getImage(e):lime_utils_AssetLibrary.prototype.getImage.call(this,e)},getMovieClip:function(e){return null},getPath:function(e){return null!=this.__proxy?this.__proxy.getPath(e):lime_utils_AssetLibrary.prototype.getPath.call(this,e)},getText:function(e){return null!=this.__proxy?this.__proxy.getText(e):lime_utils_AssetLibrary.prototype.getText.call(this,e)},isLocal:function(e,t){return null!=this.__proxy?this.__proxy.isLocal(e,t):lime_utils_AssetLibrary.prototype.isLocal.call(this,e,t)},list:function(e){return null!=this.__proxy?this.__proxy.list(e):lime_utils_AssetLibrary.prototype.list.call(this,e)},loadAsset:function(e,t){return null!=this.__proxy?this.__proxy.loadAsset(e,t):lime_utils_AssetLibrary.prototype.loadAsset.call(this,e,t)},load:function(){return null!=this.__proxy?this.__proxy.load():lime_utils_AssetLibrary.prototype.load.call(this)},loadAudioBuffer:function(e){return null!=this.__proxy?this.__proxy.loadAudioBuffer(e):lime_utils_AssetLibrary.prototype.loadAudioBuffer.call(this,e)},loadBytes:function(e){return null!=this.__proxy?this.__proxy.loadBytes(e):lime_utils_AssetLibrary.prototype.loadBytes.call(this,e)},loadFont:function(e){return null!=this.__proxy?this.__proxy.loadFont(e):lime_utils_AssetLibrary.prototype.loadFont.call(this,e)},loadImage:function(e){return null!=this.__proxy?this.__proxy.loadImage(e):lime_utils_AssetLibrary.prototype.loadImage.call(this,e)},loadMovieClip:function(e){return lime_app_Future.withValue(this.getMovieClip(e))},loadText:function(e){return null!=this.__proxy?this.__proxy.loadText(e):lime_utils_AssetLibrary.prototype.loadText.call(this,e)},unload:function(){return null!=this.__proxy?void this.__proxy.unload():void lime_utils_AssetLibrary.prototype.unload.call(this)},__class__:openfl_utils_AssetLibrary});var openfl_utils_Assets=function(){};$hxClasses["openfl.utils.Assets"]=openfl_utils_Assets,openfl_utils_Assets.__name__="openfl.utils.Assets",openfl_utils_Assets.addEventListener=function(e,t,i,l,n){null==n&&(n=!1),null==l&&(l=0),null==i&&(i=!1),lime_utils_Assets.onChange.has(openfl_utils_Assets.LimeAssets_onChange)||lime_utils_Assets.onChange.add(openfl_utils_Assets.LimeAssets_onChange),openfl_utils_Assets.dispatcher.addEventListener(e,t,i,l,n)},openfl_utils_Assets.dispatchEvent=function(e){return openfl_utils_Assets.dispatcher.dispatchEvent(e)},openfl_utils_Assets.exists=function(e,t){return lime_utils_Assets.exists(e,t)},openfl_utils_Assets.getBitmapData=function(e,t){if(null==t&&(t=!0),t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.hasBitmapData(e)){l=openfl_utils_Assets.cache.getBitmapData(e);if(openfl_utils_Assets.isValidBitmapData(l))return l}var i=lime_utils_Assets.getImage(e,!1);if(null!=i){var l=openfl_display_BitmapData.fromImage(i);return t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.setBitmapData(e,l),l}return null},openfl_utils_Assets.getBytes=function(e){return openfl_utils_ByteArray.fromBytes(lime_utils_Assets.getBytes(e))},openfl_utils_Assets.getFont=function(e,t){if(null==t&&(t=!0),t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.hasFont(e))return openfl_utils_Assets.cache.getFont(e);var i=lime_utils_Assets.getFont(e,!1);if(null!=i){var l=new openfl_text_Font;return l.__fromLimeFont(i),t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.setFont(e,l),l}return new openfl_text_Font},openfl_utils_Assets.getLibrary=function(e){return lime_utils_Assets.getLibrary(e)},openfl_utils_Assets.getMovieClip=function(e){var t=e.substring(0,e.indexOf(":")),i=HxOverrides.substr(e,e.indexOf(":")+1,null),l=openfl_utils_Assets.getLibrary(t);if(null!=l){if(l instanceof openfl_utils_AssetLibrary){var n=l;if(n.exists(i,"MOVIE_CLIP"))return n.isLocal(i,"MOVIE_CLIP")?n.getMovieClip(i):(lime_utils_Log.error('MovieClip asset "'+e+'" exists, but only asynchronously',{fileName:"openfl/utils/Assets.hx",lineNumber:159,className:"openfl.utils.Assets",methodName:"getMovieClip"}),null)}lime_utils_Log.error('There is no MovieClip asset with an ID of "'+e+'"',{fileName:"openfl/utils/Assets.hx",lineNumber:165,className:"openfl.utils.Assets",methodName:"getMovieClip"})}else lime_utils_Log.error('There is no asset library named "'+t+'"',{fileName:"openfl/utils/Assets.hx",lineNumber:169,className:"openfl.utils.Assets",methodName:"getMovieClip"});return null},openfl_utils_Assets.getMusic=function(e,t){return null==t&&(t=!0),openfl_utils_Assets.getSound(e,t)},openfl_utils_Assets.getPath=function(e){return lime_utils_Assets.getPath(e)},openfl_utils_Assets.getSound=function(e,t){if(null==t&&(t=!0),t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.hasSound(e)){l=openfl_utils_Assets.cache.getSound(e);if(openfl_utils_Assets.isValidSound(l))return l}var i=lime_utils_Assets.getAudioBuffer(e,!1);if(null!=i){var l=openfl_media_Sound.fromAudioBuffer(i);return t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.setSound(e,l),l}return null},openfl_utils_Assets.getText=function(e){return lime_utils_Assets.getText(e)},openfl_utils_Assets.hasEventListener=function(e){return openfl_utils_Assets.dispatcher.hasEventListener(e)},openfl_utils_Assets.hasLibrary=function(e){return lime_utils_Assets.hasLibrary(e)},openfl_utils_Assets.isLocal=function(e,t,i){if(null==i&&(i=!0),i&&openfl_utils_Assets.cache.get_enabled()){if(("IMAGE"==t||null==t)&&openfl_utils_Assets.cache.hasBitmapData(e))return!0;if(("FONT"==t||null==t)&&openfl_utils_Assets.cache.hasFont(e))return!0;if(("SOUND"==t||"MUSIC"==t||null==t)&&openfl_utils_Assets.cache.hasSound(e))return!0}var l=e.substring(0,e.indexOf(":")),n=HxOverrides.substr(e,e.indexOf(":")+1,null),s=openfl_utils_Assets.getLibrary(l);return null!=s&&s.isLocal(n,t)},openfl_utils_Assets.isValidBitmapData=function(e){return null!=e&&null!=e.image},openfl_utils_Assets.isValidSound=function(e){return!0},openfl_utils_Assets.list=function(e){return lime_utils_Assets.list(e)},openfl_utils_Assets.loadBitmapData=function(e,t){null==t&&(t=!0),null==t&&(t=!0);var i=new lime_app_Promise;if(t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.hasBitmapData(e)){var l=openfl_utils_Assets.cache.getBitmapData(e);if(openfl_utils_Assets.isValidBitmapData(l))return i.complete(l),i.future}return lime_utils_Assets.loadImage(e,!1).onComplete(function(l){if(null!=l){var n=openfl_display_BitmapData.fromImage(l);t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.setBitmapData(e,n),i.complete(n)}else i.error('[Assets] Could not load Image "'+e+'"')}).onError($bind(i,i.error)).onProgress($bind(i,i.progress)),i.future},openfl_utils_Assets.loadBytes=function(e){var t=new lime_app_Promise,i=lime_utils_Assets.loadBytes(e);return i.onComplete(function(e){t.complete(openfl_utils_ByteArray.fromBytes(e))}),i.onProgress(function(e,i){t.progress(e,i)}),i.onError(function(e){t.error(e)}),t.future},openfl_utils_Assets.loadFont=function(e,t){null==t&&(t=!0),null==t&&(t=!0);var i=new lime_app_Promise;return t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.hasFont(e)?(i.complete(openfl_utils_Assets.cache.getFont(e)),i.future):(lime_utils_Assets.loadFont(e).onComplete(function(l){var n=new openfl_text_Font;n.__fromLimeFont(l),t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.setFont(e,n),i.complete(n)}).onError($bind(i,i.error)).onProgress($bind(i,i.progress)),i.future)},openfl_utils_Assets.loadLibrary=function(e){return lime_utils_Assets.loadLibrary(e).then(function(t){var i=null;return null!=t&&(t instanceof openfl_utils_AssetLibrary?i=t:((i=new openfl_utils_AssetLibrary).__proxy=t,lime_utils_Assets.registerLibrary(e,i))),lime_app_Future.withValue(i)})},openfl_utils_Assets.loadMusic=function(e,t){return null==t&&(t=!0),null==t&&(t=!0),new lime_app_Future(function(){return openfl_utils_Assets.getMusic(e,t)})},openfl_utils_Assets.loadMovieClip=function(e){var t=new lime_app_Promise,i=e.substring(0,e.indexOf(":")),l=HxOverrides.substr(e,e.indexOf(":")+1,null),n=openfl_utils_Assets.getLibrary(i);if(null!=n){if(n instanceof openfl_utils_AssetLibrary){var s=n;if(s.exists(l,"MOVIE_CLIP"))return t.completeWith(s.loadMovieClip(l)),t.future}t.error('[Assets] There is no MovieClip asset with an ID of "'+e+'"')}else t.error('[Assets] There is no asset library named "'+i+'"');return t.future},openfl_utils_Assets.loadSound=function(e,t){null==t&&(t=!0),null==t&&(t=!0);var i=new lime_app_Promise;return lime_utils_Assets.loadAudioBuffer(e,t).onComplete(function(l){if(null!=l){var n=openfl_media_Sound.fromAudioBuffer(l);t&&openfl_utils_Assets.cache.get_enabled()&&openfl_utils_Assets.cache.setSound(e,n),i.complete(n)}else i.error('[Assets] Could not load Sound "'+e+'"')}).onError($bind(i,i.error)).onProgress($bind(i,i.progress)),i.future},openfl_utils_Assets.loadText=function(e){return lime_utils_Assets.loadText(e)},openfl_utils_Assets.registerLibrary=function(e,t){lime_utils_Assets.registerLibrary(e,t)},openfl_utils_Assets.removeEventListener=function(e,t,i){null==i&&(i=!1),openfl_utils_Assets.dispatcher.removeEventListener(e,t,i)},openfl_utils_Assets.resolveClass=function(e){return $hxClasses[e]},openfl_utils_Assets.resolveEnum=function(e){return $hxEnums[e]},openfl_utils_Assets.unloadLibrary=function(e){lime_utils_Assets.unloadLibrary(e)},openfl_utils_Assets.LimeAssets_onChange=function(){openfl_utils_Assets.dispatchEvent(new openfl_events_Event("change"))};var openfl_utils_ByteArray={};openfl_utils_ByteArray.__properties__={set_position:"set_position",get_position:"get_position",set_length:"set_length",get_length:"get_length",get_bytesAvailable:"get_bytesAvailable",set_defaultObjectEncoding:"set_defaultObjectEncoding",get_defaultObjectEncoding:"get_defaultObjectEncoding",set_defaultEndian:"set_defaultEndian",get_defaultEndian:"get_defaultEndian"},openfl_utils_ByteArray._new=function(e){return null==e&&(e=0),new openfl_utils_ByteArrayData(e)},openfl_utils_ByteArray.clear=function(e){e.clear()},openfl_utils_ByteArray.compress=function(e,t){e.compress(t)},openfl_utils_ByteArray.deflate=function(e){e.deflate()},openfl_utils_ByteArray.fromArrayBuffer=function(e){return null==e?null:openfl_utils_ByteArrayData.fromBytes(haxe_io_Bytes.ofData(e))},openfl_utils_ByteArray.fromBytes=function(e){return null==e?null:e instanceof openfl_utils_ByteArrayData?e:openfl_utils_ByteArrayData.fromBytes(e)},openfl_utils_ByteArray.fromBytesData=function(e){return null==e?null:openfl_utils_ByteArrayData.fromBytes(haxe_io_Bytes.ofData(e))},openfl_utils_ByteArray.fromFile=function(e){return openfl_utils_ByteArray.fromBytes(lime_utils_Bytes.fromFile(e))},openfl_utils_ByteArray.fromLimeBytes=function(e){return openfl_utils_ByteArray.fromBytes(e)},openfl_utils_ByteArray.get=function(e,t){return e.b[t]},openfl_utils_ByteArray.inflate=function(e){e.inflate()},openfl_utils_ByteArray.loadFromBytes=function(e){return lime_utils_Bytes.loadFromBytes(e).then(function(e){var t=openfl_utils_ByteArray.fromBytes(e);return lime_app_Future.withValue(t)})},openfl_utils_ByteArray.loadFromFile=function(e){return lime_utils_Bytes.loadFromFile(e).then(function(e){var t=openfl_utils_ByteArray.fromBytes(e);return lime_app_Future.withValue(t)})},openfl_utils_ByteArray.readBoolean=function(e){return e.readBoolean()},openfl_utils_ByteArray.readByte=function(e){return e.readByte()},openfl_utils_ByteArray.readBytes=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),e.readBytes(t,i,l)},openfl_utils_ByteArray.readDouble=function(e){return e.readDouble()},openfl_utils_ByteArray.readFloat=function(e){return e.readFloat()},openfl_utils_ByteArray.readInt=function(e){return e.readInt()},openfl_utils_ByteArray.readMultiByte=function(e,t,i){return e.readMultiByte(t,i)},openfl_utils_ByteArray.readObject=function(e){return e.readObject()},openfl_utils_ByteArray.readShort=function(e){return e.readShort()},openfl_utils_ByteArray.readUTF=function(e){return e.readUTF()},openfl_utils_ByteArray.readUTFBytes=function(e,t){return e.readUTFBytes(t)},openfl_utils_ByteArray.readUnsignedByte=function(e){return e.readUnsignedByte()},openfl_utils_ByteArray.readUnsignedInt=function(e){return e.readUnsignedInt()},openfl_utils_ByteArray.readUnsignedShort=function(e){return e.readUnsignedShort()},openfl_utils_ByteArray.set=function(e,t,i){return e.__resize(t+1),e.b[t]=255&i,i},openfl_utils_ByteArray.toArrayBuffer=function(e){return e.b.bufferValue},openfl_utils_ByteArray.toBytePointer=function(e){return lime_utils_BytePointer.set(openfl_utils_ByteArray.__bytePointer,e,null,null,e.position),openfl_utils_ByteArray.__bytePointer},openfl_utils_ByteArray.toBytes=function(e){return e},openfl_utils_ByteArray.toBytesData=function(e){return e.b.bufferValue},openfl_utils_ByteArray.toLimeBytes=function(e){return openfl_utils_ByteArray.toBytes(openfl_utils_ByteArray.fromBytes(openfl_utils_ByteArray.toBytes(e)))},openfl_utils_ByteArray.toString=function(e){return e.toString()},openfl_utils_ByteArray.uncompress=function(e,t){e.uncompress(t)},openfl_utils_ByteArray.writeBoolean=function(e,t){e.writeBoolean(t)},openfl_utils_ByteArray.writeByte=function(e,t){e.writeByte(t)},openfl_utils_ByteArray.writeBytes=function(e,t,i,l){null==l&&(l=0),null==i&&(i=0),e.writeBytes(t,i,l)},openfl_utils_ByteArray.writeDouble=function(e,t){e.writeDouble(t)},openfl_utils_ByteArray.writeFloat=function(e,t){e.writeFloat(t)},openfl_utils_ByteArray.writeInt=function(e,t){e.writeInt(t)},openfl_utils_ByteArray.writeMultiByte=function(e,t,i){e.writeMultiByte(t,i)},openfl_utils_ByteArray.writeObject=function(e,t){e.writeObject(t)},openfl_utils_ByteArray.writeShort=function(e,t){e.writeShort(t)},openfl_utils_ByteArray.writeUTF=function(e,t){e.writeUTF(t)},openfl_utils_ByteArray.writeUTFBytes=function(e,t){e.writeUTFBytes(t)},openfl_utils_ByteArray.writeUnsignedInt=function(e,t){e.writeUnsignedInt(t)},openfl_utils_ByteArray.get_bytesAvailable=function(e){return e.length-e.position},openfl_utils_ByteArray.get_defaultEndian=function(){return null==openfl_utils_ByteArrayData.__defaultEndian&&(lime_system_System.get_endianness()==lime_system_Endian.LITTLE_ENDIAN?openfl_utils_ByteArrayData.__defaultEndian=1:openfl_utils_ByteArrayData.__defaultEndian=0),openfl_utils_ByteArrayData.__defaultEndian},openfl_utils_ByteArray.set_defaultEndian=function(e){return openfl_utils_ByteArrayData.__defaultEndian=e},openfl_utils_ByteArray.get_defaultObjectEncoding=function(){return openfl_utils_ByteArrayData.defaultObjectEncoding},openfl_utils_ByteArray.set_defaultObjectEncoding=function(e){return openfl_utils_ByteArrayData.defaultObjectEncoding=e},openfl_utils_ByteArray.get_endian=function(e){return e.__endian},openfl_utils_ByteArray.set_endian=function(e,t){return e.__endian=t},openfl_utils_ByteArray.get_length=function(e){return null==e?0:e.length},openfl_utils_ByteArray.set_length=function(e,t){return t>0&&(e.__resize(t),t<e.position&&(e.position=t)),e.length=t,t},openfl_utils_ByteArray.get_objectEncoding=function(e){return e.objectEncoding},openfl_utils_ByteArray.set_objectEncoding=function(e,t){return e.objectEncoding=t},openfl_utils_ByteArray.get_position=function(e){return e.position},openfl_utils_ByteArray.set_position=function(e,t){return e.position=t};var openfl_utils_CompressionAlgorithm={};openfl_utils_CompressionAlgorithm.fromString=function(e){switch(e){case"deflate":return 0;case"lzma":return 1;case"zlib":return 2;default:return null}},openfl_utils_CompressionAlgorithm.toString=function(e){switch(e){case 0:return"deflate";case 1:return"lzma";case 2:return"zlib";default:return null}};var openfl_utils_Dictionary={};openfl_utils_Dictionary.exists=function(e,t){return e.exists(t)},openfl_utils_Dictionary.get=function(e,t){return e.get(t)},openfl_utils_Dictionary.keyValueIterator=function(e){return e.keyValueIterator()},openfl_utils_Dictionary.remove=function(e,t){return e.remove(t)},openfl_utils_Dictionary.set=function(e,t,i){return e.set(t,i),i},openfl_utils_Dictionary.iterator=function(e){return e.keys()},openfl_utils_Dictionary.each=function(e){return e.iterator()},openfl_utils_Dictionary.toStringMap=function(e,t){return new haxe_ds_StringMap},openfl_utils_Dictionary.toIntMap=function(e,t){return new haxe_ds_IntMap},openfl_utils_Dictionary.toFloatMap=function(e,t){return new openfl_utils__$Dictionary_FloatMap},openfl_utils_Dictionary.toEnumValueMapMap=function(e,t){return new haxe_ds_EnumValueMap},openfl_utils_Dictionary.toObjectMap=function(e,t){return new haxe_ds_ObjectMap},openfl_utils_Dictionary.toUtilsObjectMap=function(e,t){return new openfl_utils__$Dictionary_UtilsObjectMap},openfl_utils_Dictionary.toClassMap=function(e,t){return new openfl_utils__$Dictionary_ClassMap},openfl_utils_Dictionary.fromStringMap=function(e){return e},openfl_utils_Dictionary.fromIntMap=function(e){return e},openfl_utils_Dictionary.fromFloatMap=function(e){return e},openfl_utils_Dictionary.fromObjectMap=function(e){return e},openfl_utils_Dictionary.fromUtilsObjectMap=function(e){return e},openfl_utils_Dictionary.fromClassMap=function(e){return e};var openfl_utils__$Dictionary_ClassMap=function(){this.types=new haxe_ds_StringMap,this.values=new haxe_ds_StringMap};$hxClasses["openfl.utils._Dictionary.ClassMap"]=openfl_utils__$Dictionary_ClassMap,openfl_utils__$Dictionary_ClassMap.__name__="openfl.utils._Dictionary.ClassMap",openfl_utils__$Dictionary_ClassMap.__interfaces__=[haxe_IMap],openfl_utils__$Dictionary_ClassMap.prototype={types:null,values:null,clear:function(){this.types.h=Object.create(null),this.values.h=Object.create(null)},copy:function(){for(var e=new openfl_utils__$Dictionary_ClassMap,t=this.keys();t.hasNext();){var i=t.next();e.set(i,this.get(i))}return e},exists:function(e){var t=this.types,i=e.__name__;return Object.prototype.hasOwnProperty.call(t.h,i)},get:function(e){var t=this.values,i=e.__name__;return t.h[i]},keyValueIterator:function(){return new haxe_iterators_MapKeyValueIterator(this)},keys:function(){return haxe_ds_StringMap.valueIterator(this.types.h)},iterator:function(){return haxe_ds_StringMap.valueIterator(this.values.h)},remove:function(e){var t,i=e.__name__,l=this.types;if(Object.prototype.hasOwnProperty.call(l.h,i)?(delete l.h[i],t=!0):t=!1,t)return!0;l=this.values;return!!Object.prototype.hasOwnProperty.call(l.h,i)&&(delete l.h[i],!0)},set:function(e,t){var i=e.__name__;this.types.h[i]=e,this.values.h[i]=t},toString:function(){return haxe_ds_StringMap.stringify(this.values.h)},__class__:openfl_utils__$Dictionary_ClassMap};var openfl_utils__$Dictionary_FloatMap=function(){this.floatKeys=[],this.values=[]};$hxClasses["openfl.utils._Dictionary.FloatMap"]=openfl_utils__$Dictionary_FloatMap,openfl_utils__$Dictionary_FloatMap.__name__="openfl.utils._Dictionary.FloatMap",openfl_utils__$Dictionary_FloatMap.__interfaces__=[haxe_IMap],openfl_utils__$Dictionary_FloatMap.prototype={floatKeys:null,values:null,clear:function(){this.floatKeys=[],this.values=[]},copy:function(){for(var e=new openfl_utils__$Dictionary_FloatMap,t=this.keys();t.hasNext();){var i=t.next();e.set(i,this.get(i))}return e},exists:function(e){return this.indexOf(e)>-1},get:function(e){var t=this.indexOf(e);return t>-1?this.values[t]:null},keyValueIterator:function(){return new haxe_iterators_MapKeyValueIterator(this)},keys:function(){return new haxe_iterators_ArrayIterator(this.floatKeys.slice())},iterator:function(){return new haxe_iterators_ArrayIterator(this.values.slice())},remove:function(e){var t=this.indexOf(e);return t>-1&&(this.floatKeys.splice(t,1),this.values.splice(t,1),!0)},set:function(e,t){this.insertSorted(e,t)},indexOf:function(e){var t=this.floatKeys.length,i=0,l=t-1;if(0==t)return-1;for(var n=0;i<l;){if(n=Math.floor((i+l)/2),this.floatKeys[n]==e)return n;this.floatKeys[n]>e?l=n-1:i=n+1}return this.floatKeys[i]==e?i:-1},insertSorted:function(e,t){var i=this.floatKeys.length,l=0,n=i-1;if(0==i)return this.floatKeys.push(e),void this.values.push(t);for(var s=0;l<n;){if(s=Math.floor((l+n)/2),this.floatKeys[s]==e)return void(this.values[s]=t);this.floatKeys[s]>e?n=s-1:l=s+1}this.floatKeys[l]>e?(this.floatKeys.splice(l,0,e),this.values.splice(l,0,t)):this.floatKeys[l]<e?(this.floatKeys.splice(l+1,0,e),this.values.splice(l+1,0,t)):this.values[l]=t},toString:function(){return this.values.toString()},__class__:openfl_utils__$Dictionary_FloatMap};var openfl_utils__$Dictionary_UtilsObjectMap=function(){this.map=new haxe_ds_ObjectMap};$hxClasses["openfl.utils._Dictionary.UtilsObjectMap"]=openfl_utils__$Dictionary_UtilsObjectMap,openfl_utils__$Dictionary_UtilsObjectMap.__name__="openfl.utils._Dictionary.UtilsObjectMap",openfl_utils__$Dictionary_UtilsObjectMap.__interfaces__=[haxe_IMap],openfl_utils__$Dictionary_UtilsObjectMap.prototype={map:null,clear:function(){this.map.h={__keys__:{}}},copy:function(){for(var e=new openfl_utils__$Dictionary_UtilsObjectMap,t=this.keys();t.hasNext();){var i=t.next();e.set(i,this.get(i))}return e},exists:function(e){return null!=this.map.h.__keys__[e.__id__]},get:function(e){return this.map.h[e.__id__]},keyValueIterator:function(){return new haxe_iterators_MapKeyValueIterator(this)},keys:function(){return this.map.keys()},iterator:function(){return this.map.iterator()},remove:function(e){return this.map.remove(e)},set:function(e,t){this.map.set(e,t)},toString:function(){return this.map.toString()},__class__:openfl_utils__$Dictionary_UtilsObjectMap};var openfl_utils_Endian={};openfl_utils_Endian.fromLimeEndian=function(e){switch(e._hx_index){case 0:return 1;case 1:return 0}},openfl_utils_Endian.fromString=function(e){switch(e){case"bigEndian":return 0;case"littleEndian":return 1;default:return null}},openfl_utils_Endian.toLimeEndian=function(e){switch(e){case 0:return lime_system_Endian.BIG_ENDIAN;case 1:return lime_system_Endian.LITTLE_ENDIAN;default:return null}},openfl_utils_Endian.toString=function(e){switch(e){case 0:return"bigEndian";case 1:return"littleEndian";default:return null}};var openfl_utils_Object={};openfl_utils_Object._new=function(){return{}},openfl_utils_Object.hasOwnProperty=function(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)},openfl_utils_Object.isPrototypeOf=function(e,t){for(var i=js_Boot.getClass(e);null!=i;){if(i==t)return!0;i=i.__super__}return!1},openfl_utils_Object.iterator=function(e){var t=Reflect.fields(e);return null==t&&(t=[]),new haxe_iterators_ArrayIterator(t)},openfl_utils_Object.propertyIsEnumerable=function(e,t){return!(null==e||!Object.prototype.hasOwnProperty.call(e,t))&&js_Boot.__implements(Reflect.field(e,t),haxe_lang_Iterable)},openfl_utils_Object.toLocaleString=function(e){return Std.string(e)},openfl_utils_Object.toString=function(e){return Std.string(e)},openfl_utils_Object.valueOf=function(e){return e},openfl_utils_Object.__get=function(e,t){return Reflect.field(e,t)},openfl_utils_Object.__set=function(e,t,i){return e[t]=i,i};var haxe_lang_Iterator=function(){};$hxClasses["haxe.lang.Iterator"]=haxe_lang_Iterator,haxe_lang_Iterator.__name__="haxe.lang.Iterator",haxe_lang_Iterator.__isInterface__=!0,haxe_lang_Iterator.prototype={hasNext:null,next:null,__class__:haxe_lang_Iterator};var haxe_lang_Iterable=function(){};$hxClasses["haxe.lang.Iterable"]=haxe_lang_Iterable,haxe_lang_Iterable.__name__="haxe.lang.Iterable",haxe_lang_Iterable.__isInterface__=!0,haxe_lang_Iterable.prototype={iterator:null,__class__:haxe_lang_Iterable};var polymod_Framework=$hxEnums["polymod.Framework"]={__ename__:"polymod.Framework",__constructs__:["NME","LIME","OPENFL","HEAPS","KHA","CUSTOM","UNKNOWN"],NME:{_hx_index:0,__enum__:"polymod.Framework",toString:$estr},LIME:{_hx_index:1,__enum__:"polymod.Framework",toString:$estr},OPENFL:{_hx_index:2,__enum__:"polymod.Framework",toString:$estr},HEAPS:{_hx_index:3,__enum__:"polymod.Framework",toString:$estr},KHA:{_hx_index:4,__enum__:"polymod.Framework",toString:$estr},CUSTOM:{_hx_index:5,__enum__:"polymod.Framework",toString:$estr},UNKNOWN:{_hx_index:6,__enum__:"polymod.Framework",toString:$estr}},polymod_Polymod=function(){};$hxClasses["polymod.Polymod"]=polymod_Polymod,polymod_Polymod.__name__="polymod.Polymod",polymod_Polymod.init=function(e){polymod_Polymod.onError=e.errorCallback;var t=e.modRoot,i=e.dirs,l=null;try{var n=e.apiVersion;null!=n&&""!=n||(n="*.*.*"),l=polymod_util_SemanticVersion.fromString(n)}catch(r){haxe_NativeStackTrace.lastError=r;u=haxe_Exception.caught(r).unwrap();return polymod_Polymod.error("parse_api_version","Error parsing api version: ("+Std.string(u)+")","init"),[]}var s=[],a=[];if(null!=e.modVersions)for(var r=0,_=e.modVersions;r<_.length;){var o=_[r];++r;var h=null;try{h=polymod_util_SemanticVersion.fromString(o)}catch(e){haxe_NativeStackTrace.lastError=e;var u=haxe_Exception.caught(e).unwrap();polymod_Polymod.error("param_mod_version","There was an error with one of the mod version patterns you provided: "+Std.string(u),"init"),h=polymod_util_SemanticVersion.fromString("*.*.*")}a.push(h)}for(var r=0,_=i.length;r<_;){var d=r++;if(null!=i[d]){var c=i[d];i[d]=polymod_util_Util.pathJoin(t,i[d]);var p=polymod_Polymod.getMetadata(i[d]);if(null!=p){p.id=c,p.apiVersion.checkCompatibility(l)<3?polymod_Polymod.error("version_conflict_api",'Mod "'+c+'" was built for incompatible API version '+p.apiVersion.toString()+", current API version is "+e.apiVersion.toString(),"init"):0==l.major&&l.minor!=p.apiVersion.minor&&polymod_Polymod.warning("version_prerelease_api",'Modding API is in pre-release, some things might have changed!\nMod "'+c+'" was built for API version '+p.apiVersion.toString()+", current API version is "+l.toString(),"init");var f=a.length>d?a[d]:null;null!=f&&f.checkCompatibility(p.modVersion)<3&&polymod_Polymod.error("version_conflict_mod","Mod pack wants version "+f.toString()+" of mod("+p.id+"), found incompatible version "+p.modVersion.toString()+" instead","init"),s.push(p)}}}return polymod_backends_PolymodAssets.init({framework:e.framework,dirs:i,parseRules:e.parseRules,ignoredFiles:e.ignoredFiles,customBackend:e.customBackend,extensionMap:e.extensionMap}),polymod_backends_PolymodAssets.exists("_polymod_pack.txt")&&polymod_Polymod.initModPack(e),s},polymod_Polymod.getDefaultIgnoreList=function(){return["_polymod_meta.json","_polymod_icon.png","_polymod_pack.txt","ASSET_LICENSE.txt","CODE_LICENSE.txt","LICENSE.txt"]},polymod_Polymod.scan=function(e,t,i){null==t&&(t="*.*.*"),polymod_Polymod.onError=i;try{polymod_util_SemanticVersion.fromString(t)}catch(e){haxe_NativeStackTrace.lastError=e;var l=haxe_Exception.caught(e).unwrap();return polymod_Polymod.error("parse_api_version","Error parsing api version: ("+Std.string(l)+")","scan"),[]}return[]},polymod_Polymod.error=function(e,t,i){null==i&&(i="unknown"),null!=polymod_Polymod.onError&&polymod_Polymod.onError(new polymod_PolymodError(polymod_PolymodErrorType.ERROR,e,t,i))},polymod_Polymod.warning=function(e,t,i){null==i&&(i="unknown"),null!=polymod_Polymod.onError&&polymod_Polymod.onError(new polymod_PolymodError(polymod_PolymodErrorType.WARNING,e,t,i))},polymod_Polymod.notice=function(e,t,i){null==i&&(i="unknown"),null!=polymod_Polymod.onError&&polymod_Polymod.onError(new polymod_PolymodError(polymod_PolymodErrorType.NOTICE,e,t,i))},polymod_Polymod.getFileSystem=function(){return null},polymod_Polymod.getMetadata=function(e){return polymod_Polymod.error("missing_mod",'Could not find mod directory: "'+e+'"'),null},polymod_Polymod.listModFiles=function(e){return null!=polymod_Polymod.library?polymod_Polymod.library.listModFiles(e):[]},polymod_Polymod.initModPack=function(e){var t=polymod_backends_PolymodAssets.getText("_polymod_pack.txt");if(null!=t){var i=polymod_Polymod.getModPack(t),l=i.mods,n=i.versions;e.dirs=l,e.modVersions=n,polymod_Polymod.init(e)}},polymod_Polymod.getModPack=function(e){if(null!=e){var t=e.split(",");if(null==t||0==t.length)return null;for(var i=[],l=0,n=t.length;l<n;){var s=l++;if(i[s]="*.*.*",-1!=t[s].indexOf(":")){var a=t[s].split(":");null!=a&&2==a.length&&(t[s]=a[0],i[s]=a[1])}}return{mods:t,versions:i}}return null};var polymod_ModMetadata=function(){};$hxClasses["polymod.ModMetadata"]=polymod_ModMetadata,polymod_ModMetadata.__name__="polymod.ModMetadata",polymod_ModMetadata.fromJsonStr=function(e){var t=new polymod_ModMetadata,i=JSON.parse(e);t.title=polymod_format_JsonHelp.str(i,"title"),t.description=polymod_format_JsonHelp.str(i,"description"),t.author=polymod_format_JsonHelp.str(i,"author");var l=polymod_format_JsonHelp.str(i,"api_version"),n=polymod_format_JsonHelp.str(i,"mod_version");try{t.apiVersion=polymod_util_SemanticVersion.fromString(l)}catch(t){haxe_NativeStackTrace.lastError=t;s=haxe_Exception.caught(t).unwrap();return polymod_Polymod.error("parse_mod_api_version","Error parsing api version: ("+Std.string(s)+") _polymod_meta.json was : "+e),null}try{t.modVersion=polymod_util_SemanticVersion.fromString(n)}catch(t){haxe_NativeStackTrace.lastError=t;var s=haxe_Exception.caught(t).unwrap();return polymod_Polymod.error("parse_mod_version","Error parsing mod version: ("+Std.string(s)+") _polymod_meta.json was : "+e),null}return t.license=polymod_format_JsonHelp.str(i,"license"),t.licenseRef=polymod_format_JsonHelp.str(i,"license_ref"),t.metaData=polymod_format_JsonHelp.mapStr(i,"metadata"),t},polymod_ModMetadata.prototype={id:null,title:null,description:null,author:null,apiVersion:null,modVersion:null,license:null,licenseRef:null,icon:null,isModPack:null,modPack:null,metaData:null,toJsonStr:function(){var e={};e.title=this.title,e.description=this.description,e.author=this.author,e.api_version=this.apiVersion.toString(),e.mod_version=this.modVersion.toString(),e.license=this.license,e.license_ref=this.licenseRef;for(var t={},i=haxe_ds_StringMap.keysIterator(this.metaData.h);i.hasNext();){var l=i.next();t[l]=this.metaData.h[l]}return e.metadata=t,JSON.stringify(e,null," ")},__class__:polymod_ModMetadata};var polymod_PolymodError=function(e,t,i,l){this.severity=e,this.code=t,this.message=i,this.origin=l};$hxClasses["polymod.PolymodError"]=polymod_PolymodError,polymod_PolymodError.__name__="polymod.PolymodError",polymod_PolymodError.prototype={severity:null,code:null,message:null,origin:null,__class__:polymod_PolymodError};var polymod_PolymodErrorType=$hxEnums["polymod.PolymodErrorType"]={__ename__:"polymod.PolymodErrorType",__constructs__:["NOTICE","WARNING","ERROR"],NOTICE:{_hx_index:0,__enum__:"polymod.PolymodErrorType",toString:$estr},WARNING:{_hx_index:1,__enum__:"polymod.PolymodErrorType",toString:$estr},ERROR:{_hx_index:2,__enum__:"polymod.PolymodErrorType",toString:$estr}},polymod_backends_IBackend=function(){};$hxClasses["polymod.backends.IBackend"]=polymod_backends_IBackend,polymod_backends_IBackend.__name__="polymod.backends.IBackend",polymod_backends_IBackend.__isInterface__=!0,polymod_backends_IBackend.prototype={polymodLibrary:null,init:null,destroy:null,clearCache:null,exists:null,getBytes:null,getText:null,getPath:null,list:null,stripAssetsPrefix:null,__class__:polymod_backends_IBackend};var polymod_backends_StubBackend=function(){};$hxClasses["polymod.backends.StubBackend"]=polymod_backends_StubBackend,polymod_backends_StubBackend.__name__="polymod.backends.StubBackend",polymod_backends_StubBackend.__interfaces__=[polymod_backends_IBackend],polymod_backends_StubBackend.prototype={polymodLibrary:null,init:function(){},destroy:function(){},clearCache:function(){},exists:function(e){return!1},getBytes:function(e){return null},getText:function(e){return null},getPath:function(e){return null},list:function(e){return[]},stripAssetsPrefix:function(e){return e},__class__:polymod_backends_StubBackend};var polymod_backends_HEAPSBackend=function(){polymod_backends_StubBackend.call(this),polymod_Polymod.error("failed_create_backend","HEAPSBackend requires the heaps library, did you forget to install it?")};$hxClasses["polymod.backends.HEAPSBackend"]=polymod_backends_HEAPSBackend,polymod_backends_HEAPSBackend.__name__="polymod.backends.HEAPSBackend",polymod_backends_HEAPSBackend.__super__=polymod_backends_StubBackend,polymod_backends_HEAPSBackend.prototype=$extend(polymod_backends_StubBackend.prototype,{__class__:polymod_backends_HEAPSBackend});var polymod_backends_LimeBackend=function(){};$hxClasses["polymod.backends.LimeBackend"]=polymod_backends_LimeBackend,polymod_backends_LimeBackend.__name__="polymod.backends.LimeBackend",polymod_backends_LimeBackend.__interfaces__=[polymod_backends_IBackend],polymod_backends_LimeBackend.getDefaultAssetLibrary=function(){return null==polymod_backends_LimeBackend.defaultAssetLibrary&&(polymod_backends_LimeBackend.defaultAssetLibrary=lime_utils_Assets.getLibrary("default")),polymod_backends_LimeBackend.defaultAssetLibrary},polymod_backends_LimeBackend.restoreDefaultAssetLibrary=function(){null!=polymod_backends_LimeBackend.defaultAssetLibrary&&lime_utils_Assets.registerLibrary("default",polymod_backends_LimeBackend.defaultAssetLibrary)},polymod_backends_LimeBackend.prototype={polymodLibrary:null,modLibrary:null,fallback:null,init:function(){this.fallback=polymod_backends_LimeBackend.getDefaultAssetLibrary(),this.modLibrary=new polymod_backends_LimeModLibrary(this),lime_utils_Assets.registerLibrary("default",this.modLibrary)},destroy:function(){polymod_backends_LimeBackend.restoreDefaultAssetLibrary(),this.polymodLibrary=null,this.modLibrary.destroy(),this.modLibrary=null,this.fallback=null},exists:function(e){return this.modLibrary.exists(e,null)},getBytes:function(e){return this.modLibrary.getBytes(e)},getText:function(e){return this.modLibrary.getText(e)},getPath:function(e){return this.modLibrary.getPath(e)},list:function(e){return this.modLibrary.list(null==e?null:polymod_backends_LimeModLibrary.PolyToLime(e))},clearCache:function(){if(null!=polymod_backends_LimeBackend.defaultAssetLibrary){for(i=haxe_ds_StringMap.keysIterator(lime_utils_Assets.cache.audio.h);i.hasNext();){var e=i.next(),t=lime_utils_Assets.cache.audio;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}for(i=haxe_ds_StringMap.keysIterator(lime_utils_Assets.cache.font.h);i.hasNext();){var e=i.next(),t=lime_utils_Assets.cache.font;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}for(var i=haxe_ds_StringMap.keysIterator(lime_utils_Assets.cache.image.h);i.hasNext();){var e=i.next(),t=lime_utils_Assets.cache.image;Object.prototype.hasOwnProperty.call(t.h,e)&&delete t.h[e]}}},stripAssetsPrefix:function(e){return 0==polymod_util_Util.uIndexOf(e,"assets/")&&(e=polymod_util_Util.uSubstring(e,7)),e},__class__:polymod_backends_LimeBackend};var polymod_backends_LimeModLibrary=function(e){this.b=e,this.p=this.b.polymodLibrary,this.fallback=this.b.fallback,this.hasFallback=null!=this.fallback,lime_utils_AssetLibrary.call(this)};$hxClasses["polymod.backends.LimeModLibrary"]=polymod_backends_LimeModLibrary,polymod_backends_LimeModLibrary.__name__="polymod.backends.LimeModLibrary",polymod_backends_LimeModLibrary.LimeToPoly=function(e){switch(e){case"BINARY":return"BYTES";case"FONT":return"FONT";case"IMAGE":return"IMAGE";case"MANIFEST":return"MANIFEST";case"MUSIC":return"AUDIO_MUSIC";case"SOUND":return"AUDIO_SOUND";case"TEMPLATE":return"TEMPLATE";case"TEXT":return"TEXT";default:return"UNKNOWN"}},polymod_backends_LimeModLibrary.PolyToLime=function(e){switch(e){case"AUDIO_GENERIC":return"SOUND";case"AUDIO_MUSIC":return"MUSIC";case"AUDIO_SOUND":return"SOUND";case"BYTES":return"BINARY";case"FONT":return"FONT";case"IMAGE":return"IMAGE";case"MANIFEST":return"MANIFEST";case"TEMPLATE":return"TEMPLATE";case"TEXT":return"TEXT";default:return"BINARY"}},polymod_backends_LimeModLibrary.__super__=lime_utils_AssetLibrary,polymod_backends_LimeModLibrary.prototype=$extend(lime_utils_AssetLibrary.prototype,{b:null,p:null,fallback:null,hasFallback:null,type:null,destroy:function(){this.b=null,this.p=null,this.fallback=null,this.type=null},getAsset:function(e,t){var i=this.p.check(e,polymod_backends_LimeModLibrary.LimeToPoly(t));return"TEXT"==t?this.getText(e):!i&&this.hasFallback?this.fallback.getAsset(e,t):lime_utils_AssetLibrary.prototype.getAsset.call(this,e,t)},exists:function(e,t){var i=this.p.check(e,polymod_backends_LimeModLibrary.LimeToPoly(t));return!i&&this.hasFallback?this.fallback.exists(e,t):i},getAudioBuffer:function(e){if(this.p.check(e)){this.p.file(e);return lime_media_AudioBuffer.fromBytes(null)}return this.hasFallback?this.fallback.getAudioBuffer(e):null},getBytes:function(e){this.p.file(e);if(this.p.check(e)){this.p.file(e);return null}return this.hasFallback?this.fallback.getBytes(e):null},getFont:function(e){if(this.p.check(e)){this.p.file(e);return lime_text_Font.fromBytes(null)}return this.hasFallback?this.fallback.getFont(e):null},getImage:function(e){if(this.p.check(e)){this.p.file(e);return lime_graphics_Image.fromBytes(null)}return this.hasFallback?this.fallback.getImage(e):null},getPath:function(e){return this.p.check(e)?this.p.file(e):this.hasFallback?this.fallback.getPath(e):null},getText:function(e){var t=null;return this.p.check(e)?t=lime_utils_AssetLibrary.prototype.getText.call(this,e):this.hasFallback&&(t=this.fallback.getText(e)),null!=t&&(t=this.p.mergeAndAppendText(e,t)),t},loadBytes:function(e){return this.p.check(e)?lime_utils_Bytes.loadFromFile(this.p.file(e)):this.hasFallback?this.fallback.loadBytes(e):lime_utils_Bytes.loadFromFile("")},loadFont:function(e){if(this.p.check(e)){var t=this.paths,i=this.p.file(e);return lime_text_Font.loadFromName(t.h[i])}return this.hasFallback?this.fallback.loadFont(e):lime_text_Font.loadFromName(this.paths.h[""])},loadImage:function(e){return this.p.check(e)?lime_graphics_Image.loadFromFile(this.p.file(e)):this.hasFallback?this.fallback.loadImage(e):lime_graphics_Image.loadFromFile("")},loadAudioBuffer:function(e){if(this.p.check(e)){var t=this.pathGroups,i=this.p.file(e);if(Object.prototype.hasOwnProperty.call(t.h,i)){var t=this.pathGroups,i=this.p.file(e);return lime_media_AudioBuffer.loadFromFiles(t.h[i])}var t=this.paths,i=this.p.file(e);return lime_media_AudioBuffer.loadFromFile(t.h[i])}return this.hasFallback?this.fallback.loadAudioBuffer(e):lime_media_AudioBuffer.loadFromFile("")},loadText:function(e){if(this.p.check(e)){var t=new lime_net__$HTTPRequest_$String,i=this.paths,l=this.p.file(e);return t.load(i.h[l])}return this.hasFallback?this.fallback.loadText(e):(t=new lime_net__$HTTPRequest_$String).load("")},isLocal:function(e,t){return!!this.p.check(e)||!!this.hasFallback&&this.fallback.isLocal(e,t)},list:function(e){for(var t=this.hasFallback?this.fallback.list(e):[],i=null!=e?js_Boot.__cast(e,String):null,l=[],n=haxe_ds_StringMap.keysIterator(this.p.type.h);n.hasNext();){var s=n.next();0!=s.indexOf("_append")&&0!=s.indexOf("_merge")&&((null==i||this.exists(s,i))&&l.push(s))}for(var a=0;a<t.length;){var r=t[a];++a,-1==l.indexOf(r)&&(null==i||this.fallback.exists(r,e))&&l.push(r)}return l},__class__:polymod_backends_LimeModLibrary});var polymod_backends_NMEBackend=function(){polymod_backends_StubBackend.call(this),polymod_Polymod.error("failed_create_backend","NMEBackend requires the nme library, did you forget to install it?")};$hxClasses["polymod.backends.NMEBackend"]=polymod_backends_NMEBackend,polymod_backends_NMEBackend.__name__="polymod.backends.NMEBackend",polymod_backends_NMEBackend.__super__=polymod_backends_StubBackend,polymod_backends_NMEBackend.prototype=$extend(polymod_backends_StubBackend.prototype,{__class__:polymod_backends_NMEBackend});var polymod_backends_OpenFLBackend=function(){polymod_backends_LimeBackend.call(this)};$hxClasses["polymod.backends.OpenFLBackend"]=polymod_backends_OpenFLBackend,polymod_backends_OpenFLBackend.__name__="polymod.backends.OpenFLBackend",polymod_backends_OpenFLBackend.__super__=polymod_backends_LimeBackend,polymod_backends_OpenFLBackend.prototype=$extend(polymod_backends_LimeBackend.prototype,{clearCache:function(){polymod_backends_LimeBackend.prototype.clearCache.call(this),openfl_utils_Assets.cache.clear()},__class__:polymod_backends_OpenFLBackend});var polymod_backends_PolymodAssetLibrary=function(e){this.parseRules=null,this.ignoredFiles=null,this.dirs=null,this.backend=e.backend,this.backend.polymodLibrary=this,this.dirs=e.dirs,this.parseRules=e.parseRules,this.ignoredFiles=null!=e.ignoredFiles?e.ignoredFiles.slice():[],this.extensions=e.extensionMap,this.backend.clearCache(),this.init()};$hxClasses["polymod.backends.PolymodAssetLibrary"]=polymod_backends_PolymodAssetLibrary,polymod_backends_PolymodAssetLibrary.__name__="polymod.backends.PolymodAssetLibrary",polymod_backends_PolymodAssetLibrary.prototype={backend:null,type:null,dirs:null,ignoredFiles:null,parseRules:null,extensions:null,destroy:function(){null!=this.backend&&this.backend.destroy()},mergeAndAppendText:function(e,t){return t=polymod_util_Util.mergeAndAppendText(t,e,this.dirs,$bind(this,this.getTextDirectly),this.parseRules)},getExtensionType:function(e){return e=e.toLowerCase(),0==Object.prototype.hasOwnProperty.call(this.extensions.h,e)?"BYTES":this.extensions.h[e]},getTextDirectly:function(e,t){null==t&&(t="");var i=null;if(this.checkDirectly(e,t)){this.file(e,t);i=null}else i=this.backend.getBytes(e);return null==i?null:i.getString(0,i.length)},exists:function(e){return this.backend.exists(e)},getText:function(e){return this.backend.getText(e)},getBytes:function(e){return this.backend.getBytes(e)},getPath:function(e){return this.backend.getPath(e)},list:function(e){return this.backend.list(e)},listModFiles:function(e){for(var t=[],i=haxe_ds_StringMap.keysIterator(this.type.h);i.hasNext();){var l=i.next();0!=l.indexOf("_append")&&0!=l.indexOf("_merge")&&((null==e||"BYTES"==e||this.check(l,e))&&t.push(l))}return t},check:function(e,t){var i=this._checkExists(e);if(i&&null!=t&&"BYTES"!=t){var l=this.type.h[e];i=l==t||"BYTES"==l}return i},getType:function(e){return this._checkExists(e)?this.type.h[e]:null},checkDirectly:function(e,t){if(e=this.backend.stripAssetsPrefix(e),null==t||""==t)return!1;polymod_util_Util.uCombine([t,polymod_util_Util.sl(),e]);return!1},file:function(e,t){if(null==t&&(t=""),e=this.backend.stripAssetsPrefix(e),""!=t)return polymod_util_Util.pathJoin(t,e);for(var i=0,l=this.dirs;i<l.length;){var n=l[i];++i;polymod_util_Util.pathJoin(n,e)}return""},_checkExists:function(e){if(this.ignoredFiles.length>0&&-1!=this.ignoredFiles.indexOf(e))return!1;e=this.backend.stripAssetsPrefix(e);for(var t=0,i=this.dirs;t<i.length;){var l=i[t];++t;polymod_util_Util.pathJoin(l,e)}return!1},init:function(){if(this.type=new haxe_ds_StringMap,this.extensions=new haxe_ds_StringMap,this.initExtensions(),null==this.parseRules&&(this.parseRules=polymod_format_ParseRules.getDefault()),null!=this.dirs)for(var e=0,t=this.dirs;e<t.length;){var i=t[e];++e,this.initMod(i)}},initExtensions:function(){null==this.extensions&&(this.extensions=new haxe_ds_StringMap),this._extensionSet("mp3","AUDIO_GENERIC"),this._extensionSet("ogg","AUDIO_GENERIC"),this._extensionSet("wav","AUDIO_GENERIC"),this._extensionSet("jpg","IMAGE"),this._extensionSet("png","IMAGE"),this._extensionSet("gif","IMAGE"),this._extensionSet("tga","IMAGE"),this._extensionSet("bmp","IMAGE"),this._extensionSet("tif","IMAGE"),this._extensionSet("tiff","IMAGE"),this._extensionSet("txt","TEXT"),this._extensionSet("xml","TEXT"),this._extensionSet("json","TEXT"),this._extensionSet("csv","TEXT"),this._extensionSet("tsv","TEXT"),this._extensionSet("mpf","TEXT"),this._extensionSet("tsx","TEXT"),this._extensionSet("tmx","TEXT"),this._extensionSet("vdf","TEXT"),this._extensionSet("ttf","FONT"),this._extensionSet("otf","FONT")},_extensionSet:function(e,t){0==Object.prototype.hasOwnProperty.call(this.extensions.h,e)&&(this.extensions.h[e]=t)},initMod:function(e){if(null!=e){var t=null;""!=e&&null!=e||(t=[]);try{t=[]}catch(l){haxe_NativeStackTrace.lastError=l;var i=haxe_Exception.caught(l).unwrap();throw haxe_Exception.thrown("ModAssetLibrary._initMod("+e+") failed : "+Std.string(i))}for(var l=0;l<t.length;){var n=t[l];++l;var s=polymod_util_Util.uLastIndexOf(n,"."),a=-1!=s?n.substring(s+1):"";a=a.toLowerCase();var r=this.getExtensionType(a);this.type.h[n]=r}}},__class__:polymod_backends_PolymodAssetLibrary};var polymod_backends_PolymodAssets=function(){};$hxClasses["polymod.backends.PolymodAssets"]=polymod_backends_PolymodAssets,polymod_backends_PolymodAssets.__name__="polymod.backends.PolymodAssets",polymod_backends_PolymodAssets.init=function(e){var t=e.framework;null==t?(t=polymod_backends_PolymodAssets.autoDetectFramework(),polymod_Polymod.notice("framework_autodetect"," going with "+Std.string(t))):polymod_Polymod.notice("framework_init"," user specified "+Std.string(t));var i;switch(t._hx_index){case 0:i=new polymod_backends_NMEBackend;break;case 1:i=new polymod_backends_LimeBackend;break;case 2:i=new polymod_backends_OpenFLBackend;break;case 3:i=new polymod_backends_HEAPSBackend;break;case 5:null!=e.customBackend?i=Type.createInstance(e.customBackend,[]):(polymod_Polymod.error("undefined_custom_backend","params.customBackend was not defined!"),i=null);break;default:i=null}return null==i?(polymod_Polymod.error("failed_create_backend","could not create a backend for framework("+Std.string(t)+")!"),null):(null!=polymod_backends_PolymodAssets.library&&polymod_backends_PolymodAssets.library.destroy(),polymod_backends_PolymodAssets.library=new polymod_backends_PolymodAssetLibrary({backend:i,dirs:e.dirs,parseRules:e.parseRules,ignoredFiles:e.ignoredFiles,extensionMap:e.extensionMap}),i.init(),polymod_backends_PolymodAssets.library)},polymod_backends_PolymodAssets.exists=function(e){return polymod_backends_PolymodAssets.library.exists(e)},polymod_backends_PolymodAssets.getBytes=function(e){return polymod_backends_PolymodAssets.library.getBytes(e)},polymod_backends_PolymodAssets.getText=function(e){return polymod_backends_PolymodAssets.library.getText(e)},polymod_backends_PolymodAssets.getPath=function(e){return polymod_backends_PolymodAssets.library.getPath(e)},polymod_backends_PolymodAssets.list=function(e){return polymod_backends_PolymodAssets.library.list(e)},polymod_backends_PolymodAssets.library=null,polymod_backends_PolymodAssets.autoDetectFramework=function(){return polymod_Framework.OPENFL};var polymod_backends_PolymodAssetType={};polymod_backends_PolymodAssetType.fromString=function(e){switch(e=e.toUpperCase()){case"AUDIO_GENERIC":case"AUDIO_MUSIC":case"AUDIO_SOUND":case"BYTES":case"FONT":case"IMAGE":case"MANIFEST":case"TEMPLATE":case"TEXT":case"UNKNOWN":case"VIDEO":return e;default:return"UNKNOWN"}};var polymod_format_BaseParseFormat=function(){};$hxClasses["polymod.format.BaseParseFormat"]=polymod_format_BaseParseFormat,polymod_format_BaseParseFormat.__name__="polymod.format.BaseParseFormat",polymod_format_BaseParseFormat.__isInterface__=!0,polymod_format_BaseParseFormat.prototype={format:null,append:null,merge:null,__class__:polymod_format_BaseParseFormat};var polymod_format_CSV=function(){this._quoted=!1,this._delimeter="",this._rgx=null};$hxClasses["polymod.format.CSV"]=polymod_format_CSV,polymod_format_CSV.__name__="polymod.format.CSV",polymod_format_CSV.parse=function(e,t,i){null==i&&(i=!0),null==t&&(t=",");var l=new polymod_format_CSV;return l._parse(e,t,i),l},polymod_format_CSV.parseWithFormat=function(e,t){return t.get_isSimpleMode()?polymod_format_CSV.parseSimple(e):polymod_format_CSV.parse(e,t.delimeter,t.quotedCells)},polymod_format_CSV.parseSimple=function(e){var t="\n";-1!=e.indexOf("\r\n")&&(t="\r\n");for(var i=e.split(t),l=i.shift().split(","),n=[],s=0;s<i.length;){var a=i[s];++s;var r=a.split(",");n.push(r)}var _=new polymod_format_CSV;return _.fields=l,_.grid=n,_},polymod_format_CSV.prototype={fields:null,grid:null,destroy:function(){this.clearArray(this.grid),this.clearArray(this.fields),this.grid=null,this.fields=null},_rgx:null,_delimeter:null,_quoted:null,_parse:function(e,t,i){null==i&&(i=!0),null==t&&(t=","),this._delimeter=t,this._quoted=i,""!=e&&this.processRows(this.getRows(e))},clearArray:function(e){if(null!=e){for(var t=e.length-1;t>=0;)this.destroyThing(e[t]),e[t]=null,e.splice(t,1),--t;e=null}},destroyThing:function(e){null!=e&&(e instanceof Array&&this.clearArray(e),e=null)},getCells:function(e){return null==this._rgx&&(e.charAt(e.length-1)==this._delimeter&&(e=HxOverrides.substr(e,0,e.length-1)),","==this._delimeter?this._rgx=new EReg(",(?=(?:[^\\x22]*\\x22[^\\x22]*\\x22)*(?![^\\x22]*\\x22))","gm"):this._rgx=new EReg(this._delimeter+'(?=(?:[^"]*"[^"]*")*(?![^"]*"))',"gm")),this._rgx.split(e)},getRows:function(e){var t="\r\n";return-1==e.indexOf("\r\n")&&(t="\n"),e.split(t)},processCells:function(e,t){null==t&&(t=0);var i=null;null==this.grid&&(this.grid=[],this.fields=[]),i=[];for(var l=0,n=e.length;l<n;){var s=l++,a="";a=this._quoted?HxOverrides.substr(e[s],1,e[s].length-2):e[s],0==t?this.fields.push(a):i.push(a)}this.grid.push(i),this.clearArray(e),e=null},processRows:function(e){for(var t=0,i=e.length;t<i;){var l=t++;this.processCells(this.getCells(e[l]),l)}},__class__:polymod_format_CSV};var polymod_format_JsonHelp=function(){};$hxClasses["polymod.format.JsonHelp"]=polymod_format_JsonHelp,polymod_format_JsonHelp.__name__="polymod.format.JsonHelp",polymod_format_JsonHelp.bool=function(e,t,i){null==i&&(i=!1);var l="";return Object.prototype.hasOwnProperty.call(e,t)&&(l=Reflect.field(e,t)),null==l||""==l?i:"true"==(l=l.toLowerCase())},polymod_format_JsonHelp.int=function(e,t,i){null==i&&(i=0);var l="";if(Object.prototype.hasOwnProperty.call(e,t)&&(l=Reflect.field(e,t)),null==l||""==l)return i;var n=Std.parseInt(l);return null==n?i:n},polymod_format_JsonHelp.float=function(e,t,i){null==i&&(i=0);var l="";if(Object.prototype.hasOwnProperty.call(e,t)&&(l=Reflect.field(e,t)),null==l||""==l)return i;var n=NaN;try{n=parseFloat(l)}catch(e){haxe_NativeStackTrace.lastError=e,n=NaN}return isNaN(n)?i:n},polymod_format_JsonHelp.mapStr=function(e,t){var i=new haxe_ds_StringMap;if(null==e||""==t||null==t)return i;var l=null;if(Object.prototype.hasOwnProperty.call(e,t)&&(l=Reflect.field(e,t)),null!=l)for(var n=0,s=Reflect.fields(l);n<s.length;){var t=s[n];++n;var a=Reflect.field(l,t);i.h[t]=Std.string(a)}return i},polymod_format_JsonHelp.str=function(e,t,i){null==i&&(i="");var l="";return Object.prototype.hasOwnProperty.call(e,t)&&(l=Reflect.field(e,t)),null==l||""==l?i:l},polymod_format_JsonHelp.arrStr=function(e,t,i){var l=null;return Object.prototype.hasOwnProperty.call(e,t)&&(l=Reflect.field(e,t)),null!=l&&l instanceof Array?l:i};var polymod_format_ParseRules=function(){this.formats=new haxe_ds_StringMap};$hxClasses["polymod.format.ParseRules"]=polymod_format_ParseRules,polymod_format_ParseRules.__name__="polymod.format.ParseRules",polymod_format_ParseRules.getDefault=function(){var e=new polymod_format_ParseRules;return e.addFormat("csv",new polymod_format_CSVParseFormat(",",!0)),e.addFormat("tsv",new polymod_format_TSVParseFormat),e.addFormat("xml",new polymod_format_XMLParseFormat),e.addFormat("json",new polymod_format_JSONParseFormat),e.addFormat("txt",new polymod_format_PlainTextParseFormat),e},polymod_format_ParseRules.prototype={formats:null,addType:function(e,t){var i;switch(t._hx_index){case 0:i=new polymod_format_PlainTextParseFormat;break;case 1:i=new polymod_format_LinesParseFormat(polymod_format_EndLineType.LF);break;case 2:i=new polymod_format_CSVParseFormat(",",!0);break;case 3:i=new polymod_format_TSVParseFormat;break;case 4:i=new polymod_format_XMLParseFormat;break;case 5:i=new polymod_format_JSONParseFormat}this.formats.h[e]=i},get:function(e){return this.formats.h[e]},addFormat:function(e,t){this.formats.h[e]=t},addFile:function(e,t){this.formats.h[e]=t},__class__:polymod_format_ParseRules};var polymod_format_CSVParseFormat=function(e,t){this.format=polymod_format_TextFileFormat.CSV,this.delimeter=e,this.quotedCells=t};$hxClasses["polymod.format.CSVParseFormat"]=polymod_format_CSVParseFormat,polymod_format_CSVParseFormat.__name__="polymod.format.CSVParseFormat",polymod_format_CSVParseFormat.__interfaces__=[polymod_format_BaseParseFormat],polymod_format_CSVParseFormat.prototype={format:null,isSimpleMode:null,delimeter:null,quotedCells:null,lookForHeaders:null,get_isSimpleMode:function(){return","==this.delimeter&&0==this.quotedCells},parse:function(e){return polymod_format_CSV.parse(e,this.delimeter,this.quotedCells)},append:function(e,t,i){var l="\n";if(-1!=e.indexOf("\r\n")&&(l="\r\n"),this.lookForHeaders){var n,s,a="\n";-1!=t.indexOf("\r\n")&&(a="\r\n");var r=polymod_util_Util.uLength(t),_=polymod_util_Util.uLastIndexOf(t,a);_!=r-1&&_!=r-2||(t=polymod_util_Util.uSubstr(t,0,r-polymod_util_Util.uLength(a)));try{n=polymod_format_CSV.parseWithFormat(e,this),s=polymod_format_CSV.parseWithFormat(t,this)}catch(f){haxe_NativeStackTrace.lastError=f;var o=haxe_Exception.caught(f).unwrap();return polymod_Polymod.error("append_error","CSV Append error ("+i+") : "+Std.string(o)),e}var h=e,u=polymod_util_Util.uLength(h),d=polymod_util_Util.uLastIndexOf(h,l),c=!1;d!=u-1&&d!=u-2||(h=polymod_util_Util.uSubstr(h,0,u-polymod_util_Util.uLength(l)),c=!0);for(var p=0,f=0,m=n.fields.length;f<m;){var x=f++,g=n.fields[x];-1!=s.fields.indexOf(g)&&++p}this.lookForHeaders&&p<(n.fields.length/2|0)&&polymod_Polymod.error("append_error","Mod file("+i+") is missing most or all of the expected header fields","init");for(var F=[],f=0,m=s.grid.length;f<m;){for(var y=f++,S="",b=0,U=n.fields.length;b<U;){var v=b++,g=n.fields[v],T=s.fields.indexOf(g);if(-1!=T){var N=s.grid[y][T];null==N&&(N=""),S+=N}else-1==F.indexOf(g)&&F.push(g);v!=n.fields.length-1&&(S+=this.delimeter)}h+=l+S}c&&(h+=l);for(f=0;f<F.length;){g=F[f];++f,polymod_Polymod.warning("append_error","Mod file("+i+') missing expected field "'+g+'", values will default to empty string.',"init")}return h}return polymod_util_Util.appendCSVOrTSV(e,t,i)},merge:function(e,t,i){var l,n;try{l=polymod_format_CSV.parseWithFormat(e,this),n=polymod_format_CSV.parseWithFormat(t,this)}catch(a){haxe_NativeStackTrace.lastError=a;var s=haxe_Exception.caught(a).unwrap();return polymod_Polymod.error("merge_error","CSV Merge error ("+i+") : "+Std.string(s)),e}for(var a=0,r=n.grid;a<r.length;){var _=r[a];++a;var o=_.length>0?_[0]:"";if(""!=o)for(var h=0,u=l.grid.length;h<u;){var d=h++,c=l.grid[d];if(o==c[0])for(var p=0,f=_.length;p<f;){var m=p++;m<c.length&&(c[m]=_[m])}}}return this.print(l)},print:function(e){for(var t="",i=0,l=e.fields.length;i<l;){var n=i++;t+=Std.string(e.fields[n]),n!=e.fields.length-1&&(t+=Std.string(this.delimeter))}-1==t.indexOf("\n")&&(t+="\r\n");for(var s=e.grid,i=0,l=s.length;i<l;){for(var a=i++,r=s[a],_=0,o=r.length;_<o;){var h=_++,u=r[h];this.quotedCells&&(t+=String.fromCodePoint(34)),haxe_Utf8.iter(u,function(e){t+=String.fromCodePoint(e)}),this.quotedCells&&(t+=String.fromCodePoint(34)),h!=r.length-1&&(t+=Std.string(this.delimeter))}a!=s.length-1&&(t+="\r\n")}return t},__class__:polymod_format_CSVParseFormat,__properties__:{get_isSimpleMode:"get_isSimpleMode"}};var polymod_format_TSVParseFormat=function(){this.format=polymod_format_TextFileFormat.TSV};$hxClasses["polymod.format.TSVParseFormat"]=polymod_format_TSVParseFormat,polymod_format_TSVParseFormat.__name__="polymod.format.TSVParseFormat",polymod_format_TSVParseFormat.__interfaces__=[polymod_format_BaseParseFormat],polymod_format_TSVParseFormat.prototype={format:null,parse:function(e){return polymod_format_TSV.parse(e)},append:function(e,t,i){return polymod_util_Util.appendCSVOrTSV(e,t,i)},merge:function(e,t,i){for(var l=polymod_format_TSV.parse(e),n=0,s=polymod_format_TSV.parse(t).grid;n<s.length;){var a=s[n];++n;var r=a.length>0?a[0]:"";if(""!=r)for(var _=0,o=l.grid.length;_<o;){var h=_++,u=l.grid[h];if(r==u[0])for(var d=0,c=a.length;d<c;){var p=d++;p<u.length&&(u[p]=a[p])}}}return this.print(l)},print:function(e){for(var t="",i=0,l=e.fields.length;i<l;){var n=i++;t+=Std.string(e.fields[n]),n!=e.fields.length-1&&(t+=String.fromCodePoint(9))}-1==t.indexOf("\n")&&(t+="\r\n");for(var s=e.grid,i=0,l=s.length;i<l;){for(var a=i++,r=s[a],_=0,o=r.length;_<o;){var h=_++,u=r[h];haxe_Utf8.iter(u,function(e){t+=String.fromCodePoint(e)}),h!=r.length-1&&(t+=String.fromCodePoint(9))}a!=s.length-1&&(t+="\r\n")}return t},__class__:polymod_format_TSVParseFormat};var polymod_format_LinesParseFormat=function(e){this.format=polymod_format_TextFileFormat.LINES,this.endline=e};$hxClasses["polymod.format.LinesParseFormat"]=polymod_format_LinesParseFormat,polymod_format_LinesParseFormat.__name__="polymod.format.LinesParseFormat",polymod_format_LinesParseFormat.__interfaces__=[polymod_format_BaseParseFormat],polymod_format_LinesParseFormat.prototype={format:null,endline:null,parse:function(e){if(null==e||""==e)return[];var t="",i="";switch(this.endline._hx_index){case 0:i="\n";break;case 1:i="\r";break;case 2:i="\r\n";break;default:i="\r",t="\n"}return""==t?e.split(i):(e=StringTools.replace(e,t,i)).split(i)},append:function(e,t,i){return polymod_util_Util.uCombine([e,this.getEndl(),t])},merge:function(e,t,i){if(null==e||""==t)return e;if(null==e||""==t)return e;var l=this.parse(e);if(null==l||l.length<=0)return e;var n=this.parse(t);if(null==n||n.length<=1)return e;for(var s=n.shift(),a=[],r=0;r<l.length;){var _=l[r];++r,0==_.indexOf(s)?a=a.concat(n):a.push(_)}return polymod_util_Util.uJoin(a,this.getEndl())},print:function(e){return e.join(this.getEndl())},getEndl:function(){switch(this.endline._hx_index){case 0:return"\n";case 1:return"\r";case 2:return"\r\n";default:return"\n"}},__class__:polymod_format_LinesParseFormat};var polymod_format_XMLParseFormat=function(e,t,i){null==e&&(e=!1),this.prettyPrint=!1,null==t&&(t=[]),null==i&&(i=[]),this.stripHeaders=t,this.stripFooters=i,this.prettyPrint=e,this.format=polymod_format_TextFileFormat.XML};$hxClasses["polymod.format.XMLParseFormat"]=polymod_format_XMLParseFormat,polymod_format_XMLParseFormat.__name__="polymod.format.XMLParseFormat",polymod_format_XMLParseFormat.__interfaces__=[polymod_format_BaseParseFormat],polymod_format_XMLParseFormat.prototype={format:null,prettyPrint:null,stripHeaders:null,stripFooters:null,parse:function(e){return Xml.parse(e)},append:function(e,t,i){return null!=this.stripHeaders&&null!=this.stripFooters?polymod_util_Util.appendSpecialXML(e,t,this.stripHeaders,this.stripFooters):polymod_util_Util.appendXML(e,t)},merge:function(e,t,i){var l=null,n=null;try{l=Xml.parse(e),n=Xml.parse(t)}catch(e){haxe_NativeStackTrace.lastError=e;s=haxe_Exception.caught(e).unwrap();throw haxe_Exception.thrown("Error parsing XML files during merge ("+i+") "+Std.string(s))}try{polymod_format_XMLMerge.mergeXMLNodes(l,n)}catch(e){haxe_NativeStackTrace.lastError=e;var s=haxe_Exception.caught(e).unwrap();throw haxe_Exception.thrown("Error combining XML files during merge ("+i+") "+Std.string(s))}return this.print(l)},print:function(e){return haxe_xml_Printer.print(e,this.prettyPrint)},__class__:polymod_format_XMLParseFormat};var polymod_format_JSONParseFormat=function(e,t){this.replacer=t,this.space=e,this.format=polymod_format_TextFileFormat.JSON};$hxClasses["polymod.format.JSONParseFormat"]=polymod_format_JSONParseFormat,polymod_format_JSONParseFormat.__name__="polymod.format.JSONParseFormat",polymod_format_JSONParseFormat.__interfaces__=[polymod_format_BaseParseFormat],polymod_format_JSONParseFormat.prototype={format:null,space:null,replacer:null,parse:function(e){return JSON.parse(e)},append:function(e,t,i){var l=polymod_util_Util.uLastIndexOf(e,"}"),n=polymod_util_Util.uSubstr(e,0,l),s=polymod_util_Util.uSubstr(e,l,e.length),a=polymod_util_Util.uIndexOf(t,"{"),r=polymod_util_Util.uLastIndexOf(t,"}"),_=polymod_util_Util.uSubstring(t,a+1,r);if(null==_||""==_)return e;n=polymod_util_Util.uTrimFinalEndlines(n),_=polymod_util_Util.uTrimFinalEndlines(_);return n+",\n"+(_=polymod_util_Util.uTrimFirstEndlines(_))+(s=polymod_util_Util.uTrimFinalEndlines(s))},merge:function(e,t,i){var l=null,n=null;try{l=this.parse(e)}catch(r){haxe_NativeStackTrace.lastError=r;s=haxe_Exception.caught(r).unwrap();polymod_Polymod.error("merge_error","JSON merge error ("+i+"): couldn't parse base text! : "+Std.string(s))}try{n=this.parse(t)}catch(r){haxe_NativeStackTrace.lastError=r;var s=haxe_Exception.caught(r).unwrap();return polymod_Polymod.error("merge_error","JSON merge error ("+i+"): couldn't parse merge text! : "+Std.string(s)),e}if(Object.prototype.hasOwnProperty.call(n,"merge"))if(n.merge instanceof Array)for(var a=n.merge,r=0;r<a.length;){var _=a[r];++r;_.target,_.payload,l=this._mergeJson(l,_,i)}else polymod_Polymod.error("merge_error","JSON merge error ("+i+'): merge file must contain a single top-level array named "merge"! (Found an object, not an array)');else polymod_Polymod.error("merge_error","JSON merge error ("+i+'): merge file must contain a single top-level array named "merge"!');return this.print(l)},_mergeJson:function(e,t,i){var l=this._getTargetSignature(t.target),n=e,s=l[0];if(null==s)return polymod_Polymod.warning("merge_error","JSON merge failed ("+i+"), sig was "+Std.string(l)),n;for(var a=!1,r=n,_=0,o="",h={next:null,parent:null,arrIndex:-1,target:null},u=null;!a;)u=null==(h=this._descend(r,s,o,h))?null:h.next,""!=o&&(o+="."),o+=this._targSigElementToString(s),++_,null==u?(polymod_Polymod.warning("merge_error","JSON merge failed ("+i+'), could not find object "'+o+'")'),a=!0):_<l.length?s=l[_]:(this._inject(h.parent,h.target,h.arrIndex,t.payload,o),a=!0),r=u;return n},_targSigElementToString:function(e){var t=e.value;if(null!=e.arrayIndeces&&e.arrayIndeces.length>0)for(var i=0,l=e.arrayIndeces;i<l.length;){var n=l[i];++i,n>=0&&(t+="["+n+"]")}return t},_inject:function(e,t,i,l,n){if(null==n&&(n=""),-1==i)if(Object.prototype.hasOwnProperty.call(e,t)){var s=Reflect.field(e,t),a=this._mergeObjects(s,l,n);e[t]=a}else e[t]=l;else if(e instanceof Array){var r=e;if(r.length>i)var s=r[i],a=this._mergeObjects(s,l,n);else polymod_Polymod.warning("merge_error","JSON merge failed, array index ("+i+") out of bounds for array of length ("+r.length+") at "+n)}},_mergeObjects:function(e,t,i){if(null==i&&(i=""),e instanceof Array&&t instanceof Array)return t;if(e instanceof Array||t instanceof Array){var l=e instanceof Array?"array":"object",n=t instanceof Array?"array":"object";polymod_Polymod.warning("merge_error","JSON can't merge @ ("+i+") because base is ("+l+") but payload is ("+n+")")}else for(var s=0,a=Reflect.fields(t);s<a.length;){var r=a[s];if(++s,Object.prototype.hasOwnProperty.call(e,r)){var _=Reflect.field(e,r),o=Reflect.field(t,r);if(_ instanceof Array&&o instanceof Array)e[r]=o;else{if(!(_ instanceof Array||o instanceof Array)){var h=this.isPrimitive(e),u=this.isPrimitive(t);if(h&&u)return o;if(h!=u)return _;var d=this.copyVal(this._mergeObjects(_,o,i+"."+r));return e[r]=d,e}var l=_ instanceof Array?"array":"object",n=o instanceof Array?"array":"object";polymod_Polymod.warning("merge_error","Can't merge field ("+r+") @ ("+i+") because base is ("+l+") but payload is ("+n+")")}}else e[r]=Reflect.field(t,r)}return e},copyVal:function(e){var t=null;return"number"==typeof e&&(0|e)===e&&(t=0|e),"number"==typeof e&&(t=js_Boot.__cast(e,Float)),"string"==typeof e&&(t=Std.string(t)),t="boolean"==typeof e?1==e:Std.string(e)},isPrimitive:function(e){return"string"==typeof e||("number"==typeof e||("number"==typeof e&&(0|e)===e||"boolean"==typeof e))},_descend:function(e,t,i,l){if(null==i&&(i=""),null==l&&(l={next:null,parent:null,arrIndex:-1,target:null}),null==e)return null;if(null==t)return null;if(0==Object.prototype.hasOwnProperty.call(e,t.value))return polymod_Polymod.warning("merge_error","JSON merge error : object ("+i+") has no field ("+t.value+")"),null;var n=Reflect.field(e,t.value);if(l.next=n,l.parent=e,l.target=t.value,null==n)return l;if(t.arrayIndeces.length>0){if(l.next=n,!(n instanceof Array))return null;var s=n,a=t.arrayIndeces.slice();for(i+="."+t.value;a.length>0;){var r=a.shift();r<s.length?(l.parent=n,n=s[r],l.next=n,l.arrIndex=r,n instanceof Array?s=n:(polymod_Polymod.warning("merge_error","JSON merge error : invalid array access ["+r+'] on target "'+i+'"'),!0)):(polymod_Polymod.warning("merge_error","JSON merge error : array index ("+r+') out of bounds on target "'+i+'" with length '+s.length),!0),i+="["+r+"]"}}return l},_getTargetSignature:function(e){if(null==e)return[];for(var t=[],i=e.split("."),l=0;l<i.length;){var n=i[l];if(++l,-1!=n.indexOf("[")){for(var s=n.split("["),a=s.shift(),r=[];s.length>0;){var _=s.shift();_=polymod_util_Util.uTrimFinalCharIf(_,"]");var o=Std.parseInt(_);if(!(null!=o&&o>=0)){polymod_Polymod.warning("merge_error","JSON merge error: found invalid array index ("+_+") in signature ("+e+")");break}r.push(o)}t.push({value:a,arrayIndeces:r})}else t.push({value:n,arrayIndeces:[]})}return t},print:function(e){return JSON.stringify(e,this.replacer,this.space)},__class__:polymod_format_JSONParseFormat};var polymod_format_PlainTextParseFormat=function(){this.format=polymod_format_TextFileFormat.PLAINTEXT};$hxClasses["polymod.format.PlainTextParseFormat"]=polymod_format_PlainTextParseFormat,polymod_format_PlainTextParseFormat.__name__="polymod.format.PlainTextParseFormat",polymod_format_PlainTextParseFormat.__interfaces__=[polymod_format_BaseParseFormat],polymod_format_PlainTextParseFormat.prototype={format:null,parse:function(e){return e},append:function(e,t,i){var l=polymod_util_Util.uCharAt(e,polymod_util_Util.uLength(e)-1),n=(polymod_util_Util.uCharAt(e,polymod_util_Util.uLength(e)-1),""),s="\n",a=polymod_util_Util.uIndexOf(e,"\r"),r=polymod_util_Util.uIndexOf(e,"\n");return-1!=a&&r==a+1&&(s="\r\n"),"\n"!=l&&(n=s),polymod_util_Util.uCombine([e,n,t])},merge:function(e,t,i){return polymod_Polymod.warning("merge_error","("+i+") Plain text does not support merging!"),e},print:function(e){return e},__class__:polymod_format_PlainTextParseFormat};var polymod_format_TextFileFormat=$hxEnums["polymod.format.TextFileFormat"]={__ename__:"polymod.format.TextFileFormat",__constructs__:["PLAINTEXT","LINES","CSV","TSV","XML","JSON"],PLAINTEXT:{_hx_index:0,__enum__:"polymod.format.TextFileFormat",toString:$estr},LINES:{_hx_index:1,__enum__:"polymod.format.TextFileFormat",toString:$estr},CSV:{_hx_index:2,__enum__:"polymod.format.TextFileFormat",toString:$estr},TSV:{_hx_index:3,__enum__:"polymod.format.TextFileFormat",toString:$estr},XML:{_hx_index:4,__enum__:"polymod.format.TextFileFormat",toString:$estr},JSON:{_hx_index:5,__enum__:"polymod.format.TextFileFormat",toString:$estr}},polymod_format_EndLineType=$hxEnums["polymod.format.EndLineType"]={__ename__:"polymod.format.EndLineType",__constructs__:["LF","CR","CRLF","ANY"],LF:{_hx_index:0,__enum__:"polymod.format.EndLineType",toString:$estr},CR:{_hx_index:1,__enum__:"polymod.format.EndLineType",toString:$estr},CRLF:{_hx_index:2,__enum__:"polymod.format.EndLineType",toString:$estr},ANY:{_hx_index:3,__enum__:"polymod.format.EndLineType",toString:$estr}},polymod_format_TSV=function(){polymod_format_CSV.call(this)};$hxClasses["polymod.format.TSV"]=polymod_format_TSV,polymod_format_TSV.__name__="polymod.format.TSV",polymod_format_TSV.parse=function(e){var t="\n";-1!=e.indexOf("\r\n")&&(t="\r\n");for(var i=e.split(t),l=i.shift().split("\t"),n=[],s=0;s<i.length;){var a=i[s];for(++s;"\t"==a.charAt(a.length-1);)a=HxOverrides.substr(a,0,a.length-1);var r=a.split("\t");n.push(r)}var _=new polymod_format_TSV;return _.fields=l,_.grid=n,_},polymod_format_TSV.__super__=polymod_format_CSV,polymod_format_TSV.prototype=$extend(polymod_format_CSV.prototype,{__class__:polymod_format_TSV});var polymod_format_XMLMerge=function(){};$hxClasses["polymod.format.XMLMerge"]=polymod_format_XMLMerge,polymod_format_XMLMerge.__name__="polymod.format.XMLMerge",polymod_format_XMLMerge.mergeXMLWork=function(e,t,i,l){if(null==l&&(l=!0),null==i&&(i=!0),null!=e&&null!=t&&(6==e.nodeType&&(e=e.firstElement()),6==t.nodeType&&(t=t.firstElement()),0==e.nodeType&&0==t.nodeType)){if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));if("merge"!=e.nodeName){if(t.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));D="merge"==t.nodeName}else D=!0;if(!D){if(i)for(var n=t.elements();n.hasNext();){var s=n.next();if(null!=s){if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));if("merge"!=s.nodeName){if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));var a=polymod_format_XMLMerge.countNodes(e,s.nodeName);if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));var r=polymod_format_XMLMerge.countNodes(t,s.nodeName);if(0==a&&r>0){var _=null;if(s.nodeType==Xml.Element){if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));_=Xml.createElement(s.nodeName);for(Y=s.attributes();Y.hasNext();){X=Y.next();_.set(X,s.get(X))}for(var o=s.elements();o.hasNext();){var h=o.next(),u=null;if(h.nodeType==Xml.Element){if(h.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==h.nodeType?"null":XmlType.toString(h.nodeType)));u=Xml.createElement(h.nodeName);for(var d=h.attributes();d.hasNext();){var c=d.next();u.set(c,h.get(c))}for(var p=h.elements();p.hasNext();){var f=p.next();u.addChild(polymod_util_Util.copyXml(f,u))}}else if(h.nodeType==Xml.PCData){if(h.nodeType==Xml.Document||h.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==h.nodeType?"null":XmlType.toString(h.nodeType)));u=Xml.createPCData(h.nodeValue)}else if(h.nodeType==Xml.CData){if(h.nodeType==Xml.Document||h.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==h.nodeType?"null":XmlType.toString(h.nodeType)));u=Xml.createCData(h.nodeValue)}else if(h.nodeType==Xml.Comment){if(h.nodeType==Xml.Document||h.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==h.nodeType?"null":XmlType.toString(h.nodeType)));u=Xml.createComment(h.nodeValue)}else if(h.nodeType==Xml.DocType){if(h.nodeType==Xml.Document||h.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==h.nodeType?"null":XmlType.toString(h.nodeType)));u=Xml.createDocType(h.nodeValue)}else if(h.nodeType==Xml.ProcessingInstruction){if(h.nodeType==Xml.Document||h.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==h.nodeType?"null":XmlType.toString(h.nodeType)));u=Xml.createProcessingInstruction(h.nodeValue)}else if(h.nodeType==Xml.Document){u=Xml.createDocument();for(var m=h.elements();m.hasNext();){var x=m.next();u.addChild(polymod_util_Util.copyXml(x,u))}}u.parent=_,_.addChild(u)}}else if(s.nodeType==Xml.PCData){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));_=Xml.createPCData(s.nodeValue)}else if(s.nodeType==Xml.CData){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));_=Xml.createCData(s.nodeValue)}else if(s.nodeType==Xml.Comment){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));_=Xml.createComment(s.nodeValue)}else if(s.nodeType==Xml.DocType){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));_=Xml.createDocType(s.nodeValue)}else if(s.nodeType==Xml.ProcessingInstruction){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));_=Xml.createProcessingInstruction(s.nodeValue)}else if(s.nodeType==Xml.Document){_=Xml.createDocument();for(var g=s.elements();g.hasNext();){var F=g.next(),y=null;if(F.nodeType==Xml.Element){if(F.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==F.nodeType?"null":XmlType.toString(F.nodeType)));y=Xml.createElement(F.nodeName);for(var S=F.attributes();S.hasNext();){var b=S.next();y.set(b,F.get(b))}for(var U=F.elements();U.hasNext();){var v=U.next();y.addChild(polymod_util_Util.copyXml(v,y))}}else if(F.nodeType==Xml.PCData){if(F.nodeType==Xml.Document||F.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==F.nodeType?"null":XmlType.toString(F.nodeType)));y=Xml.createPCData(F.nodeValue)}else if(F.nodeType==Xml.CData){if(F.nodeType==Xml.Document||F.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==F.nodeType?"null":XmlType.toString(F.nodeType)));y=Xml.createCData(F.nodeValue)}else if(F.nodeType==Xml.Comment){if(F.nodeType==Xml.Document||F.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==F.nodeType?"null":XmlType.toString(F.nodeType)));y=Xml.createComment(F.nodeValue)}else if(F.nodeType==Xml.DocType){if(F.nodeType==Xml.Document||F.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==F.nodeType?"null":XmlType.toString(F.nodeType)));y=Xml.createDocType(F.nodeValue)}else if(F.nodeType==Xml.ProcessingInstruction){if(F.nodeType==Xml.Document||F.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==F.nodeType?"null":XmlType.toString(F.nodeType)));y=Xml.createProcessingInstruction(F.nodeValue)}else if(F.nodeType==Xml.Document){y=Xml.createDocument();for(var T=F.elements();T.hasNext();){var N=T.next();y.addChild(polymod_util_Util.copyXml(N,y))}}y.parent=_,_.addChild(y)}}_.parent=null,e.addChild(_)}else{var D;if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));if(1==polymod_format_XMLMerge.countNodes(e,s.nodeName)){if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));D=1==polymod_format_XMLMerge.countNodes(t,s.nodeName)}else D=!1;if(D){if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));polymod_format_XMLMerge.mergeXMLWork(e.elementsNamed(s.nodeName).next(),s)}else{var Q=null;if(s.nodeType==Xml.Element){if(s.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));Q=Xml.createElement(s.nodeName);for(var B=s.attributes();B.hasNext();){var R=B.next();Q.set(R,s.get(R))}for(var w=s.elements();w.hasNext();){var E=w.next(),k=null;if(E.nodeType==Xml.Element){if(E.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==E.nodeType?"null":XmlType.toString(E.nodeType)));k=Xml.createElement(E.nodeName);for(var W=E.attributes();W.hasNext();){var Z=W.next();k.set(Z,E.get(Z))}for(var M=E.elements();M.hasNext();){var P=M.next();k.addChild(polymod_util_Util.copyXml(P,k))}}else if(E.nodeType==Xml.PCData){if(E.nodeType==Xml.Document||E.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==E.nodeType?"null":XmlType.toString(E.nodeType)));k=Xml.createPCData(E.nodeValue)}else if(E.nodeType==Xml.CData){if(E.nodeType==Xml.Document||E.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==E.nodeType?"null":XmlType.toString(E.nodeType)));k=Xml.createCData(E.nodeValue)}else if(E.nodeType==Xml.Comment){if(E.nodeType==Xml.Document||E.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==E.nodeType?"null":XmlType.toString(E.nodeType)));k=Xml.createComment(E.nodeValue)}else if(E.nodeType==Xml.DocType){if(E.nodeType==Xml.Document||E.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==E.nodeType?"null":XmlType.toString(E.nodeType)));k=Xml.createDocType(E.nodeValue)}else if(E.nodeType==Xml.ProcessingInstruction){if(E.nodeType==Xml.Document||E.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==E.nodeType?"null":XmlType.toString(E.nodeType)));k=Xml.createProcessingInstruction(E.nodeValue)}else if(E.nodeType==Xml.Document){k=Xml.createDocument();for(var V=E.elements();V.hasNext();){var A=V.next();k.addChild(polymod_util_Util.copyXml(A,k))}}k.parent=Q,Q.addChild(k)}}else if(s.nodeType==Xml.PCData){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));Q=Xml.createPCData(s.nodeValue)}else if(s.nodeType==Xml.CData){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));Q=Xml.createCData(s.nodeValue)}else if(s.nodeType==Xml.Comment){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));Q=Xml.createComment(s.nodeValue)}else if(s.nodeType==Xml.DocType){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));Q=Xml.createDocType(s.nodeValue)}else if(s.nodeType==Xml.ProcessingInstruction){if(s.nodeType==Xml.Document||s.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==s.nodeType?"null":XmlType.toString(s.nodeType)));Q=Xml.createProcessingInstruction(s.nodeValue)}else if(s.nodeType==Xml.Document){Q=Xml.createDocument();for(var G=s.elements();G.hasNext();){var C=G.next(),I=null;if(C.nodeType==Xml.Element){if(C.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==C.nodeType?"null":XmlType.toString(C.nodeType)));I=Xml.createElement(C.nodeName);for(var L=C.attributes();L.hasNext();){var J=L.next();I.set(J,C.get(J))}for(var O=C.elements();O.hasNext();){var $=O.next();I.addChild(polymod_util_Util.copyXml($,I))}}else if(C.nodeType==Xml.PCData){if(C.nodeType==Xml.Document||C.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==C.nodeType?"null":XmlType.toString(C.nodeType)));I=Xml.createPCData(C.nodeValue)}else if(C.nodeType==Xml.CData){if(C.nodeType==Xml.Document||C.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==C.nodeType?"null":XmlType.toString(C.nodeType)));I=Xml.createCData(C.nodeValue)}else if(C.nodeType==Xml.Comment){if(C.nodeType==Xml.Document||C.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==C.nodeType?"null":XmlType.toString(C.nodeType)));I=Xml.createComment(C.nodeValue)}else if(C.nodeType==Xml.DocType){if(C.nodeType==Xml.Document||C.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==C.nodeType?"null":XmlType.toString(C.nodeType)));I=Xml.createDocType(C.nodeValue)}else if(C.nodeType==Xml.ProcessingInstruction){if(C.nodeType==Xml.Document||C.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==C.nodeType?"null":XmlType.toString(C.nodeType)));I=Xml.createProcessingInstruction(C.nodeValue)}else if(C.nodeType==Xml.Document){I=Xml.createDocument();for(var H=C.elements();H.hasNext();){var z=H.next();I.addChild(polymod_util_Util.copyXml(z,I))}}I.parent=Q,Q.addChild(I)}}Q.parent=null,e.addChild(Q)}}}}}if(l)for(var Y=t.attributes();Y.hasNext();){var X=Y.next();e.set(X,t.get(X))}}}},polymod_format_XMLMerge.countNodes=function(e,t){for(var i=0,l=e.elementsNamed(t);l.hasNext();){l.next();++i}return i},polymod_format_XMLMerge.mergeXML=function(e,t,i,l){var n;if(6==e.nodeType)n="";else{if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));n=e.nodeName}var s;if(6==t.nodeType)s="";else{if(t.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==t.nodeType?"null":XmlType.toString(t.nodeType)));s=t.nodeName}if(n==s){var a=polymod_format_XMLMerge.getNodeSignature(e);if(a==polymod_format_XMLMerge.getNodeSignature(t))for(var r=0;r<i.length;){var _=i[r];if(++r,0==_.indexOf(a))if(_==a){var o=l.h[_];if(null==o&&""==_&&""==a){if(6!=e.nodeType||6!=t.nodeType)return;var h=e.firstElement(),u=t.firstElement();polymod_format_XMLMerge.mergeXML(h,u,i,l)}if(null!=o&&o.length%2==0&&o.length>=2)for(var d=0,c=o.length/2|0;d<c;){var p=d++,f=o[2*p],m=o[2*p+1];if(e.get(f)==m){t.get(f);polymod_format_XMLMerge.mergeXMLWork(e,t)}}}else for(var x=e.elements();x.hasNext();)for(var g=x.next(),F=t.elements();F.hasNext();){var y=F.next();polymod_format_XMLMerge.mergeXML(g,y,i,l)}}}},polymod_format_XMLMerge.mergeXMLNodes=function(e,t){if(null!=t){var i=[""],l=polymod_format_XMLMerge.getNodeMergeMap(t,i);polymod_format_XMLMerge.mergeXML(e,t,i,l)}},polymod_format_XMLMerge.getNodeMergeMap=function(e,t){var i=new haxe_ds_StringMap;if(null==e)return i;for(var l=e.elements();l.hasNext();){var n=l.next();if(n.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==n.nodeType?"null":XmlType.toString(n.nodeType)));if("merge"!=n.nodeName){var s=polymod_format_XMLMerge.getNodeMergeMap(n,t);i=polymod_format_XMLMerge.mergeMapsDestructively(i,s);var a=polymod_format_XMLMerge.getNodeSignature(n);if(n.nodeType!=Xml.Document&&n.nodeType!=Xml.Element)throw haxe_Exception.thrown("Invalid nodeType "+(null==n.nodeType?"null":XmlType.toString(n.nodeType)));var r=n;if(haxe_xml__$Access_HasNodeAccess.resolve(r,"merge")){0==Object.prototype.hasOwnProperty.call(i.h,a)&&(i.h[a]=[]);var _=i.h[a],o=haxe_xml__$Access_HasAttribAccess.resolve(haxe_xml__$Access_NodeAccess.resolve(r,"merge"),"key")?haxe_xml__$Access_AttribAccess.resolve(haxe_xml__$Access_NodeAccess.resolve(r,"merge"),"key"):"",h=haxe_xml__$Access_NodeAccess.resolve(r,"merge").get(o);_.push(o),_.push(h),-1==t.indexOf(a)&&t.push(a)}}}return i},polymod_format_XMLMerge.getNodeSignature=function(e){for(var t=[],i=e;null!=i&&0==i.nodeType;){if(i.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==i.nodeType?"null":XmlType.toString(i.nodeType)));t.push(i.nodeName),i=0==i.nodeType?i.parent:null}for(var l="",n=0,s=t.length;n<s;){var a=n++;l+=t[t.length-1-a],a!=t.length-1&&(l+=".")}return l},polymod_format_XMLMerge.mergeMapsDestructively=function(e,t){if(null==e&&(e=new haxe_ds_StringMap),null==t)return e;for(var i=haxe_ds_StringMap.keysIterator(t.h);i.hasNext();){var l=i.next();if(Object.prototype.hasOwnProperty.call(e.h,l))for(var n=e.h[l],s=t.h[l],a=0;a<s.length;){var r=s[a];++a,n.push(r)}else{var _=t.h[l];e.h[l]=_,Object.prototype.hasOwnProperty.call(t.h,l)&&delete t.h[l]}}return e};var polymod_fs_PolymodFileSystem=function(){};$hxClasses["polymod.fs.PolymodFileSystem"]=polymod_fs_PolymodFileSystem,polymod_fs_PolymodFileSystem.__name__="polymod.fs.PolymodFileSystem",polymod_fs_PolymodFileSystem.exists=function(e){return!1},polymod_fs_PolymodFileSystem.isDirectory=function(e){return!1},polymod_fs_PolymodFileSystem.readDirectory=function(e){return[]},polymod_fs_PolymodFileSystem.getFileContent=function(e){return null},polymod_fs_PolymodFileSystem.getFileBytes=function(e){return null},polymod_fs_PolymodFileSystem.readDirectoryRecursive=function(e){return[]};var polymod_fs_StubFileSystem=function(){};$hxClasses["polymod.fs.StubFileSystem"]=polymod_fs_StubFileSystem,polymod_fs_StubFileSystem.__name__="polymod.fs.StubFileSystem",polymod_fs_StubFileSystem.exists=function(e){return!1},polymod_fs_StubFileSystem.isDirectory=function(e){return!1},polymod_fs_StubFileSystem.readDirectory=function(e){return[]},polymod_fs_StubFileSystem.getFileContent=function(e){return null},polymod_fs_StubFileSystem.getFileBytes=function(e){return null},polymod_fs_StubFileSystem.readDirectoryRecursive=function(e){return[]};var polymod_util_SemanticVersion=function(){};$hxClasses["polymod.util.SemanticVersion"]=polymod_util_SemanticVersion,polymod_util_SemanticVersion.__name__="polymod.util.SemanticVersion",polymod_util_SemanticVersion.fromString=function(e){var t=new polymod_util_SemanticVersion;if(t.original=e,""==e||null==e)throw haxe_Exception.thrown("SemanticVersion.hx: string is empty!");var i="";-1!=e.indexOf("+")&&(e=(l=e.split("+"))[0]),-1!=e.indexOf("-")&&(e=(l=e.split("-"))[0],i=l[1]);var l=e.split(".");if(l.length<3)throw haxe_Exception.thrown('SemanticVersion.hx: needs major, minor, and patch versions! :"'+e+'"');for(var n=0,s=l.length;n<s;){var a=n++;if((p=l[a]).length>1&&"0"==p.charAt(0))throw haxe_Exception.thrown('SemanticVersion.hx: no leading zeroes allowed! :"'+e+'"');for(var r=0,_=p.length;r<_;){var o=r++;switch(p.charAt(o)){case"*":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":break;default:var h;switch(a){case 0:h="major";break;case 1:h="minor";break;case 2:h="patch";break;default:h=""}throw haxe_Exception.thrown("SemanticVersion.hx: couldn't parse "+h+' version! :"'+e+'"')}}}var u=null,d=null,c=null;if("*"==l[0]&&(u=-1),"*"==l[1]&&(d=-1),"*"==l[2]&&(c=-1),null==u&&(u=Std.parseInt(l[0])),null==d&&(d=Std.parseInt(l[1])),null==c&&(c=Std.parseInt(l[2])),null==u)throw haxe_Exception.thrown("SemanticVersion.hx: couldn't parse major version! :\""+e+'"');if(null==d)throw haxe_Exception.thrown("SemanticVersion.hx: couldn't parse minor version! :\""+e+'"');if(null==c)throw haxe_Exception.thrown("SemanticVersion.hx: couldn't parse patch version! :\""+e+'"');if(-1==u&&(d=-1,c=-1),-1==d&&(c=-1),t.major=u,t.minor=d,t.patch=c,t.preRelease=[],-1!=u&&-1!=d&&-1!=c||(i=""),null!=i&&""!=i){if(u>1)throw haxe_Exception.thrown('SemanticVersion.hx: pre-release version not allowed post 1.0.0! :"'+e+'"');if(1==u){if(d>0)throw haxe_Exception.thrown('SemanticVersion.hx: pre-release version not allowed post 1.0.0! :"'+e+'"');if(c>0)throw haxe_Exception.thrown('SemanticVersion.hx: pre-release version not allowed post 1.0.0! :"'+e+'"')}if(null!=(l=i.split("."))&&l.length>0)for(n=0;n<l.length;){var p=l[n];if(++n,null!=(o=Std.parseInt(p))&&p.length>0&&"0"==p.charAt(0))throw haxe_Exception.thrown('SemanticVersion.hx: no leading zeroes allowed! :"'+e+'"');t.preRelease.push(p)}}return t.effective=t.major+"."+t.minor+"."+t.patch,null!=t.preRelease&&t.preRelease.length>0&&(t.effective=t.effective+"-"+t.preRelease.join(".")),t},polymod_util_SemanticVersion.prototype={original:null,effective:null,major:null,minor:null,patch:null,preRelease:null,checkCompatibility:function(e){var t=0;return e.major!=this.major&&-1!=e.major&&-1!=this.major||(++t,(e.minor>=this.minor||-1==e.minor||-1==this.minor)&&(++t,(e.patch>=this.patch||-1==e.patch||-1==this.patch)&&++t)),t},compare:function(e){if(-1==this.major||-1==e.major)return 0;if(this.major>e.major)return-1;if(this.major<e.major)return 1;if(-1==this.minor||-1==e.minor)return 0;if(this.minor>e.minor)return-1;if(this.minor<e.minor)return 1;if(-1==this.patch||-1==e.patch)return 0;if(this.patch>e.patch)return-1;if(this.patch<e.patch)return 1;var t=this.preRelease.length,i=e.preRelease.length;i>t&&(t=i);for(var l=0,n=t;l<n;){var s=l++,a=null!=this.preRelease&&this.preRelease.length>s?this.preRelease[s]:"",r=null!=e.preRelease&&e.preRelease.length>s?e.preRelease[s]:"";if(""==a&&""!=r)return-1;if(""!=a&&""==r)return 1;var _=Std.parseInt(a),o=Std.parseInt(r);if(null!=_&&null!=o){if(_>o)return-1;if(_<o)return 1}else{if(a>r)return-1;if(a<r)return 1}}return 0},isEqualTo:function(e){return 0==this.compare(e)},isNewerThan:function(e){return-1==this.compare(e)},toString:function(){return this.effective},__class__:polymod_util_SemanticVersion};var polymod_util_Util=function(){};$hxClasses["polymod.util.Util"]=polymod_util_Util,polymod_util_Util.__name__="polymod.util.Util",polymod_util_Util.mergeAndAppendText=function(e,t,i,l,n){for(var s=e,a=0;a<i.length;){var r=i[a];++a;var _=r;null==_&&(_=""),polymod_util_Util.hasSpecial(t,"_merge",_)&&(s=polymod_util_Util.mergeText(s,t,r,l,n));var o=r;null==o&&(o=""),polymod_util_Util.hasSpecial(t,"_append",o)&&(s=polymod_util_Util.appendText(s,t,r,l,n))}return s},polymod_util_Util.mergeText=function(e,t,i,l,n){null==i&&(i="");var s=polymod_util_Util.uExtension(t,!0),a=t;0==polymod_util_Util.uIndexOf(a,"assets/")&&(a=polymod_util_Util.uSubstring(a,7)),t=a;var r="_merge"+polymod_util_Util.sl()+t,_=n.get(t);if(null==_&&(_=n.get(s)),null!=_){var o=l(r,i);return _.merge(e,o,t)}return polymod_Polymod.error("merge_error","Could not merge file ("+t+"), no parse format was specified for extension ("+s+")."),e},polymod_util_Util.appendText=function(e,t,i,l,n){var s=polymod_util_Util.uExtension(t,!0),a=t;0==polymod_util_Util.uIndexOf(a,"assets/")&&(a=polymod_util_Util.uSubstring(a,7)),t=a;var r=n.get(t);if(null==r&&(r=n.get(s)),null!=r){var _=l(polymod_util_Util.pathJoin("_append",t),i);return r.append(e,_,t)}return e},polymod_util_Util.appendCSVOrTSV=function(e,t,i){var l=polymod_util_Util.uCharAt(e,polymod_util_Util.uLength(e)-1),n=(polymod_util_Util.uCharAt(e,polymod_util_Util.uLength(e)-1),""),s="\n",a=polymod_util_Util.uIndexOf(e,"\r"),r=polymod_util_Util.uIndexOf(e,"\n");-1!=a&&r==a+1&&(s="\r\n"),"\n"!=l&&(n=s);var _="\n"==s?"\r\n":"\n";return t=polymod_util_Util.uSplitReplace(t,_,s),polymod_util_Util.uCombine([e,n,t])},polymod_util_Util.appendSpecialXML=function(e,t,i,l){e=polymod_util_Util.stripXML(e,!0,!0,i,l),t=polymod_util_Util.stripXML(t,!0,!0,i,l);var n='<?xml version="1.0" encoding="utf-8" ?>';return n=polymod_util_Util.uCat(n,"<data>"),n=polymod_util_Util.uCat(n,e),n=polymod_util_Util.uCat(n,t),n=polymod_util_Util.uCat(n,"</data>")},polymod_util_Util.appendXML=function(e,t){return e=polymod_util_Util.stripXML(e,!1,!0),t=polymod_util_Util.stripXML(t,!0,!1),polymod_util_Util.uCat(e,t)},polymod_util_Util.stripComments=function(e){for(var t=polymod_util_Util.uIndexOf(e,"\x3c!--"),i=polymod_util_Util.uIndexOf(e,"--\x3e");-1!=t&&-1!=i;){var l=polymod_util_Util.uLength(e),n=polymod_util_Util.uSubstr(e,0,t),s=polymod_util_Util.uSubstr(e,i+3,l-(i+3));e=polymod_util_Util.uCat(n,s),t=polymod_util_Util.uIndexOf(e,"\x3c!--"),i=polymod_util_Util.uIndexOf(e,"--\x3e")}return e},polymod_util_Util.trimLeadingWhiteSpace=function(e){for(var t=["\r","\n"," ","\t"],i=polymod_util_Util.uLength(e),l=0;l<t.length;){var n=t[l];for(++l;0==polymod_util_Util.uIndexOf(e,n);)e=polymod_util_Util.uSubstr(e,1,i-1),--i}return e},polymod_util_Util.trimTrailingWhiteSpace=function(e){for(var t=["\r","\n"," ","\t"],i=polymod_util_Util.uLength(e),l=0;l<t.length;){var n=t[l];for(++l;polymod_util_Util.uCharAt(e,i-1)==n;)e=polymod_util_Util.uSubstr(e,0,i-1),--i}return e},polymod_util_Util.stripXML=function(e,t,i,l,n){if(null==i&&(i=!0),null==t&&(t=!0),e=polymod_util_Util.stripComments(e),t){if(0==polymod_util_Util.uIndexOf(e,"<?xml")){a=polymod_util_Util.uIndexOf(e,">");e=polymod_util_Util.uSubstr(e,a+1,polymod_util_Util.uLength(e)-(a+1)),e=polymod_util_Util.trimLeadingWhiteSpace(e)}if(0==polymod_util_Util.uIndexOf(e,"<data")){a=polymod_util_Util.uIndexOf(e,">");e=polymod_util_Util.uSubstr(e,a+1,polymod_util_Util.uLength(e)-(a+1)),e=polymod_util_Util.trimLeadingWhiteSpace(e)}if(null!=l)for(r=0;r<l.length;){var s=l[r];if(++r,0==polymod_util_Util.uIndexOf(e,s)){var a=polymod_util_Util.uIndexOf(e,">");e=polymod_util_Util.uSubstr(e,a+1,polymod_util_Util.uLength(e)-(a+1)),e=polymod_util_Util.trimLeadingWhiteSpace(e)}}}if(i){e=polymod_util_Util.trimTrailingWhiteSpace(e);o=polymod_util_Util.uLength(e);if(polymod_util_Util.uLastIndexOf(e,"</data>")==o-7&&(e=polymod_util_Util.uSubstr(e,0,o-7)),null!=n)for(var r=0;r<n.length;){var _=n[r];++r,e=polymod_util_Util.trimTrailingWhiteSpace(e);var o=polymod_util_Util.uLength(e),h=polymod_util_Util.uLength(_);polymod_util_Util.uLastIndexOf(e,_)==o-h&&(e=polymod_util_Util.uSubstr(e,0,o-h))}}return e},polymod_util_Util.hasMerge=function(e,t){return null==t&&(t=""),polymod_util_Util.hasSpecial(e,"_merge",t)},polymod_util_Util.hasAppend=function(e,t){return null==t&&(t=""),polymod_util_Util.hasSpecial(e,"_append",t)},polymod_util_Util.stripAssetsPrefix=function(e){return 0==polymod_util_Util.uIndexOf(e,"assets/")&&(e=polymod_util_Util.uSubstring(e,7)),e},polymod_util_Util.hasSpecial=function(e,t,i){return null==i&&(i=""),null==t&&(t=""),!1},polymod_util_Util.pathJoin=function(e,t){var i=polymod_util_Util.uLastIndexOf(e,"/")==polymod_util_Util.uLength(e)-1||polymod_util_Util.uLastIndexOf(e,"\\")==polymod_util_Util.uLength(e)-1,l=0==polymod_util_Util.uIndexOf(t,"/")||0==polymod_util_Util.uIndexOf(t,"\\"),n="";return n=i||l?polymod_util_Util.uCombine([e,t]):polymod_util_Util.uCombine([e,polymod_util_Util.sl(),t]),n=polymod_util_Util.cleanSlashes(n)},polymod_util_Util.cleanSlashes=function(e){return e=polymod_util_Util.uSplitReplace(e,"\\","/"),e=polymod_util_Util.uSplitReplace(e,"//","/")},polymod_util_Util.sl=function(){return"/"},polymod_util_Util.copyXml=function(e,t){var i=null;if(e.nodeType==Xml.Element){if(e.nodeType!=Xml.Element)throw haxe_Exception.thrown("Bad node type, expected Element but found "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));i=Xml.createElement(e.nodeName);for(var l=e.attributes();l.hasNext();){var n=l.next();i.set(n,e.get(n))}for(s=e.elements();s.hasNext();){a=s.next();i.addChild(polymod_util_Util.copyXml(a,i))}}else if(e.nodeType==Xml.PCData){if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));i=Xml.createPCData(e.nodeValue)}else if(e.nodeType==Xml.CData){if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));i=Xml.createCData(e.nodeValue)}else if(e.nodeType==Xml.Comment){if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));i=Xml.createComment(e.nodeValue)}else if(e.nodeType==Xml.DocType){if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));i=Xml.createDocType(e.nodeValue)}else if(e.nodeType==Xml.ProcessingInstruction){if(e.nodeType==Xml.Document||e.nodeType==Xml.Element)throw haxe_Exception.thrown("Bad node type, unexpected "+(null==e.nodeType?"null":XmlType.toString(e.nodeType)));i=Xml.createProcessingInstruction(e.nodeValue)}else if(e.nodeType==Xml.Document){i=Xml.createDocument();for(var s=e.elements();s.hasNext();){var a=s.next();i.addChild(polymod_util_Util.copyXml(a,i))}}return i.parent=t,i},polymod_util_Util.uCat=function(e,t){var i="";return i+=Std.string(null==e?"null":""+e),i+=Std.string(null==t?"null":""+t)},polymod_util_Util.uCharAt=function(e,t){return e.charAt(t)},polymod_util_Util.uJoin=function(e,t){for(var i="",l=0,n=0;n<e.length;){var s=e[n];++n,i+=null==s?"null":""+s,l!=e.length-1&&(i+=null==t?"null":""+t),++l}return i},polymod_util_Util.uCombine=function(e){for(var t="",i=0;i<e.length;){var l=e[i];++i,t+=null==l?"null":""+l}return t},polymod_util_Util.uExtension=function(e,t){null==t&&(t=!1);var i=polymod_util_Util.uLastIndexOf(e,"."),l=polymod_util_Util.uSubstr(e,i+1,polymod_util_Util.uLength(e)-(i+1));return t&&(l=l.toLowerCase()),l},polymod_util_Util.uIndexOf=function(e,t,i){return e.indexOf(t,i)},polymod_util_Util.uLastIndexOf=function(e,t,i){return e.lastIndexOf(t,i)},polymod_util_Util.uLength=function(e){return e.length},polymod_util_Util.uPathPop=function(e){var t=e.split("/");return t.pop(),t.join("/")},polymod_util_Util.uTrimFinalCharIf=function(e,t){var i=polymod_util_Util.uLength(e);return polymod_util_Util.uLastIndexOf(e,t)==i-1&&(e=polymod_util_Util.uSubstr(e,0,i-1),i=polymod_util_Util.uLength(e)),e},polymod_util_Util.uTrimFinalEndlines=function(e){for(var t=!1,i="";!t;){i=polymod_util_Util.uTrimFinalCharIf(e,"\n");(i=polymod_util_Util.uTrimFinalCharIf(i,"\r"))==e?t=!0:e=i}return e},polymod_util_Util.uTrimFirstCharIf=function(e,t){var i=polymod_util_Util.uLength(e);return 0==polymod_util_Util.uIndexOf(e,t)&&(e=polymod_util_Util.uSubstr(e,1,i),i=polymod_util_Util.uLength(e)),e},polymod_util_Util.uTrimFirstEndlines=function(e){for(var t=!1,i="";!t;){i=polymod_util_Util.uTrimFirstCharIf(e,"\n");(i=polymod_util_Util.uTrimFirstCharIf(i,"\r"))==e?t=!0:e=i}return e},polymod_util_Util.uSplit=function(e,t){return e.split(t)},polymod_util_Util.uSplitReplace=function(e,t,i){if(-1==polymod_util_Util.uIndexOf(e,t))return e;var l=polymod_util_Util.uSplit(e,t);if(null==l||l.length<2)return e;for(var n="",s=0,a=l.length;s<a;){var r=s++,_=l[r];n+=null==_?"null":""+_,r!=l.length-1&&(n+=null==i?"null":""+i)}return n},polymod_util_Util.uSubstr=function(e,t,i){return HxOverrides.substr(e,t,i)},polymod_util_Util.uSubstring=function(e,t,i){return e.substring(t,i)},$global.$haxeUID|=0;var _init=lime__$internal_backend_html5_HTML5Application,init=lime_app_Application;haxe_ds_ObjectMap.count=0,"undefined"!=typeof performance&&"function"==typeof performance.now&&(HxOverrides.now=performance.now.bind(performance)),$hxClasses.Math=Math,null==String.fromCodePoint&&(String.fromCodePoint=function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55232+(e>>10))+String.fromCharCode(56320+(1023&e))}),String.prototype.__class__=$hxClasses.String=String,String.__name__="String",$hxClasses.Array=Array,Array.__name__="Array",Date.prototype.__class__=$hxClasses.Date=Date,Date.__name__="Date";var Int={},Dynamic={},Float=Number,Bool=Boolean,Class={},Enum={};js_Boot.__toStr={}.toString,haxe_Resource.content=[{name:"__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransform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9rREM4dnM3bHZVU3UzVXBVcFdPN1ZDM1RqU3FXVU1EK0dldisxdGlKZDZ5dm95ajl3NzhWQVhLb21SR2JCaW9nY0dBTlNrTm5GNVY0L1IzOVNFMm9hNHF2TjRkdzUzS1lBMzBBRDFQeGJXUUFGOHZwYVlyTldBYU5WMEFBQUFBRWxGVGtTdVFtQ0M"},{name:"__ASSET__:bitmap_flixel_system_debug_GraphicBitmapLog",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUFzQUFBQUxDQVlBQUFDcHJIY21BQUFBQm1KTFIwUUFBQUFBQUFENVE3dC9BQUFBQ1hCSVdYTUFBQXNUQUFBTEV3RUFtcHdZQUFBQUIzUkpUVVVIM2dRWkV4c2Fka1ZHNHdBQUFFRkpSRUZVR05PVnpjc0pBREFJQk5FdDFUSnl0UFBKS2VSbnhBd3NlSGlnOUJOUW1mRURBU3REUUdXWTRRdStjQWhQN013cytqaU94cDR5dk9ZWkxrRkFIVzZYWUMwODhkcWRBQUFBQUVsRlRrU3VRbUND"},{name:"__ASSET__:bitmap_flixel_system_debug_GraphicStats",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUFzQUFBQUxDQVlBQUFDcHJIY21BQUFBQ1hCSVdYTUFBQXNUQUFBTEV3RUFtcHdZQUFBQUlHTklVazBBQUhvbEFBQ0Fnd0FBK2Y4QUFJRHBBQUIxTUFBQTZtQUFBRHFZQUFBWGI1SmZ4VVlBQUFBeFNVUkJWSGphWXZ6Ly96OERzWUNKZ1FSQWpPTC9VRXdkaytHbTBkVE5XQlZqdFpvK3ptQWtKUVlCQUFBQS8vOERBTDhIREFscWRHWVJBQUFBQUVsRlRrU3VRbUND"},{name:"__ASSET__:bitmap_flixel_addons_transition_GraphicTransTileSquare",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQWlBQUFBQWdDQVlBQUFBckZzTTFBQUFBQ1hCSVdYTUFBQXNUQUFBTEV3RUFtcHdZQUFBN2EybFVX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Gh3T0pyaG1FVUdnQjN1Z2NXZXB2bWtRQUFBQUJKUlU1RXJrSmdnZz09"},{name:"__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorScaleY",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUFvQUFBQUtDQVlBQUFDTk1zKzlBQUFBQkhOQ1NWUUlDQWdJZkFoa2lBQUFBQWx3U0ZsekFBQUFUZ0FBQUU0QnNjMGZNd0FBQUJ4MFJWaDBVMjltZEhkaGNtVUFRV1J2WW1VZ1JtbHlaWGR2Y210eklFTlROdWk4c293QUFBQkdTVVJCVkJpVmZaQkpEZ0F3Q0FLbDZmKy9iRTl0RVlPY3pFaHdRV2FHNkFJd1hNYWtkVEcyYUdhYklLUTVqcllhamNBUEhZMzhFZDVSanltN2NpS2k2ekVkRFZQSEFlQm5EaFZYand5eEFBQUFBRWxGVGtTdVFtQ0M"},{name:"__ASSET__:bitmap_flixel_system_GraphicVirtualInput",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQVk4QUFBQzNDQVlBQUFEcXhOS1RBQUFBQVhOU1IwSUFyczRjNlFBQUFBUm5RVTFCQUFDeGp3djhZUVVBQUFBSmNFaFpjd0FBRHNNQUFBN0RBY2R2cUdRQUFJLzRTVVJCVkhoZTdWMEhlQlRWMm9aQVFocEo2RFVKRUZJZ0NUV0IwRU12Z3ZUUWV4VlJxaUJGQVJYcjlkcTc2RlV2WEFWQkZPV2lRRUxvSllRV0NFMUV4UUplRkZFUkNQRDkzM3QyWmptemV6YVp0TjBOZjg3enZNOU9kcy9NZWVma20vZWRjNzRwSllqSUZpV3RlT1MxYUVhY2t4Rmw0R0RQenhaRmw2OTd3TUFQeGZZN2hyVithbXBxOUpZdFcrS2NDVzR6ejMxODh1VEphRWFjay9IL0tpWWVlWXFpSDNtUzRweUtweWpQZlZ6VStMb0pEUHhFMmVBWEthQlZBRHhvMFN1ejZPR1hMOURDNTRubVA4ZjRwNVBBYlMxOG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QUFBQUxDQVlBQUFDcHJIY21BQUFBQm1KTFIwUUFBQUFBQUFENVE3dC9BQUFBQ1hCSVdYTUFBQXNUQUFBTEV3RUFtcHdZQUFBQUIzUkpUVVVIM2dRWkVqQTAzU0hjY2dBQUFFQkpSRUZVR05Oai9QLy9Qd01SSUpLQmdjR1g0Zi8vLy9odzVQLy8vNWY5aHdLaUZPRlNqRlVSdW1LOGlwQVZFMVJFdHNra3U1bXMwTUNyaVpHVUdBUUFzOU5wbXo4SWloRUFBQUFBU1VWT1JLNUNZSUk9"},{name:"__ASSET__:bitmap_flixel_system_debug_GraphicLog",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUFzQUFBQUxDQVlBQUFDcHJIY21BQUFBQ1hCSVdYTUFBQXNUQUFBTEV3RUFtcHdZQUFBQUlHTklVazBBQUhvbEFBQ0Fnd0FBK2Y4QUFJRHBBQUIxTUFBQTZtQUFBRHFZQUFBWGI1SmZ4VVlBQUFBa1NVUkJWSGphWXZ6Ly96OERzWUFGaVkxUEZ5TzZZc1pSa3dlSHlRQUFBQUQvL3dNQStmWUlMQWhqbnhZQUFBQUFTVVZPUks1Q1lJST0"},{name:"__ASSET__:bitmap_flixel_system_debug__Window_GraphicWindowHandle",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQUFvQUFBQUtDQVlBQUFDTk1zKzlBQUFBR1hSRldIUlRiMlowZDJGeVpRQkJaRzlpWlNCSmJXRm5aVkpsWVdSNWNjbGxQQUFBQUZCSlJFRlVlTnFNandFS0FDQUlBeFgyeWg3b055MmpRa3lwUWJUMGRFU3FTblllRXZoWE5zRE1ZblhlelZHNHdBME5OVlJaSGpLUEgyaDYvNWwxVzBPaXgzTlRFbDFDSjdxS0MvNExraTdBQUQ1WWZydllMZlJQQUFBQUFFbEZUa1N1UW1DQw"},{name:"__ASSET__:bitmap_flixel_system__FlxPreloader_GraphicLogoCorners",data:"aVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQU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mLZuqatuu7OqyLNu6L2maaWqeZ5qa55mmaZqybJqqK1uep5qeKKqq5ommaqqqLJumqsqW55mqJ4qq6omea5qqKsumatqqaZq2bKqqLZumKsuubfu+68qybqqqbJuqauumasqybMu+78qq7oqmKcumqtqyaaqyLduy78uyrPuiacqyaaqybaqqLsuybRuzbPu6aJqybaqmLZuqKtuyLfu6LNu678qub6uqrOuyLfu67vqucOu6MLyybPuqrPq6K9u6b+sy2/Z9RNOUZVM1bdtUVVl2Zdn2Zdv2fdE0bVtVVVs2TdW2ZVn2fVm2bWE0Tdk2VVXWTdW0bVmWbWG2ZeF2Zdm3ZVv2ddeVdV/XfePXZd3murLty7Kt+6qr+rbu+8Jw667wCgAAGHAAAAgwoQwUGrISAIgCAACMYYwxCI1SzjkHoVHKOecgZM5BCCGVzDkIIZSSOQehlJQy5yCUklIIoZSUWgshlJRSawUAABQ4AAAE2KApsThAoSErAYBUAACD41iW55miatqyY0meJ4qqqaq27UiW54miaaqqbVueJ4qmqaqu6+ua54miaaqq6+q6aJqmqaqu67q6Lpqiqaqq67qyrpumqqquK7uy7Oumqqqq68quLPvCqrquK8uybevCsKqu68qybNu2b9y6ruu+7/vCka3rui78wjEMRwEA4AkOAEAFNqyOcFI0FlhoyEoAIAMAgDAGIYMQQgYhhJBSSiGllBIAADDgAAAQYEIZKDRkRQAQJwAAGEMppJRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkgppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkqppJRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRS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svQUFBQUJaMFJWaDBRM0psWVhScGIyNGdWR2x0WlFBd05TOHlPUzh4TnJ0VlFGa0FBQUFjZEVWWWRGTnZablIzWVhKbEFFRmtiMkpsSUVacGNtVjNiM0pyY3lCRFV6Ym92TEtNQUFBQUxrbEVRVlFZbFdQOC8vOC9BeGJ3bjRHQmdSRmRrQW1iU2x4Z2tDaG1ZWUI0Qmh2QUVHZGh3T0pyaG1FVUdnQjN1Z2NXZXB2bWtRQUFBQUJKUlU1RXJrSmdnZz09"}],null==ArrayBuffer.prototype.slice&&(ArrayBuffer.prototype.slice=js_lib__$ArrayBuffer_ArrayBufferCompat.sliceImpl);var array=null,vector=null,view=null,buffer=null,len=null,this1=new Uint32Array(256);lime_math_RGBA.__alpha16=this1;for(var _g=0;_g<256;){var i=_g++;lime_math_RGBA.__alpha16[i]=Math.ceil(257.00392156862745*i)}var array=null,vector=null,view=null,buffer=null,len=null,this1=new Uint8Array(511);lime_math_RGBA.__clamp=this1;for(var _g=0;_g<255;){var i=_g++;lime_math_RGBA.__clamp[i]=i}for(var _g=255,_g1=511;_g<_g1;){var i=_g++;lime_math_RGBA.__clamp[i]=255}lime_system_CFFI.available=!1,lime_system_CFFI.enabled=!1,lime_utils_Log.level=3,"undefined"==typeof console&&(console={}),null==console.log&&(console.log=function(){}),openfl_display__$internal_CanvasGraphics.hitTestCanvas="undefined"!=typeof window?window.document.createElement("canvas"):null,openfl_display__$internal_CanvasGraphics.hitTestContext="undefined"!=typeof window?openfl_display__$internal_CanvasGraphics.hitTestCanvas.getContext("2d"):null,openfl_ui_Multitouch.maxTouchPoints=2,openfl_ui_Multitouch.supportedGestures=null,openfl_ui_Multitouch.supportsGestureEvents=!1,openfl_ui_Multitouch.inputMode=2,flixel_math_FlxRect._pool=new flixel_util_FlxPool_$flixel_$math_$FlxRect(flixel_math_FlxRect),flixel_FlxObject.defaultPixelPerfectPosition=!1,flixel_FlxObject.SEPARATE_BIAS=4,flixel_FlxObject.LEFT=1,flixel_FlxObject.RIGHT=16,flixel_FlxObject.UP=256,flixel_FlxObject.DOWN=4096,flixel_FlxObject.NONE=0,flixel_FlxObject.CEILING=256,flixel_FlxObject.FLOOR=4096,flixel_FlxObject.WALL=17,flixel_FlxObject.ANY=4369,flixel_FlxObject._firstSeparateFlxRect=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),flixel_FlxObject._secondSeparateFlxRect=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),AlphaCharacter.alphabet="abcdefghijklmnopqrstuvwxyz",AlphaCharacter.numbers="1234567890",AlphaCharacter.symbols="|~#$%()*+-:;<=>@[]^_.,'!?",openfl_Vector.__meta__={statics:{toNullVector:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_DisplayObject.__meta__={fields:{__cairo:{SuppressWarnings:["checkstyle:Dynamic"]},addEventListener:{SuppressWarnings:["checkstyle:Dynamic"]},removeEventListener:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_DisplayObject.__broadcastEvents=new haxe_ds_StringMap,openfl_display_DisplayObject.__instanceCount=0,openfl_display_DisplayObject.__tempStack=new lime_utils_ObjectPool(function(){return openfl_Vector.toObjectVector(null)},function(e){e.set_length(0)}),flixel_addons_transition_FlxTransitionableState.defaultTransIn=null,flixel_addons_transition_FlxTransitionableState.defaultTransOut=null,flixel_addons_transition_FlxTransitionableState.skipNextTransIn=!1,flixel_addons_transition_FlxTransitionableState.skipNextTransOut=!1,flixel_addons_ui_FlxUIState.static_tongue=null,ChartingState.lastSection=0,Conductor.bpm=100,Conductor.crochet=60/Conductor.bpm*1e3,Conductor.stepCrochet=Conductor.crochet/4,Conductor.offset=0,Conductor.safeFrames=10,Conductor.safeZoneOffset=Conductor.safeFrames/60*1e3,Conductor.bpmChangeMap=[],CoolUtil.difficultyArray=["EASY","NORMAL","HARD"],EtternaFunctions.a1=.254829592,EtternaFunctions.a2=-.284496736,EtternaFunctions.a3=1.421413741,EtternaFunctions.a4=-1.453152027,EtternaFunctions.a5=1.061405429,EtternaFunctions.p=.3275911,Highscore.songScores=new haxe_ds_StringMap,LoadingState.MIN_TIME=1,MainMenuState.kadeEngineVer="1.3",MainMenuState.gameVer="0.2.7.1",openfl_text_Font.__fontByName=new haxe_ds_StringMap,openfl_text_Font.__registeredFonts=[],NGio.isLoggedIn=!1,NGio.scoreboardsLoaded=!1,NGio.scoreboardArray=[],NGio.ngDataLoaded=new flixel_util__$FlxSignal_FlxSignal0,NGio.ngScoresLoaded=new flixel_util__$FlxSignal_FlxSignal0,NGio.GAME_VER="",NGio.GAME_VER_NUMS="",NGio.gotOnlineVer=!1,Note.swagWidth=112,Note.PURP_NOTE=0,Note.GREEN_NOTE=2,Note.BLUE_NOTE=1,Note.RED_NOTE=3,Paths.SOUND_EXT="mp3",PlayState.curStage="",PlayState.isStoryMode=!1,PlayState.storyWeek=0,PlayState.storyPlaylist=[],PlayState.storyDifficulty=1,PlayState.weekSong=0,PlayState.shits=0,PlayState.bads=0,PlayState.goods=0,PlayState.sicks=0,PlayState.loadRep=!1,PlayState.misses=0,PlayState.campaignScore=0,PlayState.daPixelZoom=6,PlayState.theFunne=!0,PlayState.repPresses=0,PlayState.repReleases=0,PlayState.timeCurrently=0,PlayState.timeCurrentlyR=0,PlayState.songRate=1.5,PlayerSettings.numPlayers=0,PlayerSettings.numAvatars=0,PlayerSettings.onAvatarAdd=new flixel_util__$FlxSignal_FlxSignal1,PlayerSettings.onAvatarRemove=new flixel_util__$FlxSignal_FlxSignal1,Replay.version="1.0",Section.COPYCAT=0,StoryMenuState.weekUnlocked=[!0,!0],TitleState.initialized=!1,openfl_display_Shader.__meta__={fields:{glProgram:{SuppressWarnings:["checkstyle:Dynamic"]}}},Xml.Element=0,Xml.PCData=1,Xml.CData=2,Xml.Comment=3,Xml.DocType=4,Xml.ProcessingInstruction=5,Xml.Document=6,flixel_math_FlxPoint._pool=new flixel_util_FlxPool_$flixel_$math_$FlxPoint(flixel_math_FlxPoint),lime_math_Matrix3.__identity=new lime_math_Matrix3,openfl_geom_Matrix.__meta__={fields:{equals:{SuppressWarnings:["checkstyle:FieldDocComment"]},to3DString:{SuppressWarnings:["checkstyle:FieldDocComment"]},toMozString:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_geom_Matrix.__identity=new openfl_geom_Matrix,openfl_geom_Matrix.__pool=new lime_utils_ObjectPool(function(){return new openfl_geom_Matrix},function(e){e.identity()}),openfl_geom_Matrix.__matrix3=new lime_math_Matrix3,openfl_geom_ColorTransform.__pool=new lime_utils_ObjectPool(function(){return new openfl_geom_ColorTransform},function(e){e.__identity()}),flixel_FlxCamera.drawVertices=openfl_Vector.toFloatVector(null),flixel_FlxCamera.trianglesSprite=new openfl_display_Sprite,flixel_FlxCamera.renderPoint=function(e){var t=flixel_math_FlxPoint._pool.get().set(0,0);return t._inPool=!1,t}(),flixel_FlxCamera.renderRect=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),flixel_system_FlxVersion.sha="",flixel_math_FlxRandom._arrayFloatHelper=null,flixel_math_FlxRandom.MULTIPLIER=48271,flixel_math_FlxRandom.MODULUS=2147483647,flixel_FlxG.autoPause=!0,flixel_FlxG.fixedTimestep=!0,flixel_FlxG.timeScale=1,flixel_FlxG.worldDivisions=6,flixel_FlxG.VERSION=new flixel_system_FlxVersion(4,8,1),flixel_FlxG.elapsed=0,flixel_FlxG.maxElapsed=.1,flixel_FlxG.scaleMode=new flixel_system_scaleModes_RatioScaleMode,flixel_FlxG.worldBounds=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),flixel_FlxG.save=new flixel_util_FlxSave,flixel_FlxG.random=new flixel_math_FlxRandom,flixel_FlxG.swipes=[],flixel_FlxG.html5=new flixel_system_frontEnds_HTML5FrontEnd,flixel_FlxG.inputs=new flixel_system_frontEnds_InputFrontEnd,flixel_FlxG.console=new flixel_system_frontEnds_ConsoleFrontEnd,flixel_FlxG.log=new flixel_system_frontEnds_LogFrontEnd,flixel_FlxG.bitmapLog=new flixel_system_frontEnds_BitmapLogFrontEnd,flixel_FlxG.watch=new flixel_system_frontEnds_WatchFrontEnd,flixel_FlxG.debugger=new flixel_system_frontEnds_DebuggerFrontEnd,flixel_FlxG.bitmap=new flixel_system_frontEnds_BitmapFrontEnd,flixel_FlxG.cameras=new flixel_system_frontEnds_CameraFrontEnd,flixel_FlxG.initialWidth=0,flixel_FlxG.initialHeight=0,flixel_FlxG.initialZoom=0,flixel_FlxG.signals=new flixel_system_frontEnds_SignalFrontEnd,flixel_addons_text_TypeSound.resourceName="__ASSET__:sound_flixel_addons_text_TypeSound",flixel_text_FlxText.VERTICAL_GUTTER=4,flixel_addons_text_FlxTypeText.helperString="",openfl_display_BitmapData.__meta__={fields:{image:{SuppressWarnings:["checkstyle:Dynamic"]},__framebufferContext:{SuppressWarnings:["checkstyle:Dynamic"]},__indexBufferContext:{SuppressWarnings:["checkstyle:Dynamic"]},__surface:{SuppressWarnings:["checkstyle:Dynamic"]},__textureContext:{SuppressWarnings:["checkstyle:Dynamic"]},__vertexBufferContext:{SuppressWarnings:["checkstyle:Dynamic"]},compare:{SuppressWarnings:["checkstyle:Dynamic"]},getSurface:{SuppressWarnings:["checkstyle:Dynamic"]},__fromImage:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_BitmapData.VERTEX_BUFFER_STRIDE=14,openfl_display_BitmapData.__supportsBGRA=null,openfl_display_BitmapData.__tempVector=new lime_math_Vector2,flixel_addons_transition_GraphicTransTileCircle.resourceType="image/png",flixel_addons_transition_GraphicTransTileCircle.resourceName="__ASSET__:bitmap_flixel_addons_transition_GraphicTransTileCircle",flixel_addons_transition_GraphicTransTileDiamond.resourceType="image/png",flixel_addons_transition_GraphicTransTileDiamond.resourceName="__ASSET__:bitmap_flixel_addons_transition_GraphicTransTileDiamond",flixel_addons_transition_GraphicTransTileSquare.resourceType="image/png",flixel_addons_transition_GraphicTransTileSquare.resourceName="__ASSET__:bitmap_flixel_addons_transition_GraphicTransTileSquare",flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.resourceType="image/png",flixel_addons_transition__$TransitionFade_GraphicDiagonalGradient.resourceName="__ASSET__:bitmap_flixel_addons_transition__TransitionFade_GraphicDiagonalGradient",flixel_addons_ui_Anchor.LEFT="left",flixel_addons_ui_Anchor.RIGHT="right",flixel_addons_ui_Anchor.TOP="top",flixel_addons_ui_Anchor.BOTTOM="bottom",flixel_addons_ui_Anchor.CENTER="center",flixel_addons_ui_Anchor.UNKNOWN="unknown",flixel_addons_ui_FlxInputText.NO_FILTER=0,flixel_addons_ui_FlxInputText.ONLY_ALPHA=1,flixel_addons_ui_FlxInputText.ONLY_NUMERIC=2,flixel_addons_ui_FlxInputText.ONLY_ALPHANUMERIC=3,flixel_addons_ui_FlxInputText.CUSTOM_FILTER=4,flixel_addons_ui_FlxInputText.ALL_CASES=0,flixel_addons_ui_FlxInputText.UPPER_CASE=1,flixel_addons_ui_FlxInputText.LOWER_CASE=2,flixel_addons_ui_FlxInputText.BACKSPACE_ACTION="backspace",flixel_addons_ui_FlxInputText.DELETE_ACTION="delete",flixel_addons_ui_FlxInputText.ENTER_ACTION="enter",flixel_addons_ui_FlxInputText.INPUT_ACTION="input",flixel_addons_ui_FlxUISprite.RESIZE_RATIO_X=0,flixel_addons_ui_FlxUISprite.RESIZE_RATIO_Y=1,flixel_addons_ui_FlxUISprite.RESIZE_RATIO_UNKNOWN=-1,openfl_geom_Point.__pool=new lime_utils_ObjectPool(function(){return new openfl_geom_Point},function(e){e.setTo(0,0)}),openfl_geom_Rectangle.__pool=new lime_utils_ObjectPool(function(){return new openfl_geom_Rectangle},function(e){e.setTo(0,0,0,0)}),flixel_addons_ui_FlxUI9SliceSprite.bitmapsCreated=0,flixel_addons_ui_FlxUI9SliceSprite.useSectionCache=!0,flixel_addons_ui_FlxUI9SliceSprite._staticPoint=new openfl_geom_Point,flixel_addons_ui_FlxUI9SliceSprite._staticRect=new openfl_geom_Rectangle,flixel_addons_ui_FlxUI9SliceSprite._staticRect2=new openfl_geom_Rectangle,flixel_addons_ui_FlxUI9SliceSprite._staticPointZero=new openfl_geom_Point(0,0),flixel_addons_ui_FlxUI9SliceSprite._staticMatrix=new openfl_geom_Matrix,flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),flixel_addons_ui_FlxUI9SliceSprite._staticFlxRect2=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),flixel_addons_ui_FlxUI9SliceSprite.TILE_NONE=0,flixel_addons_ui_FlxUI9SliceSprite.TILE_BOTH=17,flixel_addons_ui_FlxUI9SliceSprite.TILE_H=16,flixel_addons_ui_FlxUI9SliceSprite.TILE_V=1,flixel_addons_ui_FlxUIAssets.IMG_BUTTON="flixel/flixel-ui/img/button.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_ARROW_DOWN="flixel/flixel-ui/img/button_arrow_down.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_ARROW_LEFT="flixel/flixel-ui/img/button_arrow_left.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_ARROW_RIGHT="flixel/flixel-ui/img/button_arrow_right.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_ARROW_UP="flixel/flixel-ui/img/button_arrow_up.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_THIN="flixel/flixel-ui/img/button_thin.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_TOGGLE="flixel/flixel-ui/img/button_toggle.png",flixel_addons_ui_FlxUIAssets.IMG_BUTTON_SIZE=18,flixel_addons_ui_FlxUIAssets.IMG_CHECK_MARK="flixel/flixel-ui/img/check_mark.png",flixel_addons_ui_FlxUIAssets.IMG_CHECK_BOX="flixel/flixel-ui/img/check_box.png",flixel_addons_ui_FlxUIAssets.IMG_CHROME="flixel/flixel-ui/img/chrome.png",flixel_addons_ui_FlxUIAssets.IMG_CHROME_LIGHT="flixel/flixel-ui/img/chrome_light.png",flixel_addons_ui_FlxUIAssets.IMG_CHROME_FLAT="flixel/flixel-ui/img/chrome_flat.png",flixel_addons_ui_FlxUIAssets.IMG_CHROME_INSET="flixel/flixel-ui/img/chrome_inset.png",flixel_addons_ui_FlxUIAssets.IMG_RADIO="flixel/flixel-ui/img/radio.png",flixel_addons_ui_FlxUIAssets.IMG_RADIO_DOT="flixel/flixel-ui/img/radio_dot.png",flixel_addons_ui_FlxUIAssets.IMG_TAB="flixel/flixel-ui/img/tab.png",flixel_addons_ui_FlxUIAssets.IMG_TAB_BACK="flixel/flixel-ui/img/tab_back.png",flixel_addons_ui_FlxUIAssets.IMG_BOX="flixel/flixel-ui/img/box.png",flixel_addons_ui_FlxUIAssets.IMG_DROPDOWN="flixel/flixel-ui/img/dropdown_mark.png",flixel_addons_ui_FlxUIAssets.IMG_PLUS="flixel/flixel-ui/img/plus_mark.png",flixel_addons_ui_FlxUIAssets.IMG_MINUS="flixel/flixel-ui/img/minus_mark.png",flixel_addons_ui_FlxUIAssets.IMG_HILIGHT="flixel/flixel-ui/img/hilight.png",flixel_addons_ui_FlxUIAssets.IMG_INVIS="flixel/flixel-ui/img/invis.png",flixel_addons_ui_FlxUIAssets.IMG_SWATCH="flixel/flixel-ui/img/swatch.png",flixel_addons_ui_FlxUIAssets.IMG_TOOLTIP_ARROW="flixel/flixel-ui/img/tooltip_arrow.png",flixel_addons_ui_FlxUIAssets.IMG_FINGER_SMALL="flixel/flixel-ui/img/finger_small.png",flixel_addons_ui_FlxUIAssets.IMG_FINGER_BIG="flixel/flixel-ui/img/finger_big.png",flixel_addons_ui_FlxUIAssets.SLICE9_BUTTON="6,6,11,11",flixel_addons_ui_FlxUIAssets.SLICE9_BUTTON_THIN="2,2,15,15",flixel_addons_ui_FlxUIAssets.SLICE9_BUTTON_TOGGLE="6,6,11,11",flixel_addons_ui_FlxUIAssets.SLICE9_TAB="6,6,11,11",flixel_addons_ui_FlxUIAssets.XML_DEFAULTS_ID="flixel/flixel-ui/xml/defaults",flixel_addons_ui_FlxUIAssets.XML_DEFAULT_POPUP_ID="flixel/flixel-ui/xml/default_popup",flixel_addons_ui_FlxUIAssets.XML_DEFAULT_LOADING_SCREEN_ID="flixel/flixel-ui/xml/default_loading_screen",flixel_addons_ui_FlxUIAssets.index_size=null,flixel_addons_ui_FlxUITypedButton.CLICK_EVENT="click_button",flixel_addons_ui_FlxUITypedButton.OVER_EVENT="over_button",flixel_addons_ui_FlxUITypedButton.DOWN_EVENT="down_button",flixel_addons_ui_FlxUITypedButton.OUT_EVENT="out_button",flixel_addons_ui_FlxUICheckBox.CLICK_EVENT="click_check_box",flixel_addons_ui_FlxUICursor.KEYS_TAB=1,flixel_addons_ui_FlxUICursor.KEYS_WASD=16,flixel_addons_ui_FlxUICursor.KEYS_ARROWS=256,flixel_addons_ui_FlxUICursor.KEYS_NUMPAD=4096,flixel_addons_ui_FlxUICursor.GAMEPAD_DPAD=65536,flixel_addons_ui_FlxUICursor.GAMEPAD_LEFT_STICK=1048576,flixel_addons_ui_FlxUICursor.GAMEPAD_RIGHT_STICK=16777216,flixel_addons_ui_FlxUICursor.GAMEPAD_SHOULDER_BUTTONS=268435456,flixel_addons_ui_FlxUICursor.INPUT_NONE=0,flixel_addons_ui_FlxUICursor.INPUT_KEYS=1,flixel_addons_ui_FlxUICursor.INPUT_GAMEPAD=16,flixel_addons_ui_FlxUIDropDownMenu.CLICK_EVENT="click_dropdown",flixel_addons_ui_FlxUIInputText.CHANGE_EVENT="change_input_text",flixel_addons_ui_FlxUIInputText.ENTER_EVENT="enter_input_text",flixel_addons_ui_FlxUIInputText.DELETE_EVENT="delete_input_text",flixel_addons_ui_FlxUIInputText.INPUT_EVENT="input_input_text",flixel_addons_ui_FlxUIList.STACK_HORIZONTAL=0,flixel_addons_ui_FlxUIList.STACK_VERTICAL=1,flixel_input_FlxPointer._cachedPoint=new flixel_math_FlxPoint,flixel_addons_ui_FlxUINumericStepper.STACK_VERTICAL=0,flixel_addons_ui_FlxUINumericStepper.STACK_HORIZONTAL=1,flixel_addons_ui_FlxUINumericStepper.CLICK_EVENT="click_numeric_stepper",flixel_addons_ui_FlxUINumericStepper.EDIT_EVENT="edit_numeric_stepper",flixel_addons_ui_FlxUINumericStepper.CHANGE_EVENT="change_numeric_stepper",flixel_addons_ui_FlxUIRadioGroup.CLICK_EVENT="click_radio_group",flixel_addons_ui_FlxUITabMenu.CLICK_EVENT="tab_menu_click",flixel_addons_ui_FlxUITabMenu.STACK_FRONT="front",flixel_addons_ui_FlxUITabMenu.STACK_BACK="back",flixel_addons_ui_FontDef.EXTENSIONS=[".ttf",".otf"],flixel_addons_ui_U._matrix=null,flixel_animation_FlxPrerotatedAnimation.PREROTATED="prerotated_animation",flixel_effects_FlxFlicker._pool=new flixel_util_FlxPool_$flixel_$effects_$FlxFlicker(flixel_effects_FlxFlicker),flixel_effects_FlxFlicker._boundObjects=new haxe_ds_ObjectMap,flixel_graphics_FlxGraphic.defaultPersist=!1,flixel_graphics_atlas_FlxAtlas.point=new openfl_geom_Point,flixel_graphics_atlas_FlxAtlas.matrix=new openfl_geom_Matrix,flixel_graphics_atlas_FlxAtlas.defaultMinSize=new flixel_math_FlxPoint(128,128),flixel_graphics_atlas_FlxAtlas.defaultMaxSize=new flixel_math_FlxPoint(1024,1024),flixel_graphics_tile_FlxDrawBaseItem.drawCalls=0,flixel_graphics_tile_FlxDrawQuadsItem.VERTICES_PER_QUAD=4,flixel_graphics_tile_FlxDrawTrianglesItem.point=function(e){var t=flixel_math_FlxPoint._pool.get().set(0,0);return t._inPool=!1,t}(),flixel_graphics_tile_FlxDrawTrianglesItem.rect=function(e){var t=flixel_math_FlxRect._pool.get(),i=0,l=0,n=0,s=0;null==s&&(s=0),null==n&&(n=0),null==l&&(l=0),null==i&&(i=0),t.x=i,t.y=l,t.width=n,t.height=s;var a=t;return a._inPool=!1,a}(),flixel_input_actions_FlxInputDeviceID.ALL=-1,flixel_input_actions_FlxInputDeviceID.FIRST_ACTIVE=-2,flixel_input_actions_FlxInputDeviceID.NONE=-3,flixel_input_actions_FlxActionInputAnalog.A_X=!0,flixel_input_actions_FlxActionInputAnalog.A_Y=!1,flixel_input_actions_FlxSteamController.CONTROLLER_CONNECT_POLL_TIME=.25,flixel_input_actions_FlxSteamController.ORIGIN_DATA_POLL_TIME=1,flixel_input_actions_FlxSteamController.onControllerConnect=null,flixel_input_actions_FlxSteamController.onOriginUpdate=null,flixel_input_gamepad_FlxGamepadInputID.fromStringMap=function(e){var t=new haxe_ds_StringMap;return t.h.ANY=-2,t.h.A=0,t.h.B=1,t.h.X=2,t.h.Y=3,t.h.LEFT_SHOULDER=4,t.h.RIGHT_SHOULDER=5,t.h.BACK=6,t.h.START=7,t.h.LEFT_STICK_CLICK=8,t.h.RIGHT_STICK_CLICK=9,t.h.GUIDE=10,t.h.DPAD_UP=11,t.h.DPAD_DOWN=12,t.h.DPAD_LEFT=13,t.h.DPAD_RIGHT=14,t.h.LEFT_TRIGGER_BUTTON=15,t.h.RIGHT_TRIGGER_BUTTON=16,t.h.LEFT_TRIGGER=17,t.h.RIGHT_TRIGGER=18,t.h.LEFT_ANALOG_STICK=19,t.h.RIGHT_ANALOG_STICK=20,t.h.DPAD=21,t.h.TILT_PITCH=26,t.h.TILT_ROLL=27,t.h.POINTER_X=28,t.h.POINTER_Y=29,t.h.EXTRA_0=30,t.h.EXTRA_1=31,t.h.EXTRA_2=32,t.h.EXTRA_3=33,t.h.LEFT_STICK_DIGITAL_UP=34,t.h.LEFT_STICK_DIGITAL_RIGHT=35,t.h.LEFT_STICK_DIGITAL_DOWN=36,t.h.LEFT_STICK_DIGITAL_LEFT=37,t.h.RIGHT_STICK_DIGITAL_UP=38,t.h.RIGHT_STICK_DIGITAL_RIGHT=39,t.h.RIGHT_STICK_DIGITAL_DOWN=40,t.h.RIGHT_STICK_DIGITAL_LEFT=41,t}(),flixel_input_gamepad_FlxGamepadInputID.toStringMap=function(e){var t=new haxe_ds_IntMap;return t.h[-2]="ANY",t.h[0]="A",t.h[1]="B",t.h[2]="X",t.h[3]="Y",t.h[4]="LEFT_SHOULDER",t.h[5]="RIGHT_SHOULDER",t.h[6]="BACK",t.h[7]="START",t.h[8]="LEFT_STICK_CLICK",t.h[9]="RIGHT_STICK_CLICK",t.h[10]="GUIDE",t.h[11]="DPAD_UP",t.h[12]="DPAD_DOWN",t.h[13]="DPAD_LEFT",t.h[14]="DPAD_RIGHT",t.h[15]="LEFT_TRIGGER_BUTTON",t.h[16]="RIGHT_TRIGGER_BUTTON",t.h[17]="LEFT_TRIGGER",t.h[18]="RIGHT_TRIGGER",t.h[19]="LEFT_ANALOG_STICK",t.h[20]="RIGHT_ANALOG_STICK",t.h[21]="DPAD",t.h[26]="TILT_PITCH",t.h[27]="TILT_ROLL",t.h[28]="POINTER_X",t.h[29]="POINTER_Y",t.h[30]="EXTRA_0",t.h[31]="EXTRA_1",t.h[32]="EXTRA_2",t.h[33]="EXTRA_3",t.h[34]="LEFT_STICK_DIGITAL_UP",t.h[35]="LEFT_STICK_DIGITAL_RIGHT",t.h[36]="LEFT_STICK_DIGITAL_DOWN",t.h[37]="LEFT_STICK_DIGITAL_LEFT",t.h[38]="RIGHT_STICK_DIGITAL_UP",t.h[39]="RIGHT_STICK_DIGITAL_RIGHT",t.h[40]="RIGHT_STICK_DIGITAL_DOWN",t.h[41]="RIGHT_STICK_DIGITAL_LEFT",t}(),flixel_input_gamepad_FlxGamepadInputID.ANY=-2,flixel_input_gamepad_FlxGamepadInputID.NONE=-1,flixel_input_gamepad_FlxGamepadInputID.A=0,flixel_input_gamepad_FlxGamepadInputID.B=1,flixel_input_gamepad_FlxGamepadInputID.X=2,flixel_input_gamepad_FlxGamepadInputID.Y=3,flixel_input_gamepad_FlxGamepadInputID.LEFT_SHOULDER=4,flixel_input_gamepad_FlxGamepadInputID.RIGHT_SHOULDER=5,flixel_input_gamepad_FlxGamepadInputID.BACK=6,flixel_input_gamepad_FlxGamepadInputID.START=7,flixel_input_gamepad_FlxGamepadInputID.LEFT_STICK_CLICK=8,flixel_input_gamepad_FlxGamepadInputID.RIGHT_STICK_CLICK=9,flixel_input_gamepad_FlxGamepadInputID.GUIDE=10,flixel_input_gamepad_FlxGamepadInputID.DPAD_UP=11,flixel_input_gamepad_FlxGamepadInputID.DPAD_DOWN=12,flixel_input_gamepad_FlxGamepadInputID.DPAD_LEFT=13,flixel_input_gamepad_FlxGamepadInputID.DPAD_RIGHT=14,flixel_input_gamepad_FlxGamepadInputID.LEFT_TRIGGER_BUTTON=15,flixel_input_gamepad_FlxGamepadInputID.RIGHT_TRIGGER_BUTTON=16,flixel_input_gamepad_FlxGamepadInputID.LEFT_TRIGGER=17,flixel_input_gamepad_FlxGamepadInputID.RIGHT_TRIGGER=18,flixel_input_gamepad_FlxGamepadInputID.LEFT_ANALOG_STICK=19,flixel_input_gamepad_FlxGamepadInputID.RIGHT_ANALOG_STICK=20,flixel_input_gamepad_FlxGamepadInputID.DPAD=21,flixel_input_gamepad_FlxGamepadInputID.TILT_PITCH=26,flixel_input_gamepad_FlxGamepadInputID.TILT_ROLL=27,flixel_input_gamepad_FlxGamepadInputID.POINTER_X=28,flixel_input_gamepad_FlxGamepadInputID.POINTER_Y=29,flixel_input_gamepad_FlxGamepadInputID.EXTRA_0=30,flixel_input_gamepad_FlxGamepadInputID.EXTRA_1=31,flixel_input_gamepad_FlxGamepadInputID.EXTRA_2=32,flixel_input_gamepad_FlxGamepadInputID.EXTRA_3=33,flixel_input_gamepad_FlxGamepadInputID.LEFT_STICK_DIGITAL_UP=34,flixel_input_gamepad_FlxGamepadInputID.LEFT_STICK_DIGITAL_RIGHT=35,flixel_input_gamepad_FlxGamepadInputID.LEFT_STICK_DIGITAL_DOWN=36,flixel_input_gamepad_FlxGamepadInputID.LEFT_STICK_DIGITAL_LEFT=37,flixel_input_gamepad_FlxGamepadInputID.RIGHT_STICK_DIGITAL_UP=38,flixel_input_gamepad_FlxGamepadInputID.RIGHT_STICK_DIGITAL_RIGHT=39,flixel_input_gamepad_FlxGamepadInputID.RIGHT_STICK_DIGITAL_DOWN=40,flixel_input_gamepad_FlxGamepadInputID.RIGHT_STICK_DIGITAL_LEFT=41,openfl_ui_GameInput.__meta__={fields:{addEventListener:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_ui_GameInput.isSupported=!0,openfl_ui_GameInput.numDevices=0,openfl_ui_GameInput.__deviceList=[],openfl_ui_GameInput.__instances=[],openfl_ui_GameInput.__devices=new haxe_ds_ObjectMap,flixel_input_gamepad_FlxGamepadManager._gameInput=new openfl_ui_GameInput,flixel_input_gamepad_id_LogitechID.ONE=0,flixel_input_gamepad_id_LogitechID.TWO=1,flixel_input_gamepad_id_LogitechID.THREE=2,flixel_input_gamepad_id_LogitechID.FOUR=3,flixel_input_gamepad_id_LogitechID.FIVE=4,flixel_input_gamepad_id_LogitechID.SIX=5,flixel_input_gamepad_id_LogitechID.SEVEN=6,flixel_input_gamepad_id_LogitechID.EIGHT=7,flixel_input_gamepad_id_LogitechID.NINE=8,flixel_input_gamepad_id_LogitechID.TEN=9,flixel_input_gamepad_id_LogitechID.LEFT_STICK_CLICK=10,flixel_input_gamepad_id_LogitechID.RIGHT_STICK_CLICK=11,flixel_input_gamepad_id_LogitechID.DPAD_UP=16,flixel_input_gamepad_id_LogitechID.DPAD_DOWN=17,flixel_input_gamepad_id_LogitechID.DPAD_LEFT=18,flixel_input_gamepad_id_LogitechID.DPAD_RIGHT=19,flixel_input_gamepad_id_LogitechID.LOGITECH=-5,flixel_input_gamepad_id_LogitechID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:24,down:25,left:26,right:27}),flixel_input_gamepad_id_LogitechID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:28,down:29,left:30,right:31}),flixel_input_gamepad_id_MFiID.A=6,flixel_input_gamepad_id_MFiID.B=7,flixel_input_gamepad_id_MFiID.X=8,flixel_input_gamepad_id_MFiID.Y=9,flixel_input_gamepad_id_MFiID.LB=15,flixel_input_gamepad_id_MFiID.RB=16,flixel_input_gamepad_id_MFiID.BACK=10,flixel_input_gamepad_id_MFiID.START=12,flixel_input_gamepad_id_MFiID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_MFiID.RIGHT_STICK_CLICK=14,flixel_input_gamepad_id_MFiID.GUIDE=11,flixel_input_gamepad_id_MFiID.DPAD_UP=17,flixel_input_gamepad_id_MFiID.DPAD_DOWN=18,flixel_input_gamepad_id_MFiID.DPAD_LEFT=19,flixel_input_gamepad_id_MFiID.DPAD_RIGHT=20,flixel_input_gamepad_id_MFiID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:21,down:22,left:23,right:24}),flixel_input_gamepad_id_MFiID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:25,down:26,left:27,right:28}),flixel_input_gamepad_id_MFiID.LEFT_TRIGGER=4,flixel_input_gamepad_id_MFiID.RIGHT_TRIGGER=5,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_ONE=8,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_TWO=9,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_A=10,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_B=11,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_MINUS=12,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_PLUS=13,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_HOME=19,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_Z=14,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_C=15,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_DPAD_UP=4,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_DPAD_DOWN=5,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_DPAD_LEFT=6,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_DPAD_RIGHT=7,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_MINUS=12,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_PLUS=13,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_HOME=19,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_A=10,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_B=11,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_ONE=8,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_TWO=9,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_Y=8,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_X=9,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_B=10,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_A=11,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_L=12,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_R=13,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_ZL=14,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_ZR=15,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_SELECT=16,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_START=17,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_HOME=19,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_ONE=-1,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_TWO=-1,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_DPAD_UP=4,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_DPAD_DOWN=5,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_DPAD_LEFT=6,flixel_input_gamepad_id_MayflashWiiRemoteID.CLASSIC_DPAD_RIGHT=7,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_POINTER_X=2,flixel_input_gamepad_id_MayflashWiiRemoteID.NUNCHUK_POINTER_Y=3,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_DPAD=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:22,down:23,left:24,right:25,threshold:.5,mode:flixel_input_gamepad_FlxAnalogToDigitalMode.ONLY_DIGITAL}),flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:26,down:27,left:28,right:29}),flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:26,down:27,left:28,right:29}),flixel_input_gamepad_id_MayflashWiiRemoteID.LEFT_TRIGGER_FAKE=4,flixel_input_gamepad_id_MayflashWiiRemoteID.RIGHT_TRIGGER_FAKE=5,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_DPAD_UP=22,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_DPAD_DOWN=23,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_DPAD_LEFT=24,flixel_input_gamepad_id_MayflashWiiRemoteID.REMOTE_DPAD_RIGHT=25,flixel_input_gamepad_id_OUYAID.O=6,flixel_input_gamepad_id_OUYAID.U=8,flixel_input_gamepad_id_OUYAID.Y=9,flixel_input_gamepad_id_OUYAID.A=7,flixel_input_gamepad_id_OUYAID.LB=15,flixel_input_gamepad_id_OUYAID.RB=16,flixel_input_gamepad_id_OUYAID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_OUYAID.RIGHT_STICK_CLICK=14,flixel_input_gamepad_id_OUYAID.HOME=16777234,flixel_input_gamepad_id_OUYAID.LEFT_TRIGGER=4,flixel_input_gamepad_id_OUYAID.RIGHT_TRIGGER=5,flixel_input_gamepad_id_OUYAID.DPAD_LEFT=19,flixel_input_gamepad_id_OUYAID.DPAD_RIGHT=20,flixel_input_gamepad_id_OUYAID.DPAD_DOWN=18,flixel_input_gamepad_id_OUYAID.DPAD_UP=17,flixel_input_gamepad_id_OUYAID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:23,down:24,left:25,right:26}),flixel_input_gamepad_id_OUYAID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:27,down:28,left:29,right:30}),flixel_input_gamepad_id_PS4ID.X=6,flixel_input_gamepad_id_PS4ID.CIRCLE=7,flixel_input_gamepad_id_PS4ID.SQUARE=8,flixel_input_gamepad_id_PS4ID.TRIANGLE=9,flixel_input_gamepad_id_PS4ID.PS=11,flixel_input_gamepad_id_PS4ID.OPTIONS=12,flixel_input_gamepad_id_PS4ID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_PS4ID.RIGHT_STICK_CLICK=14,flixel_input_gamepad_id_PS4ID.L1=15,flixel_input_gamepad_id_PS4ID.R1=16,flixel_input_gamepad_id_PS4ID.SHARE=10,flixel_input_gamepad_id_PS4ID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:22,down:23,left:24,right:25}),flixel_input_gamepad_id_PS4ID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:26,down:27,left:28,right:29}),flixel_input_gamepad_id_PS4ID.TOUCHPAD_CLICK=30,flixel_input_gamepad_id_PS4ID.L2=4,flixel_input_gamepad_id_PS4ID.R2=5,flixel_input_gamepad_id_PS4ID.DPAD_UP=17,flixel_input_gamepad_id_PS4ID.DPAD_DOWN=18,flixel_input_gamepad_id_PS4ID.DPAD_LEFT=19,flixel_input_gamepad_id_PS4ID.DPAD_RIGHT=20,flixel_input_gamepad_id_PSVitaID.X=6,flixel_input_gamepad_id_PSVitaID.CIRCLE=7,flixel_input_gamepad_id_PSVitaID.SQUARE=8,flixel_input_gamepad_id_PSVitaID.TRIANGLE=9,flixel_input_gamepad_id_PSVitaID.SELECT=10,flixel_input_gamepad_id_PSVitaID.START=12,flixel_input_gamepad_id_PSVitaID.L=15,flixel_input_gamepad_id_PSVitaID.R=16,flixel_input_gamepad_id_PSVitaID.DPAD_UP=17,flixel_input_gamepad_id_PSVitaID.DPAD_DOWN=18,flixel_input_gamepad_id_PSVitaID.DPAD_LEFT=19,flixel_input_gamepad_id_PSVitaID.DPAD_RIGHT=20,flixel_input_gamepad_id_PSVitaID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:21,down:22,left:23,right:24}),flixel_input_gamepad_id_PSVitaID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:25,down:26,left:27,right:28}),flixel_input_gamepad_id_SwitchJoyconLeftID.ZL=4,flixel_input_gamepad_id_SwitchJoyconLeftID.DOWN=6,flixel_input_gamepad_id_SwitchJoyconLeftID.RIGHT=7,flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT=8,flixel_input_gamepad_id_SwitchJoyconLeftID.UP=9,flixel_input_gamepad_id_SwitchJoyconLeftID.L=10,flixel_input_gamepad_id_SwitchJoyconLeftID.MINUS=12,flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_SwitchJoyconLeftID.SL=15,flixel_input_gamepad_id_SwitchJoyconLeftID.SR=16,flixel_input_gamepad_id_SwitchJoyconLeftID.CAPTURE=21,flixel_input_gamepad_id_SwitchJoyconLeftID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:22,down:23,left:24,right:25}),flixel_input_gamepad_id_SwitchJoyconRightID.ZR=5,flixel_input_gamepad_id_SwitchJoyconRightID.A=6,flixel_input_gamepad_id_SwitchJoyconRightID.X=7,flixel_input_gamepad_id_SwitchJoyconRightID.B=8,flixel_input_gamepad_id_SwitchJoyconRightID.Y=9,flixel_input_gamepad_id_SwitchJoyconRightID.R=10,flixel_input_gamepad_id_SwitchJoyconRightID.HOME=11,flixel_input_gamepad_id_SwitchJoyconRightID.PLUS=12,flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_SwitchJoyconRightID.SL=15,flixel_input_gamepad_id_SwitchJoyconRightID.SR=16,flixel_input_gamepad_id_SwitchJoyconRightID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:22,down:23,left:24,right:25}),flixel_input_gamepad_id_SwitchProID.ZL=4,flixel_input_gamepad_id_SwitchProID.ZR=5,flixel_input_gamepad_id_SwitchProID.B=6,flixel_input_gamepad_id_SwitchProID.A=7,flixel_input_gamepad_id_SwitchProID.Y=8,flixel_input_gamepad_id_SwitchProID.X=9,flixel_input_gamepad_id_SwitchProID.MINUS=10,flixel_input_gamepad_id_SwitchProID.HOME=11,flixel_input_gamepad_id_SwitchProID.PLUS=12,flixel_input_gamepad_id_SwitchProID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_SwitchProID.RIGHT_STICK_CLICK=14,flixel_input_gamepad_id_SwitchProID.L=15,flixel_input_gamepad_id_SwitchProID.R=16,flixel_input_gamepad_id_SwitchProID.DPAD_UP=17,flixel_input_gamepad_id_SwitchProID.DPAD_DOWN=18,flixel_input_gamepad_id_SwitchProID.DPAD_LEFT=19,flixel_input_gamepad_id_SwitchProID.DPAD_RIGHT=20,flixel_input_gamepad_id_SwitchProID.CAPTURE=21,flixel_input_gamepad_id_SwitchProID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:22,down:23,left:24,right:25}),flixel_input_gamepad_id_SwitchProID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:26,down:27,left:28,right:29}),flixel_input_gamepad_id_WiiRemoteID.REMOTE_ONE=9,flixel_input_gamepad_id_WiiRemoteID.REMOTE_TWO=10,flixel_input_gamepad_id_WiiRemoteID.REMOTE_A=11,flixel_input_gamepad_id_WiiRemoteID.REMOTE_B=12,flixel_input_gamepad_id_WiiRemoteID.REMOTE_PLUS=13,flixel_input_gamepad_id_WiiRemoteID.REMOTE_MINUS=14,flixel_input_gamepad_id_WiiRemoteID.REMOTE_HOME=15,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_A=9,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_B=10,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_C=11,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_Z=12,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_ONE=13,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_TWO=14,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_PLUS=15,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_MINUS=16,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_HOME=17,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_DPAD_UP=5,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_DPAD_DOWN=6,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_DPAD_LEFT=7,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_DPAD_RIGHT=8,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_A=9,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_B=10,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_Y=11,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_X=12,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_L=13,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_R=14,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_ZL=15,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_ZR=16,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_START=17,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_SELECT=18,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_HOME=19,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_ONE=20,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_TWO=21,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_DPAD_UP=5,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_DPAD_DOWN=6,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_DPAD_LEFT=7,flixel_input_gamepad_id_WiiRemoteID.CLASSIC_DPAD_RIGHT=8,flixel_input_gamepad_id_WiiRemoteID.REMOTE_TILT_PITCH=2,flixel_input_gamepad_id_WiiRemoteID.REMOTE_TILT_ROLL=3,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_TILT_PITCH=3,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_TILT_ROLL=2,flixel_input_gamepad_id_WiiRemoteID.REMOTE_NULL_AXIS=4,flixel_input_gamepad_id_WiiRemoteID.NUNCHUK_NULL_AXIS=4,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:22,down:23,left:24,right:25,threshold:.5,mode:flixel_input_gamepad_FlxAnalogToDigitalMode.ONLY_DIGITAL}),flixel_input_gamepad_id_WiiRemoteID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:28,down:29,left:30,right:31}),flixel_input_gamepad_id_WiiRemoteID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:32,down:33,left:34,right:35}),flixel_input_gamepad_id_WiiRemoteID.LEFT_TRIGGER_FAKE=4,flixel_input_gamepad_id_WiiRemoteID.RIGHT_TRIGGER_FAKE=5,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD_UP=22,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD_DOWN=23,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD_LEFT=24,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD_RIGHT=25,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD_X=26,flixel_input_gamepad_id_WiiRemoteID.REMOTE_DPAD_Y=27,flixel_input_gamepad_id_XInputID.A=6,flixel_input_gamepad_id_XInputID.B=7,flixel_input_gamepad_id_XInputID.X=8,flixel_input_gamepad_id_XInputID.Y=9,flixel_input_gamepad_id_XInputID.BACK=10,flixel_input_gamepad_id_XInputID.GUIDE=-1,flixel_input_gamepad_id_XInputID.START=12,flixel_input_gamepad_id_XInputID.LEFT_STICK_CLICK=13,flixel_input_gamepad_id_XInputID.RIGHT_STICK_CLICK=14,flixel_input_gamepad_id_XInputID.LB=15,flixel_input_gamepad_id_XInputID.RB=16,flixel_input_gamepad_id_XInputID.DPAD_UP=17,flixel_input_gamepad_id_XInputID.DPAD_DOWN=18,flixel_input_gamepad_id_XInputID.DPAD_LEFT=19,flixel_input_gamepad_id_XInputID.DPAD_RIGHT=20,flixel_input_gamepad_id_XInputID.LEFT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(0,1,{up:21,down:22,left:23,right:24}),flixel_input_gamepad_id_XInputID.RIGHT_ANALOG_STICK=new flixel_input_gamepad_FlxGamepadAnalogStick(2,3,{up:25,down:26,left:27,right:28}),flixel_input_gamepad_id_XInputID.LEFT_TRIGGER=4,flixel_input_gamepad_id_XInputID.RIGHT_TRIGGER=5,flixel_input_keyboard_FlxKey.fromStringMap=function(e){var t=new haxe_ds_StringMap;return t.h.ANY=-2,t.h.A=65,t.h.B=66,t.h.C=67,t.h.D=68,t.h.E=69,t.h.F=70,t.h.G=71,t.h.H=72,t.h.I=73,t.h.J=74,t.h.K=75,t.h.L=76,t.h.M=77,t.h.N=78,t.h.O=79,t.h.P=80,t.h.Q=81,t.h.R=82,t.h.S=83,t.h.T=84,t.h.U=85,t.h.V=86,t.h.W=87,t.h.X=88,t.h.Y=89,t.h.Z=90,t.h.ZERO=48,t.h.ONE=49,t.h.TWO=50,t.h.THREE=51,t.h.FOUR=52,t.h.FIVE=53,t.h.SIX=54,t.h.SEVEN=55,t.h.EIGHT=56,t.h.NINE=57,t.h.PAGEUP=33,t.h.PAGEDOWN=34,t.h.HOME=36,t.h.END=35,t.h.INSERT=45,t.h.ESCAPE=27,t.h.MINUS=189,t.h.PLUS=187,t.h.DELETE=46,t.h.BACKSPACE=8,t.h.LBRACKET=219,t.h.RBRACKET=221,t.h.BACKSLASH=220,t.h.CAPSLOCK=20,t.h.SEMICOLON=186,t.h.QUOTE=222,t.h.ENTER=13,t.h.SHIFT=16,t.h.COMMA=188,t.h.PERIOD=190,t.h.SLASH=191,t.h.GRAVEACCENT=192,t.h.CONTROL=17,t.h.ALT=18,t.h.SPACE=32,t.h.UP=38,t.h.DOWN=40,t.h.LEFT=37,t.h.RIGHT=39,t.h.TAB=9,t.h.PRINTSCREEN=301,t.h.F1=112,t.h.F2=113,t.h.F3=114,t.h.F4=115,t.h.F5=116,t.h.F6=117,t.h.F7=118,t.h.F8=119,t.h.F9=120,t.h.F10=121,t.h.F11=122,t.h.F12=123,t.h.NUMPADZERO=96,t.h.NUMPADONE=97,t.h.NUMPADTWO=98,t.h.NUMPADTHREE=99,t.h.NUMPADFOUR=100,t.h.NUMPADFIVE=101,t.h.NUMPADSIX=102,t.h.NUMPADSEVEN=103,t.h.NUMPADEIGHT=104,t.h.NUMPADNINE=105,t.h.NUMPADMINUS=109,t.h.NUMPADPLUS=107,t.h.NUMPADPERIOD=110,t.h.NUMPADMULTIPLY=106,t}(),flixel_input_keyboard_FlxKey.toStringMap=function(e){var t=new haxe_ds_IntMap;return t.h[-2]="ANY",t.h[65]="A",t.h[66]="B",t.h[67]="C",t.h[68]="D",t.h[69]="E",t.h[70]="F",t.h[71]="G",t.h[72]="H",t.h[73]="I",t.h[74]="J",t.h[75]="K",t.h[76]="L",t.h[77]="M",t.h[78]="N",t.h[79]="O",t.h[80]="P",t.h[81]="Q",t.h[82]="R",t.h[83]="S",t.h[84]="T",t.h[85]="U",t.h[86]="V",t.h[87]="W",t.h[88]="X",t.h[89]="Y",t.h[90]="Z",t.h[48]="ZERO",t.h[49]="ONE",t.h[50]="TWO",t.h[51]="THREE",t.h[52]="FOUR",t.h[53]="FIVE",t.h[54]="SIX",t.h[55]="SEVEN",t.h[56]="EIGHT",t.h[57]="NINE",t.h[33]="PAGEUP",t.h[34]="PAGEDOWN",t.h[36]="HOME",t.h[35]="END",t.h[45]="INSERT",t.h[27]="ESCAPE",t.h[189]="MINUS",t.h[187]="PLUS",t.h[46]="DELETE",t.h[8]="BACKSPACE",t.h[219]="LBRACKET",t.h[221]="RBRACKET",t.h[220]="BACKSLASH",t.h[20]="CAPSLOCK",t.h[186]="SEMICOLON",t.h[222]="QUOTE",t.h[13]="ENTER",t.h[16]="SHIFT",t.h[188]="COMMA",t.h[190]="PERIOD",t.h[191]="SLASH",t.h[192]="GRAVEACCENT",t.h[17]="CONTROL",t.h[18]="ALT",t.h[32]="SPACE",t.h[38]="UP",t.h[40]="DOWN",t.h[37]="LEFT",t.h[39]="RIGHT",t.h[9]="TAB",t.h[301]="PRINTSCREEN",t.h[112]="F1",t.h[113]="F2",t.h[114]="F3",t.h[115]="F4",t.h[116]="F5",t.h[117]="F6",t.h[118]="F7",t.h[119]="F8",t.h[120]="F9",t.h[121]="F10",t.h[122]="F11",t.h[123]="F12",t.h[96]="NUMPADZERO",t.h[97]="NUMPADONE",t.h[98]="NUMPADTWO",t.h[99]="NUMPADTHREE",t.h[100]="NUMPADFOUR",t.h[101]="NUMPADFIVE",t.h[102]="NUMPADSIX",t.h[103]="NUMPADSEVEN",t.h[104]="NUMPADEIGHT",t.h[105]="NUMPADNINE",t.h[109]="NUMPADMINUS",t.h[107]="NUMPADPLUS",t.h[110]="NUMPADPERIOD",t.h[106]="NUMPADMULTIPLY",t}(),flixel_input_keyboard_FlxKey.ANY=-2,flixel_input_keyboard_FlxKey.NONE=-1,flixel_input_keyboard_FlxKey.A=65,flixel_input_keyboard_FlxKey.B=66,flixel_input_keyboard_FlxKey.C=67,flixel_input_keyboard_FlxKey.D=68,flixel_input_keyboard_FlxKey.E=69,flixel_input_keyboard_FlxKey.F=70,flixel_input_keyboard_FlxKey.G=71,flixel_input_keyboard_FlxKey.H=72,flixel_input_keyboard_FlxKey.I=73,flixel_input_keyboard_FlxKey.J=74,flixel_input_keyboard_FlxKey.K=75,flixel_input_keyboard_FlxKey.L=76,flixel_input_keyboard_FlxKey.M=77,flixel_input_keyboard_FlxKey.N=78,flixel_input_keyboard_FlxKey.O=79,flixel_input_keyboard_FlxKey.P=80,flixel_input_keyboard_FlxKey.Q=81,flixel_input_keyboard_FlxKey.R=82,flixel_input_keyboard_FlxKey.S=83,flixel_input_keyboard_FlxKey.T=84,flixel_input_keyboard_FlxKey.U=85,flixel_input_keyboard_FlxKey.V=86,flixel_input_keyboard_FlxKey.W=87,flixel_input_keyboard_FlxKey.X=88,flixel_input_keyboard_FlxKey.Y=89,flixel_input_keyboard_FlxKey.Z=90,flixel_input_keyboard_FlxKey.ZERO=48,flixel_input_keyboard_FlxKey.ONE=49,flixel_input_keyboard_FlxKey.TWO=50,flixel_input_keyboard_FlxKey.THREE=51,flixel_input_keyboard_FlxKey.FOUR=52,flixel_input_keyboard_FlxKey.FIVE=53,flixel_input_keyboard_FlxKey.SIX=54,flixel_input_keyboard_FlxKey.SEVEN=55,flixel_input_keyboard_FlxKey.EIGHT=56,flixel_input_keyboard_FlxKey.NINE=57,flixel_input_keyboard_FlxKey.PAGEUP=33,flixel_input_keyboard_FlxKey.PAGEDOWN=34,flixel_input_keyboard_FlxKey.HOME=36,flixel_input_keyboard_FlxKey.END=35,flixel_input_keyboard_FlxKey.INSERT=45,flixel_input_keyboard_FlxKey.ESCAPE=27,flixel_input_keyboard_FlxKey.MINUS=189,flixel_input_keyboard_FlxKey.PLUS=187,flixel_input_keyboard_FlxKey.DELETE=46,flixel_input_keyboard_FlxKey.BACKSPACE=8,flixel_input_keyboard_FlxKey.LBRACKET=219,flixel_input_keyboard_FlxKey.RBRACKET=221,flixel_input_keyboard_FlxKey.BACKSLASH=220,flixel_input_keyboard_FlxKey.CAPSLOCK=20,flixel_input_keyboard_FlxKey.SEMICOLON=186,flixel_input_keyboard_FlxKey.QUOTE=222,flixel_input_keyboard_FlxKey.ENTER=13,flixel_input_keyboard_FlxKey.SHIFT=16,flixel_input_keyboard_FlxKey.COMMA=188,flixel_input_keyboard_FlxKey.PERIOD=190,flixel_input_keyboard_FlxKey.SLASH=191,flixel_input_keyboard_FlxKey.GRAVEACCENT=192,flixel_input_keyboard_FlxKey.CONTROL=17,flixel_input_keyboard_FlxKey.ALT=18,flixel_input_keyboard_FlxKey.SPACE=32,flixel_input_keyboard_FlxKey.UP=38,flixel_input_keyboard_FlxKey.DOWN=40,flixel_input_keyboard_FlxKey.LEFT=37,flixel_input_keyboard_FlxKey.RIGHT=39,flixel_input_keyboard_FlxKey.TAB=9,flixel_input_keyboard_FlxKey.PRINTSCREEN=301,flixel_input_keyboard_FlxKey.F1=112,flixel_input_keyboard_FlxKey.F2=113,flixel_input_keyboard_FlxKey.F3=114,flixel_input_keyboard_FlxKey.F4=115,flixel_input_keyboard_FlxKey.F5=116,flixel_input_keyboard_FlxKey.F6=117,flixel_input_keyboard_FlxKey.F7=118,flixel_input_keyboard_FlxKey.F8=119,flixel_input_keyboard_FlxKey.F9=120,flixel_input_keyboard_FlxKey.F10=121,flixel_input_keyboard_FlxKey.F11=122,flixel_input_keyboard_FlxKey.F12=123,flixel_input_keyboard_FlxKey.NUMPADZERO=96,flixel_input_keyboard_FlxKey.NUMPADONE=97,flixel_input_keyboard_FlxKey.NUMPADTWO=98,flixel_input_keyboard_FlxKey.NUMPADTHREE=99,flixel_input_keyboard_FlxKey.NUMPADFOUR=100,flixel_input_keyboard_FlxKey.NUMPADFIVE=101,flixel_input_keyboard_FlxKey.NUMPADSIX=102,flixel_input_keyboard_FlxKey.NUMPADSEVEN=103,flixel_input_keyboard_FlxKey.NUMPADEIGHT=104,flixel_input_keyboard_FlxKey.NUMPADNINE=105,flixel_input_keyboard_FlxKey.NUMPADMINUS=109,flixel_input_keyboard_FlxKey.NUMPADPLUS=107,flixel_input_keyboard_FlxKey.NUMPADPERIOD=110,flixel_input_keyboard_FlxKey.NUMPADMULTIPLY=106,flixel_input_mouse__$FlxMouse_GraphicCursor.resourceType="image/png",flixel_input_mouse__$FlxMouse_GraphicCursor.resourceName="__ASSET__:bitmap_flixel_input_mouse__FlxMouse_GraphicCursor",flixel_input_touch_FlxTouchManager.maxTouchPoints=0,flixel_math_FlxMath.MIN_VALUE_FLOAT=1e-16,flixel_math_FlxMath.MAX_VALUE_FLOAT=1.79e308,flixel_math_FlxMath.MIN_VALUE_INT=-2147483647,flixel_math_FlxMath.MAX_VALUE_INT=2147483647,flixel_math_FlxMath.SQUARE_ROOT_OF_TWO=1.41421356237,flixel_math_FlxMath.EPSILON=1e-7,flixel_math_FlxVector.EPSILON=1e-7,flixel_math_FlxVector.EPSILON_SQUARED=9.999999999999998e-15,flixel_math_FlxVector._vector1=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_math_FlxVector._vector2=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_math_FlxVector._vector3=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_system_GraphicLogo.resourceType="image/png",flixel_system_GraphicLogo.resourceName="__ASSET__:bitmap_flixel_system_GraphicLogo",flixel_system_GraphicVirtualInput.resourceType="image/png",flixel_system_GraphicVirtualInput.resourceName="__ASSET__:bitmap_flixel_system_GraphicVirtualInput",openfl_utils_ByteArrayData.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils_ByteArrayData.defaultObjectEncoding=10,openfl_utils_ByteArrayData.__defaultEndian=null,flixel_system_VirtualInputData.resourceName="__ASSET__:file_flixel_system_VirtualInputData",flixel_system_FlxAssets.FONT_DEFAULT="Nokia Cellphone FC Small",flixel_system_FlxAssets.FONT_DEBUGGER="Monsterrat",flixel_system_FlxBasePreloader.LOCAL="localhost",flixel_system_FlxLinkedList._NUM_CACHED_FLX_LIST=0,flixel_system__$FlxPreloader_GraphicLogoLight.resourceType="image/png",flixel_system__$FlxPreloader_GraphicLogoLight.resourceName="__ASSET__:bitmap_flixel_system__FlxPreloader_GraphicLogoLight",flixel_system__$FlxPreloader_GraphicLogoCorners.resourceType="image/png",flixel_system__$FlxPreloader_GraphicLogoCorners.resourceName="__ASSET__:bitmap_flixel_system__FlxPreloader_GraphicLogoCorners",flixel_system_FlxQuadTree.A_LIST=0,flixel_system_FlxQuadTree.B_LIST=1,flixel_system_FlxQuadTree._NUM_CACHED_QUAD_TREES=0,flixel_system_FlxSplash.muted=!0,flixel_system_debug__$FlxDebugger_GraphicFlixel.resourceType="image/png",flixel_system_debug__$FlxDebugger_GraphicFlixel.resourceName="__ASSET__:bitmap_flixel_system_debug__FlxDebugger_GraphicFlixel",flixel_system_debug__$FlxDebugger_GraphicDrawDebug.resourceType="image/png",flixel_system_debug__$FlxDebugger_GraphicDrawDebug.resourceName="__ASSET__:bitmap_flixel_system_debug__FlxDebugger_GraphicDrawDebug",flixel_system_debug_GraphicLog.resourceType="image/png",flixel_system_debug_GraphicLog.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicLog",flixel_system_debug_GraphicStats.resourceType="image/png",flixel_system_debug_GraphicStats.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicStats",flixel_system_debug_GraphicWatch.resourceType="image/png",flixel_system_debug_GraphicWatch.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicWatch",flixel_system_debug_GraphicBitmapLog.resourceType="image/png",flixel_system_debug_GraphicBitmapLog.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicBitmapLog",flixel_system_debug_GraphicConsole.resourceType="image/png",flixel_system_debug_GraphicConsole.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicConsole",flixel_system_debug_GraphicArrowLeft.resourceType="image/png",flixel_system_debug_GraphicArrowLeft.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicArrowLeft",flixel_system_debug_GraphicArrowRight.resourceType="image/png",flixel_system_debug_GraphicArrowRight.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicArrowRight",flixel_system_debug_GraphicCloseButton.resourceType="image/png",flixel_system_debug_GraphicCloseButton.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicCloseButton",flixel_system_debug_GraphicInteractive.resourceType="image/png",flixel_system_debug_GraphicInteractive.resourceName="__ASSET__:bitmap_flixel_system_debug_GraphicInteractive",flixel_system_debug_Tooltip._tooltips=[],flixel_system_debug_TooltipOverlay.BG_COLOR=-12961222,flixel_system_debug_TooltipOverlay.TEXT_ALPHA=.8,flixel_system_debug_TooltipOverlay.MARGIN_X=10,flixel_system_debug_TooltipOverlay.MARGIN_Y=10,flixel_system_debug__$Window_GraphicWindowHandle.resourceType="image/png",flixel_system_debug__$Window_GraphicWindowHandle.resourceName="__ASSET__:bitmap_flixel_system_debug__Window_GraphicWindowHandle",flixel_system_debug_Window.BG_COLOR=-580952225,flixel_system_debug_Window.HEADER_COLOR=-1157627904,flixel_system_debug_Window.HEADER_ALPHA=.8,flixel_system_debug_Window.HEADER_HEIGHT=15,flixel_system_debug_Window.WINDOW_AMOUNT=0,flixel_system_debug_completion_CompletionListEntry.WIDTH=150,flixel_system_debug_completion_CompletionListEntry.HEIGHT=20,flixel_system_debug_completion_CompletionListEntry.COLOR_NORMAL=-10526881,flixel_system_debug_completion_CompletionListEntry.COLOR_HIGHLIGHT=-9605779,flixel_system_debug_completion_CompletionListEntry.GUTTER=4,flixel_system_debug_completion_CompletionListScrollBar.BG_COLOR=-12303292,flixel_system_debug_completion_CompletionListScrollBar.HANDLE_COLOR=-14540254,flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.resourceType="image/png",flixel_system_debug_interaction_tools__$Eraser_GraphicEraserTool.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Eraser_GraphicEraserTool",flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.resourceType="image/png",flixel_system_debug_interaction_tools__$Mover_GraphicMoverTool.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Mover_GraphicMoverTool",flixel_system_debug_interaction_tools_GraphicCursorCross.resourceType="image/png",flixel_system_debug_interaction_tools_GraphicCursorCross.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools_GraphicCursorCross",flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.resourceType="image/png",flixel_system_debug_interaction_tools__$Transform_GraphicTransformTool.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformTool",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.resourceType="image/png",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorDefault.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorDefault",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.resourceType="image/png",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleY.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorScaleY",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.resourceType="image/png",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleX.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorScaleX",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.resourceType="image/png",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorScaleXY.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorScaleXY",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.resourceType="image/png",flixel_system_debug_interaction_tools__$Transform_GraphicTransformCursorRotate.resourceName="__ASSET__:bitmap_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorRotate",flixel_system_debug_interaction_tools_Transform.OUTLINE_PADDING=5,flixel_system_debug_interaction_tools_Transform.MARKER_SIZE=3,flixel_system_debug_interaction_tools_Transform.MARKER_INTERACTION_DISTANCE=5,flixel_system_debug_interaction_tools_Transform.RESIZE_STEP=10,flixel_system_debug_interaction_tools_Transform.CURSOR_ROTATE="transformRotate",flixel_system_debug_interaction_tools_Transform.CURSOR_SCALE_X="transformScaleX",flixel_system_debug_interaction_tools_Transform.CURSOR_SCALE_Y="transformScaleY",flixel_system_debug_interaction_tools_Transform.CURSOR_SCALE_XY="transformScaleXY",flixel_system_debug_interaction_tools_Transform.MARKER_ROTATE=0,flixel_system_debug_interaction_tools_Transform.MARKER_SCALE_X=1,flixel_system_debug_interaction_tools_Transform.MARKER_SCALE_XY=2,flixel_system_debug_interaction_tools_Transform.MARKER_SCALE_Y=3,flixel_system_debug_log_LogStyle.NORMAL=new flixel_system_debug_log_LogStyle,flixel_system_debug_log_LogStyle.WARNING=new flixel_system_debug_log_LogStyle("[WARNING] ","D9F85C",12,!1,!1,!1,"flixel/sounds/beep",!0),flixel_system_debug_log_LogStyle.ERROR=new flixel_system_debug_log_LogStyle("[ERROR] ","FF8888",12,!1,!1,!1,"flixel/sounds/beep",!0);flixel_system_debug_log_LogStyle.NOTICE=new flixel_system_debug_log_LogStyle("[NOTICE] ","5CF878",12,!1),flixel_system_debug_log_LogStyle.CONSOLE=new flixel_system_debug_log_LogStyle("> ","5A96FA",12,!1),flixel_system_debug_stats__$Stats_GraphicMinimizeButton.resourceType="image/png",flixel_system_debug_stats__$Stats_GraphicMinimizeButton.resourceName="__ASSET__:bitmap_flixel_system_debug_stats__Stats_GraphicMinimizeButton",flixel_system_debug_stats__$Stats_GraphicMaximizeButton.resourceType="image/png",flixel_system_debug_stats__$Stats_GraphicMaximizeButton.resourceName="__ASSET__:bitmap_flixel_system_debug_stats__Stats_GraphicMaximizeButton",flixel_text_FlxTextAlign.LEFT="left",flixel_text_FlxTextAlign.CENTER="center",flixel_text_FlxTextAlign.RIGHT="right",flixel_text_FlxTextAlign.JUSTIFY="justify",flixel_tile_FlxBaseTilemap.offsetAutoTile=[0,0,0,0,2,2,0,3,0,0,0,0,0,0,0,0,11,11,0,0,13,13,0,14,0,0,0,0,18,18,0,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,51,0,0,53,53,0,54,0,0,0,0,0,0,0,0,62,62,0,0,64,64,0,65,0,0,0,0,69,69,0,70,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,86,86,0,0,88,88,0,89,0,0,0,0,93,93,0,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,159,0,0,0,162,0,163,0,0,0,0,0,0,0,0,0,172,0,0,0,175,0,176,0,0,0,0,0,181,0,182,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,199,0,0,0,202,0,203,0,0,0,0,0,208,0,209],flixel_tweens_FlxEase.PI2=Math.PI/2,flixel_tweens_FlxEase.EL=2*Math.PI/.45,flixel_tweens_FlxEase.B1=.36363636363636365,flixel_tweens_FlxEase.B2=.7272727272727273,flixel_tweens_FlxEase.B3=.5454545454545454,flixel_tweens_FlxEase.B4=.9090909090909091,flixel_tweens_FlxEase.B5=.8181818181818182,flixel_tweens_FlxEase.B6=.9545454545454546,flixel_tweens_FlxEase.ELASTIC_AMPLITUDE=1,flixel_tweens_FlxEase.ELASTIC_PERIOD=.4,flixel_tweens_FlxTween.PERSIST=1,flixel_tweens_FlxTween.LOOPING=2,flixel_tweens_FlxTween.PINGPONG=4,flixel_tweens_FlxTween.ONESHOT=8,flixel_tweens_FlxTween.BACKWARD=16,flixel_ui_FlxButton.NORMAL=0,flixel_ui_FlxButton.HIGHLIGHT=1,flixel_ui_FlxButton.PRESSED=2,flixel_util_FlxBitmapDataPool.maxLength=8,flixel_util_FlxBitmapDataPool.$length=0,flixel_util_FlxBitmapDataPool._head=null,flixel_util_FlxBitmapDataPool._tail=null,flixel_util_FlxBitmapDataPool._rect=new openfl_geom_Rectangle,flixel_util_FlxBitmapDataUtil.matrix=new flixel_math_FlxMatrix,flixel_util_FlxCollision.pointA=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_util_FlxCollision.pointB=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_util_FlxCollision.centerA=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_util_FlxCollision.centerB=function(e){return new flixel_math_FlxPoint(0,0)}(),flixel_util_FlxCollision.matrixA=new flixel_math_FlxMatrix,flixel_util_FlxCollision.matrixB=new flixel_math_FlxMatrix,flixel_util_FlxCollision.testMatrix=new flixel_math_FlxMatrix,flixel_util_FlxCollision.boundsA=new flixel_math_FlxRect,flixel_util_FlxCollision.boundsB=new flixel_math_FlxRect,flixel_util_FlxCollision.intersect=new flixel_math_FlxRect,flixel_util_FlxCollision.flashRect=new openfl_geom_Rectangle,flixel_util_FlxColor.TRANSPARENT=0,flixel_util_FlxColor.WHITE=-1,flixel_util_FlxColor.GRAY=-8355712,flixel_util_FlxColor.BLACK=-16777216,flixel_util_FlxColor.GREEN=-16744448,flixel_util_FlxColor.LIME=-16711936,flixel_util_FlxColor.YELLOW=-256,flixel_util_FlxColor.ORANGE=-23296,flixel_util_FlxColor.RED=-65536,flixel_util_FlxColor.PURPLE=-8388480,flixel_util_FlxColor.BLUE=-16776961,flixel_util_FlxColor.BROWN=-7650029,flixel_util_FlxColor.PINK=-16181,flixel_util_FlxColor.MAGENTA=-65281,flixel_util_FlxColor.CYAN=-16711681,flixel_util_FlxColor.colorLookup=function(e){var t=new haxe_ds_StringMap;return t.h.TRANSPARENT=0,t.h.WHITE=-1,t.h.GRAY=-8355712,t.h.BLACK=-16777216,t.h.GREEN=-16744448,t.h.LIME=-16711936,t.h.YELLOW=-256,t.h.ORANGE=-23296,t.h.RED=-65536,t.h.PURPLE=-8388480,t.h.BLUE=-16776961,t.h.BROWN=-7650029,t.h.PINK=-16181,t.h.MAGENTA=-65281,t.h.CYAN=-16711681,t}(),flixel_util_FlxColor.COLOR_REGEX=new EReg("^(0x|#)(([A-F0-9]{2}){3,4})$","i"),flixel_util_FlxPath.FORWARD=0,flixel_util_FlxPath.BACKWARD=1,flixel_util_FlxPath.LOOP_FORWARD=16,flixel_util_FlxPath.LOOP_BACKWARD=256,flixel_util_FlxPath.YOYO=4096,flixel_util_FlxPath.HORIZONTAL_ONLY=65536,flixel_util_FlxPath.VERTICAL_ONLY=1048576,flixel_util_FlxPath._point=function(e){var t=flixel_math_FlxPoint._pool.get().set(0,0);return t._inPool=!1,t}(),flixel_util_FlxSort.ASCENDING=-1,flixel_util_FlxSort.DESCENDING=1,flixel_util_FlxSpriteUtil.flashGfxSprite=new openfl_display_Sprite,flixel_util_FlxSpriteUtil.flashGfx=flixel_util_FlxSpriteUtil.flashGfxSprite.get_graphics(),flixel_util_LabelValuePair._pool=new flixel_util_FlxPool_$flixel_$util_$LabelValuePair(flixel_util_LabelValuePair),haxe_Serializer.USE_CACHE=!1,haxe_Serializer.USE_ENUM_INDEX=!1,haxe_Serializer.BASE64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:",haxe_Serializer.BASE64_CODES=null,haxe_Unserializer.DEFAULT_RESOLVER=new haxe__$Unserializer_DefaultResolver,haxe_Unserializer.BASE64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:",haxe_Unserializer.CODES=null,haxe_crypto_Base64.CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",haxe_crypto_Base64.BYTES=haxe_io_Bytes.ofString(haxe_crypto_Base64.CHARS),haxe_io_FPHelper.i64tmp=function(e){return new haxe__$Int64__$_$_$Int64(0,0)}(),haxe_io_FPHelper.helper=new DataView(new ArrayBuffer(8)),haxe_xml_Parser.escapes=function(e){var t=new haxe_ds_StringMap;return t.h.lt="<",t.h.gt=">",t.h.amp="&",t.h.quot='"',t.h.apos="'",t}(),haxe_zip_InflateImpl.LEN_EXTRA_BITS_TBL=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,-1,-1],haxe_zip_InflateImpl.LEN_BASE_VAL_TBL=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],haxe_zip_InflateImpl.DIST_EXTRA_BITS_TBL=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,-1,-1],haxe_zip_InflateImpl.DIST_BASE_VAL_TBL=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],haxe_zip_InflateImpl.CODE_LENGTHS_POS=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],haxe_zip_InflateImpl.FIXED_HUFFMAN=null,hscript_Parser.p1=0,hscript_Parser.tokenMin=0,hscript_Parser.tokenMax=0,io_newgrounds_NGLite.onCoreReady=new io_newgrounds_utils_Dispatcher,io_newgrounds_NG.onCoreReady=new io_newgrounds_utils_Dispatcher,io_newgrounds_NG.urlParser=new EReg("^(?:http[s]?://)?([^:/\\s]+)(:[0-9]+)?((?:/\\w+)*/)([\\w\\-\\.]+[^#?\\s]+)([^#\\s]*)?(#[\\w\\-]+)?$","i"),io_newgrounds_objects_Medal.EASY=1,io_newgrounds_objects_Medal.MODERATE=2,io_newgrounds_objects_Medal.CHALLENGING=3,io_newgrounds_objects_Medal.DIFFICULT=4,io_newgrounds_objects_Medal.BRUTAL=5,io_newgrounds_utils_AsyncHttp.PATH="https://newgrounds.io/gateway_v3.php",lime__$internal_backend_html5_HTML5HTTPRequest.OPTION_REVOKE_URL=1,lime__$internal_backend_html5_HTML5HTTPRequest.activeRequests=0,lime__$internal_backend_html5_HTML5HTTPRequest.requestLimit=17,lime__$internal_backend_html5_HTML5HTTPRequest.requestQueue=new haxe_ds_List,lime__$internal_backend_html5_HTML5Window.dummyCharacter="",lime__$internal_backend_html5_HTML5Window.windowID=0,lime__$internal_format_Base64.DICTIONARY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lime__$internal_format_Base64.EXTENDED_DICTIONARY=function(e){for(var t=[],i=0,l=lime__$internal_format_Base64.DICTIONARY;i<l.length;){var n=l[i];++i;for(var s=0,a=lime__$internal_format_Base64.DICTIONARY;s<a.length;){var r=a[s];++s,t.push(n+r)}}return t}(),lime__$internal_graphics_StackBlur.MUL_TABLE=[1,171,205,293,57,373,79,137,241,27,391,357,41,19,283,265,497,469,443,421,25,191,365,349,335,161,155,149,9,278,269,261,505,245,475,231,449,437,213,415,405,395,193,377,369,361,353,345,169,331,325,319,313,307,301,37,145,285,281,69,271,267,263,259,509,501,493,243,479,118,465,459,113,446,55,435,429,423,209,413,51,403,199,393,97,3,379,375,371,367,363,359,355,351,347,43,85,337,333,165,327,323,5,317,157,311,77,305,303,75,297,294,73,289,287,71,141,279,277,275,68,135,67,133,33,262,260,129,511,507,503,499,495,491,61,121,481,477,237,235,467,232,115,457,227,451,7,445,221,439,218,433,215,427,425,211,419,417,207,411,409,203,202,401,399,396,197,49,389,387,385,383,95,189,47,187,93,185,23,183,91,181,45,179,89,177,11,175,87,173,345,343,341,339,337,21,167,83,331,329,327,163,81,323,321,319,159,79,315,313,39,155,309,307,153,305,303,151,75,299,149,37,295,147,73,291,145,289,287,143,285,71,141,281,35,279,139,69,275,137,273,17,271,135,269,267,133,265,33,263,131,261,130,259,129,257,1],lime__$internal_graphics_StackBlur.SHG_TABLE=[0,9,10,11,9,12,10,11,12,9,13,13,10,9,13,13,14,14,14,14,10,13,14,14,14,13,13,13,9,14,14,14,15,14,15,14,15,15,14,15,15,15,14,15,15,15,15,15,14,15,15,15,15,15,15,12,14,15,15,13,15,15,15,15,16,16,16,15,16,14,16,16,14,16,13,16,16,16,15,16,13,16,15,16,14,9,16,16,16,16,16,16,16,16,16,13,14,16,16,15,16,16,10,16,15,16,14,16,16,14,16,16,14,16,16,14,15,16,16,16,14,15,14,15,13,16,16,15,17,17,17,17,17,17,14,15,17,17,16,16,17,16,15,17,16,17,11,17,16,17,16,17,16,17,17,16,17,17,16,17,17,16,16,17,17,17,16,14,17,17,17,17,15,16,14,16,15,16,13,16,15,16,14,16,15,16,12,16,15,16,17,17,17,17,17,13,16,15,17,17,17,16,15,17,17,17,16,15,17,17,14,16,17,17,16,17,17,16,15,17,16,14,17,16,15,17,16,17,17,16,17,15,16,17,14,17,16,15,17,16,17,13,17,16,17,17,16,17,14,17,16,17,16,17,16,17,9],lime_graphics_cairo_CairoFTFontFace.FT_LOAD_FORCE_AUTOHINT=32,lime_graphics_opengl_GL.DEPTH_BUFFER_BIT=256,lime_graphics_opengl_GL.STENCIL_BUFFER_BIT=1024,lime_graphics_opengl_GL.COLOR_BUFFER_BIT=16384,lime_graphics_opengl_GL.POINTS=0,lime_graphics_opengl_GL.LINES=1,lime_graphics_opengl_GL.LINE_LOOP=2,lime_graphics_opengl_GL.LINE_STRIP=3,lime_graphics_opengl_GL.TRIANGLES=4,lime_graphics_opengl_GL.TRIANGLE_STRIP=5,lime_graphics_opengl_GL.TRIANGLE_FAN=6,lime_graphics_opengl_GL.ZERO=0,lime_graphics_opengl_GL.ONE=1,lime_graphics_opengl_GL.SRC_COLOR=768,lime_graphics_opengl_GL.ONE_MINUS_SRC_COLOR=769,lime_graphics_opengl_GL.SRC_ALPHA=770,lime_graphics_opengl_GL.ONE_MINUS_SRC_ALPHA=771,lime_graphics_opengl_GL.DST_ALPHA=772,lime_graphics_opengl_GL.ONE_MINUS_DST_ALPHA=773,lime_graphics_opengl_GL.DST_COLOR=774,lime_graphics_opengl_GL.ONE_MINUS_DST_COLOR=775,lime_graphics_opengl_GL.SRC_ALPHA_SATURATE=776,lime_graphics_opengl_GL.FUNC_ADD=32774,lime_graphics_opengl_GL.BLEND_EQUATION=32777,lime_graphics_opengl_GL.BLEND_EQUATION_RGB=32777,lime_graphics_opengl_GL.BLEND_EQUATION_ALPHA=34877,lime_graphics_opengl_GL.FUNC_SUBTRACT=32778,lime_graphics_opengl_GL.FUNC_REVERSE_SUBTRACT=32779,lime_graphics_opengl_GL.BLEND_DST_RGB=32968,lime_graphics_opengl_GL.BLEND_SRC_RGB=32969,lime_graphics_opengl_GL.BLEND_DST_ALPHA=32970,lime_graphics_opengl_GL.BLEND_SRC_ALPHA=32971,lime_graphics_opengl_GL.CONSTANT_COLOR=32769,lime_graphics_opengl_GL.ONE_MINUS_CONSTANT_COLOR=32770,lime_graphics_opengl_GL.CONSTANT_ALPHA=32771,lime_graphics_opengl_GL.ONE_MINUS_CONSTANT_ALPHA=32772,lime_graphics_opengl_GL.BLEND_COLOR=32773,lime_graphics_opengl_GL.ARRAY_BUFFER=34962,lime_graphics_opengl_GL.ELEMENT_ARRAY_BUFFER=34963,lime_graphics_opengl_GL.ARRAY_BUFFER_BINDING=34964,lime_graphics_opengl_GL.ELEMENT_ARRAY_BUFFER_BINDING=34965,lime_graphics_opengl_GL.STREAM_DRAW=35040,lime_graphics_opengl_GL.STATIC_DRAW=35044,lime_graphics_opengl_GL.DYNAMIC_DRAW=35048,lime_graphics_opengl_GL.BUFFER_SIZE=34660,lime_graphics_opengl_GL.BUFFER_USAGE=34661,lime_graphics_opengl_GL.CURRENT_VERTEX_ATTRIB=34342,lime_graphics_opengl_GL.FRONT=1028,lime_graphics_opengl_GL.BACK=1029,lime_graphics_opengl_GL.FRONT_AND_BACK=1032,lime_graphics_opengl_GL.CULL_FACE=2884,lime_graphics_opengl_GL.BLEND=3042,lime_graphics_opengl_GL.DITHER=3024,lime_graphics_opengl_GL.STENCIL_TEST=2960,lime_graphics_opengl_GL.DEPTH_TEST=2929,lime_graphics_opengl_GL.SCISSOR_TEST=3089,lime_graphics_opengl_GL.POLYGON_OFFSET_FILL=32823,lime_graphics_opengl_GL.SAMPLE_ALPHA_TO_COVERAGE=32926,lime_graphics_opengl_GL.SAMPLE_COVERAGE=32928,lime_graphics_opengl_GL.NO_ERROR=0,lime_graphics_opengl_GL.INVALID_ENUM=1280,lime_graphics_opengl_GL.INVALID_VALUE=1281,lime_graphics_opengl_GL.INVALID_OPERATION=1282,lime_graphics_opengl_GL.OUT_OF_MEMORY=1285,lime_graphics_opengl_GL.CW=2304,lime_graphics_opengl_GL.CCW=2305,lime_graphics_opengl_GL.LINE_WIDTH=2849,lime_graphics_opengl_GL.ALIASED_POINT_SIZE_RANGE=33901,lime_graphics_opengl_GL.ALIASED_LINE_WIDTH_RANGE=33902,lime_graphics_opengl_GL.CULL_FACE_MODE=2885,lime_graphics_opengl_GL.FRONT_FACE=2886,lime_graphics_opengl_GL.DEPTH_RANGE=2928,lime_graphics_opengl_GL.DEPTH_WRITEMASK=2930,lime_graphics_opengl_GL.DEPTH_CLEAR_VALUE=2931,lime_graphics_opengl_GL.DEPTH_FUNC=2932,lime_graphics_opengl_GL.STENCIL_CLEAR_VALUE=2961,lime_graphics_opengl_GL.STENCIL_FUNC=2962,lime_graphics_opengl_GL.STENCIL_FAIL=2964,lime_graphics_opengl_GL.STENCIL_PASS_DEPTH_FAIL=2965,lime_graphics_opengl_GL.STENCIL_PASS_DEPTH_PASS=2966,lime_graphics_opengl_GL.STENCIL_REF=2967,lime_graphics_opengl_GL.STENCIL_VALUE_MASK=2963,lime_graphics_opengl_GL.STENCIL_WRITEMASK=2968,lime_graphics_opengl_GL.STENCIL_BACK_FUNC=34816,lime_graphics_opengl_GL.STENCIL_BACK_FAIL=34817,lime_graphics_opengl_GL.STENCIL_BACK_PASS_DEPTH_FAIL=34818,lime_graphics_opengl_GL.STENCIL_BACK_PASS_DEPTH_PASS=34819,lime_graphics_opengl_GL.STENCIL_BACK_REF=36003,lime_graphics_opengl_GL.STENCIL_BACK_VALUE_MASK=36004,lime_graphics_opengl_GL.STENCIL_BACK_WRITEMASK=36005,lime_graphics_opengl_GL.VIEWPORT=2978,lime_graphics_opengl_GL.SCISSOR_BOX=3088,lime_graphics_opengl_GL.COLOR_CLEAR_VALUE=3106,lime_graphics_opengl_GL.COLOR_WRITEMASK=3107,lime_graphics_opengl_GL.UNPACK_ALIGNMENT=3317,lime_graphics_opengl_GL.PACK_ALIGNMENT=3333,lime_graphics_opengl_GL.MAX_TEXTURE_SIZE=3379,lime_graphics_opengl_GL.MAX_VIEWPORT_DIMS=3386,lime_graphics_opengl_GL.SUBPIXEL_BITS=3408,lime_graphics_opengl_GL.RED_BITS=3410,lime_graphics_opengl_GL.GREEN_BITS=3411,lime_graphics_opengl_GL.BLUE_BITS=3412,lime_graphics_opengl_GL.ALPHA_BITS=3413,lime_graphics_opengl_GL.DEPTH_BITS=3414,lime_graphics_opengl_GL.STENCIL_BITS=3415,lime_graphics_opengl_GL.POLYGON_OFFSET_UNITS=10752,lime_graphics_opengl_GL.POLYGON_OFFSET_FACTOR=32824,lime_graphics_opengl_GL.TEXTURE_BINDING_2D=32873,lime_graphics_opengl_GL.SAMPLE_BUFFERS=32936,lime_graphics_opengl_GL.SAMPLES=32937,lime_graphics_opengl_GL.SAMPLE_COVERAGE_VALUE=32938,lime_graphics_opengl_GL.SAMPLE_COVERAGE_INVERT=32939,lime_graphics_opengl_GL.NUM_COMPRESSED_TEXTURE_FORMATS=34466,lime_graphics_opengl_GL.COMPRESSED_TEXTURE_FORMATS=34467,lime_graphics_opengl_GL.DONT_CARE=4352,lime_graphics_opengl_GL.FASTEST=4353,lime_graphics_opengl_GL.NICEST=4354,lime_graphics_opengl_GL.GENERATE_MIPMAP_HINT=33170,lime_graphics_opengl_GL.BYTE=5120,lime_graphics_opengl_GL.UNSIGNED_BYTE=5121,lime_graphics_opengl_GL.SHORT=5122,lime_graphics_opengl_GL.UNSIGNED_SHORT=5123,lime_graphics_opengl_GL.INT=5124,lime_graphics_opengl_GL.UNSIGNED_INT=5125,lime_graphics_opengl_GL.FLOAT=5126,lime_graphics_opengl_GL.DEPTH_COMPONENT=6402,lime_graphics_opengl_GL.ALPHA=6406,lime_graphics_opengl_GL.RGB=6407,lime_graphics_opengl_GL.RGBA=6408,lime_graphics_opengl_GL.LUMINANCE=6409,lime_graphics_opengl_GL.LUMINANCE_ALPHA=6410,lime_graphics_opengl_GL.UNSIGNED_SHORT_4_4_4_4=32819,lime_graphics_opengl_GL.UNSIGNED_SHORT_5_5_5_1=32820,lime_graphics_opengl_GL.UNSIGNED_SHORT_5_6_5=33635,lime_graphics_opengl_GL.FRAGMENT_SHADER=35632,lime_graphics_opengl_GL.VERTEX_SHADER=35633,lime_graphics_opengl_GL.MAX_VERTEX_ATTRIBS=34921,lime_graphics_opengl_GL.MAX_VERTEX_UNIFORM_VECTORS=36347,lime_graphics_opengl_GL.MAX_VARYING_VECTORS=36348,lime_graphics_opengl_GL.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661,lime_graphics_opengl_GL.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660,lime_graphics_opengl_GL.MAX_TEXTURE_IMAGE_UNITS=34930,lime_graphics_opengl_GL.MAX_FRAGMENT_UNIFORM_VECTORS=36349,lime_graphics_opengl_GL.SHADER_TYPE=35663,lime_graphics_opengl_GL.DELETE_STATUS=35712,lime_graphics_opengl_GL.LINK_STATUS=35714,lime_graphics_opengl_GL.VALIDATE_STATUS=35715,lime_graphics_opengl_GL.ATTACHED_SHADERS=35717,lime_graphics_opengl_GL.ACTIVE_UNIFORMS=35718,lime_graphics_opengl_GL.ACTIVE_ATTRIBUTES=35721,lime_graphics_opengl_GL.SHADING_LANGUAGE_VERSION=35724,lime_graphics_opengl_GL.CURRENT_PROGRAM=35725,lime_graphics_opengl_GL.NEVER=512,lime_graphics_opengl_GL.LESS=513,lime_graphics_opengl_GL.EQUAL=514,lime_graphics_opengl_GL.LEQUAL=515,lime_graphics_opengl_GL.GREATER=516,lime_graphics_opengl_GL.NOTEQUAL=517,lime_graphics_opengl_GL.GEQUAL=518,lime_graphics_opengl_GL.ALWAYS=519,lime_graphics_opengl_GL.KEEP=7680,lime_graphics_opengl_GL.REPLACE=7681,lime_graphics_opengl_GL.INCR=7682,lime_graphics_opengl_GL.DECR=7683,lime_graphics_opengl_GL.INVERT=5386,lime_graphics_opengl_GL.INCR_WRAP=34055,lime_graphics_opengl_GL.DECR_WRAP=34056,lime_graphics_opengl_GL.VENDOR=7936,lime_graphics_opengl_GL.RENDERER=7937,lime_graphics_opengl_GL.VERSION=7938,lime_graphics_opengl_GL.EXTENSIONS=7939,lime_graphics_opengl_GL.NEAREST=9728,lime_graphics_opengl_GL.LINEAR=9729,lime_graphics_opengl_GL.NEAREST_MIPMAP_NEAREST=9984,lime_graphics_opengl_GL.LINEAR_MIPMAP_NEAREST=9985,lime_graphics_opengl_GL.NEAREST_MIPMAP_LINEAR=9986,lime_graphics_opengl_GL.LINEAR_MIPMAP_LINEAR=9987,lime_graphics_opengl_GL.TEXTURE_MAG_FILTER=10240,lime_graphics_opengl_GL.TEXTURE_MIN_FILTER=10241,lime_graphics_opengl_GL.TEXTURE_WRAP_S=10242,lime_graphics_opengl_GL.TEXTURE_WRAP_T=10243,lime_graphics_opengl_GL.TEXTURE_2D=3553,lime_graphics_opengl_GL.TEXTURE=5890,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP=34067,lime_graphics_opengl_GL.TEXTURE_BINDING_CUBE_MAP=34068,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP_POSITIVE_X=34069,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP_NEGATIVE_X=34070,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP_POSITIVE_Y=34071,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP_POSITIVE_Z=34073,lime_graphics_opengl_GL.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074,lime_graphics_opengl_GL.MAX_CUBE_MAP_TEXTURE_SIZE=34076,lime_graphics_opengl_GL.TEXTURE0=33984,lime_graphics_opengl_GL.TEXTURE1=33985,lime_graphics_opengl_GL.TEXTURE2=33986,lime_graphics_opengl_GL.TEXTURE3=33987,lime_graphics_opengl_GL.TEXTURE4=33988,lime_graphics_opengl_GL.TEXTURE5=33989,lime_graphics_opengl_GL.TEXTURE6=33990,lime_graphics_opengl_GL.TEXTURE7=33991,lime_graphics_opengl_GL.TEXTURE8=33992,lime_graphics_opengl_GL.TEXTURE9=33993,lime_graphics_opengl_GL.TEXTURE10=33994,lime_graphics_opengl_GL.TEXTURE11=33995,lime_graphics_opengl_GL.TEXTURE12=33996,lime_graphics_opengl_GL.TEXTURE13=33997,lime_graphics_opengl_GL.TEXTURE14=33998,lime_graphics_opengl_GL.TEXTURE15=33999,lime_graphics_opengl_GL.TEXTURE16=34e3,lime_graphics_opengl_GL.TEXTURE17=34001,lime_graphics_opengl_GL.TEXTURE18=34002,lime_graphics_opengl_GL.TEXTURE19=34003,lime_graphics_opengl_GL.TEXTURE20=34004,lime_graphics_opengl_GL.TEXTURE21=34005,lime_graphics_opengl_GL.TEXTURE22=34006,lime_graphics_opengl_GL.TEXTURE23=34007,lime_graphics_opengl_GL.TEXTURE24=34008,lime_graphics_opengl_GL.TEXTURE25=34009,lime_graphics_opengl_GL.TEXTURE26=34010,lime_graphics_opengl_GL.TEXTURE27=34011,lime_graphics_opengl_GL.TEXTURE28=34012,lime_graphics_opengl_GL.TEXTURE29=34013,lime_graphics_opengl_GL.TEXTURE30=34014,lime_graphics_opengl_GL.TEXTURE31=34015,lime_graphics_opengl_GL.ACTIVE_TEXTURE=34016,lime_graphics_opengl_GL.REPEAT=10497,lime_graphics_opengl_GL.CLAMP_TO_EDGE=33071,lime_graphics_opengl_GL.MIRRORED_REPEAT=33648,lime_graphics_opengl_GL.FLOAT_VEC2=35664,lime_graphics_opengl_GL.FLOAT_VEC3=35665,lime_graphics_opengl_GL.FLOAT_VEC4=35666,lime_graphics_opengl_GL.INT_VEC2=35667,lime_graphics_opengl_GL.INT_VEC3=35668,lime_graphics_opengl_GL.INT_VEC4=35669,lime_graphics_opengl_GL.BOOL=35670,lime_graphics_opengl_GL.BOOL_VEC2=35671,lime_graphics_opengl_GL.BOOL_VEC3=35672,lime_graphics_opengl_GL.BOOL_VEC4=35673,lime_graphics_opengl_GL.FLOAT_MAT2=35674,lime_graphics_opengl_GL.FLOAT_MAT3=35675,lime_graphics_opengl_GL.FLOAT_MAT4=35676,lime_graphics_opengl_GL.SAMPLER_2D=35678,lime_graphics_opengl_GL.SAMPLER_CUBE=35680,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_ENABLED=34338,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_SIZE=34339,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_STRIDE=34340,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_TYPE=34341,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_POINTER=34373,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975,lime_graphics_opengl_GL.IMPLEMENTATION_COLOR_READ_TYPE=35738,lime_graphics_opengl_GL.IMPLEMENTATION_COLOR_READ_FORMAT=35739,lime_graphics_opengl_GL.VERTEX_PROGRAM_POINT_SIZE=34370,lime_graphics_opengl_GL.POINT_SPRITE=34913,lime_graphics_opengl_GL.COMPILE_STATUS=35713,lime_graphics_opengl_GL.LOW_FLOAT=36336,lime_graphics_opengl_GL.MEDIUM_FLOAT=36337,lime_graphics_opengl_GL.HIGH_FLOAT=36338,lime_graphics_opengl_GL.LOW_INT=36339,lime_graphics_opengl_GL.MEDIUM_INT=36340,lime_graphics_opengl_GL.HIGH_INT=36341,lime_graphics_opengl_GL.FRAMEBUFFER=36160,lime_graphics_opengl_GL.RENDERBUFFER=36161,lime_graphics_opengl_GL.RGBA4=32854,lime_graphics_opengl_GL.RGB5_A1=32855,lime_graphics_opengl_GL.RGB565=36194,lime_graphics_opengl_GL.DEPTH_COMPONENT16=33189,lime_graphics_opengl_GL.STENCIL_INDEX=6401,lime_graphics_opengl_GL.STENCIL_INDEX8=36168,lime_graphics_opengl_GL.DEPTH_STENCIL=34041,lime_graphics_opengl_GL.RENDERBUFFER_WIDTH=36162,lime_graphics_opengl_GL.RENDERBUFFER_HEIGHT=36163,lime_graphics_opengl_GL.RENDERBUFFER_INTERNAL_FORMAT=36164,lime_graphics_opengl_GL.RENDERBUFFER_RED_SIZE=36176,lime_graphics_opengl_GL.RENDERBUFFER_GREEN_SIZE=36177,lime_graphics_opengl_GL.RENDERBUFFER_BLUE_SIZE=36178,lime_graphics_opengl_GL.RENDERBUFFER_ALPHA_SIZE=36179,lime_graphics_opengl_GL.RENDERBUFFER_DEPTH_SIZE=36180,lime_graphics_opengl_GL.RENDERBUFFER_STENCIL_SIZE=36181,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051,lime_graphics_opengl_GL.COLOR_ATTACHMENT0=36064,lime_graphics_opengl_GL.DEPTH_ATTACHMENT=36096,lime_graphics_opengl_GL.STENCIL_ATTACHMENT=36128,lime_graphics_opengl_GL.DEPTH_STENCIL_ATTACHMENT=33306,lime_graphics_opengl_GL.NONE=0,lime_graphics_opengl_GL.FRAMEBUFFER_COMPLETE=36053,lime_graphics_opengl_GL.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054,lime_graphics_opengl_GL.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055,lime_graphics_opengl_GL.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057,lime_graphics_opengl_GL.FRAMEBUFFER_UNSUPPORTED=36061,lime_graphics_opengl_GL.FRAMEBUFFER_BINDING=36006,lime_graphics_opengl_GL.RENDERBUFFER_BINDING=36007,lime_graphics_opengl_GL.MAX_RENDERBUFFER_SIZE=34024,lime_graphics_opengl_GL.INVALID_FRAMEBUFFER_OPERATION=1286,lime_graphics_opengl_GL.UNPACK_FLIP_Y_WEBGL=37440,lime_graphics_opengl_GL.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441,lime_graphics_opengl_GL.CONTEXT_LOST_WEBGL=37442,lime_graphics_opengl_GL.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443,lime_graphics_opengl_GL.BROWSER_DEFAULT_WEBGL=37444,lime_graphics_opengl_GL.READ_BUFFER=3074,lime_graphics_opengl_GL.UNPACK_ROW_LENGTH=3314,lime_graphics_opengl_GL.UNPACK_SKIP_ROWS=3315,lime_graphics_opengl_GL.UNPACK_SKIP_PIXELS=3316,lime_graphics_opengl_GL.PACK_ROW_LENGTH=3330,lime_graphics_opengl_GL.PACK_SKIP_ROWS=3331,lime_graphics_opengl_GL.PACK_SKIP_PIXELS=3332,lime_graphics_opengl_GL.TEXTURE_BINDING_3D=32874,lime_graphics_opengl_GL.UNPACK_SKIP_IMAGES=32877,lime_graphics_opengl_GL.UNPACK_IMAGE_HEIGHT=32878,lime_graphics_opengl_GL.MAX_3D_TEXTURE_SIZE=32883,lime_graphics_opengl_GL.MAX_ELEMENTS_VERTICES=33e3,lime_graphics_opengl_GL.MAX_ELEMENTS_INDICES=33001,lime_graphics_opengl_GL.MAX_TEXTURE_LOD_BIAS=34045,lime_graphics_opengl_GL.MAX_FRAGMENT_UNIFORM_COMPONENTS=35657,lime_graphics_opengl_GL.MAX_VERTEX_UNIFORM_COMPONENTS=35658,lime_graphics_opengl_GL.MAX_ARRAY_TEXTURE_LAYERS=35071,lime_graphics_opengl_GL.MIN_PROGRAM_TEXEL_OFFSET=35076,lime_graphics_opengl_GL.MAX_PROGRAM_TEXEL_OFFSET=35077,lime_graphics_opengl_GL.MAX_VARYING_COMPONENTS=35659,lime_graphics_opengl_GL.FRAGMENT_SHADER_DERIVATIVE_HINT=35723,lime_graphics_opengl_GL.RASTERIZER_DISCARD=35977,lime_graphics_opengl_GL.VERTEX_ARRAY_BINDING=34229,lime_graphics_opengl_GL.MAX_VERTEX_OUTPUT_COMPONENTS=37154,lime_graphics_opengl_GL.MAX_FRAGMENT_INPUT_COMPONENTS=37157,lime_graphics_opengl_GL.MAX_SERVER_WAIT_TIMEOUT=37137,lime_graphics_opengl_GL.MAX_ELEMENT_INDEX=36203,lime_graphics_opengl_GL.RED=6403,lime_graphics_opengl_GL.RGB8=32849,lime_graphics_opengl_GL.RGBA8=32856,lime_graphics_opengl_GL.RGB10_A2=32857,lime_graphics_opengl_GL.TEXTURE_3D=32879,lime_graphics_opengl_GL.TEXTURE_WRAP_R=32882,lime_graphics_opengl_GL.TEXTURE_MIN_LOD=33082,lime_graphics_opengl_GL.TEXTURE_MAX_LOD=33083,lime_graphics_opengl_GL.TEXTURE_BASE_LEVEL=33084,lime_graphics_opengl_GL.TEXTURE_MAX_LEVEL=33085,lime_graphics_opengl_GL.TEXTURE_COMPARE_MODE=34892,lime_graphics_opengl_GL.TEXTURE_COMPARE_FUNC=34893,lime_graphics_opengl_GL.SRGB=35904,lime_graphics_opengl_GL.SRGB8=35905,lime_graphics_opengl_GL.SRGB8_ALPHA8=35907,lime_graphics_opengl_GL.COMPARE_REF_TO_TEXTURE=34894,lime_graphics_opengl_GL.RGBA32F=34836,lime_graphics_opengl_GL.RGB32F=34837,lime_graphics_opengl_GL.RGBA16F=34842,lime_graphics_opengl_GL.RGB16F=34843,lime_graphics_opengl_GL.TEXTURE_2D_ARRAY=35866,lime_graphics_opengl_GL.TEXTURE_BINDING_2D_ARRAY=35869,lime_graphics_opengl_GL.R11F_G11F_B10F=35898,lime_graphics_opengl_GL.RGB9_E5=35901,lime_graphics_opengl_GL.RGBA32UI=36208,lime_graphics_opengl_GL.RGB32UI=36209,lime_graphics_opengl_GL.RGBA16UI=36214,lime_graphics_opengl_GL.RGB16UI=36215,lime_graphics_opengl_GL.RGBA8UI=36220,lime_graphics_opengl_GL.RGB8UI=36221,lime_graphics_opengl_GL.RGBA32I=36226,lime_graphics_opengl_GL.RGB32I=36227,lime_graphics_opengl_GL.RGBA16I=36232,lime_graphics_opengl_GL.RGB16I=36233,lime_graphics_opengl_GL.RGBA8I=36238,lime_graphics_opengl_GL.RGB8I=36239,lime_graphics_opengl_GL.RED_INTEGER=36244,lime_graphics_opengl_GL.RGB_INTEGER=36248,lime_graphics_opengl_GL.RGBA_INTEGER=36249,lime_graphics_opengl_GL.R8=33321,lime_graphics_opengl_GL.RG8=33323,lime_graphics_opengl_GL.R16F=33325,lime_graphics_opengl_GL.R32F=33326,lime_graphics_opengl_GL.RG16F=33327,lime_graphics_opengl_GL.RG32F=33328,lime_graphics_opengl_GL.R8I=33329,lime_graphics_opengl_GL.R8UI=33330,lime_graphics_opengl_GL.R16I=33331,lime_graphics_opengl_GL.R16UI=33332,lime_graphics_opengl_GL.R32I=33333,lime_graphics_opengl_GL.R32UI=33334,lime_graphics_opengl_GL.RG8I=33335,lime_graphics_opengl_GL.RG8UI=33336,lime_graphics_opengl_GL.RG16I=33337,lime_graphics_opengl_GL.RG16UI=33338,lime_graphics_opengl_GL.RG32I=33339,lime_graphics_opengl_GL.RG32UI=33340,lime_graphics_opengl_GL.R8_SNORM=36756,lime_graphics_opengl_GL.RG8_SNORM=36757,lime_graphics_opengl_GL.RGB8_SNORM=36758,lime_graphics_opengl_GL.RGBA8_SNORM=36759,lime_graphics_opengl_GL.RGB10_A2UI=36975,lime_graphics_opengl_GL.TEXTURE_IMMUTABLE_FORMAT=37167,lime_graphics_opengl_GL.TEXTURE_IMMUTABLE_LEVELS=33503,lime_graphics_opengl_GL.UNSIGNED_INT_2_10_10_10_REV=33640,lime_graphics_opengl_GL.UNSIGNED_INT_10F_11F_11F_REV=35899,lime_graphics_opengl_GL.UNSIGNED_INT_5_9_9_9_REV=35902,lime_graphics_opengl_GL.FLOAT_32_UNSIGNED_INT_24_8_REV=36269,lime_graphics_opengl_GL.UNSIGNED_INT_24_8=34042,lime_graphics_opengl_GL.HALF_FLOAT=5131,lime_graphics_opengl_GL.RG=33319,lime_graphics_opengl_GL.RG_INTEGER=33320,lime_graphics_opengl_GL.INT_2_10_10_10_REV=36255,lime_graphics_opengl_GL.CURRENT_QUERY=34917,lime_graphics_opengl_GL.QUERY_RESULT=34918,lime_graphics_opengl_GL.QUERY_RESULT_AVAILABLE=34919,lime_graphics_opengl_GL.ANY_SAMPLES_PASSED=35887,lime_graphics_opengl_GL.ANY_SAMPLES_PASSED_CONSERVATIVE=36202,lime_graphics_opengl_GL.MAX_DRAW_BUFFERS=34852,lime_graphics_opengl_GL.DRAW_BUFFER0=34853,lime_graphics_opengl_GL.DRAW_BUFFER1=34854,lime_graphics_opengl_GL.DRAW_BUFFER2=34855,lime_graphics_opengl_GL.DRAW_BUFFER3=34856,lime_graphics_opengl_GL.DRAW_BUFFER4=34857,lime_graphics_opengl_GL.DRAW_BUFFER5=34858,lime_graphics_opengl_GL.DRAW_BUFFER6=34859,lime_graphics_opengl_GL.DRAW_BUFFER7=34860,lime_graphics_opengl_GL.DRAW_BUFFER8=34861,lime_graphics_opengl_GL.DRAW_BUFFER9=34862,lime_graphics_opengl_GL.DRAW_BUFFER10=34863,lime_graphics_opengl_GL.DRAW_BUFFER11=34864,lime_graphics_opengl_GL.DRAW_BUFFER12=34865,lime_graphics_opengl_GL.DRAW_BUFFER13=34866,lime_graphics_opengl_GL.DRAW_BUFFER14=34867,lime_graphics_opengl_GL.DRAW_BUFFER15=34868,lime_graphics_opengl_GL.MAX_COLOR_ATTACHMENTS=36063,lime_graphics_opengl_GL.COLOR_ATTACHMENT1=36065,lime_graphics_opengl_GL.COLOR_ATTACHMENT2=36066,lime_graphics_opengl_GL.COLOR_ATTACHMENT3=36067,lime_graphics_opengl_GL.COLOR_ATTACHMENT4=36068,lime_graphics_opengl_GL.COLOR_ATTACHMENT5=36069,lime_graphics_opengl_GL.COLOR_ATTACHMENT6=36070,lime_graphics_opengl_GL.COLOR_ATTACHMENT7=36071,lime_graphics_opengl_GL.COLOR_ATTACHMENT8=36072,lime_graphics_opengl_GL.COLOR_ATTACHMENT9=36073,lime_graphics_opengl_GL.COLOR_ATTACHMENT10=36074,lime_graphics_opengl_GL.COLOR_ATTACHMENT11=36075,lime_graphics_opengl_GL.COLOR_ATTACHMENT12=36076,lime_graphics_opengl_GL.COLOR_ATTACHMENT13=36077,lime_graphics_opengl_GL.COLOR_ATTACHMENT14=36078,lime_graphics_opengl_GL.COLOR_ATTACHMENT15=36079,lime_graphics_opengl_GL.SAMPLER_3D=35679,lime_graphics_opengl_GL.SAMPLER_2D_SHADOW=35682,lime_graphics_opengl_GL.SAMPLER_2D_ARRAY=36289,lime_graphics_opengl_GL.SAMPLER_2D_ARRAY_SHADOW=36292,lime_graphics_opengl_GL.SAMPLER_CUBE_SHADOW=36293,lime_graphics_opengl_GL.INT_SAMPLER_2D=36298,lime_graphics_opengl_GL.INT_SAMPLER_3D=36299,lime_graphics_opengl_GL.INT_SAMPLER_CUBE=36300,lime_graphics_opengl_GL.INT_SAMPLER_2D_ARRAY=36303,lime_graphics_opengl_GL.UNSIGNED_INT_SAMPLER_2D=36306,lime_graphics_opengl_GL.UNSIGNED_INT_SAMPLER_3D=36307,lime_graphics_opengl_GL.UNSIGNED_INT_SAMPLER_CUBE=36308,lime_graphics_opengl_GL.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311,lime_graphics_opengl_GL.MAX_SAMPLES=36183,lime_graphics_opengl_GL.SAMPLER_BINDING=35097,lime_graphics_opengl_GL.PIXEL_PACK_BUFFER=35051,lime_graphics_opengl_GL.PIXEL_UNPACK_BUFFER=35052,lime_graphics_opengl_GL.PIXEL_PACK_BUFFER_BINDING=35053,lime_graphics_opengl_GL.PIXEL_UNPACK_BUFFER_BINDING=35055,lime_graphics_opengl_GL.COPY_READ_BUFFER=36662,lime_graphics_opengl_GL.COPY_WRITE_BUFFER=36663,lime_graphics_opengl_GL.COPY_READ_BUFFER_BINDING=36662,lime_graphics_opengl_GL.COPY_WRITE_BUFFER_BINDING=36663,lime_graphics_opengl_GL.FLOAT_MAT2x3=35685,lime_graphics_opengl_GL.FLOAT_MAT2x4=35686,lime_graphics_opengl_GL.FLOAT_MAT3x2=35687,lime_graphics_opengl_GL.FLOAT_MAT3x4=35688,lime_graphics_opengl_GL.FLOAT_MAT4x2=35689,lime_graphics_opengl_GL.FLOAT_MAT4x3=35690,lime_graphics_opengl_GL.UNSIGNED_INT_VEC2=36294,lime_graphics_opengl_GL.UNSIGNED_INT_VEC3=36295,lime_graphics_opengl_GL.UNSIGNED_INT_VEC4=36296,lime_graphics_opengl_GL.UNSIGNED_NORMALIZED=35863,lime_graphics_opengl_GL.SIGNED_NORMALIZED=36764,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_INTEGER=35069,lime_graphics_opengl_GL.VERTEX_ATTRIB_ARRAY_DIVISOR=35070,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_BUFFER_MODE=35967,lime_graphics_opengl_GL.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=35968,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_VARYINGS=35971,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_BUFFER_START=35972,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_BUFFER_SIZE=35973,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN=35976,lime_graphics_opengl_GL.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=35978,lime_graphics_opengl_GL.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=35979,lime_graphics_opengl_GL.INTERLEAVED_ATTRIBS=35980,lime_graphics_opengl_GL.SEPARATE_ATTRIBS=35981,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_BUFFER=35982,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_BUFFER_BINDING=35983,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK=36386,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_PAUSED=36387,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_ACTIVE=36388,lime_graphics_opengl_GL.TRANSFORM_FEEDBACK_BINDING=36389,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING=33296,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE=33297,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_RED_SIZE=33298,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE=33299,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE=33300,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE=33301,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE=33302,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE=33303,lime_graphics_opengl_GL.FRAMEBUFFER_DEFAULT=33304,lime_graphics_opengl_GL.DEPTH24_STENCIL8=35056,lime_graphics_opengl_GL.DRAW_FRAMEBUFFER_BINDING=36006,lime_graphics_opengl_GL.READ_FRAMEBUFFER=36008,lime_graphics_opengl_GL.DRAW_FRAMEBUFFER=36009,lime_graphics_opengl_GL.READ_FRAMEBUFFER_BINDING=36010,lime_graphics_opengl_GL.RENDERBUFFER_SAMPLES=36011,lime_graphics_opengl_GL.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER=36052,lime_graphics_opengl_GL.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE=36182,lime_graphics_opengl_GL.UNIFORM_BUFFER=35345,lime_graphics_opengl_GL.UNIFORM_BUFFER_BINDING=35368,lime_graphics_opengl_GL.UNIFORM_BUFFER_START=35369,lime_graphics_opengl_GL.UNIFORM_BUFFER_SIZE=35370,lime_graphics_opengl_GL.MAX_VERTEX_UNIFORM_BLOCKS=35371,lime_graphics_opengl_GL.MAX_FRAGMENT_UNIFORM_BLOCKS=35373,lime_graphics_opengl_GL.MAX_COMBINED_UNIFORM_BLOCKS=35374,lime_graphics_opengl_GL.MAX_UNIFORM_BUFFER_BINDINGS=35375,lime_graphics_opengl_GL.MAX_UNIFORM_BLOCK_SIZE=35376,lime_graphics_opengl_GL.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=35377,lime_graphics_opengl_GL.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=35379,lime_graphics_opengl_GL.UNIFORM_BUFFER_OFFSET_ALIGNMENT=35380,lime_graphics_opengl_GL.ACTIVE_UNIFORM_BLOCKS=35382,lime_graphics_opengl_GL.UNIFORM_TYPE=35383,lime_graphics_opengl_GL.UNIFORM_SIZE=35384,lime_graphics_opengl_GL.UNIFORM_BLOCK_INDEX=35386,lime_graphics_opengl_GL.UNIFORM_OFFSET=35387,lime_graphics_opengl_GL.UNIFORM_ARRAY_STRIDE=35388,lime_graphics_opengl_GL.UNIFORM_MATRIX_STRIDE=35389,lime_graphics_opengl_GL.UNIFORM_IS_ROW_MAJOR=35390,lime_graphics_opengl_GL.UNIFORM_BLOCK_BINDING=35391,lime_graphics_opengl_GL.UNIFORM_BLOCK_DATA_SIZE=35392,lime_graphics_opengl_GL.UNIFORM_BLOCK_ACTIVE_UNIFORMS=35394,lime_graphics_opengl_GL.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES=35395,lime_graphics_opengl_GL.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER=35396,lime_graphics_opengl_GL.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER=35398,lime_graphics_opengl_GL.OBJECT_TYPE=37138,lime_graphics_opengl_GL.SYNC_CONDITION=37139,lime_graphics_opengl_GL.SYNC_STATUS=37140,lime_graphics_opengl_GL.SYNC_FLAGS=37141,lime_graphics_opengl_GL.SYNC_FENCE=37142,lime_graphics_opengl_GL.SYNC_GPU_COMMANDS_COMPLETE=37143,lime_graphics_opengl_GL.UNSIGNALED=37144,lime_graphics_opengl_GL.SIGNALED=37145,lime_graphics_opengl_GL.ALREADY_SIGNALED=37146,lime_graphics_opengl_GL.TIMEOUT_EXPIRED=37147,lime_graphics_opengl_GL.CONDITION_SATISFIED=37148,lime_graphics_opengl_GL.WAIT_FAILED=37149,lime_graphics_opengl_GL.SYNC_FLUSH_COMMANDS_BIT=1,lime_graphics_opengl_GL.COLOR=6144,lime_graphics_opengl_GL.DEPTH=6145,lime_graphics_opengl_GL.STENCIL=6146,lime_graphics_opengl_GL.MIN=32775,lime_graphics_opengl_GL.MAX=32776,lime_graphics_opengl_GL.DEPTH_COMPONENT24=33190,lime_graphics_opengl_GL.STREAM_READ=35041,lime_graphics_opengl_GL.STREAM_COPY=35042,lime_graphics_opengl_GL.STATIC_READ=35045,lime_graphics_opengl_GL.STATIC_COPY=35046,lime_graphics_opengl_GL.DYNAMIC_READ=35049,lime_graphics_opengl_GL.DYNAMIC_COPY=35050,lime_graphics_opengl_GL.DEPTH_COMPONENT32F=36012,lime_graphics_opengl_GL.DEPTH32F_STENCIL8=36013,lime_graphics_opengl_GL.INVALID_INDEX=-1,lime_graphics_opengl_GL.TIMEOUT_IGNORED=-1,lime_graphics_opengl_GL.MAX_CLIENT_WAIT_TIMEOUT_WEBGL=37447,lime_math_ColorMatrix.__identity=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],lime_math_Matrix4.__identity=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],lime_media_openal_AL.NONE=0,lime_media_openal_AL.FALSE=0,lime_media_openal_AL.TRUE=1,lime_media_openal_AL.SOURCE_RELATIVE=514,lime_media_openal_AL.CONE_INNER_ANGLE=4097,lime_media_openal_AL.CONE_OUTER_ANGLE=4098,lime_media_openal_AL.PITCH=4099,lime_media_openal_AL.POSITION=4100,lime_media_openal_AL.DIRECTION=4101,lime_media_openal_AL.VELOCITY=4102,lime_media_openal_AL.LOOPING=4103,lime_media_openal_AL.BUFFER=4105,lime_media_openal_AL.GAIN=4106,lime_media_openal_AL.MIN_GAIN=4109,lime_media_openal_AL.MAX_GAIN=4110,lime_media_openal_AL.ORIENTATION=4111,lime_media_openal_AL.SOURCE_STATE=4112,lime_media_openal_AL.INITIAL=4113,lime_media_openal_AL.PLAYING=4114,lime_media_openal_AL.PAUSED=4115,lime_media_openal_AL.STOPPED=4116,lime_media_openal_AL.BUFFERS_QUEUED=4117,lime_media_openal_AL.BUFFERS_PROCESSED=4118,lime_media_openal_AL.REFERENCE_DISTANCE=4128,lime_media_openal_AL.ROLLOFF_FACTOR=4129,lime_media_openal_AL.CONE_OUTER_GAIN=4130,lime_media_openal_AL.MAX_DISTANCE=4131,lime_media_openal_AL.SEC_OFFSET=4132,lime_media_openal_AL.SAMPLE_OFFSET=4133,lime_media_openal_AL.BYTE_OFFSET=4134,lime_media_openal_AL.SOURCE_TYPE=4135,lime_media_openal_AL.STATIC=4136,lime_media_openal_AL.STREAMING=4137,lime_media_openal_AL.UNDETERMINED=4144,lime_media_openal_AL.FORMAT_MONO8=4352,lime_media_openal_AL.FORMAT_MONO16=4353,lime_media_openal_AL.FORMAT_STEREO8=4354,lime_media_openal_AL.FORMAT_STEREO16=4355,lime_media_openal_AL.FREQUENCY=8193,lime_media_openal_AL.BITS=8194,lime_media_openal_AL.CHANNELS=8195,lime_media_openal_AL.SIZE=8196,lime_media_openal_AL.NO_ERROR=0,lime_media_openal_AL.INVALID_NAME=40961,lime_media_openal_AL.INVALID_ENUM=40962,lime_media_openal_AL.INVALID_VALUE=40963,lime_media_openal_AL.INVALID_OPERATION=40964,lime_media_openal_AL.OUT_OF_MEMORY=40965,lime_media_openal_AL.VENDOR=45057,lime_media_openal_AL.VERSION=45058,lime_media_openal_AL.RENDERER=45059,lime_media_openal_AL.EXTENSIONS=45060,lime_media_openal_AL.DOPPLER_FACTOR=49152,lime_media_openal_AL.SPEED_OF_SOUND=49155,lime_media_openal_AL.DOPPLER_VELOCITY=49153,lime_media_openal_AL.DISTANCE_MODEL=53248,lime_media_openal_AL.INVERSE_DISTANCE=53249,lime_media_openal_AL.INVERSE_DISTANCE_CLAMPED=53250,lime_media_openal_AL.LINEAR_DISTANCE=53251,lime_media_openal_AL.LINEAR_DISTANCE_CLAMPED=53252,lime_media_openal_AL.EXPONENT_DISTANCE=53253,lime_media_openal_AL.EXPONENT_DISTANCE_CLAMPED=53254,lime_media_openal_AL.METERS_PER_UNIT=131076,lime_media_openal_AL.DIRECT_FILTER=131077,lime_media_openal_AL.AUXILIARY_SEND_FILTER=131078,lime_media_openal_AL.AIR_ABSORPTION_FACTOR=131079,lime_media_openal_AL.ROOM_ROLLOFF_FACTOR=131080,lime_media_openal_AL.CONE_OUTER_GAINHF=131081,lime_media_openal_AL.DIRECT_FILTER_GAINHF_AUTO=131082,lime_media_openal_AL.AUXILIARY_SEND_FILTER_GAIN_AUTO=131083,lime_media_openal_AL.AUXILIARY_SEND_FILTER_GAINHF_AUTO=131084,lime_media_openal_AL.REVERB_DENSITY=1,lime_media_openal_AL.REVERB_DIFFUSION=2,lime_media_openal_AL.REVERB_GAIN=3,lime_media_openal_AL.REVERB_GAINHF=4,lime_media_openal_AL.REVERB_DECAY_TIME=5,lime_media_openal_AL.REVERB_DECAY_HFRATIO=6,lime_media_openal_AL.REVERB_REFLECTIONS_GAIN=7,lime_media_openal_AL.REVERB_REFLECTIONS_DELAY=8,lime_media_openal_AL.REVERB_LATE_REVERB_GAIN=9,lime_media_openal_AL.REVERB_LATE_REVERB_DELAY=10,lime_media_openal_AL.REVERB_AIR_ABSORPTION_GAINHF=11,lime_media_openal_AL.REVERB_ROOM_ROLLOFF_FACTOR=12,lime_media_openal_AL.REVERB_DECAY_HFLIMIT=13,lime_media_openal_AL.EAXREVERB_DENSITY=1,lime_media_openal_AL.EAXREVERB_DIFFUSION=2,lime_media_openal_AL.EAXREVERB_GAIN=3,lime_media_openal_AL.EAXREVERB_GAINHF=4,lime_media_openal_AL.EAXREVERB_GAINLF=5,lime_media_openal_AL.EAXREVERB_DECAY_TIME=6,lime_media_openal_AL.EAXREVERB_DECAY_HFRATIO=7,lime_media_openal_AL.EAXREVERB_DECAY_LFRATIO=8,lime_media_openal_AL.EAXREVERB_REFLECTIONS_GAIN=9,lime_media_openal_AL.EAXREVERB_REFLECTIONS_DELAY=10,lime_media_openal_AL.EAXREVERB_REFLECTIONS_PAN=11,lime_media_openal_AL.EAXREVERB_LATE_REVERB_GAIN=12,lime_media_openal_AL.EAXREVERB_LATE_REVERB_DELAY=13,lime_media_openal_AL.EAXREVERB_LATE_REVERB_PAN=14,lime_media_openal_AL.EAXREVERB_ECHO_TIME=15,lime_media_openal_AL.EAXREVERB_ECHO_DEPTH=16,lime_media_openal_AL.EAXREVERB_MODULATION_TIME=17,lime_media_openal_AL.EAXREVERB_MODULATION_DEPTH=18,lime_media_openal_AL.EAXREVERB_AIR_ABSORPTION_GAINHF=19,lime_media_openal_AL.EAXREVERB_HFREFERENCE=20,lime_media_openal_AL.EAXREVERB_LFREFERENCE=21,lime_media_openal_AL.EAXREVERB_ROOM_ROLLOFF_FACTOR=22,lime_media_openal_AL.EAXREVERB_DECAY_HFLIMIT=23,lime_media_openal_AL.CHORUS_WAVEFORM=1,lime_media_openal_AL.CHORUS_PHASE=2,lime_media_openal_AL.CHORUS_RATE=3,lime_media_openal_AL.CHORUS_DEPTH=4,lime_media_openal_AL.CHORUS_FEEDBACK=5,lime_media_openal_AL.CHORUS_DELAY=6,lime_media_openal_AL.DISTORTION_EDGE=1,lime_media_openal_AL.DISTORTION_GAIN=2,lime_media_openal_AL.DISTORTION_LOWPASS_CUTOFF=3,lime_media_openal_AL.DISTORTION_EQCENTER=4;lime_media_openal_AL.DISTORTION_EQBANDWIDTH=5,lime_media_openal_AL.ECHO_DELAY=1,lime_media_openal_AL.ECHO_LRDELAY=2,lime_media_openal_AL.ECHO_DAMPING=3,lime_media_openal_AL.ECHO_FEEDBACK=4,lime_media_openal_AL.ECHO_SPREAD=5,lime_media_openal_AL.FLANGER_WAVEFORM=1,lime_media_openal_AL.FLANGER_PHASE=2,lime_media_openal_AL.FLANGER_RATE=3,lime_media_openal_AL.FLANGER_DEPTH=4,lime_media_openal_AL.FLANGER_FEEDBACK=5,lime_media_openal_AL.FLANGER_DELAY=6,lime_media_openal_AL.FREQUENCY_SHIFTER_FREQUENCY=1,lime_media_openal_AL.FREQUENCY_SHIFTER_LEFT_DIRECTION=2,lime_media_openal_AL.FREQUENCY_SHIFTER_RIGHT_DIRECTION=3,lime_media_openal_AL.VOCAL_MORPHER_PHONEMEA=1,lime_media_openal_AL.VOCAL_MORPHER_PHONEMEA_COARSE_TUNING=2,lime_media_openal_AL.VOCAL_MORPHER_PHONEMEB=3,lime_media_openal_AL.VOCAL_MORPHER_PHONEMEB_COARSE_TUNING=4,lime_media_openal_AL.VOCAL_MORPHER_WAVEFORM=5,lime_media_openal_AL.VOCAL_MORPHER_RATE=6,lime_media_openal_AL.PITCH_SHIFTER_COARSE_TUNE=1,lime_media_openal_AL.PITCH_SHIFTER_FINE_TUNE=2,lime_media_openal_AL.RING_MODULATOR_FREQUENCY=1,lime_media_openal_AL.RING_MODULATOR_HIGHPASS_CUTOFF=2,lime_media_openal_AL.RING_MODULATOR_WAVEFORM=3,lime_media_openal_AL.AUTOWAH_ATTACK_TIME=1,lime_media_openal_AL.AUTOWAH_RELEASE_TIME=2,lime_media_openal_AL.AUTOWAH_RESONANCE=3,lime_media_openal_AL.AUTOWAH_PEAK_GAIN=4,lime_media_openal_AL.COMPRESSOR_ONOFF=1,lime_media_openal_AL.EQUALIZER_LOW_GAIN=1,lime_media_openal_AL.EQUALIZER_LOW_CUTOFF=2,lime_media_openal_AL.EQUALIZER_MID1_GAIN=3,lime_media_openal_AL.EQUALIZER_MID1_CENTER=4,lime_media_openal_AL.EQUALIZER_MID1_WIDTH=5,lime_media_openal_AL.EQUALIZER_MID2_GAIN=6,lime_media_openal_AL.EQUALIZER_MID2_CENTER=7,lime_media_openal_AL.EQUALIZER_MID2_WIDTH=8,lime_media_openal_AL.EQUALIZER_HIGH_GAIN=9,lime_media_openal_AL.EQUALIZER_HIGH_CUTOFF=10,lime_media_openal_AL.EFFECT_FIRST_PARAMETER=0,lime_media_openal_AL.EFFECT_LAST_PARAMETER=32768,lime_media_openal_AL.EFFECT_TYPE=32769,lime_media_openal_AL.EFFECT_NULL=0,lime_media_openal_AL.EFFECT_EAXREVERB=32768,lime_media_openal_AL.EFFECT_REVERB=1,lime_media_openal_AL.EFFECT_CHORUS=2,lime_media_openal_AL.EFFECT_DISTORTION=3,lime_media_openal_AL.EFFECT_ECHO=4,lime_media_openal_AL.EFFECT_FLANGER=5,lime_media_openal_AL.EFFECT_FREQUENCY_SHIFTER=6,lime_media_openal_AL.EFFECT_VOCAL_MORPHER=7,lime_media_openal_AL.EFFECT_PITCH_SHIFTER=8,lime_media_openal_AL.EFFECT_RING_MODULATOR=9,lime_media_openal_AL.FFECT_AUTOWAH=10,lime_media_openal_AL.EFFECT_COMPRESSOR=11,lime_media_openal_AL.EFFECT_EQUALIZER=12,lime_media_openal_AL.EFFECTSLOT_EFFECT=1,lime_media_openal_AL.EFFECTSLOT_GAIN=2,lime_media_openal_AL.EFFECTSLOT_AUXILIARY_SEND_AUTO=3,lime_media_openal_AL.LOWPASS_GAIN=1,lime_media_openal_AL.LOWPASS_GAINHF=2,lime_media_openal_AL.HIGHPASS_GAIN=1,lime_media_openal_AL.HIGHPASS_GAINLF=2,lime_media_openal_AL.BANDPASS_GAIN=1,lime_media_openal_AL.BANDPASS_GAINLF=2,lime_media_openal_AL.BANDPASS_GAINHF=3,lime_media_openal_AL.FILTER_FIRST_PARAMETER=0,lime_media_openal_AL.FILTER_LAST_PARAMETER=32768,lime_media_openal_AL.FILTER_TYPE=32769,lime_media_openal_AL.FILTER_NULL=0,lime_media_openal_AL.FILTER_LOWPASS=1,lime_media_openal_AL.FILTER_HIGHPASS=2,lime_media_openal_AL.FILTER_BANDPASS=3,lime_media_openal_ALC.FALSE=0,lime_media_openal_ALC.TRUE=1,lime_media_openal_ALC.FREQUENCY=4103,lime_media_openal_ALC.REFRESH=4104,lime_media_openal_ALC.SYNC=4105,lime_media_openal_ALC.MONO_SOURCES=4112,lime_media_openal_ALC.STEREO_SOURCES=4113,lime_media_openal_ALC.NO_ERROR=0,lime_media_openal_ALC.INVALID_DEVICE=40961,lime_media_openal_ALC.INVALID_CONTEXT=40962,lime_media_openal_ALC.INVALID_ENUM=40963,lime_media_openal_ALC.INVALID_VALUE=40964,lime_media_openal_ALC.OUT_OF_MEMORY=40965,lime_media_openal_ALC.ATTRIBUTES_SIZE=4098,lime_media_openal_ALC.ALL_ATTRIBUTES=4099,lime_media_openal_ALC.DEFAULT_DEVICE_SPECIFIER=4100,lime_media_openal_ALC.DEVICE_SPECIFIER=4101,lime_media_openal_ALC.EXTENSIONS=4102,lime_media_openal_ALC.ENUMERATE_ALL_EXT=1,lime_media_openal_ALC.DEFAULT_ALL_DEVICES_SPECIFIER=4114,lime_media_openal_ALC.ALL_DEVICES_SPECIFIER=4115,lime_system_BackgroundWorker.MESSAGE_COMPLETE="__COMPLETE__",lime_system_BackgroundWorker.MESSAGE_ERROR="__ERROR__",lime_system_CFFI.__moduleNames=null,lime_system_Clipboard.onUpdate=new lime_app__$Event_$Void_$Void,lime_system_Sensor.sensorByID=new haxe_ds_IntMap,lime_system_Sensor.sensors=[],lime_system_System.__directories=new haxe_ds_IntMap,lime_ui_Gamepad.devices=new haxe_ds_IntMap,lime_ui_Gamepad.onConnect=new lime_app__$Event_$lime_$ui_$Gamepad_$Void,lime_ui_GamepadAxis.LEFT_X=0,lime_ui_GamepadAxis.LEFT_Y=1,lime_ui_GamepadAxis.RIGHT_X=2,lime_ui_GamepadAxis.RIGHT_Y=3,lime_ui_GamepadAxis.TRIGGER_LEFT=4,lime_ui_GamepadAxis.TRIGGER_RIGHT=5,lime_ui_GamepadButton.A=0,lime_ui_GamepadButton.B=1,lime_ui_GamepadButton.X=2,lime_ui_GamepadButton.Y=3,lime_ui_GamepadButton.BACK=4,lime_ui_GamepadButton.GUIDE=5,lime_ui_GamepadButton.START=6,lime_ui_GamepadButton.LEFT_STICK=7,lime_ui_GamepadButton.RIGHT_STICK=8,lime_ui_GamepadButton.LEFT_SHOULDER=9,lime_ui_GamepadButton.RIGHT_SHOULDER=10,lime_ui_GamepadButton.DPAD_UP=11,lime_ui_GamepadButton.DPAD_DOWN=12,lime_ui_GamepadButton.DPAD_LEFT=13,lime_ui_GamepadButton.DPAD_RIGHT=14,lime_ui_Joystick.devices=new haxe_ds_IntMap,lime_ui_Joystick.onConnect=new lime_app__$Event_$lime_$ui_$Joystick_$Void,lime_ui_JoystickHatPosition.CENTER=0,lime_ui_JoystickHatPosition.DOWN=4,lime_ui_JoystickHatPosition.LEFT=8,lime_ui_JoystickHatPosition.RIGHT=2,lime_ui_JoystickHatPosition.UP=1,lime_ui_JoystickHatPosition.DOWN_LEFT=12,lime_ui_JoystickHatPosition.DOWN_RIGHT=6,lime_ui_JoystickHatPosition.UP_LEFT=9,lime_ui_JoystickHatPosition.UP_RIGHT=3,lime_ui_KeyCode.UNKNOWN=0,lime_ui_KeyCode.BACKSPACE=8,lime_ui_KeyCode.TAB=9,lime_ui_KeyCode.RETURN=13,lime_ui_KeyCode.ESCAPE=27,lime_ui_KeyCode.SPACE=32,lime_ui_KeyCode.EXCLAMATION=33,lime_ui_KeyCode.QUOTE=34,lime_ui_KeyCode.HASH=35,lime_ui_KeyCode.DOLLAR=36,lime_ui_KeyCode.PERCENT=37,lime_ui_KeyCode.AMPERSAND=38,lime_ui_KeyCode.SINGLE_QUOTE=39,lime_ui_KeyCode.LEFT_PARENTHESIS=40,lime_ui_KeyCode.RIGHT_PARENTHESIS=41,lime_ui_KeyCode.ASTERISK=42,lime_ui_KeyCode.PLUS=43,lime_ui_KeyCode.COMMA=44,lime_ui_KeyCode.MINUS=45,lime_ui_KeyCode.PERIOD=46,lime_ui_KeyCode.SLASH=47,lime_ui_KeyCode.NUMBER_0=48,lime_ui_KeyCode.NUMBER_1=49,lime_ui_KeyCode.NUMBER_2=50,lime_ui_KeyCode.NUMBER_3=51,lime_ui_KeyCode.NUMBER_4=52,lime_ui_KeyCode.NUMBER_5=53,lime_ui_KeyCode.NUMBER_6=54,lime_ui_KeyCode.NUMBER_7=55,lime_ui_KeyCode.NUMBER_8=56,lime_ui_KeyCode.NUMBER_9=57,lime_ui_KeyCode.COLON=58,lime_ui_KeyCode.SEMICOLON=59,lime_ui_KeyCode.LESS_THAN=60,lime_ui_KeyCode.EQUALS=61,lime_ui_KeyCode.GREATER_THAN=62,lime_ui_KeyCode.QUESTION=63,lime_ui_KeyCode.AT=64,lime_ui_KeyCode.LEFT_BRACKET=91,lime_ui_KeyCode.BACKSLASH=92,lime_ui_KeyCode.RIGHT_BRACKET=93,lime_ui_KeyCode.CARET=94,lime_ui_KeyCode.UNDERSCORE=95,lime_ui_KeyCode.GRAVE=96,lime_ui_KeyCode.A=97,lime_ui_KeyCode.B=98,lime_ui_KeyCode.C=99,lime_ui_KeyCode.D=100,lime_ui_KeyCode.E=101,lime_ui_KeyCode.F=102,lime_ui_KeyCode.G=103,lime_ui_KeyCode.H=104,lime_ui_KeyCode.I=105,lime_ui_KeyCode.J=106,lime_ui_KeyCode.K=107,lime_ui_KeyCode.L=108,lime_ui_KeyCode.M=109,lime_ui_KeyCode.N=110,lime_ui_KeyCode.O=111,lime_ui_KeyCode.P=112,lime_ui_KeyCode.Q=113,lime_ui_KeyCode.R=114,lime_ui_KeyCode.S=115,lime_ui_KeyCode.T=116,lime_ui_KeyCode.U=117,lime_ui_KeyCode.V=118,lime_ui_KeyCode.W=119,lime_ui_KeyCode.X=120,lime_ui_KeyCode.Y=121,lime_ui_KeyCode.Z=122,lime_ui_KeyCode.DELETE=127,lime_ui_KeyCode.CAPS_LOCK=1073741881,lime_ui_KeyCode.F1=1073741882,lime_ui_KeyCode.F2=1073741883,lime_ui_KeyCode.F3=1073741884,lime_ui_KeyCode.F4=1073741885,lime_ui_KeyCode.F5=1073741886,lime_ui_KeyCode.F6=1073741887,lime_ui_KeyCode.F7=1073741888,lime_ui_KeyCode.F8=1073741889,lime_ui_KeyCode.F9=1073741890,lime_ui_KeyCode.F10=1073741891,lime_ui_KeyCode.F11=1073741892,lime_ui_KeyCode.F12=1073741893,lime_ui_KeyCode.PRINT_SCREEN=1073741894,lime_ui_KeyCode.SCROLL_LOCK=1073741895,lime_ui_KeyCode.PAUSE=1073741896,lime_ui_KeyCode.INSERT=1073741897,lime_ui_KeyCode.HOME=1073741898,lime_ui_KeyCode.PAGE_UP=1073741899,lime_ui_KeyCode.END=1073741901,lime_ui_KeyCode.PAGE_DOWN=1073741902,lime_ui_KeyCode.RIGHT=1073741903,lime_ui_KeyCode.LEFT=1073741904,lime_ui_KeyCode.DOWN=1073741905,lime_ui_KeyCode.UP=1073741906,lime_ui_KeyCode.NUM_LOCK=1073741907,lime_ui_KeyCode.NUMPAD_DIVIDE=1073741908,lime_ui_KeyCode.NUMPAD_MULTIPLY=1073741909,lime_ui_KeyCode.NUMPAD_MINUS=1073741910,lime_ui_KeyCode.NUMPAD_PLUS=1073741911,lime_ui_KeyCode.NUMPAD_ENTER=1073741912,lime_ui_KeyCode.NUMPAD_1=1073741913,lime_ui_KeyCode.NUMPAD_2=1073741914,lime_ui_KeyCode.NUMPAD_3=1073741915,lime_ui_KeyCode.NUMPAD_4=1073741916,lime_ui_KeyCode.NUMPAD_5=1073741917,lime_ui_KeyCode.NUMPAD_6=1073741918,lime_ui_KeyCode.NUMPAD_7=1073741919,lime_ui_KeyCode.NUMPAD_8=1073741920,lime_ui_KeyCode.NUMPAD_9=1073741921,lime_ui_KeyCode.NUMPAD_0=1073741922,lime_ui_KeyCode.NUMPAD_PERIOD=1073741923,lime_ui_KeyCode.APPLICATION=1073741925,lime_ui_KeyCode.POWER=1073741926,lime_ui_KeyCode.NUMPAD_EQUALS=1073741927,lime_ui_KeyCode.F13=1073741928,lime_ui_KeyCode.F14=1073741929,lime_ui_KeyCode.F15=1073741930,lime_ui_KeyCode.F16=1073741931,lime_ui_KeyCode.F17=1073741932,lime_ui_KeyCode.F18=1073741933,lime_ui_KeyCode.F19=1073741934,lime_ui_KeyCode.F20=1073741935,lime_ui_KeyCode.F21=1073741936,lime_ui_KeyCode.F22=1073741937,lime_ui_KeyCode.F23=1073741938,lime_ui_KeyCode.F24=1073741939,lime_ui_KeyCode.EXECUTE=1073741940,lime_ui_KeyCode.HELP=1073741941,lime_ui_KeyCode.MENU=1073741942,lime_ui_KeyCode.SELECT=1073741943,lime_ui_KeyCode.STOP=1073741944,lime_ui_KeyCode.AGAIN=1073741945,lime_ui_KeyCode.UNDO=1073741946,lime_ui_KeyCode.CUT=1073741947,lime_ui_KeyCode.COPY=1073741948,lime_ui_KeyCode.PASTE=1073741949,lime_ui_KeyCode.FIND=1073741950,lime_ui_KeyCode.MUTE=1073741951,lime_ui_KeyCode.VOLUME_UP=1073741952,lime_ui_KeyCode.VOLUME_DOWN=1073741953,lime_ui_KeyCode.NUMPAD_COMMA=1073741957,lime_ui_KeyCode.ALT_ERASE=1073741977,lime_ui_KeyCode.SYSTEM_REQUEST=1073741978,lime_ui_KeyCode.CANCEL=1073741979,lime_ui_KeyCode.CLEAR=1073741980,lime_ui_KeyCode.PRIOR=1073741981,lime_ui_KeyCode.RETURN2=1073741982,lime_ui_KeyCode.SEPARATOR=1073741983,lime_ui_KeyCode.OUT=1073741984,lime_ui_KeyCode.OPER=1073741985,lime_ui_KeyCode.CLEAR_AGAIN=1073741986,lime_ui_KeyCode.CRSEL=1073741987,lime_ui_KeyCode.EXSEL=1073741988,lime_ui_KeyCode.NUMPAD_00=1073742e3,lime_ui_KeyCode.NUMPAD_000=1073742001,lime_ui_KeyCode.THOUSAND_SEPARATOR=1073742002,lime_ui_KeyCode.DECIMAL_SEPARATOR=1073742003,lime_ui_KeyCode.CURRENCY_UNIT=1073742004,lime_ui_KeyCode.CURRENCY_SUBUNIT=1073742005,lime_ui_KeyCode.NUMPAD_LEFT_PARENTHESIS=1073742006,lime_ui_KeyCode.NUMPAD_RIGHT_PARENTHESIS=1073742007,lime_ui_KeyCode.NUMPAD_LEFT_BRACE=1073742008,lime_ui_KeyCode.NUMPAD_RIGHT_BRACE=1073742009,lime_ui_KeyCode.NUMPAD_TAB=1073742010,lime_ui_KeyCode.NUMPAD_BACKSPACE=1073742011,lime_ui_KeyCode.NUMPAD_A=1073742012,lime_ui_KeyCode.NUMPAD_B=1073742013,lime_ui_KeyCode.NUMPAD_C=1073742014,lime_ui_KeyCode.NUMPAD_D=1073742015,lime_ui_KeyCode.NUMPAD_E=1073742016,lime_ui_KeyCode.NUMPAD_F=1073742017,lime_ui_KeyCode.NUMPAD_XOR=1073742018,lime_ui_KeyCode.NUMPAD_POWER=1073742019,lime_ui_KeyCode.NUMPAD_PERCENT=1073742020,lime_ui_KeyCode.NUMPAD_LESS_THAN=1073742021,lime_ui_KeyCode.NUMPAD_GREATER_THAN=1073742022,lime_ui_KeyCode.NUMPAD_AMPERSAND=1073742023,lime_ui_KeyCode.NUMPAD_DOUBLE_AMPERSAND=1073742024,lime_ui_KeyCode.NUMPAD_VERTICAL_BAR=1073742025,lime_ui_KeyCode.NUMPAD_DOUBLE_VERTICAL_BAR=1073742026,lime_ui_KeyCode.NUMPAD_COLON=1073742027,lime_ui_KeyCode.NUMPAD_HASH=1073742028,lime_ui_KeyCode.NUMPAD_SPACE=1073742029,lime_ui_KeyCode.NUMPAD_AT=1073742030,lime_ui_KeyCode.NUMPAD_EXCLAMATION=1073742031,lime_ui_KeyCode.NUMPAD_MEM_STORE=1073742032,lime_ui_KeyCode.NUMPAD_MEM_RECALL=1073742033,lime_ui_KeyCode.NUMPAD_MEM_CLEAR=1073742034,lime_ui_KeyCode.NUMPAD_MEM_ADD=1073742035,lime_ui_KeyCode.NUMPAD_MEM_SUBTRACT=1073742036,lime_ui_KeyCode.NUMPAD_MEM_MULTIPLY=1073742037,lime_ui_KeyCode.NUMPAD_MEM_DIVIDE=1073742038,lime_ui_KeyCode.NUMPAD_PLUS_MINUS=1073742039,lime_ui_KeyCode.NUMPAD_CLEAR=1073742040,lime_ui_KeyCode.NUMPAD_CLEAR_ENTRY=1073742041,lime_ui_KeyCode.NUMPAD_BINARY=1073742042,lime_ui_KeyCode.NUMPAD_OCTAL=1073742043,lime_ui_KeyCode.NUMPAD_DECIMAL=1073742044,lime_ui_KeyCode.NUMPAD_HEXADECIMAL=1073742045,lime_ui_KeyCode.LEFT_CTRL=1073742048,lime_ui_KeyCode.LEFT_SHIFT=1073742049,lime_ui_KeyCode.LEFT_ALT=1073742050,lime_ui_KeyCode.LEFT_META=1073742051,lime_ui_KeyCode.RIGHT_CTRL=1073742052,lime_ui_KeyCode.RIGHT_SHIFT=1073742053,lime_ui_KeyCode.RIGHT_ALT=1073742054,lime_ui_KeyCode.RIGHT_META=1073742055,lime_ui_KeyCode.MODE=1073742081,lime_ui_KeyCode.AUDIO_NEXT=1073742082,lime_ui_KeyCode.AUDIO_PREVIOUS=1073742083,lime_ui_KeyCode.AUDIO_STOP=1073742084,lime_ui_KeyCode.AUDIO_PLAY=1073742085,lime_ui_KeyCode.AUDIO_MUTE=1073742086,lime_ui_KeyCode.MEDIA_SELECT=1073742087,lime_ui_KeyCode.WWW=1073742088,lime_ui_KeyCode.MAIL=1073742089,lime_ui_KeyCode.CALCULATOR=1073742090,lime_ui_KeyCode.COMPUTER=1073742091,lime_ui_KeyCode.APP_CONTROL_SEARCH=1073742092,lime_ui_KeyCode.APP_CONTROL_HOME=1073742093,lime_ui_KeyCode.APP_CONTROL_BACK=1073742094,lime_ui_KeyCode.APP_CONTROL_FORWARD=1073742095,lime_ui_KeyCode.APP_CONTROL_STOP=1073742096,lime_ui_KeyCode.APP_CONTROL_REFRESH=1073742097,lime_ui_KeyCode.APP_CONTROL_BOOKMARKS=1073742098,lime_ui_KeyCode.BRIGHTNESS_DOWN=1073742099,lime_ui_KeyCode.BRIGHTNESS_UP=1073742100,lime_ui_KeyCode.DISPLAY_SWITCH=1073742101,lime_ui_KeyCode.BACKLIGHT_TOGGLE=1073742102,lime_ui_KeyCode.BACKLIGHT_DOWN=1073742103,lime_ui_KeyCode.BACKLIGHT_UP=1073742104,lime_ui_KeyCode.EJECT=1073742105,lime_ui_KeyCode.SLEEP=1073742106,lime_ui_KeyModifier.NONE=0,lime_ui_KeyModifier.LEFT_SHIFT=1,lime_ui_KeyModifier.RIGHT_SHIFT=2,lime_ui_KeyModifier.LEFT_CTRL=64,lime_ui_KeyModifier.RIGHT_CTRL=128,lime_ui_KeyModifier.LEFT_ALT=256,lime_ui_KeyModifier.RIGHT_ALT=512,lime_ui_KeyModifier.LEFT_META=1024,lime_ui_KeyModifier.RIGHT_META=2048,lime_ui_KeyModifier.NUM_LOCK=4096,lime_ui_KeyModifier.CAPS_LOCK=8192,lime_ui_KeyModifier.MODE=16384,lime_ui_KeyModifier.CTRL=192,lime_ui_KeyModifier.SHIFT=3,lime_ui_KeyModifier.ALT=768,lime_ui_KeyModifier.META=3072,lime_ui_ScanCode.UNKNOWN=0,lime_ui_ScanCode.BACKSPACE=42,lime_ui_ScanCode.TAB=43,lime_ui_ScanCode.RETURN=40,lime_ui_ScanCode.ESCAPE=41,lime_ui_ScanCode.SPACE=44,lime_ui_ScanCode.SINGLE_QUOTE=52,lime_ui_ScanCode.COMMA=54,lime_ui_ScanCode.MINUS=45,lime_ui_ScanCode.PERIOD=55,lime_ui_ScanCode.SLASH=56,lime_ui_ScanCode.NUMBER_0=39,lime_ui_ScanCode.NUMBER_1=30,lime_ui_ScanCode.NUMBER_2=31,lime_ui_ScanCode.NUMBER_3=32,lime_ui_ScanCode.NUMBER_4=33,lime_ui_ScanCode.NUMBER_5=34,lime_ui_ScanCode.NUMBER_6=35,lime_ui_ScanCode.NUMBER_7=36,lime_ui_ScanCode.NUMBER_8=37,lime_ui_ScanCode.NUMBER_9=38,lime_ui_ScanCode.SEMICOLON=51,lime_ui_ScanCode.EQUALS=46,lime_ui_ScanCode.LEFT_BRACKET=47,lime_ui_ScanCode.BACKSLASH=49,lime_ui_ScanCode.RIGHT_BRACKET=48,lime_ui_ScanCode.GRAVE=53,lime_ui_ScanCode.A=4,lime_ui_ScanCode.B=5,lime_ui_ScanCode.C=6,lime_ui_ScanCode.D=7,lime_ui_ScanCode.E=8,lime_ui_ScanCode.F=9,lime_ui_ScanCode.G=10,lime_ui_ScanCode.H=11,lime_ui_ScanCode.I=12,lime_ui_ScanCode.J=13,lime_ui_ScanCode.K=14,lime_ui_ScanCode.L=15,lime_ui_ScanCode.M=16,lime_ui_ScanCode.N=17,lime_ui_ScanCode.O=18,lime_ui_ScanCode.P=19,lime_ui_ScanCode.Q=20,lime_ui_ScanCode.R=21,lime_ui_ScanCode.S=22,lime_ui_ScanCode.T=23,lime_ui_ScanCode.U=24,lime_ui_ScanCode.V=25,lime_ui_ScanCode.W=26,lime_ui_ScanCode.X=27,lime_ui_ScanCode.Y=28,lime_ui_ScanCode.Z=29,lime_ui_ScanCode.DELETE=76,lime_ui_ScanCode.CAPS_LOCK=57,lime_ui_ScanCode.F1=58,lime_ui_ScanCode.F2=59,lime_ui_ScanCode.F3=60,lime_ui_ScanCode.F4=61,lime_ui_ScanCode.F5=62,lime_ui_ScanCode.F6=63,lime_ui_ScanCode.F7=64,lime_ui_ScanCode.F8=65,lime_ui_ScanCode.F9=66,lime_ui_ScanCode.F10=67,lime_ui_ScanCode.F11=68,lime_ui_ScanCode.F12=69,lime_ui_ScanCode.PRINT_SCREEN=70,lime_ui_ScanCode.SCROLL_LOCK=71,lime_ui_ScanCode.PAUSE=72,lime_ui_ScanCode.INSERT=73,lime_ui_ScanCode.HOME=74,lime_ui_ScanCode.PAGE_UP=75,lime_ui_ScanCode.END=77,lime_ui_ScanCode.PAGE_DOWN=78,lime_ui_ScanCode.RIGHT=79,lime_ui_ScanCode.LEFT=80,lime_ui_ScanCode.DOWN=81,lime_ui_ScanCode.UP=82,lime_ui_ScanCode.NUM_LOCK=83,lime_ui_ScanCode.NUMPAD_DIVIDE=84,lime_ui_ScanCode.NUMPAD_MULTIPLY=85,lime_ui_ScanCode.NUMPAD_MINUS=86,lime_ui_ScanCode.NUMPAD_PLUS=87,lime_ui_ScanCode.NUMPAD_ENTER=88,lime_ui_ScanCode.NUMPAD_1=89,lime_ui_ScanCode.NUMPAD_2=90,lime_ui_ScanCode.NUMPAD_3=91,lime_ui_ScanCode.NUMPAD_4=92,lime_ui_ScanCode.NUMPAD_5=93,lime_ui_ScanCode.NUMPAD_6=94,lime_ui_ScanCode.NUMPAD_7=95,lime_ui_ScanCode.NUMPAD_8=96,lime_ui_ScanCode.NUMPAD_9=97,lime_ui_ScanCode.NUMPAD_0=98,lime_ui_ScanCode.NUMPAD_PERIOD=99,lime_ui_ScanCode.APPLICATION=101,lime_ui_ScanCode.POWER=102,lime_ui_ScanCode.NUMPAD_EQUALS=103,lime_ui_ScanCode.F13=104,lime_ui_ScanCode.F14=105,lime_ui_ScanCode.F15=106,lime_ui_ScanCode.F16=107,lime_ui_ScanCode.F17=108,lime_ui_ScanCode.F18=109,lime_ui_ScanCode.F19=110,lime_ui_ScanCode.F20=111,lime_ui_ScanCode.F21=112,lime_ui_ScanCode.F22=113,lime_ui_ScanCode.F23=114,lime_ui_ScanCode.F24=115,lime_ui_ScanCode.EXECUTE=116,lime_ui_ScanCode.HELP=117,lime_ui_ScanCode.MENU=118,lime_ui_ScanCode.SELECT=119,lime_ui_ScanCode.STOP=120,lime_ui_ScanCode.AGAIN=121,lime_ui_ScanCode.UNDO=122,lime_ui_ScanCode.CUT=123,lime_ui_ScanCode.COPY=124,lime_ui_ScanCode.PASTE=125,lime_ui_ScanCode.FIND=126,lime_ui_ScanCode.MUTE=127,lime_ui_ScanCode.VOLUME_UP=128,lime_ui_ScanCode.VOLUME_DOWN=129,lime_ui_ScanCode.NUMPAD_COMMA=133,lime_ui_ScanCode.ALT_ERASE=153,lime_ui_ScanCode.SYSTEM_REQUEST=154,lime_ui_ScanCode.CANCEL=155,lime_ui_ScanCode.CLEAR=156,lime_ui_ScanCode.PRIOR=157,lime_ui_ScanCode.RETURN2=158,lime_ui_ScanCode.SEPARATOR=159,lime_ui_ScanCode.OUT=160,lime_ui_ScanCode.OPER=161,lime_ui_ScanCode.CLEAR_AGAIN=162,lime_ui_ScanCode.CRSEL=163,lime_ui_ScanCode.EXSEL=164,lime_ui_ScanCode.NUMPAD_00=176,lime_ui_ScanCode.NUMPAD_000=177,lime_ui_ScanCode.THOUSAND_SEPARATOR=178,lime_ui_ScanCode.DECIMAL_SEPARATOR=179,lime_ui_ScanCode.CURRENCY_UNIT=180,lime_ui_ScanCode.CURRENCY_SUBUNIT=181,lime_ui_ScanCode.NUMPAD_LEFT_PARENTHESIS=182,lime_ui_ScanCode.NUMPAD_RIGHT_PARENTHESIS=183,lime_ui_ScanCode.NUMPAD_LEFT_BRACE=184,lime_ui_ScanCode.NUMPAD_RIGHT_BRACE=185,lime_ui_ScanCode.NUMPAD_TAB=186,lime_ui_ScanCode.NUMPAD_BACKSPACE=187,lime_ui_ScanCode.NUMPAD_A=188,lime_ui_ScanCode.NUMPAD_B=189,lime_ui_ScanCode.NUMPAD_C=190,lime_ui_ScanCode.NUMPAD_D=191,lime_ui_ScanCode.NUMPAD_E=192,lime_ui_ScanCode.NUMPAD_F=193,lime_ui_ScanCode.NUMPAD_XOR=194,lime_ui_ScanCode.NUMPAD_POWER=195,lime_ui_ScanCode.NUMPAD_PERCENT=196,lime_ui_ScanCode.NUMPAD_LESS_THAN=197,lime_ui_ScanCode.NUMPAD_GREATER_THAN=198,lime_ui_ScanCode.NUMPAD_AMPERSAND=199,lime_ui_ScanCode.NUMPAD_DOUBLE_AMPERSAND=200,lime_ui_ScanCode.NUMPAD_VERTICAL_BAR=201,lime_ui_ScanCode.NUMPAD_DOUBLE_VERTICAL_BAR=202,lime_ui_ScanCode.NUMPAD_COLON=203,lime_ui_ScanCode.NUMPAD_HASH=204,lime_ui_ScanCode.NUMPAD_SPACE=205,lime_ui_ScanCode.NUMPAD_AT=206,lime_ui_ScanCode.NUMPAD_EXCLAMATION=207,lime_ui_ScanCode.NUMPAD_MEM_STORE=208,lime_ui_ScanCode.NUMPAD_MEM_RECALL=209,lime_ui_ScanCode.NUMPAD_MEM_CLEAR=210,lime_ui_ScanCode.NUMPAD_MEM_ADD=211,lime_ui_ScanCode.NUMPAD_MEM_SUBTRACT=212,lime_ui_ScanCode.NUMPAD_MEM_MULTIPLY=213,lime_ui_ScanCode.NUMPAD_MEM_DIVIDE=214,lime_ui_ScanCode.NUMPAD_PLUS_MINUS=215,lime_ui_ScanCode.NUMPAD_CLEAR=216,lime_ui_ScanCode.NUMPAD_CLEAR_ENTRY=217,lime_ui_ScanCode.NUMPAD_BINARY=218,lime_ui_ScanCode.NUMPAD_OCTAL=219,lime_ui_ScanCode.NUMPAD_DECIMAL=220,lime_ui_ScanCode.NUMPAD_HEXADECIMAL=221,lime_ui_ScanCode.LEFT_CTRL=224,lime_ui_ScanCode.LEFT_SHIFT=225,lime_ui_ScanCode.LEFT_ALT=226,lime_ui_ScanCode.LEFT_META=227,lime_ui_ScanCode.RIGHT_CTRL=228,lime_ui_ScanCode.RIGHT_SHIFT=229,lime_ui_ScanCode.RIGHT_ALT=230,lime_ui_ScanCode.RIGHT_META=231,lime_ui_ScanCode.MODE=257,lime_ui_ScanCode.AUDIO_NEXT=258,lime_ui_ScanCode.AUDIO_PREVIOUS=259,lime_ui_ScanCode.AUDIO_STOP=260,lime_ui_ScanCode.AUDIO_PLAY=261,lime_ui_ScanCode.AUDIO_MUTE=262,lime_ui_ScanCode.MEDIA_SELECT=263,lime_ui_ScanCode.WWW=264,lime_ui_ScanCode.MAIL=265,lime_ui_ScanCode.CALCULATOR=266,lime_ui_ScanCode.COMPUTER=267,lime_ui_ScanCode.APP_CONTROL_SEARCH=268,lime_ui_ScanCode.APP_CONTROL_HOME=269,lime_ui_ScanCode.APP_CONTROL_BACK=270,lime_ui_ScanCode.APP_CONTROL_FORWARD=271,lime_ui_ScanCode.APP_CONTROL_STOP=272,lime_ui_ScanCode.APP_CONTROL_REFRESH=273,lime_ui_ScanCode.APP_CONTROL_BOOKMARKS=274,lime_ui_ScanCode.BRIGHTNESS_DOWN=275,lime_ui_ScanCode.BRIGHTNESS_UP=276,lime_ui_ScanCode.DISPLAY_SWITCH=277,lime_ui_ScanCode.BACKLIGHT_TOGGLE=278,lime_ui_ScanCode.BACKLIGHT_DOWN=279,lime_ui_ScanCode.BACKLIGHT_UP=280,lime_ui_ScanCode.EJECT=281,lime_ui_ScanCode.SLEEP=282,lime_ui_Touch.onCancel=new lime_app__$Event_$lime_$ui_$Touch_$Void,lime_ui_Touch.onEnd=new lime_app__$Event_$lime_$ui_$Touch_$Void,lime_ui_Touch.onMove=new lime_app__$Event_$lime_$ui_$Touch_$Void,lime_ui_Touch.onStart=new lime_app__$Event_$lime_$ui_$Touch_$Void,lime_utils_Assets.cache=new lime_utils_AssetCache,lime_utils_Assets.onChange=new lime_app__$Event_$Void_$Void,lime_utils_Assets.bundlePaths=new haxe_ds_StringMap,lime_utils_Assets.libraries=new haxe_ds_StringMap,lime_utils_Assets.libraryPaths=new haxe_ds_StringMap,lime_utils_Float32Array.BYTES_PER_ELEMENT=4,lime_utils_Float64Array.BYTES_PER_ELEMENT=8,lime_utils_Int16Array.BYTES_PER_ELEMENT=2,lime_utils_Int32Array.BYTES_PER_ELEMENT=4,lime_utils_Int8Array.BYTES_PER_ELEMENT=1,lime_utils_Log.throwErrors=!0,lime_utils_LogLevel.NONE=0,lime_utils_LogLevel.ERROR=1,lime_utils_LogLevel.WARN=2,lime_utils_LogLevel.INFO=3,lime_utils_LogLevel.DEBUG=4,lime_utils_LogLevel.VERBOSE=5,lime_utils_UInt16Array.BYTES_PER_ELEMENT=2,lime_utils_UInt32Array.BYTES_PER_ELEMENT=4,lime_utils_UInt8Array.BYTES_PER_ELEMENT=1,lime_utils_UInt8ClampedArray.BYTES_PER_ELEMENT=1,openfl_Lib.__lastTimerID=0,openfl_Lib.__sentWarnings=new haxe_ds_StringMap,openfl_Lib.__timers=new haxe_ds_IntMap,openfl__$Vector_IVector.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl__$Vector_BoolVector.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{toJSON:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl__$Vector_FloatVector.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{toJSON:{SuppressWarnings:["checkstyle:Dynamic"]},_:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl__$Vector_FunctionVector.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{toJSON:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl__$Vector_IntVector.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{toJSON:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl__$Vector_ObjectVector.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{concat:{SuppressWarnings:["checkstyle:Dynamic"]},toJSON:{SuppressWarnings:["checkstyle:Dynamic"]},_:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl__$internal_Lib.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},statics:{notImplemented:{SuppressWarnings:["checkstyle:NullableParameter"]}}},openfl__$internal_Lib.__sentWarnings=new haxe_ds_StringMap,openfl__$internal_formats_html_HTMLParser.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl__$internal_formats_html_HTMLParser.__regexAlign=new EReg("align\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexBreakTag=new EReg("<br\\s*/?>","gi"),openfl__$internal_formats_html_HTMLParser.__regexBlockIndent=new EReg("blockindent\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexColor=new EReg("color\\s?=\\s?(\"#([^\"]+)\"|'#([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexEntities=[new EReg("&quot;","g"),new EReg("&apos;","g"),new EReg("&amp;","g"),new EReg("&lt;","g"),new EReg("&gt;","g"),new EReg("&nbsp;","g")],openfl__$internal_formats_html_HTMLParser.__regexFace=new EReg("face\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexHTMLTag=new EReg("<.*?>","g"),openfl__$internal_formats_html_HTMLParser.__regexHref=new EReg("href\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexIndent=new EReg(" indent\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexLeading=new EReg("leading\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexLeftMargin=new EReg("leftmargin\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexRightMargin=new EReg("rightmargin\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexSize=new EReg("size\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_formats_html_HTMLParser.__regexTabStops=new EReg("tabstops\\s?=\\s?(\"([^\"]+)\"|'([^']+)')","i"),openfl__$internal_utils_TouchData.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{touch:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl__$internal_utils_TouchData.__pool=new lime_utils_ObjectPool(function(){return new openfl__$internal_utils_TouchData},function(e){e.reset()}),openfl_display_Application.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display_BlendMode.ADD=0,openfl_display_BlendMode.ALPHA=1,openfl_display_BlendMode.DARKEN=2,openfl_display_BlendMode.DIFFERENCE=3,openfl_display_BlendMode.ERASE=4,openfl_display_BlendMode.HARDLIGHT=5,openfl_display_BlendMode.INVERT=6,openfl_display_BlendMode.LAYER=7,openfl_display_BlendMode.LIGHTEN=8,openfl_display_BlendMode.MULTIPLY=9,openfl_display_BlendMode.NORMAL=10,openfl_display_BlendMode.OVERLAY=11,openfl_display_BlendMode.SCREEN=12,openfl_display_BlendMode.SHADER=13,openfl_display_BlendMode.SUBTRACT=14,openfl_display_DisplayObjectRenderer.__meta__={fields:{__context:{SuppressWarnings:["checkstyle:Dynamic"]},__type:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_CairoRenderer.__meta__={fields:{cairo:{SuppressWarnings:["checkstyle:Dynamic"]},__matrix3:{SuppressWarnings:["checkstyle:Dynamic"]},applyMatrix:{SuppressWarnings:["checkstyle:Dynamic"]},__setBlendModeCairo:{SuppressWarnings:["checkstyle:Dynamic"]},_:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_CanvasRenderer.__meta__={fields:{context:{SuppressWarnings:["checkstyle:Dynamic"]},applySmoothing:{SuppressWarnings:["checkstyle:Dynamic"]},setTransform:{SuppressWarnings:["checkstyle:Dynamic"]},__setBlendModeContext:{SuppressWarnings:["checkstyle:Dynamic"]},_:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_CapsStyle.NONE=0,openfl_display_CapsStyle.ROUND=1,openfl_display_CapsStyle.SQUARE=2,openfl_display_DOMRenderer.__meta__={fields:{element:{SuppressWarnings:["checkstyle:Dynamic"]},applyStyle:{SuppressWarnings:["checkstyle:Dynamic"]},clearStyle:{SuppressWarnings:["checkstyle:Dynamic"]},_:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_text_TextField.__missingFontWarning=new haxe_ds_StringMap,openfl_display_GradientType.LINEAR=0,openfl_display_GradientType.RADIAL=1,openfl_display_Graphics.__meta__={fields:{overrideBlendMode:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_display_Graphics.maxTextureHeight=null,openfl_display_Graphics.maxTextureWidth=null,openfl_display_GraphicsPath.SIN45=.7071067811865476,openfl_display_GraphicsPath.TAN22=.41421356237309503,openfl_display_GraphicsPathWinding.EVEN_ODD=0,openfl_display_GraphicsPathWinding.NON_ZERO=1,openfl_display_InterpolationMethod.LINEAR_RGB=0,openfl_display_InterpolationMethod.RGB=1,openfl_display_JointStyle.BEVEL=0,openfl_display_JointStyle.MITER=1,openfl_display_JointStyle.ROUND=2,openfl_display_LineScaleMode.HORIZONTAL=0,openfl_display_LineScaleMode.NONE=1,openfl_display_LineScaleMode.NORMAL=2,openfl_display_LineScaleMode.VERTICAL=3,openfl_display_Loader.__meta__={fields:{BitmapData_onError:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_LoaderInfo.__meta__={statics:{create:{SuppressWarnings:["checkstyle:FieldDocComment"]}},fields:{parameters:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_LoaderInfo.__rootURL="undefined"!=typeof window?window.document.URL:"",openfl_display_OpenGLRenderer.__meta__={fields:{gl:{SuppressWarnings:["checkstyle:Dynamic"]},__gl:{SuppressWarnings:["checkstyle:Dynamic"]},__matrix:{SuppressWarnings:["checkstyle:Dynamic"]},__projection:{SuppressWarnings:["checkstyle:Dynamic"]},__projectionFlipped:{SuppressWarnings:["checkstyle:Dynamic"]},getMatrix:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_OpenGLRenderer.__alphaValue=[1],openfl_display_OpenGLRenderer.__colorMultipliersValue=[0,0,0,0],openfl_display_OpenGLRenderer.__colorOffsetsValue=[0,0,0,0],openfl_display_OpenGLRenderer.__defaultColorMultipliersValue=[1,1,1,1],openfl_display_OpenGLRenderer.__emptyColorValue=[0,0,0,0],openfl_display_OpenGLRenderer.__emptyAlphaValue=[1],openfl_display_OpenGLRenderer.__hasColorTransformValue=[!1],openfl_display_OpenGLRenderer.__scissorRectangle=new openfl_geom_Rectangle,openfl_display_OpenGLRenderer.__textureSizeValue=[0,0],openfl_display_PixelSnapping.ALWAYS=0,openfl_display_PixelSnapping.AUTO=1,openfl_display_PixelSnapping.NEVER=2,openfl_display_Preloader.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{onComplete:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_DefaultPreloader.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display_ShaderInput.__meta__={fields:{index:{SuppressWarnings:["checkstyle:Dynamic"]},name:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_display_ShaderParameter.__meta__={fields:{index:{SuppressWarnings:["checkstyle:Dynamic"]},name:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_display_ShaderParameterType.BOOL=0,openfl_display_ShaderParameterType.BOOL2=1,openfl_display_ShaderParameterType.BOOL3=2,openfl_display_ShaderParameterType.BOOL4=3,openfl_display_ShaderParameterType.FLOAT=4,openfl_display_ShaderParameterType.FLOAT2=5,openfl_display_ShaderParameterType.FLOAT3=6,openfl_display_ShaderParameterType.FLOAT4=7,openfl_display_ShaderParameterType.INT=8,openfl_display_ShaderParameterType.INT2=9,openfl_display_ShaderParameterType.INT3=10,openfl_display_ShaderParameterType.INT4=11,openfl_display_ShaderParameterType.MATRIX2X2=12,openfl_display_ShaderParameterType.MATRIX2X3=13,openfl_display_ShaderParameterType.MATRIX2X4=14,openfl_display_ShaderParameterType.MATRIX3X2=15,openfl_display_ShaderParameterType.MATRIX3X3=16,openfl_display_ShaderParameterType.MATRIX3X4=17,openfl_display_ShaderParameterType.MATRIX4X2=18,openfl_display_ShaderParameterType.MATRIX4X3=19,openfl_display_ShaderParameterType.MATRIX4X4=20,openfl_display_ShaderPrecision.FAST=0,openfl_display_ShaderPrecision.FULL=1,openfl_display_SpreadMethod.PAD=0,openfl_display_SpreadMethod.REFLECT=1,openfl_display_SpreadMethod.REPEAT=2,openfl_display_Stage.__meta__={fields:{__broadcastEvent:{SuppressWarnings:["checkstyle:Dynamic"]},__dispatchEvent:{SuppressWarnings:[["checkstyle:Dynamic","checkstyle:LeftCurly"]]},__dispatchStack:{SuppressWarnings:[["checkstyle:Dynamic","checkstyle:LeftCurly"]]},__dispatchTarget:{SuppressWarnings:["checkstyle:Dynamic"]},__handleError:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display_StageAlign.BOTTOM=0,openfl_display_StageAlign.BOTTOM_LEFT=1,openfl_display_StageAlign.BOTTOM_RIGHT=2,openfl_display_StageAlign.LEFT=3,openfl_display_StageAlign.RIGHT=4,openfl_display_StageAlign.TOP=5,openfl_display_StageAlign.TOP_LEFT=6,openfl_display_StageAlign.TOP_RIGHT=7,openfl_display_StageDisplayState.FULL_SCREEN=0,openfl_display_StageDisplayState.FULL_SCREEN_INTERACTIVE=1,openfl_display_StageDisplayState.NORMAL=2,openfl_display_StageQuality.BEST=0,openfl_display_StageQuality.HIGH=1,openfl_display_StageQuality.LOW=2,openfl_display_StageQuality.MEDIUM=3,openfl_display_StageScaleMode.EXACT_FIT=0,openfl_display_StageScaleMode.NO_BORDER=1,openfl_display_StageScaleMode.NO_SCALE=2,openfl_display_StageScaleMode.SHOW_ALL=3,openfl_display_TriangleCulling.NEGATIVE=0,openfl_display_TriangleCulling.NONE=1,openfl_display_TriangleCulling.POSITIVE=2,openfl_display_Window.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{_:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display__$internal_AbstractNoise.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CairoBitmap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CairoDisplayObject.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CairoGraphics.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CairoTextField.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CanvasBitmap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CanvasDisplayObject.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_DrawCommandBuffer.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{o:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display__$internal_DrawCommandBuffer.empty=new openfl_display__$internal_DrawCommandBuffer,openfl_display__$internal_CanvasGraphics.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},statics:{windingRule:{SuppressWarnings:["checkstyle:Dynamic"]},createBitmapFill:{SuppressWarnings:["checkstyle:Dynamic"]},createGradientPattern:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display__$internal_CanvasGraphics.SIN45=.7071067811865476,openfl_display__$internal_CanvasGraphics.TAN22=.41421356237309503,openfl_display__$internal_CanvasGraphics.fillCommands=new openfl_display__$internal_DrawCommandBuffer,openfl_display__$internal_CanvasGraphics.strokeCommands=new openfl_display__$internal_DrawCommandBuffer,openfl_display__$internal_CanvasShape.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_CanvasTextField.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_Context3DBitmap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_Context3DBuffer.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_Context3DBuffer.MAX_INDEX_BUFFER_LENGTH=65535,openfl_display__$internal_Context3DBuffer.MAX_QUADS_PER_INDEX_BUFFER=10922,openfl_display__$internal_Context3DBuffer.MAX_QUAD_INDEX_BUFFER_LENGTH=65532,openfl_display__$internal_Context3DDisplayObject.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_Context3DGraphics.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_Context3DGraphics.blankBitmapData=new openfl_display_BitmapData(1,1,!1,0),openfl_display__$internal_Context3DGraphics.tempColorTransform=new openfl_geom_ColorTransform(1,1,1,1,0,0,0,0),openfl_display__$internal_Context3DMaskShader.opaqueBitmapData=new openfl_display_BitmapData(1,1,!1,0),openfl_display__$internal_Context3DShape.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_Context3DTextField.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_DOMBitmap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}};openfl_display__$internal_DOMDisplayObject.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_DOMShape.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_DOMTextField.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_DOMTextField.__regexColor=new EReg("color=(\"#([^\"]+)\"|'#([^']+)')","i"),openfl_display__$internal_DOMTextField.__regexFace=new EReg("face=(\"([^\"]+)\"|'([^']+)')","i"),openfl_display__$internal_DOMTextField.__regexFont=new EReg("<font ([^>]+)>","gi"),openfl_display__$internal_DOMTextField.__regexCloseFont=new EReg("</font>","gi"),openfl_display__$internal_DOMTextField.__regexSize=new EReg("size=(\"([^\"]+)\"|'([^']+)')","i"),openfl_display__$internal_DrawCommandReader.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{obj:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display__$internal_PerlinNoise.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},statics:{P:{SuppressWarnings:["checkstyle:ConstantName"]}}},openfl_display__$internal_PerlinNoise.P=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180,151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180],openfl_display__$internal_SamplerState.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display__$internal_ShaderBuffer.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{overrideIntValues:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display3D_Context3D.supportsVideoTexture=!0,openfl_display3D_Context3D.__glDepthStencil=-1,openfl_display3D_Context3D.__glMaxTextureMaxAnisotropy=-1,openfl_display3D_Context3D.__glMaxViewportDims=-1,openfl_display3D_Context3D.__glMemoryCurrentAvailable=-1,openfl_display3D_Context3D.__glMemoryTotalAvailable=-1,openfl_display3D_Context3D.__glTextureMaxAnisotropy=-1,openfl_display3D_Context3DBlendFactor.DESTINATION_ALPHA=0,openfl_display3D_Context3DBlendFactor.DESTINATION_COLOR=1,openfl_display3D_Context3DBlendFactor.ONE=2,openfl_display3D_Context3DBlendFactor.ONE_MINUS_DESTINATION_ALPHA=3,openfl_display3D_Context3DBlendFactor.ONE_MINUS_DESTINATION_COLOR=4,openfl_display3D_Context3DBlendFactor.ONE_MINUS_SOURCE_ALPHA=5,openfl_display3D_Context3DBlendFactor.ONE_MINUS_SOURCE_COLOR=6,openfl_display3D_Context3DBlendFactor.SOURCE_ALPHA=7,openfl_display3D_Context3DBlendFactor.SOURCE_COLOR=8,openfl_display3D_Context3DBlendFactor.ZERO=9,openfl_display3D_Context3DBufferUsage.DYNAMIC_DRAW=0,openfl_display3D_Context3DBufferUsage.STATIC_DRAW=1,openfl_display3D_Context3DCompareMode.ALWAYS=0,openfl_display3D_Context3DCompareMode.EQUAL=1,openfl_display3D_Context3DCompareMode.GREATER=2,openfl_display3D_Context3DCompareMode.GREATER_EQUAL=3,openfl_display3D_Context3DCompareMode.LESS=4,openfl_display3D_Context3DCompareMode.LESS_EQUAL=5,openfl_display3D_Context3DCompareMode.NEVER=6,openfl_display3D_Context3DCompareMode.NOT_EQUAL=7,openfl_display3D_Context3DMipFilter.MIPLINEAR=0,openfl_display3D_Context3DMipFilter.MIPNEAREST=1,openfl_display3D_Context3DMipFilter.MIPNONE=2,openfl_display3D_Context3DProfile.BASELINE=0,openfl_display3D_Context3DProfile.BASELINE_CONSTRAINED=1,openfl_display3D_Context3DProfile.BASELINE_EXTENDED=2,openfl_display3D_Context3DProfile.STANDARD=3,openfl_display3D_Context3DProfile.STANDARD_CONSTRAINED=4,openfl_display3D_Context3DProfile.STANDARD_EXTENDED=5,openfl_display3D_Context3DProgramFormat.AGAL=0,openfl_display3D_Context3DProgramFormat.GLSL=1,openfl_display3D_Context3DProgramType.FRAGMENT=0,openfl_display3D_Context3DProgramType.VERTEX=1,openfl_display3D_Context3DRenderMode.AUTO=0,openfl_display3D_Context3DRenderMode.SOFTWARE=1,openfl_display3D_Context3DStencilAction.DECREMENT_SATURATE=0,openfl_display3D_Context3DStencilAction.DECREMENT_WRAP=1,openfl_display3D_Context3DStencilAction.INCREMENT_SATURATE=2,openfl_display3D_Context3DStencilAction.INCREMENT_WRAP=3,openfl_display3D_Context3DStencilAction.INVERT=4,openfl_display3D_Context3DStencilAction.KEEP=5,openfl_display3D_Context3DStencilAction.SET=6,openfl_display3D_Context3DStencilAction.ZERO=7,openfl_display3D_Context3DTextureFilter.ANISOTROPIC16X=0,openfl_display3D_Context3DTextureFilter.ANISOTROPIC2X=1,openfl_display3D_Context3DTextureFilter.ANISOTROPIC4X=2,openfl_display3D_Context3DTextureFilter.ANISOTROPIC8X=3,openfl_display3D_Context3DTextureFilter.LINEAR=4,openfl_display3D_Context3DTextureFilter.NEAREST=5,openfl_display3D_Context3DTextureFormat.BGR_PACKED=0,openfl_display3D_Context3DTextureFormat.BGRA=1,openfl_display3D_Context3DTextureFormat.BGRA_PACKED=2,openfl_display3D_Context3DTextureFormat.COMPRESSED=3,openfl_display3D_Context3DTextureFormat.COMPRESSED_ALPHA=4,openfl_display3D_Context3DTextureFormat.RGBA_HALF_FLOAT=5,openfl_display3D_Context3DTriangleFace.BACK=0,openfl_display3D_Context3DTriangleFace.FRONT=1,openfl_display3D_Context3DTriangleFace.FRONT_AND_BACK=2,openfl_display3D_Context3DTriangleFace.NONE=3,openfl_display3D_Context3DVertexBufferFormat.BYTES_4=0,openfl_display3D_Context3DVertexBufferFormat.FLOAT_1=1,openfl_display3D_Context3DVertexBufferFormat.FLOAT_2=2,openfl_display3D_Context3DVertexBufferFormat.FLOAT_3=3,openfl_display3D_Context3DVertexBufferFormat.FLOAT_4=4,openfl_display3D_Context3DWrapMode.CLAMP=0,openfl_display3D_Context3DWrapMode.CLAMP_U_REPEAT_V=1,openfl_display3D_Context3DWrapMode.REPEAT=2,openfl_display3D_Context3DWrapMode.REPEAT_U_CLAMP_V=3,openfl_display3D_Uniform.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D_UniformMap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_Context3DState.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_agal_AGALConverter.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_agal_AGALConverter.limitedProfile=!0,openfl_display3D__$internal_agal__$AGALConverter_DestRegister.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_agal_RegisterMap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_agal__$AGALConverter_SamplerRegister.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_agal__$AGALConverter_SourceRegister.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D__$internal_atf_ATFReader.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_display3D_textures_TextureBase.__meta__={fields:{__textureContext:{SuppressWarnings:["checkstyle:Dynamic"]},__getGLFramebuffer:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_display3D_textures_TextureBase.__supportsBGRA=null,openfl_display3D_textures_Texture.__lowMemoryMode=!1,openfl_errors_Error.DEFAULT_TO_STRING="Error",openfl_events_Event.ACTIVATE="activate",openfl_events_Event.ADDED="added",openfl_events_Event.ADDED_TO_STAGE="addedToStage",openfl_events_Event.CANCEL="cancel",openfl_events_Event.CHANGE="change",openfl_events_Event.CLEAR="clear",openfl_events_Event.CLOSE="close",openfl_events_Event.COMPLETE="complete",openfl_events_Event.CONNECT="connect",openfl_events_Event.CONTEXT3D_CREATE="context3DCreate",openfl_events_Event.COPY="copy",openfl_events_Event.CUT="cut",openfl_events_Event.DEACTIVATE="deactivate",openfl_events_Event.ENTER_FRAME="enterFrame",openfl_events_Event.EXIT_FRAME="exitFrame",openfl_events_Event.FRAME_CONSTRUCTED="frameConstructed",openfl_events_Event.FRAME_LABEL="frameLabel",openfl_events_Event.FULLSCREEN="fullScreen",openfl_events_Event.ID3="id3",openfl_events_Event.INIT="init",openfl_events_Event.MOUSE_LEAVE="mouseLeave",openfl_events_Event.OPEN="open",openfl_events_Event.PASTE="paste",openfl_events_Event.REMOVED="removed",openfl_events_Event.REMOVED_FROM_STAGE="removedFromStage",openfl_events_Event.RENDER="render",openfl_events_Event.RESIZE="resize",openfl_events_Event.SCROLL="scroll",openfl_events_Event.SELECT="select",openfl_events_Event.SELECT_ALL="selectAll",openfl_events_Event.SOUND_COMPLETE="soundComplete",openfl_events_Event.TAB_CHILDREN_CHANGE="tabChildrenChange",openfl_events_Event.TAB_ENABLED_CHANGE="tabEnabledChange",openfl_events_Event.TAB_INDEX_CHANGE="tabIndexChange",openfl_events_Event.TEXTURE_READY="textureReady",openfl_events_Event.UNLOAD="unload",openfl_events_AccelerometerEvent.UPDATE="update",openfl_events_ActivityEvent.ACTIVITY="activity",openfl_events_TextEvent.LINK="link",openfl_events_TextEvent.TEXT_INPUT="textInput",openfl_events_ErrorEvent.ERROR="error",openfl_events__$EventDispatcher_DispatchIterator.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_events__$EventDispatcher_Listener.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_events_FocusEvent.FOCUS_IN="focusIn",openfl_events_FocusEvent.FOCUS_OUT="focusOut",openfl_events_FocusEvent.KEY_FOCUS_CHANGE="keyFocusChange",openfl_events_FocusEvent.MOUSE_FOCUS_CHANGE="mouseFocusChange",openfl_events_FullScreenEvent.FULL_SCREEN="fullScreen",openfl_events_FullScreenEvent.FULL_SCREEN_INTERACTIVE_ACCEPTED="fullScreenInteractiveAccepted",openfl_events_GameInputEvent.DEVICE_ADDED="deviceAdded",openfl_events_GameInputEvent.DEVICE_REMOVED="deviceRemoved",openfl_events_GameInputEvent.DEVICE_UNUSABLE="deviceUnusable",openfl_events_HTTPStatusEvent.HTTP_RESPONSE_STATUS="httpResponseStatus",openfl_events_HTTPStatusEvent.HTTP_STATUS="httpStatus",openfl_events_IOErrorEvent.IO_ERROR="ioError",openfl_events_KeyboardEvent.KEY_DOWN="keyDown",openfl_events_KeyboardEvent.KEY_UP="keyUp",openfl_events_MouseEvent.CLICK="click",openfl_events_MouseEvent.DOUBLE_CLICK="doubleClick",openfl_events_MouseEvent.MIDDLE_CLICK="middleClick",openfl_events_MouseEvent.MIDDLE_MOUSE_DOWN="middleMouseDown",openfl_events_MouseEvent.MIDDLE_MOUSE_UP="middleMouseUp",openfl_events_MouseEvent.MOUSE_DOWN="mouseDown",openfl_events_MouseEvent.MOUSE_MOVE="mouseMove",openfl_events_MouseEvent.MOUSE_OUT="mouseOut",openfl_events_MouseEvent.MOUSE_OVER="mouseOver",openfl_events_MouseEvent.MOUSE_UP="mouseUp",openfl_events_MouseEvent.MOUSE_WHEEL="mouseWheel",openfl_events_MouseEvent.RELEASE_OUTSIDE="releaseOutside",openfl_events_MouseEvent.RIGHT_CLICK="rightClick",openfl_events_MouseEvent.RIGHT_MOUSE_DOWN="rightMouseDown",openfl_events_MouseEvent.RIGHT_MOUSE_UP="rightMouseUp",openfl_events_MouseEvent.ROLL_OUT="rollOut",openfl_events_MouseEvent.ROLL_OVER="rollOver",openfl_events_NetStatusEvent.NET_STATUS="netStatus",openfl_events_ProgressEvent.PROGRESS="progress",openfl_events_ProgressEvent.SOCKET_DATA="socketData",openfl_events_RenderEvent.CLEAR_DOM="clearDOM",openfl_events_RenderEvent.RENDER_CAIRO="renderCairo",openfl_events_RenderEvent.RENDER_CANVAS="renderCanvas",openfl_events_RenderEvent.RENDER_DOM="renderDOM",openfl_events_RenderEvent.RENDER_OPENGL="renderOpenGL",openfl_events_SecurityErrorEvent.SECURITY_ERROR="securityError",openfl_events_TouchEvent.__meta__={fields:{delta:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_events_TouchEvent.TOUCH_BEGIN="touchBegin",openfl_events_TouchEvent.TOUCH_END="touchEnd",openfl_events_TouchEvent.TOUCH_MOVE="touchMove",openfl_events_TouchEvent.TOUCH_OUT="touchOut",openfl_events_TouchEvent.TOUCH_OVER="touchOver",openfl_events_TouchEvent.TOUCH_ROLL_OUT="touchRollOut",openfl_events_TouchEvent.TOUCH_ROLL_OVER="touchRollOver",openfl_events_TouchEvent.TOUCH_TAP="touchTap",openfl_events_UncaughtErrorEvent.UNCAUGHT_ERROR="uncaughtError",openfl_filters_ShaderFilter.__meta__={fields:{blendMode:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_geom_Matrix3D.__meta__={statics:{create2D:{SuppressWarnings:["checkstyle:FieldDocComment"]},createABCD:{SuppressWarnings:["checkstyle:FieldDocComment"]},createOrtho:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_geom_Orientation3D.AXIS_ANGLE=0,openfl_geom_Orientation3D.EULER_ANGLES=1,openfl_geom_Orientation3D.QUATERNION=2,openfl_media_SoundTransform.__meta__={fields:{clone:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_media_SoundMixer.MAX_ACTIVE_CHANNELS=32,openfl_media_SoundMixer.__soundChannels=[],openfl_media_SoundMixer.__soundTransform=new openfl_media_SoundTransform,openfl_net_NetConnection.__meta__={statics:{CONNECT_SUCCESS:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_net_NetConnection.CONNECT_SUCCESS="NetConnection.Connect.Success",openfl_net_NetStream.__meta__={fields:{audioCodec:{SuppressWarnings:["checkstyle:FieldDocComment"]},decodedFrames:{SuppressWarnings:["checkstyle:FieldDocComment"]},speed:{SuppressWarnings:["checkstyle:FieldDocComment"]},requestVideoStatus:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_net_SharedObject.defaultObjectEncoding=10,openfl_net_SharedObjectFlushStatus.FLUSHED=0,openfl_net_SharedObjectFlushStatus.PENDING=1,openfl_net_URLLoaderDataFormat.BINARY=0,openfl_net_URLLoaderDataFormat.TEXT=1,openfl_net_URLLoaderDataFormat.VARIABLES=2,openfl_net_URLRequestDefaults.followRedirects=!0,openfl_net_URLRequestDefaults.idleTimeout=0,openfl_net_URLRequestDefaults.manageCookies=!1,openfl_sensors_Accelerometer.currentX=0,openfl_sensors_Accelerometer.currentY=1,openfl_sensors_Accelerometer.currentZ=0,openfl_sensors_Accelerometer.defaultInterval=34,openfl_sensors_Accelerometer.initialized=!1,openfl_sensors_Accelerometer.supported=!1,openfl_system_ApplicationDomain.currentDomain=new openfl_system_ApplicationDomain(null),openfl_system_SecurityDomain.__meta__={obj:{SuppressWarnings:["checkstyle:UnnecessaryConstructor"]}},openfl_system_SecurityDomain.currentDomain=new openfl_system_SecurityDomain,openfl_system_System.useCodePage=!1,openfl_text_AntiAliasType.ADVANCED=0,openfl_text_AntiAliasType.NORMAL=1,openfl_text_FontStyle.BOLD=0,openfl_text_FontStyle.BOLD_ITALIC=1,openfl_text_FontStyle.ITALIC=2,openfl_text_FontStyle.REGULAR=3,openfl_text_FontType.DEVICE=0,openfl_text_FontType.EMBEDDED=1,openfl_text_FontType.EMBEDDED_CFF=2,openfl_text_GridFitType.NONE=0,openfl_text_GridFitType.PIXEL=1,openfl_text_GridFitType.SUBPIXEL=2,openfl_text_TextFieldAutoSize.CENTER=0,openfl_text_TextFieldAutoSize.LEFT=1,openfl_text_TextFieldAutoSize.NONE=2,openfl_text_TextFieldAutoSize.RIGHT=3,openfl_text_TextFieldType.DYNAMIC=0,openfl_text_TextFieldType.INPUT=1,openfl_text_TextFormat.__meta__={fields:{clone:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_text_TextFormatAlign.CENTER=0,openfl_text_TextFormatAlign.END=1,openfl_text_TextFormatAlign.JUSTIFY=2,openfl_text_TextFormatAlign.LEFT=3,openfl_text_TextFormatAlign.RIGHT=4,openfl_text_TextFormatAlign.START=5,openfl_text__$internal_GlyphPosition.__meta__={obj:{SuppressWarnings:[["checkstyle:FieldDocComment","checkstyle:Dynamic"]]}},openfl_text__$internal_TextEngine.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{__cairoFont:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_text__$internal_TextEngine.GUTTER=2,openfl_text__$internal_TextEngine.UTF8_TAB=9,openfl_text__$internal_TextEngine.UTF8_ENDLINE=10,openfl_text__$internal_TextEngine.UTF8_SPACE=32,openfl_text__$internal_TextEngine.UTF8_HYPHEN=45,openfl_text__$internal_TextEngine.__defaultFonts=new haxe_ds_StringMap,openfl_text__$internal_TextLayout.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]},fields:{glyphs:{SuppressWarnings:["checkstyle:Dynamic"]},__handle:{SuppressWarnings:["checkstyle:Dynamic"]},__hbBuffer:{SuppressWarnings:["checkstyle:Dynamic"]},__hbFont:{SuppressWarnings:["checkstyle:Dynamic"]},get_glyphs:{SuppressWarnings:["checkstyle:Dynamic"]}}},openfl_text__$internal_TextLayout.FT_LOAD_DEFAULT=0,openfl_text__$internal_TextLayout.FT_LOAD_NO_SCALE=1,openfl_text__$internal_TextLayout.FT_LOAD_NO_HINTING=2,openfl_text__$internal_TextLayout.FT_LOAD_RENDER=4,openfl_text__$internal_TextLayout.FT_LOAD_NO_BITMAP=8,openfl_text__$internal_TextLayout.FT_LOAD_VERTICAL_LAYOUT=16,openfl_text__$internal_TextLayout.FT_LOAD_FORCE_AUTOHINT=32,openfl_text__$internal_TextLayout.FT_LOAD_CROP_BITMAP=64,openfl_text__$internal_TextLayout.FT_LOAD_PEDANTIC=128,openfl_text__$internal_TextLayout.FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH=256,openfl_text__$internal_TextLayout.FT_LOAD_NO_RECURSE=512,openfl_text__$internal_TextLayout.FT_LOAD_IGNORE_TRANSFORM=1024,openfl_text__$internal_TextLayout.FT_LOAD_MONOCHROME=2048,openfl_text__$internal_TextLayout.FT_LOAD_LINEAR_DESIGN=4096,openfl_text__$internal_TextLayout.FT_LOAD_NO_AUTOHINT=8192,openfl_text__$internal_TextLayout.FT_LOAD_COLOR=16384,openfl_text__$internal_TextLayout.FT_LOAD_COMPUTE_METRICS=32768,openfl_text__$internal_TextLayout.FT_LOAD_BITMAP_METRICS_ONLY=65536,openfl_text__$internal_TextLayout.FT_LOAD_TARGET_NORMAL=0,openfl_text__$internal_TextLayout.FT_LOAD_TARGET_LIGHT=0,openfl_text__$internal_TextDirection.INVALID=0,openfl_text__$internal_TextDirection.LEFT_TO_RIGHT=4,openfl_text__$internal_TextDirection.RIGHT_TO_LEFT=5,openfl_text__$internal_TextDirection.TOP_TO_BOTTOM=6,openfl_text__$internal_TextDirection.BOTTOM_TO_TOP=7,openfl_text__$internal_TextScript.COMMON="Zyyy",openfl_text__$internal_TextScript.INHERITED="Zinh",openfl_text__$internal_TextScript.UNKNOWN="Zzzz",openfl_text__$internal_TextScript.ARABIC="Arab",openfl_text__$internal_TextScript.ARMENIAN="Armn",openfl_text__$internal_TextScript.BENGALI="Beng",openfl_text__$internal_TextScript.CYRILLIC="Cyrl",openfl_text__$internal_TextScript.DEVANAGARI="Deva",openfl_text__$internal_TextScript.GEORGIAN="Geor",openfl_text__$internal_TextScript.GREEK="Grek",openfl_text__$internal_TextScript.GUJARATI="Gujr",openfl_text__$internal_TextScript.GURMUKHI="Guru",openfl_text__$internal_TextScript.HANGUL="Hang",openfl_text__$internal_TextScript.HAN="Hani",openfl_text__$internal_TextScript.HEBREW="Hebr",openfl_text__$internal_TextScript.HIRAGANA="Hira",openfl_text__$internal_TextScript.KANNADA="Knda",openfl_text__$internal_TextScript.KATAKANA="Kana",openfl_text__$internal_TextScript.LAO="Laoo",openfl_text__$internal_TextScript.LATIN="Latn",openfl_text__$internal_TextScript.MALAYALAM="Mlym",openfl_text__$internal_TextScript.ORIYA="Orya",openfl_text__$internal_TextScript.TAMIL="Taml",openfl_text__$internal_TextScript.TELUGA="Telu",openfl_text__$internal_TextScript.THAI="Thai",openfl_text__$internal_TextScript.TIBETAN="Tibt",openfl_text__$internal_TextScript.BOPOMOFO="Bopo",openfl_text__$internal_TextScript.BRAILLE="Brai",openfl_text__$internal_TextScript.CANADIAN_SYLLABICS="Cans",openfl_text__$internal_TextScript.CHEROKEE="Cher",openfl_text__$internal_TextScript.ETHIOPIC="Ethi",openfl_text__$internal_TextScript.KHMER="Khmr",openfl_text__$internal_TextScript.MONGOLIAN="Mong",openfl_text__$internal_TextScript.MYANMAR="Mymr",openfl_text__$internal_TextScript.OGHAM="Ogam",openfl_text__$internal_TextScript.RUNIC="Runr",openfl_text__$internal_TextScript.SINHALA="Sinh",openfl_text__$internal_TextScript.SYRIAC="Syrc",openfl_text__$internal_TextScript.THAANA="Thaa",openfl_text__$internal_TextScript.YI="Yiii",openfl_text__$internal_TextScript.DESERET="Dsrt",openfl_text__$internal_TextScript.GOTHIC="Goth",openfl_text__$internal_TextScript.OLD_ITALIC="Ital",openfl_text__$internal_TextScript.BUHID="Buhd",openfl_text__$internal_TextScript.HANUNOO="Hano",openfl_text__$internal_TextScript.TAGALOG="Tglg",openfl_text__$internal_TextScript.TAGBANWA="Tagb",openfl_text__$internal_TextScript.CYPRIOT="Cprt",openfl_text__$internal_TextScript.LIMBU="Limb",openfl_text__$internal_TextScript.LINEAR_B="Linb",openfl_text__$internal_TextScript.OSMANYA="Osma",openfl_text__$internal_TextScript.SHAVIAN="Shaw",openfl_text__$internal_TextScript.TAI_LE="Tale",openfl_text__$internal_TextScript.UGARITIC="Ugar",openfl_text__$internal_TextScript.BUGINESE="Bugi",openfl_text__$internal_TextScript.COPTIC="Copt",openfl_text__$internal_TextScript.GLAGOLITIC="Glag",openfl_text__$internal_TextScript.KHAROSHTHI="Khar",openfl_text__$internal_TextScript.NEW_TAI_LUE="Talu",openfl_text__$internal_TextScript.OLD_PERSIAN="Xpeo",openfl_text__$internal_TextScript.SYLOTI_NAGRI="Sylo",openfl_text__$internal_TextScript.TIFINAGH="Tfng",openfl_text__$internal_TextScript.BALINESE="Bali",openfl_text__$internal_TextScript.CUNEIFORM="Xsux",openfl_text__$internal_TextScript.NKO="Nkoo",openfl_text__$internal_TextScript.PHAGS_PA="Phag",openfl_text__$internal_TextScript.PHOENICIAN="Phnx",openfl_text__$internal_TextScript.CARIAN="Cari",openfl_text__$internal_TextScript.CHAM="Cham",openfl_text__$internal_TextScript.KAYAH_LI="Kali",openfl_text__$internal_TextScript.LEPCHA="Lepc",openfl_text__$internal_TextScript.LYCIAN="Lyci",openfl_text__$internal_TextScript.LYDIAN="Lydi",openfl_text__$internal_TextScript.OL_CHIKI="Olck",openfl_text__$internal_TextScript.REJANG="Rjng",openfl_text__$internal_TextScript.SAURASHTRA="Saur",openfl_text__$internal_TextScript.SUNDANESE="Sund",openfl_text__$internal_TextScript.VAI="Vaii",openfl_text__$internal_TextScript.AVESTAN="Avst",openfl_text__$internal_TextScript.BAMUM="Bamu",openfl_text__$internal_TextScript.EGYPTIAN_HIEROGLYPHS="Egyp",openfl_text__$internal_TextScript.IMPERIAL_ARAMAIC="Armi",openfl_text__$internal_TextScript.INSCRIPTIONAL_PAHLAVI="Phli",openfl_text__$internal_TextScript.INSCRIPTIONAL_PARTHIAN="Prti",openfl_text__$internal_TextScript.JAVANESE="Java",openfl_text__$internal_TextScript.KAITHI="Kthi",openfl_text__$internal_TextScript.LISU="Lisu",openfl_text__$internal_TextScript.MEETEI_MAYEK="Mtei",openfl_text__$internal_TextScript.OLD_SOUTH_ARABIAN="Sarb",openfl_text__$internal_TextScript.OLD_TURKIC="Orkh",openfl_text__$internal_TextScript.SAMARITAN="Samr",openfl_text__$internal_TextScript.TAI_THAM="Lana",openfl_text__$internal_TextScript.TAI_VIET="Tavt",openfl_text__$internal_TextScript.BATAK="Batk",openfl_text__$internal_TextScript.BRAHMI="Brah",openfl_text__$internal_TextScript.MANDAIC="Mand",openfl_text__$internal_TextScript.CHAKMA="Cakm",openfl_text__$internal_TextScript.MEROITIC_CURSIVE="Merc",openfl_text__$internal_TextScript.MEROITIC_HIEROGLYPHS="Mero",openfl_text__$internal_TextScript.MIAO="Plrd",openfl_text__$internal_TextScript.SHARADA="Shrd",openfl_text__$internal_TextScript.SORA_SOMPENG="Sora",openfl_text__$internal_TextScript.TAKRI="Takr",openfl_text__$internal_TextScript.BASSA_VAH="Bass",openfl_text__$internal_TextScript.CAUCASIAN_ALBANIAN="Aghb",openfl_text__$internal_TextScript.DUPLOYAN="Dupl",openfl_text__$internal_TextScript.ELBASAN="Elba",openfl_text__$internal_TextScript.GRANTHA="Gran",openfl_text__$internal_TextScript.KHOJKI="Khoj",openfl_text__$internal_TextScript.KHUDAWADI="Sind",openfl_text__$internal_TextScript.LINEAR_A="Lina",openfl_text__$internal_TextScript.MAHAJANI="Mahj",openfl_text__$internal_TextScript.MANICHAEAN="Mani",openfl_text__$internal_TextScript.MENDE_KIKAKUI="Mend",openfl_text__$internal_TextScript.MODI="Modi",openfl_text__$internal_TextScript.MRO="Mroo",openfl_text__$internal_TextScript.NABATAEAN="Nbat",openfl_text__$internal_TextScript.OLD_NORTH_ARABIAN="Narb",openfl_text__$internal_TextScript.OLD_PERMIC="Perm",openfl_text__$internal_TextScript.PAHAWH_HMONG="Hmng",openfl_text__$internal_TextScript.PALMYRENE="Palm",openfl_text__$internal_TextScript.PAU_CIN_HAU="Pauc",openfl_text__$internal_TextScript.PSALTER_PAHLAVI="Phlp",openfl_text__$internal_TextScript.SIDDHAM="Sidd",openfl_text__$internal_TextScript.TIRHUTA="Tirh",openfl_text__$internal_TextScript.WARANG_CITI="Wara",openfl_text__$internal_TextLayoutGroup.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_ui_GameInputDevice.MAX_BUFFER_SIZE=32e3,openfl_ui_Keyboard.__meta__={statics:{BREAK:{SuppressWarnings:["checkstyle:FieldDocComment"]},NUMLOCK:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},openfl_ui_Keyboard.NUMBER_0=48,openfl_ui_Keyboard.NUMBER_1=49,openfl_ui_Keyboard.NUMBER_2=50,openfl_ui_Keyboard.NUMBER_3=51,openfl_ui_Keyboard.NUMBER_4=52,openfl_ui_Keyboard.NUMBER_5=53,openfl_ui_Keyboard.NUMBER_6=54,openfl_ui_Keyboard.NUMBER_7=55,openfl_ui_Keyboard.NUMBER_8=56,openfl_ui_Keyboard.NUMBER_9=57,openfl_ui_Keyboard.A=65,openfl_ui_Keyboard.B=66,openfl_ui_Keyboard.C=67,openfl_ui_Keyboard.D=68,openfl_ui_Keyboard.E=69,openfl_ui_Keyboard.F=70,openfl_ui_Keyboard.G=71,openfl_ui_Keyboard.H=72,openfl_ui_Keyboard.I=73,openfl_ui_Keyboard.J=74,openfl_ui_Keyboard.K=75,openfl_ui_Keyboard.L=76,openfl_ui_Keyboard.M=77,openfl_ui_Keyboard.N=78,openfl_ui_Keyboard.O=79,openfl_ui_Keyboard.P=80,openfl_ui_Keyboard.Q=81,openfl_ui_Keyboard.R=82,openfl_ui_Keyboard.S=83,openfl_ui_Keyboard.T=84,openfl_ui_Keyboard.U=85,openfl_ui_Keyboard.V=86,openfl_ui_Keyboard.W=87,openfl_ui_Keyboard.X=88,openfl_ui_Keyboard.Y=89,openfl_ui_Keyboard.Z=90,openfl_ui_Keyboard.NUMPAD_0=96,openfl_ui_Keyboard.NUMPAD_1=97,openfl_ui_Keyboard.NUMPAD_2=98,openfl_ui_Keyboard.NUMPAD_3=99,openfl_ui_Keyboard.NUMPAD_4=100,openfl_ui_Keyboard.NUMPAD_5=101,openfl_ui_Keyboard.NUMPAD_6=102,openfl_ui_Keyboard.NUMPAD_7=103,openfl_ui_Keyboard.NUMPAD_8=104,openfl_ui_Keyboard.NUMPAD_9=105,openfl_ui_Keyboard.NUMPAD_MULTIPLY=106,openfl_ui_Keyboard.NUMPAD_ADD=107,openfl_ui_Keyboard.NUMPAD_ENTER=108,openfl_ui_Keyboard.NUMPAD_SUBTRACT=109,openfl_ui_Keyboard.NUMPAD_DECIMAL=110,openfl_ui_Keyboard.NUMPAD_DIVIDE=111,openfl_ui_Keyboard.F1=112,openfl_ui_Keyboard.F2=113,openfl_ui_Keyboard.F3=114,openfl_ui_Keyboard.F4=115,openfl_ui_Keyboard.F5=116,openfl_ui_Keyboard.F6=117,openfl_ui_Keyboard.F7=118,openfl_ui_Keyboard.F8=119,openfl_ui_Keyboard.F9=120,openfl_ui_Keyboard.F10=121,openfl_ui_Keyboard.F11=122,openfl_ui_Keyboard.F12=123,openfl_ui_Keyboard.F13=124,openfl_ui_Keyboard.F14=125,openfl_ui_Keyboard.F15=126,openfl_ui_Keyboard.BACKSPACE=8,openfl_ui_Keyboard.TAB=9,openfl_ui_Keyboard.ALTERNATE=18,openfl_ui_Keyboard.ENTER=13,openfl_ui_Keyboard.COMMAND=15,openfl_ui_Keyboard.SHIFT=16,openfl_ui_Keyboard.CONTROL=17,openfl_ui_Keyboard.BREAK=19,openfl_ui_Keyboard.CAPS_LOCK=20,openfl_ui_Keyboard.NUMPAD=21,openfl_ui_Keyboard.ESCAPE=27,openfl_ui_Keyboard.SPACE=32,openfl_ui_Keyboard.PAGE_UP=33,openfl_ui_Keyboard.PAGE_DOWN=34,openfl_ui_Keyboard.END=35,openfl_ui_Keyboard.HOME=36,openfl_ui_Keyboard.LEFT=37,openfl_ui_Keyboard.RIGHT=39,openfl_ui_Keyboard.UP=38,openfl_ui_Keyboard.DOWN=40,openfl_ui_Keyboard.INSERT=45,openfl_ui_Keyboard.DELETE=46,openfl_ui_Keyboard.NUMLOCK=144,openfl_ui_Keyboard.SEMICOLON=186,openfl_ui_Keyboard.EQUAL=187,openfl_ui_Keyboard.COMMA=188,openfl_ui_Keyboard.MINUS=189,openfl_ui_Keyboard.PERIOD=190,openfl_ui_Keyboard.SLASH=191,openfl_ui_Keyboard.BACKQUOTE=192,openfl_ui_Keyboard.LEFTBRACKET=219,openfl_ui_Keyboard.BACKSLASH=220,openfl_ui_Keyboard.RIGHTBRACKET=221,openfl_ui_Keyboard.QUOTE=222,openfl_ui_Mouse.supportsCursor=!0,openfl_ui_Mouse.supportsNativeCursor=!0,openfl_ui_Mouse.__cursor="auto",openfl_ui_MouseCursor.ARROW="arrow",openfl_ui_MouseCursor.AUTO="auto",openfl_ui_MouseCursor.BUTTON="button",openfl_ui_MouseCursor.HAND="hand",openfl_ui_MouseCursor.IBEAM="ibeam",openfl_ui_MouseCursor.__CROSSHAIR="crosshair",openfl_ui_MouseCursor.__CUSTOM="custom",openfl_ui_MouseCursor.__MOVE="move",openfl_ui_MouseCursor.__RESIZE_NESW="resize_nesw",openfl_ui_MouseCursor.__RESIZE_NS="resize_ns",openfl_ui_MouseCursor.__RESIZE_NWSE="resize_nwse",openfl_ui_MouseCursor.__RESIZE_WE="resize_we",openfl_ui_MouseCursor.__WAIT="wait",openfl_ui_MouseCursor.__WAIT_ARROW="waitarrow",openfl_ui_MultitouchInputMode.GESTURE=0,openfl_ui_MultitouchInputMode.NONE=1,openfl_ui_MultitouchInputMode.TOUCH_POINT=2,openfl_utils_AGALMiniAssembler.__meta__={obj:{SuppressWarnings:[["checkstyle:ConstantName","checkstyle:FieldDocComment"]]}},openfl_utils_AGALMiniAssembler.OPMAP=new haxe_ds_StringMap,openfl_utils_AGALMiniAssembler.REGMAP=new haxe_ds_StringMap,openfl_utils_AGALMiniAssembler.SAMPLEMAP=new haxe_ds_StringMap,openfl_utils_AGALMiniAssembler.MAX_NESTING=4,openfl_utils_AGALMiniAssembler.MAX_OPCODES=4096,openfl_utils_AGALMiniAssembler.FRAGMENT="fragment",openfl_utils_AGALMiniAssembler.VERTEX="vertex",openfl_utils_AGALMiniAssembler.SAMPLER_TYPE_SHIFT=8,openfl_utils_AGALMiniAssembler.SAMPLER_DIM_SHIFT=12,openfl_utils_AGALMiniAssembler.SAMPLER_SPECIAL_SHIFT=16,openfl_utils_AGALMiniAssembler.SAMPLER_REPEAT_SHIFT=20,openfl_utils_AGALMiniAssembler.SAMPLER_MIPMAP_SHIFT=24,openfl_utils_AGALMiniAssembler.SAMPLER_FILTER_SHIFT=28,openfl_utils_AGALMiniAssembler.REG_WRITE=1,openfl_utils_AGALMiniAssembler.REG_READ=2,openfl_utils_AGALMiniAssembler.REG_FRAG=32,openfl_utils_AGALMiniAssembler.REG_VERT=64,openfl_utils_AGALMiniAssembler.OP_SCALAR=1,openfl_utils_AGALMiniAssembler.OP_SPECIAL_TEX=8,openfl_utils_AGALMiniAssembler.OP_SPECIAL_MATRIX=16,openfl_utils_AGALMiniAssembler.OP_FRAG_ONLY=32,openfl_utils_AGALMiniAssembler.OP_VERT_ONLY=64,openfl_utils_AGALMiniAssembler.OP_NO_DEST=128,openfl_utils_AGALMiniAssembler.OP_VERSION2=256,openfl_utils_AGALMiniAssembler.OP_INCNEST=512,openfl_utils_AGALMiniAssembler.OP_DECNEST=1024,openfl_utils_AGALMiniAssembler.MOV="mov",openfl_utils_AGALMiniAssembler.ADD="add",openfl_utils_AGALMiniAssembler.SUB="sub",openfl_utils_AGALMiniAssembler.MUL="mul",openfl_utils_AGALMiniAssembler.DIV="div",openfl_utils_AGALMiniAssembler.RCP="rcp",openfl_utils_AGALMiniAssembler.MIN="min",openfl_utils_AGALMiniAssembler.MAX="max",openfl_utils_AGALMiniAssembler.FRC="frc",openfl_utils_AGALMiniAssembler.SQT="sqt",openfl_utils_AGALMiniAssembler.RSQ="rsq",openfl_utils_AGALMiniAssembler.POW="pow",openfl_utils_AGALMiniAssembler.LOG="log",openfl_utils_AGALMiniAssembler.EXP="exp",openfl_utils_AGALMiniAssembler.NRM="nrm",openfl_utils_AGALMiniAssembler.SIN="sin",openfl_utils_AGALMiniAssembler.COS="cos",openfl_utils_AGALMiniAssembler.CRS="crs",openfl_utils_AGALMiniAssembler.DP3="dp3",openfl_utils_AGALMiniAssembler.DP4="dp4",openfl_utils_AGALMiniAssembler.ABS="abs",openfl_utils_AGALMiniAssembler.NEG="neg",openfl_utils_AGALMiniAssembler.SAT="sat",openfl_utils_AGALMiniAssembler.M33="m33",openfl_utils_AGALMiniAssembler.M44="m44",openfl_utils_AGALMiniAssembler.M34="m34",openfl_utils_AGALMiniAssembler.DDX="ddx",openfl_utils_AGALMiniAssembler.DDY="ddy",openfl_utils_AGALMiniAssembler.IFE="ife",openfl_utils_AGALMiniAssembler.INE="ine",openfl_utils_AGALMiniAssembler.IFG="ifg",openfl_utils_AGALMiniAssembler.IFL="ifl",openfl_utils_AGALMiniAssembler.IEG="ieg",openfl_utils_AGALMiniAssembler.IEL="iel",openfl_utils_AGALMiniAssembler.ELS="els",openfl_utils_AGALMiniAssembler.EIF="eif",openfl_utils_AGALMiniAssembler.TED="ted",openfl_utils_AGALMiniAssembler.KIL="kil",openfl_utils_AGALMiniAssembler.TEX="tex",openfl_utils_AGALMiniAssembler.SGE="sge",openfl_utils_AGALMiniAssembler.SLT="slt",openfl_utils_AGALMiniAssembler.SGN="sgn",openfl_utils_AGALMiniAssembler.SEQ="seq",openfl_utils_AGALMiniAssembler.SNE="sne",openfl_utils_AGALMiniAssembler.VA="va",openfl_utils_AGALMiniAssembler.VC="vc",openfl_utils_AGALMiniAssembler.VT="vt",openfl_utils_AGALMiniAssembler.VO="vo",openfl_utils_AGALMiniAssembler.VI="vi",openfl_utils_AGALMiniAssembler.FC="fc",openfl_utils_AGALMiniAssembler.FT="ft",openfl_utils_AGALMiniAssembler.FS="fs",openfl_utils_AGALMiniAssembler.FO="fo",openfl_utils_AGALMiniAssembler.FD="fd",openfl_utils_AGALMiniAssembler.IID="iid",openfl_utils_AGALMiniAssembler.D2="2d",openfl_utils_AGALMiniAssembler.D3="3d",openfl_utils_AGALMiniAssembler.CUBE="cube",openfl_utils_AGALMiniAssembler.MIPNEAREST="mipnearest",openfl_utils_AGALMiniAssembler.MIPLINEAR="miplinear",openfl_utils_AGALMiniAssembler.MIPNONE="mipnone",openfl_utils_AGALMiniAssembler.NOMIP="nomip",openfl_utils_AGALMiniAssembler.NEAREST="nearest",openfl_utils_AGALMiniAssembler.LINEAR="linear",openfl_utils_AGALMiniAssembler.ANISOTROPIC2X="anisotropic2x",openfl_utils_AGALMiniAssembler.ANISOTROPIC4X="anisotropic4x",openfl_utils_AGALMiniAssembler.ANISOTROPIC8X="anisotropic8x",openfl_utils_AGALMiniAssembler.ANISOTROPIC16X="anisotropic16x",openfl_utils_AGALMiniAssembler.CENTROID="centroid",openfl_utils_AGALMiniAssembler.SINGLE="single",openfl_utils_AGALMiniAssembler.IGNORESAMPLER="ignoresampler",openfl_utils_AGALMiniAssembler.REPEAT="repeat",openfl_utils_AGALMiniAssembler.WRAP="wrap",openfl_utils_AGALMiniAssembler.CLAMP="clamp",openfl_utils_AGALMiniAssembler.REPEAT_U_CLAMP_V="repeat_u_clamp_v",openfl_utils_AGALMiniAssembler.CLAMP_U_REPEAT_V="clamp_u_repeat_v",openfl_utils_AGALMiniAssembler.RGBA="rgba",openfl_utils_AGALMiniAssembler.COMPRESSED="compressed",openfl_utils_AGALMiniAssembler.COMPRESSEDALPHA="compressedalpha",openfl_utils_AGALMiniAssembler.DXT1="dxt1",openfl_utils_AGALMiniAssembler.DXT5="dxt5",openfl_utils_AGALMiniAssembler.VIDEO="video",openfl_utils_AGALMiniAssembler.initialized=!1,openfl_utils__$AGALMiniAssembler_OpCode.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils__$AGALMiniAssembler_Register.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils__$AGALMiniAssembler_Sampler.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils_Assets.cache=new openfl_utils_AssetCache,openfl_utils_Assets.dispatcher=new openfl_events_EventDispatcher,openfl_utils_ByteArray.__bytePointer=function(e){return new lime_utils_BytePointerData(null,0)}(),openfl_utils_CompressionAlgorithm.DEFLATE=0,openfl_utils_CompressionAlgorithm.LZMA=1,openfl_utils_CompressionAlgorithm.ZLIB=2,openfl_utils__$Dictionary_ClassMap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils__$Dictionary_FloatMap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils__$Dictionary_UtilsObjectMap.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},openfl_utils_Endian.BIG_ENDIAN=0,openfl_utils_Endian.LITTLE_ENDIAN=1,openfl_utils_Object.__meta__={statics:{iterator:{SuppressWarnings:["checkstyle:FieldDocComment"]},__get:{SuppressWarnings:["checkstyle:FieldDocComment"]},__set:{SuppressWarnings:["checkstyle:FieldDocComment"]}}},haxe_lang_Iterator.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},haxe_lang_Iterable.__meta__={obj:{SuppressWarnings:["checkstyle:FieldDocComment"]}},polymod_Polymod.onError=null,polymod_Polymod.library=null,polymod_backends_LimeBackend.defaultAssetLibrary=null,polymod_backends_PolymodAssetType.BYTES="BYTES",polymod_backends_PolymodAssetType.TEXT="TEXT",polymod_backends_PolymodAssetType.IMAGE="IMAGE",polymod_backends_PolymodAssetType.VIDEO="VIDEO",polymod_backends_PolymodAssetType.FONT="FONT",polymod_backends_PolymodAssetType.AUDIO_GENERIC="AUDIO_GENERIC",polymod_backends_PolymodAssetType.AUDIO_MUSIC="AUDIO_MUSIC",polymod_backends_PolymodAssetType.AUDIO_SOUND="AUDIO_SOUND",polymod_backends_PolymodAssetType.MANIFEST="MANIFEST",polymod_backends_PolymodAssetType.TEMPLATE="TEMPLATE",polymod_backends_PolymodAssetType.UNKNOWN="UNKNOWN",ApplicationMain.main()}(void 0!==exports?exports:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this,"undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:this)};$hx_exports.lime=$hx_exports.lime||{},$hx_exports.lime.$scripts=$hx_exports.lime.$scripts||{},$hx_exports.lime.$scripts.Funkin=$hx_script,$hx_exports.lime.embed=function(e){var t={},i=$hx_exports.lime.$scripts[e];if(!i)throw Error('Cannot find project name "'+e+'"');i(t,$global);for(var l in t)$hx_exports[l]=$hx_exports[l]||t[l];var n=t.lime||window.lime;return n&&n.embed&&this!=n.embed&&n.embed.apply(n,arguments),t},"function"==typeof define&&define.amd&&(define([],function(){return $hx_exports.lime}),define.__amd=define.amd,define.amd=null)}("undefined"!=typeof exports?exports:"function"==typeof define&&define.amd?{}:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this,"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this),function(){"use strict";var e=function(){this.init()};e.prototype={init:function(){var e=this||t;return e._counter=1e3,e._html5AudioPool=[],e.html5PoolSize=10,e._codecs={},e._howls=[],e._muted=!1,e._volume=1,e._canPlayEvent="canplaythrough",e._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,e.masterGain=null,e.noAudio=!1,e.usingWebAudio=!0,e.autoSuspend=!0,e.ctx=null,e.autoUnlock=!0,e._setup(),e},volume:function(e){var i=this||t;if(e=parseFloat(e),i.ctx||o(),void 0!==e&&e>=0&&e<=1){if(i._volume=e,i._muted)return i;i.usingWebAudio&&i.masterGain.gain.setValueAtTime(e,t.ctx.currentTime);for(var l=0;l<i._howls.length;l++)if(!i._howls[l]._webAudio)for(var n=i._howls[l]._getSoundIds(),s=0;s<n.length;s++){var a=i._howls[l]._soundById(n[s]);a&&a._node&&(a._node.volume=a._volume*e)}return i}return i._volume},mute:function(e){var i=this||t;i.ctx||o(),i._muted=e,i.usingWebAudio&&i.masterGain.gain.setValueAtTime(e?0:i._volume,t.ctx.currentTime);for(var l=0;l<i._howls.length;l++)if(!i._howls[l]._webAudio)for(var n=i._howls[l]._getSoundIds(),s=0;s<n.length;s++){var a=i._howls[l]._soundById(n[s]);a&&a._node&&(a._node.muted=!!e||a._muted)}return i},unload:function(){for(var e=this||t,i=e._howls.length-1;i>=0;i--)e._howls[i].unload();return e.usingWebAudio&&e.ctx&&void 0!==e.ctx.close&&(e.ctx.close(),e.ctx=null,o()),e},codecs:function(e){return(this||t)._codecs[e.replace(/^x-/,"")]},_setup:function(){var e=this||t;if(e.state=e.ctx?e.ctx.state||"suspended":"suspended",e._autoSuspend(),!e.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(i=new Audio).oncanplaythrough&&(e._canPlayEvent="canplay")}catch(t){e.noAudio=!0}else e.noAudio=!0;try{var i=new Audio;i.muted&&(e.noAudio=!0)}catch(e){}return e.noAudio||e._setupCodecs(),e},_setupCodecs:function(){var e=this||t,i=null;try{i="undefined"!=typeof Audio?new Audio:null}catch(t){return e}if(!i||"function"!=typeof i.canPlayType)return e;var l=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n=e._navigator&&e._navigator.userAgent.match(/OPR\/([0-6].)/g),s=n&&parseInt(n[0].split("/")[1],10)<33;return e._codecs={mp3:!(s||!l&&!i.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!l,opus:!!i.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),aac:!!i.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!i.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(i.canPlayType("audio/x-mp4;")||i.canPlayType("audio/mp4;")||i.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!i.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),webm:!!i.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),dolby:!!i.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(i.canPlayType("audio/x-flac;")||i.canPlayType("audio/flac;")).replace(/^no$/,"")},e},_unlockAudio:function(){var e=this||t,i=/iPhone|iPad|iPod|Android|BlackBerry|BB10|Silk|Mobi|Chrome|Safari/i.test(e._navigator&&e._navigator.userAgent);if(!e._audioUnlocked&&e.ctx&&i){e._audioUnlocked=!1,e.autoUnlock=!1,e._mobileUnloaded||44100===e.ctx.sampleRate||(e._mobileUnloaded=!0,e.unload()),e._scratchBuffer=e.ctx.createBuffer(1,1,22050);var l=function(t){for(n=0;n<e.html5PoolSize;n++){var i=new Audio;i._unlocked=!0,e._releaseHtml5Audio(i)}for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var s=e._howls[n]._getSoundIds(),a=0;a<s.length;a++){var r=e._howls[n]._soundById(s[a]);r&&r._node&&!r._node._unlocked&&(r._node._unlocked=!0,r._node.load())}e._autoResume();var _=e.ctx.createBufferSource();_.buffer=e._scratchBuffer,_.connect(e.ctx.destination),void 0===_.start?_.noteOn(0):_.start(0),"function"==typeof e.ctx.resume&&e.ctx.resume(),_.onended=function(){_.disconnect(0),e._audioUnlocked=!0,document.removeEventListener("touchstart",l,!0),document.removeEventListener("touchend",l,!0),document.removeEventListener("click",l,!0);for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("unlock")}};return document.addEventListener("touchstart",l,!0),document.addEventListener("touchend",l,!0),document.addEventListener("click",l,!0),e}},_obtainHtml5Audio:function(){var e=this||t;if(e._html5AudioPool.length)return e._html5AudioPool.pop();var i=(new Audio).play();return i&&"undefined"!=typeof Promise&&(i instanceof Promise||"function"==typeof i.then)&&i.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(e){var i=this||t;return e._unlocked&&i._html5AudioPool.push(e),i},_autoSuspend:function(){var e=this;if(e.autoSuspend&&e.ctx&&void 0!==e.ctx.suspend&&t.usingWebAudio){for(var i=0;i<e._howls.length;i++)if(e._howls[i]._webAudio)for(var l=0;l<e._howls[i]._sounds.length;l++)if(!e._howls[i]._sounds[l]._paused)return e;return e._suspendTimer&&clearTimeout(e._suspendTimer),e._suspendTimer=setTimeout(function(){e.autoSuspend&&(e._suspendTimer=null,e.state="suspending",e.ctx.suspend().then(function(){e.state="suspended",e._resumeAfterSuspend&&(delete e._resumeAfterSuspend,e._autoResume())}))},3e4),e}},_autoResume:function(){var e=this;if(e.ctx&&void 0!==e.ctx.resume&&t.usingWebAudio)return"running"===e.state&&e._suspendTimer?(clearTimeout(e._suspendTimer),e._suspendTimer=null):"suspended"===e.state?(e.ctx.resume().then(function(){e.state="running";for(var t=0;t<e._howls.length;t++)e._howls[t]._emit("resume")}),e._suspendTimer&&(clearTimeout(e._suspendTimer),e._suspendTimer=null)):"suspending"===e.state&&(e._resumeAfterSuspend=!0),e}};var t=new e,i=function(e){var t=this;e.src&&0!==e.src.length?t.init(e):console.error("An array of source files must be passed with any new Howl.")};i.prototype={init:function(e){var i=this;return t.ctx||o(),i._autoplay=e.autoplay||!1,i._format="string"!=typeof e.format?e.format:[e.format],i._html5=e.html5||!1,i._muted=e.mute||!1,i._loop=e.loop||!1,i._pool=e.pool||5,i._preload="boolean"!=typeof e.preload||e.preload,i._rate=e.rate||1,i._sprite=e.sprite||{},i._src="string"!=typeof e.src?e.src:[e.src],i._volume=void 0!==e.volume?e.volume:1,i._xhrWithCredentials=e.xhrWithCredentials||!1,i._duration=0,i._state="unloaded",i._sounds=[],i._endTimers={},i._queue=[],i._playLock=!1,i._onend=e.onend?[{fn:e.onend}]:[],i._onfade=e.onfade?[{fn:e.onfade}]:[],i._onload=e.onload?[{fn:e.onload}]:[],i._onloaderror=e.onloaderror?[{fn:e.onloaderror}]:[],i._onplayerror=e.onplayerror?[{fn:e.onplayerror}]:[],i._onpause=e.onpause?[{fn:e.onpause}]:[],i._onplay=e.onplay?[{fn:e.onplay}]:[],i._onstop=e.onstop?[{fn:e.onstop}]:[],i._onmute=e.onmute?[{fn:e.onmute}]:[],i._onvolume=e.onvolume?[{fn:e.onvolume}]:[],i._onrate=e.onrate?[{fn:e.onrate}]:[],i._onseek=e.onseek?[{fn:e.onseek}]:[],i._onunlock=e.onunlock?[{fn:e.onunlock}]:[],i._onresume=[],i._webAudio=t.usingWebAudio&&!i._html5,void 0!==t.ctx&&t.ctx&&t.autoUnlock&&t._unlockAudio(),t._howls.push(i),i._autoplay&&i._queue.push({event:"play",action:function(){i.play()}}),i._preload&&i.load(),i},load:function(){var e=this,i=null;{if(!t.noAudio){"string"==typeof e._src&&(e._src=[e._src]);for(var n=0;n<e._src.length;n++){var a,r;if(e._format&&e._format[n])a=e._format[n];else{if("string"!=typeof(r=e._src[n])){e._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(a=/^data:audio\/([^;,]+);/i.exec(r))||(a=/\.([^.]+)$/.exec(r.split("?",1)[0])),a&&(a=a[1].toLowerCase())}if(a||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),a&&t.codecs(a)){i=e._src[n];break}}return i?(e._src=i,e._state="loading","https:"===window.location.protocol&&"http:"===i.slice(0,5)&&(e._html5=!0,e._webAudio=!1),new l(e),e._webAudio&&s(e),e):void e._emit("loaderror",null,"No codec support for selected audio sources.")}e._emit("loaderror",null,"No audio support.")}},play:function(e,i){var l=this,n=null;if("number"==typeof e)n=e,e=null;else{if("string"==typeof e&&"loaded"===l._state&&!l._sprite[e])return null;if(void 0===e&&(e="__default",!l._playLock)){for(var s=0,a=0;a<l._sounds.length;a++)l._sounds[a]._paused&&!l._sounds[a]._ended&&(s++,n=l._sounds[a]._id);1===s?e=null:n=null}}var r=n?l._soundById(n):l._inactiveSound();if(!r)return null;if(n&&!e&&(e=r._sprite||"__default"),"loaded"!==l._state){r._sprite=e,r._ended=!1;var _=r._id;return l._queue.push({event:"play",action:function(){l.play(_)}}),_}if(n&&!r._paused)return i||l._loadQueue("play"),r._id;l._webAudio&&t._autoResume();var o=Math.max(0,r._seek>0?r._seek:l._sprite[e][0]/1e3),h=Math.max(0,(l._sprite[e][0]+l._sprite[e][1])/1e3-o),u=1e3*h/Math.abs(r._rate),d=l._sprite[e][0]/1e3,c=(l._sprite[e][0]+l._sprite[e][1])/1e3,p=!(!r._loop&&!l._sprite[e][2]);r._sprite=e,r._ended=!1;var f=function(){r._paused=!1,r._seek=o,r._start=d,r._stop=c,r._loop=p};{if(!(o>=c)){var m=r._node;if(l._webAudio){var x=function(){l._playLock=!1,f(),l._refreshBuffer(r);var e=r._muted||l._muted?0:r._volume;m.gain.setValueAtTime(e,t.ctx.currentTime),r._playStart=t.ctx.currentTime,void 0===m.bufferSource.start?r._loop?m.bufferSource.noteGrainOn(0,o,86400):m.bufferSource.noteGrainOn(0,o,h):r._loop?m.bufferSource.start(0,o,86400):m.bufferSource.start(0,o,h),u!==1/0&&(l._endTimers[r._id]=setTimeout(l._ended.bind(l,r),u)),i||setTimeout(function(){l._emit("play",r._id),l._loadQueue()},0)};"running"===t.state?x():(l._playLock=!0,l.once("resume",x),l._clearTimer(r._id))}else{var g=function(){m.currentTime=o,m.muted=r._muted||l._muted||t._muted||m.muted,m.volume=r._volume*t.volume(),m.playbackRate=r._rate;try{var n=m.play();if(n&&"undefined"!=typeof Promise&&(n instanceof Promise||"function"==typeof n.then)?(l._playLock=!0,f(),n.then(function(){l._playLock=!1,m._unlocked=!0,i||(l._emit("play",r._id),l._loadQueue())}).catch(function(){l._playLock=!1,l._emit("playerror",r._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),r._ended=!0,r._paused=!0})):i||(l._playLock=!1,f(),l._emit("play",r._id),l._loadQueue()),m.playbackRate=r._rate,m.paused)return void l._emit("playerror",r._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==e||r._loop?l._endTimers[r._id]=setTimeout(l._ended.bind(l,r),u):(l._endTimers[r._id]=function(){l._ended(r),m.removeEventListener("ended",l._endTimers[r._id],!1)},m.addEventListener("ended",l._endTimers[r._id],!1))}catch(e){l._emit("playerror",r._id,e)}},F=window&&window.ejecta||!m.readyState&&t._navigator.isCocoonJS;if(m.readyState>=3||F)g();else{l._playLock=!0;var y=function(){g(),m.removeEventListener(t._canPlayEvent,y,!1)};m.addEventListener(t._canPlayEvent,y,!1),l._clearTimer(r._id)}}return r._id}l._ended(r)}},pause:function(e){var t=this;if("loaded"!==t._state||t._playLock)return t._queue.push({event:"pause",action:function(){t.pause(e)}}),t;for(var i=t._getSoundIds(e),l=0;l<i.length;l++){t._clearTimer(i[l]);var n=t._soundById(i[l]);if(n&&!n._paused&&(n._seek=t.seek(i[l]),n._rateSeek=0,n._paused=!0,t._stopFade(i[l]),n._node))if(t._webAudio){if(!n._node.bufferSource)continue;void 0===n._node.bufferSource.stop?n._node.bufferSource.noteOff(0):n._node.bufferSource.stop(0),t._cleanBuffer(n._node)}else isNaN(n._node.duration)&&n._node.duration!==1/0||n._node.pause();arguments[1]||t._emit("pause",n?n._id:null)}return t},stop:function(e,t){var i=this;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"stop",action:function(){i.stop(e)}}),i;for(var l=i._getSoundIds(e),n=0;n<l.length;n++){i._clearTimer(l[n]);var s=i._soundById(l[n]);s&&(s._seek=s._start||0,s._rateSeek=0,s._paused=!0,s._ended=!0,i._stopFade(l[n]),s._node&&(i._webAudio?s._node.bufferSource&&(void 0===s._node.bufferSource.stop?s._node.bufferSource.noteOff(0):s._node.bufferSource.stop(0),i._cleanBuffer(s._node)):isNaN(s._node.duration)&&s._node.duration!==1/0||(s._node.currentTime=s._start||0,s._node.pause())),t||i._emit("stop",s._id))}return i},mute:function(e,i){var l=this;if("loaded"!==l._state||l._playLock)return l._queue.push({event:"mute",action:function(){l.mute(e,i)}}),l;if(void 0===i){if("boolean"!=typeof e)return l._muted;l._muted=e}for(var n=l._getSoundIds(i),s=0;s<n.length;s++){var a=l._soundById(n[s]);a&&(a._muted=e,a._interval&&l._stopFade(a._id),l._webAudio&&a._node?a._node.gain.setValueAtTime(e?0:a._volume,t.ctx.currentTime):a._node&&(a._node.muted=!!t._muted||e),l._emit("mute",a._id))}return l},volume:function(){var e,i,l=this,n=arguments;if(0===n.length)return l._volume;1===n.length||2===n.length&&void 0===n[1]?l._getSoundIds().indexOf(n[0])>=0?i=parseInt(n[0],10):e=parseFloat(n[0]):n.length>=2&&(e=parseFloat(n[0]),i=parseInt(n[1],10));var s;if(!(void 0!==e&&e>=0&&e<=1))return s=i?l._soundById(i):l._sounds[0],s?s._volume:0;if("loaded"!==l._state||l._playLock)return l._queue.push({event:"volume",action:function(){l.volume.apply(l,n)}}),l;void 0===i&&(l._volume=e),i=l._getSoundIds(i);for(var a=0;a<i.length;a++)(s=l._soundById(i[a]))&&(s._volume=e,n[2]||l._stopFade(i[a]),l._webAudio&&s._node&&!s._muted?s._node.gain.setValueAtTime(e,t.ctx.currentTime):s._node&&!s._muted&&(s._node.volume=e*t.volume()),l._emit("volume",s._id));return l},fade:function(e,i,l,n){var s=this;if("loaded"!==s._state||s._playLock)return s._queue.push({event:"fade",action:function(){s.fade(e,i,l,n)}}),s;e=parseFloat(e),i=parseFloat(i),l=parseFloat(l),s.volume(e,n);for(var a=s._getSoundIds(n),r=0;r<a.length;r++){var _=s._soundById(a[r]);if(_){if(n||s._stopFade(a[r]),s._webAudio&&!_._muted){var o=t.ctx.currentTime,h=o+l/1e3;_._volume=e,_._node.gain.setValueAtTime(e,o),_._node.gain.linearRampToValueAtTime(i,h)}s._startFadeInterval(_,e,i,l,a[r],void 0===n)}}return s},_startFadeInterval:function(e,t,i,l,n,s){var a=this,r=t,_=i-t,o=Math.abs(_/.01),h=Math.max(4,o>0?l/o:l),u=Date.now();e._fadeTo=i,e._interval=setInterval(function(){var n=(Date.now()-u)/l;u=Date.now(),r+=_*n,r=Math.max(0,r),r=Math.min(1,r),r=Math.round(100*r)/100,a._webAudio?e._volume=r:a.volume(r,e._id,!0),s&&(a._volume=r),(i<t&&r<=i||i>t&&r>=i)&&(clearInterval(e._interval),e._interval=null,e._fadeTo=null,a.volume(i,e._id),a._emit("fade",e._id))},h)},_stopFade:function(e){var i=this,l=i._soundById(e);return l&&l._interval&&(i._webAudio&&l._node.gain.cancelScheduledValues(t.ctx.currentTime),clearInterval(l._interval),l._interval=null,i.volume(l._fadeTo,e),l._fadeTo=null,i._emit("fade",e)),i},loop:function(){var e,t,i,l=this,n=arguments;if(0===n.length)return l._loop;if(1===n.length){if("boolean"!=typeof n[0])return!!(i=l._soundById(parseInt(n[0],10)))&&i._loop;e=n[0],l._loop=e}else 2===n.length&&(e=n[0],t=parseInt(n[1],10));for(var s=l._getSoundIds(t),a=0;a<s.length;a++)(i=l._soundById(s[a]))&&(i._loop=e,l._webAudio&&i._node&&i._node.bufferSource&&(i._node.bufferSource.loop=e,e&&(i._node.bufferSource.loopStart=i._start||0,i._node.bufferSource.loopEnd=i._stop)));return l},rate:function(){var e,i,l=this,n=arguments;0===n.length?i=l._sounds[0]._id:1===n.length?l._getSoundIds().indexOf(n[0])>=0?i=parseInt(n[0],10):e=parseFloat(n[0]):2===n.length&&(e=parseFloat(n[0]),i=parseInt(n[1],10));var s;if("number"!=typeof e)return s=l._soundById(i),s?s._rate:l._rate;if("loaded"!==l._state||l._playLock)return l._queue.push({event:"rate",action:function(){l.rate.apply(l,n)}}),l;void 0===i&&(l._rate=e),i=l._getSoundIds(i);for(var a=0;a<i.length;a++)if(s=l._soundById(i[a])){l.playing(i[a])&&(s._rateSeek=l.seek(i[a]),s._playStart=l._webAudio?t.ctx.currentTime:s._playStart),s._rate=e,l._webAudio&&s._node&&s._node.bufferSource?s._node.bufferSource.playbackRate.setValueAtTime(e,t.ctx.currentTime):s._node&&(s._node.playbackRate=e);var r=l.seek(i[a]),_=1e3*((l._sprite[s._sprite][0]+l._sprite[s._sprite][1])/1e3-r)/Math.abs(s._rate);!l._endTimers[i[a]]&&s._paused||(l._clearTimer(i[a]),l._endTimers[i[a]]=setTimeout(l._ended.bind(l,s),_)),l._emit("rate",s._id)}return l},seek:function(){var e,i,l=this,n=arguments;if(0===n.length?i=l._sounds[0]._id:1===n.length?l._getSoundIds().indexOf(n[0])>=0?i=parseInt(n[0],10):l._sounds.length&&(i=l._sounds[0]._id,e=parseFloat(n[0])):2===n.length&&(e=parseFloat(n[0]),i=parseInt(n[1],10)),void 0===i)return l;if("loaded"!==l._state||l._playLock)return l._queue.push({event:"seek",action:function(){l.seek.apply(l,n)}}),l;var s=l._soundById(i);if(s){if(!("number"==typeof e&&e>=0)){if(l._webAudio){var a=l.playing(i)?t.ctx.currentTime-s._playStart:0,r=s._rateSeek?s._rateSeek-s._seek:0;return s._seek+(r+a*Math.abs(s._rate))}return s._node.currentTime}var _=l.playing(i);_&&l.pause(i,!0),s._seek=e,s._ended=!1,l._clearTimer(i),l._webAudio||!s._node||isNaN(s._node.duration)||(s._node.currentTime=e);var o=function(){l._emit("seek",i),_&&l.play(i,!0)};if(_&&!l._webAudio){var h=function(){l._playLock?setTimeout(h,0):o()};setTimeout(h,0)}else o()}return l},playing:function(e){var t=this;if("number"==typeof e){var i=t._soundById(e);return!!i&&!i._paused}for(var l=0;l<t._sounds.length;l++)if(!t._sounds[l]._paused)return!0;return!1},duration:function(e){var t=this,i=t._duration,l=t._soundById(e);return l&&(i=t._sprite[l._sprite][1]/1e3),i},state:function(){return this._state},unload:function(){for(var e=this,i=e._sounds,l=0;l<i.length;l++)i[l]._paused||e.stop(i[l]._id),e._webAudio||(/MSIE |Trident\//.test(t._navigator&&t._navigator.userAgent)||(i[l]._node.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"),i[l]._node.removeEventListener("error",i[l]._errorFn,!1),i[l]._node.removeEventListener(t._canPlayEvent,i[l]._loadFn,!1),t._releaseHtml5Audio(i[l]._node)),delete i[l]._node,e._clearTimer(i[l]._id);var s=t._howls.indexOf(e);s>=0&&t._howls.splice(s,1);var a=!0;for(l=0;l<t._howls.length;l++)if(t._howls[l]._src===e._src||e._src.indexOf(t._howls[l]._src)>=0){a=!1;break}return n&&a&&delete n[e._src],t.noAudio=!1,e._state="unloaded",e._sounds=[],e=null,null},on:function(e,t,i,l){var n=this,s=n["_on"+e];return"function"==typeof t&&s.push(l?{id:i,fn:t,once:l}:{id:i,fn:t}),n},off:function(e,t,i){var l=this,n=l["_on"+e],s=0;if("number"==typeof t&&(i=t,t=null),t||i)for(s=0;s<n.length;s++){var a=i===n[s].id;if(t===n[s].fn&&a||!t&&a){n.splice(s,1);break}}else if(e)l["_on"+e]=[];else{var r=Object.keys(l);for(s=0;s<r.length;s++)0===r[s].indexOf("_on")&&Array.isArray(l[r[s]])&&(l[r[s]]=[])}return l},once:function(e,t,i){var l=this;return l.on(e,t,i,1),l},_emit:function(e,t,i){for(var l=this,n=l["_on"+e],s=n.length-1;s>=0;s--)n[s].id&&n[s].id!==t&&"load"!==e||(setTimeout(function(e){e.call(this,t,i)}.bind(l,n[s].fn),0),n[s].once&&l.off(e,n[s].fn,n[s].id));return l._loadQueue(e),l},_loadQueue:function(e){var t=this;if(t._queue.length>0){var i=t._queue[0];i.event===e&&(t._queue.shift(),t._loadQueue()),e||i.action()}return t},_ended:function(e){var i=this,l=e._sprite;if(!i._webAudio&&e._node&&!e._node.paused&&!e._node.ended&&e._node.currentTime<e._stop)return setTimeout(i._ended.bind(i,e),100),i;var n=!(!e._loop&&!i._sprite[l][2]);if(i._emit("end",e._id),!i._webAudio&&n&&i.stop(e._id,!0).play(e._id),i._webAudio&&n){i._emit("play",e._id),e._seek=e._start||0,e._rateSeek=0,e._playStart=t.ctx.currentTime;var s=1e3*(e._stop-e._start)/Math.abs(e._rate);i._endTimers[e._id]=setTimeout(i._ended.bind(i,e),s)}return i._webAudio&&!n&&(e._paused=!0,e._ended=!0,e._seek=e._start||0,e._rateSeek=0,i._clearTimer(e._id),i._cleanBuffer(e._node),t._autoSuspend()),i._webAudio||n||i.stop(e._id,!0),i},_clearTimer:function(e){var t=this;if(t._endTimers[e]){if("function"!=typeof t._endTimers[e])clearTimeout(t._endTimers[e]);else{var i=t._soundById(e);i&&i._node&&i._node.removeEventListener("ended",t._endTimers[e],!1)}delete t._endTimers[e]}return t},_soundById:function(e){for(var t=this,i=0;i<t._sounds.length;i++)if(e===t._sounds[i]._id)return t._sounds[i];return null},_inactiveSound:function(){var e=this;e._drain();for(var t=0;t<e._sounds.length;t++)if(e._sounds[t]._ended)return e._sounds[t].reset();return new l(e)},_drain:function(){var e=this,t=e._pool,i=0,l=0;if(!(e._sounds.length<t)){for(l=0;l<e._sounds.length;l++)e._sounds[l]._ended&&i++;for(l=e._sounds.length-1;l>=0;l--){if(i<=t)return;e._sounds[l]._ended&&(e._webAudio&&e._sounds[l]._node&&e._sounds[l]._node.disconnect(0),e._sounds.splice(l,1),i--)}}},_getSoundIds:function(e){var t=this;if(void 0===e){for(var i=[],l=0;l<t._sounds.length;l++)i.push(t._sounds[l]._id);return i}return[e]},_refreshBuffer:function(e){var i=this;return e._node.bufferSource=t.ctx.createBufferSource(),e._node.bufferSource.buffer=n[i._src],e._panner?e._node.bufferSource.connect(e._panner):e._node.bufferSource.connect(e._node),e._node.bufferSource.loop=e._loop,e._loop&&(e._node.bufferSource.loopStart=e._start||0,e._node.bufferSource.loopEnd=e._stop||0),e._node.bufferSource.playbackRate.setValueAtTime(e._rate,t.ctx.currentTime),i},_cleanBuffer:function(e){var i=this,l=t._navigator&&t._navigator.vendor.indexOf("Apple")>=0;if(t._scratchBuffer&&e.bufferSource&&(e.bufferSource.onended=null,e.bufferSource.disconnect(0),l))try{e.bufferSource.buffer=t._scratchBuffer}catch(e){}return e.bufferSource=null,i}};var l=function(e){this._parent=e,this.init()};l.prototype={init:function(){var e=this,i=e._parent;return e._muted=i._muted,e._loop=i._loop,e._volume=i._volume,e._rate=i._rate,e._seek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++t._counter,i._sounds.push(e),e.create(),e},create:function(){var e=this,i=e._parent,l=t._muted||e._muted||e._parent._muted?0:e._volume;return i._webAudio?(e._node=void 0===t.ctx.createGain?t.ctx.createGainNode():t.ctx.createGain(),e._node.gain.setValueAtTime(l,t.ctx.currentTime),e._node.paused=!0,e._node.connect(t.masterGain)):(e._node=t._obtainHtml5Audio(),e._errorFn=e._errorListener.bind(e),e._node.addEventListener("error",e._errorFn,!1),e._loadFn=e._loadListener.bind(e),e._node.addEventListener(t._canPlayEvent,e._loadFn,!1),e._node.src=i._src,e._node.preload="auto",e._node.volume=l*t.volume(),e._node.load()),e},reset:function(){var e=this,i=e._parent;return e._muted=i._muted,e._loop=i._loop,e._volume=i._volume,e._rate=i._rate,e._seek=0,e._rateSeek=0,e._paused=!0,e._ended=!0,e._sprite="__default",e._id=++t._counter,e},_errorListener:function(){var e=this;e._parent._emit("loaderror",e._id,e._node.error?e._node.error.code:0),e._node.removeEventListener("error",e._errorFn,!1)},_loadListener:function(){var e=this,i=e._parent;i._duration=Math.ceil(10*e._node.duration)/10,0===Object.keys(i._sprite).length&&(i._sprite={__default:[0,1e3*i._duration]}),"loaded"!==i._state&&(i._state="loaded",i._emit("load"),i._loadQueue()),e._node.removeEventListener(t._canPlayEvent,e._loadFn,!1)}};var n={},s=function(e){var t=e._src;if(n[t])return e._duration=n[t].duration,void _(e);if(/^data:[^;]+;base64,/.test(t)){for(var i=atob(t.split(",")[1]),l=new Uint8Array(i.length),s=0;s<i.length;++s)l[s]=i.charCodeAt(s);r(l.buffer,e)}else{var o=new XMLHttpRequest;o.open("GET",t,!0),o.withCredentials=e._xhrWithCredentials,o.responseType="arraybuffer",o.onload=function(){var t=(o.status+"")[0];"0"===t||"2"===t||"3"===t?r(o.response,e):e._emit("loaderror",null,"Failed loading audio file with status: "+o.status+".")},o.onerror=function(){e._webAudio&&(e._html5=!0,e._webAudio=!1,e._sounds=[],delete n[t],e.load())},a(o)}},a=function(e){try{e.send()}catch(t){e.onerror()}},r=function(e,i){var l=function(){i._emit("loaderror",null,"Decoding audio data failed.")},s=function(e){e&&i._sounds.length>0?(n[i._src]=e,_(i,e)):l()};"undefined"!=typeof Promise&&1===t.ctx.decodeAudioData.length?t.ctx.decodeAudioData(e).then(s).catch(l):t.ctx.decodeAudioData(e,s,l)},_=function(e,t){t&&!e._duration&&(e._duration=t.duration),0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue())},o=function(){if(t.usingWebAudio){try{"undefined"!=typeof AudioContext?t.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?t.ctx=new webkitAudioContext:t.usingWebAudio=!1}catch(e){t.usingWebAudio=!1}t.ctx||(t.usingWebAudio=!1);var e=/iP(hone|od|ad)/.test(t._navigator&&t._navigator.platform),i=t._navigator&&t._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),l=i?parseInt(i[1],10):null;if(e&&l&&l<9){var n=/safari/.test(t._navigator&&t._navigator.userAgent.toLowerCase());(t._navigator&&t._navigator.standalone&&!n||t._navigator&&!t._navigator.standalone&&!n)&&(t.usingWebAudio=!1)}t.usingWebAudio&&(t.masterGain=void 0===t.ctx.createGain?t.ctx.createGainNode():t.ctx.createGain(),t.masterGain.gain.setValueAtTime(t._muted?0:1,t.ctx.currentTime),t.masterGain.connect(t.ctx.destination)),t._setup()}};"function"==typeof define&&define.amd&&define([],function(){return{Howler:t,Howl:i}}),"undefined"!=typeof exports&&(exports.Howler=t,exports.Howl=i),"undefined"!=typeof window?(window.HowlerGlobal=e,window.Howler=t,window.Howl=i,window.Sound=l):"undefined"!=typeof global&&(global.HowlerGlobal=e,global.Howler=t,global.Howl=i,global.Sound=l)}(),function(){"use strict";HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(e){var t=this;if(!t.ctx||!t.ctx.listener)return t;for(var i=t._howls.length-1;i>=0;i--)t._howls[i].stereo(e);return t},HowlerGlobal.prototype.pos=function(e,t,i){var l=this;return l.ctx&&l.ctx.listener?(t="number"!=typeof t?l._pos[1]:t,i="number"!=typeof i?l._pos[2]:i,"number"!=typeof e?l._pos:(l._pos=[e,t,i],void 0!==l.ctx.listener.positionX?(l.ctx.listener.positionX.setTargetAtTime(l._pos[0],Howler.ctx.currentTime,.1),l.ctx.listener.positionY.setTargetAtTime(l._pos[1],Howler.ctx.currentTime,.1),l.ctx.listener.positionZ.setTargetAtTime(l._pos[2],Howler.ctx.currentTime,.1)):l.ctx.listener.setPosition(l._pos[0],l._pos[1],l._pos[2]),l)):l},HowlerGlobal.prototype.orientation=function(e,t,i,l,n,s){var a=this;if(!a.ctx||!a.ctx.listener)return a;var r=a._orientation;return t="number"!=typeof t?r[1]:t,i="number"!=typeof i?r[2]:i,l="number"!=typeof l?r[3]:l,n="number"!=typeof n?r[4]:n,s="number"!=typeof s?r[5]:s,"number"!=typeof e?r:(a._orientation=[e,t,i,l,n,s],void 0!==a.ctx.listener.forwardX?(a.ctx.listener.forwardX.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(i,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(i,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(e,t,i,l,n,s),a)},Howl.prototype.init=function(e){return function(t){var i=this;return i._orientation=t.orientation||[1,0,0],i._stereo=t.stereo||null,i._pos=t.pos||null,i._pannerAttr={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:360,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:360,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:0,distanceModel:void 0!==t.distanceModel?t.distanceModel:"inverse",maxDistance:void 0!==t.maxDistance?t.maxDistance:1e4,panningModel:void 0!==t.panningModel?t.panningModel:"HRTF",refDistance:void 0!==t.refDistance?t.refDistance:1,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:1},i._onstereo=t.onstereo?[{fn:t.onstereo}]:[],i._onpos=t.onpos?[{fn:t.onpos}]:[],i._onorientation=t.onorientation?[{fn:t.onorientation}]:[],e.call(this,t)}}(Howl.prototype.init),Howl.prototype.stereo=function(t,i){var l=this;if(!l._webAudio)return l;if("loaded"!==l._state)return l._queue.push({event:"stereo",action:function(){l.stereo(t,i)}}),l;var n=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===i){if("number"!=typeof t)return l._stereo;l._stereo=t,l._pos=[t,0,0]}for(var s=l._getSoundIds(i),a=0;a<s.length;a++){var r=l._soundById(s[a]);if(r){if("number"!=typeof t)return r._stereo;r._stereo=t,r._pos=[t,0,0],r._node&&(r._pannerAttr.panningModel="equalpower",r._panner&&r._panner.pan||e(r,n),"spatial"===n?void 0!==r._panner.positionX?(r._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),r._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),r._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):r._panner.setPosition(t,0,0):r._panner.pan.setValueAtTime(t,Howler.ctx.currentTime)),l._emit("stereo",r._id)}}return l},Howl.prototype.pos=function(t,i,l,n){var s=this;if(!s._webAudio)return s;if("loaded"!==s._state)return s._queue.push({event:"pos",action:function(){s.pos(t,i,l,n)}}),s;if(i="number"!=typeof i?0:i,l="number"!=typeof l?-.5:l,void 0===n){if("number"!=typeof t)return s._pos;s._pos=[t,i,l]}for(var a=s._getSoundIds(n),r=0;r<a.length;r++){var _=s._soundById(a[r]);if(_){if("number"!=typeof t)return _._pos;_._pos=[t,i,l],_._node&&(_._panner&&!_._panner.pan||e(_,"spatial"),void 0!==_._panner.positionX?(_._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),_._panner.positionY.setValueAtTime(i,Howler.ctx.currentTime),_._panner.positionZ.setValueAtTime(l,Howler.ctx.currentTime)):_._panner.setPosition(t,i,l)),s._emit("pos",_._id)}}return s},Howl.prototype.orientation=function(t,i,l,n){var s=this;if(!s._webAudio)return s;if("loaded"!==s._state)return s._queue.push({event:"orientation",action:function(){s.orientation(t,i,l,n)}}),s;if(i="number"!=typeof i?s._orientation[1]:i,l="number"!=typeof l?s._orientation[2]:l,void 0===n){if("number"!=typeof t)return s._orientation;s._orientation=[t,i,l]}for(var a=s._getSoundIds(n),r=0;r<a.length;r++){var _=s._soundById(a[r]);if(_){if("number"!=typeof t)return _._orientation;_._orientation=[t,i,l],_._node&&(_._panner||(_._pos||(_._pos=s._pos||[0,0,-.5]),e(_,"spatial")),void 0!==_._panner.orientationX?(_._panner.orientationX.setValueAtTime(t,Howler.ctx.currentTime),_._panner.orientationY.setValueAtTime(i,Howler.ctx.currentTime),_._panner.orientationZ.setValueAtTime(l,Howler.ctx.currentTime)):_._panner.setOrientation(t,i,l)),s._emit("orientation",_._id)}}return s},Howl.prototype.pannerAttr=function(){var t,i,l,n=this,s=arguments;if(!n._webAudio)return n;if(0===s.length)return n._pannerAttr;if(1===s.length){if("object"!=typeof s[0])return l=n._soundById(parseInt(s[0],10)),l?l._pannerAttr:n._pannerAttr;t=s[0],void 0===i&&(t.pannerAttr||(t.pannerAttr={coneInnerAngle:t.coneInnerAngle,coneOuterAngle:t.coneOuterAngle,coneOuterGain:t.coneOuterGain,distanceModel:t.distanceModel,maxDistance:t.maxDistance,refDistance:t.refDistance,rolloffFactor:t.rolloffFactor,panningModel:t.panningModel}),n._pannerAttr={coneInnerAngle:void 0!==t.pannerAttr.coneInnerAngle?t.pannerAttr.coneInnerAngle:n._coneInnerAngle,coneOuterAngle:void 0!==t.pannerAttr.coneOuterAngle?t.pannerAttr.coneOuterAngle:n._coneOuterAngle,coneOuterGain:void 0!==t.pannerAttr.coneOuterGain?t.pannerAttr.coneOuterGain:n._coneOuterGain,distanceModel:void 0!==t.pannerAttr.distanceModel?t.pannerAttr.distanceModel:n._distanceModel,maxDistance:void 0!==t.pannerAttr.maxDistance?t.pannerAttr.maxDistance:n._maxDistance,refDistance:void 0!==t.pannerAttr.refDistance?t.pannerAttr.refDistance:n._refDistance,rolloffFactor:void 0!==t.pannerAttr.rolloffFactor?t.pannerAttr.rolloffFactor:n._rolloffFactor,panningModel:void 0!==t.pannerAttr.panningModel?t.pannerAttr.panningModel:n._panningModel})}else 2===s.length&&(t=s[0],i=parseInt(s[1],10));for(var a=n._getSoundIds(i),r=0;r<a.length;r++)if(l=n._soundById(a[r])){var _=l._pannerAttr;_={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:_.coneInnerAngle,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:_.coneOuterAngle,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:_.coneOuterGain,distanceModel:void 0!==t.distanceModel?t.distanceModel:_.distanceModel,maxDistance:void 0!==t.maxDistance?t.maxDistance:_.maxDistance,refDistance:void 0!==t.refDistance?t.refDistance:_.refDistance,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:_.rolloffFactor,panningModel:void 0!==t.panningModel?t.panningModel:_.panningModel};var o=l._panner;o?(o.coneInnerAngle=_.coneInnerAngle,o.coneOuterAngle=_.coneOuterAngle,o.coneOuterGain=_.coneOuterGain,o.distanceModel=_.distanceModel,o.maxDistance=_.maxDistance,o.refDistance=_.refDistance,o.rolloffFactor=_.rolloffFactor,o.panningModel=_.panningModel):(l._pos||(l._pos=n._pos||[0,0,-.5]),e(l,"spatial"))}return n},Sound.prototype.init=function(e){return function(){var t=this,i=t._parent;t._orientation=i._orientation,t._stereo=i._stereo,t._pos=i._pos,t._pannerAttr=i._pannerAttr,e.call(this),t._stereo?i.stereo(t._stereo):t._pos&&i.pos(t._pos[0],t._pos[1],t._pos[2],t._id)}}(Sound.prototype.init),Sound.prototype.reset=function(e){return function(){var t=this,i=t._parent;return t._orientation=i._orientation,t._stereo=i._stereo,t._pos=i._pos,t._pannerAttr=i._pannerAttr,t._stereo?i.stereo(t._stereo):t._pos?i.pos(t._pos[0],t._pos[1],t._pos[2],t._id):t._panner&&(t._panner.disconnect(0),t._panner=void 0,i._refreshBuffer(t)),e.call(this)}}(Sound.prototype.reset);var e=function(e,t){"spatial"===(t=t||"spatial")?(e._panner=Howler.ctx.createPanner(),e._panner.coneInnerAngle=e._pannerAttr.coneInnerAngle,e._panner.coneOuterAngle=e._pannerAttr.coneOuterAngle,e._panner.coneOuterGain=e._pannerAttr.coneOuterGain,e._panner.distanceModel=e._pannerAttr.distanceModel,e._panner.maxDistance=e._pannerAttr.maxDistance,e._panner.refDistance=e._pannerAttr.refDistance,e._panner.rolloffFactor=e._pannerAttr.rolloffFactor,e._panner.panningModel=e._pannerAttr.panningModel,void 0!==e._panner.positionX?(e._panner.positionX.setValueAtTime(e._pos[0],Howler.ctx.currentTime),e._panner.positionY.setValueAtTime(e._pos[1],Howler.ctx.currentTime),e._panner.positionZ.setValueAtTime(e._pos[2],Howler.ctx.currentTime)):e._panner.setPosition(e._pos[0],e._pos[1],e._pos[2]),void 0!==e._panner.orientationX?(e._panner.orientationX.setValueAtTime(e._orientation[0],Howler.ctx.currentTime),e._panner.orientationY.setValueAtTime(e._orientation[1],Howler.ctx.currentTime),e._panner.orientationZ.setValueAtTime(e._orientation[2],Howler.ctx.currentTime)):e._panner.setOrientation(e._orientation[0],e._orientation[1],e._orientation[2])):(e._panner=Howler.ctx.createStereoPanner(),e._panner.pan.setValueAtTime(e._stereo,Howler.ctx.currentTime)),e._panner.connect(e._node),e._paused||e._parent.pause(e._id,!0).play(e._id,!0)}}(),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pako=e()}}(function(){return function e(t,i,l){function n(a,r){if(!i[a]){if(!t[a]){var _="function"==typeof require&&require;if(!r&&_)return _(a,!0);if(s)return s(a,!0);var o=new Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}var h=i[a]={exports:{}};t[a][0].call(h.exports,function(e){var i=t[a][1][e];return n(i||e)},h,h.exports,e,t,i,l)}return i[a].exports}for(var s="function"==typeof require&&require,a=0;a<l.length;a++)n(l[a]);return n}({1:[function(e,t,i){"use strict";function l(e){if(!(this instanceof l))return new l(e);this.options=_.assign({level:p,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var i=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(i!==c)throw new Error(h[i]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===d.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(i=r.deflateSetDictionary(this.strm,n))!==c)throw new Error(h[i]);this._dict_set=!0}}function n(e,t){var i=new l(t);if(i.push(e,!0),i.err)throw i.msg;return i.result}function s(e,t){return t=t||{},t.raw=!0,n(e,t)}function a(e,t){return t=t||{},t.gzip=!0,n(e,t)}var r=e("./zlib/deflate"),_=e("./utils/common"),o=e("./utils/strings"),h=e("./zlib/messages"),u=e("./zlib/zstream"),d=Object.prototype.toString,c=0,p=-1,f=0,m=8;l.prototype.push=function(e,t){var i,l,n=this.strm,s=this.options.chunkSize;if(this.ended)return!1;l=t===~~t?t:!0===t?4:0,"string"==typeof e?n.input=o.string2buf(e):"[object ArrayBuffer]"===d.call(e)?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(0===n.avail_out&&(n.output=new _.Buf8(s),n.next_out=0,n.avail_out=s),1!==(i=r.deflate(n,l))&&i!==c)return this.onEnd(i),this.ended=!0,!1;0!==n.avail_out&&(0!==n.avail_in||4!==l&&2!==l)||("string"===this.options.to?this.onData(o.buf2binstring(_.shrinkBuf(n.output,n.next_out))):this.onData(_.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||0===n.avail_out)&&1!==i);return 4===l?(i=r.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===c):2!==l||(this.onEnd(c),n.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},i.Deflate=l,i.deflate=n,i.deflateRaw=s,i.gzip=a},{"./utils/common":3,"./utils/strings":4,"./zlib/deflate":8,"./zlib/messages":13,"./zlib/zstream":15}],2:[function(e,t,i){"use strict";function l(e){if(!(this instanceof l))return new l(e);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var i=a.inflateInit2(this.strm,t.windowBits);if(i!==o.Z_OK)throw new Error(h[i]);this.header=new d,a.inflateGetHeader(this.strm,this.header)}function n(e,t){var i=new l(t);if(i.push(e,!0),i.err)throw i.msg;return i.result}function s(e,t){return t=t||{},t.raw=!0,n(e,t)}var a=e("./zlib/inflate"),r=e("./utils/common"),_=e("./utils/strings"),o=e("./zlib/constants"),h=e("./zlib/messages"),u=e("./zlib/zstream"),d=e("./zlib/gzheader"),c=Object.prototype.toString;l.prototype.push=function(e,t){var i,l,n,s,h,u,d=this.strm,p=this.options.chunkSize,f=this.options.dictionary,m=!1;if(this.ended)return!1;l=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?d.input=_.binstring2buf(e):"[object ArrayBuffer]"===c.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new r.Buf8(p),d.next_out=0,d.avail_out=p),(i=a.inflate(d,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&f&&(u="string"==typeof f?_.string2buf(f):"[object ArrayBuffer]"===c.call(f)?new Uint8Array(f):f,i=a.inflateSetDictionary(this.strm,u)),i===o.Z_BUF_ERROR&&!0===m&&(i=o.Z_OK,m=!1),i!==o.Z_STREAM_END&&i!==o.Z_OK)return this.onEnd(i),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&i!==o.Z_STREAM_END&&(0!==d.avail_in||l!==o.Z_FINISH&&l!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(n=_.utf8border(d.output,d.next_out),s=d.next_out-n,h=_.buf2string(d.output,n),d.next_out=s,d.avail_out=p-s,s&&r.arraySet(d.output,d.output,n,s,0),this.onData(h)):this.onData(r.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(m=!0)}while((d.avail_in>0||0===d.avail_out)&&i!==o.Z_STREAM_END);return i===o.Z_STREAM_END&&(l=o.Z_FINISH),l===o.Z_FINISH?(i=a.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===o.Z_OK):l!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),d.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},i.Inflate=l,i.inflate=n,i.inflateRaw=s,i.ungzip=n},{"./utils/common":3,"./utils/strings":4,"./zlib/constants":6,"./zlib/gzheader":9,"./zlib/inflate":11,"./zlib/messages":13,"./zlib/zstream":15}],3:[function(e,t,i){"use strict";var l="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var i=t.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var l in i)i.hasOwnProperty(l)&&(e[l]=i[l])}}return e},i.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,i,l,n){if(t.subarray&&e.subarray)e.set(t.subarray(i,i+l),n);else for(var s=0;s<l;s++)e[n+s]=t[i+s]},flattenChunks:function(e){var t,i,l,n,s,a;for(l=0,t=0,i=e.length;t<i;t++)l+=e[t].length;for(a=new Uint8Array(l),n=0,t=0,i=e.length;t<i;t++)s=e[t],a.set(s,n),n+=s.length;return a}},s={arraySet:function(e,t,i,l,n){for(var s=0;s<l;s++)e[n+s]=t[i+s]},flattenChunks:function(e){return[].concat.apply([],e)}};i.setTyped=function(e){e?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,n)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(l)},{}],4:[function(e,t,i){"use strict";function l(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&s))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var i="",l=0;l<t;l++)i+=String.fromCharCode(e[l]);return i}var n=e("./common"),s=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var r=new n.Buf8(256),_=0;_<256;_++)r[_]=_>=252?6:_>=248?5:_>=240?4:_>=224?3:_>=192?2:1;r[254]=r[254]=1,i.string2buf=function(e){var t,i,l,s,a,r=e.length,_=0;for(s=0;s<r;s++)55296==(64512&(i=e.charCodeAt(s)))&&s+1<r&&56320==(64512&(l=e.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(l-56320),s++),_+=i<128?1:i<2048?2:i<65536?3:4;for(t=new n.Buf8(_),a=0,s=0;a<_;s++)55296==(64512&(i=e.charCodeAt(s)))&&s+1<r&&56320==(64512&(l=e.charCodeAt(s+1)))&&(i=65536+(i-55296<<10)+(l-56320),s++),i<128?t[a++]=i:i<2048?(t[a++]=192|i>>>6,t[a++]=128|63&i):i<65536?(t[a++]=224|i>>>12,t[a++]=128|i>>>6&63,t[a++]=128|63&i):(t[a++]=240|i>>>18,t[a++]=128|i>>>12&63,t[a++]=128|i>>>6&63,t[a++]=128|63&i);return t},i.buf2binstring=function(e){return l(e,e.length)},i.binstring2buf=function(e){for(var t=new n.Buf8(e.length),i=0,l=t.length;i<l;i++)t[i]=e.charCodeAt(i);return t},i.buf2string=function(e,t){var i,n,s,a,_=t||e.length,o=new Array(2*_);for(n=0,i=0;i<_;)if((s=e[i++])<128)o[n++]=s;else if((a=r[s])>4)o[n++]=65533,i+=a-1;else{for(s&=2===a?31:3===a?15:7;a>1&&i<_;)s=s<<6|63&e[i++],a--;a>1?o[n++]=65533:s<65536?o[n++]=s:(s-=65536,o[n++]=55296|s>>10&1023,o[n++]=56320|1023&s)}return l(o,n)},i.utf8border=function(e,t){var i;for((t=t||e.length)>e.length&&(t=e.length),i=t-1;i>=0&&128==(192&e[i]);)i--;return i<0?t:0===i?t:i+r[e[i]]>t?i:t}},{"./common":3}],5:[function(e,t,i){"use strict";function l(e,t,i,l){for(var n=65535&e|0,s=e>>>16&65535|0,a=0;0!==i;){i-=a=i>2e3?2e3:i;do{n=n+t[l++]|0,s=s+n|0}while(--a);n%=65521,s%=65521}return n|s<<16|0}t.exports=l},{}],6:[function(e,t,i){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],7:[function(e,t,i){"use strict";function l(e,t,i,l){var s=n,a=l+i;e^=-1;for(var r=l;r<a;r++)e=e>>>8^s[255&(e^t[r])];return-1^e}var n=function(){for(var e,t=[],i=0;i<256;i++){e=i;for(var l=0;l<8;l++)e=1&e?3988292384^e>>>1:e>>>1;t[i]=e}return t}();t.exports=l},{}],8:[function(e,t,i){"use strict";function l(e,t){return e.msg=W[t],t}function n(e){return(e<<1)-(e>4?9:0)}function s(e){for(var t=e.length;--t>=0;)e[t]=0}function a(e){var t=e.state,i=t.pending;i>e.avail_out&&(i=e.avail_out),0!==i&&(R.arraySet(e.output,t.pending_buf,t.pending_out,i,e.next_out),e.next_out+=i,t.pending_out+=i,e.total_out+=i,e.avail_out-=i,t.pending-=i,0===t.pending&&(t.pending_out=0))}function r(e,t){w._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,a(e.strm)}function _(e,t){e.pending_buf[e.pending++]=t}function o(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function h(e,t,i,l){var n=e.avail_in;return n>l&&(n=l),0===n?0:(e.avail_in-=n,R.arraySet(t,e.input,e.next_in,n,i),1===e.state.wrap?e.adler=E(e.adler,t,n,i):2===e.state.wrap&&(e.adler=k(e.adler,t,n,i)),e.next_in+=n,e.total_in+=n,n)}function u(e,t){var i,l,n=e.max_chain_length,s=e.strstart,a=e.prev_length,r=e.nice_match,_=e.strstart>e.w_size-oe?e.strstart-(e.w_size-oe):0,o=e.window,h=e.w_mask,u=e.prev,d=e.strstart+_e,c=o[s+a-1],p=o[s+a];e.prev_length>=e.good_match&&(n>>=2),r>e.lookahead&&(r=e.lookahead);do{if(i=t,o[i+a]===p&&o[i+a-1]===c&&o[i]===o[s]&&o[++i]===o[s+1]){s+=2,i++;do{}while(o[++s]===o[++i]&&o[++s]===o[++i]&&o[++s]===o[++i]&&o[++s]===o[++i]&&o[++s]===o[++i]&&o[++s]===o[++i]&&o[++s]===o[++i]&&o[++s]===o[++i]&&s<d);if(l=_e-(d-s),s=d-_e,l>a){if(e.match_start=t,a=l,l>=r)break;c=o[s+a-1],p=o[s+a]}}}while((t=u[t&h])>_&&0!=--n);return a<=e.lookahead?a:e.lookahead}function d(e){var t,i,l,n,s,a=e.w_size;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-oe)){R.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=i=e.hash_size;do{l=e.head[--t],e.head[t]=l>=a?l-a:0}while(--i);t=i=a;do{l=e.prev[--t],e.prev[t]=l>=a?l-a:0}while(--i);n+=a}if(0===e.strm.avail_in)break;if(i=h(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=i,e.lookahead+e.insert>=re)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+re-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<re)););}while(e.lookahead<oe&&0!==e.strm.avail_in)}function c(e,t){var i=65535;for(i>e.pending_buf_size-5&&(i=e.pending_buf_size-5);;){if(e.lookahead<=1){if(d(e),0===e.lookahead&&t===Z)return ge;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var l=e.block_start+i;if((0===e.strstart||e.strstart>=l)&&(e.lookahead=e.strstart-l,e.strstart=l,r(e,!1),0===e.strm.avail_out))return ge;if(e.strstart-e.block_start>=e.w_size-oe&&(r(e,!1),0===e.strm.avail_out))return ge}return e.insert=0,t===V?(r(e,!0),0===e.strm.avail_out?ye:Se):(e.strstart>e.block_start&&(r(e,!1),e.strm.avail_out),ge)}function p(e,t){for(var i,l;;){if(e.lookahead<oe){if(d(e),e.lookahead<oe&&t===Z)return ge;if(0===e.lookahead)break}if(i=0,e.lookahead>=re&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+re-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==i&&e.strstart-i<=e.w_size-oe&&(e.match_length=u(e,i)),e.match_length>=re)if(l=w._tr_tally(e,e.strstart-e.match_start,e.match_length-re),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=re){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+re-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else l=w._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(l&&(r(e,!1),0===e.strm.avail_out))return ge}return e.insert=e.strstart<re-1?e.strstart:re-1,t===V?(r(e,!0),0===e.strm.avail_out?ye:Se):e.last_lit&&(r(e,!1),0===e.strm.avail_out)?ge:Fe}function f(e,t){for(var i,l,n;;){if(e.lookahead<oe){if(d(e),e.lookahead<oe&&t===Z)return ge;if(0===e.lookahead)break}if(i=0,e.lookahead>=re&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+re-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=re-1,0!==i&&e.prev_length<e.max_lazy_match&&e.strstart-i<=e.w_size-oe&&(e.match_length=u(e,i),e.match_length<=5&&(e.strategy===$||e.match_length===re&&e.strstart-e.match_start>4096)&&(e.match_length=re-1)),e.prev_length>=re&&e.match_length<=e.prev_length){n=e.strstart+e.lookahead-re,l=w._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-re),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+re-1])&e.hash_mask,i=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=re-1,e.strstart++,l&&(r(e,!1),0===e.strm.avail_out))return ge}else if(e.match_available){if((l=w._tr_tally(e,0,e.window[e.strstart-1]))&&r(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return ge}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(l=w._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<re-1?e.strstart:re-1,t===V?(r(e,!0),0===e.strm.avail_out?ye:Se):e.last_lit&&(r(e,!1),0===e.strm.avail_out)?ge:Fe}function m(e,t){for(var i,l,n,s,a=e.window;;){if(e.lookahead<=_e){if(d(e),e.lookahead<=_e&&t===Z)return ge;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=re&&e.strstart>0&&(n=e.strstart-1,(l=a[n])===a[++n]&&l===a[++n]&&l===a[++n])){s=e.strstart+_e;do{}while(l===a[++n]&&l===a[++n]&&l===a[++n]&&l===a[++n]&&l===a[++n]&&l===a[++n]&&l===a[++n]&&l===a[++n]&&n<s);e.match_length=_e-(s-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=re?(i=w._tr_tally(e,1,e.match_length-re),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(i=w._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),i&&(r(e,!1),0===e.strm.avail_out))return ge}return e.insert=0,t===V?(r(e,!0),0===e.strm.avail_out?ye:Se):e.last_lit&&(r(e,!1),0===e.strm.avail_out)?ge:Fe}function x(e,t){for(var i;;){if(0===e.lookahead&&(d(e),0===e.lookahead)){if(t===Z)return ge;break}if(e.match_length=0,i=w._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,i&&(r(e,!1),0===e.strm.avail_out))return ge}return e.insert=0,t===V?(r(e,!0),0===e.strm.avail_out?ye:Se):e.last_lit&&(r(e,!1),0===e.strm.avail_out)?ge:Fe}function g(e,t,i,l,n){this.good_length=e,this.max_lazy=t,this.nice_length=i,this.max_chain=l,this.func=n}function F(e){e.window_size=2*e.w_size,s(e.head),e.max_lazy_match=B[e.level].max_lazy,e.good_match=B[e.level].good_length,e.nice_match=B[e.level].nice_length,e.max_chain_length=B[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=re-1,e.match_available=0,e.ins_h=0}function y(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=K,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new R.Buf16(2*se),this.dyn_dtree=new R.Buf16(2*(2*le+1)),this.bl_tree=new R.Buf16(2*(2*ne+1)),s(this.dyn_ltree),s(this.dyn_dtree),s(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new R.Buf16(ae+1),this.heap=new R.Buf16(2*ie+1),s(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new R.Buf16(2*ie+1),s(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function S(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=j,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?ue:me,e.adler=2===t.wrap?0:1,t.last_flush=Z,w._tr_init(t),G):l(e,I)}function b(e){var t=S(e);return t===G&&F(e.state),t}function U(e,t){return e&&e.state?2!==e.state.wrap?I:(e.state.gzhead=t,G):I}function v(e,t,i,n,s,a){if(!e)return I;var r=1;if(t===O&&(t=6),n<0?(r=0,n=-n):n>15&&(r=2,n-=16),s<1||s>q||i!==K||n<8||n>15||t<0||t>9||a<0||a>Y)return l(e,I);8===n&&(n=9);var _=new y;return e.state=_,_.strm=e,_.wrap=r,_.gzhead=null,_.w_bits=n,_.w_size=1<<_.w_bits,_.w_mask=_.w_size-1,_.hash_bits=s+7,_.hash_size=1<<_.hash_bits,_.hash_mask=_.hash_size-1,_.hash_shift=~~((_.hash_bits+re-1)/re),_.window=new R.Buf8(2*_.w_size),_.head=new R.Buf16(_.hash_size),_.prev=new R.Buf16(_.w_size),_.lit_bufsize=1<<s+6,_.pending_buf_size=4*_.lit_bufsize,_.pending_buf=new R.Buf8(_.pending_buf_size),_.d_buf=1*_.lit_bufsize,_.l_buf=3*_.lit_bufsize,_.level=t,_.strategy=a,_.method=i,b(e)}function T(e,t){return v(e,t,K,ee,te,X)}function N(e,t){var i,r,h,u;if(!e||!e.state||t>A||t<0)return e?l(e,I):I;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===xe&&t!==V)return l(e,0===e.avail_out?J:I);if(r.strm=e,i=r.last_flush,r.last_flush=t,r.status===ue)if(2===r.wrap)e.adler=0,_(r,31),_(r,139),_(r,8),r.gzhead?(_(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),_(r,255&r.gzhead.time),_(r,r.gzhead.time>>8&255),_(r,r.gzhead.time>>16&255),_(r,r.gzhead.time>>24&255),_(r,9===r.level?2:r.strategy>=H||r.level<2?4:0),_(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(_(r,255&r.gzhead.extra.length),_(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=k(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=de):(_(r,0),_(r,0),_(r,0),_(r,0),_(r,0),_(r,9===r.level?2:r.strategy>=H||r.level<2?4:0),_(r,be),r.status=me);else{var d=K+(r.w_bits-8<<4)<<8;d|=(r.strategy>=H||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(d|=he),d+=31-d%31,r.status=me,o(r,d),0!==r.strstart&&(o(r,e.adler>>>16),o(r,65535&e.adler)),e.adler=1}if(r.status===de)if(r.gzhead.extra){for(h=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>h&&(e.adler=k(e.adler,r.pending_buf,r.pending-h,h)),a(e),h=r.pending,r.pending!==r.pending_buf_size));)_(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>h&&(e.adler=k(e.adler,r.pending_buf,r.pending-h,h)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=ce)}else r.status=ce;if(r.status===ce)if(r.gzhead.name){h=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>h&&(e.adler=k(e.adler,r.pending_buf,r.pending-h,h)),a(e),h=r.pending,r.pending===r.pending_buf_size)){u=1;break}u=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,_(r,u)}while(0!==u);r.gzhead.hcrc&&r.pending>h&&(e.adler=k(e.adler,r.pending_buf,r.pending-h,h)),0===u&&(r.gzindex=0,r.status=pe)}else r.status=pe;if(r.status===pe)if(r.gzhead.comment){h=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>h&&(e.adler=k(e.adler,r.pending_buf,r.pending-h,h)),a(e),h=r.pending,r.pending===r.pending_buf_size)){u=1;break}u=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,_(r,u)}while(0!==u);r.gzhead.hcrc&&r.pending>h&&(e.adler=k(e.adler,r.pending_buf,r.pending-h,h)),0===u&&(r.status=fe)}else r.status=fe;if(r.status===fe&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&a(e),r.pending+2<=r.pending_buf_size&&(_(r,255&e.adler),_(r,e.adler>>8&255),e.adler=0,r.status=me)):r.status=me),0!==r.pending){if(a(e),0===e.avail_out)return r.last_flush=-1,G}else if(0===e.avail_in&&n(t)<=n(i)&&t!==V)return l(e,J);if(r.status===xe&&0!==e.avail_in)return l(e,J);if(0!==e.avail_in||0!==r.lookahead||t!==Z&&r.status!==xe){var c=r.strategy===H?x(r,t):r.strategy===z?m(r,t):B[r.level].func(r,t);if(c!==ye&&c!==Se||(r.status=xe),c===ge||c===ye)return 0===e.avail_out&&(r.last_flush=-1),G;if(c===Fe&&(t===M?w._tr_align(r):t!==A&&(w._tr_stored_block(r,0,0,!1),t===P&&(s(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),a(e),0===e.avail_out))return r.last_flush=-1,G}return t!==V?G:r.wrap<=0?C:(2===r.wrap?(_(r,255&e.adler),_(r,e.adler>>8&255),_(r,e.adler>>16&255),_(r,e.adler>>24&255),_(r,255&e.total_in),_(r,e.total_in>>8&255),_(r,e.total_in>>16&255),_(r,e.total_in>>24&255)):(o(r,e.adler>>>16),o(r,65535&e.adler)),a(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?G:C)}function D(e){var t;return e&&e.state?(t=e.state.status,t!==ue&&t!==de&&t!==ce&&t!==pe&&t!==fe&&t!==me&&t!==xe?l(e,I):(e.state=null,t===me?l(e,L):G)):I}function Q(e,t){var i,l,n,a,r,_,o,h,u=t.length;if(!e||!e.state)return I;if(i=e.state,2===(a=i.wrap)||1===a&&i.status!==ue||i.lookahead)return I;for(1===a&&(e.adler=E(e.adler,t,u,0)),i.wrap=0,u>=i.w_size&&(0===a&&(s(i.head),i.strstart=0,i.block_start=0,i.insert=0),h=new R.Buf8(i.w_size),R.arraySet(h,t,u-i.w_size,i.w_size,0),t=h,u=i.w_size),r=e.avail_in,_=e.next_in,o=e.input,e.avail_in=u,e.next_in=0,e.input=t,d(i);i.lookahead>=re;){l=i.strstart,n=i.lookahead-(re-1);do{i.ins_h=(i.ins_h<<i.hash_shift^i.window[l+re-1])&i.hash_mask,i.prev[l&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=l,l++}while(--n);i.strstart=l,i.lookahead=re-1,d(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=re-1,i.match_available=0,e.next_in=_,e.input=o,e.avail_in=r,i.wrap=a,G}var B,R=e("../utils/common"),w=e("./trees"),E=e("./adler32"),k=e("./crc32"),W=e("./messages"),Z=0,M=1,P=3,V=4,A=5,G=0,C=1,I=-2,L=-3,J=-5,O=-1,$=1,H=2,z=3,Y=4,X=0,j=2,K=8,q=9,ee=15,te=8,ie=286,le=30,ne=19,se=2*ie+1,ae=15,re=3,_e=258,oe=_e+re+1,he=32,ue=42,de=69,ce=73,pe=91,fe=103,me=113,xe=666,ge=1,Fe=2,ye=3,Se=4,be=3;B=[new g(0,0,0,0,c),new g(4,4,8,4,p),new g(4,5,16,8,p),new g(4,6,32,32,p),new g(4,4,16,16,f),new g(8,16,32,32,f),new g(8,16,128,128,f),new g(8,32,128,256,f),new g(32,128,258,1024,f),new g(32,258,258,4096,f)],i.deflateInit=T,i.deflateInit2=v,i.deflateReset=b,i.deflateResetKeep=S,i.deflateSetHeader=U,i.deflate=N,i.deflateEnd=D,i.deflateSetDictionary=Q,i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./messages":13,"./trees":14}],9:[function(e,t,i){"use strict";function l(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}t.exports=l},{}],10:[function(e,t,i){"use strict";t.exports=function(e,t){var i,l,n,s,a,r,_,o,h,u,d,c,p,f,m,x,g,F,y,S,b,U,v,T,N;i=e.state,l=e.next_in,T=e.input,n=l+(e.avail_in-5),s=e.next_out,N=e.output,a=s-(t-e.avail_out),r=s+(e.avail_out-257),_=i.dmax,o=i.wsize,h=i.whave,u=i.wnext,d=i.window,c=i.hold,p=i.bits,f=i.lencode,m=i.distcode,x=(1<<i.lenbits)-1,g=(1<<i.distbits)-1;e:do{p<15&&(c+=T[l++]<<p,p+=8,c+=T[l++]<<p,p+=8),F=f[c&x];t:for(;;){if(y=F>>>24,c>>>=y,p-=y,0===(y=F>>>16&255))N[s++]=65535&F;else{if(!(16&y)){if(0==(64&y)){F=f[(65535&F)+(c&(1<<y)-1)];continue t}if(32&y){i.mode=12;break e}e.msg="invalid literal/length code",i.mode=30;break e}S=65535&F,(y&=15)&&(p<y&&(c+=T[l++]<<p,p+=8),S+=c&(1<<y)-1,c>>>=y,p-=y),p<15&&(c+=T[l++]<<p,p+=8,c+=T[l++]<<p,p+=8),F=m[c&g];i:for(;;){if(y=F>>>24,c>>>=y,p-=y,!(16&(y=F>>>16&255))){if(0==(64&y)){F=m[(65535&F)+(c&(1<<y)-1)];continue i}e.msg="invalid distance code",i.mode=30;break e}if(b=65535&F,y&=15,p<y&&(c+=T[l++]<<p,(p+=8)<y&&(c+=T[l++]<<p,p+=8)),(b+=c&(1<<y)-1)>_){e.msg="invalid distance too far back",i.mode=30;break e}if(c>>>=y,p-=y,y=s-a,b>y){if((y=b-y)>h&&i.sane){e.msg="invalid distance too far back",i.mode=30;break e}if(U=0,v=d,0===u){if(U+=o-y,y<S){S-=y;do{N[s++]=d[U++]}while(--y);U=s-b,v=N}}else if(u<y){if(U+=o+u-y,(y-=u)<S){S-=y;do{N[s++]=d[U++]}while(--y);if(U=0,u<S){S-=y=u;do{N[s++]=d[U++]}while(--y);U=s-b,v=N}}}else if(U+=u-y,y<S){S-=y;do{N[s++]=d[U++]}while(--y);U=s-b,v=N}for(;S>2;)N[s++]=v[U++],N[s++]=v[U++],N[s++]=v[U++],S-=3;S&&(N[s++]=v[U++],S>1&&(N[s++]=v[U++]))}else{U=s-b;do{N[s++]=N[U++],N[s++]=N[U++],N[s++]=N[U++],S-=3}while(S>2);S&&(N[s++]=N[U++],S>1&&(N[s++]=N[U++]))}break}}break}}while(l<n&&s<r);l-=S=p>>3,c&=(1<<(p-=S<<3))-1,e.next_in=l,e.next_out=s,e.avail_in=l<n?n-l+5:5-(l-n),e.avail_out=s<r?r-s+257:257-(s-r),i.hold=c,i.bits=p}},{}],11:[function(e,t,i){"use strict";function l(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function n(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new g.Buf16(320),this.work=new g.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function s(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=P,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new g.Buf32(fe),t.distcode=t.distdyn=new g.Buf32(me),t.sane=1,t.back=-1,B):E}function a(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,s(e)):E}function r(e,t){var i,l;return e&&e.state?(l=e.state,t<0?(i=0,t=-t):(i=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?E:(null!==l.window&&l.wbits!==t&&(l.window=null),l.wrap=i,l.wbits=t,a(e))):E}function _(e,t){var i,l;return e?(l=new n,e.state=l,l.window=null,(i=r(e,t))!==B&&(e.state=null),i):E}function o(e){return _(e,xe)}function h(e){if(ge){var t;for(m=new g.Buf32(512),x=new g.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(b(v,e.lens,0,288,m,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;b(T,e.lens,0,32,x,0,e.work,{bits:5}),ge=!1}e.lencode=m,e.lenbits=9,e.distcode=x,e.distbits=5}function u(e,t,i,l){var n,s=e.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new g.Buf8(s.wsize)),l>=s.wsize?(g.arraySet(s.window,t,i-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):((n=s.wsize-s.wnext)>l&&(n=l),g.arraySet(s.window,t,i-l,n,s.wnext),l-=n,l?(g.arraySet(s.window,t,i-l,l,0),s.wnext=l,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0}function d(e,t){var i,n,s,a,r,_,o,d,c,p,f,m,x,fe,me,xe,ge,Fe,ye,Se,be,Ue,ve,Te,Ne=0,De=new g.Buf8(4),Qe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return E;(i=e.state).mode===z&&(i.mode=Y),r=e.next_out,s=e.output,o=e.avail_out,a=e.next_in,n=e.input,_=e.avail_in,d=i.hold,c=i.bits,p=_,f=o,Ue=B;e:for(;;)switch(i.mode){case P:if(0===i.wrap){i.mode=Y;break}for(;c<16;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(2&i.wrap&&35615===d){i.check=0,De[0]=255&d,De[1]=d>>>8&255,i.check=y(i.check,De,2,0),d=0,c=0,i.mode=V;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&d)<<8)+(d>>8))%31){e.msg="incorrect header check",i.mode=de;break}if((15&d)!==M){e.msg="unknown compression method",i.mode=de;break}if(d>>>=4,c-=4,be=8+(15&d),0===i.wbits)i.wbits=be;else if(be>i.wbits){e.msg="invalid window size",i.mode=de;break}i.dmax=1<<be,e.adler=i.check=1,i.mode=512&d?$:z,d=0,c=0;break;case V:for(;c<16;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(i.flags=d,(255&i.flags)!==M){e.msg="unknown compression method",i.mode=de;break}if(57344&i.flags){e.msg="unknown header flags set",i.mode=de;break}i.head&&(i.head.text=d>>8&1),512&i.flags&&(De[0]=255&d,De[1]=d>>>8&255,i.check=y(i.check,De,2,0)),d=0,c=0,i.mode=A;case A:for(;c<32;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}i.head&&(i.head.time=d),512&i.flags&&(De[0]=255&d,De[1]=d>>>8&255,De[2]=d>>>16&255,De[3]=d>>>24&255,i.check=y(i.check,De,4,0)),d=0,c=0,i.mode=G;case G:for(;c<16;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}i.head&&(i.head.xflags=255&d,i.head.os=d>>8),512&i.flags&&(De[0]=255&d,De[1]=d>>>8&255,i.check=y(i.check,De,2,0)),d=0,c=0,i.mode=C;case C:if(1024&i.flags){for(;c<16;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}i.length=d,i.head&&(i.head.extra_len=d),512&i.flags&&(De[0]=255&d,De[1]=d>>>8&255,i.check=y(i.check,De,2,0)),d=0,c=0}else i.head&&(i.head.extra=null);i.mode=I;case I:if(1024&i.flags&&((m=i.length)>_&&(m=_),m&&(i.head&&(be=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),g.arraySet(i.head.extra,n,a,m,be)),512&i.flags&&(i.check=y(i.check,n,m,a)),_-=m,a+=m,i.length-=m),i.length))break e;i.length=0,i.mode=L;case L:if(2048&i.flags){if(0===_)break e;m=0;do{be=n[a+m++],i.head&&be&&i.length<65536&&(i.head.name+=String.fromCharCode(be))}while(be&&m<_);if(512&i.flags&&(i.check=y(i.check,n,m,a)),_-=m,a+=m,be)break e}else i.head&&(i.head.name=null);i.length=0,i.mode=J;case J:if(4096&i.flags){if(0===_)break e;m=0;do{be=n[a+m++],i.head&&be&&i.length<65536&&(i.head.comment+=String.fromCharCode(be))}while(be&&m<_);if(512&i.flags&&(i.check=y(i.check,n,m,a)),_-=m,a+=m,be)break e}else i.head&&(i.head.comment=null);i.mode=O;case O:if(512&i.flags){for(;c<16;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(d!==(65535&i.check)){e.msg="header crc mismatch",i.mode=de;break}d=0,c=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),e.adler=i.check=0,i.mode=z;break;case $:for(;c<32;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}e.adler=i.check=l(d),d=0,c=0,i.mode=H;case H:if(0===i.havedict)return e.next_out=r,e.avail_out=o,e.next_in=a,e.avail_in=_,i.hold=d,i.bits=c,w;e.adler=i.check=1,i.mode=z;case z:if(t===D||t===Q)break e;case Y:if(i.last){d>>>=7&c,c-=7&c,i.mode=oe;break}for(;c<3;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}switch(i.last=1&d,d>>>=1,c-=1,3&d){case 0:i.mode=X;break;case 1:if(h(i),i.mode=ie,t===Q){d>>>=2,c-=2;break e}break;case 2:i.mode=q;break;case 3:e.msg="invalid block type",i.mode=de}d>>>=2,c-=2;break;case X:for(d>>>=7&c,c-=7&c;c<32;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if((65535&d)!=(d>>>16^65535)){e.msg="invalid stored block lengths",i.mode=de;break}if(i.length=65535&d,d=0,c=0,i.mode=j,t===Q)break e;case j:i.mode=K;case K:if(m=i.length){if(m>_&&(m=_),m>o&&(m=o),0===m)break e;g.arraySet(s,n,a,m,r),_-=m,a+=m,o-=m,r+=m,i.length-=m;break}i.mode=z;break;case q:for(;c<14;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(i.nlen=257+(31&d),d>>>=5,c-=5,i.ndist=1+(31&d),d>>>=5,c-=5,i.ncode=4+(15&d),d>>>=4,c-=4,i.nlen>286||i.ndist>30){e.msg="too many length or distance symbols",i.mode=de;break}i.have=0,i.mode=ee;case ee:for(;i.have<i.ncode;){for(;c<3;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}i.lens[Qe[i.have++]]=7&d,d>>>=3,c-=3}for(;i.have<19;)i.lens[Qe[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,ve={bits:i.lenbits},Ue=b(U,i.lens,0,19,i.lencode,0,i.work,ve),i.lenbits=ve.bits,Ue){e.msg="invalid code lengths set",i.mode=de;break}i.have=0,i.mode=te;case te:for(;i.have<i.nlen+i.ndist;){for(;Ne=i.lencode[d&(1<<i.lenbits)-1],me=Ne>>>24,xe=Ne>>>16&255,ge=65535&Ne,!(me<=c);){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(ge<16)d>>>=me,c-=me,i.lens[i.have++]=ge;else{if(16===ge){for(Te=me+2;c<Te;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(d>>>=me,c-=me,0===i.have){e.msg="invalid bit length repeat",i.mode=de;break}be=i.lens[i.have-1],m=3+(3&d),d>>>=2,c-=2}else if(17===ge){for(Te=me+3;c<Te;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}c-=me,be=0,m=3+(7&(d>>>=me)),d>>>=3,c-=3}else{for(Te=me+7;c<Te;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}c-=me,be=0,m=11+(127&(d>>>=me)),d>>>=7,c-=7}if(i.have+m>i.nlen+i.ndist){e.msg="invalid bit length repeat",i.mode=de;break}for(;m--;)i.lens[i.have++]=be}}if(i.mode===de)break;if(0===i.lens[256]){e.msg="invalid code -- missing end-of-block",i.mode=de;break}if(i.lenbits=9,ve={bits:i.lenbits},Ue=b(v,i.lens,0,i.nlen,i.lencode,0,i.work,ve),i.lenbits=ve.bits,Ue){e.msg="invalid literal/lengths set",i.mode=de;break}if(i.distbits=6,i.distcode=i.distdyn,ve={bits:i.distbits},Ue=b(T,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,ve),i.distbits=ve.bits,Ue){e.msg="invalid distances set",i.mode=de;break}if(i.mode=ie,t===Q)break e;case ie:i.mode=le;case le:if(_>=6&&o>=258){e.next_out=r,e.avail_out=o,e.next_in=a,e.avail_in=_,i.hold=d,i.bits=c,S(e,f),r=e.next_out,s=e.output,o=e.avail_out,a=e.next_in,n=e.input,_=e.avail_in,d=i.hold,c=i.bits,i.mode===z&&(i.back=-1);break}for(i.back=0;Ne=i.lencode[d&(1<<i.lenbits)-1],me=Ne>>>24,xe=Ne>>>16&255,ge=65535&Ne,!(me<=c);){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(xe&&0==(240&xe)){for(Fe=me,ye=xe,Se=ge;Ne=i.lencode[Se+((d&(1<<Fe+ye)-1)>>Fe)],me=Ne>>>24,xe=Ne>>>16&255,ge=65535&Ne,!(Fe+me<=c);){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}d>>>=Fe,c-=Fe,i.back+=Fe}if(d>>>=me,c-=me,i.back+=me,i.length=ge,0===xe){i.mode=_e;break}if(32&xe){i.back=-1,i.mode=z;break}if(64&xe){e.msg="invalid literal/length code",i.mode=de;break}i.extra=15&xe,i.mode=ne;case ne:if(i.extra){for(Te=i.extra;c<Te;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}i.length+=d&(1<<i.extra)-1,d>>>=i.extra,c-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=se;case se:for(;Ne=i.distcode[d&(1<<i.distbits)-1],me=Ne>>>24,xe=Ne>>>16&255,ge=65535&Ne,!(me<=c);){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(0==(240&xe)){for(Fe=me,ye=xe,Se=ge;Ne=i.distcode[Se+((d&(1<<Fe+ye)-1)>>Fe)],me=Ne>>>24,xe=Ne>>>16&255,ge=65535&Ne,!(Fe+me<=c);){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}d>>>=Fe,c-=Fe,i.back+=Fe}if(d>>>=me,c-=me,i.back+=me,64&xe){e.msg="invalid distance code",i.mode=de;break}i.offset=ge,i.extra=15&xe,i.mode=ae;case ae:if(i.extra){for(Te=i.extra;c<Te;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}i.offset+=d&(1<<i.extra)-1,d>>>=i.extra,c-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){e.msg="invalid distance too far back",i.mode=de;break}i.mode=re;case re:if(0===o)break e;if(m=f-o,i.offset>m){if((m=i.offset-m)>i.whave&&i.sane){e.msg="invalid distance too far back",i.mode=de;break}m>i.wnext?(m-=i.wnext,x=i.wsize-m):x=i.wnext-m,m>i.length&&(m=i.length),fe=i.window}else fe=s,x=r-i.offset,m=i.length;m>o&&(m=o),o-=m,i.length-=m;do{s[r++]=fe[x++]}while(--m);0===i.length&&(i.mode=le);break;case _e:if(0===o)break e;s[r++]=i.length,o--,i.mode=le;break;case oe:if(i.wrap){for(;c<32;){if(0===_)break e;_--,d|=n[a++]<<c,c+=8}if(f-=o,e.total_out+=f,i.total+=f,f&&(e.adler=i.check=i.flags?y(i.check,s,f,r-f):F(i.check,s,f,r-f)),f=o,(i.flags?d:l(d))!==i.check){e.msg="incorrect data check",i.mode=de;break}d=0,c=0}i.mode=he;case he:if(i.wrap&&i.flags){for(;c<32;){if(0===_)break e;_--,d+=n[a++]<<c,c+=8}if(d!==(4294967295&i.total)){e.msg="incorrect length check",i.mode=de;break}d=0,c=0}i.mode=ue;case ue:Ue=R;break e;case de:Ue=k;break e;case ce:return W;case pe:default:return E}return e.next_out=r,e.avail_out=o,e.next_in=a,e.avail_in=_,i.hold=d,i.bits=c,(i.wsize||f!==e.avail_out&&i.mode<de&&(i.mode<oe||t!==N))&&u(e,e.output,e.next_out,f-e.avail_out)?(i.mode=ce,W):(p-=e.avail_in,f-=e.avail_out,e.total_in+=p,e.total_out+=f,i.total+=f,i.wrap&&f&&(e.adler=i.check=i.flags?y(i.check,s,f,e.next_out-f):F(i.check,s,f,e.next_out-f)),e.data_type=i.bits+(i.last?64:0)+(i.mode===z?128:0)+(i.mode===ie||i.mode===j?256:0),(0===p&&0===f||t===N)&&Ue===B&&(Ue=Z),Ue)}function c(e){if(!e||!e.state)return E;var t=e.state;return t.window&&(t.window=null),e.state=null,B}function p(e,t){var i;return e&&e.state?(i=e.state,0==(2&i.wrap)?E:(i.head=t,t.done=!1,B)):E}function f(e,t){var i,l,n=t.length;return e&&e.state?(i=e.state,0!==i.wrap&&i.mode!==H?E:i.mode===H&&(l=1,(l=F(l,t,n,0))!==i.check)?k:u(e,t,n,n)?(i.mode=ce,W):(i.havedict=1,B)):E}var m,x,g=e("../utils/common"),F=e("./adler32"),y=e("./crc32"),S=e("./inffast"),b=e("./inftrees"),U=0,v=1,T=2,N=4,D=5,Q=6,B=0,R=1,w=2,E=-2,k=-3,W=-4,Z=-5,M=8,P=1,V=2,A=3,G=4,C=5,I=6,L=7,J=8,O=9,$=10,H=11,z=12,Y=13,X=14,j=15,K=16,q=17,ee=18,te=19,ie=20,le=21,ne=22,se=23,ae=24,re=25,_e=26,oe=27,he=28,ue=29,de=30,ce=31,pe=32,fe=852,me=592,xe=15,ge=!0;i.inflateReset=a,i.inflateReset2=r,i.inflateResetKeep=s,i.inflateInit=o,i.inflateInit2=_,i.inflate=d,i.inflateEnd=c,i.inflateGetHeader=p,i.inflateSetDictionary=f,i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":3,"./adler32":5,"./crc32":7,"./inffast":10,"./inftrees":12}],12:[function(e,t,i){"use strict";var l=e("../utils/common"),n=15,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],r=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],_=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,i,o,h,u,d,c){var p,f,m,x,g,F,y,S,b,U=c.bits,v=0,T=0,N=0,D=0,Q=0,B=0,R=0,w=0,E=0,k=0,W=null,Z=0,M=new l.Buf16(16),P=new l.Buf16(16),V=null,A=0;for(v=0;v<=n;v++)M[v]=0;for(T=0;T<o;T++)M[t[i+T]]++;for(Q=U,D=n;D>=1&&0===M[D];D--);if(Q>D&&(Q=D),0===D)return h[u++]=20971520,h[u++]=20971520,c.bits=1,0;for(N=1;N<D&&0===M[N];N++);for(Q<N&&(Q=N),w=1,v=1;v<=n;v++)if(w<<=1,(w-=M[v])<0)return-1;if(w>0&&(0===e||1!==D))return-1;for(P[1]=0,v=1;v<n;v++)P[v+1]=P[v]+M[v];for(T=0;T<o;T++)0!==t[i+T]&&(d[P[t[i+T]]++]=T);if(0===e?(W=V=d,F=19):1===e?(W=s,Z-=257,V=a,A-=257,F=256):(W=r,V=_,F=-1),k=0,T=0,v=N,g=u,B=Q,R=0,m=-1,E=1<<Q,x=E-1,1===e&&E>852||2===e&&E>592)return 1;for(var G=0;;){G++,y=v-R,d[T]<F?(S=0,b=d[T]):d[T]>F?(S=V[A+d[T]],b=W[Z+d[T]]):(S=96,b=0),p=1<<v-R,N=f=1<<B;do{f-=p,h[g+(k>>R)+f]=y<<24|S<<16|b|0}while(0!==f);for(p=1<<v-1;k&p;)p>>=1;if(0!==p?(k&=p-1,k+=p):k=0,T++,0==--M[v]){if(v===D)break;v=t[i+d[T]]}if(v>Q&&(k&x)!==m){for(0===R&&(R=Q),g+=N,w=1<<(B=v-R);B+R<D&&!((w-=M[B+R])<=0);)B++,w<<=1;if(E+=1<<B,1===e&&E>852||2===e&&E>592)return 1;h[m=k&x]=Q<<24|B<<16|g-u|0}}return 0!==k&&(h[g+k]=v-R<<24|64<<16|0),c.bits=Q,0}},{"../utils/common":3}],13:[function(e,t,i){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],14:[function(e,t,i){"use strict";function l(e){for(var t=e.length;--t>=0;)e[t]=0}function n(e,t,i,l,n){this.static_tree=e,this.extra_bits=t,this.extra_base=i,this.elems=l,this.max_length=n,this.has_stree=e&&e.length}function s(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function a(e){return e<256?se[e]:se[256+(e>>>7)]}function r(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function _(e,t,i){e.bi_valid>H-i?(e.bi_buf|=t<<e.bi_valid&65535,r(e,e.bi_buf),e.bi_buf=t>>H-e.bi_valid,e.bi_valid+=i-H):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=i)}function o(e,t,i){_(e,i[2*t],i[2*t+1])}function h(e,t){var i=0;do{i|=1&e,e>>>=1,i<<=1}while(--t>0);return i>>>1}function u(e){16===e.bi_valid?(r(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function d(e,t){var i,l,n,s,a,r,_=t.dyn_tree,o=t.max_code,h=t.stat_desc.static_tree,u=t.stat_desc.has_stree,d=t.stat_desc.extra_bits,c=t.stat_desc.extra_base,p=t.stat_desc.max_length,f=0;for(s=0;s<=$;s++)e.bl_count[s]=0;for(_[2*e.heap[e.heap_max]+1]=0,i=e.heap_max+1;i<O;i++)l=e.heap[i],(s=_[2*_[2*l+1]+1]+1)>p&&(s=p,f++),_[2*l+1]=s,l>o||(e.bl_count[s]++,a=0,l>=c&&(a=d[l-c]),r=_[2*l],e.opt_len+=r*(s+a),u&&(e.static_len+=r*(h[2*l+1]+a)));if(0!==f){do{for(s=p-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[p]--,f-=2}while(f>0);for(s=p;0!==s;s--)for(l=e.bl_count[s];0!==l;)(n=e.heap[--i])>o||(_[2*n+1]!==s&&(e.opt_len+=(s-_[2*n+1])*_[2*n],_[2*n+1]=s),l--)}}function c(e,t,i){var l,n,s=new Array($+1),a=0;for(l=1;l<=$;l++)s[l]=a=a+i[l-1]<<1;for(n=0;n<=t;n++){var r=e[2*n+1];0!==r&&(e[2*n]=h(s[r]++,r))}}function p(){var e,t,i,l,s,a=new Array($+1);for(i=0,l=0;l<G-1;l++)for(re[l]=i,e=0;e<1<<q[l];e++)ae[i++]=l;for(ae[i-1]=l,s=0,l=0;l<16;l++)for(_e[l]=s,e=0;e<1<<ee[l];e++)se[s++]=l;for(s>>=7;l<L;l++)for(_e[l]=s<<7,e=0;e<1<<ee[l]-7;e++)se[256+s++]=l;for(t=0;t<=$;t++)a[t]=0;for(e=0;e<=143;)le[2*e+1]=8,e++,a[8]++;for(;e<=255;)le[2*e+1]=9,e++,a[9]++;for(;e<=279;)le[2*e+1]=7,e++,a[7]++;for(;e<=287;)le[2*e+1]=8,e++,a[8]++;for(c(le,I+1,a),e=0;e<L;e++)ne[2*e+1]=5,ne[2*e]=h(e,5);oe=new n(le,q,C+1,I,$),he=new n(ne,ee,0,L,$),ue=new n(new Array(0),te,0,J,z)}function f(e){var t;for(t=0;t<I;t++)e.dyn_ltree[2*t]=0;for(t=0;t<L;t++)e.dyn_dtree[2*t]=0;for(t=0;t<J;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*Y]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function m(e){e.bi_valid>8?r(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function x(e,t,i,l){m(e),l&&(r(e,i),r(e,~i)),E.arraySet(e.pending_buf,e.window,t,i,e.pending),e.pending+=i}function g(e,t,i,l){var n=2*t,s=2*i;return e[n]<e[s]||e[n]===e[s]&&l[t]<=l[i]}function F(e,t,i){for(var l=e.heap[i],n=i<<1;n<=e.heap_len&&(n<e.heap_len&&g(t,e.heap[n+1],e.heap[n],e.depth)&&n++,!g(t,l,e.heap[n],e.depth));)e.heap[i]=e.heap[n],i=n,n<<=1;e.heap[i]=l}function y(e,t,i){var l,n,s,r,h=0;if(0!==e.last_lit)do{l=e.pending_buf[e.d_buf+2*h]<<8|e.pending_buf[e.d_buf+2*h+1],n=e.pending_buf[e.l_buf+h],h++,0===l?o(e,n,t):(s=ae[n],o(e,s+C+1,t),0!==(r=q[s])&&(n-=re[s],_(e,n,r)),l--,s=a(l),o(e,s,i),0!==(r=ee[s])&&(l-=_e[s],_(e,l,r)))}while(h<e.last_lit);o(e,Y,t)}function S(e,t){var i,l,n,s=t.dyn_tree,a=t.stat_desc.static_tree,r=t.stat_desc.has_stree,_=t.stat_desc.elems,o=-1;for(e.heap_len=0,e.heap_max=O,i=0;i<_;i++)0!==s[2*i]?(e.heap[++e.heap_len]=o=i,e.depth[i]=0):s[2*i+1]=0;for(;e.heap_len<2;)n=e.heap[++e.heap_len]=o<2?++o:0,s[2*n]=1,e.depth[n]=0,e.opt_len--,r&&(e.static_len-=a[2*n+1]);for(t.max_code=o,i=e.heap_len>>1;i>=1;i--)F(e,s,i);n=_;do{i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],F(e,s,1),l=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=l,s[2*n]=s[2*i]+s[2*l],e.depth[n]=(e.depth[i]>=e.depth[l]?e.depth[i]:e.depth[l])+1,s[2*i+1]=s[2*l+1]=n,e.heap[1]=n++,F(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],d(e,t),c(s,o,e.bl_count)}function b(e,t,i){var l,n,s=-1,a=t[1],r=0,_=7,o=4;for(0===a&&(_=138,o=3),t[2*(i+1)+1]=65535,l=0;l<=i;l++)n=a,a=t[2*(l+1)+1],++r<_&&n===a||(r<o?e.bl_tree[2*n]+=r:0!==n?(n!==s&&e.bl_tree[2*n]++,e.bl_tree[2*X]++):r<=10?e.bl_tree[2*j]++:e.bl_tree[2*K]++,r=0,s=n,0===a?(_=138,o=3):n===a?(_=6,o=3):(_=7,o=4))}function U(e,t,i){var l,n,s=-1,a=t[1],r=0,h=7,u=4;for(0===a&&(h=138,u=3),l=0;l<=i;l++)if(n=a,a=t[2*(l+1)+1],!(++r<h&&n===a)){if(r<u)do{o(e,n,e.bl_tree)}while(0!=--r);else 0!==n?(n!==s&&(o(e,n,e.bl_tree),r--),o(e,X,e.bl_tree),_(e,r-3,2)):r<=10?(o(e,j,e.bl_tree),_(e,r-3,3)):(o(e,K,e.bl_tree),_(e,r-11,7));r=0,s=n,0===a?(h=138,u=3):n===a?(h=6,u=3):(h=7,u=4)}}function v(e){var t;for(b(e,e.dyn_ltree,e.l_desc.max_code),b(e,e.dyn_dtree,e.d_desc.max_code),S(e,e.bl_desc),t=J-1;t>=3&&0===e.bl_tree[2*ie[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}function T(e,t,i,l){var n;for(_(e,t-257,5),_(e,i-1,5),_(e,l-4,4),n=0;n<l;n++)_(e,e.bl_tree[2*ie[n]+1],3);U(e,e.dyn_ltree,t-1),U(e,e.dyn_dtree,i-1)}function N(e){var t,i=4093624447;for(t=0;t<=31;t++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*t])return W;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Z;for(t=32;t<C;t++)if(0!==e.dyn_ltree[2*t])return Z;return W}function D(e){de||(p(),de=!0),e.l_desc=new s(e.dyn_ltree,oe),e.d_desc=new s(e.dyn_dtree,he),e.bl_desc=new s(e.bl_tree,ue),e.bi_buf=0,e.bi_valid=0,f(e)}function Q(e,t,i,l){_(e,(P<<1)+(l?1:0),3),x(e,t,i,!0)}function B(e){_(e,V<<1,3),o(e,Y,le),u(e)}function R(e,t,i,l){var n,s,a=0;e.level>0?(e.strm.data_type===M&&(e.strm.data_type=N(e)),S(e,e.l_desc),S(e,e.d_desc),a=v(e),n=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=n&&(n=s)):n=s=i+5,i+4<=n&&-1!==t?Q(e,t,i,l):e.strategy===k||s===n?(_(e,(V<<1)+(l?1:0),3),y(e,le,ne)):(_(e,(A<<1)+(l?1:0),3),T(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),y(e,e.dyn_ltree,e.dyn_dtree)),f(e),l&&m(e)}function w(e,t,i){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&i,e.last_lit++,0===t?e.dyn_ltree[2*i]++:(e.matches++,t--,e.dyn_ltree[2*(ae[i]+C+1)]++,e.dyn_dtree[2*a(t)]++),e.last_lit===e.lit_bufsize-1}var E=e("../utils/common"),k=4,W=0,Z=1,M=2,P=0,V=1,A=2,G=29,C=256,I=C+1+G,L=30,J=19,O=2*I+1,$=15,H=16,z=7,Y=256,X=16,j=17,K=18,q=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ee=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],te=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],le=new Array(2*(I+2));l(le);var ne=new Array(2*L);l(ne);var se=new Array(512);l(se);var ae=new Array(256);l(ae);var re=new Array(G);l(re);var _e=new Array(L);l(_e);var oe,he,ue,de=!1;i._tr_init=D,i._tr_stored_block=Q,i._tr_flush_block=R,i._tr_tally=w,i._tr_align=B},{"../utils/common":3}],15:[function(e,t,i){"use strict";function l(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}t.exports=l},{}],"/":[function(e,t,i){"use strict";var l={};(0,e("./lib/utils/common").assign)(l,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=l},{"./lib/deflate":1,"./lib/inflate":2,"./lib/utils/common":3,"./lib/zlib/constants":6}]},{},[])("/")});var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=function(){return e.URL||e.webkitURL||e},i=e.document.createElementNS("http://www.w3.org/1999/xhtml","a"),l="download"in i,n=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},s=/constructor/i.test(e.HTMLElement)||e.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent),r=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},_=function(e){var i=function(){"string"==typeof e?t().revokeObjectURL(e):e.remove()};setTimeout(i,4e4)},o=function(e,t,i){for(var l=(t=[].concat(t)).length;l--;){var n=e["on"+t[l]];if("function"==typeof n)try{n.call(e,i||e)}catch(e){r(e)}}},h=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},u=function(r,u,d){d||(r=h(r));var c,p=this,f="application/octet-stream"===r.type,m=function(){o(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,l)return c=t().createObjectURL(r),void setTimeout(function(){i.href=c,i.download=u,n(i),m(),_(c),p.readyState=p.DONE});!function(){if((a||f&&s)&&e.FileReader){var i=new FileReader;return i.onloadend=function(){var t=a?i.result:i.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},i.readAsDataURL(r),void(p.readyState=p.INIT)}c||(c=t().createObjectURL(r)),f?e.location.href=c:e.open(c,"_blank")||(e.location.href=c),p.readyState=p.DONE,m(),_(c)}()},d=u.prototype,c=function(e,t,i){return new u(e,t||e.name||"download",i)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,i){return t=t||e.name||"download",i||(e=h(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,c)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",function(){return saveAs}),"function"==typeof define&&define.__amd&&(define.amd=define.__amd,delete define.__amd);